@xdmp-open/ui-iot 0.1.0
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/CHANGELOG.md +8 -0
- package/LICENSE +201 -0
- package/README.md +40 -0
- package/dist/arrayForm-CmE1acqw.js +220 -0
- package/dist/arrayForm-Lwfbw7Va.js +221 -0
- package/dist/assets/0b852c48e2739460.png +0 -0
- package/dist/assets/0c1944076fc099c9.png +0 -0
- package/dist/assets/0d328e8ac16d310b.png +0 -0
- package/dist/assets/0e8c5ddf6083accd.png +0 -0
- package/dist/assets/0f024af7e73ecdaf.png +0 -0
- package/dist/assets/159360b5db986850.png +0 -0
- package/dist/assets/169271f65e2a438a.png +0 -0
- package/dist/assets/1d4b5cf3d01bbafe.png +0 -0
- package/dist/assets/24bb52ba08a98bee.png +0 -0
- package/dist/assets/2b8b8276db3b5173.png +0 -0
- package/dist/assets/3676ff005bdfe111.png +0 -0
- package/dist/assets/38cd9640e16758e7.png +0 -0
- package/dist/assets/44dace48d71328bc.png +0 -0
- package/dist/assets/54251611c79ad1c0.png +0 -0
- package/dist/assets/54f72c89e5ea1e49.png +0 -0
- package/dist/assets/553c8a302452b3b7.png +0 -0
- package/dist/assets/566a4c4da3ba3d77.ttf +0 -0
- package/dist/assets/567092ca4e2c1160.png +0 -0
- package/dist/assets/62595475997dd655.jpg +0 -0
- package/dist/assets/62db30a0d8c5a851.png +0 -0
- package/dist/assets/6657a28a5b132f0d.png +0 -0
- package/dist/assets/6b5ba13d17cb190c.png +0 -0
- package/dist/assets/71fd5ff154dd69ce.png +0 -0
- package/dist/assets/78097b273109dd05.png +0 -0
- package/dist/assets/7f73329f76131abd.png +0 -0
- package/dist/assets/86eadba83fa72535.png +0 -0
- package/dist/assets/8e2a275e69a13669.png +0 -0
- package/dist/assets/987f68aaa530ebb0.png +0 -0
- package/dist/assets/9daaa6bf7c8bf2ba.otf +0 -0
- package/dist/assets/a62dc049f9596b44.png +0 -0
- package/dist/assets/a7c81ebe3861a4d3.png +0 -0
- package/dist/assets/ab9ce4447aa875c1.png +0 -0
- package/dist/assets/b2b8f9386d8a459b.otf +0 -0
- package/dist/assets/b3e83896b2c78588.png +0 -0
- package/dist/assets/b40ebf6529d7c29d.png +0 -0
- package/dist/assets/b530ce466fcb2f8f.gif +0 -0
- package/dist/assets/b5e72b099ccaa999.png +0 -0
- package/dist/assets/c29e7c5bb480c017.png +0 -0
- package/dist/assets/c367bb2575c42e24.png +0 -0
- package/dist/assets/c837c63c6c22238c.ttf +0 -0
- package/dist/assets/d295338c52782525.png +0 -0
- package/dist/assets/d578ff07d06803be.otf +0 -0
- package/dist/assets/d9911f3c6bf4e20d.png +0 -0
- package/dist/assets/ee662c70b5a5ee3a.png +0 -0
- package/dist/assets/ef37c98e4bbff432.png +0 -0
- package/dist/assets/f322b90d006bfe85.png +0 -0
- package/dist/assets/f5cc663d5c933f04.png +0 -0
- package/dist/assets/f9e1c31cd7263b41.png +0 -0
- package/dist/assets/fc8630f27950d2c8.ttf +0 -0
- package/dist/bitMapForm-CVdiXzcr.js +195 -0
- package/dist/bitMapForm-K43vdw9W.js +195 -0
- package/dist/bitmapForm-DDq_3tGP.js +124 -0
- package/dist/boolForm-DdJPxRdN.js +113 -0
- package/dist/boolForm-gKNZpA9y.js +113 -0
- package/dist/components/JsonPreview.vue.d.ts +17 -0
- package/dist/context.d.ts +46 -0
- package/dist/doubleForm-C7cDC0i3.js +130 -0
- package/dist/doubleForm-VbvH0Dyj.js +135 -0
- package/dist/doubleForm-hWSA8otd.js +133 -0
- package/dist/enumForm-BI3a2EMa.js +100 -0
- package/dist/enumForm-CTomV6wg.js +83 -0
- package/dist/enumForm-DHJzmxwB.js +100 -0
- package/dist/index-fkzLLq7p.js +74833 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +98 -0
- package/dist/inputForm-DLRVhjWc.js +118 -0
- package/dist/inputForm-DZk3yjqo.js +60 -0
- package/dist/inputForm-IfO2pQjl.js +118 -0
- package/dist/modules/application/detail.vue.d.ts +3 -0
- package/dist/modules/application/index.d.ts +2 -0
- package/dist/modules/application/index.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/amap.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/cameraComponent.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/cockpit-barChart.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/cockpit-lineChart.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/cockpit-pieChart.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/deviceStatic.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/inspectionStatic.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/main.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/miniBlock.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/robotStatic.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/searchComponent.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/warnMonth.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/warning_list.vue.d.ts +3 -0
- package/dist/modules/cockpit/component/windowInfo.vue.d.ts +3 -0
- package/dist/modules/cockpit/index.d.ts +1 -0
- package/dist/modules/cockpit/index.vue.d.ts +3 -0
- package/dist/modules/cockpit/mixins/cockpit-resize.d.ts +17 -0
- package/dist/modules/industry/index.d.ts +1 -0
- package/dist/modules/industry/index.vue.d.ts +3 -0
- package/dist/modules/industry/modules/templateDrawer.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/apply.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/components/messageDrawer.vue.d.ts +411 -0
- package/dist/modules/legacy-monitor/components/process-result.vue.d.ts +73 -0
- package/dist/modules/legacy-monitor/device.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/index.d.ts +8 -0
- package/dist/modules/legacy-monitor/index.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/inspection.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/inspection_detail.vue.d.ts +3 -0
- package/dist/modules/legacy-monitor/platform.vue.d.ts +3 -0
- package/dist/modules/monitor/debug/debugModule/arrayForm.vue.d.ts +66 -0
- package/dist/modules/monitor/debug/debugModule/bitMapForm.vue.d.ts +71 -0
- package/dist/modules/monitor/debug/debugModule/boolForm.vue.d.ts +50 -0
- package/dist/modules/monitor/debug/debugModule/doubleForm.vue.d.ts +51 -0
- package/dist/modules/monitor/debug/debugModule/enumForm.vue.d.ts +50 -0
- package/dist/modules/monitor/debug/debugModule/inputForm.vue.d.ts +56 -0
- package/dist/modules/monitor/debug/debugModule/structForm.vue.d.ts +73 -0
- package/dist/modules/monitor/debug/device.vue.d.ts +654 -0
- package/dist/modules/monitor/debug/modules/simulator/debugLog.vue.d.ts +19 -0
- package/dist/modules/monitor/debug/modules/simulator/desiredGet.vue.d.ts +39 -0
- package/dist/modules/monitor/debug/modules/simulator/desiredSet.vue.d.ts +75 -0
- package/dist/modules/monitor/debug/modules/simulator/eventReport.vue.d.ts +34 -0
- package/dist/modules/monitor/debug/modules/simulator/propertiesSet.vue.d.ts +74 -0
- package/dist/modules/monitor/debug/modules/simulator/propertyReport.vue.d.ts +41 -0
- package/dist/modules/monitor/debug/modules/simulator/servicesReport.vue.d.ts +68 -0
- package/dist/modules/monitor/debug/platform.vue.d.ts +1180 -0
- package/dist/modules/monitor/index.d.ts +3 -0
- package/dist/modules/monitor/log/applyLog.vue.d.ts +429 -0
- package/dist/modules/monitor/log/deviceLog.vue.d.ts +443 -0
- package/dist/modules/monitor/log/index.vue.d.ts +926 -0
- package/dist/modules/monitor/log/modules/applyLogDrawer.vue.d.ts +403 -0
- package/dist/modules/monitor/log/modules/deviceLogDrawer.vue.d.ts +407 -0
- package/dist/modules/project/alert/index.vue.d.ts +3 -0
- package/dist/modules/project/cockpit/index.vue.d.ts +3 -0
- package/dist/modules/project/components/addProductDrawer.vue.d.ts +414 -0
- package/dist/modules/project/components/projectDrawer.vue.d.ts +3 -0
- package/dist/modules/project/components/setAlarm.vue.d.ts +3 -0
- package/dist/modules/project/detail.vue.d.ts +3 -0
- package/dist/modules/project/device/batches.vue.d.ts +430 -0
- package/dist/modules/project/device/components/debug/applySimulator.vue.d.ts +1503 -0
- package/dist/modules/project/device/components/debug/debugModule/arrayForm.vue.d.ts +66 -0
- package/dist/modules/project/device/components/debug/debugModule/bitMapForm.vue.d.ts +71 -0
- package/dist/modules/project/device/components/debug/debugModule/boolForm.vue.d.ts +50 -0
- package/dist/modules/project/device/components/debug/debugModule/doubleForm.vue.d.ts +51 -0
- package/dist/modules/project/device/components/debug/debugModule/enumForm.vue.d.ts +50 -0
- package/dist/modules/project/device/components/debug/debugModule/inputForm.vue.d.ts +56 -0
- package/dist/modules/project/device/components/debug/debugModule/structForm.vue.d.ts +73 -0
- package/dist/modules/project/device/components/debug/deviceDebug.vue.d.ts +3260 -0
- package/dist/modules/project/device/components/debug/deviceSimulator.vue.d.ts +1691 -0
- package/dist/modules/project/device/components/debug/modal/addSubDeviceDrawer.vue.d.ts +419 -0
- package/dist/modules/project/device/components/debug/modal/simulator/appDebugLog.vue.d.ts +29 -0
- package/dist/modules/project/device/components/debug/modal/simulator/debugLog.vue.d.ts +29 -0
- package/dist/modules/project/device/components/debug/modal/simulator/desiredGet.vue.d.ts +73 -0
- package/dist/modules/project/device/components/debug/modal/simulator/desiredSet.vue.d.ts +76 -0
- package/dist/modules/project/device/components/debug/modal/simulator/eventReport.vue.d.ts +68 -0
- package/dist/modules/project/device/components/debug/modal/simulator/propertyGet.vue.d.ts +73 -0
- package/dist/modules/project/device/components/debug/modal/simulator/propertyReport.vue.d.ts +75 -0
- package/dist/modules/project/device/components/debug/modal/simulator/propertySet.vue.d.ts +75 -0
- package/dist/modules/project/device/components/debug/modal/simulator/servicesReport.vue.d.ts +67 -0
- package/dist/modules/project/device/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +500 -0
- package/dist/modules/project/device/components/debug/modal/simulator/telDesiredGet.vue.d.ts +72 -0
- package/dist/modules/project/device/components/debug/modal/simulator/telDesiredSet.vue.d.ts +76 -0
- package/dist/modules/project/device/components/debug/modal/simulator/telemetryGet.vue.d.ts +73 -0
- package/dist/modules/project/device/components/debug/modal/simulator/telemetryReport.vue.d.ts +75 -0
- package/dist/modules/project/device/components/debug/modal/simulator/telemetrySet.vue.d.ts +75 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subEventsReport.vue.d.ts +92 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subPropertiesGet.vue.d.ts +91 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subPropertiesReport.vue.d.ts +98 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subPropertiesSet.vue.d.ts +93 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subServicesReport.vue.d.ts +85 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subTelemetriesGet.vue.d.ts +91 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subTelemetriesReport.vue.d.ts +98 -0
- package/dist/modules/project/device/components/debug/modal/subSimulator/subTelemetriesSet.vue.d.ts +93 -0
- package/dist/modules/project/device/components/deviceChild.vue.d.ts +476 -0
- package/dist/modules/project/device/components/deviceShadow.vue.d.ts +464 -0
- package/dist/modules/project/device/components/deviceUpload.vue.d.ts +78 -0
- package/dist/modules/project/device/components/event.vue.d.ts +87 -0
- package/dist/modules/project/device/components/jessibuca-player.vue.d.ts +69 -0
- package/dist/modules/project/device/components/modal/addDeviceDrawer.vue.d.ts +483 -0
- package/dist/modules/project/device/components/modal/batchesDrawer.vue.d.ts +399 -0
- package/dist/modules/project/device/components/modal/editDeviceDrawer.vue.d.ts +397 -0
- package/dist/modules/project/device/components/modal/editDeviceExDrawer.vue.d.ts +422 -0
- package/dist/modules/project/device/components/modal/editDevicepPositionDrawer.vue.d.ts +436 -0
- package/dist/modules/project/device/components/modal/editLabelDialog.vue.d.ts +56 -0
- package/dist/modules/project/device/components/modal/editVerifyModeDialog.vue.d.ts +12 -0
- package/dist/modules/project/device/components/modal/issueDeviceDrawer.vue.d.ts +455 -0
- package/dist/modules/project/device/components/modal/mapSearchDeviceDialog.vue.d.ts +45 -0
- package/dist/modules/project/device/components/modal/propertiesHistory.vue.d.ts +44 -0
- package/dist/modules/project/device/components/modal/relationSubDeviceDrawer.vue.d.ts +426 -0
- package/dist/modules/project/device/components/modal/setExpectations.vue.d.ts +387 -0
- package/dist/modules/project/device/components/modal/telemetiesHistory.vue.d.ts +45 -0
- package/dist/modules/project/device/components/modal/updateProperties.vue.d.ts +388 -0
- package/dist/modules/project/device/components/modal/updateTelemeties.vue.d.ts +388 -0
- package/dist/modules/project/device/components/modal/uploadDeviceFileDialog.vue.d.ts +35 -0
- package/dist/modules/project/device/components/operation.vue.d.ts +54 -0
- package/dist/modules/project/device/components/properties.vue.d.ts +549 -0
- package/dist/modules/project/device/components/service.vue.d.ts +204 -0
- package/dist/modules/project/device/components/tag.vue.d.ts +45 -0
- package/dist/modules/project/device/components/telemetry.vue.d.ts +544 -0
- package/dist/modules/project/device/components/video.vue.d.ts +122 -0
- package/dist/modules/project/device/detail.vue.d.ts +3 -0
- package/dist/modules/project/device/devices.vue.d.ts +1949 -0
- package/dist/modules/project/device/group/components/add.vue.d.ts +480 -0
- package/dist/modules/project/device/group/components/labelDialog.vue.d.ts +13 -0
- package/dist/modules/project/device/group/components/treeSelect.vue.d.ts +75 -0
- package/dist/modules/project/device/group/detail.vue.d.ts +3 -0
- package/dist/modules/project/device/group/index.vue.d.ts +3 -0
- package/dist/modules/project/device/index.vue.d.ts +3 -0
- package/dist/modules/project/deviceManagement.vue.d.ts +3 -0
- package/dist/modules/project/index.d.ts +37 -0
- package/dist/modules/project/index.vue.d.ts +3 -0
- package/dist/modules/project/module/addDeviceDrawer.vue.d.ts +384 -0
- package/dist/modules/project/module/addDeviceFromProductDrawer.vue.d.ts +440 -0
- package/dist/modules/project/module/addMemberDrawer.vue.d.ts +399 -0
- package/dist/modules/project/module/editDeviceDrawer.vue.d.ts +438 -0
- package/dist/modules/project/module/memberDetail.vue.d.ts +387 -0
- package/dist/modules/project/module/moveDeviceDrawer.vue.d.ts +444 -0
- package/dist/modules/project/product/components/modal/editLabelDialog.vue.d.ts +56 -0
- package/dist/modules/project/product/components/modal/editVerifyModeDialog.vue.d.ts +12 -0
- package/dist/modules/project/product/detail.vue.d.ts +3 -0
- package/dist/modules/project/product/index.vue.d.ts +3 -0
- package/dist/modules/project/product/mappingComponent/eventDrawer.vue.d.ts +61 -0
- package/dist/modules/project/product/mappingComponent/propertiesDrawer.vue.d.ts +62 -0
- package/dist/modules/project/product/mappingComponent/servicesDrawer.vue.d.ts +60 -0
- package/dist/modules/project/product/mappingComponent/telemetryDrawer.vue.d.ts +62 -0
- package/dist/modules/project/product/model/eventDrawer.vue.d.ts +506 -0
- package/dist/modules/project/product/model/propertiesDrawer.vue.d.ts +76 -0
- package/dist/modules/project/product/model/propsDrawer.vue.d.ts +440 -0
- package/dist/modules/project/product/model/servicesDrawer.vue.d.ts +508 -0
- package/dist/modules/project/product/model/telemetryDrawer.vue.d.ts +72 -0
- package/dist/modules/project/product/modules/codemirror.vue.d.ts +15 -0
- package/dist/modules/project/product/modules/custom-drawer.vue.d.ts +668 -0
- package/dist/modules/project/product/modules/detail-tsl-drawer.vue.d.ts +1547 -0
- package/dist/modules/project/product/modules/export-tsl-drawer.vue.d.ts +400 -0
- package/dist/modules/project/product/modules/formatDialog.vue.d.ts +10 -0
- package/dist/modules/project/product/modules/import-tsl-drawer.vue.d.ts +387 -0
- package/dist/modules/project/product/modules/product-drawer.vue.d.ts +1756 -0
- package/dist/modules/project/product/modules/settingDrawer.vue.d.ts +434 -0
- package/dist/modules/project/product/modules/standard-detail-tips.vue.d.ts +140 -0
- package/dist/modules/project/product/modules/standard-drawer.vue.d.ts +566 -0
- package/dist/modules/project/product/modules/tips.vue.d.ts +86 -0
- package/dist/modules/project/product/modules/tsl-drawer.vue.d.ts +398 -0
- package/dist/modules/project/product/modules/uiap-product-drawer.vue.d.ts +808 -0
- package/dist/modules/project/product/tabComponents/topicList.vue.d.ts +54 -0
- package/dist/modules/project/product/tabComponents/tslManage.vue.d.ts +3 -0
- package/dist/modules/project/product/tabComponents/tslOperation.vue.d.ts +466 -0
- package/dist/modules/project/product/unit/draftScript.d.ts +2 -0
- package/dist/modules/project/product/unit/index.d.ts +5 -0
- package/dist/modules/project/product/unit/topicData.d.ts +51 -0
- package/dist/modules/project/product/unit/topicFlatList.d.ts +4 -0
- package/dist/modules/project/productManagement.vue.d.ts +3 -0
- package/dist/modules/project/robot/components/alarm.vue.d.ts +63 -0
- package/dist/modules/project/robot/components/audio-player.vue.d.ts +25 -0
- package/dist/modules/project/robot/components/controlGroup.vue.d.ts +9 -0
- package/dist/modules/project/robot/components/debug/applySimulator.vue.d.ts +1503 -0
- package/dist/modules/project/robot/components/debug/debugModule/arrayForm.vue.d.ts +66 -0
- package/dist/modules/project/robot/components/debug/debugModule/bitMapForm.vue.d.ts +71 -0
- package/dist/modules/project/robot/components/debug/debugModule/boolForm.vue.d.ts +50 -0
- package/dist/modules/project/robot/components/debug/debugModule/doubleForm.vue.d.ts +51 -0
- package/dist/modules/project/robot/components/debug/debugModule/enumForm.vue.d.ts +50 -0
- package/dist/modules/project/robot/components/debug/debugModule/inputForm.vue.d.ts +56 -0
- package/dist/modules/project/robot/components/debug/debugModule/structForm.vue.d.ts +73 -0
- package/dist/modules/project/robot/components/debug/deviceDebug.vue.d.ts +3260 -0
- package/dist/modules/project/robot/components/debug/deviceSimulator.vue.d.ts +1691 -0
- package/dist/modules/project/robot/components/debug/modal/addSubDeviceDrawer.vue.d.ts +419 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/appDebugLog.vue.d.ts +29 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/debugLog.vue.d.ts +29 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/desiredGet.vue.d.ts +73 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/desiredSet.vue.d.ts +76 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/eventReport.vue.d.ts +68 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/propertyGet.vue.d.ts +73 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/propertyReport.vue.d.ts +75 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/propertySet.vue.d.ts +75 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/servicesReport.vue.d.ts +67 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +500 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/telDesiredGet.vue.d.ts +72 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/telDesiredSet.vue.d.ts +76 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/telemetryGet.vue.d.ts +73 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/telemetryReport.vue.d.ts +75 -0
- package/dist/modules/project/robot/components/debug/modal/simulator/telemetrySet.vue.d.ts +75 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subEventsReport.vue.d.ts +92 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subPropertiesGet.vue.d.ts +91 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subPropertiesReport.vue.d.ts +98 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subPropertiesSet.vue.d.ts +93 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subServicesReport.vue.d.ts +85 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subTelemetriesGet.vue.d.ts +91 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subTelemetriesReport.vue.d.ts +98 -0
- package/dist/modules/project/robot/components/debug/modal/subSimulator/subTelemetriesSet.vue.d.ts +93 -0
- package/dist/modules/project/robot/components/deviceChild.vue.d.ts +476 -0
- package/dist/modules/project/robot/components/deviceShadow.vue.d.ts +464 -0
- package/dist/modules/project/robot/components/event.vue.d.ts +88 -0
- package/dist/modules/project/robot/components/jessibuca-player.vue.d.ts +87 -0
- package/dist/modules/project/robot/components/modal/addDeviceDrawer.vue.d.ts +474 -0
- package/dist/modules/project/robot/components/modal/batchesDrawer.vue.d.ts +399 -0
- package/dist/modules/project/robot/components/modal/editDeviceExDrawer.vue.d.ts +422 -0
- package/dist/modules/project/robot/components/modal/propertiesHistory.vue.d.ts +44 -0
- package/dist/modules/project/robot/components/modal/relationSubDeviceDrawer.vue.d.ts +426 -0
- package/dist/modules/project/robot/components/modal/remoteHandle.vue.d.ts +69 -0
- package/dist/modules/project/robot/components/modal/serviceHistory.vue.d.ts +45 -0
- package/dist/modules/project/robot/components/modal/setExpectations.vue.d.ts +387 -0
- package/dist/modules/project/robot/components/modal/telemetiesHistory.vue.d.ts +45 -0
- package/dist/modules/project/robot/components/modal/updateProperties.vue.d.ts +388 -0
- package/dist/modules/project/robot/components/modal/updateTelemeties.vue.d.ts +388 -0
- package/dist/modules/project/robot/components/operation.vue.d.ts +54 -0
- package/dist/modules/project/robot/components/pieChart.vue.d.ts +130 -0
- package/dist/modules/project/robot/components/properties.vue.d.ts +560 -0
- package/dist/modules/project/robot/components/service.vue.d.ts +225 -0
- package/dist/modules/project/robot/components/telemetry.vue.d.ts +555 -0
- package/dist/modules/project/robot/components/video.vue.d.ts +169 -0
- package/dist/modules/project/robot/components/videotape.vue.d.ts +173 -0
- package/dist/modules/project/robot/detail.vue.d.ts +3 -0
- package/dist/modules/project/robot/hooks/renderArray.vue.d.ts +51 -0
- package/dist/modules/project/robot/index.vue.d.ts +3 -0
- package/dist/modules/project/robot/module/dataBox.vue.d.ts +36 -0
- package/dist/modules/project/robot/module/dataset.vue.d.ts +48 -0
- package/dist/modules/project/robot/module/propertiesBox.vue.d.ts +32 -0
- package/dist/modules/project/robot/module/serviceRecordBox.vue.d.ts +153 -0
- package/dist/modules/project/robot/module/testDataInfo.vue.d.ts +23 -0
- package/dist/modules/project/robot/robotBatches.vue.d.ts +430 -0
- package/dist/modules/project/robot/robotList.vue.d.ts +565 -0
- package/dist/modules/project/topic/mapping/index.vue.d.ts +3 -0
- package/dist/modules/project/topic/modules/topicDrawer.vue.d.ts +428 -0
- package/dist/modules/project/warnManagement.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/index.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/http.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/index.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/kafka.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/modules/httpDrawer.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/modules/kafkaDrawer.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/modules/mqDrawer.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/instance/mq.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/module/codemirror.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/module/data-drawer.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/module/deviceDialog.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/module/messageDialog.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/receipt/index.vue.d.ts +3 -0
- package/dist/modules/sense/datapush/target/index.vue.d.ts +3 -0
- package/dist/modules/sense/index.d.ts +7 -0
- package/dist/modules/sense/job/index.vue.d.ts +3 -0
- package/dist/modules/sense/rule/index.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/scence-device-dialog.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/scence-drawer.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/valueModule/bitmapForm.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/valueModule/doubleForm.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/valueModule/enumForm.vue.d.ts +3 -0
- package/dist/modules/sense/rule/module/valueModule/inputForm.vue.d.ts +3 -0
- package/dist/modules/sense/rule/receipt/index.vue.d.ts +3 -0
- package/dist/modules/sense/rule/utils/cron-generator.d.ts +69 -0
- package/dist/modules/thing/components/codemirror.vue.d.ts +3 -0
- package/dist/modules/thing/components/export-tsl-drawer.vue.d.ts +3 -0
- package/dist/modules/thing/components/protocolConfig.vue.d.ts +3 -0
- package/dist/modules/thing/components/setTagDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/components/standardDetailTips.vue.d.ts +3 -0
- package/dist/modules/thing/components/standardDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/components/tips.vue.d.ts +3 -0
- package/dist/modules/thing/detail.vue.d.ts +2 -0
- package/dist/modules/thing/index.d.ts +15 -0
- package/dist/modules/thing/index.vue.d.ts +3 -0
- package/dist/modules/thing/model/eventDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/model/propertiesDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/model/servicesDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/model/telemetryDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/module/arrayForm.vue.d.ts +3 -0
- package/dist/modules/thing/module/bitMapForm.vue.d.ts +3 -0
- package/dist/modules/thing/module/boolForm.vue.d.ts +3 -0
- package/dist/modules/thing/module/enumForm.vue.d.ts +3 -0
- package/dist/modules/thing/module/inputForm.vue.d.ts +3 -0
- package/dist/modules/thing/module/propsDrawer.vue.d.ts +3 -0
- package/dist/modules/thing/module/structForm.vue.d.ts +3 -0
- package/dist/modules/tsl-drawer/eventDrawer.vue.d.ts +3 -0
- package/dist/modules/tsl-drawer/index.d.ts +11 -0
- package/dist/modules/tsl-drawer/propertiesDrawer.vue.d.ts +3 -0
- package/dist/modules/tsl-drawer/servicesDrawer.vue.d.ts +3 -0
- package/dist/structForm-BfqnCWmN.js +185 -0
- package/dist/structForm-CNxEmS2m.js +185 -0
- package/dist/style.css +1 -0
- package/dist/utils/dayjs.d.ts +2 -0
- package/dist/utils/desensitize.d.ts +2 -0
- package/dist/utils/formatJson.d.ts +5 -0
- package/dist/utils/thingModel.d.ts +42 -0
- package/package.json +90 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @xdmp-open/ui-iot —— XDMP 平台 iot 业务页面组件库(project/thing/sense/monitor 整体一个包)
|
|
3
|
+
*
|
|
4
|
+
* 迁移自应用壳 src/views/{iot,monitor,cockpit,tsl-drawer},页面以"路由级组件"导出,
|
|
5
|
+
* 宿主保留同名薄壳文件 re-export(菜单 component 字符串不变,见 M4-4 方案 A)。
|
|
6
|
+
*
|
|
7
|
+
* 使用前:宿主启动时调用 setupIotUi({ sdkClient, notifyClient, ... }) 注入上下文
|
|
8
|
+
* (见 context.ts),并 import '@xdmp-open/ui-iot/style.css'
|
|
9
|
+
* (在 ui-shared、ui-admin 样式之后引入以保持层叠顺序)。
|
|
10
|
+
*/
|
|
11
|
+
export { setupIotUi, useIotSdk, useAdminSdk, useNotifyClient, getCurrentUser, getCurrentRoles, checkPermission, logout, refreshUserInfo, type IotUiOptions, type IotUiHost } from './context';
|
|
12
|
+
export * from './modules/thing';
|
|
13
|
+
export * from './modules/sense';
|
|
14
|
+
export * from './modules/monitor';
|
|
15
|
+
export * from './modules/legacy-monitor';
|
|
16
|
+
export * from './modules/cockpit';
|
|
17
|
+
export * from './modules/tsl-drawer';
|
|
18
|
+
export * from './modules/industry';
|
|
19
|
+
export * from './modules/project';
|
|
20
|
+
export * from './modules/application';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { a as s, b as r, c as i, d as o, i as t, e as g, f as n, g as D, h as P, j as c, k as u, l, m, n as p, s as T, o as d, p as v, q as M, r as h, t as F, u as b, v as w, w as L, x as S, y as A, z as I, A as y, B as f, C as E, D as R, E as k, F as B, G as C, H as j, I as U, P as x, J as G, K as J, L as q, M as N, N as V, O as W, Q as z, R as H, S as K, T as O, U as Q, V as X, W as Y, X as Z, Y as $, Z as _, $ as aa, a0 as ea, a1 as sa, a2 as ra, a3 as ia, a4 as oa, a5 as ta, a6 as ga, a7 as na, a8 as Da, a9 as Pa, aa as ca, ab as ua, ac as la, ad as ma, ae as pa, af as Ta, ag as da, ah as va, a3 as Ma, a4 as ha, a5 as Fa, a7 as ba, a8 as wa, ai as La, aa as Sa, aj as Aa, ad as Ia, ak as ya, af as fa, al as Ea, am as Ra, an as ka, ao as Ba, ap as Ca, aq as ja, ar as Ua, as as xa, at as Ga, au as Ja, av as qa, aw as Na, ax as Va } from "./index-fkzLLq7p.js";
|
|
2
|
+
export {
|
|
3
|
+
s as AddDeviceDrawer,
|
|
4
|
+
r as AddDeviceFromProductDrawer,
|
|
5
|
+
i as AddMemberDrawer,
|
|
6
|
+
o as AddProductDrawer,
|
|
7
|
+
t as AlertListPage,
|
|
8
|
+
g as ApplicationDetailPage,
|
|
9
|
+
n as ApplicationListPage,
|
|
10
|
+
D as CockpitPage,
|
|
11
|
+
P as DeviceDebugArrayForm,
|
|
12
|
+
c as DeviceDebugBitMapForm,
|
|
13
|
+
u as DeviceDebugBoolForm,
|
|
14
|
+
l as DeviceDebugDoubleForm,
|
|
15
|
+
m as DeviceDebugEnumForm,
|
|
16
|
+
p as DeviceDebugInputForm,
|
|
17
|
+
T as DeviceDebugStructForm,
|
|
18
|
+
d as DeviceDetailPage,
|
|
19
|
+
v as DeviceEditLabelDialog,
|
|
20
|
+
M as DeviceEditVerifyModeDialog,
|
|
21
|
+
h as DeviceGroupDetailPage,
|
|
22
|
+
F as DeviceGroupListPage,
|
|
23
|
+
b as DeviceJessibucaPlayer,
|
|
24
|
+
w as DeviceListPage,
|
|
25
|
+
L as DeviceManagementPage,
|
|
26
|
+
S as EditDeviceDrawer,
|
|
27
|
+
A as IndustryListPage,
|
|
28
|
+
I as MemberDetailDrawer,
|
|
29
|
+
y as MonitorApplyPage,
|
|
30
|
+
f as MonitorDebugDevicePage,
|
|
31
|
+
E as MonitorDebugPlatformPage,
|
|
32
|
+
R as MonitorDevicePage,
|
|
33
|
+
k as MonitorIndexPage,
|
|
34
|
+
B as MonitorInspectionDetailPage,
|
|
35
|
+
C as MonitorInspectionPage,
|
|
36
|
+
j as MonitorLogPage,
|
|
37
|
+
U as MonitorMessageDrawer,
|
|
38
|
+
x as MonitorPlatformPage,
|
|
39
|
+
G as MonitorProcessResult,
|
|
40
|
+
J as MoveDeviceDrawer,
|
|
41
|
+
q as ProductCodemirror,
|
|
42
|
+
N as ProductDetailPage,
|
|
43
|
+
V as ProductListPage,
|
|
44
|
+
W as ProductManagementPage,
|
|
45
|
+
z as ProductTopicList,
|
|
46
|
+
H as ProjectCockpitPage,
|
|
47
|
+
K as ProjectDetailPage,
|
|
48
|
+
O as ProjectListPage,
|
|
49
|
+
Q as RobotDetailPage,
|
|
50
|
+
X as RobotListPage,
|
|
51
|
+
Y as SenseDatapushInstancePage,
|
|
52
|
+
Z as SenseDatapushPage,
|
|
53
|
+
$ as SenseDatapushReceiptPage,
|
|
54
|
+
_ as SenseDatapushTargetPage,
|
|
55
|
+
aa as SenseJobPage,
|
|
56
|
+
ea as SenseRulePage,
|
|
57
|
+
sa as SenseRuleReceiptPage,
|
|
58
|
+
ra as ThingAddPage,
|
|
59
|
+
ia as ThingArrayForm,
|
|
60
|
+
oa as ThingBitMapForm,
|
|
61
|
+
ta as ThingBoolForm,
|
|
62
|
+
ga as ThingDetailPage,
|
|
63
|
+
na as ThingDoubleForm,
|
|
64
|
+
Da as ThingEnumForm,
|
|
65
|
+
Pa as ThingEventDrawer,
|
|
66
|
+
ca as ThingInputForm,
|
|
67
|
+
ua as ThingListPage,
|
|
68
|
+
la as ThingPropertiesDrawer,
|
|
69
|
+
ma as ThingPropsDrawer,
|
|
70
|
+
pa as ThingServicesDrawer,
|
|
71
|
+
Ta as ThingStructForm,
|
|
72
|
+
da as ThingTelemetryDrawer,
|
|
73
|
+
va as TopicMappingListPage,
|
|
74
|
+
Ma as TslArrayForm,
|
|
75
|
+
ha as TslBitMapForm,
|
|
76
|
+
Fa as TslBoolForm,
|
|
77
|
+
ba as TslDoubleForm,
|
|
78
|
+
wa as TslEnumForm,
|
|
79
|
+
La as TslEventDrawer,
|
|
80
|
+
Sa as TslInputForm,
|
|
81
|
+
Aa as TslPropertiesDrawer,
|
|
82
|
+
Ia as TslPropsDrawer,
|
|
83
|
+
ya as TslServicesDrawer,
|
|
84
|
+
fa as TslStructForm,
|
|
85
|
+
Ea as WarnManagementPage,
|
|
86
|
+
Ra as checkPermission,
|
|
87
|
+
ka as gatewayTopicList,
|
|
88
|
+
Ba as getCurrentRoles,
|
|
89
|
+
Ca as getCurrentUser,
|
|
90
|
+
ja as logout,
|
|
91
|
+
Ua as productUnitList,
|
|
92
|
+
xa as refreshUserInfo,
|
|
93
|
+
Ga as setupIotUi,
|
|
94
|
+
Ja as tslTopicList,
|
|
95
|
+
qa as useAdminSdk,
|
|
96
|
+
Na as useIotSdk,
|
|
97
|
+
Va as useNotifyClient
|
|
98
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { resolveComponent as a, openBlock as o, createElementBlock as f, createVNode as n, withCtx as i, createBlock as h, createCommentVNode as c } from "vue";
|
|
2
|
+
import { _ as g } from "./index-fkzLLq7p.js";
|
|
3
|
+
const y = {
|
|
4
|
+
props: {
|
|
5
|
+
identifier: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
9
|
+
dataType: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => {
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
arrayIndex: {
|
|
15
|
+
type: Number,
|
|
16
|
+
default: 0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
data() {
|
|
20
|
+
return {
|
|
21
|
+
valueForm: {
|
|
22
|
+
key: this.identifier,
|
|
23
|
+
value: ""
|
|
24
|
+
},
|
|
25
|
+
getIndex: "",
|
|
26
|
+
rulesDate: [{ required: !0, validator: this.checkDate, trigger: "blur" }],
|
|
27
|
+
rulesText: [{ required: !0, validator: this.checkText, trigger: "blur" }]
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
watch: {
|
|
31
|
+
arrayIndex: {
|
|
32
|
+
handler(e, r) {
|
|
33
|
+
this.getIndex = e;
|
|
34
|
+
},
|
|
35
|
+
immediate: !0,
|
|
36
|
+
deep: !0
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
inputChange(e) {
|
|
41
|
+
this.getArrayValue(e), this.getStructValue(e);
|
|
42
|
+
},
|
|
43
|
+
getArrayValue(e) {
|
|
44
|
+
this.$emit("getArrayValue", e, this.getIndex);
|
|
45
|
+
},
|
|
46
|
+
getStructValue(e) {
|
|
47
|
+
this.$emit("getStructValue", e, this.valueForm.key);
|
|
48
|
+
},
|
|
49
|
+
reset() {
|
|
50
|
+
this.valueForm.value = "";
|
|
51
|
+
},
|
|
52
|
+
checkText(e, r, t) {
|
|
53
|
+
return this.valueForm.value == "" ? t("请输入") : t();
|
|
54
|
+
},
|
|
55
|
+
checkDate(e, r, t) {
|
|
56
|
+
const m = /^[0-9]{1,16}$/;
|
|
57
|
+
return this.valueForm.value == "" ? t("请输入") : m.test(this.valueForm.value) ? t() : t("请输入正确UTC时间戳(毫秒)");
|
|
58
|
+
},
|
|
59
|
+
// 验证数据合法性
|
|
60
|
+
async validate() {
|
|
61
|
+
return new Promise((e) => {
|
|
62
|
+
this.$refs.debugForm.validate((r) => {
|
|
63
|
+
e(r ? this.valueForm : !1);
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
function x(e, r, t, m, l, d) {
|
|
70
|
+
const s = a("el-input"), p = a("el-form-item"), v = a("el-form");
|
|
71
|
+
return o(), f("div", null, [
|
|
72
|
+
n(v, {
|
|
73
|
+
ref: "debugForm",
|
|
74
|
+
model: l.valueForm
|
|
75
|
+
}, {
|
|
76
|
+
default: i(() => [
|
|
77
|
+
t.dataType.type == "date" ? (o(), h(p, {
|
|
78
|
+
key: 0,
|
|
79
|
+
prop: "date",
|
|
80
|
+
rules: l.rulesDate
|
|
81
|
+
}, {
|
|
82
|
+
default: i(() => [
|
|
83
|
+
n(s, {
|
|
84
|
+
modelValue: l.valueForm.value,
|
|
85
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => l.valueForm.value = u),
|
|
86
|
+
placeholder: "UTC时间戳(毫秒)",
|
|
87
|
+
onInput: d.inputChange
|
|
88
|
+
}, null, 8, ["modelValue", "onInput"])
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["rules"])) : c("", !0),
|
|
92
|
+
t.dataType.type == "text" || t.dataType.type == "string" ? (o(), h(p, {
|
|
93
|
+
key: 1,
|
|
94
|
+
prop: "text",
|
|
95
|
+
rules: l.rulesText
|
|
96
|
+
}, {
|
|
97
|
+
default: i(() => [
|
|
98
|
+
n(s, {
|
|
99
|
+
modelValue: l.valueForm.value,
|
|
100
|
+
"onUpdate:modelValue": r[1] || (r[1] = (u) => l.valueForm.value = u),
|
|
101
|
+
type: "textarea",
|
|
102
|
+
maxlength: t.dataType.specs.length,
|
|
103
|
+
placeholder: `不超过${t.dataType.specs.length}个字符`,
|
|
104
|
+
"show-word-limit": "",
|
|
105
|
+
onInput: d.inputChange
|
|
106
|
+
}, null, 8, ["modelValue", "maxlength", "placeholder", "onInput"])
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["rules"])) : c("", !0)
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["model"])
|
|
113
|
+
]);
|
|
114
|
+
}
|
|
115
|
+
const V = /* @__PURE__ */ g(y, [["render", x]]);
|
|
116
|
+
export {
|
|
117
|
+
V as default
|
|
118
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as u, resolveComponent as i, openBlock as a, createElementBlock as s, createBlock as n, createCommentVNode as p } from "vue";
|
|
2
|
+
import { _ as m } from "./index-fkzLLq7p.js";
|
|
3
|
+
const h = u({
|
|
4
|
+
props: {
|
|
5
|
+
value: { type: [String, Number], default: "" },
|
|
6
|
+
identifier: { type: String, default: "" },
|
|
7
|
+
dataType: { type: Object, default: () => ({}) },
|
|
8
|
+
disabled: { type: Boolean, default: !1 }
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:value", "blur"],
|
|
11
|
+
created() {
|
|
12
|
+
this.dispatch = function(e, t, d) {
|
|
13
|
+
let l = this.$parent;
|
|
14
|
+
for (; l; ) {
|
|
15
|
+
if ((l.$options.componentName || l.$options.name) === e) {
|
|
16
|
+
l.$emit(t, ...d);
|
|
17
|
+
break;
|
|
18
|
+
}
|
|
19
|
+
l = l.$parent;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
methods: {
|
|
24
|
+
handleModelUpdate(e) {
|
|
25
|
+
this.$emit("update:value", e);
|
|
26
|
+
},
|
|
27
|
+
handleBlur() {
|
|
28
|
+
this.$emit("blur", this.value), this.dispatch("ElFormItem", "el.form.blur", [this.value]);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
function c(e, t, d, l, r, f) {
|
|
33
|
+
const o = i("el-input");
|
|
34
|
+
return a(), s("div", null, [
|
|
35
|
+
e.dataType.type == "date" ? (a(), n(o, {
|
|
36
|
+
key: 0,
|
|
37
|
+
modelValue: e.value,
|
|
38
|
+
placeholder: "UTC时间戳(毫秒)",
|
|
39
|
+
disabled: e.disabled,
|
|
40
|
+
"onUpdate:modelValue": e.handleModelUpdate,
|
|
41
|
+
onBlur: e.handleBlur
|
|
42
|
+
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue", "onBlur"])) : p("", !0),
|
|
43
|
+
e.dataType.type == "text" ? (a(), n(o, {
|
|
44
|
+
key: 1,
|
|
45
|
+
modelValue: e.value,
|
|
46
|
+
type: "textarea",
|
|
47
|
+
rows: 1,
|
|
48
|
+
maxlength: e.dataType.specs.length || 255,
|
|
49
|
+
placeholder: `不超过${e.dataType.specs.length || 255}个字符`,
|
|
50
|
+
disabled: e.disabled,
|
|
51
|
+
"show-word-limit": "",
|
|
52
|
+
"onUpdate:modelValue": e.handleModelUpdate,
|
|
53
|
+
onBlur: e.handleBlur
|
|
54
|
+
}, null, 8, ["modelValue", "maxlength", "placeholder", "disabled", "onUpdate:modelValue", "onBlur"])) : p("", !0)
|
|
55
|
+
]);
|
|
56
|
+
}
|
|
57
|
+
const $ = /* @__PURE__ */ m(h, [["render", c]]);
|
|
58
|
+
export {
|
|
59
|
+
$ as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { resolveComponent as a, openBlock as o, createElementBlock as f, createVNode as n, withCtx as i, createBlock as h, createCommentVNode as c } from "vue";
|
|
2
|
+
import { _ as g } from "./index-fkzLLq7p.js";
|
|
3
|
+
const y = {
|
|
4
|
+
props: {
|
|
5
|
+
identifier: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
9
|
+
dataType: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => {
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
arrayIndex: {
|
|
15
|
+
type: Number,
|
|
16
|
+
default: 0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
data() {
|
|
20
|
+
return {
|
|
21
|
+
valueForm: {
|
|
22
|
+
key: this.identifier,
|
|
23
|
+
value: ""
|
|
24
|
+
},
|
|
25
|
+
getIndex: "",
|
|
26
|
+
rulesDate: [{ required: !0, validator: this.checkDate, trigger: "blur" }],
|
|
27
|
+
rulesText: [{ required: !0, validator: this.checkText, trigger: "blur" }]
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
watch: {
|
|
31
|
+
arrayIndex: {
|
|
32
|
+
handler(e, r) {
|
|
33
|
+
this.getIndex = e;
|
|
34
|
+
},
|
|
35
|
+
immediate: !0,
|
|
36
|
+
deep: !0
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
inputChange(e) {
|
|
41
|
+
this.getArrayValue(e), this.getStructValue(e);
|
|
42
|
+
},
|
|
43
|
+
getArrayValue(e) {
|
|
44
|
+
this.$emit("getArrayValue", e, this.getIndex);
|
|
45
|
+
},
|
|
46
|
+
getStructValue(e) {
|
|
47
|
+
this.$emit("getStructValue", e, this.valueForm.key);
|
|
48
|
+
},
|
|
49
|
+
reset() {
|
|
50
|
+
this.valueForm.value = "";
|
|
51
|
+
},
|
|
52
|
+
checkText(e, r, t) {
|
|
53
|
+
return this.valueForm.value == "" ? t("请输入") : t();
|
|
54
|
+
},
|
|
55
|
+
checkDate(e, r, t) {
|
|
56
|
+
let m = /^[0-9]{1,16}$/;
|
|
57
|
+
return this.valueForm.value == "" ? t("请输入") : m.test(this.valueForm.value) ? t() : t("请输入正确UTC时间戳(毫秒)");
|
|
58
|
+
},
|
|
59
|
+
// 验证数据合法性
|
|
60
|
+
async validate() {
|
|
61
|
+
return new Promise((e) => {
|
|
62
|
+
this.$refs.debugForm.validate((r) => {
|
|
63
|
+
e(r ? this.valueForm : !1);
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
function x(e, r, t, m, l, d) {
|
|
70
|
+
const s = a("el-input"), p = a("el-form-item"), v = a("el-form");
|
|
71
|
+
return o(), f("div", null, [
|
|
72
|
+
n(v, {
|
|
73
|
+
ref: "debugForm",
|
|
74
|
+
model: l.valueForm
|
|
75
|
+
}, {
|
|
76
|
+
default: i(() => [
|
|
77
|
+
t.dataType.type == "date" ? (o(), h(p, {
|
|
78
|
+
key: 0,
|
|
79
|
+
prop: "date",
|
|
80
|
+
rules: l.rulesDate
|
|
81
|
+
}, {
|
|
82
|
+
default: i(() => [
|
|
83
|
+
n(s, {
|
|
84
|
+
modelValue: l.valueForm.value,
|
|
85
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => l.valueForm.value = u),
|
|
86
|
+
placeholder: "UTC时间戳(毫秒)",
|
|
87
|
+
onInput: d.inputChange
|
|
88
|
+
}, null, 8, ["modelValue", "onInput"])
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["rules"])) : c("", !0),
|
|
92
|
+
t.dataType.type == "text" || t.dataType.type == "string" ? (o(), h(p, {
|
|
93
|
+
key: 1,
|
|
94
|
+
prop: "text",
|
|
95
|
+
rules: l.rulesText
|
|
96
|
+
}, {
|
|
97
|
+
default: i(() => [
|
|
98
|
+
n(s, {
|
|
99
|
+
modelValue: l.valueForm.value,
|
|
100
|
+
"onUpdate:modelValue": r[1] || (r[1] = (u) => l.valueForm.value = u),
|
|
101
|
+
type: "textarea",
|
|
102
|
+
maxlength: t.dataType.specs.length,
|
|
103
|
+
placeholder: `不超过${t.dataType.specs.length}个字符`,
|
|
104
|
+
"show-word-limit": "",
|
|
105
|
+
onInput: d.inputChange
|
|
106
|
+
}, null, 8, ["modelValue", "maxlength", "placeholder", "onInput"])
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["rules"])) : c("", !0)
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["model"])
|
|
113
|
+
]);
|
|
114
|
+
}
|
|
115
|
+
const V = /* @__PURE__ */ g(y, [["render", x]]);
|
|
116
|
+
export {
|
|
117
|
+
V as default
|
|
118
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CockpitPage } from './index.vue';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
data(): {
|
|
3
|
+
$_resizeHandler: null;
|
|
4
|
+
$_resizeObserver: null;
|
|
5
|
+
};
|
|
6
|
+
mounted(): void;
|
|
7
|
+
activated(): void;
|
|
8
|
+
beforeUnmount(): void;
|
|
9
|
+
deactivated(): void;
|
|
10
|
+
methods: {
|
|
11
|
+
$_initResize(): void;
|
|
12
|
+
$_destroyResize(): void;
|
|
13
|
+
$_tryInit(): void;
|
|
14
|
+
resize(): void;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IndustryListPage } from './index.vue';
|