@kengic/vue 0.26.6-beta.13 → 0.26.6-beta.130
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 +60733 -46637
- 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 +16 -9
- package/dist/src/{components → component}/KgForm/index.store.d.ts +24 -7
- 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 +16 -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,5 +1,5 @@
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgModal.
|
2
|
+
import './KgModal.css';
|
3
3
|
export declare const getProps: () => {
|
4
4
|
/**
|
5
5
|
* 高度是否撑满屏幕.
|
@@ -116,7 +116,7 @@ export declare const getProps: () => {
|
|
116
116
|
type: BooleanConstructor;
|
117
117
|
default: undefined;
|
118
118
|
};
|
119
|
-
width: (
|
119
|
+
width: (StringConstructor | NumberConstructor)[];
|
120
120
|
footer: PropType<any>;
|
121
121
|
okText: PropType<any>;
|
122
122
|
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -132,9 +132,10 @@ export declare const getProps: () => {
|
|
132
132
|
};
|
133
133
|
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
134
134
|
prefixCls: StringConstructor;
|
135
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
135
136
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
136
137
|
htmlType: {
|
137
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
138
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
138
139
|
default: string;
|
139
140
|
};
|
140
141
|
shape: {
|
@@ -180,9 +181,10 @@ export declare const getProps: () => {
|
|
180
181
|
}>>>;
|
181
182
|
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
182
183
|
prefixCls: StringConstructor;
|
184
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
183
185
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
184
186
|
htmlType: {
|
185
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
187
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
186
188
|
default: string;
|
187
189
|
};
|
188
190
|
shape: {
|
@@ -380,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
380
382
|
type: BooleanConstructor;
|
381
383
|
default: undefined;
|
382
384
|
};
|
383
|
-
width: (
|
385
|
+
width: (StringConstructor | NumberConstructor)[];
|
384
386
|
footer: PropType<any>;
|
385
387
|
okText: PropType<any>;
|
386
388
|
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -396,9 +398,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
396
398
|
};
|
397
399
|
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
398
400
|
prefixCls: StringConstructor;
|
401
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
399
402
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
400
403
|
htmlType: {
|
401
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
404
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
402
405
|
default: string;
|
403
406
|
};
|
404
407
|
shape: {
|
@@ -444,9 +447,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
444
447
|
}>>>;
|
445
448
|
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
446
449
|
prefixCls: StringConstructor;
|
450
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
447
451
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
448
452
|
htmlType: {
|
449
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
453
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
450
454
|
default: string;
|
451
455
|
};
|
452
456
|
shape: {
|
@@ -642,7 +646,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
642
646
|
type: BooleanConstructor;
|
643
647
|
default: undefined;
|
644
648
|
};
|
645
|
-
width: (
|
649
|
+
width: (StringConstructor | NumberConstructor)[];
|
646
650
|
footer: PropType<any>;
|
647
651
|
okText: PropType<any>;
|
648
652
|
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -658,9 +662,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
658
662
|
};
|
659
663
|
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
660
664
|
prefixCls: StringConstructor;
|
665
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
661
666
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
662
667
|
htmlType: {
|
663
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
668
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
664
669
|
default: string;
|
665
670
|
};
|
666
671
|
shape: {
|
@@ -706,9 +711,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
706
711
|
}>>>;
|
707
712
|
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
708
713
|
prefixCls: StringConstructor;
|
714
|
+
/** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
|
709
715
|
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
710
716
|
htmlType: {
|
711
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
717
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
712
718
|
default: string;
|
713
719
|
};
|
714
720
|
shape: {
|
@@ -802,11 +808,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
802
808
|
mask: boolean;
|
803
809
|
keyboard: boolean;
|
804
810
|
focusTriggerAfterClose: boolean;
|
805
|
-
kgIsDefaultFullscreen: boolean;
|
806
|
-
kgIsShowFullscreenButton: boolean;
|
807
|
-
kgFullHeight: boolean;
|
808
811
|
kgIsDragToMove: boolean;
|
812
|
+
kgFullHeight: boolean;
|
813
|
+
kgIsDefaultFullscreen: boolean;
|
809
814
|
kgIsDragToResize: boolean;
|
815
|
+
kgIsShowFullscreenButton: boolean;
|
810
816
|
kgMaxHeight: number;
|
811
817
|
kgMaxWidth: number;
|
812
818
|
kgMinHeight: number;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
2
|
+
/**
|
3
|
+
* 拖拽改变位置.
|
4
|
+
*
|
5
|
+
* @param param.getProps 组件参数.
|
6
|
+
* @param param.domRef 页面特殊元素对象.
|
7
|
+
*/
|
8
|
+
export declare function useDragToMove(param: {
|
9
|
+
domRef: Ref<HTMLDivElement | null>;
|
10
|
+
getKgIsDragToMove: ComputedRef<boolean>;
|
11
|
+
getVisible: ComputedRef<boolean>;
|
12
|
+
}): void;
|
@@ -1,15 +1,5 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import { IKgModalProps } from '
|
3
|
-
/**
|
4
|
-
* 拖拽改变位置.
|
5
|
-
*
|
6
|
-
* @param param.getProps 组件参数.
|
7
|
-
* @param param.domRef 页面特殊元素对象.
|
8
|
-
*/
|
9
|
-
export declare function useDragToMove(param: {
|
10
|
-
domRef: Ref<HTMLDivElement | null>;
|
11
|
-
getProps: Ref<IKgModalProps>;
|
12
|
-
}): void;
|
2
|
+
import { IKgModalProps } from '../KgModal';
|
13
3
|
/**
|
14
4
|
* 拖拽改变大小.
|
15
5
|
*
|
@@ -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
|
/**
|