-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_markdown_nPagination_en-US_index_md.main.js.map
1 lines (1 loc) · 8.61 KB
/
doc_markdown_nPagination_en-US_index_md.main.js.map
1
{"version":3,"file":"doc_markdown_nPagination_en-US_index_md.main.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;;;;;;;;;;;;;;;;ACsGA;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;;;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AChOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADGA;AACA;AACA;AACA;AACA;AACA;AAIA;AAAA;;AAyBA;AAIA;AAAA;;;;;;;;;AAvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAyBA;AACA;AAEA;AAAA;;AACA;AAAA;;;;AAsCA","sources":["webpack://ninecat-ui/./doc/markdown/nPagination/en-US/index.md?c25f","webpack://ninecat-ui/./doc/markdown/nPagination/en-US/index.md","webpack://ninecat-ui/./doc/markdown/nPagination/en-US/index.md?6278","webpack://ninecat-ui/./doc/markdown/nPagination/en-US/index.md?786b"],"sourcesContent":["import { render } from \"./index.md?vue&type=template&id=22ac7aba\"\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/nPagination/en-US/index.md\"]])\n/* hot reload */\nif (module.hot) {\n __exports__.__hmrId = \"22ac7aba\"\n const api = __VUE_HMR_RUNTIME__\n module.hot.accept()\n if (!api.createRecord('22ac7aba', __exports__)) {\n console.log('reload')\n api.reload('22ac7aba', __exports__)\n }\n \n module.hot.accept(\"./index.md?vue&type=template&id=22ac7aba\", () => {\n console.log('re-render')\n api.rerender('22ac7aba', render)\n })\n\n}\n\n\nexport default __exports__","\n <template>\n <section>\n <h1>Pagination</h1>\n<p>Pagination navigation, used to help long lists only load part of the data, and can quickly switch to a specified data page.</p>\n<h2 id=\"when-to-use\">When To Use</h2>\n<p>When loading / rendering all data will take a lot of time; switch page numbers to browse the data.</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-pagination\n :total="total"\n :page-size="pageSize"\n :current="current"\n :on-change-pgae="onChangePgae"\n />\n</template>\n\n<script>\nexport default {\n data: function() {\n return {\n total: 100,\n pageSize: 10,\n current: 1\n }\n },\n methods: {\n onChangePgae (page) {\n console.log(page)\n }\n }\n}\n</script>\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 <n-pagination\n size="xs"\n :total="total"\n :page-size="pageSize"\n :current="current"\n />\n <n-pagination\n size="sm"\n :total="total"\n :page-size="pageSize"\n :current="current"\n />\n <n-pagination\n size="md"\n :total="total"\n :page-size="pageSize"\n :current="current"\n />\n <n-pagination\n size="lg"\n :total="total"\n :page-size="pageSize"\n :current="current"\n />\n</template>\n\n<script>\n export default {\n data: function() {\n return {\n total: 100,\n pageSize: 10,\n current: 1\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\">total</td>\n<td style=\"text-align:left\">total</td>\n<td style=\"text-align:left\">Number</td>\n<td style=\"text-align:left\">0</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">current</td>\n<td style=\"text-align:left\">current page number</td>\n<td style=\"text-align:left\">Number</td>\n<td style=\"text-align:left\">1</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">page-size</td>\n<td style=\"text-align:left\">digital per page</td>\n<td style=\"text-align:left\">Number</td>\n<td style=\"text-align:left\">10</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">size</td>\n<td style=\"text-align:left\">size of pagination</td>\n<td style=\"text-align:left\">String,options:'xs','sm','md','lg'</td>\n<td style=\"text-align:left\">'sm'</td>\n</tr>\n<tr>\n<td style=\"text-align:left\">onChangePgae</td>\n<td style=\"text-align:left\">Click the callback method to switch pages</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_pagination = _resolveComponent(\"n-pagination\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_pagination, {\n total: _ctx.total,\n \"page-size\": _ctx.pageSize,\n current: _ctx.current,\n \"on-change-pgae\": _ctx.onChangePgae\n }, null, 8 /* PROPS */, [\"total\", \"page-size\", \"current\", \"on-change-pgae\"])\n ]))\n}\n \n const democomponentExport = {\n data: function() {\n return {\n total: 100,\n pageSize: 10,\n current: 1\n }\n },\n methods: {\n onChangePgae (page) {\n console.log(page)\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_pagination = _resolveComponent(\"n-pagination\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_n_pagination, {\n size: \"xs\",\n total: _ctx.total,\n \"page-size\": _ctx.pageSize,\n current: _ctx.current\n }, null, 8 /* PROPS */, [\"total\", \"page-size\", \"current\"]),\n _createVNode(_component_n_pagination, {\n size: \"sm\",\n total: _ctx.total,\n \"page-size\": _ctx.pageSize,\n current: _ctx.current\n }, null, 8 /* PROPS */, [\"total\", \"page-size\", \"current\"]),\n _createVNode(_component_n_pagination, {\n size: \"md\",\n total: _ctx.total,\n \"page-size\": _ctx.pageSize,\n current: _ctx.current\n }, null, 8 /* PROPS */, [\"total\", \"page-size\", \"current\"]),\n _createVNode(_component_n_pagination, {\n size: \"lg\",\n total: _ctx.total,\n \"page-size\": _ctx.pageSize,\n current: _ctx.current\n }, null, 8 /* PROPS */, [\"total\", \"page-size\", \"current\"])\n ]))\n}\n \n const democomponentExport = {\n data: function() {\n return {\n total: 100,\n pageSize: 10,\n current: 1\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=22ac7aba\""],"names":[],"sourceRoot":""}