-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nMessage_en-US_index_md.main.js.map
1 lines (1 loc) · 6.36 KB
/
doc_markdown_nMessage_en-US_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nMessage_en-US_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;ACwCA;AAYA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACzIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AAIA;AAAA;;;;;;;;AATA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAkBA","sources":["webpack://ninecat-ui/./doc/markdown/nMessage/en-US/index.md?f45a","webpack://ninecat-ui/./doc/markdown/nMessage/en-US/index.md","webpack://ninecat-ui/./doc/markdown/nMessage/en-US/index.md?b7c8","webpack://ninecat-ui/./doc/markdown/nMessage/en-US/index.md?bd14"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=79d6dc43\"\nimport script from \"./index.md?vue&type=script&lang=js\"\nexport * from \"./index.md?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/travis/build/ninecat-ui/ninecat-ui/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__file',\"doc/markdown/nMessage/en-US/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"79d6dc43\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('79d6dc43', __exports__)) {\n console.log('reload')\n api.reload('79d6dc43', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=79d6dc43\", () => {\n console.log('re-render')\n api.rerender('79d6dc43', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Message</h1>\n<p>Used for page information prompts.</p>\n<h2 id=\"when-to-use\">When To Use</h2>\n<p>Used for page information prompts.</p>\n<h2 id=\"examples\">Examples</h2>\n<demo-block>\n \n <template v-slot:source><ninecat-demo0 /></template>\n <template v-slot:highlight><pre v-pre><code class=\"vue\"><template>\n <n-button @click="openMessage('info')">Info Message</n-button>\n <n-button @click="openMessage('success')">Success Message</n-button>\n <n-button @click="openMessage('warning')">Warning Message</n-button>\n <n-button @click="openMessage('error')">Error Message</n-button>\n</template>\n<script>\nexport default {\n methods:{\n openMessage(type){\n this.$nMessage({\n type,\n message: 'I open the Message',\n })\n }\n }\n}\n</script>\n</code></pre></template></demo-block><h3 id=\"api\">API</h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align:left\">Property</th>\n<th style=\"text-align:left\">Description</th>\n<th style=\"text-align:left\">Type</th>\n<th style=\"text-align:left\">Default</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align:left\">type</td>\n<td style=\"text-align:left\">type of the message,options:<code>info</code>,<code>success</code>,<code>warning</code>,<code>error</code></td>\n<td style=\"text-align:left\">String</td>\n<td style=\"text-align:left\">info</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">message</td>\n<td style=\"text-align:left\">message content</td>\n<td style=\"text-align:left\">String</td>\n<td style=\"text-align:left\"></td>\n</tr>\n<tr>\n<td style=\"text-align:left\">duration</td>\n<td style=\"text-align:left\">message display time (ms)</td>\n<td style=\"text-align:left\">Number</td>\n<td style=\"text-align:left\">3000</td>\n</tr>\n</tbody>\n</table>\n\n </section>\n </template>\n <script>\n import {\n createTextVNode as _createTextVNode,\n resolveComponent as _resolveComponent,\n withCtx as _withCtx,\n createVNode as _createVNode,\n openBlock as _openBlock,\n createBlock as _createBlock,\n toDisplayString as _toDisplayString ,\n createElementBlock as _createElementBlock,\n createElementVNode as _createElementVNode,\n normalizeStyle as _normalizeStyle \n } from \"vue\"\n export default {\n name: 'component-doc',\n components: {\n \"ninecat-demo0\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_button = _resolveComponent(\"n-button\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_button, {\n onClick: _cache[0] || (_cache[0] = $event => (_ctx.openMessage('info')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Info Message\")\n ]),\n _: 1 /* STABLE */\n }),\n _createVNode(_component_n_button, {\n onClick: _cache[1] || (_cache[1] = $event => (_ctx.openMessage('success')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Success Message\")\n ]),\n _: 1 /* STABLE */\n }),\n _createVNode(_component_n_button, {\n onClick: _cache[2] || (_cache[2] = $event => (_ctx.openMessage('warning')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Warning Message\")\n ]),\n _: 1 /* STABLE */\n }),\n _createVNode(_component_n_button, {\n onClick: _cache[3] || (_cache[3] = $event => (_ctx.openMessage('error')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Error Message\")\n ]),\n _: 1 /* STABLE */\n })\n ]))\n}\n \n const democomponentExport = {\n methods:{\n openMessage(type){\n this.$nMessage({\n type,\n message: 'I open the Message',\n })\n }\n }\n}\n return {\n render,\n ...democomponentExport,\n }\n })(),\n }\n }\n </script>\n","export { default } from \"-!../../../../node_modules/vue-loader/dist/index.js??clonedRuleSet-1.use[0]!../../../../build/md-loader/index.js!./index.md?vue&type=script&lang=js\"; export * from \"-!../../../../node_modules/vue-loader/dist/index.js??clonedRuleSet-1.use[0]!../../../../build/md-loader/index.js!./index.md?vue&type=script&lang=js\"","export * from \"-!../../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/dist/index.js??clonedRuleSet-1.use[0]!../../../../build/md-loader/index.js!./index.md?vue&type=template&id=79d6dc43\""],"names":[],"sourceRoot":""}