omim - build docs & repl

This commit is contained in:
dntzhang 2019-06-13 20:54:42 +08:00
parent 4ea71d637a
commit 331bd89d02
18 changed files with 93 additions and 91 deletions

View File

@ -1,12 +1,12 @@
{
"cn.css": "static/css/cn.4dd07f49.css",
"cn.css.map": "static/css/cn.4dd07f49.css.map",
"cn.js": "static/js/cn.78714212.js",
"cn.js.map": "static/js/cn.78714212.js.map",
"cn.js": "static/js/cn.7fdae9c1.js",
"cn.js.map": "static/js/cn.7fdae9c1.js.map",
"index.css": "static/css/index.4dd07f49.css",
"index.css.map": "static/css/index.4dd07f49.css.map",
"index.js": "static/js/index.325a84d8.js",
"index.js.map": "static/js/index.325a84d8.js.map",
"index.js": "static/js/index.109b0b13.js",
"index.js.map": "static/js/index.109b0b13.js.map",
"static/js/0.116526ac.chunk.js": "static/js/0.116526ac.chunk.js",
"static/js/0.116526ac.chunk.js.map": "static/js/0.116526ac.chunk.js.map",
"static/js/1.8150f648.chunk.js": "static/js/1.8150f648.chunk.js",
@ -57,8 +57,8 @@
"static/js/119.8384127c.chunk.js.map": "static/js/119.8384127c.chunk.js.map",
"static/js/12.b8daf625.chunk.js": "static/js/12.b8daf625.chunk.js",
"static/js/12.b8daf625.chunk.js.map": "static/js/12.b8daf625.chunk.js.map",
"static/js/13.e1c50169.chunk.js": "static/js/13.e1c50169.chunk.js",
"static/js/13.e1c50169.chunk.js.map": "static/js/13.e1c50169.chunk.js.map",
"static/js/13.938d1979.chunk.js": "static/js/13.938d1979.chunk.js",
"static/js/13.938d1979.chunk.js.map": "static/js/13.938d1979.chunk.js.map",
"static/js/14.617e947e.chunk.js": "static/js/14.617e947e.chunk.js",
"static/js/14.617e947e.chunk.js.map": "static/js/14.617e947e.chunk.js.map",
"static/js/15.d0626683.chunk.js": "static/js/15.d0626683.chunk.js",
@ -189,8 +189,8 @@
"static/js/71.e7dee8f5.chunk.js.map": "static/js/71.e7dee8f5.chunk.js.map",
"static/js/72.f681dce9.chunk.js": "static/js/72.f681dce9.chunk.js",
"static/js/72.f681dce9.chunk.js.map": "static/js/72.f681dce9.chunk.js.map",
"static/js/73.556ad9fa.chunk.js": "static/js/73.556ad9fa.chunk.js",
"static/js/73.556ad9fa.chunk.js.map": "static/js/73.556ad9fa.chunk.js.map",
"static/js/73.75845c0c.chunk.js": "static/js/73.75845c0c.chunk.js",
"static/js/73.75845c0c.chunk.js.map": "static/js/73.75845c0c.chunk.js.map",
"static/js/74.e9e2830a.chunk.js": "static/js/74.e9e2830a.chunk.js",
"static/js/74.e9e2830a.chunk.js.map": "static/js/74.e9e2830a.chunk.js.map",
"static/js/75.e0a72e6f.chunk.js": "static/js/75.e0a72e6f.chunk.js",

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.78714212.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.7fdae9c1.js"></script></body></html>

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.325a84d8.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.109b0b13.js"></script></body></html>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
webpackJsonp([13],{143:function(n,e){n.exports="## Spreadsheet\n\nOmi \u548c [x-spreadsheet](https://github.com/myliang/x-spreadsheet) \u6253\u9020\u8868\u683c\u6807\u7b7e\u3002\n\n## \u4f7f\u7528\n\n```jsx\n<m-spreadsheet\n onChange={(evt)=>{\n console.log(evt.detail)\n }}\n width={500}\n height={500}\n data={\n {\n freeze: 'B3',\n styles: [{\n bgcolor: '#f4f5f8',\n textwrap: true,\n color: '#900b09',\n border: {\n top: ['thin', '#0366d6'],\n bottom: ['thin', '#0366d6'],\n right: ['thin', '#0366d6'],\n left: ['thin', '#0366d6']\n }\n }],\n merges: [\n 'C3:D4'\n ],\n rows: {\n 1: {\n cells: {\n 0: { text: 'testingtesttestetst' },\n 2: { text: 'testing' }\n }\n },\n 2: {\n cells: {\n 0: { text: 'render', style: 0 },\n 1: { text: 'Hello' },\n 2: { text: 'haha', merge: [1, 1] }\n }\n },\n 8: {\n cells: {\n 8: { text: 'border test', style: 0 }\n }\n }\n }\n }}>\n</m-spreadsheet>\n```\n"}});
//# sourceMappingURL=13.938d1979.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/13.938d1979.chunk.js","docs/zh-cn/spreadsheet.md"],"names":["webpackJsonp","143","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/13.938d1979.chunk.js","sourcesContent":["webpackJsonp([13],{\n\n/***/ 143:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Spreadsheet\\n\\nOmi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格标签。\\n\\n## 使用\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={\\n {\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/13.938d1979.chunk.js","module.exports = \"## Spreadsheet\\n\\nOmi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格标签。\\n\\n## 使用\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={\\n {\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/spreadsheet.md\n// module id = 143\n// module chunks = 13"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([13],{143:function(n,e){n.exports="## Spreadsheet\n\nOmi \u548c [x-spreadsheet](https://github.com/myliang/x-spreadsheet) \u6253\u9020\u8868\u683c\u6807\u7b7e\u3002\n\n## \u4f7f\u7528\n\n```jsx\n<m-spreadsheet\n onChange={(evt)=>{\n console.log(evt.detail)\n }}\n width={500}\n height={500}\n data={{\n freeze: 'B3',\n styles: [{\n bgcolor: '#f4f5f8',\n textwrap: true,\n color: '#900b09',\n border: {\n top: ['thin', '#0366d6'],\n bottom: ['thin', '#0366d6'],\n right: ['thin', '#0366d6'],\n left: ['thin', '#0366d6']\n }\n }],\n merges: [\n 'C3:D4'\n ],\n rows: {\n 1: {\n cells: {\n 0: { text: 'testingtesttestetst' },\n 2: { text: 'testing' }\n }\n },\n 2: {\n cells: {\n 0: { text: 'render', style: 0 },\n 1: { text: 'Hello' },\n 2: { text: 'haha', merge: [1, 1] }\n }\n },\n 8: {\n cells: {\n 8: { text: 'border test', style: 0 }\n }\n }\n }\n }}>\n</m-spreadsheet>\n```\n"}});
//# sourceMappingURL=13.e1c50169.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/13.e1c50169.chunk.js","docs/zh-cn/spreadsheet.md"],"names":["webpackJsonp","143","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/13.e1c50169.chunk.js","sourcesContent":["webpackJsonp([13],{\n\n/***/ 143:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Spreadsheet\\n\\nOmi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格标签。\\n\\n## 使用\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={{\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/13.e1c50169.chunk.js","module.exports = \"## Spreadsheet\\n\\nOmi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格标签。\\n\\n## 使用\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={{\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/spreadsheet.md\n// module id = 143\n// module chunks = 13"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([73],{83:function(n,e){n.exports="## Spreadsheet\n\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\n\n## Usage\n\n```jsx\n<m-spreadsheet\n onChange={(evt)=>{\n console.log(evt.detail)\n }}\n width={500}\n height={500}\n data={{\n freeze: 'B3',\n styles: [{\n bgcolor: '#f4f5f8',\n textwrap: true,\n color: '#900b09',\n border: {\n top: ['thin', '#0366d6'],\n bottom: ['thin', '#0366d6'],\n right: ['thin', '#0366d6'],\n left: ['thin', '#0366d6']\n }\n }],\n merges: [\n 'C3:D4'\n ],\n rows: {\n 1: {\n cells: {\n 0: { text: 'testingtesttestetst' },\n 2: { text: 'testing' }\n }\n },\n 2: {\n cells: {\n 0: { text: 'render', style: 0 },\n 1: { text: 'Hello' },\n 2: { text: 'haha', merge: [1, 1] }\n }\n },\n 8: {\n cells: {\n 8: { text: 'border test', style: 0 }\n }\n }\n }\n }}>\n</m-spreadsheet>\n```\n"}});
//# sourceMappingURL=73.556ad9fa.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/73.556ad9fa.chunk.js","docs/en/spreadsheet.md"],"names":["webpackJsonp","83","module","exports"],"mappings":"AAAAA,cAAc,KAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/73.556ad9fa.chunk.js","sourcesContent":["webpackJsonp([73],{\n\n/***/ 83:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Spreadsheet\\n\\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\\n\\n## Usage\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={{\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/73.556ad9fa.chunk.js","module.exports = \"## Spreadsheet\\n\\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\\n\\n## Usage\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={{\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/spreadsheet.md\n// module id = 83\n// module chunks = 73"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([73],{83:function(n,e){n.exports="## Spreadsheet\n\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\n\n## Usage\n\n```jsx\n<m-spreadsheet\n onChange={(evt)=>{\n console.log(evt.detail)\n }}\n width={500}\n height={500}\n data={\n {\n freeze: 'B3',\n styles: [{\n bgcolor: '#f4f5f8',\n textwrap: true,\n color: '#900b09',\n border: {\n top: ['thin', '#0366d6'],\n bottom: ['thin', '#0366d6'],\n right: ['thin', '#0366d6'],\n left: ['thin', '#0366d6']\n }\n }],\n merges: [\n 'C3:D4'\n ],\n rows: {\n 1: {\n cells: {\n 0: { text: 'testingtesttestetst' },\n 2: { text: 'testing' }\n }\n },\n 2: {\n cells: {\n 0: { text: 'render', style: 0 },\n 1: { text: 'Hello' },\n 2: { text: 'haha', merge: [1, 1] }\n }\n },\n 8: {\n cells: {\n 8: { text: 'border test', style: 0 }\n }\n }\n }\n }}>\n</m-spreadsheet>\n```\n"}});
//# sourceMappingURL=73.75845c0c.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/73.75845c0c.chunk.js","docs/en/spreadsheet.md"],"names":["webpackJsonp","83","module","exports"],"mappings":"AAAAA,cAAc,KAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/73.75845c0c.chunk.js","sourcesContent":["webpackJsonp([73],{\n\n/***/ 83:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Spreadsheet\\n\\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\\n\\n## Usage\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={\\n {\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/73.75845c0c.chunk.js","module.exports = \"## Spreadsheet\\n\\nSpreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet) and omi.\\n\\n## Usage\\n\\n```jsx\\n<m-spreadsheet\\n onChange={(evt)=>{\\n console.log(evt.detail)\\n }}\\n width={500}\\n height={500}\\n data={\\n {\\n freeze: 'B3',\\n styles: [{\\n bgcolor: '#f4f5f8',\\n textwrap: true,\\n color: '#900b09',\\n border: {\\n top: ['thin', '#0366d6'],\\n bottom: ['thin', '#0366d6'],\\n right: ['thin', '#0366d6'],\\n left: ['thin', '#0366d6']\\n }\\n }],\\n merges: [\\n 'C3:D4'\\n ],\\n rows: {\\n 1: {\\n cells: {\\n 0: { text: 'testingtesttestetst' },\\n 2: { text: 'testing' }\\n }\\n },\\n 2: {\\n cells: {\\n 0: { text: 'render', style: 0 },\\n 1: { text: 'Hello' },\\n 2: { text: 'haha', merge: [1, 1] }\\n }\\n },\\n 8: {\\n cells: {\\n 8: { text: 'border test', style: 0 }\\n }\\n }\\n }\\n }}>\\n</m-spreadsheet>\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/spreadsheet.md\n// module id = 83\n// module chunks = 73"],"sourceRoot":""}

View File

@ -11,42 +11,43 @@ Spreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet)
}}
width={500}
height={500}
data={{
freeze: 'B3',
styles: [{
bgcolor: '#f4f5f8',
textwrap: true,
color: '#900b09',
border: {
top: ['thin', '#0366d6'],
bottom: ['thin', '#0366d6'],
right: ['thin', '#0366d6'],
left: ['thin', '#0366d6']
}
}],
merges: [
'C3:D4'
],
rows: {
1: {
cells: {
0: { text: 'testingtesttestetst' },
2: { text: 'testing' }
data={
{
freeze: 'B3',
styles: [{
bgcolor: '#f4f5f8',
textwrap: true,
color: '#900b09',
border: {
top: ['thin', '#0366d6'],
bottom: ['thin', '#0366d6'],
right: ['thin', '#0366d6'],
left: ['thin', '#0366d6']
}
},
2: {
cells: {
0: { text: 'render', style: 0 },
1: { text: 'Hello' },
2: { text: 'haha', merge: [1, 1] }
}
},
8: {
cells: {
8: { text: 'border test', style: 0 }
}],
merges: [
'C3:D4'
],
rows: {
1: {
cells: {
0: { text: 'testingtesttestetst' },
2: { text: 'testing' }
}
},
2: {
cells: {
0: { text: 'render', style: 0 },
1: { text: 'Hello' },
2: { text: 'haha', merge: [1, 1] }
}
},
8: {
cells: {
8: { text: 'border test', style: 0 }
}
}
}
}
}}>
}}>
</m-spreadsheet>
```

View File

@ -11,42 +11,43 @@ Omi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格
}}
width={500}
height={500}
data={{
freeze: 'B3',
styles: [{
bgcolor: '#f4f5f8',
textwrap: true,
color: '#900b09',
border: {
top: ['thin', '#0366d6'],
bottom: ['thin', '#0366d6'],
right: ['thin', '#0366d6'],
left: ['thin', '#0366d6']
}
}],
merges: [
'C3:D4'
],
rows: {
1: {
cells: {
0: { text: 'testingtesttestetst' },
2: { text: 'testing' }
data={
{
freeze: 'B3',
styles: [{
bgcolor: '#f4f5f8',
textwrap: true,
color: '#900b09',
border: {
top: ['thin', '#0366d6'],
bottom: ['thin', '#0366d6'],
right: ['thin', '#0366d6'],
left: ['thin', '#0366d6']
}
},
2: {
cells: {
0: { text: 'render', style: 0 },
1: { text: 'Hello' },
2: { text: 'haha', merge: [1, 1] }
}
},
8: {
cells: {
8: { text: 'border test', style: 0 }
}],
merges: [
'C3:D4'
],
rows: {
1: {
cells: {
0: { text: 'testingtesttestetst' },
2: { text: 'testing' }
}
},
2: {
cells: {
0: { text: 'render', style: 0 },
1: { text: 'Hello' },
2: { text: 'haha', merge: [1, 1] }
}
},
8: {
cells: {
8: { text: 'border test', style: 0 }
}
}
}
}
}}>
}}>
</m-spreadsheet>
```