@kengic/vue 0.26.6-beta.13 → 0.26.6-beta.131
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/bulb-outlined.93f68e9f.mjs +8 -0
- package/dist/caret-right-outlined.f3fc4d46.mjs +8 -0
- package/dist/close-outlined-DMcSQWxQ.1edc9323.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.cb8f38db.mjs +8 -0
- package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.04cbb1b8.mjs +8 -0
- package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +60719 -46654
- package/dist/pause-outlined.a5f6ccbd.mjs +8 -0
- package/dist/project/build/vite/plugin/index.ts +13 -1
- package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/List.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/List.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarController/GetAll.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/Create.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/Update.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/Delete.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/WhController/ListVO.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/List.d.ts +1 -1
- package/dist/src/{components → component}/KgAppSelect/KgAppSelect.d.ts +1 -1
- package/dist/src/{components → component}/KgAppSelect/index.hooks.d.ts +4 -3
- package/dist/src/{components → component}/KgAppSelect/index.store.d.ts +4 -3
- package/dist/src/{components → component}/KgButton/KgButton.Item.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/KgButton.Item.data.d.ts +2 -2
- package/dist/src/{components → component}/KgButton/KgButton.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Copy.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Create.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Delete.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Export.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Import.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.ImportTemplate.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Other.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Search.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Update.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/index.hooks.d.ts +6 -5
- package/dist/src/{components → component}/KgButton/index.store.d.ts +5 -4
- package/dist/src/{components → component}/KgCanvas/KgCanvas.ContextMenu.d.ts +6 -12
- package/dist/src/component/KgCanvas/KgCanvas.Toolbar.Fullscreen.d.ts +38 -0
- package/dist/src/component/KgCanvas/KgCanvas.Toolbar.OverviewScale.d.ts +38 -0
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +28 -0
- package/dist/src/{components → component}/KgCanvas/KgCanvas.d.ts +62 -14
- package/dist/src/{components → component}/KgCanvas/KgCanvas.service.d.ts +9 -2
- package/dist/src/{components/KgCanvas/index.store.d.ts → component/KgCanvas/index.event.d.ts} +28 -54
- package/dist/src/{components → component}/KgCanvas/index.hooks.d.ts +18 -13
- package/dist/src/component/KgCanvas/index.store.d.ts +10 -0
- package/dist/src/component/KgCanvas/index.vm.d.ts +33 -0
- package/dist/src/{components → component}/KgForm/KgForm.d.ts +36 -36
- package/dist/src/{components → component}/KgForm/index.d.ts +48 -48
- package/dist/src/{components → component}/KgForm/index.hooks.d.ts +16 -9
- package/dist/src/{components → component}/KgForm/index.store.d.ts +25 -7
- package/dist/src/{components → component}/KgForm.Item/KgForm.Item.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/KgForm.Item.service.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Date.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.DateRange.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Image.d.ts +5 -5
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Input.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Switch.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.TextArea.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/index.vm.d.ts +2 -2
- package/dist/src/{components → component}/KgImage/KgImage.d.ts +6 -6
- package/dist/src/{components → component}/KgModal/KgModal.d.ts +19 -13
- package/dist/src/{components/KgModal/components/KgModal.HeaderButtons.d.ts → component/KgModal/KgModalHeaderButtons.d.ts} +1 -1
- package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +12 -0
- package/dist/src/{components/KgModal/KgModal.service.d.ts → component/KgModal/hooks/useDragToResize.d.ts} +1 -11
- package/dist/src/{components → component}/KgSearch/index.hooks.d.ts +5 -5
- package/dist/src/{components → component}/KgSearch/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgStation/index.hooks.d.ts +1 -1
- package/dist/src/{components → component}/KgStation/index.store.d.ts +1 -1
- package/dist/src/{components → component}/KgSubmit/index.hooks.d.ts +13 -12
- package/dist/src/{components → component}/KgSubmit/index.store.d.ts +5 -4
- package/dist/src/{components → component}/KgSubmit/index.vm.d.ts +1 -1
- package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
- package/dist/src/{components → component}/KgTable/index.hooks.d.ts +12 -12
- package/dist/src/{components → component}/KgTable/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgTable/index.vm.d.ts +1 -1
- package/dist/src/{pages/KgVarFactory → component/KgVar}/KgVarFactory.d.ts +9 -10
- package/dist/src/{components → component}/KgVar/index.d.ts +1 -0
- package/dist/src/component/KgVar/index.event.d.ts +39 -0
- package/dist/src/{components → component}/KgVar/index.hooks.d.ts +18 -4
- package/dist/src/{components → component}/KgVar/index.store.d.ts +9 -33
- package/dist/src/{components → component}/KgVar/index.store.service.d.ts +1 -1
- package/dist/src/{components → component}/KgVar/index.vm.d.ts +2 -0
- package/dist/src/{components/KgVarConfig/components/KgVarConfig.Modal.d.ts → component/KgVarConfig/components/KgVarConfigModal.d.ts} +1 -2
- package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +1 -1
- package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +1 -1
- package/dist/src/{components → component}/KgWarehouse/index.hooks.d.ts +2 -2
- package/dist/src/{components → component}/KgWarehouse/index.store.d.ts +2 -2
- package/dist/src/config/index.hooks.d.ts +1 -1
- package/dist/src/config/index.store.d.ts +2 -2
- package/dist/src/config/setup/setup.d.ts +3 -2
- package/dist/src/{consts → const}/i18n/en.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/es_ES.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/fr_FR.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/km_KH.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/ko_KR.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/vi_VN.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/zh_CN.d.ts +8 -0
- package/dist/src/{consts → const}/index.vm.d.ts +13 -9
- package/dist/src/{consts → const}/injection-keys.const.d.ts +2 -0
- package/dist/src/{helpers → helper}/ant-design-vue.d.ts +15 -15
- package/dist/src/index.d.ts +9 -10
- package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
- package/dist/src/{pages → page}/index.d.ts +0 -1
- package/dist/src/{services → service}/http-client.d.ts +1 -1
- package/dist/src/{components/util.d.ts → util/index.d.ts} +6 -2
- package/dist/src/{utils → util}/kg-auth.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg-route.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg-var.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg.util.d.ts +5 -3
- package/package.json +33 -21
- package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/bump-to.ts +38 -0
- package/script/bump.ts +35 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +3 -0
- package/script/copy-to.ts +23 -0
- package/script/publish.ts +30 -0
- package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +0 -2
- package/dist/src/components-next/KgVarConfig/index.d.ts +0 -1
- package/dist/src/components-next/index.d.ts +0 -1
- package/dist/src/pages/KgVarFactory/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/kg-dom.util.d.ts +0 -12
- package/dist/src/utils/kg-logger.util.d.ts +0 -69
- /package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/WhController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/models.d.ts +0 -0
- /package/dist/src/{apis → api}/api.d.ts +0 -0
- /package/dist/src/{apis → api}/def.d.ts +0 -0
- /package/dist/src/{apis → api}/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgAppSelect/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgButton/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgCanvas/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgImage/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/index.hooks.d.ts +0 -0
- /package/dist/src/{components → component}/KgModal/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgModal/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgProgressA/KgProgressA.d.ts +0 -0
- /package/dist/src/{components → component}/KgProgressA/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/KgResizable.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/KgResizable.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/KgSearch.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/KgSearch.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgStation/KgStation.d.ts +0 -0
- /package/dist/src/{components → component}/KgStation/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/KgSubmit.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/KgSubmit.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/KgTable.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/KgTable.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.BodyCell.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.HeaderCell.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.Info.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgVar/KgVar.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/KgVarConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.hooks.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.store.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/KgWarehouse.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/index.guard.d.ts +0 -0
- /package/dist/src/{components → component}/KgYesOrNo/KgYesOrNo.d.ts +0 -0
- /package/dist/src/{components → component}/KgYesOrNo/index.d.ts +0 -0
- /package/dist/src/{components → component}/index.d.ts +0 -0
- /package/dist/src/{consts → const}/i18n/index.d.ts +0 -0
- /package/dist/src/{consts → const}/index.d.ts +0 -0
- /package/dist/src/{helpers → helper}/tsx.helper.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/KgPageDda.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/index.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/index.vm.d.ts +0 -0
- /package/dist/src/{services → service}/index.d.ts +0 -0
@@ -1,15 +1,8 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../
|
3
|
-
import {
|
2
|
+
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/WMS/models';
|
3
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
4
4
|
import { IUseKgVar } from './index.hooks';
|
5
|
-
|
6
|
-
* 事件类型.
|
7
|
-
* 'retrieve': 变量配置查询完成
|
8
|
-
*/
|
9
|
-
export declare type IKgVarEvent = 'retrieve';
|
10
|
-
export declare type IKgVarRetrieveEventListener = (() => void) & IKgEventListener;
|
11
|
-
export declare type IKgVarEventListenerParameter = any;
|
12
|
-
export declare type IKgVarEventListener = IKgVarRetrieveEventListener;
|
5
|
+
import { IKgProps, IKgSlots } from './index.vm';
|
13
6
|
export interface IUseKgVarStoreState {
|
14
7
|
/** 正在复制: 正在调用接口. */
|
15
8
|
isCopyingRequestingMap: Map<string, boolean>;
|
@@ -35,8 +28,8 @@ export interface IUseKgVarStoreState {
|
|
35
28
|
* 界面层级.
|
36
29
|
*/
|
37
30
|
levelMap: Map<string, number>;
|
38
|
-
|
39
|
-
|
31
|
+
propsMap: Map<string, IKgProps>;
|
32
|
+
slotsMap: Map<string, IKgSlots>;
|
40
33
|
varButtonConfigMap: Map<string, VarButtonConfig | null>;
|
41
34
|
varButtonMap: Map<string, Array<VarButton>>;
|
42
35
|
varChildDetailMap: Map<string, Array<VarChildDetail>>;
|
@@ -90,6 +83,8 @@ export interface IUseKgVarStoreGetters {
|
|
90
83
|
*/
|
91
84
|
getLevel(): (formID: string | null | undefined) => number;
|
92
85
|
getParent(): (formID: string | null | undefined) => IUseKgVar | null;
|
86
|
+
getProps(): (formID: string | null | undefined) => IKgProps | null;
|
87
|
+
getSlots(): (formID: string | null | undefined) => IKgSlots | null;
|
93
88
|
/**
|
94
89
|
* 和 var_nam 获取 VarButton.
|
95
90
|
*/
|
@@ -145,13 +140,6 @@ export interface IUseKgVarStoreGetters {
|
|
145
140
|
t(): (formID: string | null | undefined, varName: string | null | undefined) => string;
|
146
141
|
}
|
147
142
|
export interface IUseKgVarStoreActions {
|
148
|
-
/**
|
149
|
-
* 注册事件监听.
|
150
|
-
* @param formID 界面标识.
|
151
|
-
* @param event 事件名称.
|
152
|
-
* @param listener 事件监听函数.
|
153
|
-
*/
|
154
|
-
addEventListener(formID: string | null | undefined, event: IKgVarEvent, listener: any): void;
|
155
143
|
createVarConfigControl(formID: string | null | undefined, varConfigControl: VarConfigControl): void;
|
156
144
|
createVarConfigDescription(formID: string | null | undefined, varConfigDescription: VarConfigDescription): void;
|
157
145
|
createVarConfigPossibility(formID: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
|
@@ -169,13 +157,6 @@ export interface IUseKgVarStoreActions {
|
|
169
157
|
* @param toVarName 被放下的变量名称.
|
170
158
|
*/
|
171
159
|
dragSortCurrentVarGridDetails(formID: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
|
172
|
-
/**
|
173
|
-
* 触发事件.
|
174
|
-
* @param formID 界面标识.
|
175
|
-
* @param event 事件名称.
|
176
|
-
* @param args 事件参数.
|
177
|
-
*/
|
178
|
-
emit(formID: string, event: IKgVarEvent, args?: any): void;
|
179
160
|
/**
|
180
161
|
* 进入一个界面. 同一个界面不允许进入多次.
|
181
162
|
* @param param.formID 界面标识.
|
@@ -199,13 +180,6 @@ export interface IUseKgVarStoreActions {
|
|
199
180
|
* @param properties 要修改的部分属性.
|
200
181
|
*/
|
201
182
|
patchVarProfileDetail(formID: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
202
|
-
/**
|
203
|
-
* 退订事件监听.
|
204
|
-
* @param formID 界面标识.
|
205
|
-
* @param event 事件名称.
|
206
|
-
* @param listener 事件监听函数.
|
207
|
-
*/
|
208
|
-
removeEventListener(formID: string, event: IKgVarEvent, listener?: any): void;
|
209
183
|
/**
|
210
184
|
* 查询所有变量配置.
|
211
185
|
*
|
@@ -233,6 +207,8 @@ export interface IUseKgVarStoreActions {
|
|
233
207
|
setIsDeletingRequesting(formID: string, value: boolean): void;
|
234
208
|
setIsOtherRequesting(formID: string, value: boolean): void;
|
235
209
|
setIsUpdatingRequesting(formID: string, value: boolean): void;
|
210
|
+
setProps(formID: string, value: IKgProps): void;
|
211
|
+
setSlots(formID: string, value: IKgSlots): void;
|
236
212
|
/**
|
237
213
|
* 设置某个 VarConfigPossibility 配置.
|
238
214
|
* @param formID 界面标识.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail } from '../../
|
1
|
+
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
2
2
|
export declare function transformVarProfileConfig(varProfileConfig: VarProfileConfig | null | undefined): VarProfileConfig | null;
|
3
3
|
export declare function transformVarGridConfig(varGridConfig: VarGridConfig | null | undefined): VarGridConfig | null;
|
4
4
|
export declare function transformVarGridMasters(varGridMasters?: Array<VarGridMasterDTO> | null): Array<VarGridMasterDTO>;
|
@@ -4,7 +4,7 @@ export declare const getProps: () => {
|
|
4
4
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
5
5
|
};
|
6
6
|
export declare type KgVarConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
7
|
-
declare const
|
7
|
+
export declare const KgVarConfigModal: import("vue").DefineComponent<{
|
8
8
|
visible: PropType<boolean>;
|
9
9
|
'onUpdate:visible': PropType<(value: boolean) => void>;
|
10
10
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
@@ -13,4 +13,3 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
}>> & {
|
14
14
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
15
15
|
}, {}>;
|
16
|
-
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
2
|
import { Ref, UnwrapRef } from 'vue';
|
3
|
-
import { VarProfileDetail } from '../../../../
|
3
|
+
import { VarProfileDetail } from '../../../../api/WMS/models';
|
4
4
|
export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
5
5
|
export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
6
6
|
export declare type IUseDragRow = {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
2
|
import { Ref, UnwrapRef } from 'vue';
|
3
|
-
import { VarGridDetail } from '../../../../
|
3
|
+
import { VarGridDetail } from '../../../../api/WMS/models';
|
4
4
|
export declare type IUseTransferColumns = {
|
5
5
|
/** 左侧表格的列. */
|
6
6
|
leftColumns: () => ColumnsType<VarGridDetail>;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
1
2
|
import { Pinia } from 'pinia';
|
2
3
|
import { ComputedRef } from 'vue';
|
3
|
-
import { IRemoveEventListenerHandler } from '../../consts';
|
4
4
|
import { IKgWarehouseMountedEventListener, IKgWarehouseStore } from './index.store';
|
5
5
|
export declare type IUseKgWarehouse = {
|
6
6
|
/**
|
@@ -8,7 +8,7 @@ export declare type IUseKgWarehouse = {
|
|
8
8
|
* @param listener 事件监听函数.
|
9
9
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
10
10
|
*/
|
11
|
-
onMounted(listener: IKgWarehouseMountedEventListener, isOnce?: boolean):
|
11
|
+
onMounted(listener: IKgWarehouseMountedEventListener, isOnce?: boolean): IRemoveEventListener;
|
12
12
|
store: IKgWarehouseStore;
|
13
13
|
/**
|
14
14
|
* 是否显示弹窗.
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { WhDTO } from '../../
|
3
|
-
import { IKgEventListener } from '../../consts';
|
3
|
+
import { WhDTO } from '../../api/WMS/models';
|
4
4
|
/**
|
5
5
|
* 事件类型.
|
6
6
|
* 'mounted': 组件加载完成
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Pinia } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
|
-
import { Description } from '../
|
3
|
+
import { Description } from '../api/WMS/models';
|
4
4
|
import { LocaleType } from '../project/types/config';
|
5
5
|
import { IKgStore, P, T } from './index.store';
|
6
6
|
export interface IUseKg {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
|
-
import { DescriptionDTO, SysUserWarehouseDTO } from '../
|
5
|
-
import { KG_APP, Menu } from '../
|
4
|
+
import { DescriptionDTO, SysUserWarehouseDTO } from '../api/WMS/models';
|
5
|
+
import { KG_APP, Menu } from '../const';
|
6
6
|
import { LocaleType } from '../project/types/config';
|
7
7
|
import { UserInfo } from '../project/types/store';
|
8
8
|
export declare type IKgOption = {
|
@@ -2,6 +2,7 @@ import { StoreDefinition } from 'pinia';
|
|
2
2
|
import { App } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
4
|
import { IKgOption, P } from '../index.store';
|
5
|
+
import '@kengic/core.react/index.css';
|
5
6
|
export declare type IKgOptions = {
|
6
7
|
/**
|
7
8
|
* 语言数据.
|
@@ -20,8 +21,8 @@ export declare type IKgOptions = {
|
|
20
21
|
useUserStore: StoreDefinition<any, any, any, any>;
|
21
22
|
};
|
22
23
|
/**
|
23
|
-
*
|
24
|
+
* 初始.
|
24
25
|
*
|
25
|
-
* @param options
|
26
|
+
* @param options 选项参数.
|
26
27
|
*/
|
27
28
|
export declare function setup(options: IKgOptions): Promise<void>;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,13 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
originalScale: string;
|
17
|
+
overviewScale: string;
|
18
|
+
reload: string;
|
19
|
+
};
|
13
20
|
KgFormItem: {
|
14
21
|
formValidationMessageForGT: string;
|
15
22
|
formValidationMessageForGTE: string;
|
@@ -10,6 +10,14 @@ declare const _default: {
|
|
10
10
|
noApiUrl: string;
|
11
11
|
noVarSubmitConfig: string;
|
12
12
|
};
|
13
|
+
KgCanvas: {
|
14
|
+
enterFullscreen: string;
|
15
|
+
exitFullscreen: string;
|
16
|
+
exportImage: string;
|
17
|
+
originalScale: string;
|
18
|
+
overviewScale: string;
|
19
|
+
reload: string;
|
20
|
+
};
|
13
21
|
KgFormItem: {
|
14
22
|
formValidationMessageForGT: string;
|
15
23
|
formValidationMessageForGTE: string;
|
@@ -459,6 +459,10 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
|
|
459
459
|
}
|
460
460
|
/** 请求头部. */
|
461
461
|
export declare enum KG_HTTP_HEADERS {
|
462
|
+
/** 当前页码. */
|
463
|
+
KG_PAGE_INDEX = "Kg-Page-Index",
|
464
|
+
/** 每页条数. */
|
465
|
+
KG_PAGE_SISE = "Kg-Page-Size",
|
462
466
|
/** 界面标识. */
|
463
467
|
KG_FORM_ID = "Kg-Form-Id",
|
464
468
|
KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name",
|
@@ -480,7 +484,15 @@ export declare enum KG_HTTP_HEADERS {
|
|
480
484
|
/**
|
481
485
|
* 仓库编号.
|
482
486
|
*/
|
483
|
-
KG_WAREHOUSE = "Kg-Warehouse"
|
487
|
+
KG_WAREHOUSE = "Kg-Warehouse",
|
488
|
+
/**
|
489
|
+
* 工作站.
|
490
|
+
*/
|
491
|
+
KG_WORK_STATION = "Kg-Work-Station",
|
492
|
+
/**
|
493
|
+
* 工作区.
|
494
|
+
*/
|
495
|
+
KG_WORK_AREA = "Kg-Work-Area"
|
484
496
|
}
|
485
497
|
/** 特殊属性:请求返回的原始响应数据. */
|
486
498
|
export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
@@ -494,14 +506,6 @@ export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
|
494
506
|
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
495
507
|
/** 模块菜单的临时ID:PDA. */
|
496
508
|
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|
497
|
-
/** 移除事件监听函数. */
|
498
|
-
export declare type IRemoveEventListenerHandler = () => void;
|
499
|
-
export declare type IKgEventListener = {
|
500
|
-
/** 是否只会触发一次. */
|
501
|
-
isOnce?: boolean;
|
502
|
-
/** 是否已经触发过一次了. */
|
503
|
-
invoked?: boolean;
|
504
|
-
};
|
505
509
|
/** 菜单. */
|
506
510
|
export interface Menu {
|
507
511
|
id: string;
|
@@ -9,11 +9,11 @@ export declare const formProps: () => {
|
|
9
9
|
layout: PropType<"vertical" | "horizontal" | "inline">;
|
10
10
|
labelCol: {
|
11
11
|
type: PropType<Partial<ExtractPropTypes<{
|
12
|
-
span: (
|
13
|
-
order: (
|
14
|
-
offset: (
|
15
|
-
push: (
|
16
|
-
pull: (
|
12
|
+
span: (StringConstructor | NumberConstructor)[];
|
13
|
+
order: (StringConstructor | NumberConstructor)[];
|
14
|
+
offset: (StringConstructor | NumberConstructor)[];
|
15
|
+
push: (StringConstructor | NumberConstructor)[];
|
16
|
+
pull: (StringConstructor | NumberConstructor)[];
|
17
17
|
xs: {
|
18
18
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
19
19
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -43,16 +43,16 @@ export declare const formProps: () => {
|
|
43
43
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
44
44
|
};
|
45
45
|
prefixCls: StringConstructor;
|
46
|
-
flex: (
|
46
|
+
flex: (StringConstructor | NumberConstructor)[];
|
47
47
|
}>> & HTMLAttributes>;
|
48
48
|
};
|
49
49
|
wrapperCol: {
|
50
50
|
type: PropType<Partial<ExtractPropTypes<{
|
51
|
-
span: (
|
52
|
-
order: (
|
53
|
-
offset: (
|
54
|
-
push: (
|
55
|
-
pull: (
|
51
|
+
span: (StringConstructor | NumberConstructor)[];
|
52
|
+
order: (StringConstructor | NumberConstructor)[];
|
53
|
+
offset: (StringConstructor | NumberConstructor)[];
|
54
|
+
push: (StringConstructor | NumberConstructor)[];
|
55
|
+
pull: (StringConstructor | NumberConstructor)[];
|
56
56
|
xs: {
|
57
57
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
58
58
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -82,7 +82,7 @@ export declare const formProps: () => {
|
|
82
82
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
83
83
|
};
|
84
84
|
prefixCls: StringConstructor;
|
85
|
-
flex: (
|
85
|
+
flex: (StringConstructor | NumberConstructor)[];
|
86
86
|
}>> & HTMLAttributes>;
|
87
87
|
};
|
88
88
|
colon: {
|
@@ -166,7 +166,7 @@ export declare const modalProps: () => {
|
|
166
166
|
type: BooleanConstructor;
|
167
167
|
default: undefined;
|
168
168
|
};
|
169
|
-
width: (
|
169
|
+
width: (StringConstructor | NumberConstructor)[];
|
170
170
|
footer: PropType<any>;
|
171
171
|
okText: PropType<any>;
|
172
172
|
okType: PropType<LegacyButtonType>;
|
@@ -340,8 +340,8 @@ export declare const imageProps: () => {
|
|
340
340
|
type: PropType<(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error) => any>;
|
341
341
|
};
|
342
342
|
id: StringConstructor;
|
343
|
-
width: (
|
344
|
-
height: (
|
343
|
+
width: (StringConstructor | NumberConstructor)[];
|
344
|
+
height: (StringConstructor | NumberConstructor)[];
|
345
345
|
style: StringConstructor;
|
346
346
|
};
|
347
347
|
export {};
|
package/dist/src/index.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
import './
|
2
|
-
export * from '@kengic/core';
|
3
|
-
export { API
|
4
|
-
export * from './
|
5
|
-
export * from './
|
6
|
-
export * from './components-next';
|
1
|
+
import './asset/index.less';
|
2
|
+
export * from '@kengic/core.react';
|
3
|
+
export { API } from './api';
|
4
|
+
export * from './api/WMS/models';
|
5
|
+
export * from './component';
|
7
6
|
export * from './config';
|
8
|
-
export * from './
|
9
|
-
export * from './
|
10
|
-
export * from './
|
11
|
-
export * from './
|
7
|
+
export * from './const';
|
8
|
+
export * from './page';
|
9
|
+
export * from './service';
|
10
|
+
export * from './util';
|
12
11
|
export * from './project';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ResultSetMetadataColumn, SysPermission, VarButton, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../../
|
1
|
+
import { ResultSetMetadataColumn, SysPermission, VarButton, VarGridDetail, VarProfileDetail, VarSubmitDetail } from '../../../api/WMS/models';
|
2
2
|
export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"KgPageDdaCreate", import("pinia")._UnwrapAll<Pick<{
|
3
3
|
createVarButton: (button: VarButton) => void;
|
4
4
|
updateVarConfigDescription: (param: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AxiosInstance, type AxiosRequestConfig } from 'axios';
|
2
2
|
import dayjs from 'dayjs';
|
3
|
-
import { KG_DYNAMIC_QUERY_OPERATOR } from '../
|
3
|
+
import { KG_DYNAMIC_QUERY_OPERATOR } from '../const';
|
4
4
|
interface IHttpClient {
|
5
5
|
axiosInstance: AxiosInstance;
|
6
6
|
options: {
|
@@ -1,4 +1,8 @@
|
|
1
|
-
import { IKgEventListener,
|
1
|
+
import { IKgEventListener, IRemoveEventListener } from '@kengic/core.core';
|
2
|
+
export * from './kg-auth.util';
|
3
|
+
export * from './kg.util';
|
4
|
+
export * from './kg-route.util';
|
5
|
+
export * from './kg-var.util';
|
2
6
|
/**
|
3
7
|
* 构造事件监听.
|
4
8
|
* @param formID 界面标识.
|
@@ -11,4 +15,4 @@ export declare function onEventFactory<S extends {
|
|
11
15
|
} | {
|
12
16
|
addEventListener(event: E, listener: L): void;
|
13
17
|
removeEventListener(event: E, listener?: L): void;
|
14
|
-
} = any, E = any, L extends IKgEventListener = any>(formID: string | null, store: S, event: E): (listener: L, isOnce?: boolean) =>
|
18
|
+
} = any, E = any, L extends IKgEventListener = any>(formID: string | null, store: S, event: E): (listener: L, isOnce?: boolean) => IRemoveEventListener;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
2
2
|
import dayjs, { Dayjs } from 'dayjs';
|
3
|
-
import { IKgVarButtonModalProperties } from '../
|
3
|
+
import { IKgVarButtonModalProperties } from '../const';
|
4
4
|
/**
|
5
5
|
* 通用工具.
|
6
6
|
*/
|
@@ -136,11 +136,13 @@ export declare class KgUtil {
|
|
136
136
|
*/
|
137
137
|
static snakeCase(value: any): string;
|
138
138
|
/**
|
139
|
-
*
|
139
|
+
* 获取一个 UUID.
|
140
140
|
*
|
141
141
|
* @return UUID.
|
142
142
|
*/
|
143
|
-
static uuid(
|
143
|
+
static uuid(param?: {
|
144
|
+
prefix?: string;
|
145
|
+
}): string;
|
144
146
|
}
|
145
147
|
export declare type ModalFunc = {
|
146
148
|
destroy: () => void;
|
package/package.json
CHANGED
@@ -1,31 +1,30 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.6-beta.
|
3
|
+
"version": "0.26.6-beta.131",
|
4
4
|
"scripts": {
|
5
|
-
"build": "npm run
|
6
|
-
"build:dev": "npm run
|
5
|
+
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
6
|
+
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
7
7
|
"--------------------------------------------------": "",
|
8
|
-
"
|
9
|
-
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
10
|
-
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
11
|
-
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
12
|
-
"----- --------------------------------------------": "",
|
13
|
-
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
8
|
+
"gen:apis:WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
14
9
|
"- ------------------------------------------------": "",
|
15
|
-
"
|
16
|
-
"cnpm:sync": "npx cnpm --yes sync @kengic/vue",
|
10
|
+
"use-node": "npm cache clean -f && nvm use 18.20.4 && corepack enable && corepack use pnpm@9.12.1",
|
11
|
+
"cnpm:sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
17
12
|
"-- -----------------------------------------------": "",
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
13
|
+
"publish:major": "npm run bump:major && tsx script/publish.ts",
|
14
|
+
"publish:minor": "npm run bump:minor && tsx script/publish.ts",
|
15
|
+
"publish:patch": "npm run bump:patch && tsx script/publish.ts",
|
16
|
+
"publish:beta": "npm run bump:beta && tsx script/publish.ts",
|
17
|
+
"----- --------------------------------------------": "",
|
18
|
+
"bump:major": "npm run use-node && tsx script/bump.ts major",
|
19
|
+
"bump:minor": "npm run use-node && tsx script/bump.ts minor",
|
20
|
+
"bump:patch": "npm run use-node && tsx script/bump.ts patch",
|
21
|
+
"bump:beta": "npm run use-node && tsx script/bump.ts beta",
|
22
22
|
"---- ---------------------------------------------": "",
|
23
|
-
"publish:
|
24
|
-
"publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
23
|
+
"publish:npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
25
24
|
"------- ------------------------------------------": "",
|
26
|
-
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx
|
25
|
+
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
27
26
|
"--- ----------------------------------------------": "",
|
28
|
-
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run
|
27
|
+
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts"
|
29
28
|
},
|
30
29
|
"peerDependencies": {
|
31
30
|
"vue": "3.2.43"
|
@@ -39,8 +38,9 @@
|
|
39
38
|
"@iconify-icons/material-symbols": "1.2.58",
|
40
39
|
"@iconify-icons/mdi": "1.2.48",
|
41
40
|
"@iconify-icons/ph": "1.2.5",
|
42
|
-
"@iconify/vue": "4.1.
|
43
|
-
"@kengic/core": "
|
41
|
+
"@iconify/vue": "4.1.2",
|
42
|
+
"@kengic/core.core": "0.0.1-beta.14",
|
43
|
+
"@kengic/core.react": "0.0.1-beta.20",
|
44
44
|
"@kengic/pont": "1.2.17-beta.1",
|
45
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
46
46
|
"@thymine/xunee": "0.4.9-beta.8",
|
@@ -75,6 +75,7 @@
|
|
75
75
|
"rimraf": "3.0.2",
|
76
76
|
"rollup": "2.79.1",
|
77
77
|
"rollup-plugin-visualizer": "5.8.3",
|
78
|
+
"screenfull": "6.0.2",
|
78
79
|
"semver": "7.5.4",
|
79
80
|
"store": "2.0.12",
|
80
81
|
"tsx": "3.12.3",
|
@@ -110,6 +111,17 @@
|
|
110
111
|
},
|
111
112
|
"prettier": {
|
112
113
|
"endOfLine": "auto",
|
114
|
+
"overrides": [
|
115
|
+
{
|
116
|
+
"files": [
|
117
|
+
"*.less",
|
118
|
+
"*.css"
|
119
|
+
],
|
120
|
+
"options": {
|
121
|
+
"printWidth": 320
|
122
|
+
}
|
123
|
+
}
|
124
|
+
],
|
113
125
|
"printWidth": 160,
|
114
126
|
"semi": true,
|
115
127
|
"singleAttributePerLine": true,
|