@kengic/vue 0.30.1-beta.83 → 0.30.1-beta.85
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/KgWorkStation/index.ts +3 -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 +10 -64
- 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/config/themeConfig.ts +67 -0
- package/project/build/generate/generateModifyVars.ts +40 -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/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.8d38a0f9.mjs +0 -8
- package/dist/align-left-outlined.579b01c6.mjs +0 -8
- package/dist/audit-outlined.4555f723.mjs +0 -8
- package/dist/bubble-loading.cd2fe007.mjs +0 -8
- package/dist/bulb-outlined.a5bf22d8.mjs +0 -8
- package/dist/card-text-outline.6e053122.mjs +0 -8
- package/dist/caret-down-outlined.c0564a3f.mjs +0 -8
- package/dist/caret-left-outlined.35b1d7d1.mjs +0 -8
- package/dist/caret-right-filled.dbbda237.mjs +0 -8
- package/dist/caret-right-outlined-Btgsw6a_.0434903b.mjs +0 -8
- package/dist/caret-right-outlined.12fe6699.mjs +0 -8
- package/dist/caret-up-outlined.81b559ad.mjs +0 -8
- package/dist/check-box-outline-blank.d01a2055.mjs +0 -8
- package/dist/check-circle-outlined.b219949f.mjs +0 -8
- package/dist/check-outlined.59c42074.mjs +0 -8
- package/dist/check-square-outlined.233589d8.mjs +0 -8
- package/dist/checkbox-indeterminate.e5386a53.mjs +0 -8
- package/dist/clock-circle-outline.b9d0b3dc.mjs +0 -8
- package/dist/close-circle-outlined.85f75690.mjs +0 -8
- package/dist/close-outlined-DMcSQWxQ.5c3bee6f.mjs +0 -8
- package/dist/close-outlined.5757472a.mjs +0 -8
- package/dist/collapse-all-rounded.26ee73fc.mjs +0 -8
- package/dist/control-outlined.d66ac4d2.mjs +0 -8
- package/dist/copy-filled.a3dcd299.mjs +0 -8
- package/dist/copy-outlined.6a695d8a.mjs +0 -8
- package/dist/delete-outlined.20afb717.mjs +0 -8
- package/dist/delete-twotone.1d40696a.mjs +0 -8
- package/dist/double-right-outlined.f057a6b2.mjs +0 -8
- package/dist/down-circle-outlined.8ba93393.mjs +0 -8
- package/dist/download-outlined.e78b5364.mjs +0 -8
- package/dist/edit-outlined.0aae2217.mjs +0 -8
- package/dist/edit-twotone.67c952fa.mjs +0 -8
- package/dist/email-resend-outline.780506de.mjs +0 -8
- package/dist/exception-outlined.8c0003a2.mjs +0 -8
- package/dist/exclamation-circle-outlined-DZrXCnvM.d94561db.mjs +0 -8
- package/dist/expand-all-rounded.e01e6cb9.mjs +0 -8
- package/dist/eye-invisible-outlined.5f8d6151.mjs +0 -8
- package/dist/eye-outlined.b25b4d28.mjs +0 -8
- package/dist/file-text-outline.2fbccab6.mjs +0 -8
- package/dist/fit-screen-outline.7341560f.mjs +0 -8
- package/dist/fullscreen-exit-outlined-X1iYkFc4.a1640595.mjs +0 -8
- package/dist/fullscreen-exit-outlined.b77fa876.mjs +0 -8
- package/dist/fullscreen-outlined-DDBrsRcy.b9f9d4a1.mjs +0 -8
- package/dist/fullscreen-outlined.cd572ef8.mjs +0 -8
- package/dist/holder-outlined.9e698750.mjs +0 -8
- package/dist/index.css +0 -1
- package/dist/info-circle-outlined.7ddbd554.mjs +0 -8
- package/dist/kengic-vue.js +0 -224292
- package/dist/key-return-thin.ce6f074c.mjs +0 -8
- package/dist/loading-outlined.13a15197.mjs +0 -8
- package/dist/more-outlined.8e1202ac.mjs +0 -8
- package/dist/one-to-one-outlined.ac265beb.mjs +0 -8
- package/dist/palette-swatch-variant.f7258843.mjs +0 -8
- package/dist/partition-outlined.1bcf4f37.mjs +0 -8
- package/dist/pause-circle-outlined.cd534f5f.mjs +0 -8
- package/dist/pause-outlined.fca0d0f9.mjs +0 -8
- package/dist/pause-rounded.1ed7cc39.mjs +0 -8
- package/dist/play-arrow-rounded.90fc4173.mjs +0 -8
- package/dist/plus-outlined.bdaa6481.mjs +0 -8
- package/dist/printer-outlined.a8d0d92b.mjs +0 -8
- package/dist/profile-outlined.1059fb0d.mjs +0 -8
- package/dist/project/build/config/themeConfig.ts +0 -67
- 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.8c1ba629.mjs +0 -8
- package/dist/reload-outlined.d320578b.mjs +0 -8
- package/dist/retweet-outlined.bfa9b123.mjs +0 -8
- package/dist/save-as-outline-rounded.c65d61b2.mjs +0 -8
- package/dist/save-outline-rounded.c9c3f880.mjs +0 -8
- package/dist/search-outlined-Od1M_oxf.71fb0c01.mjs +0 -8
- package/dist/search-outlined.ba5c5a3f.mjs +0 -8
- package/dist/setting-outlined.a3caf743.mjs +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/KgYesOrNo/KgYesOrNo.d.ts +0 -60
- package/dist/src/component/index.d.ts +0 -21
- package/dist/src/config/config.hooks.d.ts +0 -10
- package/dist/src/config/config.store.d.ts +0 -307
- package/dist/src/config/index.d.ts +0 -63
- package/dist/src/const/const.model.d.ts +0 -1768
- package/dist/src/const/form-id.const.d.ts +0 -44
- package/dist/src/const/index.d.ts +0 -2
- 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/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/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 -349
- package/dist/src/util/tsx.helper.d.ts +0 -23
- package/dist/stop-outlined.9f2c4f61.mjs +0 -8
- package/dist/stop.ea3dde55.mjs +0 -8
- package/dist/three-dots-loading-bIlrTJYR.f189f620.mjs +0 -8
- package/dist/upload-outlined.c576b26a.mjs +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/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/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/index.d.ts → project/index.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
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const getProps: () => {
|
|
3
|
-
/**
|
|
4
|
-
* 行数.
|
|
5
|
-
* @default 0
|
|
6
|
-
*/
|
|
7
|
-
kgTotal: {
|
|
8
|
-
type: PropType<number>;
|
|
9
|
-
default: number;
|
|
10
|
-
};
|
|
11
|
-
/** 是否显示'清空'按钮. */
|
|
12
|
-
kgShowClearCheck: PropType<boolean>;
|
|
13
|
-
/** 是否显示'清空表格'按钮. */
|
|
14
|
-
kgShowClearTable: PropType<boolean>;
|
|
15
|
-
/** 是否禁用. */
|
|
16
|
-
kgDisabled: PropType<boolean>;
|
|
17
|
-
/** 是否显示'定位'按钮. */
|
|
18
|
-
kgShowLocate: PropType<boolean>;
|
|
19
|
-
};
|
|
20
|
-
declare const _default: import("vue").DefineComponent<{
|
|
21
|
-
/**
|
|
22
|
-
* 行数.
|
|
23
|
-
* @default 0
|
|
24
|
-
*/
|
|
25
|
-
kgTotal: {
|
|
26
|
-
type: PropType<number>;
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
/** 是否显示'清空'按钮. */
|
|
30
|
-
kgShowClearCheck: PropType<boolean>;
|
|
31
|
-
/** 是否显示'清空表格'按钮. */
|
|
32
|
-
kgShowClearTable: PropType<boolean>;
|
|
33
|
-
/** 是否禁用. */
|
|
34
|
-
kgDisabled: PropType<boolean>;
|
|
35
|
-
/** 是否显示'定位'按钮. */
|
|
36
|
-
kgShowLocate: PropType<boolean>;
|
|
37
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
/**
|
|
39
|
-
* 行数.
|
|
40
|
-
* @default 0
|
|
41
|
-
*/
|
|
42
|
-
kgTotal: {
|
|
43
|
-
type: PropType<number>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
/** 是否显示'清空'按钮. */
|
|
47
|
-
kgShowClearCheck: PropType<boolean>;
|
|
48
|
-
/** 是否显示'清空表格'按钮. */
|
|
49
|
-
kgShowClearTable: PropType<boolean>;
|
|
50
|
-
/** 是否禁用. */
|
|
51
|
-
kgDisabled: PropType<boolean>;
|
|
52
|
-
/** 是否显示'定位'按钮. */
|
|
53
|
-
kgShowLocate: PropType<boolean>;
|
|
54
|
-
}>>, {
|
|
55
|
-
kgTotal: number;
|
|
56
|
-
}>;
|
|
57
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save";
|
|
2
|
-
export declare const KgTableSettingVarGridMasterSaveAs: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
3
|
-
onKgClose?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
}, {}>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const getProps: () => {
|
|
3
|
-
kgIsDisable: {
|
|
4
|
-
type: PropType<boolean>;
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const KgTableSetting: import("vue").DefineComponent<{
|
|
9
|
-
kgIsDisable: {
|
|
10
|
-
type: PropType<boolean>;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
kgIsDisable: {
|
|
15
|
-
type: PropType<boolean>;
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
|
-
}>>, {
|
|
19
|
-
kgIsDisable: boolean;
|
|
20
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { VarGridDetail } from '../../api/WMS/models';
|
|
3
|
-
export declare type IUseServices = {
|
|
4
|
-
/**
|
|
5
|
-
* 用于表格的列下拉列表, 根据关键字搜索某列, 如果匹配就显示该列, 否则隐藏该列.
|
|
6
|
-
* 匹配时忽略大小写.
|
|
7
|
-
* @param varGridDetail
|
|
8
|
-
* @param key 关键字.
|
|
9
|
-
*/
|
|
10
|
-
filterVarGridDetailByKey: (varGridDetail: VarGridDetail, key?: string | null) => boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare function _useServices(): IUseServices;
|
|
13
|
-
/** 监控表格列的下拉列表的尺寸变化, 从而调整位置, 防止遮盖. */
|
|
14
|
-
export declare function _useObserveMenuItemColumns(isMenuItemColumnsVisible: Ref<boolean>): void;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @param param.columnsRef 宿主页面标识.
|
|
18
|
-
* @param param.varGridDetails 字段列表.
|
|
19
|
-
*/
|
|
20
|
-
export declare function _useDragToSortRow(param: {
|
|
21
|
-
columnsRef: Ref<HTMLUListElement | null>;
|
|
22
|
-
}): {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { RowClassName } from 'ant-design-vue/es/vc-table/interface';
|
|
2
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import './KgTable.less';
|
|
4
|
-
export declare const getProps: () => {
|
|
5
|
-
/** 是否禁用某行的勾选框. */
|
|
6
|
-
kgIsCheckboxDisabled: PropType<(row: any) => boolean>;
|
|
7
|
-
/** 是否禁用表格. */
|
|
8
|
-
kgDisabled: {
|
|
9
|
-
type: PropType<boolean>;
|
|
10
|
-
default: undefined;
|
|
11
|
-
};
|
|
12
|
-
/** 设置行的样式类名. */
|
|
13
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
|
14
|
-
};
|
|
15
|
-
export declare type IKgTableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
16
|
-
declare const _default: import("vue").DefineComponent<{
|
|
17
|
-
/** 是否禁用某行的勾选框. */
|
|
18
|
-
kgIsCheckboxDisabled: PropType<(row: any) => boolean>;
|
|
19
|
-
/** 是否禁用表格. */
|
|
20
|
-
kgDisabled: {
|
|
21
|
-
type: PropType<boolean>;
|
|
22
|
-
default: undefined;
|
|
23
|
-
};
|
|
24
|
-
/** 设置行的样式类名. */
|
|
25
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
|
26
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
27
|
-
/** 是否禁用某行的勾选框. */
|
|
28
|
-
kgIsCheckboxDisabled: PropType<(row: any) => boolean>;
|
|
29
|
-
/** 是否禁用表格. */
|
|
30
|
-
kgDisabled: {
|
|
31
|
-
type: PropType<boolean>;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
/** 设置行的样式类名. */
|
|
35
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
|
36
|
-
}>>, {
|
|
37
|
-
kgDisabled: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
export default _default;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { IKgEventListener } from '@kengic/core.core';
|
|
2
|
-
import { AxiosResponse } from 'axios';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
|
-
import { IPage } from '../../api/WMS/models';
|
|
5
|
-
import { IKgTableRow } from './KgTable.model';
|
|
6
|
-
/**
|
|
7
|
-
* 事件类型.
|
|
8
|
-
*/
|
|
9
|
-
export declare type IKgTableEvent = 'onReady' | 'onRowDoubleClick' | 'onBeforeParseRequestParameter' | 'onBeforeRequest' | 'onBeforeTransformDatas' | 'onBeforeSetDatas' | 'onAfterRequest' | 'onRequestError';
|
|
10
|
-
export declare type IKgTable$EventListenerParameter$onReady = {};
|
|
11
|
-
export declare type IKgTable$EventListener$onReady = ((param: IKgTable$EventListenerParameter$onReady) => Promise<boolean>) & IKgEventListener;
|
|
12
|
-
export declare type IKgTable$EventListenerParameter$onRowDoubleClick = {
|
|
13
|
-
/** 双击的行. */
|
|
14
|
-
row: IKgTableRow;
|
|
15
|
-
};
|
|
16
|
-
export declare type IKgTable$EventListener$onRowDoubleClick = ((param: IKgTable$EventListenerParameter$onRowDoubleClick) => Promise<boolean>) & IKgEventListener;
|
|
17
|
-
export declare type IKgTable$EventListenerParameter$onBeforeParseRequestParameter = {
|
|
18
|
-
/** @deprecated 已废弃, 请使用 {@link IKgTable$EventListenerParameter$onBeforeParseRequestParameter.dynamicQueryOperatorModel$} */
|
|
19
|
-
dynamicQueryOperatorModel: Ref<Record<string, string> | null>;
|
|
20
|
-
/**
|
|
21
|
-
* 高级查询的操作符对象.
|
|
22
|
-
*/
|
|
23
|
-
dynamicQueryOperatorModel$: Ref<Record<string, string> | null>;
|
|
24
|
-
/**
|
|
25
|
-
* 查询接口请求参数, 尚未解析.
|
|
26
|
-
*/
|
|
27
|
-
params: Record<string, any>;
|
|
28
|
-
};
|
|
29
|
-
export declare type IKgTable$EventListener$onBeforeParseRequestParameter = ((param: IKgTable$EventListenerParameter$onBeforeParseRequestParameter) => Promise<boolean>) & IKgEventListener;
|
|
30
|
-
export declare type IKgTable$EventListenerParameter$onBeforeRequest = {
|
|
31
|
-
/** 查询接口请求参数. */
|
|
32
|
-
params: Record<string, any>;
|
|
33
|
-
/** @deprecated 已废弃, 请使用 {@link IKgTable$EventListenerParameter$onBeforeRequest.response$} */
|
|
34
|
-
response: Ref;
|
|
35
|
-
/** 查询接口返回的数据, 调用者可以直接修改该数据, 从而实现手动提供表格数据. */
|
|
36
|
-
response$: Ref;
|
|
37
|
-
};
|
|
38
|
-
export declare type IKgTable$EventListener$onBeforeRequest = ((param: IKgTable$EventListenerParameter$onBeforeRequest) => Promise<boolean>) & IKgEventListener;
|
|
39
|
-
export declare type IKgTable$EventListenerParameter$onBeforeTransformDatas = {
|
|
40
|
-
/** 查询接口返回的数据, 调用者可以直接修改该数据. */
|
|
41
|
-
response: Ref;
|
|
42
|
-
};
|
|
43
|
-
export declare type IKgTable$EventListener$onBeforeTransformDatas = ((param: IKgTable$EventListenerParameter$onBeforeTransformDatas) => Promise<boolean>) & IKgEventListener;
|
|
44
|
-
export declare type IKgTable$EventListenerParameter$onBeforeSetDatas = {
|
|
45
|
-
/**
|
|
46
|
-
* 列表数据.
|
|
47
|
-
*/
|
|
48
|
-
dataList$: Ref<Array<IKgTableRow>>;
|
|
49
|
-
/** @deprecated 已弃用, 请使用 {@link IKgTable$EventListenerParameter$onBeforeSetDatas.dataList$} */
|
|
50
|
-
datas: Ref<Array<IKgTableRow>>;
|
|
51
|
-
/** 查询接口请求参数. */
|
|
52
|
-
params: Record<string, any>;
|
|
53
|
-
/**
|
|
54
|
-
* 数据总数.
|
|
55
|
-
*/
|
|
56
|
-
total: Ref<Number>;
|
|
57
|
-
};
|
|
58
|
-
export declare type IKgTable$EventListener$onBeforeSetDatas = ((param: IKgTable$EventListenerParameter$onBeforeSetDatas) => Promise<boolean>) & IKgEventListener;
|
|
59
|
-
export declare type IKgTable$EventListenerParameter$onAfterRequest = {
|
|
60
|
-
/**
|
|
61
|
-
* 列表数据.
|
|
62
|
-
*/
|
|
63
|
-
datas: Ref<Array<IKgTableRow>>;
|
|
64
|
-
/**
|
|
65
|
-
* 查询接口请求参数.
|
|
66
|
-
*/
|
|
67
|
-
params: Record<string, any>;
|
|
68
|
-
/**
|
|
69
|
-
* 查询接口请求头的对象.
|
|
70
|
-
*/
|
|
71
|
-
requestHeaderRecord: Record<string, any>;
|
|
72
|
-
/** 接口返回的分页数据. */
|
|
73
|
-
response: IPage<IKgTableRow> | null | undefined;
|
|
74
|
-
};
|
|
75
|
-
export declare type IKgTable$EventListener$onAfterRequest = ((param: IKgTable$EventListenerParameter$onAfterRequest) => Promise<boolean>) & IKgEventListener;
|
|
76
|
-
export declare type IKgTable$EventListenerParameter$onRequestError = {
|
|
77
|
-
/**
|
|
78
|
-
* <p>请求返回对象.</p>
|
|
79
|
-
* <p>可以手动修改该对象中的数据.</p>
|
|
80
|
-
*/
|
|
81
|
-
axiosResponse: AxiosResponse<any>;
|
|
82
|
-
/**
|
|
83
|
-
* 错误对象.
|
|
84
|
-
*/
|
|
85
|
-
e: Error;
|
|
86
|
-
};
|
|
87
|
-
export declare type IKgTable$EventListener$onRequestError = ((param: IKgTable$EventListenerParameter$onRequestError) => Promise<boolean>) & IKgEventListener;
|
|
88
|
-
export declare type IKgTable$EventListenerParameter = IKgTable$EventListenerParameter$onReady | IKgTable$EventListenerParameter$onRowDoubleClick | IKgTable$EventListenerParameter$onBeforeParseRequestParameter | IKgTable$EventListenerParameter$onBeforeRequest | IKgTable$EventListenerParameter$onBeforeTransformDatas | IKgTable$EventListenerParameter$onBeforeSetDatas | IKgTable$EventListenerParameter$onRequestError | IKgTable$EventListenerParameter$onAfterRequest;
|
|
89
|
-
export declare type IKgTable$EventListener = IKgTable$EventListener$onReady | IKgTable$EventListener$onRowDoubleClick | IKgTable$EventListener$onBeforeParseRequestParameter | IKgTable$EventListener$onBeforeRequest | IKgTable$EventListener$onBeforeTransformDatas | IKgTable$EventListener$onBeforeSetDatas | IKgTable$EventListener$onRequestError | IKgTable$EventListener$onAfterRequest;
|
|
90
|
-
export declare const eventListeners: Record<string, {
|
|
91
|
-
onAfterRequest: Array<IKgTable$EventListener$onAfterRequest>;
|
|
92
|
-
onBeforeParseRequestParameter: Array<IKgTable$EventListener$onBeforeParseRequestParameter>;
|
|
93
|
-
onBeforeRequest: Array<IKgTable$EventListener$onBeforeRequest>;
|
|
94
|
-
onBeforeSetDatas: Array<IKgTable$EventListener$onBeforeSetDatas>;
|
|
95
|
-
onBeforeTransformDatas: Array<IKgTable$EventListener$onBeforeTransformDatas>;
|
|
96
|
-
onReady: Array<IKgTable$EventListener$onReady>;
|
|
97
|
-
onRequestError: Array<IKgTable$EventListener$onRequestError>;
|
|
98
|
-
onRowDoubleClick: Array<IKgTable$EventListener$onRowDoubleClick>;
|
|
99
|
-
}>;
|
|
100
|
-
/**
|
|
101
|
-
* 触发事件.
|
|
102
|
-
*
|
|
103
|
-
* @param param.event 事件名称.
|
|
104
|
-
* @param param.id 唯一标识.
|
|
105
|
-
* @param param.parameter 事件参数.
|
|
106
|
-
*/
|
|
107
|
-
export declare function emit<P extends IKgTable$EventListenerParameter>(param: {
|
|
108
|
-
event: IKgTableEvent;
|
|
109
|
-
id?: string | undefined;
|
|
110
|
-
parameter: P;
|
|
111
|
-
}): Promise<boolean>;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
|
-
import { ComputedRef } from 'vue';
|
|
3
|
-
import { eventListeners, IKgTable$EventListener$onAfterRequest, IKgTable$EventListener$onBeforeParseRequestParameter, IKgTable$EventListener$onBeforeRequest, IKgTable$EventListener$onBeforeSetDatas, IKgTable$EventListener$onBeforeTransformDatas, IKgTable$EventListener$onReady, IKgTable$EventListener$onRequestError, IKgTable$EventListener$onRowDoubleClick } from './KgTable.event';
|
|
4
|
-
import { IKgTableRow } from './KgTable.model';
|
|
5
|
-
import { buildKgTableStore } from './KgTable.store';
|
|
6
|
-
export declare type IUseKgTable = {
|
|
7
|
-
/**
|
|
8
|
-
* 所有事件监听函数.
|
|
9
|
-
*/
|
|
10
|
-
eventListeners: typeof eventListeners;
|
|
11
|
-
/** 界面标识. */
|
|
12
|
-
formID: string;
|
|
13
|
-
/** @deprecated 已弃用, 请使用 {@link IUseKgTable.idKey}. */
|
|
14
|
-
id: ComputedRef<string>;
|
|
15
|
-
/**
|
|
16
|
-
* 作为主键的属性名.
|
|
17
|
-
*/
|
|
18
|
-
idKey: ComputedRef<string>;
|
|
19
|
-
/** 是否自动查询. */
|
|
20
|
-
isAutoRequest: ComputedRef<boolean>;
|
|
21
|
-
/** 是否支持多选. */
|
|
22
|
-
isMultiSelect: ComputedRef<boolean>;
|
|
23
|
-
/** 是否就绪: 配置初始完成, 组件渲染完成. */
|
|
24
|
-
isReady: ComputedRef<boolean>;
|
|
25
|
-
/** 是否正在查询. */
|
|
26
|
-
isRetrieving: ComputedRef<boolean | null>;
|
|
27
|
-
/** 是否显示底部左侧. */
|
|
28
|
-
isShowBottomLeft: ComputedRef<boolean>;
|
|
29
|
-
/** 是否显示底部右侧. */
|
|
30
|
-
isShowBottomRight: ComputedRef<boolean>;
|
|
31
|
-
/**
|
|
32
|
-
* <p>是否显示描述.</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>是: 所有描述列(即显示类型为 {@link KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC} 的列)显示的是描述,</li>
|
|
35
|
-
* <li>否: 所有描述列(即显示类型为 {@link KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC} 的列)显示的是原值,</li>
|
|
36
|
-
* </ul>
|
|
37
|
-
*
|
|
38
|
-
* @default true
|
|
39
|
-
*/
|
|
40
|
-
isShowDescription: ComputedRef<boolean>;
|
|
41
|
-
/**
|
|
42
|
-
* 查询条件的界面标识.
|
|
43
|
-
*/
|
|
44
|
-
kgSearchFid$$: ComputedRef<string>;
|
|
45
|
-
/** @deprecated 已弃用, 请使用 {@link IUseKgTable.kgSearchFid$$} */
|
|
46
|
-
kgSearchFormID: ComputedRef<string>;
|
|
47
|
-
/**
|
|
48
|
-
* 监听事件: 查询请求成功, 表格数据已经赋值, 表格状态已经更新.
|
|
49
|
-
*
|
|
50
|
-
* @param listener 事件监听函数.
|
|
51
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
52
|
-
*/
|
|
53
|
-
onAfterRequest(listener: IKgTable$EventListener$onAfterRequest, isOnce?: boolean): IRemoveEventListener;
|
|
54
|
-
/** @deprecated 已废弃, 请使用 {@link IUseKgTable.onAfterRequest()}. */
|
|
55
|
-
onAfterSearch(listener: IKgTable$EventListener$onAfterRequest, isOnce?: boolean): IRemoveEventListener;
|
|
56
|
-
/**
|
|
57
|
-
* <p>监听事件: 即将解析请求参数.</p>
|
|
58
|
-
* <p>可以修改解析前的参数.</p>
|
|
59
|
-
*
|
|
60
|
-
* @param listener 事件监听函数.
|
|
61
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
62
|
-
*/
|
|
63
|
-
onBeforeParseRequestParameter(listener: IKgTable$EventListener$onBeforeParseRequestParameter, isOnce?: boolean): IRemoveEventListener;
|
|
64
|
-
/**
|
|
65
|
-
* 监听事件: 即将发起查询请求, 如果返回 true 表示不会发起请求.
|
|
66
|
-
* @param listener 事件监听函数.
|
|
67
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
68
|
-
*/
|
|
69
|
-
onBeforeRequest(listener: IKgTable$EventListener$onBeforeRequest, isOnce?: boolean): IRemoveEventListener;
|
|
70
|
-
/** @deprecated 已废弃, 请使用 onBeforeRequest() 方法. */
|
|
71
|
-
onBeforeRetrieve(listener: IKgTable$EventListener$onBeforeRequest, isOnce?: boolean): IRemoveEventListener;
|
|
72
|
-
/** @deprecated 已废弃, 请使用 onBeforeRequest() 方法. */
|
|
73
|
-
onBeforeSearch(listener: IKgTable$EventListener$onBeforeRequest, isOnce?: boolean): IRemoveEventListener;
|
|
74
|
-
/**
|
|
75
|
-
* 监听事件: 查询请求成功, 表格数据尚未赋值. 此处可以对查询接口返回的列表数据作处理.
|
|
76
|
-
*
|
|
77
|
-
* @param listener 事件监听函数.
|
|
78
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
79
|
-
*/
|
|
80
|
-
onBeforeSetDatas(listener: IKgTable$EventListener$onBeforeSetDatas, isOnce?: boolean): IRemoveEventListener;
|
|
81
|
-
/**
|
|
82
|
-
* 监听事件: 查询请求成功, 表格数据尚未赋值. 准备对请求返回的数据进行处理.
|
|
83
|
-
*
|
|
84
|
-
* @param listener 事件监听函数.
|
|
85
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
86
|
-
*/
|
|
87
|
-
onBeforeTransformDatas(listener: IKgTable$EventListener$onBeforeTransformDatas, isOnce?: boolean): IRemoveEventListener;
|
|
88
|
-
/**
|
|
89
|
-
* 监听事件: 配置初始完成, 组件渲染完成.
|
|
90
|
-
*
|
|
91
|
-
* @param listener 事件监听函数.
|
|
92
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
93
|
-
*/
|
|
94
|
-
onReady(listener: IKgTable$EventListener$onReady, isOnce?: boolean): IRemoveEventListener;
|
|
95
|
-
/**
|
|
96
|
-
* <p>监听事件: 查询请求报错.</p>
|
|
97
|
-
* <p>可以修改参数 {@link IKgTable$EventListenerParameter$onRequestError.axiosResponse} 中的数据, 实现在请求报错时手动提供返回数据.</p>
|
|
98
|
-
*
|
|
99
|
-
* @param listener 事件监听函数.
|
|
100
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
101
|
-
*/
|
|
102
|
-
onRequestError(listener: IKgTable$EventListener$onRequestError, isOnce?: boolean): IRemoveEventListener;
|
|
103
|
-
/** @deprecated 已废弃, 请使用 {@link IUseKgTable.onAfterRequest} 方法. */
|
|
104
|
-
onRetrieve(listener: IKgTable$EventListener$onAfterRequest, isOnce?: boolean): IRemoveEventListener;
|
|
105
|
-
/**
|
|
106
|
-
* 监听事件: 双击某行.
|
|
107
|
-
*
|
|
108
|
-
* @param listener 事件监听函数.
|
|
109
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
110
|
-
*/
|
|
111
|
-
onRowDoubleClick(listener: IKgTable$EventListener$onRowDoubleClick, isOnce?: boolean): IRemoveEventListener;
|
|
112
|
-
/** 当前分页选项. */
|
|
113
|
-
pageSizeOption: ComputedRef<number>;
|
|
114
|
-
/** 所有分页选项. */
|
|
115
|
-
pageSizeOptions: ComputedRef<number[]>;
|
|
116
|
-
/**
|
|
117
|
-
* <p>查询参数.</p>
|
|
118
|
-
* <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
|
|
119
|
-
*/
|
|
120
|
-
requestParams: ComputedRef<Record<string, any>>;
|
|
121
|
-
/** 当前勾选的第一行. */
|
|
122
|
-
selectedFirstRow: ComputedRef<IKgTableRow | null>;
|
|
123
|
-
/** 当前勾选的唯一行, 如果勾选了多行或者零行, 则为 null. */
|
|
124
|
-
selectedRow: ComputedRef<IKgTableRow | null>;
|
|
125
|
-
/** 当前勾选的行主键列表. */
|
|
126
|
-
selectedRowKeyList: ComputedRef<Array<string>>;
|
|
127
|
-
/** 当前勾选的行列表. */
|
|
128
|
-
selectedRows: ComputedRef<IKgTableRow[] | null>;
|
|
129
|
-
/** @deprecated 已废弃, 请使用 `kgVar.kgTable.xxx` 替换 `kgVar.kgTable.store.xxx`. */
|
|
130
|
-
store: ReturnType<ReturnType<typeof buildKgTableStore>>;
|
|
131
|
-
} & ReturnType<ReturnType<typeof buildKgTableStore>>;
|
|
132
|
-
/**
|
|
133
|
-
* @param formID 界面标识.
|
|
134
|
-
*/
|
|
135
|
-
export declare function useKgTable(formID?: string | null): IUseKgTable;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ColumnType } from 'ant-design-vue/es/table/interface';
|
|
2
|
-
import { VarGridDetail } from '../../api/WMS/models';
|
|
3
|
-
/** 行高. */
|
|
4
|
-
export declare type IKgTableRowHeight = 'L' | 'M' | 'H';
|
|
5
|
-
/** 表格的行. */
|
|
6
|
-
export declare type IKgTableRow = {
|
|
7
|
-
id?: string | null;
|
|
8
|
-
[index: string]: any;
|
|
9
|
-
};
|
|
10
|
-
/** 查询方法参数. */
|
|
11
|
-
export interface IKgTableRequestParameter {
|
|
12
|
-
/**
|
|
13
|
-
* 重新查询之后, 是否保留行的勾选状态.
|
|
14
|
-
*
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
isPreserveSelectedRows?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* 是否查询首页, 否则会查询当前页.
|
|
20
|
-
*
|
|
21
|
-
* @default false
|
|
22
|
-
*/
|
|
23
|
-
isSearchFirstPage?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/** 插槽参数. */
|
|
26
|
-
export interface IKgTableSlotParams<T = IKgTableRow> {
|
|
27
|
-
bodyCell: {
|
|
28
|
-
column: ColumnType;
|
|
29
|
-
index: number;
|
|
30
|
-
record: T;
|
|
31
|
-
text: any | null;
|
|
32
|
-
value: any | null;
|
|
33
|
-
row: T;
|
|
34
|
-
varGridDetail: VarGridDetail | null;
|
|
35
|
-
defaultRender: JSX.Element;
|
|
36
|
-
};
|
|
37
|
-
expandedRowRender: {
|
|
38
|
-
record: IKgTableRow;
|
|
39
|
-
index: number;
|
|
40
|
-
indent: number;
|
|
41
|
-
expanded: boolean;
|
|
42
|
-
};
|
|
43
|
-
'summary.bodyCell': {
|
|
44
|
-
index: number;
|
|
45
|
-
column: any;
|
|
46
|
-
varGridDetail: VarGridDetail | null;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
/** 表格的单元格所处环境. */
|
|
50
|
-
export declare const enum KG_TABLE_CELL_CONTEXT {
|
|
51
|
-
/** 表体的单元格. */
|
|
52
|
-
TABLE_CELL = "TABLE_CELL",
|
|
53
|
-
/** 表头的过滤器. */
|
|
54
|
-
TABLE_FILTER = "TABLE_FILTER"
|
|
55
|
-
}
|
|
56
|
-
/** 列的默认宽度. 如果 VarGridDetail 没有配置宽度, 则使用该宽度. */
|
|
57
|
-
export declare const KG_TABLE_TD_DEFAULT_WIDTH = 120;
|
|
58
|
-
/** 列的最小宽度. 拖动修改列的宽度时, 不允许超过该最小宽度. */
|
|
59
|
-
export declare const KG_TABLE_TD_MIN_WIDTH = 80;
|
|
60
|
-
/** 列的最大宽度. 拖动修改列的宽度时, 不允许超过该最大宽度. */
|
|
61
|
-
export declare const KG_TABLE_TD_MAX_WIDTH = 1920;
|
|
62
|
-
/** 勾选列的宽度. */
|
|
63
|
-
export declare const KG_TABLE_TD_CHECK_WIDTH = 32;
|
|
64
|
-
/** 序号列的宽度. */
|
|
65
|
-
export declare const KG_TABLE_TD_INDEX_WIDTH = 55;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ColumnsType } from 'ant-design-vue/es/table';
|
|
2
|
-
import { SorterResult } from 'ant-design-vue/es/table/interface';
|
|
3
|
-
import { ComputedRef, Ref, UnwrapRef } from 'vue';
|
|
4
|
-
import { IKgTableProps } from './KgTable';
|
|
5
|
-
import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './KgTable.model';
|
|
6
|
-
export declare function _useRenderBodyCell(): {
|
|
7
|
-
renderBodyCell: (args: any, context?: KG_TABLE_CELL_CONTEXT) => any;
|
|
8
|
-
};
|
|
9
|
-
export declare type IUseColumns = {
|
|
10
|
-
/** 表格的列. */
|
|
11
|
-
columns: ComputedRef<ColumnsType<IKgTableRow>>;
|
|
12
|
-
/** 当前过滤状态(哪些列有过滤, 哪些列没过滤). */
|
|
13
|
-
filterInfo: Ref<Record<string, any>>;
|
|
14
|
-
/** 横向滚动宽度. */
|
|
15
|
-
scrollX: ComputedRef<string>;
|
|
16
|
-
/** 当前排序状态. */
|
|
17
|
-
sorterInfo: Ref<SorterResult<any> | undefined>;
|
|
18
|
-
};
|
|
19
|
-
export declare function _useColumns(props: IKgTableProps): IUseColumns;
|
|
20
|
-
export declare function _useLoading(): {
|
|
21
|
-
/** 是否显示加载状态. */
|
|
22
|
-
isLoading: ComputedRef<boolean>;
|
|
23
|
-
};
|
|
24
|
-
export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): {};
|
|
25
|
-
export declare type ICacheScrollState = {};
|
|
26
|
-
export declare function _useCacheScrollState(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): ICacheScrollState;
|
|
27
|
-
export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): {};
|
|
28
|
-
export declare function _useDatas(): {
|
|
29
|
-
transformDatas: (response: Ref<any>) => {
|
|
30
|
-
datas: Ref<Array<IKgTableRow>>;
|
|
31
|
-
total: Ref<number>;
|
|
32
|
-
};
|
|
33
|
-
requestDescriptionList: () => Promise<void>;
|
|
34
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { KgStoreDefinition } from '../../const';
|
|
2
|
-
import { IKgTableRowHeight } from './KgTable.model';
|
|
3
|
-
export interface KgTableStoreGetters {
|
|
4
|
-
/**
|
|
5
|
-
* 列表数据.
|
|
6
|
-
*/
|
|
7
|
-
dataList: Array<any>;
|
|
8
|
-
/**
|
|
9
|
-
* 是否就绪.
|
|
10
|
-
*/
|
|
11
|
-
getIsReady: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* 是否已经查询过一次了.
|
|
14
|
-
*/
|
|
15
|
-
isRequested: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 是否正在查询.
|
|
18
|
-
*/
|
|
19
|
-
getIsRequesting: boolean | null;
|
|
20
|
-
getIsShowDescription: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* 查询参数.
|
|
23
|
-
*/
|
|
24
|
-
getRequestParams: Record<string, any>;
|
|
25
|
-
getRowHeight: IKgTableRowHeight;
|
|
26
|
-
/** 当前勾选的第一行. */
|
|
27
|
-
getSelectedFirstRow: any | null;
|
|
28
|
-
/** 当前勾选的唯一行. */
|
|
29
|
-
getSelectedRow: any | null;
|
|
30
|
-
/** 当前勾选的行的主键. */
|
|
31
|
-
getSelectedRowKeys: Array<string>;
|
|
32
|
-
/** 当前勾选的行. */
|
|
33
|
-
getSelectedRows: Array<any> | null;
|
|
34
|
-
/**
|
|
35
|
-
* 表格宽度.
|
|
36
|
-
*/
|
|
37
|
-
getTableWidth: number;
|
|
38
|
-
}
|
|
39
|
-
export interface KgTableStoreActions {
|
|
40
|
-
/**
|
|
41
|
-
* 清空表格数据.
|
|
42
|
-
*/
|
|
43
|
-
clearDatas(): void;
|
|
44
|
-
/**
|
|
45
|
-
* 清理数据.
|
|
46
|
-
*/
|
|
47
|
-
dispose(): void;
|
|
48
|
-
/**
|
|
49
|
-
* 设置列表数据.
|
|
50
|
-
* @param param.datas 列表数据.
|
|
51
|
-
* @param param.isPreserveSelectedRows 是否保留行的勾选状态. 默认为 false.
|
|
52
|
-
*/
|
|
53
|
-
setDatas(param: {
|
|
54
|
-
datas: Array<any>;
|
|
55
|
-
isPreserveSelectedRows?: boolean;
|
|
56
|
-
}): void;
|
|
57
|
-
/**
|
|
58
|
-
* 设置是否就绪.
|
|
59
|
-
*
|
|
60
|
-
* @param ready 是否就绪.
|
|
61
|
-
*/
|
|
62
|
-
setIsReady(ready?: boolean): void;
|
|
63
|
-
setIsRequested(value: boolean): void;
|
|
64
|
-
setIsRequesting(value: boolean): void;
|
|
65
|
-
setIsShowDescription(value: boolean): void;
|
|
66
|
-
setRequestParams(requestParams: Record<string, any> | null | undefined): void;
|
|
67
|
-
setRowHeight(value: IKgTableRowHeight): void;
|
|
68
|
-
/**
|
|
69
|
-
* 设置某行的勾选状态.
|
|
70
|
-
*
|
|
71
|
-
* @param row 行.
|
|
72
|
-
* @param isSelected 是否勾选.
|
|
73
|
-
*/
|
|
74
|
-
setRowSelect(row: any, isSelected: boolean): void;
|
|
75
|
-
/**
|
|
76
|
-
* 设置勾选的行.
|
|
77
|
-
*
|
|
78
|
-
* @param param.selectedRows 勾选的行.
|
|
79
|
-
*/
|
|
80
|
-
setSelectedRows(param: {
|
|
81
|
-
selectedRows: Array<any>;
|
|
82
|
-
}): void;
|
|
83
|
-
/**
|
|
84
|
-
* 根据勾选行的主键, 设置勾选的行.
|
|
85
|
-
*
|
|
86
|
-
* @param selectedRowKeys 勾选行的主键.
|
|
87
|
-
*/
|
|
88
|
-
setSelectedRowKeys(selectedRowKeys: Array<string>): void;
|
|
89
|
-
setTableWidth(value: number): void;
|
|
90
|
-
}
|
|
91
|
-
export declare function buildKgTableStore(fid: string | null | undefined): KgStoreDefinition<KgTableStoreGetters, KgTableStoreActions>;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { VxeTableDefines } from 'vxe-table';
|
|
3
|
-
import { KG_TABLE_CELL_CONTEXT } from '../KgTable';
|
|
4
|
-
export declare const getProps: () => {
|
|
5
|
-
/**
|
|
6
|
-
* 列的数据.
|
|
7
|
-
*/
|
|
8
|
-
column: {
|
|
9
|
-
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 行的数据.
|
|
13
|
-
*/
|
|
14
|
-
row: {
|
|
15
|
-
type: PropType<any>;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 所处环境.
|
|
19
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
20
|
-
*/
|
|
21
|
-
kgContext: {
|
|
22
|
-
type: PropType<string>;
|
|
23
|
-
default: KG_TABLE_CELL_CONTEXT;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const KgTable02BodyCell: import("vue").DefineComponent<{
|
|
27
|
-
/**
|
|
28
|
-
* 列的数据.
|
|
29
|
-
*/
|
|
30
|
-
column: {
|
|
31
|
-
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* 行的数据.
|
|
35
|
-
*/
|
|
36
|
-
row: {
|
|
37
|
-
type: PropType<any>;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* 所处环境.
|
|
41
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
42
|
-
*/
|
|
43
|
-
kgContext: {
|
|
44
|
-
type: PropType<string>;
|
|
45
|
-
default: KG_TABLE_CELL_CONTEXT;
|
|
46
|
-
};
|
|
47
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgUpdateLinkClick"[], "kgUpdateLinkClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
/**
|
|
49
|
-
* 列的数据.
|
|
50
|
-
*/
|
|
51
|
-
column: {
|
|
52
|
-
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* 行的数据.
|
|
56
|
-
*/
|
|
57
|
-
row: {
|
|
58
|
-
type: PropType<any>;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* 所处环境.
|
|
62
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
63
|
-
*/
|
|
64
|
-
kgContext: {
|
|
65
|
-
type: PropType<string>;
|
|
66
|
-
default: KG_TABLE_CELL_CONTEXT;
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
onKgUpdateLinkClick?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
kgContext: string;
|
|
72
|
-
}>;
|