@operato/scene-label 10.0.0-beta.17 → 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 +14 -22
- package/dist/templates/barcode-scanner.js +1 -1
- package/dist/templates/barcode-scanner.js.map +1 -1
- package/dist/templates/barcode.js +2 -2
- package/dist/templates/barcode.js.map +1 -1
- package/dist/templates/label-printer.js +2 -2
- package/dist/templates/label-printer.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,31 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
# @operato/scene-label
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Barcode Label component for things-scene
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
`$ yarn serve:dev`
|
|
7
|
+
## Install
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @operato/scene-label
|
|
11
|
+
```
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
`$ yarn serve -p 3001`
|
|
13
|
+
## Build
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
```bash
|
|
16
|
+
yarn build
|
|
17
|
+
```
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
_Version: 10.0.0-beta.17_
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
| type | filename | for | tested |
|
|
24
|
-
| ---- | ------------------------------------------ | -------------- | ------ |
|
|
25
|
-
| UMD | things-scene-label.js | modern browser | O |
|
|
26
|
-
| UMD | things-scene-label-ie.js | ie 11 | O |
|
|
27
|
-
| ESM | things-scene-label.mjs | modern browser | O |
|
|
28
|
-
|
|
29
|
-
## publish
|
|
30
|
-
|
|
31
|
-
`$ yarn publish`
|
|
23
|
+
<!-- AUTOGEN_END -->
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
type: 'barcode-scanner',
|
|
4
4
|
description: 'barcode-scanner',
|
|
5
5
|
group: 'form',
|
|
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: 'barcode-scanner',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"barcode-scanner.js","sourceRoot":"","sources":["../../src/templates/barcode-scanner.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,0CAA0C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEtF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,MAAM;IACb,
|
|
1
|
+
{"version":3,"file":"barcode-scanner.js","sourceRoot":"","sources":["../../src/templates/barcode-scanner.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,0CAA0C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEtF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,MAAM;IACb,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,CAAC;KACb;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/barcode-scanner-template.png', import.meta.url).href\n\nexport default {\n type: 'barcode-scanner',\n description: 'barcode-scanner',\n group: 'form',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'barcode-scanner',\n left: 10,\n top: 10,\n width: 200,\n height: 30,\n lineWidth: 1\n }\n}\n"]}
|
|
@@ -2,8 +2,8 @@ const icon = new URL('../../icons/barcode-template.png', import.meta.url).href;
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'barcode',
|
|
4
4
|
description: 'barcode',
|
|
5
|
-
group: '
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
5
|
+
group: 'facility',
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'barcode',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"barcode.js","sourceRoot":"","sources":["../../src/templates/barcode.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,kCAAkC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE9E,eAAe;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,SAAS;IACtB,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"barcode.js","sourceRoot":"","sources":["../../src/templates/barcode.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,kCAAkC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE9E,eAAe;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,SAAS;IACtB,KAAK,EAAE,UAAU;IACjB,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;KACZ;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/barcode-template.png', import.meta.url).href\n\nexport default {\n type: 'barcode',\n description: 'barcode',\n group: 'facility',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'barcode',\n symbol: 'code39',\n text: '1234567890',\n left: 10,\n top: 10,\n width: 500,\n height: 100\n }\n}\n"]}
|
|
@@ -2,8 +2,8 @@ const icon = new URL('../../icons/label-printer-template.png', import.meta.url).
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'label-printer',
|
|
4
4
|
description: 'label-printer',
|
|
5
|
-
group: '
|
|
6
|
-
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
5
|
+
group: 'facility',
|
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */
|
|
7
7
|
icon,
|
|
8
8
|
model: {
|
|
9
9
|
type: 'label-printer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label-printer.js","sourceRoot":"","sources":["../../src/templates/label-printer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,wCAAwC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEpF,eAAe;IACb,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"label-printer.js","sourceRoot":"","sources":["../../src/templates/label-printer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,wCAAwC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEpF,eAAe;IACb,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,UAAU;IACjB,wHAAwH;IACxH,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,UAAU;KACxB;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/label-printer-template.png', import.meta.url).href\n\nexport default {\n type: 'label-printer',\n description: 'label-printer',\n group: 'facility',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */\n icon,\n model: {\n type: 'label-printer',\n left: 10,\n top: 10,\n width: 100,\n height: 100,\n fillStyle: 'cyan',\n strokeStyle: 'darkgray'\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-label",
|
|
3
3
|
"description": "Barcode Label component for things-scene",
|
|
4
|
-
"version": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.22",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"things-scene": true,
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"prettier --write"
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
|
|
67
67
|
}
|