@kengic/vue 0.26.6-beta.2 → 0.26.6-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +42986 -21885
- package/package.json +4 -3
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +0 -51
- package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +0 -73
- package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +0 -9
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -54
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +0 -25
- package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/index.d.ts +0 -11
- package/dist/src/apis/WMS/index.d.ts +0 -2
- package/dist/src/apis/WMS/models.d.ts +0 -1018
- package/dist/src/apis/api.d.ts +0 -1
- package/dist/src/apis/def.d.ts +0 -1
- package/dist/src/apis/index.d.ts +0 -2
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
- package/dist/src/components/KgAppSelect/index.d.ts +0 -3
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -41
- package/dist/src/components/KgAppSelect/index.store.d.ts +0 -74
- package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
- package/dist/src/components/KgButton/KgButton.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -40
- package/dist/src/components/KgButton/index.d.ts +0 -62
- package/dist/src/components/KgButton/index.hooks.d.ts +0 -183
- package/dist/src/components/KgButton/index.store.d.ts +0 -116
- package/dist/src/components/KgCanvas/KgCanvas.ContextMenu.d.ts +0 -107
- package/dist/src/components/KgCanvas/KgCanvas.d.ts +0 -122
- package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +0 -36
- package/dist/src/components/KgCanvas/index.d.ts +0 -4
- package/dist/src/components/KgCanvas/index.hooks.d.ts +0 -67
- package/dist/src/components/KgCanvas/index.store.d.ts +0 -239
- package/dist/src/components/KgForm/KgForm.d.ts +0 -414
- package/dist/src/components/KgForm/index.d.ts +0 -604
- package/dist/src/components/KgForm/index.hooks.d.ts +0 -73
- package/dist/src/components/KgForm/index.store.d.ts +0 -221
- package/dist/src/components/KgForm/index.vm.d.ts +0 -9
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -97
- package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +0 -17
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -49
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -16
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -31
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -100
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -99
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -97
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -97
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +0 -92
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -98
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +0 -29
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -96
- package/dist/src/components/KgForm.Item/index.d.ts +0 -2
- package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -124
- package/dist/src/components/KgImage/KgImage.d.ts +0 -100
- package/dist/src/components/KgImage/index.d.ts +0 -1
- package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +0 -38
- package/dist/src/components/KgLayoutHeader/index.d.ts +0 -2
- package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +0 -4
- package/dist/src/components/KgModal/KgModal.d.ts +0 -817
- package/dist/src/components/KgModal/KgModal.service.d.ts +0 -39
- package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +0 -92
- package/dist/src/components/KgModal/index.d.ts +0 -1
- package/dist/src/components/KgModal/index.vm.d.ts +0 -8
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
- package/dist/src/components/KgProgressA/index.d.ts +0 -1
- package/dist/src/components/KgResizable/KgResizable.d.ts +0 -91
- package/dist/src/components/KgResizable/KgResizable.service.d.ts +0 -12
- package/dist/src/components/KgResizable/index.d.ts +0 -1
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -26
- package/dist/src/components/KgSearch/KgSearch.service.d.ts +0 -32
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -16
- package/dist/src/components/KgSearch/index.d.ts +0 -3
- package/dist/src/components/KgSearch/index.hooks.d.ts +0 -67
- package/dist/src/components/KgSearch/index.store.d.ts +0 -147
- package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
- package/dist/src/components/KgStation/KgStation.d.ts +0 -47
- package/dist/src/components/KgStation/index.d.ts +0 -3
- package/dist/src/components/KgStation/index.hooks.d.ts +0 -29
- package/dist/src/components/KgStation/index.store.d.ts +0 -45
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -21
- package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +0 -29
- package/dist/src/components/KgSubmit/index.d.ts +0 -4
- package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -295
- package/dist/src/components/KgSubmit/index.store.d.ts +0 -194
- package/dist/src/components/KgSubmit/index.vm.d.ts +0 -57
- package/dist/src/components/KgTable/KgTable.d.ts +0 -39
- package/dist/src/components/KgTable/KgTable.service.d.ts +0 -34
- package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +0 -60
- package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +0 -52
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -57
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -21
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +0 -22
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -16
- package/dist/src/components/KgTable/index.d.ts +0 -4
- package/dist/src/components/KgTable/index.hooks.d.ts +0 -148
- package/dist/src/components/KgTable/index.store.d.ts +0 -241
- package/dist/src/components/KgTable/index.vm.d.ts +0 -67
- package/dist/src/components/KgVar/KgVar.d.ts +0 -114
- package/dist/src/components/KgVar/index.d.ts +0 -4
- package/dist/src/components/KgVar/index.hooks.d.ts +0 -184
- package/dist/src/components/KgVar/index.store.d.ts +0 -253
- package/dist/src/components/KgVar/index.store.service.d.ts +0 -30
- package/dist/src/components/KgVar/index.vm.d.ts +0 -55
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -16
- package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -27
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -5
- package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -5
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -5
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -7
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +0 -23
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -5
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -2
- package/dist/src/components/KgVarConfig/index.d.ts +0 -3
- package/dist/src/components/KgVarConfig/index.hooks.d.ts +0 -17
- package/dist/src/components/KgVarConfig/index.store.d.ts +0 -16
- package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -50
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -47
- package/dist/src/components/KgWarehouse/index.d.ts +0 -4
- package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -27
- package/dist/src/components/KgWarehouse/index.store.d.ts +0 -63
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
- package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -21
- package/dist/src/components/util.d.ts +0 -14
- package/dist/src/config/index.d.ts +0 -3
- package/dist/src/config/index.hooks.d.ts +0 -36
- package/dist/src/config/index.store.d.ts +0 -315
- package/dist/src/config/setup/index.d.ts +0 -3
- package/dist/src/config/setup/setup.d.ts +0 -27
- package/dist/src/config/setup/setupKgLocale.d.ts +0 -29
- package/dist/src/config/setup/setupKgStore.d.ts +0 -18
- package/dist/src/consts/i18n/en.d.ts +0 -274
- package/dist/src/consts/i18n/es_ES.d.ts +0 -274
- package/dist/src/consts/i18n/fr_FR.d.ts +0 -274
- package/dist/src/consts/i18n/index.d.ts +0 -2
- package/dist/src/consts/i18n/km_KH.d.ts +0 -274
- package/dist/src/consts/i18n/ko_KR.d.ts +0 -274
- package/dist/src/consts/i18n/vi_VN.d.ts +0 -274
- package/dist/src/consts/i18n/zh_CN.d.ts +0 -274
- package/dist/src/consts/index.d.ts +0 -3
- package/dist/src/consts/index.vm.d.ts +0 -725
- package/dist/src/consts/injection-keys.const.d.ts +0 -9
- package/dist/src/helpers/ant-design-vue.d.ts +0 -347
- package/dist/src/helpers/tsx.helper.d.ts +0 -23
- package/dist/src/index.d.ts +0 -10
- package/dist/src/pages/KgPageDda/KgPageDda.d.ts +0 -8
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -32
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -7
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +0 -33
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +0 -1322
- package/dist/src/pages/KgPageDda/index.d.ts +0 -5
- package/dist/src/pages/KgPageDda/index.vm.d.ts +0 -12
- package/dist/src/pages/KgVarFactory/KgVarFactory.d.ts +0 -62
- package/dist/src/pages/KgVarFactory/index.d.ts +0 -1
- package/dist/src/pages/index.d.ts +0 -9
- package/dist/src/project/build/getConfigFileName.d.ts +0 -5
- package/dist/src/project/build/index.d.ts +0 -1
- package/dist/src/project/index.d.ts +0 -3
- package/dist/src/project/src/api/index.d.ts +0 -3
- package/dist/src/project/src/api/sys/model/menuModel.d.ts +0 -15
- package/dist/src/project/src/api/sys/model/uploadModel.d.ts +0 -5
- package/dist/src/project/src/api/sys/model/userModel.d.ts +0 -46
- package/dist/src/project/src/components/Dropdown/index.d.ts +0 -1
- package/dist/src/project/src/components/Dropdown/src/typing.d.ts +0 -9
- package/dist/src/project/src/components/index.d.ts +0 -1
- package/dist/src/project/src/enums/CompTypeEnum.d.ts +0 -19
- package/dist/src/project/src/enums/DateTypeEnum.d.ts +0 -8
- package/dist/src/project/src/enums/appEnum.d.ts +0 -40
- package/dist/src/project/src/enums/breakpointEnum.d.ts +0 -18
- package/dist/src/project/src/enums/cacheEnum.d.ts +0 -18
- package/dist/src/project/src/enums/exceptionEnum.d.ts +0 -17
- package/dist/src/project/src/enums/httpEnum.d.ts +0 -38
- package/dist/src/project/src/enums/index.d.ts +0 -13
- package/dist/src/project/src/enums/jeecgEnum.d.ts +0 -16
- package/dist/src/project/src/enums/menuEnum.d.ts +0 -35
- package/dist/src/project/src/enums/pageEnum.d.ts +0 -14
- package/dist/src/project/src/enums/roleEnum.d.ts +0 -4
- package/dist/src/project/src/enums/sizeEnum.d.ts +0 -18
- package/dist/src/project/src/hooks/index.d.ts +0 -1
- package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
- package/dist/src/project/src/index.d.ts +0 -13
- package/dist/src/project/src/locales/helper.d.ts +0 -5
- package/dist/src/project/src/locales/index.d.ts +0 -3
- package/dist/src/project/src/locales/setupI18n.d.ts +0 -4
- package/dist/src/project/src/locales/useLocale.d.ts +0 -10
- package/dist/src/project/src/settings/componentSetting.d.ts +0 -44
- package/dist/src/project/src/settings/designSetting.d.ts +0 -6
- package/dist/src/project/src/settings/encryptionSetting.d.ts +0 -6
- package/dist/src/project/src/settings/index.d.ts +0 -3
- package/dist/src/project/src/store/index.d.ts +0 -1
- package/dist/src/project/src/store/modules/index.d.ts +0 -1
- package/dist/src/project/src/store/modules/locale.d.ts +0 -38
- package/dist/src/project/src/utils/cache/index.d.ts +0 -7
- package/dist/src/project/src/utils/cache/memory.d.ts +0 -22
- package/dist/src/project/src/utils/cache/persistent.d.ts +0 -33
- package/dist/src/project/src/utils/cache/storageCache.d.ts +0 -8
- package/dist/src/project/src/utils/cipher.d.ts +0 -19
- package/dist/src/project/src/utils/env.d.ts +0 -34
- package/dist/src/project/types/axios.d.ts +0 -35
- package/dist/src/project/types/config.d.ts +0 -121
- package/dist/src/project/types/index.d.ts +0 -4
- package/dist/src/project/types/store.d.ts +0 -42
- package/dist/src/project/types/utils.d.ts +0 -4
- package/dist/src/services/http-client.d.ts +0 -93
- package/dist/src/services/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/kg-auth.util.d.ts +0 -26
- 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/utils/kg-route.util.d.ts +0 -57
- package/dist/src/utils/kg-var.util.d.ts +0 -76
- package/dist/src/utils/kg.util.d.ts +0 -150
@@ -1,39 +0,0 @@
|
|
1
|
-
import { Ref } from 'vue';
|
2
|
-
import { IKgModalProps } from './KgModal';
|
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;
|
13
|
-
/**
|
14
|
-
* 拖拽改变大小.
|
15
|
-
*
|
16
|
-
* @param param.props 组件参数.
|
17
|
-
* @param param.domRef 页面上的那个特殊元素对象, 专门用于获取其他元素对象.
|
18
|
-
* @param param.getProps 计算后的组件参数.
|
19
|
-
*/
|
20
|
-
export declare function useDragToResize(param: {
|
21
|
-
props: IKgModalProps;
|
22
|
-
domRef: Ref<HTMLDivElement | null>;
|
23
|
-
getProps: Ref<IKgModalProps>;
|
24
|
-
}): {
|
25
|
-
/**
|
26
|
-
* 鼠标按下事件.
|
27
|
-
*
|
28
|
-
* @param param.event 鼠标事件对象.
|
29
|
-
* @param param.handleType 拖拽位置.
|
30
|
-
*/
|
31
|
-
onMousedown: (param: {
|
32
|
-
event: MouseEvent;
|
33
|
-
handleType: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
34
|
-
}) => void;
|
35
|
-
/**
|
36
|
-
* 弹窗宽度.
|
37
|
-
*/
|
38
|
-
width: Ref<string | number>;
|
39
|
-
};
|
@@ -1,92 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
/**
|
4
|
-
* 是否默认全屏.
|
5
|
-
*
|
6
|
-
* @default false
|
7
|
-
*/
|
8
|
-
kgIsDefaultFullscreen: {
|
9
|
-
type: PropType<boolean>;
|
10
|
-
default: boolean;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* 是否显示关闭按钮.
|
14
|
-
*
|
15
|
-
* @default true
|
16
|
-
*/
|
17
|
-
kgIsShowCloseButton: {
|
18
|
-
type: PropType<boolean>;
|
19
|
-
default: boolean;
|
20
|
-
};
|
21
|
-
/**
|
22
|
-
* 是否显示全屏按钮.
|
23
|
-
*
|
24
|
-
* @default true
|
25
|
-
*/
|
26
|
-
kgIsShowFullscreenButton: {
|
27
|
-
type: PropType<boolean>;
|
28
|
-
default: boolean;
|
29
|
-
};
|
30
|
-
};
|
31
|
-
declare const _default: import("vue").DefineComponent<{
|
32
|
-
/**
|
33
|
-
* 是否默认全屏.
|
34
|
-
*
|
35
|
-
* @default false
|
36
|
-
*/
|
37
|
-
kgIsDefaultFullscreen: {
|
38
|
-
type: PropType<boolean>;
|
39
|
-
default: boolean;
|
40
|
-
};
|
41
|
-
/**
|
42
|
-
* 是否显示关闭按钮.
|
43
|
-
*
|
44
|
-
* @default true
|
45
|
-
*/
|
46
|
-
kgIsShowCloseButton: {
|
47
|
-
type: PropType<boolean>;
|
48
|
-
default: boolean;
|
49
|
-
};
|
50
|
-
/**
|
51
|
-
* 是否显示全屏按钮.
|
52
|
-
*
|
53
|
-
* @default true
|
54
|
-
*/
|
55
|
-
kgIsShowFullscreenButton: {
|
56
|
-
type: PropType<boolean>;
|
57
|
-
default: boolean;
|
58
|
-
};
|
59
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
60
|
-
/**
|
61
|
-
* 是否默认全屏.
|
62
|
-
*
|
63
|
-
* @default false
|
64
|
-
*/
|
65
|
-
kgIsDefaultFullscreen: {
|
66
|
-
type: PropType<boolean>;
|
67
|
-
default: boolean;
|
68
|
-
};
|
69
|
-
/**
|
70
|
-
* 是否显示关闭按钮.
|
71
|
-
*
|
72
|
-
* @default true
|
73
|
-
*/
|
74
|
-
kgIsShowCloseButton: {
|
75
|
-
type: PropType<boolean>;
|
76
|
-
default: boolean;
|
77
|
-
};
|
78
|
-
/**
|
79
|
-
* 是否显示全屏按钮.
|
80
|
-
*
|
81
|
-
* @default true
|
82
|
-
*/
|
83
|
-
kgIsShowFullscreenButton: {
|
84
|
-
type: PropType<boolean>;
|
85
|
-
default: boolean;
|
86
|
-
};
|
87
|
-
}>>, {
|
88
|
-
kgIsDefaultFullscreen: boolean;
|
89
|
-
kgIsShowCloseButton: boolean;
|
90
|
-
kgIsShowFullscreenButton: boolean;
|
91
|
-
}>;
|
92
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as KgModal, type IKgModalProps } from './KgModal';
|
@@ -1,85 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgProgressA.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* 左侧数值(分子).
|
6
|
-
* @default null
|
7
|
-
*/
|
8
|
-
kgLeft: {
|
9
|
-
type: PropType<number | null | undefined>;
|
10
|
-
default: null;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* 右侧数值(分母).
|
14
|
-
* @default null
|
15
|
-
*/
|
16
|
-
kgRight: {
|
17
|
-
type: PropType<number | null | undefined>;
|
18
|
-
default: null;
|
19
|
-
};
|
20
|
-
/**
|
21
|
-
* 右侧文本的宽度.
|
22
|
-
* @default 'auto'
|
23
|
-
*/
|
24
|
-
kgTextWidth: {
|
25
|
-
type: PropType<string>;
|
26
|
-
default: string;
|
27
|
-
};
|
28
|
-
};
|
29
|
-
export declare type IKgProgressAProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
30
|
-
declare const _default: import("vue").DefineComponent<{
|
31
|
-
/**
|
32
|
-
* 左侧数值(分子).
|
33
|
-
* @default null
|
34
|
-
*/
|
35
|
-
kgLeft: {
|
36
|
-
type: PropType<number | null | undefined>;
|
37
|
-
default: null;
|
38
|
-
};
|
39
|
-
/**
|
40
|
-
* 右侧数值(分母).
|
41
|
-
* @default null
|
42
|
-
*/
|
43
|
-
kgRight: {
|
44
|
-
type: PropType<number | null | undefined>;
|
45
|
-
default: null;
|
46
|
-
};
|
47
|
-
/**
|
48
|
-
* 右侧文本的宽度.
|
49
|
-
* @default 'auto'
|
50
|
-
*/
|
51
|
-
kgTextWidth: {
|
52
|
-
type: PropType<string>;
|
53
|
-
default: string;
|
54
|
-
};
|
55
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
56
|
-
/**
|
57
|
-
* 左侧数值(分子).
|
58
|
-
* @default null
|
59
|
-
*/
|
60
|
-
kgLeft: {
|
61
|
-
type: PropType<number | null | undefined>;
|
62
|
-
default: null;
|
63
|
-
};
|
64
|
-
/**
|
65
|
-
* 右侧数值(分母).
|
66
|
-
* @default null
|
67
|
-
*/
|
68
|
-
kgRight: {
|
69
|
-
type: PropType<number | null | undefined>;
|
70
|
-
default: null;
|
71
|
-
};
|
72
|
-
/**
|
73
|
-
* 右侧文本的宽度.
|
74
|
-
* @default 'auto'
|
75
|
-
*/
|
76
|
-
kgTextWidth: {
|
77
|
-
type: PropType<string>;
|
78
|
-
default: string;
|
79
|
-
};
|
80
|
-
}>>, {
|
81
|
-
kgLeft: number | null | undefined;
|
82
|
-
kgRight: number | null | undefined;
|
83
|
-
kgTextWidth: string;
|
84
|
-
}>;
|
85
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as KgProgressA, type IKgProgressAProps } from './KgProgressA';
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgResizable.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 样式. */
|
5
|
-
kgClass: PropType<string>;
|
6
|
-
/** 是否禁用. */
|
7
|
-
kgDisabled: PropType<boolean>;
|
8
|
-
/** 当前高度. */
|
9
|
-
kgHeight: {
|
10
|
-
type: PropType<number>;
|
11
|
-
default: number;
|
12
|
-
};
|
13
|
-
/** 最大高度. */
|
14
|
-
kgMaxHeight: {
|
15
|
-
type: PropType<number>;
|
16
|
-
default: undefined;
|
17
|
-
};
|
18
|
-
/** 最小高度. */
|
19
|
-
kgMinHeight: {
|
20
|
-
type: PropType<number>;
|
21
|
-
default: number;
|
22
|
-
};
|
23
|
-
/** 拖拽条的位置. */
|
24
|
-
kgType: {
|
25
|
-
type: PropType<"left" | "right" | "top" | "bottom">;
|
26
|
-
default: string;
|
27
|
-
};
|
28
|
-
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
29
|
-
};
|
30
|
-
export declare type IKgResizableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
31
|
-
declare const _default: import("vue").DefineComponent<{
|
32
|
-
/** 样式. */
|
33
|
-
kgClass: PropType<string>;
|
34
|
-
/** 是否禁用. */
|
35
|
-
kgDisabled: PropType<boolean>;
|
36
|
-
/** 当前高度. */
|
37
|
-
kgHeight: {
|
38
|
-
type: PropType<number>;
|
39
|
-
default: number;
|
40
|
-
};
|
41
|
-
/** 最大高度. */
|
42
|
-
kgMaxHeight: {
|
43
|
-
type: PropType<number>;
|
44
|
-
default: undefined;
|
45
|
-
};
|
46
|
-
/** 最小高度. */
|
47
|
-
kgMinHeight: {
|
48
|
-
type: PropType<number>;
|
49
|
-
default: number;
|
50
|
-
};
|
51
|
-
/** 拖拽条的位置. */
|
52
|
-
kgType: {
|
53
|
-
type: PropType<"left" | "right" | "top" | "bottom">;
|
54
|
-
default: string;
|
55
|
-
};
|
56
|
-
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
57
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:kgHeight"[], "update:kgHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
58
|
-
/** 样式. */
|
59
|
-
kgClass: PropType<string>;
|
60
|
-
/** 是否禁用. */
|
61
|
-
kgDisabled: PropType<boolean>;
|
62
|
-
/** 当前高度. */
|
63
|
-
kgHeight: {
|
64
|
-
type: PropType<number>;
|
65
|
-
default: number;
|
66
|
-
};
|
67
|
-
/** 最大高度. */
|
68
|
-
kgMaxHeight: {
|
69
|
-
type: PropType<number>;
|
70
|
-
default: undefined;
|
71
|
-
};
|
72
|
-
/** 最小高度. */
|
73
|
-
kgMinHeight: {
|
74
|
-
type: PropType<number>;
|
75
|
-
default: number;
|
76
|
-
};
|
77
|
-
/** 拖拽条的位置. */
|
78
|
-
kgType: {
|
79
|
-
type: PropType<"left" | "right" | "top" | "bottom">;
|
80
|
-
default: string;
|
81
|
-
};
|
82
|
-
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
83
|
-
}>> & {
|
84
|
-
"onUpdate:kgHeight"?: ((...args: any[]) => any) | undefined;
|
85
|
-
}, {
|
86
|
-
kgMaxHeight: number;
|
87
|
-
kgMinHeight: number;
|
88
|
-
kgHeight: number;
|
89
|
-
kgType: "left" | "right" | "top" | "bottom";
|
90
|
-
}>;
|
91
|
-
export default _default;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Ref } from 'vue';
|
2
|
-
/**
|
3
|
-
* <p>监测父元素的尺寸, 动态计算最大高度以及最大宽度.</p>
|
4
|
-
*
|
5
|
-
* @param param
|
6
|
-
*/
|
7
|
-
export declare function _useObserveParentSize(param: {
|
8
|
-
kgResizableRef: Ref<HTMLDivElement | null>;
|
9
|
-
}): {
|
10
|
-
parentWidth: Ref<number>;
|
11
|
-
parentHeight: Ref<number>;
|
12
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as KgResizable, type IKgResizableProps } from './KgResizable';
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgSearch.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 是否禁用. */
|
5
|
-
kgDisabled: {
|
6
|
-
type: PropType<boolean>;
|
7
|
-
default: undefined;
|
8
|
-
};
|
9
|
-
};
|
10
|
-
export declare type IKgSearchProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
12
|
-
/** 是否禁用. */
|
13
|
-
kgDisabled: {
|
14
|
-
type: PropType<boolean>;
|
15
|
-
default: undefined;
|
16
|
-
};
|
17
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
-
/** 是否禁用. */
|
19
|
-
kgDisabled: {
|
20
|
-
type: PropType<boolean>;
|
21
|
-
default: undefined;
|
22
|
-
};
|
23
|
-
}>>, {
|
24
|
-
kgDisabled: boolean;
|
25
|
-
}>;
|
26
|
-
export default _default;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
2
|
-
import { Ref } from 'vue';
|
3
|
-
/** 头部高度. */
|
4
|
-
export declare const HEADER_HEIGHT = 42;
|
5
|
-
/**
|
6
|
-
* 下边距的高度.
|
7
|
-
*/
|
8
|
-
export declare const PADDING_BOTTOM = 6;
|
9
|
-
/**
|
10
|
-
* 下边框的高度.
|
11
|
-
*/
|
12
|
-
export declare const BORDER_BOTTOM_WIDTH = 1;
|
13
|
-
/**
|
14
|
-
* 一个查询字段的高度.
|
15
|
-
*/
|
16
|
-
export declare const FORM_ITEM_HEIGHT = 38;
|
17
|
-
export declare function _useCommon(): {
|
18
|
-
isVisible: import("vue").ComputedRef<boolean>;
|
19
|
-
};
|
20
|
-
export declare function _useHeight(param: {
|
21
|
-
formContainerRef: Ref<HTMLDivElement | null>;
|
22
|
-
}): {
|
23
|
-
defaultHeight: import("vue").ComputedRef<number>;
|
24
|
-
maxHeight: import("vue").ComputedRef<number>;
|
25
|
-
minHeight: import("vue").ComputedRef<number>;
|
26
|
-
};
|
27
|
-
export declare function _useFormModel(param: {
|
28
|
-
kgResizableRef: Ref<any | null>;
|
29
|
-
formRef: Ref<FormInstance | null>;
|
30
|
-
}): {
|
31
|
-
initFormModel: () => Promise<void>;
|
32
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
};
|
6
|
-
export declare type KgSearchConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
8
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
9
|
-
visible: PropType<boolean>;
|
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<{
|
11
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
12
|
-
visible: PropType<boolean>;
|
13
|
-
}>> & {
|
14
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
15
|
-
}, {}>;
|
16
|
-
export default _default;
|
@@ -1,67 +0,0 @@
|
|
1
|
-
import { ComputedRef } from 'vue';
|
2
|
-
import { VarProfileDetail } from '../../apis/WMS/models';
|
3
|
-
import { IRemoveEventListenerHandler } from '../../consts';
|
4
|
-
import { IKgTableRequestParameter } from '../KgTable';
|
5
|
-
import { IKgSearchReadyEventListener, IKgSearchResetEventListener, IKgSearchSearchEventListener, IKgSearchStore } from './index.store';
|
6
|
-
export declare type IUseKgSearch = {
|
7
|
-
/**
|
8
|
-
* 当前查询字段列表.
|
9
|
-
*/
|
10
|
-
currentVarProfileDetails: ComputedRef<Array<VarProfileDetail>>;
|
11
|
-
/**
|
12
|
-
* 当前查询字段列表(可见的).
|
13
|
-
*/
|
14
|
-
currentVarProfileDetailsForVisible: ComputedRef<Array<VarProfileDetail>>;
|
15
|
-
currentVarProfileMaster: ComputedRef<ReturnType<IKgSearchStore['getCurrentVarProfileMaster']>>;
|
16
|
-
/**
|
17
|
-
* 高级查询的操作符表单数据对象.
|
18
|
-
*/
|
19
|
-
dynamicQueryOperatorModel: ComputedRef<ReturnType<IKgSearchStore['getDynamicQueryOperatorModel']>>;
|
20
|
-
/**
|
21
|
-
* 界面标识.
|
22
|
-
*/
|
23
|
-
formID: string;
|
24
|
-
/**
|
25
|
-
* 表单数据对象.
|
26
|
-
*/
|
27
|
-
formModel: ComputedRef<ReturnType<IKgSearchStore['getFormModel']>>;
|
28
|
-
/** 是否就绪: 查询字段初始完成, 组件渲染完成. */
|
29
|
-
isReady: ComputedRef<ReturnType<IKgSearchStore['getIsReady']>>;
|
30
|
-
/**
|
31
|
-
* 表单数据对象.
|
32
|
-
*
|
33
|
-
* @deprecated 请使用 {@link formModel}
|
34
|
-
*/
|
35
|
-
model: ComputedRef<ReturnType<IKgSearchStore['getFormModel']>>;
|
36
|
-
/**
|
37
|
-
* 监听事件: 查询字段初始完成, 组件渲染完成, 查询表单对象已经有值.
|
38
|
-
*
|
39
|
-
* @param listener 事件监听函数.
|
40
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
41
|
-
*/
|
42
|
-
onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
43
|
-
/**
|
44
|
-
* 监听事件: reset, 点击重置按钮.
|
45
|
-
* @param listener 事件监听函数.
|
46
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
47
|
-
*/
|
48
|
-
onReset(listener: IKgSearchResetEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
49
|
-
/**
|
50
|
-
* 监听事件: search, 点击查询按钮, 并且表单验证通过.
|
51
|
-
* @param listener 事件监听函数.
|
52
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
53
|
-
*/
|
54
|
-
onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
55
|
-
/** 重置. */
|
56
|
-
reset(): void;
|
57
|
-
/** 查询. */
|
58
|
-
search(param?: boolean | IKgTableRequestParameter): void;
|
59
|
-
/**
|
60
|
-
* 状态数据.
|
61
|
-
*/
|
62
|
-
store: IKgSearchStore;
|
63
|
-
};
|
64
|
-
/**
|
65
|
-
* @param formID 界面标识.
|
66
|
-
*/
|
67
|
-
export declare function useKgSearch(formID?: string | null): IUseKgSearch;
|
@@ -1,147 +0,0 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarProfileMasterDTO } from '../../apis/WMS/models';
|
3
|
-
import { IKgEventListener } from '../../consts';
|
4
|
-
import { IKgTableRequestParameter } from '../KgTable';
|
5
|
-
/**
|
6
|
-
* 事件类型.
|
7
|
-
* 'ready': 查询字段初始完成, 组件渲染完成, 查询表单对象已经有值
|
8
|
-
* 'search': 点击查询按钮, 并且表单验证通过
|
9
|
-
* 'reset': 点击重置按钮
|
10
|
-
*/
|
11
|
-
export declare type IKgSearchEvent = 'ready' | 'search' | 'reset';
|
12
|
-
export declare type IKgSearchReadyEventListenerParameter = {};
|
13
|
-
export declare type IKgSearchReadyEventListener = ((param: IKgSearchReadyEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
14
|
-
export declare type IKgSearchSearchEventListenerParameter = {} & IKgTableRequestParameter;
|
15
|
-
export declare type IKgSearchSearchEventListener = ((param: IKgSearchSearchEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
16
|
-
export declare type IKgSearchResetEventListenerParameter = {};
|
17
|
-
export declare type IKgSearchResetEventListener = ((param: IKgSearchResetEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
18
|
-
export declare type IKgSearchEventListenerParameter = IKgSearchReadyEventListenerParameter | IKgSearchSearchEventListenerParameter | IKgSearchResetEventListenerParameter;
|
19
|
-
export declare type IKgSearchEventListener = IKgSearchReadyEventListener | IKgSearchSearchEventListener | IKgSearchResetEventListener;
|
20
|
-
/** 查询方法. */
|
21
|
-
export declare type IKgSearchSearchFn = (param?: IKgTableRequestParameter) => void;
|
22
|
-
/** 重置方法. */
|
23
|
-
export declare type IKgSearchResetFn = () => void;
|
24
|
-
export interface IUseKgSearchStoreState {
|
25
|
-
/**
|
26
|
-
* 高级查询操作符的表单数据对象.
|
27
|
-
*/
|
28
|
-
dynamicOperatorModelMap: Map<string, Record<string, string>>;
|
29
|
-
/** 表单数据对象. */
|
30
|
-
formModel: Map<string, Record<string, any>>;
|
31
|
-
/**
|
32
|
-
* 是否就绪: 查询字段初始完成, 组件渲染完成.
|
33
|
-
*/
|
34
|
-
isReadyMap: Map<string, boolean>;
|
35
|
-
/** 事件监听函数列表: ready. */
|
36
|
-
onReadyEventListenerMap: Map<string, Array<IKgSearchReadyEventListener>>;
|
37
|
-
/** 事件监听函数列表: reset. */
|
38
|
-
onResetEventListenerMap: Map<string, Array<IKgSearchResetEventListener>>;
|
39
|
-
/** 事件监听函数列表: search. */
|
40
|
-
onSearchEventListenerMap: Map<string, Array<IKgSearchSearchEventListener>>;
|
41
|
-
/** 重置方法, 可供外部调用, 用来触发重置操作. */
|
42
|
-
resetFnMap: Map<string, IKgSearchResetFn>;
|
43
|
-
/** 查询方法, 可供外部调用, 用来触发查询操作. */
|
44
|
-
searchFnMap: Map<string, IKgSearchSearchFn>;
|
45
|
-
}
|
46
|
-
export interface IUseKgSearchStoreGetters {
|
47
|
-
/**
|
48
|
-
* 获取当前的 VarProfileMaster.
|
49
|
-
*/
|
50
|
-
getCurrentVarProfileMaster(): (formID: string | null | undefined) => VarProfileMasterDTO | null;
|
51
|
-
/**
|
52
|
-
* @param formID 界面标识.
|
53
|
-
*/
|
54
|
-
getDynamicQueryOperatorModel(): (formID: string | null | undefined) => Record<string, string>;
|
55
|
-
/**
|
56
|
-
* @param formID 界面标识.
|
57
|
-
*/
|
58
|
-
getFormModel(): (formID: string | null | undefined) => Record<string, any> | null;
|
59
|
-
/**
|
60
|
-
* 是否就绪.
|
61
|
-
*
|
62
|
-
* @param formID 界面标识.
|
63
|
-
*/
|
64
|
-
getIsReady(): (formID: string | null | undefined) => boolean;
|
65
|
-
/**
|
66
|
-
* 获取重置方法.
|
67
|
-
*
|
68
|
-
* @param formID 界面标识.
|
69
|
-
*/
|
70
|
-
getResetFn(): (formID: string | null | undefined) => IKgSearchResetFn | null;
|
71
|
-
/**
|
72
|
-
* 获取查询方法.
|
73
|
-
*
|
74
|
-
* @param formID 界面标识.
|
75
|
-
*/
|
76
|
-
getSearchFn(): (formID: string | null | undefined) => IKgSearchSearchFn | null;
|
77
|
-
}
|
78
|
-
export interface IUseKgSearchStoreActions {
|
79
|
-
/**
|
80
|
-
* 注册事件监听.
|
81
|
-
* @param formID 界面标识.
|
82
|
-
* @param event 事件名称.
|
83
|
-
* @param listener 事件监听函数.
|
84
|
-
*/
|
85
|
-
addEventListener(formID: string, event: IKgSearchEvent, listener: any): void;
|
86
|
-
/**
|
87
|
-
* 清理数据.
|
88
|
-
* @param formID 页面标识.
|
89
|
-
*/
|
90
|
-
dispose(formID: string | null | undefined): void;
|
91
|
-
/**
|
92
|
-
* 触发事件.
|
93
|
-
* @param formID 界面标识.
|
94
|
-
* @param event 事件名称.
|
95
|
-
* @param param 事件参数.
|
96
|
-
*/
|
97
|
-
emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent, param: T): Promise<boolean>;
|
98
|
-
/**
|
99
|
-
* 修改查询字段的高级查询操作符的部分属性.
|
100
|
-
*
|
101
|
-
* @param formID 界面标识.
|
102
|
-
* @param properties 要修改的部分属性.
|
103
|
-
*/
|
104
|
-
patchDynamicQueryOperatorModel(formID: string | null | undefined, properties?: Record<string, any> | null): Promise<void>;
|
105
|
-
/**
|
106
|
-
* 修改查询字段的表单数据的部分属性.
|
107
|
-
*
|
108
|
-
* @param formID 界面标识.
|
109
|
-
* @param properties 要修改的部分属性.
|
110
|
-
*/
|
111
|
-
patchModel(formID: string | null | undefined, properties?: Record<string, any> | null): Promise<void>;
|
112
|
-
/**
|
113
|
-
* 退订事件监听.
|
114
|
-
* @param formID 界面标识.
|
115
|
-
* @param event 事件名称.
|
116
|
-
* @param listener 事件监听函数.
|
117
|
-
*/
|
118
|
-
removeEventListener(formID: string, event: IKgSearchEvent, listener?: any): void;
|
119
|
-
setDynamicQueryOperatorModel(formID: string | null | undefined, model?: Record<string, any> | null): void;
|
120
|
-
/**
|
121
|
-
* 设置表单数据.
|
122
|
-
* @param formID 界面标识.
|
123
|
-
* @param model 表单数据.
|
124
|
-
*/
|
125
|
-
setFormModel(formID: string | null | undefined, model?: Record<string, any> | null): void;
|
126
|
-
/**
|
127
|
-
* 设置是否就绪.
|
128
|
-
* @param formID 界面标识.
|
129
|
-
* @param ready 是否就绪.
|
130
|
-
*/
|
131
|
-
setIsReady(formID: string | null | undefined, ready?: boolean): void;
|
132
|
-
/**
|
133
|
-
* 设置重置方法.
|
134
|
-
* @param formID 界面标识.
|
135
|
-
* @param fn 重置方法.
|
136
|
-
*/
|
137
|
-
setResetFn(formID: string | null | undefined, fn?: IKgSearchResetFn | null): void;
|
138
|
-
/**
|
139
|
-
* 设置查询方法.
|
140
|
-
* @param formID 界面标识.
|
141
|
-
* @param fn 查询方法.
|
142
|
-
*/
|
143
|
-
setSearchFn(formID: string | null | undefined, fn?: IKgSearchSearchFn | null): void;
|
144
|
-
}
|
145
|
-
export declare type IUseKgSearchStore = StoreDefinition<'KgSearch', IUseKgSearchStoreState, IUseKgSearchStoreGetters, IUseKgSearchStoreActions>;
|
146
|
-
export declare type IKgSearchStore = ReturnType<IUseKgSearchStore>;
|
147
|
-
export declare const useKgSearchStore: IUseKgSearchStore;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|