etiquetas.js 1.0.0-alpha.1 → 1.0.0-alpha.11
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 +122 -38
- package/README.npm.md +0 -0
- package/dist/etiquetas.es.js +65 -0
- package/dist/etiquetas.es.js.map +1 -0
- package/dist/etiquetas.umd.js +358 -0
- package/dist/etiquetas.umd.js.map +1 -0
- package/dist/index-Bl0CvwuC.js +59982 -0
- package/dist/index-Bl0CvwuC.js.map +1 -0
- package/dist/index.es-eEPQXFRd.js +9229 -0
- package/dist/index.es-eEPQXFRd.js.map +1 -0
- package/dist/purify.es-DzZgBtzL.js +965 -0
- package/dist/purify.es-DzZgBtzL.js.map +1 -0
- package/package.json +38 -14
- package/README.git.md +0 -486
- package/api/api-labels.json +0 -114
- package/api/api.js +0 -316
- package/api/mock/data-volume-id_680.json +0 -64
- package/api/mock/labels-input.json +0 -96
- package/api/mock/labels-part.json +0 -216
- package/api/mock/labels-scrap.json +0 -76
- package/api/mock/labels-thickened.json +0 -96
- package/api/mock/labels-volume.json +0 -56
- package/api/token.txt +0 -1
- package/services/index.js +0 -28
- package/src/constants.js +0 -247
- package/src/createLabel.js +0 -342
- package/src/etiquetas.js +0 -654
- package/src/formatData.js +0 -96
- package/src/formatDataIntegrated.js +0 -498
- package/src/index.js +0 -86
- package/src/label/services/index.js +0 -1201
- package/src/label/services/sortFunctions.js +0 -158
- package/src/label/services/utils.js +0 -280
- package/src/labelWorker.js +0 -123
- package/src/reducer.js +0 -40
- package/src/store.js +0 -55
- package/src/templates.js +0 -139
- package/src/useLabelData.js +0 -99
- package/src/usePrinterStore.js +0 -115
- package/src/variableManager.js +0 -224
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"label_type":":\"volume\"",
|
|
3
|
-
"page":1,
|
|
4
|
-
"total":2,
|
|
5
|
-
"permissions":[
|
|
6
|
-
"create"
|
|
7
|
-
],
|
|
8
|
-
"fields":[
|
|
9
|
-
"label_name",
|
|
10
|
-
"label_type"
|
|
11
|
-
],
|
|
12
|
-
"labels":[
|
|
13
|
-
{
|
|
14
|
-
"label_id":"91876",
|
|
15
|
-
"label_type":"volume",
|
|
16
|
-
"label_name":"teste embalagens 4 (Cópia)",
|
|
17
|
-
"label_content":"[{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":447.5,\"top\":321.75,\"width\":377,\"height\":188.5,\"fill\":\"rgb(0,0,0)\",\"stroke\":null,\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"#fff\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"workarea\",\"name\":\"teste embalagens 4\",\"file\":null,\"src\":\"\",\"link\":{},\"tooltip\":{\"enabled\":false},\"layout\":\"fixed\",\"workareaWidth\":100,\"workareaHeight\":50,\"labelType\":\"volume\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"filters\":[]},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":447.91,\"top\":321.81,\"width\":2000,\"height\":1000,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.19,\"scaleY\":0.19,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"8be11af7-a173-4cc2-81fe-adde407362c1\",\"name\":\"New image\",\"file\":null,\"src\":\"https://db33.dev.dinabox.net/wp-content/uploads/2025/03/etiqueta-volumes-final.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"Image\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"rect\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":523.91,\"top\":411.96,\"width\":300,\"height\":120,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.96,\"scaleY\":0.75,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"rx\":0,\"ry\":0,\"id\":\"ca59824e-d4b0-482b-b4ea-25337aea266d\",\"name\":\"New shape\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"volumeContent\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":455.39,\"top\":330.66,\"width\":78,\"height\":39,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.13,\"scaleY\":0.62,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"d4354ad8-4369-4bac-a57e-5f5069eeef9c\",\"name\":\"New Barcode\",\"file\":null,\"src\":\"https://www.dinabox.app/wp-content/uploads/2020/05/barcode.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"barCode\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":470.77,\"top\":429.01,\"width\":186.06,\"height\":27.12,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_ID}}\",\"fontSize\":\"24\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"9fb51f1f-e1be-4781-b891-6afc0f4432f5\",\"name\":\"{{VOLUME_ID}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":610.56,\"top\":347.86,\"width\":115.7,\"height\":29.29,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.93,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_NOME}} \",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"06a03c70-fe4d-43fb-b10e-273df5c2b229\",\"name\":\"{{VOLUME_NOME}} \",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":459.58,\"top\":477.82,\"width\":111.4,\"height\":12.43,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_DATA}}\",\"fontSize\":\"11\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"f422cc92-cbe4-47c3-bcf8-f6a0f4c127d1\",\"name\":\"{{VOLUME_DATA}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":523.91,\"top\":373.72,\"width\":114.36,\"height\":9.04,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{CLIENTE_NOME}}\",\"fontSize\":\"8\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"5079a3d5-0e3b-473d-87d6-3f0884db7762\",\"name\":\"{{CLIENTE_NOME}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":684.75,\"top\":373.72,\"width\":115.49,\"height\":9.04,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{PROJETO_NOME}} \",\"fontSize\":\"8\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"76483faf-e3d6-4288-8172-be117dc5431f\",\"name\":\"{{PROJETO_NOME}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}}]",
|
|
18
|
-
"actions":[
|
|
19
|
-
"edit",
|
|
20
|
-
"delete"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"label_id":"91757",
|
|
25
|
-
"label_type":"volume",
|
|
26
|
-
"label_name":"teste embalagens 3 (Cópia)",
|
|
27
|
-
"label_content":"[{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":282.5,\"top\":271.75,\"width\":377,\"height\":188.5,\"fill\":\"rgb(0,0,0)\",\"stroke\":null,\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"#fff\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"workarea\",\"name\":\"teste embalagens 3\",\"file\":null,\"src\":\"\",\"link\":{},\"tooltip\":{\"enabled\":false},\"layout\":\"fixed\",\"workareaWidth\":100,\"workareaHeight\":50,\"labelType\":\"volume\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"filters\":[]},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":284.91,\"top\":272.96,\"width\":2000,\"height\":1000,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.19,\"scaleY\":0.19,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"8be11af7-a173-4cc2-81fe-adde407362c1\",\"name\":\"New image\",\"file\":null,\"src\":\"https://db33.dev.dinabox.net/wp-content/uploads/2025/03/etiqueta-template.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"Image\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"rect\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":351.5,\"top\":337.25,\"width\":300,\"height\":120,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.96,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"rx\":0,\"ry\":0,\"id\":\"ca59824e-d4b0-482b-b4ea-25337aea266d\",\"name\":\"New shape\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"volumeContent\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":289.91,\"top\":280.34,\"width\":78,\"height\":39,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.08,\"scaleY\":0.64,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"d4354ad8-4369-4bac-a57e-5f5069eeef9c\",\"name\":\"New Barcode\",\"file\":null,\"src\":\"https://www.dinabox.app/wp-content/uploads/2020/05/barcode.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"barCode\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":300.5,\"top\":337.25,\"width\":186.06,\"height\":27.12,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_ID}}\",\"fontSize\":\"24\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"9fb51f1f-e1be-4781-b891-6afc0f4432f5\",\"name\":\"{{VOLUME_ID}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":454.65,\"top\":284.86,\"width\":115.7,\"height\":29.29,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.93,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_NOME}} \",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"06a03c70-fe4d-43fb-b10e-273df5c2b229\",\"name\":\"{{VOLUME_NOME}} \",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":300.5,\"top\":393.34,\"width\":111.4,\"height\":13.56,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_DATA}}\",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"f422cc92-cbe4-47c3-bcf8-f6a0f4c127d1\",\"name\":\"{{VOLUME_DATA}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}}]",
|
|
28
|
-
"actions":[
|
|
29
|
-
"edit",
|
|
30
|
-
"delete"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"customers":[
|
|
35
|
-
{
|
|
36
|
-
"label_id":"91876",
|
|
37
|
-
"label_type":"volume",
|
|
38
|
-
"label_name":"teste embalagens 4 (Cópia)",
|
|
39
|
-
"label_content":"[{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":447.5,\"top\":321.75,\"width\":377,\"height\":188.5,\"fill\":\"rgb(0,0,0)\",\"stroke\":null,\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"#fff\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"workarea\",\"name\":\"teste embalagens 4\",\"file\":null,\"src\":\"\",\"link\":{},\"tooltip\":{\"enabled\":false},\"layout\":\"fixed\",\"workareaWidth\":100,\"workareaHeight\":50,\"labelType\":\"volume\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"filters\":[]},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":447.91,\"top\":321.81,\"width\":2000,\"height\":1000,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.19,\"scaleY\":0.19,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"8be11af7-a173-4cc2-81fe-adde407362c1\",\"name\":\"New image\",\"file\":null,\"src\":\"https://db33.dev.dinabox.net/wp-content/uploads/2025/03/etiqueta-volumes-final.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"Image\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"rect\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":523.91,\"top\":411.96,\"width\":300,\"height\":120,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.96,\"scaleY\":0.75,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"rx\":0,\"ry\":0,\"id\":\"ca59824e-d4b0-482b-b4ea-25337aea266d\",\"name\":\"New shape\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"volumeContent\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":455.39,\"top\":330.66,\"width\":78,\"height\":39,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.13,\"scaleY\":0.62,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"d4354ad8-4369-4bac-a57e-5f5069eeef9c\",\"name\":\"New Barcode\",\"file\":null,\"src\":\"https://www.dinabox.app/wp-content/uploads/2020/05/barcode.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"barCode\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":470.77,\"top\":429.01,\"width\":186.06,\"height\":27.12,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_ID}}\",\"fontSize\":\"24\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"9fb51f1f-e1be-4781-b891-6afc0f4432f5\",\"name\":\"{{VOLUME_ID}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":610.56,\"top\":347.86,\"width\":115.7,\"height\":29.29,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.93,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_NOME}} \",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"06a03c70-fe4d-43fb-b10e-273df5c2b229\",\"name\":\"{{VOLUME_NOME}} \",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":459.58,\"top\":477.82,\"width\":111.4,\"height\":12.43,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_DATA}}\",\"fontSize\":\"11\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"f422cc92-cbe4-47c3-bcf8-f6a0f4c127d1\",\"name\":\"{{VOLUME_DATA}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":523.91,\"top\":373.72,\"width\":114.36,\"height\":9.04,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{CLIENTE_NOME}}\",\"fontSize\":\"8\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"5079a3d5-0e3b-473d-87d6-3f0884db7762\",\"name\":\"{{CLIENTE_NOME}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":684.75,\"top\":373.72,\"width\":115.49,\"height\":9.04,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{PROJETO_NOME}} \",\"fontSize\":\"8\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"76483faf-e3d6-4288-8172-be117dc5431f\",\"name\":\"{{PROJETO_NOME}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}}]",
|
|
40
|
-
"actions":[
|
|
41
|
-
"edit",
|
|
42
|
-
"delete"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"label_id":"91757",
|
|
47
|
-
"label_type":"volume",
|
|
48
|
-
"label_name":"teste embalagens 3 (Cópia)",
|
|
49
|
-
"label_content":"[{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":282.5,\"top\":271.75,\"width\":377,\"height\":188.5,\"fill\":\"rgb(0,0,0)\",\"stroke\":null,\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"#fff\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"workarea\",\"name\":\"teste embalagens 3\",\"file\":null,\"src\":\"\",\"link\":{},\"tooltip\":{\"enabled\":false},\"layout\":\"fixed\",\"workareaWidth\":100,\"workareaHeight\":50,\"labelType\":\"volume\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"filters\":[]},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":284.91,\"top\":272.96,\"width\":2000,\"height\":1000,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":0.19,\"scaleY\":0.19,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"8be11af7-a173-4cc2-81fe-adde407362c1\",\"name\":\"New image\",\"file\":null,\"src\":\"https://db33.dev.dinabox.net/wp-content/uploads/2025/03/etiqueta-template.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"Image\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"rect\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":351.5,\"top\":337.25,\"width\":300,\"height\":120,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.96,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"rx\":0,\"ry\":0,\"id\":\"ca59824e-d4b0-482b-b4ea-25337aea266d\",\"name\":\"New shape\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"volumeContent\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true},{\"type\":\"image\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":289.91,\"top\":280.34,\"width\":78,\"height\":39,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":0,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.08,\"scaleY\":0.64,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"crossOrigin\":\"\",\"cropX\":0,\"cropY\":0,\"id\":\"d4354ad8-4369-4bac-a57e-5f5069eeef9c\",\"name\":\"New Barcode\",\"file\":null,\"src\":\"https://www.dinabox.app/wp-content/uploads/2020/05/barcode.png\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"barCode\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"filters\":[]},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":300.5,\"top\":337.25,\"width\":186.06,\"height\":27.12,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_ID}}\",\"fontSize\":\"24\",\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"9fb51f1f-e1be-4781-b891-6afc0f4432f5\",\"name\":\"{{VOLUME_ID}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":454.65,\"top\":284.86,\"width\":115.7,\"height\":29.29,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":0.93,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_NOME}} \",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"06a03c70-fe4d-43fb-b10e-273df5c2b229\",\"name\":\"{{VOLUME_NOME}} \",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}},{\"type\":\"textbox\",\"version\":\"3.6.6\",\"originX\":\"left\",\"originY\":\"top\",\"left\":300.5,\"top\":393.34,\"width\":111.4,\"height\":13.56,\"fill\":\"rgba(0, 0, 0, 1)\",\"stroke\":\"rgba(255, 255, 255, 0)\",\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeDashOffset\":0,\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{{VOLUME_DATA}}\",\"fontSize\":12,\"fontWeight\":\"normal\",\"fontFamily\":\"Times New Roman\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"splitByGrapheme\":false,\"id\":\"f422cc92-cbe4-47c3-bcf8-f6a0f4c127d1\",\"name\":\"{{VOLUME_DATA}}\",\"link\":{\"enabled\":false,\"type\":\"resource\",\"state\":\"new\",\"dashboard\":{}},\"tooltip\":{\"enabled\":true,\"type\":\"resource\",\"template\":\"{{message.name}}\"},\"animation\":{\"type\":\"none\",\"loop\":true,\"autoplay\":true,\"delay\":100,\"duration\":1000},\"userProperty\":{},\"trigger\":{\"enabled\":false,\"type\":\"alarm\",\"script\":\"return message.value > 0;\",\"effect\":\"style\"},\"labelType\":\"part\",\"pageWidth\":100,\"pageHeight\":50,\"pageMarginTop\":0,\"pageMarginLeft\":0,\"pageMarginRight\":0,\"pageColumns\":1,\"pageLines\":1,\"originBarcode\":\"{{PROJETO_ID}}\",\"pageVerticalSpace\":0,\"pageHorizontalSpace\":0,\"pageShowBorder\":false,\"specialProp\":\"variable\",\"showEdges\":false,\"keepProportion\":false,\"editable\":true,\"styles\":{}}]",
|
|
50
|
-
"actions":[
|
|
51
|
-
"edit",
|
|
52
|
-
"delete"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
}
|
package/api/token.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2RiMzMuZGV2LmRpbmFib3gubmV0IiwiaWF0IjoxNzUzNDQwNDcwLCJuYmYiOjE3NTM0NDA0NzAsImV4cCI6MTc1MzQ3NjQ3MCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiNTc0NSJ9fX0.RMsiIUgnY_OPvho2u-2TBC1OPYcLAthQYmAHpuTU95Y
|
package/services/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Serviços auxiliares para o sistema de etiquetas
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Carrega imagens de URLs
|
|
7
|
-
* @param {string} url - URL da imagem
|
|
8
|
-
* @returns {Promise<string>} Base64 da imagem
|
|
9
|
-
*/
|
|
10
|
-
export const getImagesFromUrl = async (url) => {
|
|
11
|
-
try {
|
|
12
|
-
// Implementação básica - pode ser expandida conforme necessário
|
|
13
|
-
return url;
|
|
14
|
-
} catch (error) {
|
|
15
|
-
console.error('Erro ao carregar imagem:', error);
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Preferências padrão do sistema
|
|
22
|
-
*/
|
|
23
|
-
export const defaultPrefs = {
|
|
24
|
-
paperSize: 'A4',
|
|
25
|
-
orientation: 'portrait',
|
|
26
|
-
margin: 10,
|
|
27
|
-
quality: 'high'
|
|
28
|
-
};
|
package/src/constants.js
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 🏷️ CONSTANTES DO SISTEMA DE ETIQUETAS
|
|
3
|
-
*
|
|
4
|
-
* Definições de tipos, nomes e configurações padrão
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// ============================================================================
|
|
8
|
-
// TIPOS DE ETIQUETAS
|
|
9
|
-
// ============================================================================
|
|
10
|
-
|
|
11
|
-
export const labelTypeNames = {
|
|
12
|
-
parts: "Peças",
|
|
13
|
-
woodwork: "Tamponamentos",
|
|
14
|
-
inputs: "Insumos",
|
|
15
|
-
scraps: "Retalhos",
|
|
16
|
-
volumes: "Volumes"
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export const labelTypes = Object.keys(labelTypeNames);
|
|
20
|
-
|
|
21
|
-
// ============================================================================
|
|
22
|
-
// TIPOS DE PEÇAS
|
|
23
|
-
// ============================================================================
|
|
24
|
-
|
|
25
|
-
export const partTypeNames = {
|
|
26
|
-
cabinet: "Caixa",
|
|
27
|
-
door: "Porta",
|
|
28
|
-
drawer: "Gaveta",
|
|
29
|
-
thickened: "Tamponamento"
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const partTypes = Object.keys(partTypeNames);
|
|
33
|
-
|
|
34
|
-
// ============================================================================
|
|
35
|
-
// CONFIGURAÇÕES PADRÃO
|
|
36
|
-
// ============================================================================
|
|
37
|
-
|
|
38
|
-
export const defaultConfig = {
|
|
39
|
-
printerName: null,
|
|
40
|
-
paperSize: 'A4',
|
|
41
|
-
orientation: 'portrait',
|
|
42
|
-
defaultTemplate: 'template-padrao',
|
|
43
|
-
autoDownloadOnPrinterError: true,
|
|
44
|
-
maxBatchSize: 100,
|
|
45
|
-
cacheEnabled: true,
|
|
46
|
-
debugMode: false
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
// ============================================================================
|
|
50
|
-
// TEMPLATES PADRÃO
|
|
51
|
-
// ============================================================================
|
|
52
|
-
|
|
53
|
-
export const defaultTemplates = {
|
|
54
|
-
'template-peca-padrao': {
|
|
55
|
-
name: 'Template Padrão - Peças',
|
|
56
|
-
type: 'parts',
|
|
57
|
-
pageWidth: 210,
|
|
58
|
-
pageHeight: 297,
|
|
59
|
-
elements: []
|
|
60
|
-
},
|
|
61
|
-
'template-tamponamento-padrao': {
|
|
62
|
-
name: 'Template Padrão - Tamponamentos',
|
|
63
|
-
type: 'woodwork',
|
|
64
|
-
pageWidth: 210,
|
|
65
|
-
pageHeight: 297,
|
|
66
|
-
elements: []
|
|
67
|
-
},
|
|
68
|
-
'template-insumo-padrao': {
|
|
69
|
-
name: 'Template Padrão - Insumos',
|
|
70
|
-
type: 'inputs',
|
|
71
|
-
pageWidth: 210,
|
|
72
|
-
pageHeight: 297,
|
|
73
|
-
elements: []
|
|
74
|
-
},
|
|
75
|
-
'template-retalho-padrao': {
|
|
76
|
-
name: 'Template Padrão - Retalhos',
|
|
77
|
-
type: 'scraps',
|
|
78
|
-
pageWidth: 210,
|
|
79
|
-
pageHeight: 297,
|
|
80
|
-
elements: []
|
|
81
|
-
},
|
|
82
|
-
'template-volume-padrao': {
|
|
83
|
-
name: 'Template Padrão - Volumes',
|
|
84
|
-
type: 'volumes',
|
|
85
|
-
pageWidth: 210,
|
|
86
|
-
pageHeight: 297,
|
|
87
|
-
elements: []
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
// ============================================================================
|
|
92
|
-
// VARIÁVEIS DE TEMPLATE
|
|
93
|
-
// ============================================================================
|
|
94
|
-
|
|
95
|
-
export const templateVariables = {
|
|
96
|
-
// Projeto (5 variáveis)
|
|
97
|
-
projeto: [
|
|
98
|
-
"{{PROJETO_ID}}",
|
|
99
|
-
"{{PROJETO_NOME}}",
|
|
100
|
-
"{{PROJETO_OBS}}",
|
|
101
|
-
"{{CLIENTE_ID}}",
|
|
102
|
-
"{{CLIENTE_NOME}}"
|
|
103
|
-
],
|
|
104
|
-
|
|
105
|
-
// Peça (7 variáveis)
|
|
106
|
-
peca: [
|
|
107
|
-
"{{PECA_ID}}",
|
|
108
|
-
"{{PECA_CODIGO}}",
|
|
109
|
-
"{{PECA_NOME}}",
|
|
110
|
-
"{{PECA_TIPO}}",
|
|
111
|
-
"{{LARGURA}}",
|
|
112
|
-
"{{ALTURA}}",
|
|
113
|
-
"{{ESPESSURA}}"
|
|
114
|
-
],
|
|
115
|
-
|
|
116
|
-
// Material (3 variáveis)
|
|
117
|
-
material: [
|
|
118
|
-
"{{MN}}", // Nome do material
|
|
119
|
-
"{{MA}}", // Altura do material
|
|
120
|
-
"{{ML}}" // Largura do material
|
|
121
|
-
],
|
|
122
|
-
|
|
123
|
-
// Bordas (4 variáveis)
|
|
124
|
-
bordas: [
|
|
125
|
-
"{{FE}}", // Fita esquerda
|
|
126
|
-
"{{FD}}", // Fita direita
|
|
127
|
-
"{{FS}}", // Fita superior
|
|
128
|
-
"{{FI}}" // Fita inferior
|
|
129
|
-
],
|
|
130
|
-
|
|
131
|
-
// Furação (3 variáveis)
|
|
132
|
-
furacao: [
|
|
133
|
-
"{{FURO_A}}",
|
|
134
|
-
"{{FURO_B}}",
|
|
135
|
-
"{{LADO_USINAGEM}}"
|
|
136
|
-
],
|
|
137
|
-
|
|
138
|
-
// Volume (4 variáveis)
|
|
139
|
-
volume: [
|
|
140
|
-
"{{VOLUME_ID}}",
|
|
141
|
-
"{{VOLUME_NOME}}",
|
|
142
|
-
"{{VOLUME_PESO}}",
|
|
143
|
-
"{{VOLUME_DATA}}"
|
|
144
|
-
],
|
|
145
|
-
|
|
146
|
-
// Insumo (7 variáveis)
|
|
147
|
-
insumo: [
|
|
148
|
-
"{{INSUMO_NOME}}",
|
|
149
|
-
"{{INSUMO_ID}}",
|
|
150
|
-
"{{INSUMO_DIMENSOES}}",
|
|
151
|
-
"{{INSUMO_QTD}}",
|
|
152
|
-
"{{INSUMO_PESO}}",
|
|
153
|
-
"{{INSUMO_REF}}",
|
|
154
|
-
"{{INSUMO_MARCA}}"
|
|
155
|
-
],
|
|
156
|
-
|
|
157
|
-
// Tamponamento (5 variáveis)
|
|
158
|
-
tamponamento: [
|
|
159
|
-
"{{TAMPONAMENTO_ID}}",
|
|
160
|
-
"{{TAMPONAMENTO_REF}}",
|
|
161
|
-
"{{TAMPONAMENTO_QT}}",
|
|
162
|
-
"{{TAMPONAMENTO_PESO}}",
|
|
163
|
-
"{{TAMPONAMENTO_NOME}}"
|
|
164
|
-
],
|
|
165
|
-
|
|
166
|
-
// Retalho (3 variáveis)
|
|
167
|
-
retalho: [
|
|
168
|
-
"{{RETALHO_ID}}",
|
|
169
|
-
"{{DATA_CRIACAO}}",
|
|
170
|
-
"{{RETALHO_INDICE}}"
|
|
171
|
-
]
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
// Lista completa de todas as variáveis (44+ disponíveis)
|
|
175
|
-
export const allTemplateVariables = Object.values(templateVariables).flat();
|
|
176
|
-
|
|
177
|
-
// ============================================================================
|
|
178
|
-
// MENSAGENS DE STATUS
|
|
179
|
-
// ============================================================================
|
|
180
|
-
|
|
181
|
-
export const statusMessages = {
|
|
182
|
-
success: {
|
|
183
|
-
generated: '✅ Etiqueta gerada com sucesso',
|
|
184
|
-
printed: '✅ Etiqueta enviada para impressão',
|
|
185
|
-
downloaded: '✅ Download realizado com sucesso',
|
|
186
|
-
configured: '✅ Configuração aplicada com sucesso'
|
|
187
|
-
},
|
|
188
|
-
|
|
189
|
-
error: {
|
|
190
|
-
generation: '❌ Erro ao gerar etiqueta',
|
|
191
|
-
printing: '❌ Erro ao imprimir',
|
|
192
|
-
download: '❌ Erro no download',
|
|
193
|
-
configuration: '❌ Erro na configuração',
|
|
194
|
-
printerNotFound: '❌ Impressora não encontrada',
|
|
195
|
-
invalidData: '❌ Dados inválidos fornecidos'
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
warning: {
|
|
199
|
-
printerOffline: '⚠️ Impressora offline, fazendo download',
|
|
200
|
-
templateNotFound: '⚠️ Template não encontrado, usando padrão',
|
|
201
|
-
partialData: '⚠️ Alguns dados estão incompletos'
|
|
202
|
-
},
|
|
203
|
-
|
|
204
|
-
info: {
|
|
205
|
-
processing: '🔄 Processando etiqueta...',
|
|
206
|
-
connecting: '🔌 Conectando com impressora...',
|
|
207
|
-
caching: '💾 Salvando em cache...'
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
// ============================================================================
|
|
212
|
-
// CONFIGURAÇÕES DE IMPRESSÃO
|
|
213
|
-
// ============================================================================
|
|
214
|
-
|
|
215
|
-
export const printerSettings = {
|
|
216
|
-
paperSizes: {
|
|
217
|
-
'A4': { width: 210, height: 297 },
|
|
218
|
-
'A5': { width: 148, height: 210 },
|
|
219
|
-
'Letter': { width: 216, height: 279 },
|
|
220
|
-
'Custom': { width: null, height: null }
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
orientations: ['portrait', 'landscape'],
|
|
224
|
-
|
|
225
|
-
supportedFormats: ['PDF', 'PNG', 'JPG'],
|
|
226
|
-
|
|
227
|
-
defaultDPI: 300,
|
|
228
|
-
|
|
229
|
-
maxFileSize: 50 * 1024 * 1024 // 50MB
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
// ============================================================================
|
|
233
|
-
// EXPORTAÇÃO PADRÃO
|
|
234
|
-
// ============================================================================
|
|
235
|
-
|
|
236
|
-
export default {
|
|
237
|
-
labelTypeNames,
|
|
238
|
-
labelTypes,
|
|
239
|
-
partTypeNames,
|
|
240
|
-
partTypes,
|
|
241
|
-
defaultConfig,
|
|
242
|
-
defaultTemplates,
|
|
243
|
-
templateVariables,
|
|
244
|
-
allTemplateVariables,
|
|
245
|
-
statusMessages,
|
|
246
|
-
printerSettings
|
|
247
|
-
};
|