-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nTable_en-US_index_md.main.js.map
1 lines (1 loc) · 10.4 KB
/
doc_markdown_nTable_en-US_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nTable_en-US_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;ACiKA;AAYA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;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;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;;;;;;;;;;;;;;;;AChTA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AAIA;AAAA;;AAyCA;AAIA;AAAA;;;;;;;;;AAtDA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAyCA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAyCA","sources":["webpack://ninecat-ui/./doc/markdown/nTable/en-US/index.md?c397","webpack://ninecat-ui/./doc/markdown/nTable/en-US/index.md","webpack://ninecat-ui/./doc/markdown/nTable/en-US/index.md?1fbf","webpack://ninecat-ui/./doc/markdown/nTable/en-US/index.md?3332"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=bc501748\"\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/nTable/en-US/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"bc501748\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('bc501748', __exports__)) {\n console.log('reload')\n api.reload('bc501748', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=bc501748\", () => {\n console.log('re-render')\n api.rerender('bc501748', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Table</h1>\n<p>Show rows and columns of data.</p>\n<h2 id=\"when-to-use\">When To Use</h2>\n<p>For displaying large amounts of data.</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 <div>\n <n-table\n :columns="columns"\n :data="data"\n />\n </div>\n</template>\n<script>\nexport default {\n data: function () {\n return {\n columns: [\n {\n title: 'Name',\n dataIndex: 'name',\n align: 'center',\n width: 100\n },\n {\n title: 'Age',\n dataIndex: 'age'\n },\n {\n title: 'Sex',\n dataIndex: 'sex'\n },\n {\n title: 'Address',\n dataIndex: 'address'\n }\n ],\n data: [\n { name: 'Tom', age: '11', sex: 'male', address: 'Shanghai Road' },\n { name: 'Jack', age: '12', sex: 'male', address: 'Beijing Road' },\n { name: 'Marry', age: '12', sex: 'Female', address: 'Tianjin Road' }\n ]\n }\n }\n}\n</script>\n</code></pre></template></demo-block><h3 id=\"event-definition\">Event definition</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-table\n :columns="columns"\n :data="data"\n />\n </div>\n</template>\n<script>\nexport default {\n data: function () {\n return {\n columns: [\n {\n title: 'Name',\n dataIndex: 'name',\n align: 'center',\n width: 100\n },\n {\n title: 'Age',\n dataIndex: 'age'\n },\n {\n title: 'Sex',\n dataIndex: 'sex'\n },\n {\n title: 'Address',\n dataIndex: 'address'\n }\n ],\n data: [\n { name: 'Tom', age: '11', sex: 'male', address: 'Shanghai Road' },\n { name: 'Jack', age: '12', sex: 'male', address: 'Beijing Road' },\n { name: 'Marry', age: '12', sex: 'Female', address: 'Tianjin Road' }\n ]\n }\n }\n}\n</script>\n</code></pre></template></demo-block><h2 id=\"api\">API</h2>\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\">columns</td>\n<td style=\"text-align:left\">row related settings</td>\n<td style=\"text-align:left\"></td>\n<td style=\"text-align:left\">See the parameter description in the table below for details</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">data</td>\n<td style=\"text-align:left\">table data</td>\n<td style=\"text-align:left\">Array</td>\n<td style=\"text-align:left\">[]</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"columns\">columns</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\">title</td>\n<td style=\"text-align:left\">row name</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\">dataIndex</td>\n<td style=\"text-align:left\">The key of the table column data in the data item</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\">align</td>\n<td style=\"text-align:left\">columns alignment</td>\n<td style=\"text-align:left\">String</td>\n<td style=\"text-align:left\">'left'</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">width</td>\n<td style=\"text-align:left\">columns width</td>\n<td style=\"text-align:left\">Number</td>\n<td style=\"text-align:left\"></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"table-events\">Table Events</h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align:left\">Event name</th>\n<th style=\"text-align:left\">Description</th>\n<th style=\"text-align:left\">parameter</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align:left\">row-click</td>\n<td style=\"text-align:left\">This event is triggered when a row is double-clicked</td>\n<td style=\"text-align:left\">row, event</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">row-dblclick</td>\n<td style=\"text-align:left\">This event is triggered when a cell is double clicked</td>\n<td style=\"text-align:left\">row, event</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_table = _resolveComponent(\"n-table\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_n_table, {\n columns: _ctx.columns,\n data: _ctx.data\n }, null, 8 /* PROPS */, [\"columns\", \"data\"])\n ])\n ]))\n}\n \n const democomponentExport = {\n data: function () {\n return {\n columns: [\n {\n title: 'Name',\n dataIndex: 'name',\n align: 'center',\n width: 100\n },\n {\n title: 'Age',\n dataIndex: 'age'\n },\n {\n title: 'Sex',\n dataIndex: 'sex'\n },\n {\n title: 'Address',\n dataIndex: 'address'\n }\n ],\n data: [\n { name: 'Tom', age: '11', sex: 'male', address: 'Shanghai Road' },\n { name: 'Jack', age: '12', sex: 'male', address: 'Beijing Road' },\n { name: 'Marry', age: '12', sex: 'Female', address: 'Tianjin Road' }\n ]\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_table = _resolveComponent(\"n-table\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_n_table, {\n columns: _ctx.columns,\n data: _ctx.data\n }, null, 8 /* PROPS */, [\"columns\", \"data\"])\n ])\n ]))\n}\n \n const democomponentExport = {\n data: function () {\n return {\n columns: [\n {\n title: 'Name',\n dataIndex: 'name',\n align: 'center',\n width: 100\n },\n {\n title: 'Age',\n dataIndex: 'age'\n },\n {\n title: 'Sex',\n dataIndex: 'sex'\n },\n {\n title: 'Address',\n dataIndex: 'address'\n }\n ],\n data: [\n { name: 'Tom', age: '11', sex: 'male', address: 'Shanghai Road' },\n { name: 'Jack', age: '12', sex: 'male', address: 'Beijing Road' },\n { name: 'Marry', age: '12', sex: 'Female', address: 'Tianjin Road' }\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=bc501748\""],"names":[],"sourceRoot":""}