@operato/scene-tab 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,36 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @operato/scene-tab
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Tab style container for Things Scene
|
|
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
|
+
- `TabCard`
|
|
10
|
+
- `TabContainer`
|
|
11
|
+
- `Tab`
|
|
12
|
+
- `TabButton`
|
|
11
13
|
|
|
12
|
-
##
|
|
14
|
+
## Install
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
```bash
|
|
17
|
+
yarn add @operato/scene-tab
|
|
18
|
+
```
|
|
16
19
|
|
|
17
|
-
##
|
|
20
|
+
## Usage
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
```ts
|
|
23
|
+
import { TabCard, TabContainer, Tab, TabButton } from '@operato/scene-tab'
|
|
24
|
+
```
|
|
20
25
|
|
|
21
|
-
##
|
|
26
|
+
## Build
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
```bash
|
|
29
|
+
yarn build
|
|
30
|
+
```
|
|
24
31
|
|
|
25
|
-
|
|
26
|
-
| ---- | ---------------------- | -------------- | ------ |
|
|
27
|
-
| UMD | things-scene-tab.js | modern browser | 0 |
|
|
28
|
-
| UMD | things-scene-tab-ie.js | ie 11 | 0 |
|
|
29
|
-
| ESM | things-scene-tab.mjs | modern browser | 0 |
|
|
32
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
30
33
|
|
|
31
|
-
|
|
34
|
+
_Version: 10.0.0-beta.2_
|
|
32
35
|
|
|
33
|
-
|
|
36
|
+
<!-- AUTOGEN_END -->
|
|
@@ -2,7 +2,7 @@ const icon = new URL('../../icons/tab-container.png', import.meta.url).href;
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'tab-container',
|
|
4
4
|
description: 'tab container(card layout)',
|
|
5
|
-
group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
5
|
+
group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,
|
|
6
6
|
icon,
|
|
7
7
|
model: {
|
|
8
8
|
type: 'tab-container',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-container.js","sourceRoot":"","sources":["../../src/templates/tab-container.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,+BAA+B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE3E,eAAe;IACb,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"tab-container.js","sourceRoot":"","sources":["../../src/templates/tab-container.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,+BAA+B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE3E,eAAe;IACb,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,WAAW,CAAC,wHAAwH;IAC3I,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,CAAC;KACb;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/tab-container.png', import.meta.url).href\n\nexport default {\n type: 'tab-container',\n description: 'tab container(card layout)',\n group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,\n icon,\n model: {\n type: 'tab-container',\n left: 100,\n top: 100,\n width: 200,\n height: 200,\n fontSize: 80,\n lineWidth: 1\n }\n}\n"]}
|
package/dist/templates/tab.js
CHANGED
|
@@ -2,7 +2,7 @@ const icon = new URL('../../icons/tab.png', import.meta.url).href;
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'tab',
|
|
4
4
|
description: 'tab-container control tab',
|
|
5
|
-
group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
5
|
+
group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,
|
|
6
6
|
icon,
|
|
7
7
|
model: {
|
|
8
8
|
type: 'tab',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../src/templates/tab.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,qBAAqB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEjE,eAAe;IACb,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../src/templates/tab.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,qBAAqB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEjE,eAAe;IACb,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,WAAW,CAAC,wHAAwH;IAC3I,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,MAAM;QACjB,eAAe,EAAE,KAAK;QACtB,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,OAAO;KACnB;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/tab.png', import.meta.url).href\n\nexport default {\n type: 'tab',\n description: 'tab-container control tab',\n group: 'container' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,\n icon,\n model: {\n type: 'tab',\n left: 100,\n top: 100,\n width: 100,\n height: 400,\n lineWidth: 5,\n fillStyle: 'navy',\n activeFillStyle: 'red',\n strokeStyle: 'white',\n fontColor: 'white'\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/scene-tab",
|
|
3
3
|
"description": "Tab style container for Things Scene",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.22",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"prettier --write"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
|
|
62
62
|
}
|