-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nAlert_en-US_index_md.main.js.map
1 lines (1 loc) · 11.4 KB
/
doc_markdown_nAlert_en-US_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nAlert_en-US_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;ACkJA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACrTA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AACA;AAIA;AAAA;;AAwCA;AAIA;AAAA;;AAsBA;AAIA;AAAA;;;;;;;;;;AAhFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAwCA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAsBA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AA6BA","sources":["webpack://ninecat-ui/./doc/markdown/nAlert/en-US/index.md?7e65","webpack://ninecat-ui/./doc/markdown/nAlert/en-US/index.md","webpack://ninecat-ui/./doc/markdown/nAlert/en-US/index.md?cbda","webpack://ninecat-ui/./doc/markdown/nAlert/en-US/index.md?d50b"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=9f37cde4\"\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/nAlert/en-US/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"9f37cde4\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('9f37cde4', __exports__)) {\n console.log('reload')\n api.reload('9f37cde4', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=9f37cde4\", () => {\n console.log('re-render')\n api.rerender('9f37cde4', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Alert</h1>\n<p>Alert component for feedback.</p>\n<h2 id=\"when-to-use\">When To Use</h2>\n<p>When you need to show alert messages to users.</p>\n<h2 id=\"examples\">Examples</h2>\n<h3 id=\"basic-use\">Basic use</h3>\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 <div >\n <n-alert\n v-model:show="show1"\n message="Message"\n type="info"\n />\n <n-alert\n v-model:show="show2"\n message="Message"\n type="success"\n />\n <n-alert\n v-model:show="show3"\n message="Message"\n type="warning"\n closable\n />\n <n-alert\n v-model:show="show4"\n message="Message"\n type="error"\n :showIcon="true"\n />\n </div>\n</template>\n\n<script>\nexport default {\n data: function () {\n return {\n show1: true,\n show2: true,\n show3: true,\n show4: true,\n }\n }\n}\n</script>\n\n</code></pre></template></demo-block><h3 id=\"customize-define-close\">Customize define close</h3>\n<demo-block>\n \n <template v-slot:source><ninecat-demo1 /></template>\n <template v-slot:highlight><pre v-pre><code class=\"vue\"><template>\n <div >\n <n-alert\n closable\n v-model:show="show"\n message="Message"\n type="info"\n close-text="Close now"\n />\n </div>\n</template>\n\n<script>\nexport default {\n data: function () {\n return {\n show: true,\n }\n }\n}\n</script>\n\n</code></pre></template></demo-block><h3 id=\"contains-supporting-text-introduction\">Contains supporting text introduction</h3>\n<demo-block>\n \n <template v-slot:source><ninecat-demo2 /></template>\n <template v-slot:highlight><pre v-pre><code class=\"vue\"><template>\n <div >\n <n-alert\n v-model:show="show"\n message="Success Text"\n type="success"\n description="Success Description Success Description Success Description"\n />\n <n-alert\n closable\n v-model:show="show"\n message="Warning Text"\n type="warning"\n :showIcon="true"\n description="Warning Description Warning Description Warning Description"\n />\n </div>\n</template>\n\n<script>\nexport default {\n data: function () {\n return {\n show: true,\n }\n }\n}\n</script>\n\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\">show</td>\n<td style=\"text-align:left\">Whether to show</td>\n<td style=\"text-align:left\">Boolean</td>\n<td style=\"text-align:left\">false</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">closable</td>\n<td style=\"text-align:left\">Whether to close</td>\n<td style=\"text-align:left\">Boolean</td>\n<td style=\"text-align:left\">false</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">message</td>\n<td style=\"text-align:left\">Content of Alert</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\">description</td>\n<td style=\"text-align:left\">Auxiliary text introduction for warnings</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\">type</td>\n<td style=\"text-align:left\">Type of Alert styles, 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\">closeText</td>\n<td style=\"text-align:left\">Custome define close text</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\">showIcon</td>\n<td style=\"text-align:left\">Whether show icon</td>\n<td style=\"text-align:left\">Boolean</td>\n<td style=\"text-align:left\">flase</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_alert = _resolveComponent(\"n-alert\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_n_alert, {\n show: _ctx.show1,\n \"onUpdate:show\": _cache[0] || (_cache[0] = $event => ((_ctx.show1) = $event)),\n message: \"Message\",\n type: \"info\"\n }, null, 8 /* PROPS */, [\"show\"]),\n _createVNode(_component_n_alert, {\n show: _ctx.show2,\n \"onUpdate:show\": _cache[1] || (_cache[1] = $event => ((_ctx.show2) = $event)),\n message: \"Message\",\n type: \"success\"\n }, null, 8 /* PROPS */, [\"show\"]),\n _createVNode(_component_n_alert, {\n show: _ctx.show3,\n \"onUpdate:show\": _cache[2] || (_cache[2] = $event => ((_ctx.show3) = $event)),\n message: \"Message\",\n type: \"warning\",\n closable: \"\"\n }, null, 8 /* PROPS */, [\"show\"]),\n _createVNode(_component_n_alert, {\n show: _ctx.show4,\n \"onUpdate:show\": _cache[3] || (_cache[3] = $event => ((_ctx.show4) = $event)),\n message: \"Message\",\n type: \"error\",\n showIcon: true\n }, null, 8 /* PROPS */, [\"show\"])\n ])\n ]))\n}\n \n const democomponentExport = {\n data: function () {\n return {\n show1: true,\n show2: true,\n show3: true,\n show4: true,\n }\n }\n}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo1\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_alert = _resolveComponent(\"n-alert\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_n_alert, {\n closable: \"\",\n show: _ctx.show,\n \"onUpdate:show\": _cache[0] || (_cache[0] = $event => ((_ctx.show) = $event)),\n message: \"Message\",\n type: \"info\",\n \"close-text\": \"Close now\"\n }, null, 8 /* PROPS */, [\"show\"])\n ])\n ]))\n}\n \n const democomponentExport = {\n data: function () {\n return {\n show: true,\n }\n }\n}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo2\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_alert = _resolveComponent(\"n-alert\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_n_alert, {\n show: _ctx.show,\n \"onUpdate:show\": _cache[0] || (_cache[0] = $event => ((_ctx.show) = $event)),\n message: \"Success Text\",\n type: \"success\",\n description: \"Success Description Success Description Success Description\"\n }, null, 8 /* PROPS */, [\"show\"]),\n _createVNode(_component_n_alert, {\n closable: \"\",\n show: _ctx.show,\n \"onUpdate:show\": _cache[1] || (_cache[1] = $event => ((_ctx.show) = $event)),\n message: \"Warning Text\",\n type: \"warning\",\n showIcon: true,\n description: \"Warning Description Warning Description Warning Description\"\n }, null, 8 /* PROPS */, [\"show\"])\n ])\n ]))\n}\n \n const democomponentExport = {\n data: function () {\n return {\n show: true,\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=9f37cde4\""],"names":[],"sourceRoot":""}