-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nCheckbox_zh-CN_index_md.main.js.map
1 lines (1 loc) · 6.6 KB
/
doc_markdown_nCheckbox_zh-CN_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nCheckbox_zh-CN_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;AC4CA;AAYA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;;;;;;;;;;;;;;;;AC3IA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AAAA;;AAIA;AACA;AAIA;AAAA;;;;;;;;;AApBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAIA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAKA","sources":["webpack://ninecat-ui/./doc/markdown/nCheckbox/zh-CN/index.md?52c0","webpack://ninecat-ui/./doc/markdown/nCheckbox/zh-CN/index.md","webpack://ninecat-ui/./doc/markdown/nCheckbox/zh-CN/index.md?8404","webpack://ninecat-ui/./doc/markdown/nCheckbox/zh-CN/index.md?25a9"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=0bd30889\"\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/nCheckbox/zh-CN/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"0bd30889\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('0bd30889', __exports__)) {\n console.log('reload')\n api.reload('0bd30889', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=0bd30889\", () => {\n console.log('re-render')\n api.rerender('0bd30889', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Checkbox多选框(开发中)</h1>\n<p>多选框。</p>\n<h1>何时使用</h1>\n<p>在一组可选项中进行多项选择时;单独使用可以表示两种状态之间的切换,和 switch 类似。区别在于切换 switch 会直接触发状态改变,而 checkbox 一般用于状态标记,需要和提交操作配合。</p>\n<h2 id=\"dai-ma-yan-shi\">代码演示</h2>\n<h3 id=\"ji-ben-shi-yong\">基本使用</h3>\n<p>最简单的checkbox</p>\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-checkbox :checked="true">Checkbox</n-checkbox>\n</template>\n\n</code></pre></template></demo-block><h3 id=\"bu-ke-yong\">不可用</h3>\n<p>checkbox 不可用。</p>\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 <n-checkbox :disabled="true" :checked="true">Checkbox</n-checkbox>\n <n-checkbox :disabled="true" :checked="false">Checkbox</n-checkbox>\n</template>\n\n</code></pre></template></demo-block><h2 id=\"api\">API</h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align:left\">参数</th>\n<th style=\"text-align:left\">说明</th>\n<th style=\"text-align:left\">类型</th>\n<th style=\"text-align:left\">默认值</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align:left\">checked</td>\n<td style=\"text-align:left\">是否选中</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\">defaultChecked</td>\n<td style=\"text-align:left\">初始是否选中</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\">disabled</td>\n<td style=\"text-align:left\">失效状态</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\">onChange</td>\n<td style=\"text-align:left\">变化时回调函数</td>\n<td style=\"text-align:left\">Function</td>\n<td style=\"text-align:left\"></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_checkbox = _resolveComponent(\"n-checkbox\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_checkbox, { checked: true }, {\n default: _withCtx(() => [\n _createTextVNode(\"Checkbox\")\n ]),\n _: 1 /* STABLE */\n })\n ]))\n}\n \n const democomponentExport = {}\n return {\n render,\n ...democomponentExport,\n }\n })(),\"ninecat-demo1\": (function() {\n \n\n function render(_ctx, _cache) {\n const _component_n_checkbox = _resolveComponent(\"n-checkbox\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_checkbox, {\n disabled: true,\n checked: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Checkbox\")\n ]),\n _: 1 /* STABLE */\n }),\n _createVNode(_component_n_checkbox, {\n disabled: true,\n checked: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Checkbox\")\n ]),\n _: 1 /* STABLE */\n })\n ]))\n}\n \n const democomponentExport = {}\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=0bd30889\""],"names":[],"sourceRoot":""}