-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nInput_en-US_index_md.main.js.map
1 lines (1 loc) · 9.24 KB
/
doc_markdown_nInput_en-US_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nInput_en-US_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;AC2EA;AAYA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC5NA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AACA;AAIA;AAAA;;AAGA;AAIA;AAAA;;AAcA;AAIA;AAAA;;AAGA;AAIA;AAAA;;;;;;;;;;;AA1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAGA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAcA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAGA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAYA","sources":["webpack://ninecat-ui/./doc/markdown/nInput/en-US/index.md?633d","webpack://ninecat-ui/./doc/markdown/nInput/en-US/index.md","webpack://ninecat-ui/./doc/markdown/nInput/en-US/index.md?e189","webpack://ninecat-ui/./doc/markdown/nInput/en-US/index.md?8c58"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=25ec3e40\"\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/nInput/en-US/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"25ec3e40\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('25ec3e40', __exports__)) {\n console.log('reload')\n api.reload('25ec3e40', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=25ec3e40\", () => {\n console.log('re-render')\n api.rerender('25ec3e40', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Input</h1>\n<p>Used for input.</p>\n<h2 id=\"when-to-use\">When To Use</h2>\n<p>Use it where you need input.</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 <n-input placeholder="Please input"/>\n</template>\n</code></pre></template></demo-block><h3 id=\"size\">Size</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 class="example-input">\n <n-input size="lg" placeholder="Please input"/>\n </div>\n <div class="example-input">\n <n-input size="md" placeholder="Please input"/>\n </div>\n <div class="example-input">\n <n-input size="sm" placeholder="Please input"/>\n </div>\n <div class="example-input">\n <n-input size="xs" placeholder="Please input"/>\n </div>\n</template>\n</code></pre></template></demo-block><h3 id=\"disabled\">Disabled</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 <n-input :disabled="true" placeholder="Please input" />\n</template>\n</code></pre></template></demo-block><h3 id=\"input-events\">Input Events</h3>\n<demo-block>\n \n <template v-slot:source><ninecat-demo3 /></template>\n <template v-slot:highlight><pre v-pre><code class=\"vue\"><template>\n <n-input @change="handChange" placeholder="Please input"/>\n</template>\n<script>\n export default {\n methods: {\n handChange(event){\n console.log(event)\n }\n }\n }\n</script>\n</code></pre></template></demo-block><h2 id=\"api\">API</h2>\n<h3 id=\"input\">Input</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\">size</td>\n<td style=\"text-align:left\">Input box size</td>\n<td style=\"text-align:left\">String</td>\n<td style=\"text-align:left\">md</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">placeholder</td>\n<td style=\"text-align:left\">Input box placeholder 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\">disabled</td>\n<td style=\"text-align:left\">Whether the input is disabled.</td>\n<td style=\"text-align:left\">Boolean</td>\n<td style=\"text-align:left\">false</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"input-events-2\">Input Events</h3>\n<p>| Event name | Description | Callback parameter |\n| :--- | :--- | :--- | :--- |\n|input|\tTrigger on input|\t(value: value)\n|blur|\tFires when Input loses focus|\t(event: Event)\n|focus|\tFires when Input receives focus|\t(event: Event)\n|change\t|Only fires when the input box loses focus|\t(event: Event)</p>\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_input = _resolveComponent(\"n-input\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_input, { placeholder: \"Please input\" })\n ]))\n}\n \n const democomponentExport = {}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo1\": (function() {\n \n\nconst _hoisted_1 = { class: \"example-input\" }\nconst _hoisted_2 = { class: \"example-input\" }\nconst _hoisted_3 = { class: \"example-input\" }\nconst _hoisted_4 = { class: \"example-input\" }\n\n function render(_ctx, _cache) {\n const _component_n_input = _resolveComponent(\"n-input\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_n_input, {\n size: \"lg\",\n placeholder: \"Please input\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_n_input, {\n size: \"md\",\n placeholder: \"Please input\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_n_input, {\n size: \"sm\",\n placeholder: \"Please input\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_n_input, {\n size: \"xs\",\n placeholder: \"Please input\"\n })\n ])\n ]))\n}\n \n const democomponentExport = {}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo2\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_input = _resolveComponent(\"n-input\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_input, {\n disabled: true,\n placeholder: \"Please input\"\n })\n ]))\n}\n \n const democomponentExport = {}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo3\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_input = _resolveComponent(\"n-input\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_input, {\n onChange: _ctx.handChange,\n placeholder: \"Please input\"\n }, null, 8 /* PROPS */, [\"onChange\"])\n ]))\n}\n \n const democomponentExport = {\n methods: {\n handChange(event){\n console.log(event)\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=25ec3e40\""],"names":[],"sourceRoot":""}