@kengic/vue 0.30.1-beta.93 → 0.30.1-beta.95
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/api/WMS/Controllers/DescriptionController/List.ts +84 -0
- package/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.ts +21 -0
- package/api/WMS/Controllers/DescriptionController/index.ts +2 -0
- package/api/WMS/Controllers/SqlClientController/Execute.ts +21 -0
- package/api/WMS/Controllers/SqlClientController/ExecutePage.ts +21 -0
- package/api/WMS/Controllers/SqlClientController/index.ts +2 -0
- package/api/WMS/Controllers/SysPermissionController/List.ts +117 -0
- package/api/WMS/Controllers/SysPermissionController/index.ts +1 -0
- package/api/WMS/Controllers/VarConfigDescriptionController/Add.ts +21 -0
- package/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.ts +21 -0
- package/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.ts +36 -0
- package/api/WMS/Controllers/VarConfigPossibilityController/index.ts +1 -0
- package/api/WMS/Controllers/VarController/GetAll.ts +21 -0
- package/api/WMS/Controllers/VarController/index.ts +1 -0
- package/api/WMS/Controllers/VarDdaController/Create.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateCopySql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateCreateSql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateFrmId.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateSearchSql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.ts +21 -0
- package/api/WMS/Controllers/VarDdaController/index.ts +9 -0
- package/api/WMS/Controllers/VarGridMasterController/QueryByID.ts +36 -0
- package/api/WMS/Controllers/VarGridMasterController/Update.ts +21 -0
- package/api/WMS/Controllers/VarGridMasterController/index.ts +2 -0
- package/api/WMS/Controllers/VarProfileMasterController/QueryByID.ts +36 -0
- package/api/WMS/Controllers/VarProfileMasterController/index.ts +1 -0
- package/api/WMS/Controllers/VarVariableController/Delete.ts +21 -0
- package/api/WMS/Controllers/VarVariableController/index.ts +1 -0
- package/api/WMS/Controllers/WarehouseController/ListVO.ts +45 -0
- package/api/WMS/Controllers/WorkstationController/List.ts +45 -0
- package/api/WMS/Controllers/WorkstationController/index.ts +1 -0
- package/api/WMS/index.ts +2 -0
- package/api/WMS/models.ts +2113 -0
- package/api/api.ts +1 -0
- package/api/def.ts +1 -0
- package/api/index.ts +2 -0
- package/asset/ant.less +678 -0
- package/asset/element-plus.css +112 -0
- package/asset/flag/cs_CZ.png +0 -0
- package/asset/flag/en.png +0 -0
- package/asset/flag/es_ES.png +0 -0
- package/asset/flag/fr_FR.png +0 -0
- package/asset/flag/km_KH.png +0 -0
- package/asset/flag/ko_KR.png +0 -0
- package/asset/flag/vi_VN.png +0 -0
- package/asset/flag/zh_CN.png +0 -0
- package/asset/images/warehouse.000000.svg +9 -0
- package/asset/images/warehouse.1890ff.svg +9 -0
- package/asset/index.less +347 -0
- package/asset/jeecg.less +382 -0
- package/asset/var.less +3 -0
- package/asset/vxe.less +51 -0
- package/bin/bin.mjs +57 -0
- package/bin/postinstall.mjs +69 -0
- package/component/KgAppSelect/KgAppSelect.event.ts +52 -0
- package/component/KgAppSelect/KgAppSelect.hooks.ts +50 -0
- package/component/KgAppSelect/KgAppSelect.less +30 -0
- package/component/KgAppSelect/KgAppSelect.store.ts +162 -0
- package/component/KgAppSelect/KgAppSelect.tsx +60 -0
- package/component/KgAppSelect/index.ts +4 -0
- package/component/KgButton/KgButton.Copy.tsx +143 -0
- package/component/KgButton/KgButton.Create.tsx +208 -0
- package/component/KgButton/KgButton.Delete.tsx +156 -0
- package/component/KgButton/KgButton.Export.tsx +294 -0
- package/component/KgButton/KgButton.Import.tsx +247 -0
- package/component/KgButton/KgButton.ImportTemplate.tsx +214 -0
- package/component/KgButton/KgButton.Item.tsx +128 -0
- package/component/KgButton/KgButton.Other.tsx +292 -0
- package/component/KgButton/KgButton.Search.tsx +146 -0
- package/component/KgButton/KgButton.Update.tsx +210 -0
- package/component/KgButton/KgButton.event.ts +157 -0
- package/component/KgButton/KgButton.hooks.ts +117 -0
- package/component/KgButton/KgButton.less +187 -0
- package/component/KgButton/KgButton.model.tsx +39 -0
- package/component/KgButton/KgButton.store.ts +333 -0
- package/component/KgButton/KgButton.tsx +221 -0
- package/component/KgCanvas/KgCanvas.ContextMenu.tsx +181 -0
- package/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.tsx +80 -0
- package/component/KgCanvas/KgCanvas.ToolbarButton.Mode.tsx +68 -0
- package/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.tsx +66 -0
- package/component/KgCanvas/KgCanvas.Tooltip.tsx +118 -0
- package/component/KgCanvas/KgCanvas.css +128 -0
- package/component/KgCanvas/KgCanvas.event.ts +380 -0
- package/component/KgCanvas/KgCanvas.hooks.ts +181 -0
- package/component/KgCanvas/KgCanvas.model.ts +31 -0
- package/component/KgCanvas/KgCanvas.service.tsx +116 -0
- package/component/KgCanvas/KgCanvas.store.ts +68 -0
- package/component/KgCanvas/KgCanvas.tsx +632 -0
- package/component/KgCanvas/index.ts +5 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.tsx +107 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.tsx +3053 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.tsx +606 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.tsx +71 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.tsx +50 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.tsx +169 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.tsx +30 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.tsx +672 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.css +510 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.ts +78 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.ts +161 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.tsx +744 -0
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.tsx +171 -0
- package/component/KgCircularShuttleMonitor/index.ts +4 -0
- package/component/KgForm/KgForm.event.ts +328 -0
- package/component/KgForm/KgForm.hooks.ts +158 -0
- package/component/KgForm/KgForm.less +0 -0
- package/component/KgForm/KgForm.store.ts +36 -0
- package/component/KgForm/KgForm.tsx +61 -0
- package/component/KgForm/index.ts +10 -0
- package/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.tsx +88 -0
- package/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.tsx +191 -0
- package/component/KgForm.Item/KgForm.Item.Addon.Lookup.tsx +76 -0
- package/component/KgForm.Item/KgForm.Item.Checkbox.tsx +61 -0
- package/component/KgForm.Item/KgForm.Item.CheckboxGroup.tsx +176 -0
- package/component/KgForm.Item/KgForm.Item.Date.tsx +88 -0
- package/component/KgForm.Item/KgForm.Item.DateRange.tsx +110 -0
- package/component/KgForm.Item/KgForm.Item.Image.tsx +35 -0
- package/component/KgForm.Item/KgForm.Item.Input.tsx +72 -0
- package/component/KgForm.Item/KgForm.Item.InputNumber.tsx +68 -0
- package/component/KgForm.Item/KgForm.Item.InputPassword.tsx +72 -0
- package/component/KgForm.Item/KgForm.Item.Link.tsx +37 -0
- package/component/KgForm.Item/KgForm.Item.RadioGroup.tsx +91 -0
- package/component/KgForm.Item/KgForm.Item.Select.service.tsx +317 -0
- package/component/KgForm.Item/KgForm.Item.Select.tsx +236 -0
- package/component/KgForm.Item/KgForm.Item.Switch.tsx +49 -0
- package/component/KgForm.Item/KgForm.Item.TextArea.tsx +99 -0
- package/component/KgForm.Item/KgForm.Item.less +476 -0
- package/component/KgForm.Item/KgForm.Item.model.ts +129 -0
- package/component/KgForm.Item/KgForm.Item.service.tsx +479 -0
- package/component/KgForm.Item/KgForm.Item.tsx +642 -0
- package/component/KgImage/KgImage.less +12 -0
- package/component/KgImage/KgImage.tsx +73 -0
- package/component/KgLayoutHeader/KgLayoutHeader.Locale.tsx +118 -0
- package/component/KgLayoutHeader/KgLayoutHeader.hooks.ts +31 -0
- package/component/KgLayoutHeader/KgLayoutHeader.less +14 -0
- package/component/KgLayoutHeader/index.ts +3 -0
- package/component/KgModal/KgModal.css +234 -0
- package/component/KgModal/KgModal.model.ts +9 -0
- package/component/KgModal/KgModal.service.ts +560 -0
- package/component/KgModal/KgModal.tsx +207 -0
- package/component/KgModal/KgModalHeaderButtons.tsx +130 -0
- package/component/KgModal02/KgModal02.css +11 -0
- package/component/KgModal02/KgModal02.model.ts +1 -0
- package/component/KgModal02/KgModal02.tsx +93 -0
- package/component/KgProgressA/KgProgressA.less +35 -0
- package/component/KgProgressA/KgProgressA.tsx +90 -0
- package/component/KgResizable/KgResizable.less +114 -0
- package/component/KgResizable/KgResizable.service.tsx +41 -0
- package/component/KgResizable/KgResizable.tsx +239 -0
- package/component/KgSearch/KgSearch.event.ts +78 -0
- package/component/KgSearch/KgSearch.hooks.ts +160 -0
- package/component/KgSearch/KgSearch.less +251 -0
- package/component/KgSearch/KgSearch.service.tsx +236 -0
- package/component/KgSearch/KgSearch.store.ts +609 -0
- package/component/KgSearch/KgSearch.tsx +506 -0
- package/component/KgSearch/index.ts +4 -0
- package/component/KgSimulator/KgSimulator.Canvas.Title.tsx +71 -0
- package/component/KgSimulator/KgSimulator.Canvas.service.tsx +3403 -0
- package/component/KgSimulator/KgSimulator.Canvas.tsx +1105 -0
- package/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.tsx +258 -0
- package/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.tsx +214 -0
- package/component/KgSimulator/KgSimulator.Menu.tsx +446 -0
- package/component/KgSimulator/KgSimulator.Panel.Prefab.tsx +87 -0
- package/component/KgSimulator/KgSimulator.Panel.Property.tsx +1120 -0
- package/component/KgSimulator/KgSimulator.Panel.Scene.tsx +819 -0
- package/component/KgSimulator/KgSimulator.Panel.tsx +149 -0
- package/component/KgSimulator/KgSimulator.Prefab.tsx +142 -0
- package/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.tsx +44 -0
- package/component/KgSimulator/KgSimulator.ToolbarButton.Property.tsx +40 -0
- package/component/KgSimulator/KgSimulator.ToolbarButton.Scene.tsx +40 -0
- package/component/KgSimulator/KgSimulator.ToolbarButton.tsx +130 -0
- package/component/KgSimulator/KgSimulator.css +610 -0
- package/component/KgSimulator/KgSimulator.event.ts +197 -0
- package/component/KgSimulator/KgSimulator.hooks.ts +237 -0
- package/component/KgSimulator/KgSimulator.icons.tsx +148 -0
- package/component/KgSimulator/KgSimulator.model.ts +2629 -0
- package/component/KgSimulator/KgSimulator.store.tsx +1192 -0
- package/component/KgSimulator/KgSimulator.tsx +235 -0
- package/component/KgSimulator/KgSimulator.utils.ts +30 -0
- package/component/KgSimulator/index.ts +4 -0
- package/component/KgSubmit/KgSubmit.event.ts +272 -0
- package/component/KgSubmit/KgSubmit.hooks.ts +662 -0
- package/component/KgSubmit/KgSubmit.less +174 -0
- package/component/KgSubmit/KgSubmit.model.ts +82 -0
- package/component/KgSubmit/KgSubmit.service.tsx +368 -0
- package/component/KgSubmit/KgSubmit.store.ts +568 -0
- package/component/KgSubmit/KgSubmit.tsx +1132 -0
- package/component/KgSubmit/index.ts +5 -0
- package/component/KgTable/KgTable.BodyCell.tsx +475 -0
- package/component/KgTable/KgTable.HeadCell.tsx +333 -0
- package/component/KgTable/KgTable.Info.tsx +133 -0
- package/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.tsx +63 -0
- package/component/KgTable/KgTable.Setting.service.tsx +285 -0
- package/component/KgTable/KgTable.Setting.tsx +377 -0
- package/component/KgTable/KgTable.event.ts +206 -0
- package/component/KgTable/KgTable.hooks.ts +235 -0
- package/component/KgTable/KgTable.less +912 -0
- package/component/KgTable/KgTable.model.ts +73 -0
- package/component/KgTable/KgTable.service.tsx +781 -0
- package/component/KgTable/KgTable.store.ts +390 -0
- package/component/KgTable/KgTable.tsx +1105 -0
- package/component/KgTable/index.ts +5 -0
- package/component/KgTable02/KgTable02.BodyCell.tsx +407 -0
- package/component/KgTable02/KgTable02.css +199 -0
- package/component/KgTable02/KgTable02.event.ts +224 -0
- package/component/KgTable02/KgTable02.hooks.ts +111 -0
- package/component/KgTable02/KgTable02.store.ts +186 -0
- package/component/KgTable02/KgTable02.tsx +865 -0
- package/component/KgTable02/index.ts +5 -0
- package/component/KgVar/KgVar.Factory.tsx +146 -0
- package/component/KgVar/KgVar.css +125 -0
- package/component/KgVar/KgVar.event.ts +122 -0
- package/component/KgVar/KgVar.hooks.ts +543 -0
- package/component/KgVar/KgVar.model.ts +86 -0
- package/component/KgVar/KgVar.store.ts +2966 -0
- package/component/KgVar/KgVar.tsx +276 -0
- package/component/KgVar/index.ts +6 -0
- package/component/KgVarConfig/KgVarConfig.hooks.ts +19 -0
- package/component/KgVarConfig/KgVarConfig.less +499 -0
- package/component/KgVarConfig/KgVarConfig.model.ts +56 -0
- package/component/KgVarConfig/KgVarConfig.store.ts +29 -0
- package/component/KgVarConfig/KgVarConfig.tsx +139 -0
- package/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.tsx +138 -0
- package/component/KgVarConfig/components/KgVarConfigModal.tsx +228 -0
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.tsx +647 -0
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.tsx +64 -0
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.tsx +44 -0
- package/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.tsx +265 -0
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.tsx +64 -0
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.tsx +408 -0
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.tsx +399 -0
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.tsx +44 -0
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.tsx +336 -0
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.tsx +165 -0
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.tsx +44 -0
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.tsx +209 -0
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.tsx +567 -0
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.tsx +398 -0
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.tsx +44 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.tsx +162 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.tsx +119 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.tsx +322 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.tsx +222 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.tsx +194 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.tsx +134 -0
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.tsx +129 -0
- package/component/KgVarConfig/index.ts +6 -0
- package/component/KgWarehouse/KgWarehouse.event.ts +63 -0
- package/component/KgWarehouse/KgWarehouse.guard.ts +77 -0
- package/component/KgWarehouse/KgWarehouse.hooks.ts +92 -0
- package/component/KgWarehouse/KgWarehouse.less +78 -0
- package/component/KgWarehouse/KgWarehouse.store.ts +135 -0
- package/component/KgWarehouse/KgWarehouse.tsx +321 -0
- package/component/KgWarehouse/index.ts +5 -0
- package/component/KgWorkStation/KgWorkStation.css +8 -0
- package/component/KgWorkStation/KgWorkStation.event.ts +54 -0
- package/component/KgWorkStation/KgWorkStation.hooks.ts +59 -0
- package/component/KgWorkStation/KgWorkStation.store.ts +144 -0
- package/component/KgWorkStation/KgWorkStation.tsx +254 -0
- package/component/KgYesOrNo/KgYesOrNo.less +3 -0
- package/component/KgYesOrNo/KgYesOrNo.tsx +50 -0
- package/component/index.ts +23 -0
- package/config/config.hooks.ts +32 -0
- package/config/config.store.ts +705 -0
- package/config/index.ts +347 -0
- package/i18n/cs_CZ.ts +1 -0
- package/i18n/en.ts +236 -0
- package/i18n/es_ES.ts +1 -0
- package/i18n/fr_FR.ts +1 -0
- package/i18n/i18n.setup.ts +61 -0
- package/i18n/index.ts +23 -0
- package/i18n/km_KH.ts +1 -0
- package/i18n/ko_KR.ts +1 -0
- package/i18n/vi_VN.ts +1 -0
- package/i18n/zh_CN.ts +237 -0
- package/index.ts +15 -0
- package/model/index.ts +1695 -0
- package/package.json +6 -50
- package/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.tsx +13 -0
- package/page/KgPageDda/KgPageDda.css +0 -0
- package/page/KgPageDda/KgPageDda.tsx +140 -0
- package/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.tsx +65 -0
- package/page/KgPageDda/components/KgPageDda.Create.Basic.tsx +219 -0
- package/page/KgPageDda/components/KgPageDda.Create.Button.tsx +427 -0
- package/page/KgPageDda/components/KgPageDda.Create.Menu.tsx +148 -0
- package/page/KgPageDda/components/KgPageDda.Create.Search.tsx +371 -0
- package/page/KgPageDda/components/KgPageDda.Create.Submit.tsx +362 -0
- package/page/KgPageDda/components/KgPageDda.Create.Table.tsx +372 -0
- package/page/KgPageDda/components/KgPageDda.Create.less +362 -0
- package/page/KgPageDda/components/KgPageDda.Create.store.ts +437 -0
- package/page/KgPageDda/components/KgPageDda.Create.tsx +330 -0
- package/page/KgPageDda/index.ts +4 -0
- package/page/KgPageSqlClient/KgPageSqlClient.tsx +14 -0
- package/page/KgPageSqlClient/components/KgSqlClient.Editor.tsx +84 -0
- package/page/KgPageSqlClient/components/KgSqlClient.ResultTab.tsx +145 -0
- package/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.tsx +132 -0
- package/page/KgPageSqlClient/components/KgSqlClient.css +171 -0
- package/page/KgPageSqlClient/components/KgSqlClient.tsx +110 -0
- package/page/index.ts +55 -0
- package/project/build/generate/generateModifyVars.ts +40 -0
- package/project/index.ts +2 -0
- package/project/src/api/sys/menu.ts +37 -0
- package/project/src/api/sys/model/menuModel.ts +17 -0
- package/project/src/api/sys/model/userModel.ts +58 -0
- package/project/src/components/Application/src/useAppContext.ts +17 -0
- package/project/src/components/index.ts +3 -0
- package/project/src/enums/CompTypeEnum.ts +32 -0
- package/project/src/enums/DateTypeEnum.ts +8 -0
- package/project/src/enums/appEnum.ts +58 -0
- package/project/src/enums/breakpointEnum.ts +28 -0
- package/project/src/enums/cacheEnum.ts +39 -0
- package/project/src/enums/exceptionEnum.ts +27 -0
- package/project/src/enums/httpEnum.ts +50 -0
- package/project/src/enums/jeecgEnum.ts +23 -0
- package/project/src/enums/menuEnum.ts +50 -0
- package/project/src/enums/pageEnum.ts +19 -0
- package/project/src/enums/roleEnum.ts +7 -0
- package/project/src/enums/sizeEnum.ts +27 -0
- package/project/src/hooks/component/useFormItem.ts +44 -0
- package/project/src/hooks/component/usePageContext.ts +18 -0
- package/project/src/hooks/core/onMountedOrActivated.ts +18 -0
- package/project/src/hooks/core/useAttrs.ts +41 -0
- package/project/src/hooks/core/useContext.ts +30 -0
- package/project/src/hooks/core/useRefs.ts +16 -0
- package/project/src/hooks/core/useTimeout.ts +45 -0
- package/project/src/hooks/event/useBreakpoint.ts +89 -0
- package/project/src/hooks/event/useEventListener.ts +52 -0
- package/project/src/hooks/event/useIntersectionObserver.ts +42 -0
- package/project/src/hooks/event/useScrollTo.ts +59 -0
- package/project/src/hooks/event/useWindowSizeFn.ts +36 -0
- package/project/src/hooks/index.ts +26 -0
- package/project/src/hooks/jeecg/useAdaptiveWidth.ts +82 -0
- package/project/src/hooks/setting/index.ts +27 -0
- package/project/src/hooks/web/useAppInject.ts +10 -0
- package/project/src/hooks/web/useContentHeight.ts +175 -0
- package/project/src/hooks/web/useCopyToClipboard.ts +70 -0
- package/project/src/hooks/web/useDesign.ts +10 -0
- package/project/src/hooks/web/usePage.ts +87 -0
- package/project/src/hooks/web/usePagination.ts +31 -0
- package/project/src/hooks/web/useWebSocket.ts +95 -0
- package/project/src/layouts/default/content/useContentContext.ts +17 -0
- package/project/src/layouts/default/content/useContentViewHeight.ts +42 -0
- package/project/src/locales/helper.ts +36 -0
- package/project/src/locales/setupI18n.ts +43 -0
- package/project/src/locales/useLocale.ts +77 -0
- package/project/src/router/constant2.ts +5 -0
- package/project/src/router/types.ts +73 -0
- package/project/src/settings/componentSetting.ts +88 -0
- package/project/src/settings/designSetting.ts +14 -0
- package/project/src/settings/encryptionSetting.ts +11 -0
- package/project/src/settings/projectSetting.ts +194 -0
- package/project/src/store/modules/locale.ts +49 -0
- package/project/src/utils/auth/index.ts +42 -0
- package/project/src/utils/bem.ts +45 -0
- package/project/src/utils/cache/index.ts +31 -0
- package/project/src/utils/cache/memory.ts +99 -0
- package/project/src/utils/cache/persistent.ts +132 -0
- package/project/src/utils/cache/storageCache.ts +102 -0
- package/project/src/utils/cipher.ts +54 -0
- package/project/src/utils/color.ts +93 -0
- package/project/src/utils/common/compUtils.ts +292 -0
- package/project/src/utils/common/functionUtils.ts +14 -0
- package/project/src/utils/dateUtil.ts +14 -0
- package/project/src/utils/domUtils.ts +158 -0
- package/project/src/utils/encryption/signMd5Utils.ts +122 -0
- package/project/src/utils/env.ts +40 -0
- package/project/src/utils/event/index.ts +39 -0
- package/project/src/utils/factory/createAsyncComponent.tsx +50 -0
- package/project/src/utils/file/base64Conver.ts +15 -0
- package/project/src/utils/file/download.ts +37 -0
- package/project/src/utils/helper/treeHelper.ts +145 -0
- package/project/src/utils/helper/tsxHelper.ts +35 -0
- package/project/src/utils/index.index.ts +158 -0
- package/project/src/utils/is.ts +85 -0
- package/project/src/utils/mitt.ts +101 -0
- package/project/src/utils/propTypes.ts +34 -0
- package/project/src/utils/props.ts +139 -0
- package/project/src/utils/uuid.ts +29 -0
- package/project/types/axios.ts +57 -0
- package/project/types/config.ts +180 -0
- package/project/types/global.d.ts +191 -0
- package/project/types/store.ts +60 -0
- package/project/types/utils.ts +5 -0
- package/service/http-client.ts +257 -0
- package/tsconfig.json +26 -0
- package/type/env.d.ts +7 -0
- package/type/index.d.ts +1 -0
- package/util/ant-design-vue.ts +146 -0
- package/util/event.util.ts +24 -0
- package/util/kg-auth.util.ts +16 -0
- package/util/kg-route.util.ts +25 -0
- package/util/kg.util.tsx +2997 -0
- package/util/tsx.helper.tsx +45 -0
- package/CHANGELOG.md +0 -470
- package/README.md +0 -10
- package/dist/aim-outlined.8be465fa.js +0 -8
- package/dist/align-left-outlined.ee632796.js +0 -8
- package/dist/audit-outlined.781e31ad.js +0 -8
- package/dist/bubble-loading.522952db.js +0 -8
- package/dist/bulb-outlined.2d215f6a.js +0 -8
- package/dist/card-text-outline.c67fe9b0.js +0 -8
- package/dist/caret-down-outlined.e4d248cf.js +0 -8
- package/dist/caret-left-outlined.eb88958a.js +0 -8
- package/dist/caret-right-filled.8406b615.js +0 -8
- package/dist/caret-right-outlined-Btgsw6a_.8d73a8ce.js +0 -8
- package/dist/caret-right-outlined.13f0437e.js +0 -8
- package/dist/caret-up-outlined.1f3edb5a.js +0 -8
- package/dist/check-box-outline-blank.70caa3f6.js +0 -8
- package/dist/check-circle-outlined.cf474a93.js +0 -8
- package/dist/check-outlined.072d2799.js +0 -8
- package/dist/check-square-outlined.d6ee2906.js +0 -8
- package/dist/checkbox-indeterminate.fcdf05cd.js +0 -8
- package/dist/clock-circle-outline.a1b2fa84.js +0 -8
- package/dist/close-circle-outlined.3536c9d2.js +0 -8
- package/dist/close-outlined-DMcSQWxQ.7bdcf1f6.js +0 -8
- package/dist/close-outlined.0c84332a.js +0 -8
- package/dist/collapse-all-rounded.292dc0a0.js +0 -8
- package/dist/control-outlined.359a8e35.js +0 -8
- package/dist/copy-filled.8517d337.js +0 -8
- package/dist/copy-outlined.54c22455.js +0 -8
- package/dist/delete-outlined.e78c0025.js +0 -8
- package/dist/delete-twotone.0ab9d2d3.js +0 -8
- package/dist/double-right-outlined.48d81b78.js +0 -8
- package/dist/down-circle-outlined.c3084eb9.js +0 -8
- package/dist/download-outlined.8cc0ac49.js +0 -8
- package/dist/edit-outlined.857298ee.js +0 -8
- package/dist/edit-twotone.8ba032c1.js +0 -8
- package/dist/email-resend-outline.4be09b5b.js +0 -8
- package/dist/exception-outlined.0f2f32b0.js +0 -8
- package/dist/exclamation-circle-outlined-DZrXCnvM.fa85c27a.js +0 -8
- package/dist/expand-all-rounded.b3e78f03.js +0 -8
- package/dist/eye-invisible-outlined.93c0e26a.js +0 -8
- package/dist/eye-outlined.5a39428d.js +0 -8
- package/dist/file-text-outline.dc8a65d4.js +0 -8
- package/dist/fit-screen-outline.95d53475.js +0 -8
- package/dist/fullscreen-exit-outlined-X1iYkFc4.3d1bb4fa.js +0 -8
- package/dist/fullscreen-exit-outlined.ccc55444.js +0 -8
- package/dist/fullscreen-outlined-DDBrsRcy.8717f483.js +0 -8
- package/dist/fullscreen-outlined.3e35f75c.js +0 -8
- package/dist/holder-outlined.600a14da.js +0 -8
- package/dist/index.css +0 -1
- package/dist/info-circle-outlined.8b702321.js +0 -8
- package/dist/kengic-vue.js +0 -224256
- package/dist/key-return-thin.fc57598b.js +0 -8
- package/dist/loading-outlined.999ab961.js +0 -8
- package/dist/more-outlined.157f121f.js +0 -8
- package/dist/one-to-one-outlined.662b0e19.js +0 -8
- package/dist/palette-swatch-variant.94119315.js +0 -8
- package/dist/partition-outlined.2c502e5b.js +0 -8
- package/dist/pause-circle-outlined.d2dbdc49.js +0 -8
- package/dist/pause-outlined.b8620b52.js +0 -8
- package/dist/pause-rounded.efb30fb7.js +0 -8
- package/dist/play-arrow-rounded.48af961c.js +0 -8
- package/dist/plus-outlined.e8976815.js +0 -8
- package/dist/printer-outlined.0a73a541.js +0 -8
- package/dist/profile-outlined.d62d905d.js +0 -8
- package/dist/project/build/generate/generateModifyVars.ts +0 -39
- package/dist/project/index.ts +0 -1
- package/dist/project/types/global.d.ts +0 -184
- package/dist/release-gate-check.de715b77.js +0 -8
- package/dist/reload-outlined.74a96cc7.js +0 -8
- package/dist/retweet-outlined.f7de37cb.js +0 -8
- package/dist/save-as-outline-rounded.64127f32.js +0 -8
- package/dist/save-outline-rounded.850abfe6.js +0 -8
- package/dist/search-outlined-Od1M_oxf.53b3f0ed.js +0 -8
- package/dist/search-outlined.05c83047.js +0 -8
- package/dist/setting-outlined.27b6b889.js +0 -8
- package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +0 -51
- package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/DescriptionController/index.d.ts +0 -2
- package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +0 -2
- package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +0 -73
- package/dist/src/api/WMS/Controllers/SysPermissionController/index.d.ts +0 -1
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +0 -18
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -1
- package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarController/index.d.ts +0 -1
- package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarDdaController/index.d.ts +0 -9
- package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
- package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
- package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +0 -16
- package/dist/src/api/WMS/Controllers/VarVariableController/index.d.ts +0 -1
- package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +0 -25
- package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +0 -25
- package/dist/src/api/WMS/Controllers/WorkstationController/index.d.ts +0 -1
- package/dist/src/api/WMS/index.d.ts +0 -2
- package/dist/src/api/WMS/models.d.ts +0 -1128
- package/dist/src/api/api.d.ts +0 -1
- package/dist/src/api/def.d.ts +0 -1
- package/dist/src/api/index.d.ts +0 -2
- package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +0 -46
- package/dist/src/component/KgAppSelect/KgAppSelect.event.d.ts +0 -31
- package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +0 -18
- package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +0 -33
- package/dist/src/component/KgAppSelect/index.d.ts +0 -3
- package/dist/src/component/KgButton/KgButton.Copy.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Create.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Delete.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Export.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Import.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.ImportTemplate.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Item.d.ts +0 -39
- package/dist/src/component/KgButton/KgButton.Other.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Search.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.Update.d.ts +0 -40
- package/dist/src/component/KgButton/KgButton.d.ts +0 -39
- package/dist/src/component/KgButton/KgButton.event.d.ts +0 -81
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +0 -67
- package/dist/src/component/KgButton/KgButton.model.d.ts +0 -31
- package/dist/src/component/KgButton/KgButton.store.d.ts +0 -92
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +0 -100
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.d.ts +0 -37
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +0 -7
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.d.ts +0 -37
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +0 -27
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +0 -232
- package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +0 -216
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +0 -100
- package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +0 -27
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +0 -17
- package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +0 -9
- package/dist/src/component/KgCanvas/index.d.ts +0 -4
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts +0 -63
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +0 -33
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +0 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +0 -29
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts +0 -127
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts +0 -354
- package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +0 -3
- package/dist/src/component/KgForm/KgForm.d.ts +0 -413
- package/dist/src/component/KgForm/KgForm.event.d.ts +0 -202
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +0 -92
- package/dist/src/component/KgForm/KgForm.store.d.ts +0 -23
- package/dist/src/component/KgForm/index.d.ts +0 -4
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -49
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -16
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.d.ts +0 -31
- package/dist/src/component/KgForm.Item/KgForm.Item.Checkbox.d.ts +0 -98
- package/dist/src/component/KgForm.Item/KgForm.Item.CheckboxGroup.d.ts +0 -95
- package/dist/src/component/KgForm.Item/KgForm.Item.Date.d.ts +0 -95
- package/dist/src/component/KgForm.Item/KgForm.Item.DateRange.d.ts +0 -95
- package/dist/src/component/KgForm.Item/KgForm.Item.Image.d.ts +0 -90
- package/dist/src/component/KgForm.Item/KgForm.Item.Input.d.ts +0 -94
- package/dist/src/component/KgForm.Item/KgForm.Item.InputNumber.d.ts +0 -94
- package/dist/src/component/KgForm.Item/KgForm.Item.InputPassword.d.ts +0 -94
- package/dist/src/component/KgForm.Item/KgForm.Item.Link.d.ts +0 -93
- package/dist/src/component/KgForm.Item/KgForm.Item.RadioGroup.d.ts +0 -96
- package/dist/src/component/KgForm.Item/KgForm.Item.Select.d.ts +0 -95
- package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +0 -28
- package/dist/src/component/KgForm.Item/KgForm.Item.Switch.d.ts +0 -94
- package/dist/src/component/KgForm.Item/KgForm.Item.TextArea.d.ts +0 -94
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +0 -95
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +0 -111
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +0 -17
- package/dist/src/component/KgImage/KgImage.d.ts +0 -100
- package/dist/src/component/KgLayoutHeader/KgLayoutHeader.Locale.d.ts +0 -38
- package/dist/src/component/KgLayoutHeader/KgLayoutHeader.hooks.d.ts +0 -4
- package/dist/src/component/KgLayoutHeader/index.d.ts +0 -2
- package/dist/src/component/KgModal/KgModal.d.ts +0 -817
- package/dist/src/component/KgModal/KgModal.model.d.ts +0 -8
- package/dist/src/component/KgModal/KgModal.service.d.ts +0 -37
- package/dist/src/component/KgModal/KgModalHeaderButtons.d.ts +0 -92
- package/dist/src/component/KgModal02/KgModal02.d.ts +0 -470
- package/dist/src/component/KgModal02/KgModal02.model.d.ts +0 -1
- package/dist/src/component/KgProgressA/KgProgressA.d.ts +0 -85
- package/dist/src/component/KgResizable/KgResizable.d.ts +0 -119
- package/dist/src/component/KgResizable/KgResizable.service.d.ts +0 -12
- package/dist/src/component/KgSearch/KgSearch.d.ts +0 -26
- package/dist/src/component/KgSearch/KgSearch.event.d.ts +0 -31
- package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +0 -72
- package/dist/src/component/KgSearch/KgSearch.service.d.ts +0 -32
- package/dist/src/component/KgSearch/KgSearch.store.d.ts +0 -103
- package/dist/src/component/KgSearch/index.d.ts +0 -3
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +0 -11
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +0 -11
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +0 -80
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +0 -36
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +0 -36
- package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +0 -4
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +0 -4
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +0 -4
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +0 -4
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +0 -97
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +0 -108
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +0 -9
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +0 -9
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +0 -9
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +0 -113
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +0 -33
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +0 -93
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +0 -103
- package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +0 -10
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +0 -1502
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +0 -474
- package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +0 -21
- package/dist/src/component/KgSimulator/index.d.ts +0 -3
- package/dist/src/component/KgSubmit/KgSubmit.d.ts +0 -21
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +0 -135
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +0 -358
- package/dist/src/component/KgSubmit/KgSubmit.model.d.ts +0 -57
- package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +0 -29
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +0 -112
- package/dist/src/component/KgSubmit/index.d.ts +0 -4
- package/dist/src/component/KgTable/KgTable.BodyCell.d.ts +0 -60
- package/dist/src/component/KgTable/KgTable.HeadCell.d.ts +0 -51
- package/dist/src/component/KgTable/KgTable.Info.d.ts +0 -57
- package/dist/src/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -4
- package/dist/src/component/KgTable/KgTable.Setting.d.ts +0 -20
- package/dist/src/component/KgTable/KgTable.Setting.service.d.ts +0 -22
- package/dist/src/component/KgTable/KgTable.d.ts +0 -39
- package/dist/src/component/KgTable/KgTable.event.d.ts +0 -111
- package/dist/src/component/KgTable/KgTable.hooks.d.ts +0 -135
- package/dist/src/component/KgTable/KgTable.model.d.ts +0 -65
- package/dist/src/component/KgTable/KgTable.service.d.ts +0 -34
- package/dist/src/component/KgTable/KgTable.store.d.ts +0 -91
- package/dist/src/component/KgTable/index.d.ts +0 -4
- package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +0 -72
- package/dist/src/component/KgTable02/KgTable02.d.ts +0 -46
- package/dist/src/component/KgTable02/KgTable02.event.d.ts +0 -123
- package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +0 -62
- package/dist/src/component/KgTable02/KgTable02.store.d.ts +0 -62
- package/dist/src/component/KgTable02/index.d.ts +0 -4
- package/dist/src/component/KgVar/KgVar.Factory.d.ts +0 -106
- package/dist/src/component/KgVar/KgVar.d.ts +0 -120
- package/dist/src/component/KgVar/KgVar.event.d.ts +0 -75
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +0 -307
- package/dist/src/component/KgVar/KgVar.model.d.ts +0 -70
- package/dist/src/component/KgVar/KgVar.store.d.ts +0 -269
- package/dist/src/component/KgVar/index.d.ts +0 -5
- package/dist/src/component/KgVarConfig/KgVarConfig.d.ts +0 -3
- package/dist/src/component/KgVarConfig/KgVarConfig.hooks.d.ts +0 -3
- package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -42
- package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +0 -16
- package/dist/src/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -27
- package/dist/src/component/KgVarConfig/components/KgVarConfigModal.d.ts +0 -53
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -5
- package/dist/src/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +0 -17
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -5
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -5
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -7
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +0 -23
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -5
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -2
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -2
- package/dist/src/component/KgVarConfig/index.d.ts +0 -3
- package/dist/src/component/KgWarehouse/KgWarehouse.d.ts +0 -50
- package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +0 -30
- package/dist/src/component/KgWarehouse/KgWarehouse.guard.d.ts +0 -8
- package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +0 -41
- package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +0 -27
- package/dist/src/component/KgWarehouse/index.d.ts +0 -4
- package/dist/src/component/KgWorkStation/KgWorkStation.d.ts +0 -44
- package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +0 -27
- package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +0 -28
- package/dist/src/component/KgWorkStation/KgWorkStation.store.d.ts +0 -37
- package/dist/src/component/KgYesOrNo/KgYesOrNo.d.ts +0 -60
- package/dist/src/component/index.d.ts +0 -22
- package/dist/src/config/config.hooks.d.ts +0 -10
- package/dist/src/config/config.store.d.ts +0 -308
- package/dist/src/config/index.d.ts +0 -63
- package/dist/src/i18n/cs_CZ.d.ts +0 -2
- package/dist/src/i18n/en.d.ts +0 -237
- package/dist/src/i18n/es_ES.d.ts +0 -2
- package/dist/src/i18n/fr_FR.d.ts +0 -2
- package/dist/src/i18n/i18n.setup.d.ts +0 -22
- package/dist/src/i18n/index.d.ts +0 -3
- package/dist/src/i18n/km_KH.d.ts +0 -2
- package/dist/src/i18n/ko_KR.d.ts +0 -2
- package/dist/src/i18n/vi_VN.d.ts +0 -2
- package/dist/src/i18n/zh_CN.d.ts +0 -238
- package/dist/src/index.d.ts +0 -12
- package/dist/src/model/index.d.ts +0 -1926
- package/dist/src/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts +0 -11
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +0 -8
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -32
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -7
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.d.ts +0 -33
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +0 -39
- package/dist/src/page/KgPageDda/index.d.ts +0 -5
- package/dist/src/page/KgPageSqlClient/KgPageSqlClient.d.ts +0 -12
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +0 -13
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +0 -36
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.d.ts +0 -7
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.d.ts +0 -5
- package/dist/src/page/index.d.ts +0 -8
- package/dist/src/project/build/getConfigFileName.d.ts +0 -5
- package/dist/src/project/build/index.d.ts +0 -1
- package/dist/src/project/index.d.ts +0 -3
- package/dist/src/project/src/api/sys/menu.d.ts +0 -4
- package/dist/src/project/src/api/sys/model/menuModel.d.ts +0 -15
- package/dist/src/project/src/api/sys/model/userModel.d.ts +0 -46
- package/dist/src/project/src/components/Application/src/useAppContext.d.ts +0 -9
- package/dist/src/project/src/components/index.d.ts +0 -2
- package/dist/src/project/src/enums/CompTypeEnum.d.ts +0 -19
- package/dist/src/project/src/enums/DateTypeEnum.d.ts +0 -8
- package/dist/src/project/src/enums/appEnum.d.ts +0 -40
- package/dist/src/project/src/enums/breakpointEnum.d.ts +0 -18
- package/dist/src/project/src/enums/cacheEnum.d.ts +0 -18
- package/dist/src/project/src/enums/exceptionEnum.d.ts +0 -17
- package/dist/src/project/src/enums/httpEnum.d.ts +0 -38
- package/dist/src/project/src/enums/jeecgEnum.d.ts +0 -16
- package/dist/src/project/src/enums/menuEnum.d.ts +0 -35
- package/dist/src/project/src/enums/pageEnum.d.ts +0 -14
- package/dist/src/project/src/enums/roleEnum.d.ts +0 -4
- package/dist/src/project/src/enums/sizeEnum.d.ts +0 -18
- package/dist/src/project/src/hooks/component/useFormItem.d.ts +0 -2
- package/dist/src/project/src/hooks/component/usePageContext.d.ts +0 -10
- package/dist/src/project/src/hooks/core/onMountedOrActivated.d.ts +0 -1
- package/dist/src/project/src/hooks/core/useAttrs.d.ts +0 -9
- package/dist/src/project/src/hooks/core/useContext.d.ts +0 -11
- package/dist/src/project/src/hooks/core/useRefs.d.ts +0 -2
- package/dist/src/project/src/hooks/core/useTimeout.d.ts +0 -10
- package/dist/src/project/src/hooks/event/useBreakpoint.d.ts +0 -22
- package/dist/src/project/src/hooks/event/useEventListener.d.ts +0 -14
- package/dist/src/project/src/hooks/event/useIntersectionObserver.d.ts +0 -13
- package/dist/src/project/src/hooks/event/useScrollTo.d.ts +0 -10
- package/dist/src/project/src/hooks/event/useWindowSizeFn.d.ts +0 -7
- package/dist/src/project/src/hooks/index.d.ts +0 -21
- package/dist/src/project/src/hooks/jeecg/useAdaptiveWidth.d.ts +0 -18
- package/dist/src/project/src/hooks/setting/index.d.ts +0 -2
- package/dist/src/project/src/hooks/web/useAppInject.d.ts +0 -3
- package/dist/src/project/src/hooks/web/useContentHeight.d.ts +0 -24
- package/dist/src/project/src/hooks/web/useCopyToClipboard.d.ts +0 -10
- package/dist/src/project/src/hooks/web/useDesign.d.ts +0 -4
- package/dist/src/project/src/hooks/web/usePage.d.ts +0 -10
- package/dist/src/project/src/hooks/web/usePagination.d.ts +0 -7
- package/dist/src/project/src/hooks/web/useWebSocket.d.ts +0 -18
- package/dist/src/project/src/layouts/default/content/useContentContext.d.ts +0 -9
- package/dist/src/project/src/layouts/default/content/useContentViewHeight.d.ts +0 -7
- package/dist/src/project/src/locales/helper.d.ts +0 -5
- package/dist/src/project/src/locales/setupI18n.d.ts +0 -4
- package/dist/src/project/src/locales/useLocale.d.ts +0 -11
- package/dist/src/project/src/router/constant2.d.ts +0 -3
- package/dist/src/project/src/router/types.d.ts +0 -61
- package/dist/src/project/src/settings/componentSetting.d.ts +0 -44
- package/dist/src/project/src/settings/designSetting.d.ts +0 -6
- package/dist/src/project/src/settings/encryptionSetting.d.ts +0 -6
- package/dist/src/project/src/settings/projectSetting.d.ts +0 -3
- package/dist/src/project/src/store/modules/locale.d.ts +0 -38
- package/dist/src/project/src/utils/auth/index.d.ts +0 -19
- package/dist/src/project/src/utils/bem.d.ts +0 -15
- package/dist/src/project/src/utils/cache/index.d.ts +0 -7
- package/dist/src/project/src/utils/cache/memory.d.ts +0 -22
- package/dist/src/project/src/utils/cache/persistent.d.ts +0 -33
- package/dist/src/project/src/utils/cache/storageCache.d.ts +0 -8
- package/dist/src/project/src/utils/cipher.d.ts +0 -19
- package/dist/src/project/src/utils/color.d.ts +0 -29
- package/dist/src/project/src/utils/common/compUtils.d.ts +0 -87
- package/dist/src/project/src/utils/common/functionUtils.d.ts +0 -6
- package/dist/src/project/src/utils/dateUtil.d.ts +0 -4
- package/dist/src/project/src/utils/domUtils.d.ts +0 -28
- package/dist/src/project/src/utils/encryption/signMd5Utils.d.ts +0 -29
- package/dist/src/project/src/utils/env.d.ts +0 -16
- package/dist/src/project/src/utils/event/index.d.ts +0 -3
- package/dist/src/project/src/utils/factory/createAsyncComponent.d.ts +0 -9
- package/dist/src/project/src/utils/file/base64Conver.d.ts +0 -4
- package/dist/src/project/src/utils/file/download.d.ts +0 -9
- package/dist/src/project/src/utils/helper/treeHelper.d.ts +0 -34
- package/dist/src/project/src/utils/helper/tsxHelper.d.ts +0 -13
- package/dist/src/project/src/utils/index.index.d.ts +0 -42
- package/dist/src/project/src/utils/is.d.ts +0 -17
- package/dist/src/project/src/utils/mitt.d.ts +0 -26
- package/dist/src/project/src/utils/propTypes.d.ts +0 -9
- package/dist/src/project/src/utils/props.d.ts +0 -68
- package/dist/src/project/src/utils/uuid.d.ts +0 -2
- package/dist/src/project/types/axios.d.ts +0 -35
- package/dist/src/project/types/config.d.ts +0 -119
- package/dist/src/project/types/store.d.ts +0 -43
- package/dist/src/project/types/utils.d.ts +0 -4
- package/dist/src/service/http-client.d.ts +0 -98
- package/dist/src/util/ant-design-vue.d.ts +0 -347
- package/dist/src/util/event.util.d.ts +0 -15
- package/dist/src/util/kg-auth.util.d.ts +0 -12
- package/dist/src/util/kg-route.util.d.ts +0 -18
- package/dist/src/util/kg.util.d.ts +0 -347
- package/dist/src/util/tsx.helper.d.ts +0 -23
- package/dist/stop-outlined.a761545b.js +0 -8
- package/dist/stop.8a6ce353.js +0 -8
- package/dist/three-dots-loading-bIlrTJYR.9972be9e.js +0 -8
- package/dist/upload-outlined.5d8d8184.js +0 -8
- /package/{dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts → api/WMS/Controllers/VarConfigDescriptionController/index.ts} +0 -0
- /package/{dist/src/api/WMS/Controllers/WarehouseController/index.d.ts → api/WMS/Controllers/WarehouseController/index.ts} +0 -0
- /package/{dist/src/api/WMS/Controllers/index.d.ts → api/WMS/Controllers/index.ts} +0 -0
- /package/{dist/src/component/KgButton/index.d.ts → component/KgButton/index.ts} +0 -0
- /package/{dist/src/component/KgForm.Item/index.d.ts → component/KgForm.Item/index.ts} +0 -0
- /package/{dist/src/component/KgImage/index.d.ts → component/KgImage/index.ts} +0 -0
- /package/{dist/src/component/KgModal/index.d.ts → component/KgModal/index.ts} +0 -0
- /package/{dist/src/component/KgModal02/index.d.ts → component/KgModal02/index.ts} +0 -0
- /package/{dist/src/component/KgProgressA/index.d.ts → component/KgProgressA/index.ts} +0 -0
- /package/{dist/src/component/KgResizable/index.d.ts → component/KgResizable/index.ts} +0 -0
- /package/{dist/src/component/KgSearch/KgSearch.model.d.ts → component/KgSearch/KgSearch.model.ts} +0 -0
- /package/{dist/src/component/KgTable02/KgTable02.model.d.ts → component/KgTable02/KgTable02.model.ts} +0 -0
- /package/{dist/src/component/KgWorkStation/index.d.ts → component/KgWorkStation/index.ts} +0 -0
- /package/{dist/src/component/KgYesOrNo/index.d.ts → component/KgYesOrNo/index.ts} +0 -0
- /package/{dist/src/page/KgPageCircularShuttleMonitor/index.d.ts → page/KgPageCircularShuttleMonitor/index.ts} +0 -0
- /package/{dist/src/page/KgPageSqlClient/index.d.ts → page/KgPageSqlClient/index.ts} +0 -0
- /package/{dist/project → project}/build/config/themeConfig.ts +0 -0
- /package/{dist/project → project}/build/constant.ts +0 -0
- /package/{dist/project → project}/build/generate/icon/index.ts +0 -0
- /package/{dist/project → project}/build/getConfigFileName.ts +0 -0
- /package/{dist/project → project}/build/index.ts +0 -0
- /package/{dist/project → project}/build/script/buildConf.ts +0 -0
- /package/{dist/project → project}/build/script/postBuild.ts +0 -0
- /package/{dist/project → project}/build/utils.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/compress.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/html.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/imagemin.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/index.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/pwa.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/styleImport.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/svgSprite.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/theme.ts +0 -0
- /package/{dist/project → project}/build/vite/plugin/visualizer.ts +0 -0
- /package/{dist/project → project}/build/vite/proxy.ts +0 -0
- /package/{dist/src/project/src/api/index.d.ts → project/src/api/index.ts} +0 -0
- /package/{dist/src/project/src/api/sys/model/uploadModel.d.ts → project/src/api/sys/model/uploadModel.ts} +0 -0
- /package/{dist/src/project/src/components/Dropdown/index.d.ts → project/src/components/Dropdown/index.ts} +0 -0
- /package/{dist/src/project/src/components/Dropdown/src/typing.d.ts → project/src/components/Dropdown/src/typing.ts} +0 -0
- /package/{dist/src/project/src/enums/index.d.ts → project/src/enums/index.ts} +0 -0
- /package/{dist/src/project/src/index.d.ts → project/src/index.ts} +0 -0
- /package/{dist/src/project/src/layouts/index.d.ts → project/src/layouts/index.ts} +0 -0
- /package/{dist/src/project/src/locales/index.d.ts → project/src/locales/index.ts} +0 -0
- /package/{dist/src/project/src/router/index.d.ts → project/src/router/index.ts} +0 -0
- /package/{dist/src/project/src/settings/index.d.ts → project/src/settings/index.ts} +0 -0
- /package/{dist/src/project/src/store/index.d.ts → project/src/store/index.ts} +0 -0
- /package/{dist/src/project/src/store/modules/index.d.ts → project/src/store/modules/index.ts} +0 -0
- /package/{dist/src/project/src/utils/index.d.ts → project/src/utils/index.ts} +0 -0
- /package/{dist/src/project/types/index.d.ts → project/types/index.ts} +0 -0
- /package/{dist/src/service/index.d.ts → service/index.ts} +0 -0
- /package/{dist/src/util/index.d.ts → util/index.ts} +0 -0
package/model/index.ts
ADDED
|
@@ -0,0 +1,1695 @@
|
|
|
1
|
+
import { KGCORE } from '@kengic/core.core';
|
|
2
|
+
import { FormInstance, type TooltipProps } from 'ant-design-vue';
|
|
3
|
+
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
4
|
+
import { Pinia, StoreOnActionListener } from 'pinia';
|
|
5
|
+
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
6
|
+
import { VarConfigControl, VarGridDetail, VarSubmitConfig } from '../api/WMS/models';
|
|
7
|
+
import { IKgProps, IKgSlots, KgModalProps } from '../component';
|
|
8
|
+
import { KgCanvasProps } from '../component/KgCanvas/KgCanvas';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* 常量.
|
|
12
|
+
* TODO LT 将所有常量都统一放到这个常量中
|
|
13
|
+
*/
|
|
14
|
+
const KG = {
|
|
15
|
+
...KGCORE,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 数据库的列的类型.
|
|
19
|
+
*/
|
|
20
|
+
DB_COLUMN_TYPE: {
|
|
21
|
+
NCHAR: 'NCHAR',
|
|
22
|
+
NVARCHAR: 'NVARCHAR',
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 数据库的类型.
|
|
27
|
+
*/
|
|
28
|
+
DB_TYPE: {
|
|
29
|
+
/**
|
|
30
|
+
* 达梦.
|
|
31
|
+
*/
|
|
32
|
+
DM: 'DM',
|
|
33
|
+
MYSQL: 'MYSQL',
|
|
34
|
+
ORACLE: 'ORACLE',
|
|
35
|
+
POSTGRESQL: 'POSTGRESQL',
|
|
36
|
+
SQLITE: 'SQLITE',
|
|
37
|
+
SQLSERVER: 'SQLSERVER',
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
/** @deprecated 已废弃 */
|
|
41
|
+
DESCRIPTION_KEY: {
|
|
42
|
+
/** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__KG */
|
|
43
|
+
KG: 'KG',
|
|
44
|
+
/** @deprecated 已废弃, 请使用 KG.DESCRIPTION_KEY__WEB */
|
|
45
|
+
WEB: 'WEB',
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 依赖注入的键.
|
|
50
|
+
*/
|
|
51
|
+
DI: {
|
|
52
|
+
/**
|
|
53
|
+
* 界面标识.
|
|
54
|
+
*/
|
|
55
|
+
FORM_ID: Symbol('KG.DI.FID') as InjectionKey<string>,
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 唯一标识.
|
|
59
|
+
*/
|
|
60
|
+
ID: Symbol('KG.DI.ID') as InjectionKey<string>,
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 画布.
|
|
64
|
+
*/
|
|
65
|
+
KG_CANVAS: {
|
|
66
|
+
/**
|
|
67
|
+
* 组件参数.
|
|
68
|
+
*/
|
|
69
|
+
PROPS: Symbol('KG.DI.KG_CANVAS.PROPS') as InjectionKey<KgCanvasProps>,
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 表单.
|
|
74
|
+
*/
|
|
75
|
+
KG_FORM: {
|
|
76
|
+
/**
|
|
77
|
+
* <p>依赖注入表单数据对象.</p>
|
|
78
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
79
|
+
*/
|
|
80
|
+
FORM_MODEL: Symbol('KG.DI.KG_FORM.FORM_MODEL') as InjectionKey<ComputedRef<Record<string, any>>>,
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* formRef.
|
|
84
|
+
*/
|
|
85
|
+
FORM_REF: Symbol('KG.DI.KG_FORM.FORM_REF') as InjectionKey<Ref<FormInstance | null>>,
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 表单控件.
|
|
90
|
+
*/
|
|
91
|
+
KG_FORM_ITEM: {
|
|
92
|
+
/**
|
|
93
|
+
* 变量名称.
|
|
94
|
+
*/
|
|
95
|
+
CONTEXT: Symbol('KG.DI.KG_FORM_ITEM.CONTEXT') as InjectionKey<KG_FORM_CONTEXT>,
|
|
96
|
+
/**
|
|
97
|
+
* 变量名称.
|
|
98
|
+
*/
|
|
99
|
+
VAR_NAME: Symbol('KG.DI.KG_FORM_ITEM.VAR_NAME') as InjectionKey<string>,
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 模拟器.
|
|
104
|
+
*/
|
|
105
|
+
KG_SIMULATOR: {
|
|
106
|
+
/**
|
|
107
|
+
* 左下侧面板.
|
|
108
|
+
*/
|
|
109
|
+
PANEL__LEFT_BOTTOM__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.PANEL__LEFT_BOTTOM__TELEPORT_ID') as InjectionKey<string>,
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* 左上侧面板.
|
|
113
|
+
*/
|
|
114
|
+
PANEL__LEFT_TOP__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.PANEL__LEFT_TOP__TELEPORT_ID') as InjectionKey<string>,
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 右下侧面板.
|
|
118
|
+
*/
|
|
119
|
+
PANEL__RIGHT_BOTTOM__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.PANEL__RIGHT_BOTTOM__TELEPORT_ID') as InjectionKey<string>,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* 右上侧面板.
|
|
123
|
+
*/
|
|
124
|
+
PANEL__RIGHT_TOP__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.PANEL__RIGHT_TOP__TELEPORT_ID') as InjectionKey<string>,
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 左下侧工具栏.
|
|
128
|
+
*/
|
|
129
|
+
TOOLBAR__LEFT_BOTTOM__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.TOOLBAR__LEFT_BOTTOM__TELEPORT_ID') as InjectionKey<string>,
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* 左上侧工具栏.
|
|
133
|
+
*/
|
|
134
|
+
TOOLBAR__LEFT_TOP__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.TOOLBAR__LEFT_TOP__TELEPORT_ID') as InjectionKey<string>,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 右下侧工具栏.
|
|
138
|
+
*/
|
|
139
|
+
TOOLBAR__RIGHT_BOTTOM__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.TOOLBAR__RIGHT_BOTTOM__TELEPORT_ID') as InjectionKey<string>,
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 右上侧工具栏.
|
|
143
|
+
*/
|
|
144
|
+
TOOLBAR__RIGHT_TOP__TELEPORT_ID: Symbol('KG.DI.KG_SIMULATOR.TOOLBAR__RIGHT_TOP__TELEPORT_ID') as InjectionKey<string>,
|
|
145
|
+
},
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 变量页面.
|
|
149
|
+
*/
|
|
150
|
+
KG_VAR: {
|
|
151
|
+
/**
|
|
152
|
+
* 注入 kgProps 参数.
|
|
153
|
+
*/
|
|
154
|
+
KG_PROPS: Symbol('KG.DI.KG_VAR.KG_PROPS') as InjectionKey<ComputedRef<IKgProps | undefined>>,
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* 注入 kgSlots 参数.
|
|
158
|
+
*/
|
|
159
|
+
KG_SLOTS: Symbol('KG.DI.KG_VAR.KG_SLOTS') as InjectionKey<IKgSlots | undefined>,
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* 变量配置弹窗.
|
|
164
|
+
*/
|
|
165
|
+
KG_VAR_CONFIG: {
|
|
166
|
+
/**
|
|
167
|
+
* 正在被配置的界面标识.
|
|
168
|
+
*/
|
|
169
|
+
HOST_FORM_ID: Symbol('KG.DI.KG_VAR_CONFIG.HOST_FORM_ID') as InjectionKey<Ref<string | null>>,
|
|
170
|
+
},
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* 「变量配置:查找弹窗」.
|
|
174
|
+
*/
|
|
175
|
+
VAR_CONFIG_LOOKUP: {
|
|
176
|
+
/**
|
|
177
|
+
* 宿主界面标识.
|
|
178
|
+
*/
|
|
179
|
+
HOST_FORM_ID: Symbol('KG.DI.VAR_CONFIG_LOOKUP.HOST_FORM_ID') as InjectionKey<string>,
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* 变量查找编号.
|
|
183
|
+
*/
|
|
184
|
+
LOOKUP_ID: Symbol('KG.DI.VAR_CONFIG_LOOKUP.LOOKUP_ID') as InjectionKey<string>,
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
/** @deprecated 已废弃 */
|
|
189
|
+
DYNAMIC_QUERY_OPERATOR: {
|
|
190
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__BETWEEN */
|
|
191
|
+
BETWEEN: 'BETWEEN',
|
|
192
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__CONTAIN */
|
|
193
|
+
CONTAIN: 'CONTAIN',
|
|
194
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__EMPTY */
|
|
195
|
+
EMPTY: 'EMPTY',
|
|
196
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__END_WITH */
|
|
197
|
+
END_WITH: 'END',
|
|
198
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__EQ */
|
|
199
|
+
EQ: 'EQ',
|
|
200
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__GT */
|
|
201
|
+
GT: 'GT',
|
|
202
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__GTE */
|
|
203
|
+
GTE: 'GTE',
|
|
204
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__IN */
|
|
205
|
+
IN: 'IN',
|
|
206
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__LT */
|
|
207
|
+
LT: 'LT',
|
|
208
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__LTE */
|
|
209
|
+
LTE: 'LTE',
|
|
210
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__NE */
|
|
211
|
+
NE: 'NE',
|
|
212
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__NOT_EMPTY */
|
|
213
|
+
NOT_EMPTY: 'NOT_EMPTY',
|
|
214
|
+
/** @deprecated 已废弃, 请使用 KG.DYNAMIC_QUERY_OPERATOR__START_WITH */
|
|
215
|
+
START_WITH: 'START',
|
|
216
|
+
},
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* 界面标识--环形穿梭车可视化:小车信息汇总.
|
|
220
|
+
*/
|
|
221
|
+
FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV_SUMMARY: 'KgCircleVis.RgvSummary',
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* 界面标识--环形穿梭车可视化:小车:人工创建任务.
|
|
225
|
+
*/
|
|
226
|
+
FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__CREATE_TASK: 'KgCircleVis.Rgv.CreateTask',
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* 界面标识--环形穿梭车可视化:小车:状态.
|
|
230
|
+
*/
|
|
231
|
+
FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__STATUS: 'KgCircleVis.Rgv.Status',
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* 界面标识--环形穿梭车可视化:小车:任务.
|
|
235
|
+
*/
|
|
236
|
+
FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__TASK: 'KgCircleVis.Rgv.Task',
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* 界面标识--环形穿梭车可视化:任务信息汇总.
|
|
240
|
+
*/
|
|
241
|
+
FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__TASK_SUMMARY: 'KgCircleVis.TaskSummary',
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* 界面标识--.
|
|
245
|
+
*/
|
|
246
|
+
FORM_ID__KG_PAGE_DDA__CREATE__BUTTON: 'KgPageDda.Create.Button',
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* 界面标识--模拟器--菜单--场景--新建--环线输送线.
|
|
250
|
+
*/
|
|
251
|
+
FORM_ID__KG_SIMULATOR__MENU__SCENE__CREATE__CIRCULAR_CONVEYOR: 'KgSimulator.Menu.Scene.Create.CircularConveyor',
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 界面标识--模拟器--菜单--场景--打开--环线输送线.
|
|
255
|
+
*/
|
|
256
|
+
FORM_ID__KG_SIMULATOR__MENU__SCENE__OPEN__CIRCULAR_CONVEYOR: 'KgSimulator.Menu.Scene.Open.CircularConveyor',
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* 界面标识--模拟器--面板--属性.
|
|
260
|
+
*/
|
|
261
|
+
FORM_ID__KG_SIMULATOR__PANEL__PROPERTY: 'KgSimulator.Panel.Property',
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* 界面标识--.
|
|
265
|
+
*/
|
|
266
|
+
FORM_ID__KG_SQL_CLIENT__RESULT_TAB: 'KgSqlClient.ResultTab',
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* 界面标识--变量配置弹窗:按钮:按钮管理.
|
|
270
|
+
*/
|
|
271
|
+
FORM_ID__KG_VAR_CONFIG__MODAL__BUTTON__VAR_BUTTON: 'KgVarConfig.Modal.Button.VarButton',
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* 界面标识--.
|
|
275
|
+
*/
|
|
276
|
+
FORM_ID__KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG: 'KgVarConfig.Modal.Table.VarGridConfig',
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 界面标识--工作站选择--工作区.
|
|
280
|
+
*/
|
|
281
|
+
FORM_ID__KG_WORK_STATION__WORK_AREA: 'KgWorkStation.WorkArea',
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* 界面标识--工作站选择--工作站.
|
|
285
|
+
*/
|
|
286
|
+
FORM_ID__KG_WORK_STATION__WORK_STATION: 'KgWorkStation.WorkStation',
|
|
287
|
+
|
|
288
|
+
/** @deprecated 已废弃 */
|
|
289
|
+
HTTP_HEADER: {
|
|
290
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_BUTTON_VAR_NAME */
|
|
291
|
+
KG_BUTTON_VAR_NAME: 'Kg-Button-Var-Name',
|
|
292
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_DB_TYPE */
|
|
293
|
+
KG_DB_TYPE: 'Kg-Db-Type',
|
|
294
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_FORM_ID */
|
|
295
|
+
KG_FORM_ID: 'Kg-Form-Id',
|
|
296
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_IS_DYNAMIC_QUERY */
|
|
297
|
+
KG_IS_DYNAMIC_QUERY: 'Kg-Is-Dynamic-Query',
|
|
298
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_PAGE_INDEX */
|
|
299
|
+
KG_PAGE_INDEX: 'Kg-Page-Index',
|
|
300
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_PAGE_SIZE */
|
|
301
|
+
KG_PAGE_SIZE: 'Kg-Page-Size',
|
|
302
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_OBJECT */
|
|
303
|
+
KG_QUERY_OBJECT: 'Kg-Query-Object',
|
|
304
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_OPERATOR_OBJECT */
|
|
305
|
+
KG_QUERY_OPERATOR_OBJECT: 'Kg-Query-Operator',
|
|
306
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_ORDER_BY_SQL */
|
|
307
|
+
KG_QUERY_ORDER_BY_SQL: 'Kg-Query-Order-By-Sql',
|
|
308
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_OBJECT */
|
|
309
|
+
KG_QUERY_WHERE_OBJECT: 'Kg-Query-Where-Object',
|
|
310
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL */
|
|
311
|
+
KG_QUERY_WHERE_SQL: 'Kg-Query-Where-Sql',
|
|
312
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL_01 */
|
|
313
|
+
KG_QUERY_WHERE_SQL_01: 'Kg-Query-Where-Sql-01',
|
|
314
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL_02 */
|
|
315
|
+
KG_QUERY_WHERE_SQL_02: 'Kg-Query-Where-Sql-02',
|
|
316
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL_03 */
|
|
317
|
+
KG_QUERY_WHERE_SQL_03: 'Kg-Query-Where-Sql-03',
|
|
318
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL_04 */
|
|
319
|
+
KG_QUERY_WHERE_SQL_04: 'Kg-Query-Where-Sql-04',
|
|
320
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_QUERY_WHERE_SQL_05 */
|
|
321
|
+
KG_QUERY_WHERE_SQL_05: 'Kg-Query-Where-Sql-05',
|
|
322
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_WAREHOUSE */
|
|
323
|
+
KG_WAREHOUSE: 'Kg-Warehouse',
|
|
324
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_WORK_AREA */
|
|
325
|
+
KG_WORK_AREA: 'Kg-Work-Area',
|
|
326
|
+
/** @deprecated 已废弃, 请使用 KG.KG.HTTP_HEADER__KG_WORK_STATION */
|
|
327
|
+
KG_WORK_STATION: 'Kg-Work-Station',
|
|
328
|
+
},
|
|
329
|
+
|
|
330
|
+
VAR_CONFIG_CONTROL: {
|
|
331
|
+
/**
|
|
332
|
+
* 表单控件类型.
|
|
333
|
+
* @see VarConfigControl.ctrl_prop
|
|
334
|
+
* @see IKgVarConfigControlControlProperties
|
|
335
|
+
*/
|
|
336
|
+
CONTROL_TYPE: {
|
|
337
|
+
/** 文件上传按钮. */
|
|
338
|
+
BUTTON_UPLOAD: 'BUTTON_UPLOAD',
|
|
339
|
+
|
|
340
|
+
/** 多选框. */
|
|
341
|
+
CHECKBOX: 'CHECKBOX',
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* <p>多选框列表.</p>
|
|
345
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
|
|
346
|
+
*/
|
|
347
|
+
CHECKBOX_GROUP: 'CHECKBOX_GROUP',
|
|
348
|
+
|
|
349
|
+
/** 年月日, 2020-05-01. */
|
|
350
|
+
DATE_DATE: 'DATE_DATE',
|
|
351
|
+
|
|
352
|
+
/** 年月日时分秒, 2020-05-01 11:59:59. */
|
|
353
|
+
DATE_DATETIME: 'DATE_DATETIME',
|
|
354
|
+
|
|
355
|
+
/** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
|
|
356
|
+
DATE_DATETIME_RANGE: 'DATE_DATETIME_RANGE',
|
|
357
|
+
|
|
358
|
+
/** 年月日的范围, [DATE_DATE, DATE_DATE] */
|
|
359
|
+
DATE_DATE_RANGE: 'DATE_DATE_RANGE',
|
|
360
|
+
|
|
361
|
+
DATE_MONTH: 'DATE_MONTH',
|
|
362
|
+
|
|
363
|
+
/** 时分秒, 11:59:59. */
|
|
364
|
+
DATE_TIME: 'DATE_TIME',
|
|
365
|
+
|
|
366
|
+
/** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
|
|
367
|
+
DATE_TIME_RANGE: 'DATE_TIME_RANGE',
|
|
368
|
+
|
|
369
|
+
DATE_WEEK: 'DATE_WEEK',
|
|
370
|
+
|
|
371
|
+
DATE_YEAR: 'DATE_YEAR',
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* <p>图片.</p>
|
|
375
|
+
* <p>点击可以预览.</p>
|
|
376
|
+
*/
|
|
377
|
+
IMAGE: 'IMAGE',
|
|
378
|
+
|
|
379
|
+
/** 单行文本. */
|
|
380
|
+
INPUT: 'INPUT',
|
|
381
|
+
|
|
382
|
+
/** 数字. */
|
|
383
|
+
INPUT_NUMBER: 'INPUT_NUMBER',
|
|
384
|
+
|
|
385
|
+
/** 密码. */
|
|
386
|
+
INPUT_PASSWORD: 'INPUT_PASSWORD',
|
|
387
|
+
|
|
388
|
+
/** 链接. */
|
|
389
|
+
LINK: 'LINK',
|
|
390
|
+
/**
|
|
391
|
+
* <p>单选框列表.</p>
|
|
392
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
|
|
393
|
+
*/
|
|
394
|
+
RADIO_GROUP: 'RADIO_GROUP',
|
|
395
|
+
/**
|
|
396
|
+
* <p>单选下拉列表.<p>
|
|
397
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
|
|
398
|
+
*/
|
|
399
|
+
SELECT: 'SELECT',
|
|
400
|
+
|
|
401
|
+
/** 多选下拉列表. */
|
|
402
|
+
SELECT_MULTIPLE: 'SELECT_MULTIPLE',
|
|
403
|
+
|
|
404
|
+
/** 开关. */
|
|
405
|
+
SWITCH: 'SWITCH',
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* <p>多行文本.</p>
|
|
409
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
|
|
410
|
+
*/
|
|
411
|
+
TEXT_AREA: 'TEXT_AREA',
|
|
412
|
+
},
|
|
413
|
+
},
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* 用于添加的行.
|
|
417
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
418
|
+
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
419
|
+
*/
|
|
420
|
+
__KG__CREATE_ROW_ID__: '__KG__CREATE_ROW_ID__',
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* 用户添加的行.
|
|
424
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
425
|
+
*/
|
|
426
|
+
__KG__CUSTOM_ROW_ID__: '__KG__CUSTOM_ROW_ID__',
|
|
427
|
+
|
|
428
|
+
__KG__NULL__: '__KG__NULL__',
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* 在表格内创建时, 空白行的临时主键.
|
|
432
|
+
*/
|
|
433
|
+
__KG__TABLE_TEMP_ID__: '__KG__TABLE_TEMP_ID__',
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
/** @deprecated 已弃用, 请使用 {@link KG}. */
|
|
437
|
+
const KG_CONST = KG;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* 模块.
|
|
441
|
+
*/
|
|
442
|
+
const KG_APP = {
|
|
443
|
+
/**
|
|
444
|
+
* 系统管理.
|
|
445
|
+
*/
|
|
446
|
+
SYS: 'sys',
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* WCS.
|
|
450
|
+
*/
|
|
451
|
+
WCS: 'wcs',
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* 仓库管理.
|
|
455
|
+
*/
|
|
456
|
+
WMS_BUSINESS_MANAGER: 'business-manager',
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* 数据管理.
|
|
460
|
+
*/
|
|
461
|
+
WMS_DATA_MANAGER: 'data-manager',
|
|
462
|
+
} as const;
|
|
463
|
+
|
|
464
|
+
/** 模块路径前缀. */
|
|
465
|
+
const enum KG_APP_PREFIX {
|
|
466
|
+
/** 数据管理. */
|
|
467
|
+
WMS_DATA_MANAGER = '/wms/data-manager',
|
|
468
|
+
|
|
469
|
+
/** 仓库管理. */
|
|
470
|
+
WMS_BUSINESS_MANAGER = '/wms/business-manager',
|
|
471
|
+
|
|
472
|
+
/** WCS. */
|
|
473
|
+
WCS = '/wcs',
|
|
474
|
+
|
|
475
|
+
/** 系统管理. */
|
|
476
|
+
SYS = '/sys',
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/** 所有模块. */
|
|
480
|
+
const KG_APPS: Array<string> = [KG_APP.WMS_DATA_MANAGER, KG_APP.WMS_BUSINESS_MANAGER, KG_APP.WCS, KG_APP.SYS];
|
|
481
|
+
|
|
482
|
+
/** 所有模块路径前缀. */
|
|
483
|
+
const KG_APP_PREFIXS: Array<KG_APP_PREFIX> = [KG_APP_PREFIX.WMS_DATA_MANAGER, KG_APP_PREFIX.WMS_BUSINESS_MANAGER, KG_APP_PREFIX.WCS, KG_APP_PREFIX.SYS];
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* 表单控件所处环境.
|
|
487
|
+
*/
|
|
488
|
+
const enum KG_FORM_CONTEXT {
|
|
489
|
+
/**
|
|
490
|
+
* 位于查询条件.
|
|
491
|
+
*/
|
|
492
|
+
SEARCH = 'SEARCH',
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 位于提交表单弹窗.
|
|
496
|
+
*/
|
|
497
|
+
SUBMIT = 'SUBMIT',
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* 位于表格内的提交表单.
|
|
501
|
+
*/
|
|
502
|
+
TABLE = 'TABLE',
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* 定制级别.
|
|
507
|
+
*/
|
|
508
|
+
const enum KG_CUSTOM_LEVEL {
|
|
509
|
+
/**
|
|
510
|
+
* 系统.
|
|
511
|
+
*/
|
|
512
|
+
L0 = 0,
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* 用户.
|
|
516
|
+
*/
|
|
517
|
+
L10 = 10,
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* 接口请求方式.
|
|
522
|
+
*/
|
|
523
|
+
enum KG__API_METHOD {
|
|
524
|
+
GET = 'GET',
|
|
525
|
+
POST = 'POST',
|
|
526
|
+
DELETE = 'DELETE',
|
|
527
|
+
PUT = 'PUT',
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* 表格单元格的显示类型.
|
|
532
|
+
* @see VarGridDetail.display_type_properties
|
|
533
|
+
* @see IKgVarGridDetailDisplayTypeProperties
|
|
534
|
+
*/
|
|
535
|
+
const KG__VAR_GRID_DETAIL__DISPLAY_TYPE = {
|
|
536
|
+
/**
|
|
537
|
+
* <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
|
|
538
|
+
* <p>
|
|
539
|
+
* 描述的来源有 2 种, 按优先级从高到低依次为:
|
|
540
|
+
* <ul>
|
|
541
|
+
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 不为空, 则描述来源于系统描述表, 并且默认的 codeValue 就是该列的值,</li>
|
|
542
|
+
* <li>
|
|
543
|
+
* <p>否则, 描述来源于描述列.</p>
|
|
544
|
+
* <p>默认情况下, 描述列的列名为原始列的列名加上 _dsc 或者 Dsc 后缀, 比如原始列的列名为 xyz, 则描述列的列名为 xyz_dsc 或者 xyzDsc, 可以通过 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 将描述列的列名配置为其他值,</p>
|
|
545
|
+
* </li>
|
|
546
|
+
* </ul>
|
|
547
|
+
* </p>
|
|
548
|
+
*/
|
|
549
|
+
DESC: 'DESC',
|
|
550
|
+
|
|
551
|
+
/** {@link DESC} + {@link UPDATE_LINK}. */
|
|
552
|
+
DESC__UPDATE_LINK: 'DESC,UPDATE_LINK',
|
|
553
|
+
|
|
554
|
+
/** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
|
|
555
|
+
FILE_SIZE: 'FILE_SIZE',
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* <p>图标, 使用 iconify 进行渲染.</p>
|
|
559
|
+
*/
|
|
560
|
+
ICON: 'ICON',
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* <p>图片, 可以点击预览大图.</p>
|
|
564
|
+
*/
|
|
565
|
+
IMAGE: 'IMAGE',
|
|
566
|
+
|
|
567
|
+
/** 进度条, 使用 KgProgressA 组件显示. */
|
|
568
|
+
PROGRESS: 'PROGRESS',
|
|
569
|
+
|
|
570
|
+
/** 超链接, 点击跳转到其他页面. */
|
|
571
|
+
ROUTE_LINK: 'ROUTE_LINK',
|
|
572
|
+
|
|
573
|
+
/** 超链接, 点击打开更新弹窗. */
|
|
574
|
+
UPDATE_LINK: 'UPDATE_LINK',
|
|
575
|
+
|
|
576
|
+
/** 布尔数据, 使用 KgYesOrNo 组件显示. */
|
|
577
|
+
YN: 'YN',
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* 表格单元格的对齐方式.
|
|
582
|
+
*/
|
|
583
|
+
const enum KG__VAR_GRID_DETAIL__ALIGN {
|
|
584
|
+
LEFT = 'left',
|
|
585
|
+
CENTER = 'center',
|
|
586
|
+
RIGHT = 'right',
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* 单击某行时的操作.
|
|
591
|
+
*/
|
|
592
|
+
const enum KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK {
|
|
593
|
+
/**
|
|
594
|
+
* 不做操作.
|
|
595
|
+
*/
|
|
596
|
+
A = 0,
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* 勾选该行, 并取消其他勾选行.
|
|
600
|
+
*/
|
|
601
|
+
B = 1,
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* 勾选该行, 并保留其他勾选行.
|
|
605
|
+
*/
|
|
606
|
+
C = 2,
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/** @deprecated 已弃用, 请使用 {@link KG__VAR_BUTTON__TYPE}. */
|
|
610
|
+
const enum KG_BUTTON_TYPE {
|
|
611
|
+
/** 查询. */
|
|
612
|
+
SEARCH = 'SEARCH',
|
|
613
|
+
|
|
614
|
+
/** 创建. */
|
|
615
|
+
CREATE = 'CREATE',
|
|
616
|
+
|
|
617
|
+
/** 更新. */
|
|
618
|
+
UPDATE = 'UPDATE',
|
|
619
|
+
|
|
620
|
+
/** 复制. */
|
|
621
|
+
COPY = 'COPY',
|
|
622
|
+
|
|
623
|
+
/** 删除. */
|
|
624
|
+
DELETE = 'DELETE',
|
|
625
|
+
|
|
626
|
+
/** 导入. */
|
|
627
|
+
IMPORT = 'IMPORT',
|
|
628
|
+
|
|
629
|
+
/** 下载导入模板. */
|
|
630
|
+
IMPORT_TEMPLATE = 'IMPORT_TEMPLATE',
|
|
631
|
+
|
|
632
|
+
/** 导出. */
|
|
633
|
+
EXPORT = 'EXPORT',
|
|
634
|
+
|
|
635
|
+
/** 其他. */
|
|
636
|
+
OTHER = 'OTHER',
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* 按钮类型.
|
|
641
|
+
*/
|
|
642
|
+
const enum KG__VAR_BUTTON__TYPE {
|
|
643
|
+
/** 查询. */
|
|
644
|
+
SEARCH = 'SEARCH',
|
|
645
|
+
|
|
646
|
+
/** 创建. */
|
|
647
|
+
CREATE = 'CREATE',
|
|
648
|
+
|
|
649
|
+
/** 更新. */
|
|
650
|
+
UPDATE = 'UPDATE',
|
|
651
|
+
|
|
652
|
+
/** 复制. */
|
|
653
|
+
COPY = 'COPY',
|
|
654
|
+
|
|
655
|
+
/** 删除. */
|
|
656
|
+
DELETE = 'DELETE',
|
|
657
|
+
|
|
658
|
+
/** 导入. */
|
|
659
|
+
IMPORT = 'IMPORT',
|
|
660
|
+
|
|
661
|
+
/** 下载导入模板. */
|
|
662
|
+
IMPORT_TEMPLATE = 'IMPORT_TEMPLATE',
|
|
663
|
+
|
|
664
|
+
/** 导出. */
|
|
665
|
+
EXPORT = 'EXPORT',
|
|
666
|
+
|
|
667
|
+
/** 其他. */
|
|
668
|
+
OTHER = 'OTHER',
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* 按钮颜色.
|
|
673
|
+
*/
|
|
674
|
+
const enum KG__VAR_BUTTON__COLOR {
|
|
675
|
+
/**
|
|
676
|
+
* 蓝色.
|
|
677
|
+
*/
|
|
678
|
+
BLUE = 'BLUE',
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* 红色.
|
|
682
|
+
*/
|
|
683
|
+
RED = 'RED',
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* 黄色.
|
|
687
|
+
*/
|
|
688
|
+
YELLOW = 'YELLOW',
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/** 按钮显示方式. */
|
|
692
|
+
const enum KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE {
|
|
693
|
+
/**
|
|
694
|
+
* 按钮依次排列在一横排.
|
|
695
|
+
*/
|
|
696
|
+
DEFAULT = 'DEFAULT',
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* 显示为下拉的菜单列表.
|
|
700
|
+
*/
|
|
701
|
+
SELECT = 'SELECT',
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** 表单显示方式. */
|
|
705
|
+
const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
|
|
706
|
+
/** 弹窗. */
|
|
707
|
+
MODAL = 'MODAL',
|
|
708
|
+
|
|
709
|
+
/** 抽屉. */
|
|
710
|
+
DRAWER = 'DRAWER',
|
|
711
|
+
|
|
712
|
+
/** 在表格内. */
|
|
713
|
+
TABLE = 'TABLE',
|
|
714
|
+
|
|
715
|
+
/** 嵌入页面. */
|
|
716
|
+
INLINE = 'INLINE',
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* 表单布局方式.
|
|
721
|
+
*/
|
|
722
|
+
enum KG__VAR_SUBMIT_CONFIG__LAYOUT {
|
|
723
|
+
/**
|
|
724
|
+
* 垂直.
|
|
725
|
+
*/
|
|
726
|
+
VERTICAL = 'vertical',
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* 水平.
|
|
730
|
+
*/
|
|
731
|
+
HORIZONTAL = 'horizontal',
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* 变量配置:表单输入验证:数据类型.
|
|
736
|
+
*/
|
|
737
|
+
const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
|
|
738
|
+
/**
|
|
739
|
+
* 任意字符.
|
|
740
|
+
*/
|
|
741
|
+
ANY = 'ANY',
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* 整数.
|
|
745
|
+
*/
|
|
746
|
+
INTEGER = 'INTEGER',
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* 小数.
|
|
750
|
+
*/
|
|
751
|
+
FLOAT = 'FLOAT',
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* 英文字母.
|
|
755
|
+
*/
|
|
756
|
+
LETTER = 'LETTER',
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* 大写英文字母.
|
|
760
|
+
*/
|
|
761
|
+
UPPER_CASE_LETTER = 'UPPER_CASE_LETTER',
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* 小写英文字母.
|
|
765
|
+
*/
|
|
766
|
+
LOWER_CASE_LETTER = 'LOWER_CASE_LETTER',
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* JSON.
|
|
770
|
+
*/
|
|
771
|
+
JSON = 'JSON',
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* 变量配置:表单输入验证:验证方式.
|
|
776
|
+
*/
|
|
777
|
+
const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
|
|
778
|
+
/**
|
|
779
|
+
* 配置.
|
|
780
|
+
*/
|
|
781
|
+
OPTIONS = 'OPTIONS',
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* 正则.
|
|
785
|
+
*/
|
|
786
|
+
REGULAR_EXPRESSION = 'REGULAR_EXPRESSION',
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* 变量配置:提示文本:位置.
|
|
791
|
+
*/
|
|
792
|
+
enum KG__VAR_CONFIG_TIP__PLACEMENT {
|
|
793
|
+
/**
|
|
794
|
+
* 在标签的右边, 显示为一个小图标, 鼠标划过时显示弹框.
|
|
795
|
+
*/
|
|
796
|
+
RIGHT = 'RIGHT',
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* 在标签的下面.
|
|
800
|
+
*/
|
|
801
|
+
BOTTOM = 'BOTTOM',
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* 变量配置:下拉列表:数据源的类型.
|
|
806
|
+
*/
|
|
807
|
+
enum KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE {
|
|
808
|
+
API = 'API',
|
|
809
|
+
SQL = 'SQL',
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* 变量配置:下拉列表:值的类型.
|
|
814
|
+
*/
|
|
815
|
+
enum KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE {
|
|
816
|
+
/**
|
|
817
|
+
* 默认类型.
|
|
818
|
+
*/
|
|
819
|
+
DEFAULT = 'DEFAULT',
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* 字符串.
|
|
823
|
+
*/
|
|
824
|
+
STRING = 'STRING',
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* 数字.
|
|
828
|
+
*/
|
|
829
|
+
NUMBER = 'NUMBER',
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* 布尔.
|
|
833
|
+
*/
|
|
834
|
+
BOOLEAN = 'BOOLEAN',
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/** 宽度单位. */
|
|
838
|
+
const enum KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT {
|
|
839
|
+
/**
|
|
840
|
+
* 栅格.
|
|
841
|
+
*/
|
|
842
|
+
SPAN = 'SPAN',
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* 像素.
|
|
846
|
+
*/
|
|
847
|
+
PX = 'PX',
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* 动态参数.
|
|
852
|
+
*/
|
|
853
|
+
const KG__DYNAMIC_PARAM = {
|
|
854
|
+
/**
|
|
855
|
+
* 空字符串.
|
|
856
|
+
*/
|
|
857
|
+
EMPTY_STRING: '{EMPTY_STRING}',
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* 当前语言.
|
|
861
|
+
*/
|
|
862
|
+
LOCALE: '{LOCALE}',
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 当前时间.
|
|
866
|
+
*/
|
|
867
|
+
NOW: '{NOW}',
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* 当前勾选行对应的属性.
|
|
871
|
+
*/
|
|
872
|
+
ROW: '{ROW}',
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* 当前用户.
|
|
876
|
+
*/
|
|
877
|
+
USER: '{USER}',
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* 当前仓库编号.
|
|
881
|
+
*/
|
|
882
|
+
WAREHOUSE: '{WAREHOUSE}',
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* 当前工作区.
|
|
886
|
+
*/
|
|
887
|
+
WORK_AREA: '{WORK_AREA}',
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* 当前工作站.
|
|
891
|
+
*/
|
|
892
|
+
WORK_STATION: '{WORK_STATION}',
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
const KG__DYNAMIC_PARAM_LIST = [
|
|
896
|
+
KG__DYNAMIC_PARAM.EMPTY_STRING,
|
|
897
|
+
KG__DYNAMIC_PARAM.LOCALE,
|
|
898
|
+
KG__DYNAMIC_PARAM.NOW,
|
|
899
|
+
KG__DYNAMIC_PARAM.ROW,
|
|
900
|
+
KG__DYNAMIC_PARAM.USER,
|
|
901
|
+
KG__DYNAMIC_PARAM.WAREHOUSE,
|
|
902
|
+
KG__DYNAMIC_PARAM.WORK_AREA,
|
|
903
|
+
KG__DYNAMIC_PARAM.WORK_STATION,
|
|
904
|
+
];
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* 动态参数, 在首尾添加了 # 字符.
|
|
908
|
+
*/
|
|
909
|
+
const KG__DYNAMIC_PARAM_HASH = {
|
|
910
|
+
/**
|
|
911
|
+
* 空字符串.
|
|
912
|
+
*/
|
|
913
|
+
EMPTY_STRING: KG__DYNAMIC_PARAM.EMPTY_STRING.replace('{', '{#').replace('}', '#}'),
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* 当前语言.
|
|
917
|
+
*/
|
|
918
|
+
LOCALE: KG__DYNAMIC_PARAM.LOCALE.replace('{', '{#').replace('}', '#}'),
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* 当前时间.
|
|
922
|
+
*/
|
|
923
|
+
NOW: KG__DYNAMIC_PARAM.NOW.replace('{', '{#').replace('}', '#}'),
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* 当前勾选行对应的属性.
|
|
927
|
+
*/
|
|
928
|
+
ROW: KG__DYNAMIC_PARAM.ROW.replace('{', '{#').replace('}', '#}'),
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* 当前用户.
|
|
932
|
+
*/
|
|
933
|
+
USER: KG__DYNAMIC_PARAM.USER.replace('{', '{#').replace('}', '#}'),
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* 当前仓库编号.
|
|
937
|
+
*/
|
|
938
|
+
WAREHOUSE: KG__DYNAMIC_PARAM.WAREHOUSE.replace('{', '{#').replace('}', '#}'),
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* 当前工作区.
|
|
942
|
+
*/
|
|
943
|
+
WORK_AREA: KG__DYNAMIC_PARAM.WORK_AREA.replace('{', '{#').replace('}', '#}'),
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* 当前工作站.
|
|
947
|
+
*/
|
|
948
|
+
WORK_STATION: KG__DYNAMIC_PARAM.WORK_STATION.replace('{', '{#').replace('}', '#}'),
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
const KG__DYNAMIC_PARAM_HASH_LIST = [
|
|
952
|
+
KG__DYNAMIC_PARAM_HASH.EMPTY_STRING,
|
|
953
|
+
KG__DYNAMIC_PARAM_HASH.LOCALE,
|
|
954
|
+
KG__DYNAMIC_PARAM_HASH.NOW,
|
|
955
|
+
KG__DYNAMIC_PARAM_HASH.ROW,
|
|
956
|
+
KG__DYNAMIC_PARAM_HASH.USER,
|
|
957
|
+
KG__DYNAMIC_PARAM_HASH.WAREHOUSE,
|
|
958
|
+
KG__DYNAMIC_PARAM_HASH.WORK_AREA,
|
|
959
|
+
KG__DYNAMIC_PARAM_HASH.WORK_STATION,
|
|
960
|
+
];
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* 栅格布局宽度.
|
|
964
|
+
*/
|
|
965
|
+
const enum KG__SPAN {
|
|
966
|
+
_1 = 1,
|
|
967
|
+
_2 = 2,
|
|
968
|
+
_3 = 3,
|
|
969
|
+
_4 = 4,
|
|
970
|
+
_5 = 5,
|
|
971
|
+
_6 = 6,
|
|
972
|
+
_7 = 7,
|
|
973
|
+
_8 = 8,
|
|
974
|
+
_9 = 9,
|
|
975
|
+
_10 = 10,
|
|
976
|
+
_11 = 11,
|
|
977
|
+
_12 = 12,
|
|
978
|
+
_13 = 13,
|
|
979
|
+
_14 = 14,
|
|
980
|
+
_15 = 15,
|
|
981
|
+
_16 = 16,
|
|
982
|
+
_17 = 17,
|
|
983
|
+
_18 = 18,
|
|
984
|
+
_19 = 19,
|
|
985
|
+
_20 = 20,
|
|
986
|
+
_21 = 21,
|
|
987
|
+
_22 = 22,
|
|
988
|
+
_23 = 23,
|
|
989
|
+
_24 = 24,
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* 导出 EXCEL 文件的后缀.
|
|
994
|
+
*/
|
|
995
|
+
const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
|
|
996
|
+
XLS = 'XLS',
|
|
997
|
+
XLSX = 'XLSX',
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/** 系统描述表中的键. */
|
|
1001
|
+
const enum KG_DESCRIPTION_CODE_NAME {
|
|
1002
|
+
/** 是否. */
|
|
1003
|
+
YN = 'yn',
|
|
1004
|
+
/** 表单布局方式. */
|
|
1005
|
+
VAR_SUBMIT_LAYOUT = 'var_submit_layout',
|
|
1006
|
+
/** 栅格布局可选的列. */
|
|
1007
|
+
VAR_SPAN = 'var_span',
|
|
1008
|
+
/** 按钮显示样式. */
|
|
1009
|
+
VAR_BUTTON_DISPLAY_TYPE = 'var_button_display_type',
|
|
1010
|
+
/** 宽度单位. */
|
|
1011
|
+
VAR_WIDTH_UNIT = 'var_width_unit',
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/** @deprecated 已废弃, 请使用 {@linkplain KG.DYNAMIC_QUERY_OPERATOR} */
|
|
1015
|
+
const KG_DYNAMIC_QUERY_OPERATOR = KG.DYNAMIC_QUERY_OPERATOR;
|
|
1016
|
+
|
|
1017
|
+
/** 特殊属性:请求返回的原始响应数据. */
|
|
1018
|
+
const __KG__RESPONSE__ = '__KG__RESPONSE__';
|
|
1019
|
+
|
|
1020
|
+
/** 模块菜单的临时ID:数据管理. */
|
|
1021
|
+
const KG_TMP_MENU_ID__DATA_MANAGER = 'KG_TMP_MENU_ID__DATA_MANAGER';
|
|
1022
|
+
/** 模块菜单的临时ID:仓库管理. */
|
|
1023
|
+
const KG_TMP_MENU_ID__BUSINESS_MANAGER = 'KG_TMP_MENU_ID__BUSINESS_MANAGER';
|
|
1024
|
+
/** 模块菜单的临时ID:WCS. */
|
|
1025
|
+
const KG_TMP_MENU_ID__WCS = 'KG_TMP_MENU_ID__WCS';
|
|
1026
|
+
/** 模块菜单的临时ID:系统配置. */
|
|
1027
|
+
const KG_TMP_MENU_ID__SYS = 'KG_TMP_MENU_ID__SYS';
|
|
1028
|
+
/** 模块菜单的临时ID:PDA. */
|
|
1029
|
+
const KG_TMP_MENU_ID__PDA = 'KG_TMP_MENU_ID__PDA';
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* 按钮确认弹窗的参数.
|
|
1033
|
+
* <p>对应于 {@link VarButton#modal_props} 字段.</p>
|
|
1034
|
+
*/
|
|
1035
|
+
type IKgVarButtonModalProperties = ModalFuncProps & {
|
|
1036
|
+
/** 是否隐藏取消按钮. */
|
|
1037
|
+
kgHideCancelButton?: boolean;
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>额外的配置属性. 对应 {@link VarSubmitConfig#props} 字段.</p>
|
|
1042
|
+
*/
|
|
1043
|
+
interface IKgVarSubmitConfigProperties {
|
|
1044
|
+
/**
|
|
1045
|
+
* 取消按钮.
|
|
1046
|
+
*/
|
|
1047
|
+
cancelButton?: {
|
|
1048
|
+
/**
|
|
1049
|
+
* 是否显示, 默认为 true.
|
|
1050
|
+
*
|
|
1051
|
+
* @default true
|
|
1052
|
+
*/
|
|
1053
|
+
isShow?: boolean;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* 排序, 默认为 1.
|
|
1057
|
+
*
|
|
1058
|
+
* @default 1
|
|
1059
|
+
*/
|
|
1060
|
+
sort?: number;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* <p>取消按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
|
|
1064
|
+
* <p>取消按钮的文本默认为「取消」.</p>
|
|
1065
|
+
*/
|
|
1066
|
+
textVarName?: string;
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* 显示方式.
|
|
1071
|
+
*/
|
|
1072
|
+
displayType?: {
|
|
1073
|
+
INLINE?: {
|
|
1074
|
+
/**
|
|
1075
|
+
* 是否在页面的内容区域全屏, 默认为 false.
|
|
1076
|
+
*
|
|
1077
|
+
* @default false
|
|
1078
|
+
*/
|
|
1079
|
+
isFullscreen?: boolean;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* 是否显示标题, 默认为 false.
|
|
1083
|
+
*
|
|
1084
|
+
* @default false
|
|
1085
|
+
*/
|
|
1086
|
+
isShowTitle?: boolean;
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>要嵌入的页面位置, 是一个 CSS 选择器, 如: #submit-target-xxx.</p>
|
|
1090
|
+
* <p>默认嵌入到表格的底部.</p>
|
|
1091
|
+
*/
|
|
1092
|
+
target?: string;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* 层级, 默认为 3.
|
|
1096
|
+
*
|
|
1097
|
+
* @default 3
|
|
1098
|
+
*/
|
|
1099
|
+
zIndex?: number;
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* 底部按钮区域.
|
|
1105
|
+
*/
|
|
1106
|
+
footer?: {
|
|
1107
|
+
/**
|
|
1108
|
+
* 是否显示, 默认为 true.
|
|
1109
|
+
*
|
|
1110
|
+
* @default true
|
|
1111
|
+
*/
|
|
1112
|
+
isShow?: boolean;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* 确定之后是否关闭弹窗, 默认为 true.
|
|
1117
|
+
*
|
|
1118
|
+
* @default true
|
|
1119
|
+
*/
|
|
1120
|
+
isCloseModalAfterOk?: boolean;
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* 确认按钮.
|
|
1124
|
+
*/
|
|
1125
|
+
okButton?: {
|
|
1126
|
+
/**
|
|
1127
|
+
* 是否显示, 默认为 true.
|
|
1128
|
+
*
|
|
1129
|
+
* @default true
|
|
1130
|
+
*/
|
|
1131
|
+
isShow?: boolean;
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* 排序, 默认为 2.
|
|
1135
|
+
*
|
|
1136
|
+
* @default 2
|
|
1137
|
+
*/
|
|
1138
|
+
sort?: number;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>确认按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
|
|
1142
|
+
* <p>确认按钮的文本默认为「确定」.</p>
|
|
1143
|
+
*/
|
|
1144
|
+
textVarName?: string;
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* <p>额外的配置属性. 对应 {@link VarButton#props} 字段.</p>
|
|
1150
|
+
*/
|
|
1151
|
+
interface IKgVarButtonProperties {
|
|
1152
|
+
/**
|
|
1153
|
+
* 是否显示, 默认为 true.
|
|
1154
|
+
*
|
|
1155
|
+
* @default true
|
|
1156
|
+
*/
|
|
1157
|
+
isVisible?: boolean;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* 文本提示.
|
|
1161
|
+
*/
|
|
1162
|
+
tooltip?: TooltipProps;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>额外的配置属性. 对应 {@link VarButtonConfig#props} 字段.</p>
|
|
1167
|
+
*/
|
|
1168
|
+
interface IKgVarButtonConfigProperties {
|
|
1169
|
+
/**
|
|
1170
|
+
* 是否显示, 默认为 true.
|
|
1171
|
+
*
|
|
1172
|
+
* @default true
|
|
1173
|
+
*/
|
|
1174
|
+
isVisible?: boolean;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* <p>额外的配置属性. 对应 {@link VarChildDetail#props} 字段.</p>
|
|
1179
|
+
*/
|
|
1180
|
+
interface IKgVarChildDetailProperties {}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>额外的配置属性. 对应 {@link VarConfigControl#props} 字段.</p>
|
|
1184
|
+
*/
|
|
1185
|
+
interface IKgVarConfigControlProperties {}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>额外的配置属性. 对应 {@link VarConfigDescription#props} 字段.</p>
|
|
1189
|
+
*/
|
|
1190
|
+
interface IKgVarConfigDescriptionProperties {}
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>额外的配置属性. 对应 {@link VarConfigInput#props} 字段.</p>
|
|
1194
|
+
*/
|
|
1195
|
+
interface IKgVarConfigInputProperties {}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>额外的配置属性. 对应 {@link VarConfigLookup#props} 字段.</p>
|
|
1199
|
+
*/
|
|
1200
|
+
interface IKgVarConfigLookupProperties {
|
|
1201
|
+
/**
|
|
1202
|
+
* 查找弹窗组件的参数.
|
|
1203
|
+
*/
|
|
1204
|
+
KgModal?: KgModalProps;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>额外的配置属性. 对应 {@link VarConfigPossibility#props} 字段.</p>
|
|
1209
|
+
*/
|
|
1210
|
+
interface IKgVarConfigPossibilityProperties {
|
|
1211
|
+
/**
|
|
1212
|
+
* 对于级联查询, 当上级为空时, 是否将列表数据设为空. 即必须先选择上级.
|
|
1213
|
+
*
|
|
1214
|
+
* @default true
|
|
1215
|
+
*/
|
|
1216
|
+
isEmptyIfParentIsNull?: boolean;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* <p>额外的配置属性. 对应 {@link VarConfigTip#props} 字段.</p>
|
|
1221
|
+
*/
|
|
1222
|
+
interface IKgVarConfigTipProperties {}
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* <p>额外的配置属性. 对应 {@link VarDda#props} 字段.</p>
|
|
1226
|
+
*/
|
|
1227
|
+
interface IKgVarDdaProperties {}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* <p>额外的配置属性. 对应 {@link VarGridConfig#props} 字段.</p>
|
|
1231
|
+
*/
|
|
1232
|
+
interface IKgVarGridConfigProperties {
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>是否显示边框, 默认为 false.</p>
|
|
1235
|
+
* <p>对应 {@link Table.bordered} 组件参数.</p>
|
|
1236
|
+
*
|
|
1237
|
+
* @default false
|
|
1238
|
+
*/
|
|
1239
|
+
bordered?: boolean;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* 组件版本, 默认为 '01'.
|
|
1243
|
+
*
|
|
1244
|
+
* @default '01'
|
|
1245
|
+
*/
|
|
1246
|
+
componentVersion?: '01' | '02' | '03';
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>是否禁用某行的勾选框.</p>
|
|
1250
|
+
* <p>该属性的值是一个字符串, 这个字符串会被作为方法体的代码来解析, 即作为 new Function() 构造函数的最后一个参数.</p>
|
|
1251
|
+
* <p>在这个字符串表示的代码中可以访问如下参数:</p>
|
|
1252
|
+
* <ul>
|
|
1253
|
+
* <li>row: 被判断的行,</li>
|
|
1254
|
+
* </ul>
|
|
1255
|
+
* <p>该代码需要返回 true 或者 false, 即表示是否禁用勾选框.</p>
|
|
1256
|
+
*/
|
|
1257
|
+
isCheckboxDisabled?: string;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* 是否显示, 默认为 true.
|
|
1261
|
+
*
|
|
1262
|
+
* @default true
|
|
1263
|
+
*/
|
|
1264
|
+
isVisible?: boolean;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* <p>额外的配置属性. 对应 {@link VarGridDetail#props} 字段.</p>
|
|
1269
|
+
*/
|
|
1270
|
+
interface IKgVarGridDetailProperties {
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>是否进行翻译.</p>
|
|
1273
|
+
* <p>如果为 true, 则把内容作为 i18n 的 key 对内容进行翻译.</p>
|
|
1274
|
+
*
|
|
1275
|
+
* @default false
|
|
1276
|
+
*/
|
|
1277
|
+
isTranslateText?: boolean;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* <p>额外的配置属性. 对应 {@link VarGridMaster#props} 字段.</p>
|
|
1282
|
+
*/
|
|
1283
|
+
interface IKgVarGridMasterProperties {}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* <p>额外的配置属性. 对应 {@link VarProfileConfig#props} 字段.</p>
|
|
1287
|
+
*/
|
|
1288
|
+
interface IKgVarProfileConfigProperties {
|
|
1289
|
+
/**
|
|
1290
|
+
* 高级查询操作符的下拉列表.
|
|
1291
|
+
*/
|
|
1292
|
+
dynamicQueryOperatorSelect?: {
|
|
1293
|
+
/**
|
|
1294
|
+
* <p>显示内容.</p>
|
|
1295
|
+
* <ul>
|
|
1296
|
+
* <li>code: 符号</li>
|
|
1297
|
+
* <li>desc: 描述</li>
|
|
1298
|
+
* <li>both: 前两者都显示</li>
|
|
1299
|
+
* </ul>
|
|
1300
|
+
*
|
|
1301
|
+
* @default 'code'
|
|
1302
|
+
*/
|
|
1303
|
+
labelType?: 'code' | 'desc' | 'both';
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>额外的配置属性. 对应 {@link VarProfileDetail#props} 字段.</p>
|
|
1309
|
+
*/
|
|
1310
|
+
interface IKgVarProfileDetailProperties {
|
|
1311
|
+
/**
|
|
1312
|
+
* 该查询条件属于哪个 WHERE 查询语句.
|
|
1313
|
+
*
|
|
1314
|
+
* @default 'WHERE'
|
|
1315
|
+
*/
|
|
1316
|
+
whereSqlName?: 'WHERE' | 'WHERE01' | 'WHERE02' | 'WHERE03' | 'WHERE04' | 'WHERE05';
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>额外的配置属性. 对应 {@link VarProfileMaster#props} 字段.</p>
|
|
1321
|
+
*/
|
|
1322
|
+
interface IKgVarProfileMasterProperties {}
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* <p>额外的配置属性. 对应 {@link VarSubmitDetail#props} 字段.</p>
|
|
1326
|
+
*/
|
|
1327
|
+
interface IKgVarSubmitDetailProperties {
|
|
1328
|
+
/**
|
|
1329
|
+
* 是否显示文本标签, 默认为 true. 如果为 false 则文本标签不会显示, 但是文本标签外部容器回显示, 即显示空白的占位.
|
|
1330
|
+
*
|
|
1331
|
+
* @default true
|
|
1332
|
+
*/
|
|
1333
|
+
isShowLabel?: boolean;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* 是否显示文本标签外部容器, 默认为 true. 如果为 false 则文本标签不会显示, 并且文本标签外部容器也不会显示.
|
|
1337
|
+
*
|
|
1338
|
+
* @default true
|
|
1339
|
+
*/
|
|
1340
|
+
isShowLabelContainer?: boolean;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* <p>额外的配置属性. 对应 {@link VarVariable#props} 字段.</p>
|
|
1345
|
+
*/
|
|
1346
|
+
interface IKgVarVariableProperties {}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>表单控件的参数.</p>
|
|
1350
|
+
* <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
|
|
1351
|
+
* @see VarConfigControl.ctrl_prop
|
|
1352
|
+
* @see KG.VAR_CONFIG_CONTROL.CONTROL_TYPE
|
|
1353
|
+
*/
|
|
1354
|
+
interface IKgVarConfigControlControlProperties {
|
|
1355
|
+
CHECKBOX: {
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>值的类型.</p>
|
|
1358
|
+
* <ul>
|
|
1359
|
+
* <li>NUMBER: 勾选为 1, 未勾选为 0,</li>
|
|
1360
|
+
* <li>BOOLEAN: 勾选为 true, 未勾选为 false,</li>
|
|
1361
|
+
* </ul>
|
|
1362
|
+
*
|
|
1363
|
+
* @default NUMBER
|
|
1364
|
+
*/
|
|
1365
|
+
dataType?: 'NUMBER' | 'BOOLEAN';
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
CHECKBOX_GROUP: {
|
|
1369
|
+
/**
|
|
1370
|
+
* <p>要排除的数据.</p>
|
|
1371
|
+
* <p>这些数据会从列表数据中移除.</p>
|
|
1372
|
+
*/
|
|
1373
|
+
excludeValues?: Array<any>;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* 是否显示「全选」.
|
|
1377
|
+
*
|
|
1378
|
+
* @default true
|
|
1379
|
+
*/
|
|
1380
|
+
isShowSelectAll?: boolean;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* 数据项的宽度.
|
|
1384
|
+
*
|
|
1385
|
+
* @default 24
|
|
1386
|
+
*/
|
|
1387
|
+
span?: number;
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
DATE_RANGE: {
|
|
1391
|
+
/**
|
|
1392
|
+
* <p>是否允许为空.</p>
|
|
1393
|
+
* <p>参考 <a href="https://3x.antdv.com/components/date-picker#RangePicker">https://3x.antdv.com/components/date-picker#RangePicker</a>.</p>
|
|
1394
|
+
*
|
|
1395
|
+
* @default [false, false]
|
|
1396
|
+
*/
|
|
1397
|
+
allowEmpty?: [boolean, boolean];
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
IMAGE: {
|
|
1401
|
+
/**
|
|
1402
|
+
* 高度.
|
|
1403
|
+
*
|
|
1404
|
+
* @default 100
|
|
1405
|
+
*/
|
|
1406
|
+
height?: number;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* 宽度.
|
|
1410
|
+
*
|
|
1411
|
+
* @default 100
|
|
1412
|
+
*/
|
|
1413
|
+
width?: number;
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
RADIO_GROUP: {
|
|
1417
|
+
/**
|
|
1418
|
+
* 数据项的宽度.
|
|
1419
|
+
* @default 24
|
|
1420
|
+
*/
|
|
1421
|
+
span?: number;
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
SELECT: {
|
|
1425
|
+
/**
|
|
1426
|
+
* <p>是否允许清空.</p>
|
|
1427
|
+
*
|
|
1428
|
+
* @default true
|
|
1429
|
+
*/
|
|
1430
|
+
allowClear?: boolean;
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
SWITCH: {
|
|
1434
|
+
/**
|
|
1435
|
+
* <p>值的类型.</p>
|
|
1436
|
+
* <ul>
|
|
1437
|
+
* <li>NUMBER: 勾选为 1, 未勾选为 0,</li>
|
|
1438
|
+
* <li>BOOLEAN: 勾选为 true, 未勾选为 false,</li>
|
|
1439
|
+
* </ul>
|
|
1440
|
+
*
|
|
1441
|
+
* @default NUMBER
|
|
1442
|
+
*/
|
|
1443
|
+
dataType?: 'NUMBER' | 'BOOLEAN';
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
TEXT_AREA: {
|
|
1447
|
+
/**
|
|
1448
|
+
* 文本框的高度.
|
|
1449
|
+
* @default 5
|
|
1450
|
+
*/
|
|
1451
|
+
rows?: number;
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* 对应的是 {@link VarGridDetail.display_type_properties} 字段, 根据显示类型, 设置额外的参数.
|
|
1457
|
+
*
|
|
1458
|
+
* @see VarGridDetail.display_type_properties
|
|
1459
|
+
* @see KG__VAR_GRID_DETAIL__DISPLAY_TYPE
|
|
1460
|
+
*/
|
|
1461
|
+
interface IKgVarGridDetailDisplayTypeProperties {
|
|
1462
|
+
DESC: {
|
|
1463
|
+
description?: {
|
|
1464
|
+
/**
|
|
1465
|
+
* <p>对应的是 {@link Description.codnam}.</p>
|
|
1466
|
+
* <p>当该配置项不为空时, 表示描述来自于系统描述表, 否则来自于 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 对应的列.<p>
|
|
1467
|
+
*/
|
|
1468
|
+
codeName?: string;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>对应的是 {@link Description.codval}.</p>
|
|
1472
|
+
* <p>默认值为该列的值.</p>
|
|
1473
|
+
* <p>
|
|
1474
|
+
* 可以是一个 JS 表达式, 组件库会解析该表达式, 并得到真正的值. 比如表达式 \`${row.id}\` 表示获取该行的 id 列的值. 表达式中可以使用下列变量:
|
|
1475
|
+
* <ul>
|
|
1476
|
+
* <li>row: 表示该行数据,</li>
|
|
1477
|
+
* </ul>
|
|
1478
|
+
* </p>
|
|
1479
|
+
*/
|
|
1480
|
+
codeValue?: string;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>是否延迟获取系统描述数据.</p>
|
|
1484
|
+
* <p>默认情况下, 在页面加载后会立即获取 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 对应的系统描述数据. 这种场景适合数据较少的枚举数据.</p>
|
|
1485
|
+
* <p>如果描述数据特别多, 比如每一行的描述都不一样, 则可以将该配置项的值配置为 true, 表示会在表格每次查询的时候, 才去请求这些列表数据对应的系统描述数据.</p>
|
|
1486
|
+
*
|
|
1487
|
+
* @default false
|
|
1488
|
+
*/
|
|
1489
|
+
isDefer?: boolean;
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>默认情况下, 当原始列的列名为 xyz 时, 描述列的列名为 xyz_dsc 或者 xyzDsc.</p>
|
|
1494
|
+
* <p>通过该配置项可以将描述列的列名配置为其他值.</p>
|
|
1495
|
+
* @default <列名>_dsc 或者 <列名>Dsc
|
|
1496
|
+
*/
|
|
1497
|
+
dscFieldName?: string;
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* 是否显示为一个 Tag 标签.
|
|
1501
|
+
* @default false
|
|
1502
|
+
*/
|
|
1503
|
+
isTag?: boolean;
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* <ul>
|
|
1507
|
+
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么,</li>
|
|
1508
|
+
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 false, 则此属性会被忽略,</li>
|
|
1509
|
+
* </ul>
|
|
1510
|
+
*/
|
|
1511
|
+
tagColors?: Array<{
|
|
1512
|
+
/** 值. */
|
|
1513
|
+
value: any;
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* 颜色.
|
|
1517
|
+
* @default 'default'
|
|
1518
|
+
*/
|
|
1519
|
+
color?: string;
|
|
1520
|
+
}>;
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
FILE_SIZE: {};
|
|
1524
|
+
|
|
1525
|
+
ICON: {};
|
|
1526
|
+
|
|
1527
|
+
IMAGE: {
|
|
1528
|
+
/**
|
|
1529
|
+
* 宽度.
|
|
1530
|
+
*
|
|
1531
|
+
* @default 29
|
|
1532
|
+
*/
|
|
1533
|
+
width?: number;
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* 宽度.
|
|
1537
|
+
*
|
|
1538
|
+
* @default 29
|
|
1539
|
+
*/
|
|
1540
|
+
height?: number;
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
PROGRESS: {
|
|
1544
|
+
/** 左侧数值对应的列. */
|
|
1545
|
+
leftColumn: string;
|
|
1546
|
+
|
|
1547
|
+
/** 右侧数值对应的列. */
|
|
1548
|
+
rightColumn: string;
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* 右侧文本的宽度. 例如: "100px".
|
|
1552
|
+
* @default 'auto'
|
|
1553
|
+
*/
|
|
1554
|
+
textWidth?: 'auto' | string;
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
ROUTE_LINK: {
|
|
1558
|
+
/** 要跳转的路由地址. */
|
|
1559
|
+
path: string;
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
|
+
UPDATE_LINK: {};
|
|
1563
|
+
|
|
1564
|
+
YN: {
|
|
1565
|
+
/**
|
|
1566
|
+
* 显示为'否'的值.
|
|
1567
|
+
* @default 0
|
|
1568
|
+
*/
|
|
1569
|
+
nValue?: any;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* 是否将 null/undefined 当成 false.
|
|
1573
|
+
* @default false
|
|
1574
|
+
*/
|
|
1575
|
+
nilAsFalse?: boolean;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* 显示为'是'的值.
|
|
1579
|
+
* @default 1
|
|
1580
|
+
*/
|
|
1581
|
+
yValue?: any;
|
|
1582
|
+
};
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* 状态管理类型定义.
|
|
1587
|
+
*/
|
|
1588
|
+
type IKgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & { $onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void };
|
|
1589
|
+
|
|
1590
|
+
/** @deprecated 已废弃, 请使用 {@link KG} */
|
|
1591
|
+
const KG_COMMON_CONST = {
|
|
1592
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CREATE_ROW_ID__} */
|
|
1593
|
+
__KG__CREATE_ROW_ID__: '__KG__CREATE_ROW_ID__',
|
|
1594
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CUSTOM_ROW_ID__} */
|
|
1595
|
+
__KG__CUSTOM_ROW_ID__: '__KG__CUSTOM_ROW_ID__',
|
|
1596
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__NULL__} */
|
|
1597
|
+
__KG__NULL__: '__KG__NULL__',
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__TABLE_TEMP_ID__} */
|
|
1601
|
+
const KG_TABLE_TEMP_ID = '__KG__TABLE_TEMP_ID__';
|
|
1602
|
+
|
|
1603
|
+
/** @deprecated 已废弃, 请使用 {@link KG} */
|
|
1604
|
+
const FORM_IDS = {
|
|
1605
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV_SUMMARY} */
|
|
1606
|
+
KG_CIRCULAR_SHUTTLE_MONITOR__RGV_SUMMARY: 'KgCircleVis.RgvSummary',
|
|
1607
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__CREATE_TASK} */
|
|
1608
|
+
KG_CIRCULAR_SHUTTLE_MONITOR__RGV__CREATE_TASK: 'KgCircleVis.Rgv.CreateTask',
|
|
1609
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__STATUS} */
|
|
1610
|
+
KG_CIRCULAR_SHUTTLE_MONITOR__RGV__STATUS: 'KgCircleVis.Rgv.Status',
|
|
1611
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__RGV__TASK} */
|
|
1612
|
+
KG_CIRCULAR_SHUTTLE_MONITOR__RGV__TASK: 'KgCircleVis.Rgv.Task',
|
|
1613
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_CIRCULAR_SHUTTLE_MONITOR__TASK_SUMMARY} */
|
|
1614
|
+
KG_CIRCULAR_SHUTTLE_MONITOR__TASK_SUMMARY: 'KgCircleVis.TaskSummary',
|
|
1615
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_PAGE_DDA__CREATE__BUTTON} */
|
|
1616
|
+
KG_PAGE_DDA__CREATE__BUTTON: 'KgPageDda.Create.Button',
|
|
1617
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_SIMULATOR__MENU__SCENE__CREATE__CIRCULAR_CONVEYOR} */
|
|
1618
|
+
KG_SIMULATOR__MENU__SCENE__CREATE__CIRCULAR_CONVEYOR: 'KgSimulator.Menu.Scene.Create.CircularConveyor',
|
|
1619
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_SIMULATOR__MENU__SCENE__OPEN__CIRCULAR_CONVEYOR} */
|
|
1620
|
+
KG_SIMULATOR__MENU__SCENE__OPEN__CIRCULAR_CONVEYOR: 'KgSimulator.Menu.Scene.Open.CircularConveyor',
|
|
1621
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_SIMULATOR__PANEL__PROPERTY} */
|
|
1622
|
+
KG_SIMULATOR__PANEL__PROPERTY: 'KgSimulator.Panel.Property',
|
|
1623
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_SQL_CLIENT__RESULT_TAB} */
|
|
1624
|
+
KG_SQL_CLIENT__RESULT_TAB: 'KgSqlClient.ResultTab',
|
|
1625
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_VAR_CONFIG__MODAL__BUTTON__VAR_BUTTON} */
|
|
1626
|
+
KG_VAR_CONFIG__MODAL__BUTTON__VAR_BUTTON: 'KgVarConfig.Modal.Button.VarButton',
|
|
1627
|
+
/** @deprecated 已废弃, 请使用 {@link KG.FORM_ID__KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG} */
|
|
1628
|
+
KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG: 'KgVarConfig.Modal.Table.VarGridConfig',
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
export {
|
|
1632
|
+
KG,
|
|
1633
|
+
KG_APP,
|
|
1634
|
+
KG_APP_PREFIX,
|
|
1635
|
+
KG_APPS,
|
|
1636
|
+
KG_APP_PREFIXS,
|
|
1637
|
+
KG_FORM_CONTEXT,
|
|
1638
|
+
KG_CUSTOM_LEVEL,
|
|
1639
|
+
KG__API_METHOD,
|
|
1640
|
+
KG__VAR_GRID_DETAIL__DISPLAY_TYPE,
|
|
1641
|
+
KG__VAR_GRID_DETAIL__ALIGN,
|
|
1642
|
+
KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK,
|
|
1643
|
+
KG_BUTTON_TYPE,
|
|
1644
|
+
KG__VAR_BUTTON__TYPE,
|
|
1645
|
+
KG__VAR_BUTTON__COLOR,
|
|
1646
|
+
KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE,
|
|
1647
|
+
KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE,
|
|
1648
|
+
KG__VAR_SUBMIT_CONFIG__LAYOUT,
|
|
1649
|
+
KG__VAR_CONFIG_INPUT__DATA_TYPE,
|
|
1650
|
+
KG__VAR_CONFIG_INPUT__VALIDATION_TYPE,
|
|
1651
|
+
KG__VAR_CONFIG_TIP__PLACEMENT,
|
|
1652
|
+
KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE,
|
|
1653
|
+
KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE,
|
|
1654
|
+
KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT,
|
|
1655
|
+
KG__DYNAMIC_PARAM,
|
|
1656
|
+
KG__DYNAMIC_PARAM_LIST,
|
|
1657
|
+
KG__DYNAMIC_PARAM_HASH,
|
|
1658
|
+
KG__DYNAMIC_PARAM_HASH_LIST,
|
|
1659
|
+
KG__SPAN,
|
|
1660
|
+
KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX,
|
|
1661
|
+
KG_DESCRIPTION_CODE_NAME,
|
|
1662
|
+
__KG__RESPONSE__,
|
|
1663
|
+
KG_TMP_MENU_ID__DATA_MANAGER,
|
|
1664
|
+
KG_TMP_MENU_ID__BUSINESS_MANAGER,
|
|
1665
|
+
KG_TMP_MENU_ID__WCS,
|
|
1666
|
+
KG_TMP_MENU_ID__SYS,
|
|
1667
|
+
KG_TMP_MENU_ID__PDA,
|
|
1668
|
+
type IKgVarButtonModalProperties,
|
|
1669
|
+
type IKgVarSubmitConfigProperties,
|
|
1670
|
+
type IKgVarButtonProperties,
|
|
1671
|
+
type IKgVarButtonConfigProperties,
|
|
1672
|
+
type IKgVarChildDetailProperties,
|
|
1673
|
+
type IKgVarConfigDescriptionProperties,
|
|
1674
|
+
type IKgVarConfigInputProperties,
|
|
1675
|
+
type IKgVarConfigLookupProperties,
|
|
1676
|
+
type IKgVarConfigPossibilityProperties,
|
|
1677
|
+
type IKgVarConfigTipProperties,
|
|
1678
|
+
type IKgVarDdaProperties,
|
|
1679
|
+
type IKgVarGridConfigProperties,
|
|
1680
|
+
type IKgVarGridDetailProperties,
|
|
1681
|
+
type IKgVarGridMasterProperties,
|
|
1682
|
+
type IKgVarProfileConfigProperties,
|
|
1683
|
+
type IKgVarProfileDetailProperties,
|
|
1684
|
+
type IKgVarProfileMasterProperties,
|
|
1685
|
+
type IKgVarSubmitDetailProperties,
|
|
1686
|
+
type IKgVarVariableProperties,
|
|
1687
|
+
type IKgVarConfigControlControlProperties,
|
|
1688
|
+
type IKgVarGridDetailDisplayTypeProperties,
|
|
1689
|
+
type IKgStoreDefinition,
|
|
1690
|
+
KG_CONST,
|
|
1691
|
+
KG_DYNAMIC_QUERY_OPERATOR,
|
|
1692
|
+
KG_COMMON_CONST,
|
|
1693
|
+
KG_TABLE_TEMP_ID,
|
|
1694
|
+
FORM_IDS,
|
|
1695
|
+
};
|