@operato/scene-tab 10.0.0-beta.2 → 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
- # things-scene-tab
1
+ # @operato/scene-tab
2
2
 
3
- ## node package를 설치한다.
3
+ > Tab style container for Things Scene
4
4
 
5
- `$ yarn`
5
+ <!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
6
6
 
7
- ## 실행
7
+ ## Components
8
8
 
9
- `$ yarn serve`
10
- `$ yarn serve:dev`
9
+ - `TabCard`
10
+ - `TabContainer`
11
+ - `Tab`
12
+ - `TabButton`
11
13
 
12
- ## 포트를 바꾸려면, -p 3001 식으로 추가해준다.
14
+ ## Install
13
15
 
14
- `$ yarn serve`
15
- `$ yarn serve -p 3001`
16
+ ```bash
17
+ yarn add @operato/scene-tab
18
+ ```
16
19
 
17
- ## test in browser
20
+ ## Usage
18
21
 
19
- http://localhost:3000
22
+ ```ts
23
+ import { TabCard, TabContainer, Tab, TabButton } from '@operato/scene-tab'
24
+ ```
20
25
 
21
- ## build
26
+ ## Build
22
27
 
23
- `$ yarn build`
28
+ ```bash
29
+ yarn build
30
+ ```
24
31
 
25
- | type | filename | for | tested |
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
- ## publish
34
+ _Version: 10.0.0-beta.2_
32
35
 
33
- `$ yarn publish`
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|IoT|3D|warehouse|form|etc */,
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,gGAAgG;IACnH,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|IoT|3D|warehouse|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"]}
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"]}
@@ -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|IoT|3D|warehouse|form|etc */,
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,gGAAgG;IACnH,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|IoT|3D|warehouse|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"]}
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.2",
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": "350ece104754d007967cf8e3f54d0d157465e94a"
61
+ "gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
62
62
  }