@kengic/vue 0.26.6-beta.12 → 0.26.6-beta.120
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.c5caf667.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.6ca3e552.mjs +8 -0
- package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.fa3da246.mjs +8 -0
- package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +57869 -43890
- 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 +3 -3
- package/dist/src/{components → component}/KgAppSelect/index.store.d.ts +3 -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 +5 -5
- package/dist/src/{components → component}/KgButton/index.store.d.ts +4 -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} +40 -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 +8 -8
- package/dist/src/{components → component}/KgForm/index.store.d.ts +3 -3
- package/dist/src/{components → component}/KgForm.Item/KgForm.Item.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 +12 -12
- package/dist/src/{components → component}/KgSubmit/index.store.d.ts +4 -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/{components → component}/KgVar/index.hooks.d.ts +9 -4
- package/dist/src/{components → component}/KgVar/index.store.d.ts +24 -11
- 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 +12 -4
- 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/KgForm.Item.service.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,6 +1,6 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { VarProfileDetail } from '../../
|
3
|
-
import {
|
2
|
+
import { VarProfileDetail } from '../../api/WMS/models';
|
3
|
+
import { IRemoveEventListener } from '../../const';
|
4
4
|
import { IKgTableRequestParameter } from '../KgTable';
|
5
5
|
import { IKgSearchReadyEventListener, IKgSearchResetEventListener, IKgSearchSearchEventListener, IKgSearchStore } from './index.store';
|
6
6
|
export declare type IUseKgSearch = {
|
@@ -39,19 +39,19 @@ export declare type IUseKgSearch = {
|
|
39
39
|
* @param listener 事件监听函数.
|
40
40
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
41
41
|
*/
|
42
|
-
onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean):
|
42
|
+
onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean): IRemoveEventListener;
|
43
43
|
/**
|
44
44
|
* 监听事件: reset, 点击重置按钮.
|
45
45
|
* @param listener 事件监听函数.
|
46
46
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
47
47
|
*/
|
48
|
-
onReset(listener: IKgSearchResetEventListener, isOnce?: boolean):
|
48
|
+
onReset(listener: IKgSearchResetEventListener, isOnce?: boolean): IRemoveEventListener;
|
49
49
|
/**
|
50
50
|
* 监听事件: search, 点击查询按钮, 并且表单验证通过.
|
51
51
|
* @param listener 事件监听函数.
|
52
52
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
53
53
|
*/
|
54
|
-
onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean):
|
54
|
+
onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean): IRemoveEventListener;
|
55
55
|
/** 重置. */
|
56
56
|
reset(): void;
|
57
57
|
/** 查询. */
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarProfileMasterDTO } from '../../
|
3
|
-
import { IKgEventListener } from '../../
|
2
|
+
import { VarProfileMasterDTO } from '../../api/WMS/models';
|
3
|
+
import { IKgEventListener } from '../../const';
|
4
4
|
import { IKgTableRequestParameter } from '../KgTable';
|
5
5
|
/**
|
6
6
|
* 事件类型.
|
@@ -92,9 +92,9 @@ export interface IUseKgSearchStoreActions {
|
|
92
92
|
* 触发事件.
|
93
93
|
* @param formID 界面标识.
|
94
94
|
* @param event 事件名称.
|
95
|
-
* @param
|
95
|
+
* @param parameter 事件参数.
|
96
96
|
*/
|
97
|
-
emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent,
|
97
|
+
emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent, parameter: T): Promise<boolean>;
|
98
98
|
/**
|
99
99
|
* 修改查询字段的高级查询操作符的部分属性.
|
100
100
|
*
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Pinia } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
|
-
import { WorkstationAreaDTO, WorkstationDTO } from '../../
|
3
|
+
import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
|
4
4
|
import { IKgStationStore } from './index.store';
|
5
5
|
export declare type IUseKgStation = {
|
6
6
|
/**
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FormInstance } from 'ant-design-vue';
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
3
|
-
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../
|
4
|
-
import { IKgVarSubmitConfigProperties,
|
3
|
+
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
4
|
+
import { IKgVarSubmitConfigProperties, IRemoveEventListener, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
|
5
5
|
import { IKgSubmitAfterValidateEventListener, IKgSubmitBeforeOkEventListener, IKgSubmitBeforeOpenEventListener, IKgSubmitBeforeRequestEventListener, IKgSubmitCloseEventListener, IKgSubmitErrorEventListener, IKgSubmitOkEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnOpenEventListener, IKgSubmitStore } from './index.store';
|
6
6
|
export interface IUseKgSubmit {
|
7
7
|
/**
|
@@ -157,14 +157,14 @@ export interface IUseKgSubmit {
|
|
157
157
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
158
158
|
* @return {} 移除事件监听函数.
|
159
159
|
*/
|
160
|
-
onAfterValidate(listener: IKgSubmitAfterValidateEventListener, isOnce?: boolean):
|
160
|
+
onAfterValidate(listener: IKgSubmitAfterValidateEventListener, isOnce?: boolean): IRemoveEventListener;
|
161
161
|
/**
|
162
162
|
* <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗.</p>
|
163
163
|
* @param listener 事件监听函数.
|
164
164
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
165
165
|
* @return {} 移除事件监听函数.
|
166
166
|
*/
|
167
|
-
onBeforeCancel(listener: IKgSubmitOnBeforeCancelEventListener, isOnce?: boolean):
|
167
|
+
onBeforeCancel(listener: IKgSubmitOnBeforeCancelEventListener, isOnce?: boolean): IRemoveEventListener;
|
168
168
|
/**
|
169
169
|
* <p>监听事件: 点击确认按钮之后, 执行默认逻辑之前.</p>
|
170
170
|
* <ul>
|
@@ -177,14 +177,14 @@ export interface IUseKgSubmit {
|
|
177
177
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
178
178
|
* @return {} 移除事件监听函数.
|
179
179
|
*/
|
180
|
-
onBeforeOk(listener: IKgSubmitBeforeOkEventListener, isOnce?: boolean):
|
180
|
+
onBeforeOk(listener: IKgSubmitBeforeOkEventListener, isOnce?: boolean): IRemoveEventListener;
|
181
181
|
/**
|
182
182
|
* <p>监听事件: 打开提交弹窗之前.</p>
|
183
183
|
* @param listener 事件监听函数.
|
184
184
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
185
185
|
* @return {} 移除事件监听函数.
|
186
186
|
*/
|
187
|
-
onBeforeOpen(listener: IKgSubmitBeforeOpenEventListener, isOnce?: boolean):
|
187
|
+
onBeforeOpen(listener: IKgSubmitBeforeOpenEventListener, isOnce?: boolean): IRemoveEventListener;
|
188
188
|
/**
|
189
189
|
* <p>监听事件: 发起接口请求之前. 表单验证完成, 参数解析完成.</p>
|
190
190
|
* <p>回调函数如果返回 true, 则不会再执行后面的代码.</p>
|
@@ -193,14 +193,14 @@ export interface IUseKgSubmit {
|
|
193
193
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
194
194
|
* @return {} 移除事件监听函数.
|
195
195
|
*/
|
196
|
-
onBeforeRequest(listener: IKgSubmitBeforeRequestEventListener, isOnce?: boolean):
|
196
|
+
onBeforeRequest(listener: IKgSubmitBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
197
197
|
/**
|
198
198
|
* <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗.</p>
|
199
199
|
* @param listener 事件监听函数.
|
200
200
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
201
201
|
* @return {} 移除事件监听函数.
|
202
202
|
*/
|
203
|
-
onCancel(listener: IKgSubmitOnCancelEventListener, isOnce?: boolean):
|
203
|
+
onCancel(listener: IKgSubmitOnCancelEventListener, isOnce?: boolean): IRemoveEventListener;
|
204
204
|
/**
|
205
205
|
* <p>监听事件: 关闭提交弹窗. 下面几种场景都会触发此事件:</p>
|
206
206
|
* <ul>
|
@@ -212,28 +212,28 @@ export interface IUseKgSubmit {
|
|
212
212
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
213
213
|
* @return {} 移除事件监听函数.
|
214
214
|
*/
|
215
|
-
onClose(listener: IKgSubmitCloseEventListener, isOnce?: boolean):
|
215
|
+
onClose(listener: IKgSubmitCloseEventListener, isOnce?: boolean): IRemoveEventListener;
|
216
216
|
/**
|
217
217
|
* <p>监听事件: 请求失败. 请求失败了, 或者请求返回了错误消息.</p>
|
218
218
|
* @param listener 事件监听函数.
|
219
219
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
220
220
|
* @return {} 移除事件监听函数.
|
221
221
|
*/
|
222
|
-
onError(listener: IKgSubmitErrorEventListener, isOnce?: boolean):
|
222
|
+
onError(listener: IKgSubmitErrorEventListener, isOnce?: boolean): IRemoveEventListener;
|
223
223
|
/**
|
224
224
|
* <p>监听事件: 点击保存按钮之后, 执行默认逻辑之后, 调用接口成功, 关闭提交弹窗之后.</p>
|
225
225
|
* @param listener 事件监听函数.
|
226
226
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
227
227
|
* @return {} 移除事件监听函数.
|
228
228
|
*/
|
229
|
-
onOk(listener: IKgSubmitOkEventListener, isOnce?: boolean):
|
229
|
+
onOk(listener: IKgSubmitOkEventListener, isOnce?: boolean): IRemoveEventListener;
|
230
230
|
/**
|
231
231
|
* <p>监听事件: 打开提交弹窗.</p>
|
232
232
|
* @param listener 事件监听函数.
|
233
233
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
234
234
|
* @return {} 移除事件监听函数.
|
235
235
|
*/
|
236
|
-
onOpen(listener: IKgSubmitOnOpenEventListener, isOnce?: boolean):
|
236
|
+
onOpen(listener: IKgSubmitOnOpenEventListener, isOnce?: boolean): IRemoveEventListener;
|
237
237
|
/**
|
238
238
|
* <p>修改某个「提交表单字段」的部分属性.</p>
|
239
239
|
*
|
@@ -2,9 +2,9 @@ import { RuleObject } from 'ant-design-vue/es/form';
|
|
2
2
|
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
3
3
|
import { StoreDefinition } from 'pinia';
|
4
4
|
import { Ref } from 'vue';
|
5
|
-
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../
|
6
|
-
import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../
|
7
|
-
import { KgAny } from '../../
|
5
|
+
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
6
|
+
import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../const';
|
7
|
+
import { KgAny } from '../../type';
|
8
8
|
import { IKgTableRow } from '../KgTable';
|
9
9
|
/**
|
10
10
|
* 事件类型.
|
@@ -172,7 +172,7 @@ export interface IUseKgSubmitStoreActions {
|
|
172
172
|
* @param formID 页面标识.
|
173
173
|
*/
|
174
174
|
dispose(formID?: string | null): void;
|
175
|
-
emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent,
|
175
|
+
emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent, parameter: T): Promise<boolean>;
|
176
176
|
patchVarSubmitDetail(formID: string | null | undefined, param: {
|
177
177
|
buttonType?: KG__VAR_BUTTON__TYPE;
|
178
178
|
buttonVarName?: string | null;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { VarGridConfig, VarGridDetail } from '../../
|
3
|
-
import {
|
2
|
+
import { VarGridConfig, VarGridDetail } from '../../api/WMS/models';
|
3
|
+
import { IRemoveEventListener } from '../../const';
|
4
4
|
import { IKgTableAfterRequestEventListener, IKgTableBeforeParseParameterEventListener, IKgTableBeforeRequestEventListener, IKgTableBeforeSetDatasEventListener, IKgTableReadyEventListener, IKgTableRowDoubleClickEventListener, IKgTableStore } from './index.store';
|
5
5
|
export interface IUseKgTable {
|
6
6
|
/**
|
@@ -55,11 +55,11 @@ export interface IUseKgTable {
|
|
55
55
|
* @param listener 事件监听函数.
|
56
56
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
57
57
|
*/
|
58
|
-
onAfterRequest(listener: IKgTableAfterRequestEventListener, isOnce?: boolean):
|
58
|
+
onAfterRequest(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
59
59
|
/**
|
60
60
|
* @deprecated 已废弃, 请使用 onAfterRequest() 方法.
|
61
61
|
*/
|
62
|
-
onAfterSearch(listener: IKgTableAfterRequestEventListener, isOnce?: boolean):
|
62
|
+
onAfterSearch(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
63
63
|
/**
|
64
64
|
* <p>监听事件: 即将解析请求参数.</p>
|
65
65
|
* <p>在该事件中, 可以修改解析前的参数.</p>
|
@@ -67,43 +67,43 @@ export interface IUseKgTable {
|
|
67
67
|
* @param listener 事件监听函数.
|
68
68
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
69
69
|
*/
|
70
|
-
onBeforeParseRequestParameter(listener: IKgTableBeforeParseParameterEventListener, isOnce?: boolean):
|
70
|
+
onBeforeParseRequestParameter(listener: IKgTableBeforeParseParameterEventListener, isOnce?: boolean): IRemoveEventListener;
|
71
71
|
/**
|
72
72
|
* 监听事件: 即将发起查询请求, 如果返回 true 表示不会发起请求.
|
73
73
|
* @param listener 事件监听函数.
|
74
74
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
75
75
|
*/
|
76
|
-
onBeforeRequest(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean):
|
76
|
+
onBeforeRequest(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
77
77
|
/**
|
78
78
|
* @deprecated 已废弃, 请使用 onBeforeRequest() 方法.
|
79
79
|
*/
|
80
|
-
onBeforeRetrieve(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean):
|
80
|
+
onBeforeRetrieve(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
81
81
|
/**
|
82
82
|
* @deprecated 已废弃, 请使用 onBeforeRequest() 方法.
|
83
83
|
*/
|
84
|
-
onBeforeSearch(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean):
|
84
|
+
onBeforeSearch(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
85
85
|
/**
|
86
86
|
* 监听事件: 查询请求成功, 表格数据尚未赋值. 此处可以对查询接口返回的列表数据作处理.
|
87
87
|
* @param listener 事件监听函数.
|
88
88
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
89
89
|
*/
|
90
|
-
onBeforeSetDatas(listener: IKgTableBeforeSetDatasEventListener, isOnce?: boolean):
|
90
|
+
onBeforeSetDatas(listener: IKgTableBeforeSetDatasEventListener, isOnce?: boolean): IRemoveEventListener;
|
91
91
|
/**
|
92
92
|
* 监听事件: ready, 配置初始完成, 组件渲染完成.
|
93
93
|
* @param listener 事件监听函数.
|
94
94
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
95
95
|
*/
|
96
|
-
onReady(listener: IKgTableReadyEventListener, isOnce?: boolean):
|
96
|
+
onReady(listener: IKgTableReadyEventListener, isOnce?: boolean): IRemoveEventListener;
|
97
97
|
/**
|
98
98
|
* @deprecated 已废弃, 请使用 onAfterSearch() 方法.
|
99
99
|
*/
|
100
|
-
onRetrieve(listener: IKgTableAfterRequestEventListener, isOnce?: boolean):
|
100
|
+
onRetrieve(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
101
101
|
/**
|
102
102
|
* 监听事件: 双击某行.
|
103
103
|
* @param listener 事件监听函数.
|
104
104
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
105
105
|
*/
|
106
|
-
onRowDoubleClick(listener: IKgTableRowDoubleClickEventListener, isOnce?: boolean):
|
106
|
+
onRowDoubleClick(listener: IKgTableRowDoubleClickEventListener, isOnce?: boolean): IRemoveEventListener;
|
107
107
|
/** 当前分页选项. */
|
108
108
|
pageSizeOption: ComputedRef<number>;
|
109
109
|
/** 所有分页选项. */
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Key } from 'ant-design-vue/lib/_util/type';
|
2
2
|
import { StoreDefinition } from 'pinia';
|
3
3
|
import { Ref } from 'vue';
|
4
|
-
import { IPage, VarGridConfig, VarGridDetail } from '../../
|
5
|
-
import { IKgEventListener } from '../../
|
4
|
+
import { IPage, VarGridConfig, VarGridDetail } from '../../api/WMS/models';
|
5
|
+
import { IKgEventListener } from '../../const';
|
6
6
|
import { IKgTableRow, IKgTableRowHeight } from './index.vm';
|
7
7
|
/**
|
8
8
|
* 事件类型.
|
@@ -162,9 +162,9 @@ export interface IUseKgTableStoreActions {
|
|
162
162
|
* 触发事件.
|
163
163
|
* @param formID 界面标识.
|
164
164
|
* @param event 事件名称.
|
165
|
-
* @param
|
165
|
+
* @param parameter 事件参数.
|
166
166
|
*/
|
167
|
-
emit<T = IKgTableEventListenerParameter>(formID: string | null | undefined, event: IKgTableEvent,
|
167
|
+
emit<T = IKgTableEventListenerParameter>(formID: string | null | undefined, event: IKgTableEvent, parameter: T): Promise<boolean>;
|
168
168
|
/**
|
169
169
|
* 修改「表格配置」的部分属性.
|
170
170
|
*
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import './KgVarFactory.less';
|
2
1
|
export declare function KgVarFactory(param?: {
|
3
2
|
formID?: string | null | undefined;
|
4
3
|
}): import("vue").DefineComponent<{
|
@@ -11,8 +10,8 @@ export declare function KgVarFactory(param?: {
|
|
11
10
|
type: import("vue").PropType<number>;
|
12
11
|
default: number;
|
13
12
|
};
|
14
|
-
kgProps: import("vue").PropType<import("
|
15
|
-
kgSlots: import("vue").PropType<import("
|
13
|
+
kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
|
14
|
+
kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
|
16
15
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
17
16
|
kgBackgroundGray: {
|
18
17
|
type: import("vue").PropType<boolean>;
|
@@ -23,8 +22,8 @@ export declare function KgVarFactory(param?: {
|
|
23
22
|
type: import("vue").PropType<number>;
|
24
23
|
default: number;
|
25
24
|
};
|
26
|
-
kgProps: import("vue").PropType<import("
|
27
|
-
kgSlots: import("vue").PropType<import("
|
25
|
+
kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
|
26
|
+
kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
|
28
27
|
}>>, {
|
29
28
|
kgBackgroundGray: boolean;
|
30
29
|
kgLevel: number;
|
@@ -32,7 +31,7 @@ export declare function KgVarFactory(param?: {
|
|
32
31
|
/**
|
33
32
|
* 默认的 KgVar 组件.
|
34
33
|
*/
|
35
|
-
export declare const
|
34
|
+
export declare const KgVar2: import("vue").DefineComponent<{
|
36
35
|
kgBackgroundGray: {
|
37
36
|
type: import("vue").PropType<boolean>;
|
38
37
|
default: undefined;
|
@@ -42,8 +41,8 @@ export declare const DEFAULT: import("vue").DefineComponent<{
|
|
42
41
|
type: import("vue").PropType<number>;
|
43
42
|
default: number;
|
44
43
|
};
|
45
|
-
kgProps: import("vue").PropType<import("
|
46
|
-
kgSlots: import("vue").PropType<import("
|
44
|
+
kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
|
45
|
+
kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
|
47
46
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
48
47
|
kgBackgroundGray: {
|
49
48
|
type: import("vue").PropType<boolean>;
|
@@ -54,8 +53,8 @@ export declare const DEFAULT: import("vue").DefineComponent<{
|
|
54
53
|
type: import("vue").PropType<number>;
|
55
54
|
default: number;
|
56
55
|
};
|
57
|
-
kgProps: import("vue").PropType<import("
|
58
|
-
kgSlots: import("vue").PropType<import("
|
56
|
+
kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
|
57
|
+
kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
|
59
58
|
}>>, {
|
60
59
|
kgBackgroundGray: boolean;
|
61
60
|
kgLevel: number;
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../
|
3
|
-
import {
|
2
|
+
import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../api/WMS/models';
|
3
|
+
import { IRemoveEventListener, KG__VAR_BUTTON__TYPE } from '../../const';
|
4
4
|
import { IUseKgButton } from '../KgButton';
|
5
5
|
import { IUseKgForm } from '../KgForm';
|
6
6
|
import { type IUseKgSearch } from '../KgSearch';
|
7
7
|
import { IUseKgSubmit } from '../KgSubmit';
|
8
8
|
import { IUseKgTable } from '../KgTable';
|
9
9
|
import { IUseKgVarConfig } from '../KgVarConfig';
|
10
|
-
import {
|
10
|
+
import { IKgVarRequestEventListener, IKgVarStore } from './index.store';
|
11
|
+
import { IKgProps, IKgSlots } from './index.vm';
|
11
12
|
export declare type IUseKgVar = {
|
12
13
|
/**
|
13
14
|
* <p>添加一个「变量配置:表单控件」.</p>
|
@@ -127,11 +128,12 @@ export declare type IUseKgVar = {
|
|
127
128
|
* @param listener 事件监听函数.
|
128
129
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
129
130
|
*/
|
130
|
-
onRetrieve(listener:
|
131
|
+
onRetrieve(listener: IKgVarRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
131
132
|
/**
|
132
133
|
* 父亲界面.
|
133
134
|
*/
|
134
135
|
parent: ComputedRef<ReturnType<IKgVarStore['getParent']>>;
|
136
|
+
props: ComputedRef<ReturnType<IKgVarStore['getProps']>>;
|
135
137
|
/**
|
136
138
|
* 查询所有变量配置.
|
137
139
|
*
|
@@ -140,6 +142,9 @@ export declare type IUseKgVar = {
|
|
140
142
|
requestAll(param?: {
|
141
143
|
isForceRequest?: boolean;
|
142
144
|
}): Promise<void>;
|
145
|
+
setProps(props: IKgProps): void;
|
146
|
+
setSlots(slots: IKgSlots): void;
|
147
|
+
slots: ComputedRef<ReturnType<IKgVarStore['getSlots']>>;
|
143
148
|
/** 状态数据. */
|
144
149
|
store: IKgVarStore;
|
145
150
|
/**
|
@@ -1,15 +1,22 @@
|
|
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 { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../
|
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 { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../const';
|
4
4
|
import { IUseKgVar } from './index.hooks';
|
5
|
+
import { IKgProps, IKgSlots } from './index.vm';
|
5
6
|
/**
|
6
7
|
* 事件类型.
|
7
|
-
* '
|
8
|
+
* 'onRequest': 变量配置查询完成
|
8
9
|
*/
|
9
|
-
export declare type IKgVarEvent = '
|
10
|
-
export declare type
|
11
|
-
|
12
|
-
|
10
|
+
export declare type IKgVarEvent = 'onRequest';
|
11
|
+
export declare type IKgVarRequestEventListenerParameter = {
|
12
|
+
/**
|
13
|
+
* 界面标识.
|
14
|
+
*/
|
15
|
+
formID: string;
|
16
|
+
};
|
17
|
+
export declare type IKgVarRequestEventListener = ((param: IKgVarRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
18
|
+
export declare type IKgVarEventListenerParameter = IKgVarRequestEventListenerParameter;
|
19
|
+
export declare type IKgVarEventListener = IKgVarRequestEventListener;
|
13
20
|
export interface IUseKgVarStoreState {
|
14
21
|
/** 正在复制: 正在调用接口. */
|
15
22
|
isCopyingRequestingMap: Map<string, boolean>;
|
@@ -35,8 +42,10 @@ export interface IUseKgVarStoreState {
|
|
35
42
|
* 界面层级.
|
36
43
|
*/
|
37
44
|
levelMap: Map<string, number>;
|
38
|
-
/** 事件监听函数列表:
|
39
|
-
|
45
|
+
/** 事件监听函数列表: onRequest. */
|
46
|
+
onRequestEventListenerMap: Map<string, Array<IKgVarRequestEventListener>>;
|
47
|
+
propsMap: Map<string, IKgProps>;
|
48
|
+
slotsMap: Map<string, IKgSlots>;
|
40
49
|
varButtonConfigMap: Map<string, VarButtonConfig | null>;
|
41
50
|
varButtonMap: Map<string, Array<VarButton>>;
|
42
51
|
varChildDetailMap: Map<string, Array<VarChildDetail>>;
|
@@ -90,6 +99,8 @@ export interface IUseKgVarStoreGetters {
|
|
90
99
|
*/
|
91
100
|
getLevel(): (formID: string | null | undefined) => number;
|
92
101
|
getParent(): (formID: string | null | undefined) => IUseKgVar | null;
|
102
|
+
getProps(): (formID: string | null | undefined) => IKgProps | null;
|
103
|
+
getSlots(): (formID: string | null | undefined) => IKgSlots | null;
|
93
104
|
/**
|
94
105
|
* 和 var_nam 获取 VarButton.
|
95
106
|
*/
|
@@ -173,9 +184,9 @@ export interface IUseKgVarStoreActions {
|
|
173
184
|
* 触发事件.
|
174
185
|
* @param formID 界面标识.
|
175
186
|
* @param event 事件名称.
|
176
|
-
* @param
|
187
|
+
* @param parameter 事件参数.
|
177
188
|
*/
|
178
|
-
emit(formID: string, event: IKgVarEvent,
|
189
|
+
emit<T = IKgVarEventListenerParameter>(formID: string, event: IKgVarEvent, parameter: T): Promise<boolean>;
|
179
190
|
/**
|
180
191
|
* 进入一个界面. 同一个界面不允许进入多次.
|
181
192
|
* @param param.formID 界面标识.
|
@@ -233,6 +244,8 @@ export interface IUseKgVarStoreActions {
|
|
233
244
|
setIsDeletingRequesting(formID: string, value: boolean): void;
|
234
245
|
setIsOtherRequesting(formID: string, value: boolean): void;
|
235
246
|
setIsUpdatingRequesting(formID: string, value: boolean): void;
|
247
|
+
setProps(formID: string, value: IKgProps): void;
|
248
|
+
setSlots(formID: string, value: IKgSlots): void;
|
236
249
|
/**
|
237
250
|
* 设置某个 VarConfigPossibility 配置.
|
238
251
|
* @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
1
|
import { Pinia } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
|
-
import {
|
3
|
+
import { IRemoveEventListener } from '../../const';
|
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
1
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { WhDTO } from '../../
|
3
|
-
import { IKgEventListener } from '../../
|
2
|
+
import { WhDTO } from '../../api/WMS/models';
|
3
|
+
import { IKgEventListener } from '../../const';
|
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;
|