@kengic/vue 0.30.1-beta.96 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +470 -0
- package/README.md +10 -0
- package/bin/bin.mjs +9 -24
- package/bin/postinstall.mjs +24 -4
- package/dist/aim-outlined.8d38a0f9.mjs +8 -0
- package/dist/align-left-outlined.579b01c6.mjs +8 -0
- package/dist/audit-outlined.4555f723.mjs +8 -0
- package/dist/bubble-loading.cd2fe007.mjs +8 -0
- package/dist/bulb-outlined.a5bf22d8.mjs +8 -0
- package/dist/card-text-outline.6e053122.mjs +8 -0
- package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
- package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
- package/dist/caret-right-filled.dbbda237.mjs +8 -0
- package/dist/caret-right-outlined-Btgsw6a_.7ce8e8fe.mjs +8 -0
- package/dist/caret-right-outlined.12fe6699.mjs +8 -0
- package/dist/caret-up-outlined.81b559ad.mjs +8 -0
- package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
- package/dist/check-circle-outlined.b219949f.mjs +8 -0
- package/dist/check-outlined.59c42074.mjs +8 -0
- package/dist/check-square-outlined.233589d8.mjs +8 -0
- package/dist/checkbox-indeterminate.e5386a53.mjs +8 -0
- package/dist/clock-circle-outline.b9d0b3dc.mjs +8 -0
- package/dist/close-circle-outlined.85f75690.mjs +8 -0
- package/dist/close-outlined-DMcSQWxQ.ce961fd1.mjs +8 -0
- package/dist/close-outlined.5757472a.mjs +8 -0
- package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
- package/dist/control-outlined.d66ac4d2.mjs +8 -0
- package/dist/copy-filled.a3dcd299.mjs +8 -0
- package/dist/copy-outlined.6a695d8a.mjs +8 -0
- package/dist/delete-outlined.20afb717.mjs +8 -0
- package/dist/delete-twotone.1d40696a.mjs +8 -0
- package/dist/double-right-outlined.f057a6b2.mjs +8 -0
- package/dist/down-circle-outlined.8ba93393.mjs +8 -0
- package/dist/download-outlined.e78b5364.mjs +8 -0
- package/dist/edit-outlined.0aae2217.mjs +8 -0
- package/dist/edit-twotone.67c952fa.mjs +8 -0
- package/dist/email-resend-outline.780506de.mjs +8 -0
- package/dist/exception-outlined.8c0003a2.mjs +8 -0
- package/dist/exclamation-circle-outlined-DZrXCnvM.07559897.mjs +8 -0
- package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
- package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
- package/dist/eye-outlined.b25b4d28.mjs +8 -0
- package/dist/file-text-outline.2fbccab6.mjs +8 -0
- package/dist/fit-screen-outline.7341560f.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.d7884311.mjs +8 -0
- package/dist/fullscreen-exit-outlined.b77fa876.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.d174b06a.mjs +8 -0
- package/dist/fullscreen-outlined.cd572ef8.mjs +8 -0
- package/dist/holder-outlined.9e698750.mjs +8 -0
- package/dist/index.css +1 -0
- package/dist/info-circle-outlined.7ddbd554.mjs +8 -0
- package/dist/kengic-vue.js +224275 -0
- package/dist/key-return-thin.ce6f074c.mjs +8 -0
- package/dist/loading-outlined.13a15197.mjs +8 -0
- package/dist/more-outlined.8e1202ac.mjs +8 -0
- package/dist/one-to-one-outlined.ac265beb.mjs +8 -0
- package/dist/palette-swatch-variant.f7258843.mjs +8 -0
- package/dist/partition-outlined.1bcf4f37.mjs +8 -0
- package/dist/pause-circle-outlined.cd534f5f.mjs +8 -0
- package/dist/pause-outlined.fca0d0f9.mjs +8 -0
- package/dist/pause-rounded.1ed7cc39.mjs +8 -0
- package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
- package/dist/plus-outlined.bdaa6481.mjs +8 -0
- package/dist/printer-outlined.a8d0d92b.mjs +8 -0
- package/dist/profile-outlined.1059fb0d.mjs +8 -0
- package/dist/project/build/generate/generateModifyVars.ts +39 -0
- package/dist/project/index.ts +1 -0
- package/dist/project/types/global.d.ts +184 -0
- package/dist/release-gate-check.8c1ba629.mjs +8 -0
- package/dist/reload-outlined.d320578b.mjs +8 -0
- package/dist/retweet-outlined.bfa9b123.mjs +8 -0
- package/dist/save-as-outline-rounded.c65d61b2.mjs +8 -0
- package/dist/save-outline-rounded.c9c3f880.mjs +8 -0
- package/dist/search-outlined-Od1M_oxf.4a68e7e4.mjs +8 -0
- package/dist/search-outlined.ba5c5a3f.mjs +8 -0
- package/dist/setting-outlined.a3caf743.mjs +8 -0
- package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +51 -0
- package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/DescriptionController/index.d.ts +2 -0
- package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +2 -0
- package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
- package/dist/src/api/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/index.d.ts +9 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarVariableController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +25 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/dist/src/api/WMS/index.d.ts +2 -0
- package/dist/src/api/WMS/models.d.ts +1128 -0
- package/dist/src/api/api.d.ts +1 -0
- package/dist/src/api/def.d.ts +1 -0
- package/dist/src/api/index.d.ts +2 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +46 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.event.d.ts +31 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +18 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +33 -0
- package/dist/src/component/KgAppSelect/index.d.ts +3 -0
- package/dist/src/component/KgButton/KgButton.Copy.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Create.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Delete.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Export.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Import.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.ImportTemplate.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Item.d.ts +39 -0
- package/dist/src/component/KgButton/KgButton.Other.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Search.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.Update.d.ts +40 -0
- package/dist/src/component/KgButton/KgButton.d.ts +39 -0
- package/dist/src/component/KgButton/KgButton.event.d.ts +81 -0
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +67 -0
- package/dist/src/component/KgButton/KgButton.model.d.ts +31 -0
- package/dist/src/component/KgButton/KgButton.store.d.ts +92 -0
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +100 -0
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.d.ts +37 -0
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +7 -0
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.d.ts +37 -0
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +27 -0
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +232 -0
- package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +216 -0
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +100 -0
- package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +27 -0
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +17 -0
- package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +9 -0
- package/dist/src/component/KgCanvas/index.d.ts +4 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts +63 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +33 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +29 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts +127 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts +354 -0
- package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
- package/dist/src/component/KgForm/KgForm.d.ts +413 -0
- package/dist/src/component/KgForm/KgForm.event.d.ts +202 -0
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +92 -0
- package/dist/src/component/KgForm/KgForm.store.d.ts +23 -0
- package/dist/src/component/KgForm/index.d.ts +4 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.d.ts +31 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Checkbox.d.ts +98 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.CheckboxGroup.d.ts +95 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Date.d.ts +95 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.DateRange.d.ts +95 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Image.d.ts +90 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Input.d.ts +94 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.InputNumber.d.ts +94 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.InputPassword.d.ts +94 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Link.d.ts +93 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.RadioGroup.d.ts +96 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Select.d.ts +95 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +28 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.Switch.d.ts +94 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.TextArea.d.ts +94 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +95 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +111 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +17 -0
- package/dist/src/component/KgImage/KgImage.d.ts +100 -0
- package/dist/src/component/KgLayoutHeader/KgLayoutHeader.Locale.d.ts +38 -0
- package/dist/src/component/KgLayoutHeader/KgLayoutHeader.hooks.d.ts +4 -0
- package/dist/src/component/KgLayoutHeader/index.d.ts +2 -0
- package/dist/src/component/KgModal/KgModal.d.ts +817 -0
- package/dist/src/component/KgModal/KgModal.model.d.ts +8 -0
- package/dist/src/component/KgModal/KgModal.service.d.ts +37 -0
- package/dist/src/component/KgModal/KgModalHeaderButtons.d.ts +92 -0
- package/dist/src/component/KgModal02/KgModal02.d.ts +470 -0
- package/dist/src/component/KgModal02/KgModal02.model.d.ts +1 -0
- package/dist/src/component/KgProgressA/KgProgressA.d.ts +85 -0
- package/dist/src/component/KgResizable/KgResizable.d.ts +119 -0
- package/dist/src/component/KgResizable/KgResizable.service.d.ts +12 -0
- package/dist/src/component/KgSearch/KgSearch.d.ts +26 -0
- package/dist/src/component/KgSearch/KgSearch.event.d.ts +31 -0
- package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +72 -0
- package/dist/src/component/KgSearch/KgSearch.service.d.ts +32 -0
- package/dist/src/component/KgSearch/KgSearch.store.d.ts +103 -0
- package/dist/src/component/KgSearch/index.d.ts +3 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +80 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +36 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +97 -0
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +108 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +113 -0
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +93 -0
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +103 -0
- package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +1502 -0
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +474 -0
- package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +21 -0
- package/dist/src/component/KgSimulator/index.d.ts +3 -0
- package/dist/src/component/KgSubmit/KgSubmit.d.ts +21 -0
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +135 -0
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +358 -0
- package/dist/src/component/KgSubmit/KgSubmit.model.d.ts +57 -0
- package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +29 -0
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +112 -0
- package/dist/src/component/KgSubmit/index.d.ts +4 -0
- package/dist/src/component/KgTable/KgTable.BodyCell.d.ts +60 -0
- package/dist/src/component/KgTable/KgTable.HeadCell.d.ts +51 -0
- package/dist/src/component/KgTable/KgTable.Info.d.ts +57 -0
- package/dist/src/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.d.ts +4 -0
- package/dist/src/component/KgTable/KgTable.Setting.d.ts +20 -0
- package/dist/src/component/KgTable/KgTable.Setting.service.d.ts +22 -0
- package/dist/src/component/KgTable/KgTable.d.ts +39 -0
- package/dist/src/component/KgTable/KgTable.event.d.ts +111 -0
- package/dist/src/component/KgTable/KgTable.hooks.d.ts +135 -0
- package/dist/src/component/KgTable/KgTable.model.d.ts +65 -0
- package/dist/src/component/KgTable/KgTable.service.d.ts +34 -0
- package/dist/src/component/KgTable/KgTable.store.d.ts +91 -0
- package/dist/src/component/KgTable/index.d.ts +4 -0
- package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +72 -0
- package/dist/src/component/KgTable02/KgTable02.d.ts +46 -0
- package/dist/src/component/KgTable02/KgTable02.event.d.ts +123 -0
- package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +62 -0
- package/dist/src/component/KgTable02/KgTable02.store.d.ts +62 -0
- package/dist/src/component/KgTable02/index.d.ts +4 -0
- package/dist/src/component/KgVar/KgVar.Factory.d.ts +106 -0
- package/dist/src/component/KgVar/KgVar.d.ts +120 -0
- package/dist/src/component/KgVar/KgVar.event.d.ts +75 -0
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +307 -0
- package/dist/src/component/KgVar/KgVar.model.d.ts +70 -0
- package/dist/src/component/KgVar/KgVar.store.d.ts +269 -0
- package/dist/src/component/KgVar/index.d.ts +5 -0
- package/dist/src/component/KgVarConfig/KgVarConfig.d.ts +3 -0
- package/dist/src/component/KgVarConfig/KgVarConfig.hooks.d.ts +3 -0
- package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +42 -0
- package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +16 -0
- package/dist/src/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
- package/dist/src/component/KgVarConfig/components/KgVarConfigModal.d.ts +53 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +17 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
- package/dist/src/component/KgVarConfig/index.d.ts +3 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.d.ts +50 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +30 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.guard.d.ts +8 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +41 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +27 -0
- package/dist/src/component/KgWarehouse/index.d.ts +4 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.d.ts +44 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +27 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +28 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.store.d.ts +37 -0
- package/dist/src/component/KgYesOrNo/KgYesOrNo.d.ts +60 -0
- package/dist/src/component/index.d.ts +22 -0
- package/dist/src/config/config.hooks.d.ts +10 -0
- package/dist/src/config/config.store.d.ts +304 -0
- package/dist/src/config/index.d.ts +63 -0
- package/dist/src/i18n/cs_CZ.d.ts +2 -0
- package/dist/src/i18n/en.d.ts +237 -0
- package/dist/src/i18n/es_ES.d.ts +2 -0
- package/dist/src/i18n/fr_FR.d.ts +2 -0
- package/dist/src/i18n/i18n.setup.d.ts +20 -0
- package/dist/src/i18n/index.d.ts +2 -0
- package/dist/src/i18n/km_KH.d.ts +2 -0
- package/dist/src/i18n/ko_KR.d.ts +2 -0
- package/dist/src/i18n/vi_VN.d.ts +2 -0
- package/dist/src/i18n/zh_CN.d.ts +238 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/model/index.d.ts +1976 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts +11 -0
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +10 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Button.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Menu.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Search.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Submit.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Table.d.ts +6 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.d.ts +32 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +39 -0
- package/dist/src/page/KgPageDda/index.d.ts +5 -0
- package/dist/src/page/KgPageSqlClient/KgPageSqlClient.d.ts +12 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +13 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +36 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.d.ts +7 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.d.ts +5 -0
- package/dist/src/page/index.d.ts +8 -0
- package/dist/src/project/build/getConfigFileName.d.ts +5 -0
- package/dist/src/project/build/index.d.ts +1 -0
- package/dist/src/project/index.d.ts +3 -0
- package/dist/src/project/src/api/sys/menu.d.ts +4 -0
- package/dist/src/project/src/api/sys/model/menuModel.d.ts +15 -0
- package/dist/src/project/src/api/sys/model/userModel.d.ts +46 -0
- package/dist/src/project/src/components/Application/src/useAppContext.d.ts +9 -0
- package/dist/src/project/src/components/index.d.ts +2 -0
- package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
- package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
- package/dist/src/project/src/enums/appEnum.d.ts +40 -0
- package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
- package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
- package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
- package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
- package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
- package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
- package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
- package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
- package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
- package/dist/src/project/src/hooks/component/useFormItem.d.ts +2 -0
- package/dist/src/project/src/hooks/component/usePageContext.d.ts +10 -0
- package/dist/src/project/src/hooks/core/onMountedOrActivated.d.ts +1 -0
- package/dist/src/project/src/hooks/core/useAttrs.d.ts +9 -0
- package/dist/src/project/src/hooks/core/useContext.d.ts +11 -0
- package/dist/src/project/src/hooks/core/useRefs.d.ts +2 -0
- package/dist/src/project/src/hooks/core/useTimeout.d.ts +10 -0
- package/dist/src/project/src/hooks/event/useBreakpoint.d.ts +22 -0
- package/dist/src/project/src/hooks/event/useEventListener.d.ts +14 -0
- package/dist/src/project/src/hooks/event/useIntersectionObserver.d.ts +13 -0
- package/dist/src/project/src/hooks/event/useScrollTo.d.ts +10 -0
- package/dist/src/project/src/hooks/event/useWindowSizeFn.d.ts +7 -0
- package/dist/src/project/src/hooks/index.d.ts +21 -0
- package/dist/src/project/src/hooks/jeecg/useAdaptiveWidth.d.ts +18 -0
- package/dist/src/project/src/hooks/setting/index.d.ts +2 -0
- package/dist/src/project/src/hooks/web/useAppInject.d.ts +3 -0
- package/dist/src/project/src/hooks/web/useContentHeight.d.ts +24 -0
- package/dist/src/project/src/hooks/web/useCopyToClipboard.d.ts +10 -0
- package/dist/src/project/src/hooks/web/useDesign.d.ts +4 -0
- package/dist/src/project/src/hooks/web/usePage.d.ts +10 -0
- package/dist/src/project/src/hooks/web/usePagination.d.ts +7 -0
- package/dist/src/project/src/hooks/web/useWebSocket.d.ts +18 -0
- package/dist/src/project/src/layouts/default/content/useContentContext.d.ts +9 -0
- package/dist/src/project/src/layouts/default/content/useContentViewHeight.d.ts +7 -0
- package/dist/src/project/src/locales/helper.d.ts +4 -0
- package/dist/src/project/src/locales/setupI18n.d.ts +4 -0
- package/dist/src/project/src/locales/useLocale.d.ts +11 -0
- package/dist/src/project/src/router/constant2.d.ts +3 -0
- package/dist/src/project/src/router/types.d.ts +61 -0
- package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
- package/dist/src/project/src/settings/designSetting.d.ts +6 -0
- package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
- package/dist/src/project/src/settings/projectSetting.d.ts +3 -0
- package/dist/src/project/src/store/modules/locale.d.ts +38 -0
- package/dist/src/project/src/utils/auth/index.d.ts +19 -0
- package/dist/src/project/src/utils/bem.d.ts +15 -0
- package/dist/src/project/src/utils/cache/index.d.ts +7 -0
- package/dist/src/project/src/utils/cache/memory.d.ts +22 -0
- package/dist/src/project/src/utils/cache/persistent.d.ts +33 -0
- package/dist/src/project/src/utils/cache/storageCache.d.ts +8 -0
- package/dist/src/project/src/utils/cipher.d.ts +19 -0
- package/dist/src/project/src/utils/color.d.ts +29 -0
- package/dist/src/project/src/utils/common/compUtils.d.ts +87 -0
- package/dist/src/project/src/utils/common/functionUtils.d.ts +6 -0
- package/dist/src/project/src/utils/dateUtil.d.ts +4 -0
- package/dist/src/project/src/utils/domUtils.d.ts +28 -0
- package/dist/src/project/src/utils/encryption/signMd5Utils.d.ts +29 -0
- package/dist/src/project/src/utils/env.d.ts +16 -0
- package/dist/src/project/src/utils/event/index.d.ts +3 -0
- package/dist/src/project/src/utils/factory/createAsyncComponent.d.ts +9 -0
- package/dist/src/project/src/utils/file/base64Conver.d.ts +4 -0
- package/dist/src/project/src/utils/file/download.d.ts +9 -0
- package/dist/src/project/src/utils/helper/treeHelper.d.ts +34 -0
- package/dist/src/project/src/utils/helper/tsxHelper.d.ts +13 -0
- package/dist/src/project/src/utils/index.index.d.ts +42 -0
- package/dist/src/project/src/utils/is.d.ts +17 -0
- package/dist/src/project/src/utils/mitt.d.ts +26 -0
- package/dist/src/project/src/utils/propTypes.d.ts +9 -0
- package/dist/src/project/src/utils/props.d.ts +68 -0
- package/dist/src/project/src/utils/uuid.d.ts +2 -0
- package/dist/src/project/types/axios.d.ts +35 -0
- package/dist/src/project/types/config.d.ts +108 -0
- package/dist/src/project/types/store.d.ts +43 -0
- package/dist/src/project/types/utils.d.ts +4 -0
- package/dist/src/service/http-client.d.ts +98 -0
- package/dist/src/util/ant-design-vue.d.ts +347 -0
- package/dist/src/util/event.util.d.ts +15 -0
- package/dist/src/util/kg-auth.util.d.ts +12 -0
- package/dist/src/util/kg-route.util.d.ts +18 -0
- package/dist/src/util/kg.util.d.ts +347 -0
- package/dist/src/util/tsx.helper.d.ts +23 -0
- package/dist/stop-outlined.9f2c4f61.mjs +8 -0
- package/dist/stop.ea3dde55.mjs +8 -0
- package/dist/three-dots-loading-bIlrTJYR.ebceb73e.mjs +8 -0
- package/dist/upload-outlined.c576b26a.mjs +8 -0
- package/package.json +68 -10
- package/api/WMS/Controllers/DescriptionController/List.ts +0 -84
- package/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.ts +0 -21
- package/api/WMS/Controllers/DescriptionController/index.ts +0 -2
- package/api/WMS/Controllers/SqlClientController/Execute.ts +0 -21
- package/api/WMS/Controllers/SqlClientController/ExecutePage.ts +0 -21
- package/api/WMS/Controllers/SqlClientController/index.ts +0 -2
- package/api/WMS/Controllers/SysPermissionController/List.ts +0 -117
- package/api/WMS/Controllers/SysPermissionController/index.ts +0 -1
- package/api/WMS/Controllers/VarConfigDescriptionController/Add.ts +0 -21
- package/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.ts +0 -21
- package/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.ts +0 -36
- package/api/WMS/Controllers/VarConfigPossibilityController/index.ts +0 -1
- package/api/WMS/Controllers/VarController/GetAll.ts +0 -21
- package/api/WMS/Controllers/VarController/index.ts +0 -1
- package/api/WMS/Controllers/VarDdaController/Create.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateCopySql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateCreateSql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateFrmId.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateSearchSql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.ts +0 -21
- package/api/WMS/Controllers/VarDdaController/index.ts +0 -9
- package/api/WMS/Controllers/VarGridMasterController/QueryByID.ts +0 -36
- package/api/WMS/Controllers/VarGridMasterController/Update.ts +0 -21
- package/api/WMS/Controllers/VarGridMasterController/index.ts +0 -2
- package/api/WMS/Controllers/VarProfileMasterController/QueryByID.ts +0 -36
- package/api/WMS/Controllers/VarProfileMasterController/index.ts +0 -1
- package/api/WMS/Controllers/VarVariableController/Delete.ts +0 -21
- package/api/WMS/Controllers/VarVariableController/index.ts +0 -1
- package/api/WMS/Controllers/WarehouseController/ListVO.ts +0 -45
- package/api/WMS/Controllers/WorkstationController/List.ts +0 -45
- package/api/WMS/Controllers/WorkstationController/index.ts +0 -1
- package/api/WMS/index.ts +0 -2
- package/api/WMS/models.ts +0 -2113
- package/api/api.ts +0 -1
- package/api/def.ts +0 -1
- package/api/index.ts +0 -2
- package/asset/ant.less +0 -678
- package/asset/element-plus.css +0 -112
- 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 +0 -9
- package/asset/images/warehouse.1890ff.svg +0 -9
- package/asset/index.less +0 -347
- package/asset/jeecg.less +0 -382
- package/asset/var.less +0 -3
- package/asset/vxe.less +0 -51
- package/component/KgAppSelect/KgAppSelect.event.ts +0 -52
- package/component/KgAppSelect/KgAppSelect.hooks.ts +0 -50
- package/component/KgAppSelect/KgAppSelect.less +0 -30
- package/component/KgAppSelect/KgAppSelect.store.ts +0 -162
- package/component/KgAppSelect/KgAppSelect.tsx +0 -60
- package/component/KgAppSelect/index.ts +0 -4
- package/component/KgButton/KgButton.Copy.tsx +0 -143
- package/component/KgButton/KgButton.Create.tsx +0 -208
- package/component/KgButton/KgButton.Delete.tsx +0 -156
- package/component/KgButton/KgButton.Export.tsx +0 -294
- package/component/KgButton/KgButton.Import.tsx +0 -247
- package/component/KgButton/KgButton.ImportTemplate.tsx +0 -214
- package/component/KgButton/KgButton.Item.tsx +0 -128
- package/component/KgButton/KgButton.Other.tsx +0 -292
- package/component/KgButton/KgButton.Search.tsx +0 -146
- package/component/KgButton/KgButton.Update.tsx +0 -210
- package/component/KgButton/KgButton.event.ts +0 -157
- package/component/KgButton/KgButton.hooks.ts +0 -117
- package/component/KgButton/KgButton.less +0 -187
- package/component/KgButton/KgButton.model.tsx +0 -39
- package/component/KgButton/KgButton.store.ts +0 -333
- package/component/KgButton/KgButton.tsx +0 -221
- package/component/KgCanvas/KgCanvas.ContextMenu.tsx +0 -181
- package/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.tsx +0 -80
- package/component/KgCanvas/KgCanvas.ToolbarButton.Mode.tsx +0 -68
- package/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.tsx +0 -66
- package/component/KgCanvas/KgCanvas.Tooltip.tsx +0 -118
- package/component/KgCanvas/KgCanvas.css +0 -128
- package/component/KgCanvas/KgCanvas.event.ts +0 -380
- package/component/KgCanvas/KgCanvas.hooks.ts +0 -181
- package/component/KgCanvas/KgCanvas.model.ts +0 -31
- package/component/KgCanvas/KgCanvas.service.tsx +0 -116
- package/component/KgCanvas/KgCanvas.store.ts +0 -68
- package/component/KgCanvas/KgCanvas.tsx +0 -632
- package/component/KgCanvas/index.ts +0 -5
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.tsx +0 -107
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.tsx +0 -3053
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.tsx +0 -606
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.tsx +0 -71
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.tsx +0 -50
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.tsx +0 -169
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.tsx +0 -30
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.tsx +0 -672
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.css +0 -510
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.ts +0 -78
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.ts +0 -161
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.tsx +0 -744
- package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.tsx +0 -171
- package/component/KgCircularShuttleMonitor/index.ts +0 -4
- package/component/KgForm/KgForm.event.ts +0 -328
- package/component/KgForm/KgForm.hooks.ts +0 -158
- package/component/KgForm/KgForm.less +0 -0
- package/component/KgForm/KgForm.store.ts +0 -36
- package/component/KgForm/KgForm.tsx +0 -61
- package/component/KgForm/index.ts +0 -10
- package/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.tsx +0 -88
- package/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.tsx +0 -191
- package/component/KgForm.Item/KgForm.Item.Addon.Lookup.tsx +0 -76
- package/component/KgForm.Item/KgForm.Item.Checkbox.tsx +0 -61
- package/component/KgForm.Item/KgForm.Item.CheckboxGroup.tsx +0 -176
- package/component/KgForm.Item/KgForm.Item.Date.tsx +0 -88
- package/component/KgForm.Item/KgForm.Item.DateRange.tsx +0 -110
- package/component/KgForm.Item/KgForm.Item.Image.tsx +0 -35
- package/component/KgForm.Item/KgForm.Item.Input.tsx +0 -72
- package/component/KgForm.Item/KgForm.Item.InputNumber.tsx +0 -68
- package/component/KgForm.Item/KgForm.Item.InputPassword.tsx +0 -72
- package/component/KgForm.Item/KgForm.Item.Link.tsx +0 -37
- package/component/KgForm.Item/KgForm.Item.RadioGroup.tsx +0 -91
- package/component/KgForm.Item/KgForm.Item.Select.service.tsx +0 -317
- package/component/KgForm.Item/KgForm.Item.Select.tsx +0 -236
- package/component/KgForm.Item/KgForm.Item.Switch.tsx +0 -49
- package/component/KgForm.Item/KgForm.Item.TextArea.tsx +0 -99
- package/component/KgForm.Item/KgForm.Item.less +0 -476
- package/component/KgForm.Item/KgForm.Item.model.ts +0 -129
- package/component/KgForm.Item/KgForm.Item.service.tsx +0 -479
- package/component/KgForm.Item/KgForm.Item.tsx +0 -642
- package/component/KgImage/KgImage.less +0 -12
- package/component/KgImage/KgImage.tsx +0 -73
- package/component/KgLayoutHeader/KgLayoutHeader.Locale.tsx +0 -118
- package/component/KgLayoutHeader/KgLayoutHeader.hooks.ts +0 -31
- package/component/KgLayoutHeader/KgLayoutHeader.less +0 -14
- package/component/KgLayoutHeader/index.ts +0 -3
- package/component/KgModal/KgModal.css +0 -234
- package/component/KgModal/KgModal.model.ts +0 -9
- package/component/KgModal/KgModal.service.ts +0 -560
- package/component/KgModal/KgModal.tsx +0 -207
- package/component/KgModal/KgModalHeaderButtons.tsx +0 -130
- package/component/KgModal02/KgModal02.css +0 -11
- package/component/KgModal02/KgModal02.model.ts +0 -1
- package/component/KgModal02/KgModal02.tsx +0 -93
- package/component/KgProgressA/KgProgressA.less +0 -35
- package/component/KgProgressA/KgProgressA.tsx +0 -90
- package/component/KgResizable/KgResizable.less +0 -114
- package/component/KgResizable/KgResizable.service.tsx +0 -41
- package/component/KgResizable/KgResizable.tsx +0 -239
- package/component/KgSearch/KgSearch.event.ts +0 -78
- package/component/KgSearch/KgSearch.hooks.ts +0 -160
- package/component/KgSearch/KgSearch.less +0 -251
- package/component/KgSearch/KgSearch.service.tsx +0 -236
- package/component/KgSearch/KgSearch.store.ts +0 -609
- package/component/KgSearch/KgSearch.tsx +0 -506
- package/component/KgSearch/index.ts +0 -4
- package/component/KgSimulator/KgSimulator.Canvas.Title.tsx +0 -71
- package/component/KgSimulator/KgSimulator.Canvas.service.tsx +0 -3403
- package/component/KgSimulator/KgSimulator.Canvas.tsx +0 -1105
- package/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.tsx +0 -258
- package/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.tsx +0 -214
- package/component/KgSimulator/KgSimulator.Menu.tsx +0 -446
- package/component/KgSimulator/KgSimulator.Panel.Prefab.tsx +0 -87
- package/component/KgSimulator/KgSimulator.Panel.Property.tsx +0 -1120
- package/component/KgSimulator/KgSimulator.Panel.Scene.tsx +0 -819
- package/component/KgSimulator/KgSimulator.Panel.tsx +0 -149
- package/component/KgSimulator/KgSimulator.Prefab.tsx +0 -142
- package/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.tsx +0 -44
- package/component/KgSimulator/KgSimulator.ToolbarButton.Property.tsx +0 -40
- package/component/KgSimulator/KgSimulator.ToolbarButton.Scene.tsx +0 -40
- package/component/KgSimulator/KgSimulator.ToolbarButton.tsx +0 -130
- package/component/KgSimulator/KgSimulator.css +0 -610
- package/component/KgSimulator/KgSimulator.event.ts +0 -197
- package/component/KgSimulator/KgSimulator.hooks.ts +0 -237
- package/component/KgSimulator/KgSimulator.icons.tsx +0 -148
- package/component/KgSimulator/KgSimulator.model.ts +0 -2629
- package/component/KgSimulator/KgSimulator.store.tsx +0 -1192
- package/component/KgSimulator/KgSimulator.tsx +0 -235
- package/component/KgSimulator/KgSimulator.utils.ts +0 -30
- package/component/KgSimulator/index.ts +0 -4
- package/component/KgSubmit/KgSubmit.event.ts +0 -272
- package/component/KgSubmit/KgSubmit.hooks.ts +0 -662
- package/component/KgSubmit/KgSubmit.less +0 -174
- package/component/KgSubmit/KgSubmit.model.ts +0 -82
- package/component/KgSubmit/KgSubmit.service.tsx +0 -368
- package/component/KgSubmit/KgSubmit.store.ts +0 -568
- package/component/KgSubmit/KgSubmit.tsx +0 -1132
- package/component/KgSubmit/index.ts +0 -5
- package/component/KgTable/KgTable.BodyCell.tsx +0 -475
- package/component/KgTable/KgTable.HeadCell.tsx +0 -333
- package/component/KgTable/KgTable.Info.tsx +0 -133
- package/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.tsx +0 -63
- package/component/KgTable/KgTable.Setting.service.tsx +0 -285
- package/component/KgTable/KgTable.Setting.tsx +0 -377
- package/component/KgTable/KgTable.event.ts +0 -206
- package/component/KgTable/KgTable.hooks.ts +0 -235
- package/component/KgTable/KgTable.less +0 -912
- package/component/KgTable/KgTable.model.ts +0 -73
- package/component/KgTable/KgTable.service.tsx +0 -781
- package/component/KgTable/KgTable.store.ts +0 -390
- package/component/KgTable/KgTable.tsx +0 -1105
- package/component/KgTable/index.ts +0 -5
- package/component/KgTable02/KgTable02.BodyCell.tsx +0 -407
- package/component/KgTable02/KgTable02.css +0 -199
- package/component/KgTable02/KgTable02.event.ts +0 -224
- package/component/KgTable02/KgTable02.hooks.ts +0 -111
- package/component/KgTable02/KgTable02.store.ts +0 -186
- package/component/KgTable02/KgTable02.tsx +0 -865
- package/component/KgTable02/index.ts +0 -5
- package/component/KgVar/KgVar.Factory.tsx +0 -146
- package/component/KgVar/KgVar.css +0 -125
- package/component/KgVar/KgVar.event.ts +0 -122
- package/component/KgVar/KgVar.hooks.ts +0 -543
- package/component/KgVar/KgVar.model.ts +0 -86
- package/component/KgVar/KgVar.store.ts +0 -2966
- package/component/KgVar/KgVar.tsx +0 -276
- package/component/KgVar/index.ts +0 -6
- package/component/KgVarConfig/KgVarConfig.hooks.ts +0 -19
- package/component/KgVarConfig/KgVarConfig.less +0 -499
- package/component/KgVarConfig/KgVarConfig.model.ts +0 -56
- package/component/KgVarConfig/KgVarConfig.store.ts +0 -29
- package/component/KgVarConfig/KgVarConfig.tsx +0 -139
- package/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.tsx +0 -138
- package/component/KgVarConfig/components/KgVarConfigModal.tsx +0 -228
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.tsx +0 -647
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.tsx +0 -64
- package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.tsx +0 -44
- package/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.tsx +0 -265
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.tsx +0 -64
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.tsx +0 -408
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.tsx +0 -399
- package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.tsx +0 -44
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.tsx +0 -336
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.tsx +0 -165
- package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.tsx +0 -44
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.tsx +0 -209
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.tsx +0 -567
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.tsx +0 -398
- package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.tsx +0 -44
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.tsx +0 -162
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.tsx +0 -119
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.tsx +0 -322
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.tsx +0 -222
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.tsx +0 -194
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.tsx +0 -134
- package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.tsx +0 -129
- package/component/KgVarConfig/index.ts +0 -6
- package/component/KgWarehouse/KgWarehouse.event.ts +0 -63
- package/component/KgWarehouse/KgWarehouse.guard.ts +0 -77
- package/component/KgWarehouse/KgWarehouse.hooks.ts +0 -92
- package/component/KgWarehouse/KgWarehouse.less +0 -78
- package/component/KgWarehouse/KgWarehouse.store.ts +0 -135
- package/component/KgWarehouse/KgWarehouse.tsx +0 -321
- package/component/KgWarehouse/index.ts +0 -5
- package/component/KgWorkStation/KgWorkStation.css +0 -8
- package/component/KgWorkStation/KgWorkStation.event.ts +0 -54
- package/component/KgWorkStation/KgWorkStation.hooks.ts +0 -59
- package/component/KgWorkStation/KgWorkStation.store.ts +0 -144
- package/component/KgWorkStation/KgWorkStation.tsx +0 -254
- package/component/KgYesOrNo/KgYesOrNo.less +0 -3
- package/component/KgYesOrNo/KgYesOrNo.tsx +0 -50
- package/component/index.ts +0 -23
- package/config/config.hooks.ts +0 -32
- package/config/config.store.ts +0 -705
- package/config/index.ts +0 -347
- package/i18n/cs_CZ.ts +0 -1
- package/i18n/en.ts +0 -236
- package/i18n/es_ES.ts +0 -1
- package/i18n/fr_FR.ts +0 -1
- package/i18n/i18n.setup.ts +0 -61
- package/i18n/index.ts +0 -23
- package/i18n/km_KH.ts +0 -1
- package/i18n/ko_KR.ts +0 -1
- package/i18n/vi_VN.ts +0 -1
- package/i18n/zh_CN.ts +0 -237
- package/index.ts +0 -15
- package/model/index.ts +0 -1695
- package/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.tsx +0 -13
- package/page/KgPageDda/KgPageDda.css +0 -0
- package/page/KgPageDda/KgPageDda.tsx +0 -140
- package/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.tsx +0 -65
- package/page/KgPageDda/components/KgPageDda.Create.Basic.tsx +0 -219
- package/page/KgPageDda/components/KgPageDda.Create.Button.tsx +0 -427
- package/page/KgPageDda/components/KgPageDda.Create.Menu.tsx +0 -148
- package/page/KgPageDda/components/KgPageDda.Create.Search.tsx +0 -371
- package/page/KgPageDda/components/KgPageDda.Create.Submit.tsx +0 -362
- package/page/KgPageDda/components/KgPageDda.Create.Table.tsx +0 -372
- package/page/KgPageDda/components/KgPageDda.Create.less +0 -362
- package/page/KgPageDda/components/KgPageDda.Create.store.ts +0 -437
- package/page/KgPageDda/components/KgPageDda.Create.tsx +0 -330
- package/page/KgPageDda/index.ts +0 -4
- package/page/KgPageSqlClient/KgPageSqlClient.tsx +0 -14
- package/page/KgPageSqlClient/components/KgSqlClient.Editor.tsx +0 -84
- package/page/KgPageSqlClient/components/KgSqlClient.ResultTab.tsx +0 -145
- package/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.tsx +0 -132
- package/page/KgPageSqlClient/components/KgSqlClient.css +0 -171
- package/page/KgPageSqlClient/components/KgSqlClient.tsx +0 -110
- package/page/index.ts +0 -55
- package/project/build/generate/generateModifyVars.ts +0 -40
- package/project/index.ts +0 -2
- package/project/src/api/sys/menu.ts +0 -37
- package/project/src/api/sys/model/menuModel.ts +0 -17
- package/project/src/api/sys/model/userModel.ts +0 -58
- package/project/src/components/Application/src/useAppContext.ts +0 -17
- package/project/src/components/index.ts +0 -3
- package/project/src/enums/CompTypeEnum.ts +0 -32
- package/project/src/enums/DateTypeEnum.ts +0 -8
- package/project/src/enums/appEnum.ts +0 -58
- package/project/src/enums/breakpointEnum.ts +0 -28
- package/project/src/enums/cacheEnum.ts +0 -39
- package/project/src/enums/exceptionEnum.ts +0 -27
- package/project/src/enums/httpEnum.ts +0 -50
- package/project/src/enums/jeecgEnum.ts +0 -23
- package/project/src/enums/menuEnum.ts +0 -50
- package/project/src/enums/pageEnum.ts +0 -19
- package/project/src/enums/roleEnum.ts +0 -7
- package/project/src/enums/sizeEnum.ts +0 -27
- package/project/src/hooks/component/useFormItem.ts +0 -44
- package/project/src/hooks/component/usePageContext.ts +0 -18
- package/project/src/hooks/core/onMountedOrActivated.ts +0 -18
- package/project/src/hooks/core/useAttrs.ts +0 -41
- package/project/src/hooks/core/useContext.ts +0 -30
- package/project/src/hooks/core/useRefs.ts +0 -16
- package/project/src/hooks/core/useTimeout.ts +0 -45
- package/project/src/hooks/event/useBreakpoint.ts +0 -89
- package/project/src/hooks/event/useEventListener.ts +0 -52
- package/project/src/hooks/event/useIntersectionObserver.ts +0 -42
- package/project/src/hooks/event/useScrollTo.ts +0 -59
- package/project/src/hooks/event/useWindowSizeFn.ts +0 -36
- package/project/src/hooks/index.ts +0 -26
- package/project/src/hooks/jeecg/useAdaptiveWidth.ts +0 -82
- package/project/src/hooks/setting/index.ts +0 -27
- package/project/src/hooks/web/useAppInject.ts +0 -10
- package/project/src/hooks/web/useContentHeight.ts +0 -175
- package/project/src/hooks/web/useCopyToClipboard.ts +0 -70
- package/project/src/hooks/web/useDesign.ts +0 -10
- package/project/src/hooks/web/usePage.ts +0 -87
- package/project/src/hooks/web/usePagination.ts +0 -31
- package/project/src/hooks/web/useWebSocket.ts +0 -95
- package/project/src/layouts/default/content/useContentContext.ts +0 -17
- package/project/src/layouts/default/content/useContentViewHeight.ts +0 -42
- package/project/src/locales/helper.ts +0 -36
- package/project/src/locales/setupI18n.ts +0 -43
- package/project/src/locales/useLocale.ts +0 -77
- package/project/src/router/constant2.ts +0 -5
- package/project/src/router/types.ts +0 -73
- package/project/src/settings/componentSetting.ts +0 -88
- package/project/src/settings/designSetting.ts +0 -14
- package/project/src/settings/encryptionSetting.ts +0 -11
- package/project/src/settings/projectSetting.ts +0 -194
- package/project/src/store/modules/locale.ts +0 -49
- package/project/src/utils/auth/index.ts +0 -42
- package/project/src/utils/bem.ts +0 -45
- package/project/src/utils/cache/index.ts +0 -31
- package/project/src/utils/cache/memory.ts +0 -99
- package/project/src/utils/cache/persistent.ts +0 -132
- package/project/src/utils/cache/storageCache.ts +0 -102
- package/project/src/utils/cipher.ts +0 -54
- package/project/src/utils/color.ts +0 -93
- package/project/src/utils/common/compUtils.ts +0 -292
- package/project/src/utils/common/functionUtils.ts +0 -14
- package/project/src/utils/dateUtil.ts +0 -14
- package/project/src/utils/domUtils.ts +0 -158
- package/project/src/utils/encryption/signMd5Utils.ts +0 -122
- package/project/src/utils/env.ts +0 -40
- package/project/src/utils/event/index.ts +0 -39
- package/project/src/utils/factory/createAsyncComponent.tsx +0 -50
- package/project/src/utils/file/base64Conver.ts +0 -15
- package/project/src/utils/file/download.ts +0 -37
- package/project/src/utils/helper/treeHelper.ts +0 -145
- package/project/src/utils/helper/tsxHelper.ts +0 -35
- package/project/src/utils/index.index.ts +0 -158
- package/project/src/utils/is.ts +0 -85
- package/project/src/utils/mitt.ts +0 -101
- package/project/src/utils/propTypes.ts +0 -34
- package/project/src/utils/props.ts +0 -139
- package/project/src/utils/uuid.ts +0 -29
- package/project/types/axios.ts +0 -57
- package/project/types/config.ts +0 -180
- package/project/types/global.d.ts +0 -191
- package/project/types/store.ts +0 -60
- package/project/types/utils.ts +0 -5
- package/service/http-client.ts +0 -257
- package/tsconfig.json +0 -26
- package/type/env.d.ts +0 -7
- package/type/index.d.ts +0 -1
- package/util/ant-design-vue.ts +0 -146
- package/util/event.util.ts +0 -24
- package/util/kg-auth.util.ts +0 -16
- package/util/kg-route.util.ts +0 -25
- package/util/kg.util.tsx +0 -2997
- package/util/tsx.helper.tsx +0 -45
- /package/{project → dist/project}/build/config/themeConfig.ts +0 -0
- /package/{project → dist/project}/build/constant.ts +0 -0
- /package/{project → dist/project}/build/generate/icon/index.ts +0 -0
- /package/{project → dist/project}/build/getConfigFileName.ts +0 -0
- /package/{project → dist/project}/build/index.ts +0 -0
- /package/{project → dist/project}/build/script/buildConf.ts +0 -0
- /package/{project → dist/project}/build/script/postBuild.ts +0 -0
- /package/{project → dist/project}/build/utils.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/compress.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/html.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/imagemin.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/index.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/pwa.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/styleImport.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/svgSprite.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/theme.ts +0 -0
- /package/{project → dist/project}/build/vite/plugin/visualizer.ts +0 -0
- /package/{project → dist/project}/build/vite/proxy.ts +0 -0
- /package/{api/WMS/Controllers/VarConfigDescriptionController/index.ts → dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts} +0 -0
- /package/{api/WMS/Controllers/WarehouseController/index.ts → dist/src/api/WMS/Controllers/WarehouseController/index.d.ts} +0 -0
- /package/{api/WMS/Controllers/index.ts → dist/src/api/WMS/Controllers/index.d.ts} +0 -0
- /package/{component/KgButton/index.ts → dist/src/component/KgButton/index.d.ts} +0 -0
- /package/{component/KgForm.Item/index.ts → dist/src/component/KgForm.Item/index.d.ts} +0 -0
- /package/{component/KgImage/index.ts → dist/src/component/KgImage/index.d.ts} +0 -0
- /package/{component/KgModal/index.ts → dist/src/component/KgModal/index.d.ts} +0 -0
- /package/{component/KgModal02/index.ts → dist/src/component/KgModal02/index.d.ts} +0 -0
- /package/{component/KgProgressA/index.ts → dist/src/component/KgProgressA/index.d.ts} +0 -0
- /package/{component/KgResizable/index.ts → dist/src/component/KgResizable/index.d.ts} +0 -0
- /package/{component/KgSearch/KgSearch.model.ts → dist/src/component/KgSearch/KgSearch.model.d.ts} +0 -0
- /package/{component/KgTable02/KgTable02.model.ts → dist/src/component/KgTable02/KgTable02.model.d.ts} +0 -0
- /package/{component/KgWorkStation/index.ts → dist/src/component/KgWorkStation/index.d.ts} +0 -0
- /package/{component/KgYesOrNo/index.ts → dist/src/component/KgYesOrNo/index.d.ts} +0 -0
- /package/{page/KgPageCircularShuttleMonitor/index.ts → dist/src/page/KgPageCircularShuttleMonitor/index.d.ts} +0 -0
- /package/{page/KgPageSqlClient/index.ts → dist/src/page/KgPageSqlClient/index.d.ts} +0 -0
- /package/{project/src/api/index.ts → dist/src/project/src/api/index.d.ts} +0 -0
- /package/{project/src/api/sys/model/uploadModel.ts → dist/src/project/src/api/sys/model/uploadModel.d.ts} +0 -0
- /package/{project/src/components/Dropdown/index.ts → dist/src/project/src/components/Dropdown/index.d.ts} +0 -0
- /package/{project/src/components/Dropdown/src/typing.ts → dist/src/project/src/components/Dropdown/src/typing.d.ts} +0 -0
- /package/{project/src/enums/index.ts → dist/src/project/src/enums/index.d.ts} +0 -0
- /package/{project/src/index.ts → dist/src/project/src/index.d.ts} +0 -0
- /package/{project/src/layouts/index.ts → dist/src/project/src/layouts/index.d.ts} +0 -0
- /package/{project/src/locales/index.ts → dist/src/project/src/locales/index.d.ts} +0 -0
- /package/{project/src/router/index.ts → dist/src/project/src/router/index.d.ts} +0 -0
- /package/{project/src/settings/index.ts → dist/src/project/src/settings/index.d.ts} +0 -0
- /package/{project/src/store/index.ts → dist/src/project/src/store/index.d.ts} +0 -0
- /package/{project/src/store/modules/index.ts → dist/src/project/src/store/modules/index.d.ts} +0 -0
- /package/{project/src/utils/index.ts → dist/src/project/src/utils/index.d.ts} +0 -0
- /package/{project/types/index.ts → dist/src/project/types/index.d.ts} +0 -0
- /package/{service/index.ts → dist/src/service/index.d.ts} +0 -0
- /package/{util/index.ts → dist/src/util/index.d.ts} +0 -0
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { Icon } from '@iconify/vue';
|
|
2
|
-
import { Button, Select, SelectOption, Tooltip } from 'ant-design-vue';
|
|
3
|
-
import { defineComponent } from 'vue';
|
|
4
|
-
import './KgSqlClient.css';
|
|
5
|
-
import { useKg } from '../../../config';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* <p>数据库客户端:工具栏:顶部.</p>
|
|
9
|
-
*/
|
|
10
|
-
export const KgSqlClientToolbarTop = defineComponent({
|
|
11
|
-
name: 'KgSqlClientToolbarTop',
|
|
12
|
-
emits: ['execute'],
|
|
13
|
-
setup(props, { emit, expose }) {
|
|
14
|
-
const kg = useKg();
|
|
15
|
-
|
|
16
|
-
return () => (
|
|
17
|
-
<div class="kg-sql-client--toolbar-top">
|
|
18
|
-
<div class="left">
|
|
19
|
-
<Button
|
|
20
|
-
type={'primary'}
|
|
21
|
-
ghost={true}
|
|
22
|
-
onClick={() => {
|
|
23
|
-
emit('execute');
|
|
24
|
-
}}
|
|
25
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
26
|
-
>
|
|
27
|
-
<span class="icon">
|
|
28
|
-
<Icon icon="ant-design:clock-circle-outline" />
|
|
29
|
-
</span>
|
|
30
|
-
{kg.t('kg.KgSqlClient.Toolbar.Top.viewHistory')}
|
|
31
|
-
</Button>
|
|
32
|
-
|
|
33
|
-
<Button
|
|
34
|
-
type={'primary'}
|
|
35
|
-
ghost={true}
|
|
36
|
-
onClick={() => {
|
|
37
|
-
emit('execute');
|
|
38
|
-
}}
|
|
39
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
40
|
-
>
|
|
41
|
-
<span class="icon">
|
|
42
|
-
<Icon icon="ant-design:file-text-outline" />
|
|
43
|
-
</span>
|
|
44
|
-
{kg.t('kg.KgSqlClient.Toolbar.Top.viewTemplate')}
|
|
45
|
-
</Button>
|
|
46
|
-
|
|
47
|
-
<Button
|
|
48
|
-
type={'primary'}
|
|
49
|
-
onClick={() => {
|
|
50
|
-
emit('execute');
|
|
51
|
-
}}
|
|
52
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
53
|
-
>
|
|
54
|
-
<span class="icon">
|
|
55
|
-
<Icon icon="ant-design:plus-outlined" />
|
|
56
|
-
</span>
|
|
57
|
-
{kg.t('kg.KgSqlClient.Toolbar.Top.saveAsTemplate')}
|
|
58
|
-
</Button>
|
|
59
|
-
|
|
60
|
-
<Button
|
|
61
|
-
type={'primary'}
|
|
62
|
-
onClick={() => {
|
|
63
|
-
emit('execute');
|
|
64
|
-
}}
|
|
65
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
66
|
-
>
|
|
67
|
-
<span class="icon">
|
|
68
|
-
<Icon icon="ant-design:check-outlined" />
|
|
69
|
-
</span>
|
|
70
|
-
{kg.t('kg.KgSqlClient.Toolbar.Top.saveCurrentTemplate')}
|
|
71
|
-
</Button>
|
|
72
|
-
|
|
73
|
-
<Button
|
|
74
|
-
type={'primary'}
|
|
75
|
-
danger={true}
|
|
76
|
-
onClick={() => {
|
|
77
|
-
emit('execute');
|
|
78
|
-
}}
|
|
79
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
80
|
-
>
|
|
81
|
-
<span class="icon">
|
|
82
|
-
<Icon icon="ant-design:delete-outlined" />
|
|
83
|
-
</span>
|
|
84
|
-
{kg.t('kg.KgSqlClient.Toolbar.Top.deleteCurrentTemplate')}
|
|
85
|
-
</Button>
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
<div class="right">
|
|
89
|
-
<Tooltip
|
|
90
|
-
title={kg.t('kg.KgAppSelect.tooltip')}
|
|
91
|
-
placement="topLeft"
|
|
92
|
-
>
|
|
93
|
-
<Select
|
|
94
|
-
value={'TODO'}
|
|
95
|
-
onChange={(value) => {
|
|
96
|
-
/*TODO*/
|
|
97
|
-
}}
|
|
98
|
-
dropdownClassName="kg-app-select--dropdown"
|
|
99
|
-
allowClear={true}
|
|
100
|
-
class="kg-app-select"
|
|
101
|
-
style="width: 500px"
|
|
102
|
-
>
|
|
103
|
-
{{
|
|
104
|
-
default: () => (
|
|
105
|
-
<>
|
|
106
|
-
{[].map((i) => (
|
|
107
|
-
<SelectOption value={'TODO'}>{'TODO'}</SelectOption>
|
|
108
|
-
))}
|
|
109
|
-
</>
|
|
110
|
-
),
|
|
111
|
-
suffixIcon: () => <Icon icon="ant-design:caret-down-outlined" />,
|
|
112
|
-
}}
|
|
113
|
-
</Select>
|
|
114
|
-
</Tooltip>
|
|
115
|
-
|
|
116
|
-
<Button
|
|
117
|
-
type={'primary'}
|
|
118
|
-
onClick={() => {
|
|
119
|
-
emit('execute');
|
|
120
|
-
}}
|
|
121
|
-
style={{ alignItems: 'center', display: 'flex' }}
|
|
122
|
-
>
|
|
123
|
-
<span class="icon">
|
|
124
|
-
<Icon icon="ant-design:caret-right-outlined" />
|
|
125
|
-
</span>
|
|
126
|
-
{kg.t('kg.execute')}
|
|
127
|
-
</Button>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
);
|
|
131
|
-
},
|
|
132
|
-
});
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
.kg-sql-client {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
justify-content: flex-start;
|
|
8
|
-
padding: 6px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* region kg-sql-client--toolbar-top*/
|
|
12
|
-
.kg-sql-client .kg-sql-client--toolbar-top {
|
|
13
|
-
width: 100%;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
margin-bottom: 4px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.kg-sql-client .kg-sql-client--toolbar-top > .left {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: flex-start;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.kg-sql-client .kg-sql-client--toolbar-top > .left .ant-btn {
|
|
27
|
-
margin-right: 4px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.kg-sql-client .kg-sql-client--toolbar-top > .left .ant-btn .icon {
|
|
31
|
-
display: inline-flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* endregion */
|
|
36
|
-
|
|
37
|
-
/* region kg-sql-client--editor */
|
|
38
|
-
.kg-sql-client .kg-sql-client--editor {
|
|
39
|
-
width: 100%;
|
|
40
|
-
flex: 1;
|
|
41
|
-
min-height: 32px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.kg-sql-client .kg-sql-client--editor > textarea.ant-input {
|
|
45
|
-
height: 100%;
|
|
46
|
-
resize: none;
|
|
47
|
-
padding: 1px;
|
|
48
|
-
line-height: 1;
|
|
49
|
-
font-family: Monaco, Consolas, 'Courier New', monospace;
|
|
50
|
-
font-size: 13px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.kg-sql-client .kg-sql-client--editor > textarea.ant-input:focus,
|
|
54
|
-
.kg-sql-client .kg-sql-client--editor > textarea.ant-input-focused {
|
|
55
|
-
box-shadow: none !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* endregion */
|
|
59
|
-
|
|
60
|
-
/* region kg-sql-client--result*/
|
|
61
|
-
.kg-sql-client .kg-sql-client--result {
|
|
62
|
-
width: 100%;
|
|
63
|
-
margin-top: 4px;
|
|
64
|
-
border: 1px solid #d9d9d9;
|
|
65
|
-
border-radius: 3px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs {
|
|
69
|
-
height: 100%;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-content {
|
|
73
|
-
height: 100%;
|
|
74
|
-
padding: 0px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav {
|
|
78
|
-
margin-bottom: 0px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap {
|
|
82
|
-
background: #fafafa;
|
|
83
|
-
border-bottom: 1px solid #e5e7eb;
|
|
84
|
-
border-radius: 3px 3px 0 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap .ant-tabs-nav-list {
|
|
88
|
-
border-radius: 3px 0 0 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap .ant-tabs-nav-list > .ant-tabs-tab {
|
|
92
|
-
padding: 9px 16px;
|
|
93
|
-
border-right: 1px solid #e5e7eb;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap .ant-tabs-nav-list > .ant-tabs-tab:first-child {
|
|
97
|
-
border-radius: 3px 0 0 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap .ant-tabs-nav-list > .ant-tabs-tab + .ant-tabs-tab {
|
|
101
|
-
margin-left: 0px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-nav > .ant-tabs-nav-wrap .ant-tabs-nav-list > .ant-tabs-tab.ant-tabs-tab-active {
|
|
105
|
-
background: #ffffff;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-content > .ant-tabs-tabpane {
|
|
109
|
-
height: 100%;
|
|
110
|
-
background: #fff;
|
|
111
|
-
border-radius: 0 0 3px 3px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-content > .ant-tabs-tabpane > div.info {
|
|
115
|
-
flex: initial;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-content > .ant-tabs-tabpane > div.info > .row {
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.kg-sql-client .kg-sql-client--result .ant-tabs .ant-tabs-content > .ant-tabs-tabpane > div.info > .row > .label {
|
|
124
|
-
margin-right: 6px;
|
|
125
|
-
min-width: 120px;
|
|
126
|
-
text-align: right;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* endregion */
|
|
130
|
-
|
|
131
|
-
/* region kg-sql-client--result-tab */
|
|
132
|
-
.kg-sql-client .kg-sql-client--result-tab {
|
|
133
|
-
height: 100%;
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
justify-content: flex-start;
|
|
137
|
-
align-items: stretch;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.kg-sql-client .kg-sql-client--result-tab > .info {
|
|
141
|
-
display: flex;
|
|
142
|
-
flex-direction: column;
|
|
143
|
-
justify-content: flex-start;
|
|
144
|
-
align-items: flex-start;
|
|
145
|
-
background: #ffffff;
|
|
146
|
-
padding: 6px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.kg-sql-client .kg-sql-client--result-tab > .info > .row {
|
|
150
|
-
display: flex;
|
|
151
|
-
justify-content: flex-start;
|
|
152
|
-
align-items: center;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.kg-sql-client .kg-sql-client--result-tab > .info > .row > .label {
|
|
156
|
-
width: 120px;
|
|
157
|
-
text-align: right;
|
|
158
|
-
margin-right: 4px;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.kg-sql-client .kg-sql-client--result-tab > .kg-var {
|
|
162
|
-
flex: 1;
|
|
163
|
-
min-height: 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.kg-sql-client .kg-sql-client--result-tab > .kg-var > .ant-spin-nested-loading > .ant-spin-container {
|
|
167
|
-
padding: 0 6px 6px 6px;
|
|
168
|
-
border-radius: 3px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/* endregion */
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { Badge, Tabs } from 'ant-design-vue';
|
|
2
|
-
import { defineComponent, nextTick, ref } from 'vue';
|
|
3
|
-
import { API } from '../../../api';
|
|
4
|
-
import './KgSqlClient.css';
|
|
5
|
-
import { ExecuteQuery, ExecuteResultDTO } from '../../../api/WMS/models';
|
|
6
|
-
import { IKgResizableProps, KgResizable } from '../../../component/KgResizable';
|
|
7
|
-
import { useKg } from '../../../config';
|
|
8
|
-
import { KgSqlClientEditor, KgSqlClientEditorRef } from './KgSqlClient.Editor';
|
|
9
|
-
import { KgSqlClientResultTab } from './KgSqlClient.ResultTab';
|
|
10
|
-
import { KgSqlClientToolbarTop } from './KgSqlClient.Toolbar.Top';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* <p>数据库客户端.</p>
|
|
14
|
-
*/
|
|
15
|
-
export const KgSqlClient = defineComponent({
|
|
16
|
-
name: 'KgSqlClient',
|
|
17
|
-
setup() {
|
|
18
|
-
const kg = useKg();
|
|
19
|
-
|
|
20
|
-
//region DATA
|
|
21
|
-
//----------------------------------------------------------------------------------------------------
|
|
22
|
-
/**
|
|
23
|
-
* 执行结果列表.
|
|
24
|
-
*/
|
|
25
|
-
const executeResultList$ = ref<Array<ExecuteResultDTO>>([]);
|
|
26
|
-
const executeResultListKgResizableProps$ = ref<IKgResizableProps>({ kgHeight: 543 });
|
|
27
|
-
const kgSqlClientEditorRef$ = ref<KgSqlClientEditorRef | null>(null);
|
|
28
|
-
//----------------------------------------------------------------------------------------------------
|
|
29
|
-
//endregion
|
|
30
|
-
|
|
31
|
-
//region FUNCTION
|
|
32
|
-
//----------------------------------------------------------------------------------------------------
|
|
33
|
-
/**
|
|
34
|
-
* 点击执行按钮.
|
|
35
|
-
*/
|
|
36
|
-
async function onKgSqlClientToolbarTopExecute() {
|
|
37
|
-
await execute();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* 触发 CTRL + ENTER 快捷键.
|
|
42
|
-
*/
|
|
43
|
-
async function onKgSqlClientEditorExecute() {
|
|
44
|
-
await execute();
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* 执行.
|
|
49
|
-
*/
|
|
50
|
-
async function execute() {
|
|
51
|
-
const sql = kgSqlClientEditorRef$.value?.getSqlTextForExecute();
|
|
52
|
-
if (!sql) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
const executeResultList = await API.WMS.SqlClientController.Execute({ data: new ExecuteQuery({ sql: sql }) });
|
|
57
|
-
|
|
58
|
-
executeResultList$.value = [];
|
|
59
|
-
await nextTick();
|
|
60
|
-
|
|
61
|
-
executeResultList$.value = executeResultList;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
//----------------------------------------------------------------------------------------------------
|
|
65
|
-
//endregion
|
|
66
|
-
|
|
67
|
-
return () => (
|
|
68
|
-
<div class="kg-sql-client">
|
|
69
|
-
<KgSqlClientToolbarTop onExecute={onKgSqlClientToolbarTopExecute} />
|
|
70
|
-
|
|
71
|
-
<KgSqlClientEditor
|
|
72
|
-
ref={kgSqlClientEditorRef$}
|
|
73
|
-
onExecute={onKgSqlClientEditorExecute}
|
|
74
|
-
/>
|
|
75
|
-
|
|
76
|
-
{executeResultList$.value.length > 0 && (
|
|
77
|
-
<KgResizable
|
|
78
|
-
kgClass="kg-sql-client--result"
|
|
79
|
-
kgType={'top'}
|
|
80
|
-
kgResizeHandleVisible={false}
|
|
81
|
-
kgMinHeight={42}
|
|
82
|
-
kgHeight={executeResultListKgResizableProps$.value.kgHeight}
|
|
83
|
-
onUpdate:kgHeight={(value) => (executeResultListKgResizableProps$.value.kgHeight = value)}
|
|
84
|
-
>
|
|
85
|
-
<Tabs hideAdd>
|
|
86
|
-
{executeResultList$.value.map((executeResult, index) => (
|
|
87
|
-
<Tabs.TabPane
|
|
88
|
-
key={index}
|
|
89
|
-
tab={
|
|
90
|
-
<>
|
|
91
|
-
{executeResult.success && <Badge status="success" />}
|
|
92
|
-
{!executeResult.success && <Badge status="error" />}
|
|
93
|
-
{kg.t('kg.KgSqlClient.ResultTab.tabTitlePrefix')} {index + 1}
|
|
94
|
-
</>
|
|
95
|
-
}
|
|
96
|
-
>
|
|
97
|
-
<KgSqlClientResultTab
|
|
98
|
-
key={index}
|
|
99
|
-
executeResult={executeResult}
|
|
100
|
-
index={index}
|
|
101
|
-
/>
|
|
102
|
-
</Tabs.TabPane>
|
|
103
|
-
))}
|
|
104
|
-
</Tabs>
|
|
105
|
-
</KgResizable>
|
|
106
|
-
)}
|
|
107
|
-
</div>
|
|
108
|
-
);
|
|
109
|
-
},
|
|
110
|
-
});
|
package/page/index.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { RouteRecordRaw } from 'vue-router';
|
|
2
|
-
import { KG_APP_PREFIXS } from '../model';
|
|
3
|
-
import { KgPageCircularShuttleMonitor } from './KgPageCircularShuttleMonitor';
|
|
4
|
-
import KgPageDda from './KgPageDda';
|
|
5
|
-
import { KgPageSqlClient } from './KgPageSqlClient';
|
|
6
|
-
|
|
7
|
-
export { useKgCircularShuttleMonitor, type IUseKgCircularShuttleMonitor } from '../component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks';
|
|
8
|
-
export * from '../component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 路由.
|
|
12
|
-
*
|
|
13
|
-
* @param layout 布局组件.
|
|
14
|
-
*/
|
|
15
|
-
export function KG_ROUTES(layout: () => any): Array<any> {
|
|
16
|
-
return [
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated 已弃用, KgPageCircleVis 已经重命名为 KgPageCircularShuttleMonitor, 因此请使用下面的 /wcs/KgPageCircularShuttleMonitor,
|
|
19
|
-
*/
|
|
20
|
-
{
|
|
21
|
-
path: '/wcs/KgPageCircleVis',
|
|
22
|
-
name: '/wcs/KgPageCircleVis',
|
|
23
|
-
component: layout,
|
|
24
|
-
children: [{ path: '', name: 'KgPageCircleVis', component: KgPageCircularShuttleMonitor }],
|
|
25
|
-
},
|
|
26
|
-
// WCS/环形穿梭车可视化,
|
|
27
|
-
{
|
|
28
|
-
path: '/wcs/KgPageCircularShuttleMonitor',
|
|
29
|
-
name: '/wcs/KgPageCircularShuttleMonitor',
|
|
30
|
-
component: layout,
|
|
31
|
-
children: [{ path: '', name: 'KgPageCircularShuttleMonitor', component: KgPageCircularShuttleMonitor }],
|
|
32
|
-
},
|
|
33
|
-
// 系统管理/系统管理/DDA,
|
|
34
|
-
{
|
|
35
|
-
path: '/sys/dda/.sys.dda',
|
|
36
|
-
name: '/sys/dda/.sys.dda',
|
|
37
|
-
component: layout,
|
|
38
|
-
children: [{ path: '', name: 'KgPageDda', component: KgPageDda }],
|
|
39
|
-
},
|
|
40
|
-
// 系统管理/系统管理/数据操作,
|
|
41
|
-
{
|
|
42
|
-
path: '/sys/KgPageSqlClient',
|
|
43
|
-
name: '/sys/KgPageSqlClient',
|
|
44
|
-
component: layout,
|
|
45
|
-
children: [{ path: '', name: 'KgPageSqlClient', component: KgPageSqlClient }],
|
|
46
|
-
},
|
|
47
|
-
// DDA,
|
|
48
|
-
...KG_APP_PREFIXS.map((prefix) => ({
|
|
49
|
-
path: `${prefix}/dda/:id`,
|
|
50
|
-
name: `${prefix}/dda/index`,
|
|
51
|
-
component: layout,
|
|
52
|
-
children: [{ path: '', name: 'KgVarFactory', component: {} }],
|
|
53
|
-
})),
|
|
54
|
-
] as Array<RouteRecordRaw>;
|
|
55
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { getThemeVariables } from 'ant-design-vue/dist/theme';
|
|
3
|
-
import { resolve } from 'path';
|
|
4
|
-
import { generateAntColors, primaryColor } from '../config/themeConfig';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* less global variable
|
|
8
|
-
*/
|
|
9
|
-
export function generateModifyVars(dark = false) {
|
|
10
|
-
const palettes = generateAntColors(primaryColor);
|
|
11
|
-
const primary = palettes[5];
|
|
12
|
-
|
|
13
|
-
const primaryColorObj: Record<string, string> = {};
|
|
14
|
-
|
|
15
|
-
for (let index = 0; index < 10; index++) {
|
|
16
|
-
primaryColorObj[`primary-${index + 1}`] = palettes[index];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const modifyVars = getThemeVariables({ dark });
|
|
20
|
-
return {
|
|
21
|
-
...modifyVars,
|
|
22
|
-
// Used for global import to avoid the need to import each style file separately
|
|
23
|
-
// reference: Avoid repeated references
|
|
24
|
-
hack: `${modifyVars.hack} @import (reference) "${resolve('src/design/config.less')}";`,
|
|
25
|
-
'primary-color': primary,
|
|
26
|
-
...primaryColorObj,
|
|
27
|
-
'info-color': primary,
|
|
28
|
-
'processing-color': primary,
|
|
29
|
-
'success-color': '#55D187', // Success color
|
|
30
|
-
'error-color': '#ED6F6F', // False color
|
|
31
|
-
'warning-color': '#EFBD47', // Warning color
|
|
32
|
-
//'border-color-base': '#EEEEEE',
|
|
33
|
-
'font-size-base': '14px', // Main font size
|
|
34
|
-
'border-radius-base': '3px', // Component/float fillet
|
|
35
|
-
'link-color': primary, // Link color
|
|
36
|
-
'app-content-background': '#fafafa', // Link color
|
|
37
|
-
'table-padding-vertical': '12px',
|
|
38
|
-
'table-padding-horizontal': '12px',
|
|
39
|
-
};
|
|
40
|
-
}
|
package/project/index.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { httpClient } from '../../../../service';
|
|
2
|
-
import { KgUtil } from '../../../../util';
|
|
3
|
-
import { Menu } from '../../router/types';
|
|
4
|
-
import { getMenuListResultModel } from './model/menuModel';
|
|
5
|
-
|
|
6
|
-
enum Api {
|
|
7
|
-
GetMenuList = '/sys/permission/getUserPermissionByToken',
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 查询菜单列表.
|
|
12
|
-
*/
|
|
13
|
-
export async function getMenuList() {
|
|
14
|
-
/**
|
|
15
|
-
* 排序.
|
|
16
|
-
*
|
|
17
|
-
* @param _menus 菜单列表.
|
|
18
|
-
*/
|
|
19
|
-
const sortMenus = (_menus: Array<Menu>) => {
|
|
20
|
-
_menus.sort((x, y) => Number(x?.meta?.sortNo ?? 0) - Number(y?.meta?.sortNo ?? 0));
|
|
21
|
-
|
|
22
|
-
_menus.forEach((_menu) => {
|
|
23
|
-
if (_menu.children) {
|
|
24
|
-
sortMenus(_menu.children);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
const res = await httpClient().request<getMenuListResultModel>({ url: Api.GetMenuList });
|
|
30
|
-
const menus = Array.isArray(res) ? (res as any) : res['menu'];
|
|
31
|
-
|
|
32
|
-
sortMenus(menus);
|
|
33
|
-
|
|
34
|
-
KgUtil.translateMenus(menus);
|
|
35
|
-
|
|
36
|
-
return menus;
|
|
37
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { RouteMeta } from 'vue-router';
|
|
2
|
-
|
|
3
|
-
export interface RouteItem {
|
|
4
|
-
path: string;
|
|
5
|
-
component: any;
|
|
6
|
-
meta: RouteMeta;
|
|
7
|
-
name?: string;
|
|
8
|
-
alias?: string | string[];
|
|
9
|
-
redirect?: string;
|
|
10
|
-
caseSensitive?: boolean;
|
|
11
|
-
children?: RouteItem[];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @description: Get menu return value
|
|
16
|
-
*/
|
|
17
|
-
export type getMenuListResultModel = RouteItem[];
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: Login interface parameters
|
|
3
|
-
*/
|
|
4
|
-
export interface LoginParams {
|
|
5
|
-
username: string;
|
|
6
|
-
password: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface ThirdLoginParams {
|
|
10
|
-
token: string;
|
|
11
|
-
thirdType: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface RoleInfo {
|
|
15
|
-
roleName: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @description: Login interface return value
|
|
21
|
-
*/
|
|
22
|
-
export interface LoginResultModel {
|
|
23
|
-
userId: string | number;
|
|
24
|
-
token: string;
|
|
25
|
-
role: RoleInfo;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @description: Get user information return value
|
|
30
|
-
*/
|
|
31
|
-
export interface GetUserInfoModel {
|
|
32
|
-
roles: RoleInfo[];
|
|
33
|
-
// 用户id
|
|
34
|
-
userId: string | number;
|
|
35
|
-
// 用户名
|
|
36
|
-
username: string;
|
|
37
|
-
// 真实名字
|
|
38
|
-
realname: string;
|
|
39
|
-
// 头像
|
|
40
|
-
avatar: string;
|
|
41
|
-
// 介绍
|
|
42
|
-
desc?: string;
|
|
43
|
-
// 用户信息
|
|
44
|
-
userInfo?: any;
|
|
45
|
-
// 缓存字典项
|
|
46
|
-
sysAllDictItems?: any;
|
|
47
|
-
userWarehouses?: any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @description: Get user information return value
|
|
52
|
-
*/
|
|
53
|
-
export interface GetResultModel {
|
|
54
|
-
code: number;
|
|
55
|
-
message: string;
|
|
56
|
-
result: object;
|
|
57
|
-
success: Boolean;
|
|
58
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { InjectionKey, Ref } from 'vue';
|
|
2
|
-
import { createContext, useContext } from '../../../hooks/core/useContext';
|
|
3
|
-
|
|
4
|
-
export interface AppProviderContextProps {
|
|
5
|
-
prefixCls: Ref<string>;
|
|
6
|
-
isMobile: Ref<boolean>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const key: InjectionKey<AppProviderContextProps> = Symbol();
|
|
10
|
-
|
|
11
|
-
export function createAppProviderContext(context: AppProviderContextProps) {
|
|
12
|
-
return createContext<AppProviderContextProps>(context, key);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function useAppProviderContext() {
|
|
16
|
-
return useContext<AppProviderContextProps>(key);
|
|
17
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 组件类型
|
|
3
|
-
*/
|
|
4
|
-
export enum CompTypeEnum {
|
|
5
|
-
//单选
|
|
6
|
-
Radio = 'radio',
|
|
7
|
-
//按钮样式单选
|
|
8
|
-
RadioButton = 'radioButton',
|
|
9
|
-
//下拉框
|
|
10
|
-
Select = 'select',
|
|
11
|
-
//列表
|
|
12
|
-
List = 'list',
|
|
13
|
-
//开关
|
|
14
|
-
Switch = 'switch',
|
|
15
|
-
//下拉树
|
|
16
|
-
SelTree = 'sel_tree',
|
|
17
|
-
//分类字典树
|
|
18
|
-
CatTree = 'cat_tree',
|
|
19
|
-
//下拉搜索
|
|
20
|
-
SelSearch = 'search',
|
|
21
|
-
//用户现在框
|
|
22
|
-
SelUser = 'sel_user',
|
|
23
|
-
//复选框
|
|
24
|
-
Checkbox = 'checkbox',
|
|
25
|
-
//多选列表
|
|
26
|
-
ListMulti = 'list_multi',
|
|
27
|
-
//区域选择
|
|
28
|
-
Pca = 'pca',
|
|
29
|
-
Popup = 'popup',
|
|
30
|
-
//部门选择
|
|
31
|
-
SelDepart = 'sel_depart',
|
|
32
|
-
}
|