@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
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { Modal } from 'ant-design-vue';
|
|
2
|
+
import { computed, defineComponent, ExtractPropTypes, PropType, ref, unref } from 'vue';
|
|
3
|
+
import { useKg } from '../../config';
|
|
4
|
+
import { modalProps } from '../../util/ant-design-vue';
|
|
5
|
+
import { renderSlot, renderSlotList } from '../../util/tsx.helper';
|
|
6
|
+
import { useDragToMove, useDragToResize } from './KgModal.service';
|
|
7
|
+
import KgModalHeaderButtons from './KgModalHeaderButtons';
|
|
8
|
+
import './KgModal.css';
|
|
9
|
+
|
|
10
|
+
export const getProps = () => ({
|
|
11
|
+
...modalProps(),
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 高度是否撑满屏幕.
|
|
15
|
+
*
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
kgFullHeight: { type: Boolean as PropType<boolean>, default: true },
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 是否默认全屏.
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
kgIsDefaultFullscreen: { type: Boolean as PropType<boolean>, default: false },
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 是否可以拖拽改变位置.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
kgIsDragToMove: { type: Boolean as PropType<boolean>, default: true },
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 是否可以拖拽改变大小.
|
|
36
|
+
*
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
kgIsDragToResize: { type: Boolean as PropType<boolean>, default: true },
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 是否显示全屏按钮.
|
|
43
|
+
*
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
kgIsShowFullscreenButton: { type: Boolean as PropType<boolean>, default: true },
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 最大高度.
|
|
50
|
+
*/
|
|
51
|
+
kgMaxHeight: { type: Number as PropType<number>, default: undefined },
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 最大宽度.
|
|
55
|
+
*/
|
|
56
|
+
kgMaxWidth: { type: Number as PropType<number>, default: undefined },
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* 最小高度.
|
|
60
|
+
*/
|
|
61
|
+
kgMinHeight: { type: Number as PropType<number>, default: undefined },
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 最小宽度.
|
|
65
|
+
*/
|
|
66
|
+
kgMinWidth: { type: Number as PropType<number>, default: undefined },
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* 是否显示取消按钮.
|
|
70
|
+
*
|
|
71
|
+
* @default true
|
|
72
|
+
*/
|
|
73
|
+
kgShowCancelButton: { type: Boolean as PropType<boolean>, default: true },
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* 是否显示确定按钮.
|
|
77
|
+
*
|
|
78
|
+
* @default true
|
|
79
|
+
*/
|
|
80
|
+
kgShowOkButton: { type: Boolean as PropType<boolean>, default: true },
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export type KgModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
84
|
+
|
|
85
|
+
// 弹窗
|
|
86
|
+
export default defineComponent({
|
|
87
|
+
inheritAttrs: false,
|
|
88
|
+
name: 'KgModal',
|
|
89
|
+
props: getProps(),
|
|
90
|
+
setup(props, { slots, attrs }) {
|
|
91
|
+
const kg = useKg();
|
|
92
|
+
|
|
93
|
+
//region DATA
|
|
94
|
+
//----------------------------------------------------------------------------------------------------
|
|
95
|
+
/**
|
|
96
|
+
* 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象.
|
|
97
|
+
*/
|
|
98
|
+
const domRef = ref<HTMLDivElement | null>(null);
|
|
99
|
+
|
|
100
|
+
const props$$ = computed(() => {
|
|
101
|
+
const _props = { ...unref(attrs), ...props };
|
|
102
|
+
|
|
103
|
+
_props.closable = true;
|
|
104
|
+
_props.wrapClassName = _props.wrapClassName ? `${_props.wrapClassName} kg-modal` : 'kg-modal';
|
|
105
|
+
_props.centered = _props.centered !== undefined ? _props.centered : true;
|
|
106
|
+
_props.destroyOnClose = _props.destroyOnClose !== undefined ? _props.destroyOnClose : true;
|
|
107
|
+
_props.keyboard = _props.keyboard !== undefined ? _props.keyboard : false;
|
|
108
|
+
_props.maskClosable = _props.maskClosable !== undefined ? _props.maskClosable : false;
|
|
109
|
+
_props.okButtonProps = _props.okButtonProps !== undefined ? _props.okButtonProps : {};
|
|
110
|
+
_props.cancelButtonProps = _props.cancelButtonProps !== undefined ? _props.cancelButtonProps : {};
|
|
111
|
+
|
|
112
|
+
// 通过设置样式, 隐藏确定按钮
|
|
113
|
+
if (!props.kgShowOkButton) {
|
|
114
|
+
// @ts-ignore
|
|
115
|
+
_props.okButtonProps.class = 'kg-invisible';
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 通过设置样式, 隐藏取消按钮
|
|
119
|
+
if (!props.kgShowCancelButton) {
|
|
120
|
+
// @ts-ignore
|
|
121
|
+
_props.cancelButtonProps.class = 'kg-invisible';
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (props.kgFullHeight) {
|
|
125
|
+
_props.wrapClassName += ' kg-modal--full-height';
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return _props;
|
|
129
|
+
});
|
|
130
|
+
const visible$$ = computed(() => !!props$$.value.visible);
|
|
131
|
+
const isDragToMove$$ = computed(() => props$$.value.kgIsDragToMove);
|
|
132
|
+
//endregion
|
|
133
|
+
|
|
134
|
+
useDragToMove({ domRef: domRef, getKgIsDragToMove: isDragToMove$$, getVisible: visible$$ });
|
|
135
|
+
const { onMouseDown } = useDragToResize({ domRef: domRef, getProps: props$$ });
|
|
136
|
+
|
|
137
|
+
return () => (
|
|
138
|
+
<Modal {...props$$.value}>
|
|
139
|
+
{{
|
|
140
|
+
...renderSlotList({ slotRecord: slots, excludeSlotList: ['default', 'closeIcon'] }),
|
|
141
|
+
default: () => (
|
|
142
|
+
<>
|
|
143
|
+
{renderSlot({ slotRecord: slots, name: 'default' })}
|
|
144
|
+
|
|
145
|
+
<div ref={domRef} />
|
|
146
|
+
|
|
147
|
+
{kg.option?.KgModal?.dragToResize?.isOn === true && props.kgIsDragToResize && (
|
|
148
|
+
<>
|
|
149
|
+
<div
|
|
150
|
+
class="resize-handle resize-handle-top-left"
|
|
151
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'top-left' })}
|
|
152
|
+
/>
|
|
153
|
+
|
|
154
|
+
<div
|
|
155
|
+
class="resize-handle resize-handle-top"
|
|
156
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'top' })}
|
|
157
|
+
/>
|
|
158
|
+
|
|
159
|
+
<div
|
|
160
|
+
class="resize-handle resize-handle-top-right"
|
|
161
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'top-right' })}
|
|
162
|
+
/>
|
|
163
|
+
|
|
164
|
+
<div
|
|
165
|
+
class="resize-handle resize-handle-right"
|
|
166
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'right' })}
|
|
167
|
+
/>
|
|
168
|
+
|
|
169
|
+
<div
|
|
170
|
+
class="resize-handle resize-handle-bottom-right"
|
|
171
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'bottom-right' })}
|
|
172
|
+
/>
|
|
173
|
+
|
|
174
|
+
<div
|
|
175
|
+
class="resize-handle resize-handle-bottom"
|
|
176
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'bottom' })}
|
|
177
|
+
/>
|
|
178
|
+
|
|
179
|
+
<div
|
|
180
|
+
class="resize-handle resize-handle-bottom-left"
|
|
181
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'bottom-left' })}
|
|
182
|
+
/>
|
|
183
|
+
|
|
184
|
+
<div
|
|
185
|
+
class="resize-handle resize-handle-left"
|
|
186
|
+
onMousedown={(event) => onMouseDown?.({ event: event, handleType: 'left' })}
|
|
187
|
+
/>
|
|
188
|
+
</>
|
|
189
|
+
)}
|
|
190
|
+
</>
|
|
191
|
+
),
|
|
192
|
+
closeIcon: () => (
|
|
193
|
+
<KgModalHeaderButtons
|
|
194
|
+
kgIsDefaultFullscreen={props.kgIsDefaultFullscreen}
|
|
195
|
+
kgIsShowFullscreenButton={props.kgIsShowFullscreenButton}
|
|
196
|
+
kgIsShowCloseButton={props.closable}
|
|
197
|
+
>
|
|
198
|
+
{{
|
|
199
|
+
kgModalHeaderButtonsExtra: () => renderSlot({ slotRecord: slots, name: 'kgModalHeaderButtonsExtra' }),
|
|
200
|
+
}}
|
|
201
|
+
</KgModalHeaderButtons>
|
|
202
|
+
),
|
|
203
|
+
}}
|
|
204
|
+
</Modal>
|
|
205
|
+
);
|
|
206
|
+
},
|
|
207
|
+
});
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Icon } from '@iconify/vue';
|
|
2
|
+
import { Button } from 'ant-design-vue';
|
|
3
|
+
import { get } from 'lodash-es';
|
|
4
|
+
import { defineComponent, nextTick, onBeforeMount, PropType, ref, watch } from 'vue';
|
|
5
|
+
import { renderSlot } from '../../util/tsx.helper';
|
|
6
|
+
|
|
7
|
+
export const getProps = () => ({
|
|
8
|
+
/**
|
|
9
|
+
* 是否默认全屏.
|
|
10
|
+
*
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
kgIsDefaultFullscreen: { type: Boolean as PropType<boolean>, default: false },
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 是否显示关闭按钮.
|
|
17
|
+
*
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
kgIsShowCloseButton: { type: Boolean as PropType<boolean>, default: true },
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 是否显示全屏按钮.
|
|
24
|
+
*
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
kgIsShowFullscreenButton: { type: Boolean as PropType<boolean>, default: true },
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// 弹窗:顶部右侧按钮
|
|
31
|
+
export default defineComponent({
|
|
32
|
+
name: 'KgModalHeaderButtons',
|
|
33
|
+
inheritAttrs: false,
|
|
34
|
+
props: getProps(),
|
|
35
|
+
setup(props, { slots, emit, attrs }) {
|
|
36
|
+
//region DATA
|
|
37
|
+
//----------------------------------------------------------------------------------------------------
|
|
38
|
+
/**
|
|
39
|
+
* 当前是否全屏.
|
|
40
|
+
*/
|
|
41
|
+
const isFullscreen = ref<boolean>(false);
|
|
42
|
+
const fullscreenButtonRef = ref<typeof Button | null>(null);
|
|
43
|
+
//endregion
|
|
44
|
+
|
|
45
|
+
//region WATCH
|
|
46
|
+
//----------------------------------------------------------------------------------------------------
|
|
47
|
+
watch(
|
|
48
|
+
() => props.kgIsDefaultFullscreen,
|
|
49
|
+
(value) => {
|
|
50
|
+
if ((value && !isFullscreen.value) || (!value && isFullscreen.value)) {
|
|
51
|
+
toggleFullscreen();
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{ immediate: true },
|
|
55
|
+
);
|
|
56
|
+
//endregion
|
|
57
|
+
|
|
58
|
+
//region FUNCTION
|
|
59
|
+
//----------------------------------------------------------------------------------------------------
|
|
60
|
+
/**
|
|
61
|
+
* 进入/退出全屏.
|
|
62
|
+
*/
|
|
63
|
+
function toggleFullscreen(event?: MouseEvent) {
|
|
64
|
+
event?.preventDefault();
|
|
65
|
+
event?.stopPropagation();
|
|
66
|
+
|
|
67
|
+
isFullscreen.value = !isFullscreen.value;
|
|
68
|
+
|
|
69
|
+
const modalWrapElement = get(fullscreenButtonRef.value, '$el.parentElement.parentElement.parentElement.parentElement.parentElement');
|
|
70
|
+
if (modalWrapElement) {
|
|
71
|
+
modalWrapElement.classList.toggle('kg-modal--fullscreen');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* 渲染全屏按钮.
|
|
77
|
+
*/
|
|
78
|
+
function renderFullscreenButton() {
|
|
79
|
+
if (!props.kgIsShowFullscreenButton) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return (
|
|
84
|
+
<Button
|
|
85
|
+
ref={fullscreenButtonRef}
|
|
86
|
+
class={'kg-modal--header--buttons--fullscreen'}
|
|
87
|
+
onClick={toggleFullscreen}
|
|
88
|
+
>
|
|
89
|
+
{isFullscreen.value ? <Icon icon="ant-design:fullscreen-exit-outlined" /> : <Icon icon="ant-design:fullscreen-outlined" />}
|
|
90
|
+
</Button>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 渲染关闭按钮.
|
|
96
|
+
*/
|
|
97
|
+
function renderCloseButton() {
|
|
98
|
+
if (!props.kgIsShowCloseButton) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return (
|
|
103
|
+
<span>
|
|
104
|
+
<Icon icon="ant-design:close-outlined" />
|
|
105
|
+
</span>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
//endregion
|
|
109
|
+
|
|
110
|
+
//region LIFECYCLE
|
|
111
|
+
//----------------------------------------------------------------------------------------------------
|
|
112
|
+
onBeforeMount(() => {
|
|
113
|
+
nextTick().then(() => {
|
|
114
|
+
// 默认全屏
|
|
115
|
+
if (props.kgIsDefaultFullscreen) {
|
|
116
|
+
toggleFullscreen();
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
//endregion
|
|
121
|
+
|
|
122
|
+
return () => (
|
|
123
|
+
<>
|
|
124
|
+
{renderSlot({ slotRecord: slots, name: 'kgModalHeaderButtonsExtra' })}
|
|
125
|
+
{renderFullscreenButton()}
|
|
126
|
+
{renderCloseButton()}
|
|
127
|
+
</>
|
|
128
|
+
);
|
|
129
|
+
},
|
|
130
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const sfsd = {};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ButtonPropsPublic, dialogProps, DialogPropsPublic, ElButton, ElDialog } from 'element-plus';
|
|
2
|
+
import { computed, defineComponent, ExtractPropTypes, PropType, ref, unref } from 'vue';
|
|
3
|
+
import { useKg } from '../../config';
|
|
4
|
+
import { renderSlot, renderSlotList } from '../../util/tsx.helper';
|
|
5
|
+
import './KgModal02.css';
|
|
6
|
+
|
|
7
|
+
export const getProps = () => ({
|
|
8
|
+
...dialogProps,
|
|
9
|
+
kgCancelButtonProps: {
|
|
10
|
+
default: () => ({}),
|
|
11
|
+
type: Object as PropType<ButtonPropsPublic>,
|
|
12
|
+
},
|
|
13
|
+
kgOkButtonProps: {
|
|
14
|
+
default: () => ({}),
|
|
15
|
+
type: Object as PropType<ButtonPropsPublic>,
|
|
16
|
+
},
|
|
17
|
+
onCancel: Function as PropType<() => void>,
|
|
18
|
+
onOk: Function as PropType<() => void>,
|
|
19
|
+
'onUpdate:modelValue': Function as PropType<(value: boolean) => void>,
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export type KgModal02Props = Partial<ExtractPropTypes<ReturnType<typeof getProps>> & DialogPropsPublic>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 弹窗.
|
|
26
|
+
*/
|
|
27
|
+
export const KgModal02 = defineComponent({
|
|
28
|
+
inheritAttrs: false,
|
|
29
|
+
name: 'KgModal02',
|
|
30
|
+
props: getProps(),
|
|
31
|
+
setup(props, { slots, attrs }) {
|
|
32
|
+
const kg = useKg();
|
|
33
|
+
|
|
34
|
+
//region DATA
|
|
35
|
+
//----------------------------------------------------------------------------------------------------
|
|
36
|
+
/**
|
|
37
|
+
* 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象.
|
|
38
|
+
*/
|
|
39
|
+
const domRef = ref<HTMLDivElement | null>(null);
|
|
40
|
+
|
|
41
|
+
const props$$ = computed<KgModal02Props>(() => {
|
|
42
|
+
const _props: Writable<KgModal02Props> = { ...unref(attrs), ...props };
|
|
43
|
+
|
|
44
|
+
_props.modalClass = _props.modalClass ? `${_props.modalClass} kg-modal02` : 'kg-modal02';
|
|
45
|
+
_props.showClose = true;
|
|
46
|
+
_props.alignCenter = true;
|
|
47
|
+
_props.draggable = true;
|
|
48
|
+
_props.closeOnClickModal = false;
|
|
49
|
+
_props.closeOnPressEscape = false;
|
|
50
|
+
_props.transition = '';
|
|
51
|
+
|
|
52
|
+
return _props;
|
|
53
|
+
});
|
|
54
|
+
//endregion
|
|
55
|
+
|
|
56
|
+
return () => (
|
|
57
|
+
<ElDialog {...props$$.value}>
|
|
58
|
+
{{
|
|
59
|
+
...renderSlotList({ slotRecord: slots, excludeSlotList: ['default'] }),
|
|
60
|
+
default: () => (
|
|
61
|
+
<>
|
|
62
|
+
{renderSlot({ slotRecord: slots, name: 'default' })}
|
|
63
|
+
|
|
64
|
+
<div ref={domRef} />
|
|
65
|
+
</>
|
|
66
|
+
),
|
|
67
|
+
footer: () => (
|
|
68
|
+
<div class="kg-modal02--footer">
|
|
69
|
+
<ElButton
|
|
70
|
+
{...props.kgCancelButtonProps}
|
|
71
|
+
onClick={() => {
|
|
72
|
+
props.onCancel?.();
|
|
73
|
+
}}
|
|
74
|
+
>
|
|
75
|
+
{kg.t('kg.cancel', {}, '取消')}
|
|
76
|
+
</ElButton>
|
|
77
|
+
|
|
78
|
+
<ElButton
|
|
79
|
+
{...props.kgOkButtonProps}
|
|
80
|
+
type={'primary'}
|
|
81
|
+
onClick={() => {
|
|
82
|
+
props.onOk?.();
|
|
83
|
+
}}
|
|
84
|
+
>
|
|
85
|
+
{kg.t('kg.ok', {}, '确定')}
|
|
86
|
+
</ElButton>
|
|
87
|
+
</div>
|
|
88
|
+
),
|
|
89
|
+
}}
|
|
90
|
+
</ElDialog>
|
|
91
|
+
);
|
|
92
|
+
},
|
|
93
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.kg-progress-a.ant-progress {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.kg-progress-a.ant-progress .ant-progress-outer {
|
|
9
|
+
flex: 1;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
min-width: 20px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.kg-progress-a.ant-progress .ant-progress-text {
|
|
16
|
+
width: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.kg-progress-a.ant-progress .ant-progress-text .text {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
font-size: 14px !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kg-progress-a.ant-progress .ant-progress-text .text .value {
|
|
25
|
+
color: #262626;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.kg-progress-a.ant-progress .ant-progress-text .text .separator {
|
|
29
|
+
color: #8c8c8c;
|
|
30
|
+
margin: 0 1px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.kg-progress-a.ant-progress .ant-progress-text .text .total {
|
|
34
|
+
color: #8c8c8c;
|
|
35
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Progress } from 'ant-design-vue';
|
|
2
|
+
import { computed, defineComponent, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import './KgProgressA.less';
|
|
4
|
+
|
|
5
|
+
export const getProps = () => ({
|
|
6
|
+
/**
|
|
7
|
+
* 左侧数值(分子).
|
|
8
|
+
* @default null
|
|
9
|
+
*/
|
|
10
|
+
kgLeft: {
|
|
11
|
+
type: Number as PropType<number | null | undefined>,
|
|
12
|
+
default: null,
|
|
13
|
+
},
|
|
14
|
+
/**
|
|
15
|
+
* 右侧数值(分母).
|
|
16
|
+
* @default null
|
|
17
|
+
*/
|
|
18
|
+
kgRight: {
|
|
19
|
+
type: Number as PropType<number | null | undefined>,
|
|
20
|
+
default: null,
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* 右侧文本的宽度.
|
|
24
|
+
* @default 'auto'
|
|
25
|
+
*/
|
|
26
|
+
kgTextWidth: {
|
|
27
|
+
type: String as PropType<'auto' | string>,
|
|
28
|
+
default: 'auto',
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export type IKgProgressAProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
33
|
+
|
|
34
|
+
// 进度条
|
|
35
|
+
export default defineComponent({
|
|
36
|
+
name: 'KgProgressA',
|
|
37
|
+
props: getProps(),
|
|
38
|
+
setup(props, { slots }) {
|
|
39
|
+
// 百分比
|
|
40
|
+
const percent = computed<number>(() => {
|
|
41
|
+
if (!props.kgLeft || !props.kgRight || typeof props.kgLeft !== 'number' || typeof props.kgRight !== 'number' || props.kgLeft < 0 || props.kgRight < 0) {
|
|
42
|
+
return 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return Math.floor((props.kgLeft / props.kgRight) * 100);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// 状态
|
|
49
|
+
const nzStatus = computed<'normal' | 'active' | 'success' | 'exception'>((args) => {
|
|
50
|
+
if (!props.kgLeft || !props.kgRight || typeof props.kgLeft !== 'number' || typeof props.kgRight !== 'number' || props.kgLeft < 0 || props.kgRight < 0) {
|
|
51
|
+
return 'exception';
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (props.kgLeft > props.kgRight) {
|
|
55
|
+
return 'exception';
|
|
56
|
+
} else if (props.kgLeft === props.kgRight) {
|
|
57
|
+
return 'success';
|
|
58
|
+
} else if (props.kgLeft < props.kgRight) {
|
|
59
|
+
return 'normal';
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return 'normal';
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
// 文本样式
|
|
66
|
+
const getStyle = computed(() => ({ width: props.kgTextWidth }));
|
|
67
|
+
|
|
68
|
+
return () => (
|
|
69
|
+
<Progress
|
|
70
|
+
percent={percent.value}
|
|
71
|
+
size={'small'}
|
|
72
|
+
status={nzStatus.value}
|
|
73
|
+
class="kg-progress-a"
|
|
74
|
+
>
|
|
75
|
+
{{
|
|
76
|
+
format: () => (
|
|
77
|
+
<span
|
|
78
|
+
class="text"
|
|
79
|
+
style={getStyle.value}
|
|
80
|
+
>
|
|
81
|
+
<span class="value">{props.kgLeft || 0}</span>
|
|
82
|
+
<span class="separator">/</span>
|
|
83
|
+
<span class="total">{props.kgRight || 0}</span>
|
|
84
|
+
</span>
|
|
85
|
+
),
|
|
86
|
+
}}
|
|
87
|
+
</Progress>
|
|
88
|
+
);
|
|
89
|
+
},
|
|
90
|
+
});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
.kg-resizable {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.kg-resizable > *:not(.kg-resizable-handle) {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.kg-resizable > .kg-resizable-handle:hover .kg-resizable-handle-line {
|
|
11
|
+
background-color: #aaaaaa;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.kg-resizable.kg-resizable--top > .kg-resizable-handle {
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 0;
|
|
17
|
+
right: 0;
|
|
18
|
+
top: -6px;
|
|
19
|
+
bottom: auto !important;
|
|
20
|
+
width: 100% !important;
|
|
21
|
+
height: 12px;
|
|
22
|
+
cursor: ns-resize;
|
|
23
|
+
touch-action: none;
|
|
24
|
+
user-select: auto;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.kg-resizable.kg-resizable--top .kg-resizable-handle-line {
|
|
31
|
+
width: 120px !important;
|
|
32
|
+
height: 2px;
|
|
33
|
+
margin-top: 2px;
|
|
34
|
+
background-color: #ccc;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.kg-resizable.kg-resizable--bottom > .kg-resizable-handle {
|
|
38
|
+
position: absolute;
|
|
39
|
+
left: 0;
|
|
40
|
+
right: 0;
|
|
41
|
+
bottom: -6px;
|
|
42
|
+
top: auto !important;
|
|
43
|
+
width: 100% !important;
|
|
44
|
+
height: 12px;
|
|
45
|
+
cursor: ns-resize;
|
|
46
|
+
touch-action: none;
|
|
47
|
+
user-select: auto;
|
|
48
|
+
z-index: 1;
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.kg-resizable.kg-resizable--bottom .kg-resizable-handle-line {
|
|
54
|
+
width: 120px !important;
|
|
55
|
+
height: 2px;
|
|
56
|
+
margin-top: 8px;
|
|
57
|
+
background-color: #ccc;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.kg-resizable.kg-resizable--left > .kg-resizable-handle {
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 0;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
left: -6px;
|
|
65
|
+
right: auto !important;
|
|
66
|
+
height: 100% !important;
|
|
67
|
+
width: 12px;
|
|
68
|
+
cursor: ew-resize;
|
|
69
|
+
touch-action: none;
|
|
70
|
+
user-select: auto;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.kg-resizable.kg-resizable--left .kg-resizable-handle-line {
|
|
78
|
+
height: 120px !important;
|
|
79
|
+
width: 2px;
|
|
80
|
+
margin-right: 8px;
|
|
81
|
+
background-color: #ccc;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.kg-resizable.kg-resizable--right > .kg-resizable-handle {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 0;
|
|
87
|
+
bottom: 0;
|
|
88
|
+
right: -6px;
|
|
89
|
+
left: auto !important;
|
|
90
|
+
height: 100% !important;
|
|
91
|
+
width: 12px;
|
|
92
|
+
cursor: ew-resize;
|
|
93
|
+
touch-action: none;
|
|
94
|
+
user-select: auto;
|
|
95
|
+
z-index: 1;
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.kg-resizable.kg-resizable--right .kg-resizable-handle-line {
|
|
102
|
+
height: 120px !important;
|
|
103
|
+
width: 2px;
|
|
104
|
+
margin-left: 8px;
|
|
105
|
+
background-color: #ccc;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.kg-resizable.kg-resizable--disabled > .kg-resizable-handle {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.kg-resizable.kg-resizable--resize-handle-hide > .kg-resizable-handle > .kg-resizable-handle-line {
|
|
113
|
+
display: none !important;
|
|
114
|
+
}
|