@operato/scene-table 10.0.0-beta.1 → 10.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @operato/scene-table
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Things Scene Table Component.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Components
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
- `Table`
|
|
10
|
+
- `TableCell`
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Install
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
```bash
|
|
15
|
+
yarn add @operato/scene-table
|
|
16
|
+
```
|
|
16
17
|
|
|
17
|
-
##
|
|
18
|
+
## Usage
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
```ts
|
|
21
|
+
import { Table, TableCell } from '@operato/scene-table'
|
|
22
|
+
```
|
|
20
23
|
|
|
21
|
-
##
|
|
24
|
+
## Build
|
|
22
25
|
|
|
23
|
-
|
|
26
|
+
```bash
|
|
27
|
+
yarn build
|
|
28
|
+
```
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
| ---- | ------------------------ | -------------- | ------ |
|
|
27
|
-
| UMD | things-scene-table.js | modern browser | 0 |
|
|
28
|
-
| UMD | things-scene-table-ie.js | ie 11 | 0 |
|
|
29
|
-
| ESM | things-scene-table.mjs | modern browser | 0 |
|
|
30
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
_Version: 10.0.0-beta.2_
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
<!-- AUTOGEN_END -->
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'data-list',
|
|
4
4
|
description: 'data list',
|
|
5
5
|
group: 'table',
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'data-list',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-list.js","sourceRoot":"","sources":["../../src/templates/data-list.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,OAAO;IACd,
|
|
1
|
+
{"version":3,"file":"data-list.js","sourceRoot":"","sources":["../../src/templates/data-list.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,WAAW;IACxB,KAAK,EAAE,OAAO;IACd,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,OAAO;QAClB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,CAAC;KACX;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-data-list.png', import.meta.url).href\n\nexport default {\n type: 'data-list',\n description: 'data list',\n group: 'table',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'data-list',\n top: 100,\n left: 100,\n width: 500,\n height: 200,\n strokeStyle: '#999',\n fillStyle: 'white',\n lineWidth: 2,\n columns: 5\n }\n}\n"]}
|
package/dist/templates/table.js
CHANGED
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'table',
|
|
4
4
|
description: 'table',
|
|
5
5
|
group: 'table',
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'table',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/templates/table.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE,OAAO;IACd,
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/templates/table.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE,OAAO;IACd,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,OAAO;QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;QACV,IAAI,EAAE;YACJ,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;YACjC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;YACf,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;SACnB;KACF;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-table.png', import.meta.url).href\n\nexport default {\n type: 'table',\n description: 'table',\n group: 'table',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'table',\n top: 100,\n left: 100,\n width: 500,\n height: 200,\n strokeStyle: '#999',\n fillStyle: 'white',\n lineWidth: 2,\n rows: 5,\n columns: 5,\n data: [\n ['header1', 'header2', 'header3'],\n [100, 200, 300],\n [1000, 2000, 3000]\n ]\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-table",
|
|
3
3
|
"description": "Things Scene Table Component.",
|
|
4
|
-
"version": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.22",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "heartyoh",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"prettier --write"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
|
|
64
64
|
}
|