@kengic/vue 0.26.6-beta.1 → 0.26.6-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +126 -118
- 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 -1012
- 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,194 +0,0 @@
|
|
1
|
-
import { RuleObject } from 'ant-design-vue/es/form';
|
2
|
-
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
3
|
-
import { StoreDefinition } from 'pinia';
|
4
|
-
import { Ref } from 'vue';
|
5
|
-
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
|
6
|
-
import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
|
7
|
-
import { KgAny } from '../../types';
|
8
|
-
import { IKgTableRow } from '../KgTable';
|
9
|
-
/**
|
10
|
-
* 事件类型.
|
11
|
-
* 'beforeOpen': 打开提交弹窗之前
|
12
|
-
* 'onOpen': 打开提交弹窗
|
13
|
-
* 'beforeOk': 点击确认按钮之后, 执行默认逻辑之前
|
14
|
-
* 'afterValidate': 点击确认按钮之后, 表单验证完成,
|
15
|
-
* 'beforeRequest': 发起接口请求之前. 表单验证完成, 参数解析完成,
|
16
|
-
* 'ok': 请求成功, 关闭提交弹窗之后
|
17
|
-
* 'onBeforeCancel': 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗,
|
18
|
-
* 'onCancel': 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗,
|
19
|
-
* 'error': 请求失败. 请求失败了, 或者请求返回了错误消息
|
20
|
-
* 'close': 关闭提交弹窗
|
21
|
-
*/
|
22
|
-
export declare type IKgSubmitEvent = 'beforeOpen' | 'onOpen' | 'beforeOk' | 'afterValidate' | 'beforeRequest' | 'ok' | 'onBeforeCancel' | 'onCancel' | 'error' | 'close';
|
23
|
-
export declare type IKgSubmitBeforeOpenEventListenerParameter = {
|
24
|
-
isCreating: boolean | null;
|
25
|
-
isUpdating: boolean | null;
|
26
|
-
isCopying: boolean | null;
|
27
|
-
isDeleting: boolean | null;
|
28
|
-
row: IKgTableRow | null;
|
29
|
-
};
|
30
|
-
export declare type IKgSubmitBeforeOpenEventListener = ((param: IKgSubmitBeforeOpenEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
31
|
-
export declare type IKgSubmitOnOpenEventListenerParameter = {
|
32
|
-
/** @deprecated 请直接使用 {@link IUseKgVar.isCreating} */
|
33
|
-
isCreating: boolean | null;
|
34
|
-
/** @deprecated 请直接使用 {@link IUseKgVar.isUpdating} */
|
35
|
-
isUpdating: boolean | null;
|
36
|
-
/** @deprecated 请直接使用 {@link IUseKgVar.isCopying} */
|
37
|
-
isCopying: boolean | null;
|
38
|
-
/** @deprecated 请直接使用 {@link IUseKgVar.isDeleting} */
|
39
|
-
isDeleting: boolean | null;
|
40
|
-
/** @deprecated 请直接使用 {@link IUseKgTable.selectedRow} */
|
41
|
-
row: IKgTableRow | null;
|
42
|
-
/** @deprecated 请直接使用 {@link IUseKgSearch.formModel} */
|
43
|
-
model: Ref<Record<string, any>>;
|
44
|
-
};
|
45
|
-
export declare type IKgSubmitOnOpenEventListener = ((param: IKgSubmitOnOpenEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
46
|
-
export declare type IKgSubmitBeforeOkEventListenerParameter = {
|
47
|
-
/**
|
48
|
-
* 表单数据对象.
|
49
|
-
* @deprecated 已弃用, 请使用 {@link IUseKgSubmit.formModel}
|
50
|
-
*/
|
51
|
-
model: Ref<Record<string, any>>;
|
52
|
-
};
|
53
|
-
export declare type IKgSubmitBeforeOkEventListener = ((param: IKgSubmitBeforeOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
54
|
-
export declare type IKgSubmitAfterValidateEventListenerParameter = {
|
55
|
-
isCopying: boolean | null;
|
56
|
-
isCreating: boolean | null;
|
57
|
-
isDeleting: boolean | null;
|
58
|
-
isUpdating: boolean | null;
|
59
|
-
model: Ref<Record<string, any>>;
|
60
|
-
row: IKgTableRow | null;
|
61
|
-
rows: Array<IKgTableRow> | null;
|
62
|
-
};
|
63
|
-
export declare type IKgSubmitAfterValidateEventListener = ((param: IKgSubmitAfterValidateEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
64
|
-
export declare type IKgSubmitBeforeRequestEventListenerParameter = {
|
65
|
-
/**
|
66
|
-
* <p>请求参数. 是一个对象或者列表. 是对「表单数据对象」解析之后得到的请求参数, 如果需要修改某些参数, 则直接修改该对象的属性即可.</p>
|
67
|
-
*/
|
68
|
-
data: Ref<KgAny>;
|
69
|
-
/** @deprecated */
|
70
|
-
isCopying: boolean | null;
|
71
|
-
/** @deprecated */
|
72
|
-
isCreating: boolean | null;
|
73
|
-
/** @deprecated */
|
74
|
-
isDeleting: boolean | null;
|
75
|
-
/** @deprecated */
|
76
|
-
isUpdating: boolean | null;
|
77
|
-
/** @deprecated */
|
78
|
-
model: Ref<Record<string, any>>;
|
79
|
-
/**
|
80
|
-
* 请求参数.
|
81
|
-
*/
|
82
|
-
params: Ref<Record<string, any>>;
|
83
|
-
/** @deprecated */
|
84
|
-
row: IKgTableRow | null;
|
85
|
-
/** @deprecated */
|
86
|
-
rows: Array<IKgTableRow> | null;
|
87
|
-
};
|
88
|
-
export declare type IKgSubmitBeforeRequestEventListener = ((param: IKgSubmitBeforeRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
89
|
-
export declare type IKgSubmitOkEventListenerParameter = {
|
90
|
-
isCreating: boolean | null;
|
91
|
-
isUpdating: boolean | null;
|
92
|
-
isCopying: boolean | null;
|
93
|
-
isDeleting: boolean | null;
|
94
|
-
row: IKgTableRow | null;
|
95
|
-
model: Ref<Record<string, any>>;
|
96
|
-
/** 接口返回结果. */
|
97
|
-
result: any | null;
|
98
|
-
};
|
99
|
-
export declare type IKgSubmitOkEventListener = ((param: IKgSubmitOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
100
|
-
export declare type IKgSubmitOnBeforeCancelEventListenerParameter = {};
|
101
|
-
export declare type IKgSubmitOnBeforeCancelEventListener = ((param: IKgSubmitOnBeforeCancelEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
102
|
-
export declare type IKgSubmitOnCancelEventListenerParameter = {};
|
103
|
-
export declare type IKgSubmitOnCancelEventListener = ((param: IKgSubmitOnCancelEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
104
|
-
export declare type IKgSubmitErrorEventListenerParameter = {};
|
105
|
-
export declare type IKgSubmitErrorEventListener = ((param: IKgSubmitErrorEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
106
|
-
export declare type IKgSubmitCloseEventListenerParameter = {} | null | undefined;
|
107
|
-
export declare type IKgSubmitCloseEventListener = ((param: IKgSubmitCloseEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
108
|
-
export declare type IKgSubmitEventListenerParameter = IKgSubmitBeforeOpenEventListenerParameter | IKgSubmitOnOpenEventListenerParameter | IKgSubmitBeforeOkEventListenerParameter | IKgSubmitAfterValidateEventListenerParameter | IKgSubmitBeforeRequestEventListenerParameter | IKgSubmitOkEventListenerParameter | IKgSubmitOnBeforeCancelEventListenerParameter | IKgSubmitOnCancelEventListenerParameter | IKgSubmitErrorEventListenerParameter | IKgSubmitCloseEventListenerParameter;
|
109
|
-
export declare type IKgSubmitEventListener = IKgSubmitBeforeOpenEventListener | IKgSubmitOnOpenEventListener | IKgSubmitBeforeOkEventListener | IKgSubmitAfterValidateEventListener | IKgSubmitBeforeRequestEventListener | IKgSubmitOkEventListener | IKgSubmitOnBeforeCancelEventListener | IKgSubmitOnCancelEventListener | IKgSubmitErrorEventListener | IKgSubmitCloseEventListener;
|
110
|
-
export interface IUseKgSubmitStoreState {
|
111
|
-
afterValidateEventListenerMap: Map<string, Array<IKgSubmitAfterValidateEventListener>>;
|
112
|
-
beforeOkEventListenerMap: Map<string, Array<IKgSubmitBeforeOkEventListener>>;
|
113
|
-
beforeOpenEventListenerMap: Map<string, Array<IKgSubmitBeforeOpenEventListener>>;
|
114
|
-
beforeRequestEventListenerMap: Map<string, Array<IKgSubmitBeforeRequestEventListener>>;
|
115
|
-
closeEventListenerMap: Map<string, Array<IKgSubmitCloseEventListener>>;
|
116
|
-
errorEventListenerMap: Map<string, Array<IKgSubmitErrorEventListener>>;
|
117
|
-
/** 表单数据对象. */
|
118
|
-
formModelMap: Map<string, Record<string, any>>;
|
119
|
-
/** 表单对象. */
|
120
|
-
formRefMap: Map<string, Ref<FormInstance | null>>;
|
121
|
-
/**
|
122
|
-
* <p>自定义的表单验证规则.</p>
|
123
|
-
* <p>在 beforeOk 事件中会将此对象传给调用者, 调用者可以修改此对象, 从而添加自定义的表单验证规则.</p>
|
124
|
-
*/
|
125
|
-
formRulesMap: Map<string, Ref<Record<string, Array<RuleObject>>>>;
|
126
|
-
isLoadingMap: Map<string, boolean>;
|
127
|
-
okEventListenerMap: Map<string, Array<IKgSubmitOkEventListener>>;
|
128
|
-
onBeforeCancelEventListenerMap: Map<string, Array<IKgSubmitOnBeforeCancelEventListener>>;
|
129
|
-
onCancelEventListenerMap: Map<string, Array<IKgSubmitOnCancelEventListener>>;
|
130
|
-
openEventListenerMap: Map<string, Array<IKgSubmitOnOpenEventListener>>;
|
131
|
-
}
|
132
|
-
export interface IUseKgSubmitStoreGetters {
|
133
|
-
getFormModel(): (formID?: string | null) => Record<string, any> | null;
|
134
|
-
getFormRef(): (formID?: string | null) => Ref<FormInstance | null>;
|
135
|
-
getFormRules(): (formID?: string | null) => Ref<Record<string, Array<RuleObject>>>;
|
136
|
-
getVarSubmitConfig(): (formID: string | null | undefined, param?: {
|
137
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
138
|
-
buttonVarName?: string | null;
|
139
|
-
}) => VarSubmitConfig | null;
|
140
|
-
getVarSubmitConfigs(): (formID: string | null | undefined) => Array<VarSubmitConfig>;
|
141
|
-
getVarSubmitDetailByVarProfileDetail(): (formID: string | null | undefined, param?: {
|
142
|
-
varProfileDetail: VarProfileDetail | null;
|
143
|
-
}) => VarSubmitDetail | null;
|
144
|
-
getVarSubmitDetails(): (formID: string | null | undefined, param?: {
|
145
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
146
|
-
buttonVarName?: string | null;
|
147
|
-
isKey?: 0 | 1 | null;
|
148
|
-
isVisible?: 0 | 1 | null;
|
149
|
-
searchProfileVarName?: string | null;
|
150
|
-
varName?: string | null;
|
151
|
-
} | null) => Array<VarSubmitDetail>;
|
152
|
-
/** 是否处于加载状态. */
|
153
|
-
isLoading(): (formID?: string | null) => boolean;
|
154
|
-
}
|
155
|
-
export interface IUseKgSubmitStoreActions {
|
156
|
-
/**
|
157
|
-
* 注册事件监听.
|
158
|
-
* @param formID 界面标识.
|
159
|
-
* @param event 事件名称.
|
160
|
-
* @param listener 事件监听函数.
|
161
|
-
*/
|
162
|
-
addEventListener(formID: string, event: IKgSubmitEvent, listener: any): void;
|
163
|
-
/**
|
164
|
-
* 添加一个「提交表单字段」.
|
165
|
-
*
|
166
|
-
* @param formID 页面标识.
|
167
|
-
* @param varSubmitDetail 要添加的「提交表单字段」.
|
168
|
-
*/
|
169
|
-
createVarSubmitDetail(formID: string | null | undefined, varSubmitDetail: VarSubmitDetail): void;
|
170
|
-
/**
|
171
|
-
* 清理数据.
|
172
|
-
* @param formID 页面标识.
|
173
|
-
*/
|
174
|
-
dispose(formID?: string | null): void;
|
175
|
-
emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent, param: T): Promise<boolean>;
|
176
|
-
patchVarSubmitDetail(formID: string | null | undefined, param: {
|
177
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
178
|
-
buttonVarName?: string | null;
|
179
|
-
properties: VarSubmitDetail;
|
180
|
-
varName: string | null | undefined;
|
181
|
-
}): Promise<void>;
|
182
|
-
/**
|
183
|
-
* 退订事件监听.
|
184
|
-
* @param formID 界面标识.
|
185
|
-
* @param event 事件名称.
|
186
|
-
* @param listener 事件监听函数.
|
187
|
-
*/
|
188
|
-
removeEventListener(formID: string, event: IKgSubmitEvent, listener?: any): void;
|
189
|
-
setFormModel(formID?: string | null, model?: Record<string, any> | null): void;
|
190
|
-
setIsLoading(formID: string, value: boolean): void;
|
191
|
-
}
|
192
|
-
export declare type IUseKgSubmitStore = StoreDefinition<'KgSubmit', IUseKgSubmitStoreState, IUseKgSubmitStoreGetters, IUseKgSubmitStoreActions>;
|
193
|
-
export declare type IKgSubmitStore = ReturnType<IUseKgSubmitStore>;
|
194
|
-
export declare const useKgSubmitStore: IUseKgSubmitStore;
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../consts';
|
2
|
-
/**
|
3
|
-
* 表单的左边距.
|
4
|
-
*/
|
5
|
-
export declare const FORM_PADDING_LEFT = 6;
|
6
|
-
/**
|
7
|
-
* 表单的右边距.
|
8
|
-
*/
|
9
|
-
export declare const FOMR_PADDING_RIGHT = 6;
|
10
|
-
/**
|
11
|
-
* 表单控件宽度.
|
12
|
-
*/
|
13
|
-
export declare const FOMR_ITEM_WIDTH = 400;
|
14
|
-
/**
|
15
|
-
* 表单控件间隔距离.
|
16
|
-
*/
|
17
|
-
export declare const FOMR_ITEM_MARGIN = 12;
|
18
|
-
/**
|
19
|
-
* 除去表单之外, 其他部分所有的宽度之和.
|
20
|
-
*/
|
21
|
-
export declare const KG_SUBMIT_FRAME_WIDTH: number;
|
22
|
-
/**
|
23
|
-
* 获取弹窗宽度.
|
24
|
-
*
|
25
|
-
* @param param.span 列数.
|
26
|
-
*/
|
27
|
-
export declare function getKgModalWidth(param: {
|
28
|
-
span: number;
|
29
|
-
}): number;
|
30
|
-
/**
|
31
|
-
* 获取栅格布局行的宽度.
|
32
|
-
*
|
33
|
-
* @param param.span 列数.
|
34
|
-
*/
|
35
|
-
export declare function getRowWidth(param: {
|
36
|
-
span: number;
|
37
|
-
}): number;
|
38
|
-
/**
|
39
|
-
* 默认最小宽度, 刚好放下一个表单控件.
|
40
|
-
*/
|
41
|
-
export declare const SUBMIT_DEFAULT_MIN_WIDTH: number;
|
42
|
-
/**
|
43
|
-
* 默认宽度.
|
44
|
-
*/
|
45
|
-
export declare const SUBMIT_DEFAULT_WIDTH: number;
|
46
|
-
/**
|
47
|
-
* 默认布局方式.
|
48
|
-
*/
|
49
|
-
export declare const SUBMIT_DEFAULT_LAYOUT = KG__VAR_SUBMIT_CONFIG__LAYOUT.VERTICAL;
|
50
|
-
/**
|
51
|
-
* 单位为 SPAN 时, 文本的默认宽度.
|
52
|
-
*/
|
53
|
-
export declare const SUBMIT_DEFAULT_LABEL_COL_FOR_SPAN = 4;
|
54
|
-
/**
|
55
|
-
* 单位为 PX 时, 文本的默认宽度.
|
56
|
-
*/
|
57
|
-
export declare const SUBMIT_DEFAULT_LABEL_COL_FOR_PX = 100;
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { RowClassName } from 'ant-design-vue/es/vc-table/interface';
|
2
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
3
|
-
import './KgTable.less';
|
4
|
-
export declare const getProps: () => {
|
5
|
-
/** 是否禁用某行的勾选框. */
|
6
|
-
kgCheckboxDisabled: PropType<(row: any) => boolean>;
|
7
|
-
/** 是否禁用表格. */
|
8
|
-
kgDisabled: {
|
9
|
-
type: PropType<boolean>;
|
10
|
-
default: undefined;
|
11
|
-
};
|
12
|
-
/** 设置行的样式类名. */
|
13
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
14
|
-
};
|
15
|
-
export declare type IKgTableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
16
|
-
declare const _default: import("vue").DefineComponent<{
|
17
|
-
/** 是否禁用某行的勾选框. */
|
18
|
-
kgCheckboxDisabled: PropType<(row: any) => boolean>;
|
19
|
-
/** 是否禁用表格. */
|
20
|
-
kgDisabled: {
|
21
|
-
type: PropType<boolean>;
|
22
|
-
default: undefined;
|
23
|
-
};
|
24
|
-
/** 设置行的样式类名. */
|
25
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
26
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
27
|
-
/** 是否禁用某行的勾选框. */
|
28
|
-
kgCheckboxDisabled: PropType<(row: any) => boolean>;
|
29
|
-
/** 是否禁用表格. */
|
30
|
-
kgDisabled: {
|
31
|
-
type: PropType<boolean>;
|
32
|
-
default: undefined;
|
33
|
-
};
|
34
|
-
/** 设置行的样式类名. */
|
35
|
-
kgRowClassName: PropType<RowClassName<any>>;
|
36
|
-
}>>, {
|
37
|
-
kgDisabled: boolean;
|
38
|
-
}>;
|
39
|
-
export default _default;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
-
import { SorterResult } from 'ant-design-vue/es/table/interface';
|
3
|
-
import { ComputedRef, Ref, UnwrapRef } from 'vue';
|
4
|
-
import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './index.vm';
|
5
|
-
import { IKgTableProps } from './KgTable';
|
6
|
-
export declare function _useRenderBodyCell(): {
|
7
|
-
renderBodyCell: (args: any, context?: KG_TABLE_CELL_CONTEXT) => any;
|
8
|
-
};
|
9
|
-
export declare type IUseColumns = {
|
10
|
-
/** 表格的列. */
|
11
|
-
columns: ComputedRef<ColumnsType<IKgTableRow>>;
|
12
|
-
/** 当前过滤状态(哪些列有过滤, 哪些列没过滤). */
|
13
|
-
filterInfo: Ref<Record<string, any>>;
|
14
|
-
/** 当前排序状态. */
|
15
|
-
sorterInfo: Ref<SorterResult<any>>;
|
16
|
-
/** 横向滚动宽度. */
|
17
|
-
scrollX: ComputedRef<string>;
|
18
|
-
};
|
19
|
-
export declare function _useColumns(props: IKgTableProps): IUseColumns;
|
20
|
-
export declare function _useLoading(): {
|
21
|
-
/** 是否显示加载状态. */
|
22
|
-
isLoading: ComputedRef<boolean>;
|
23
|
-
};
|
24
|
-
export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): {};
|
25
|
-
export declare type ICacheScrollState = {};
|
26
|
-
export declare function _useCacheScrollState(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): ICacheScrollState;
|
27
|
-
export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): {};
|
28
|
-
export declare function _useDatas(): {
|
29
|
-
transformDatas: (response: Ref<any>) => {
|
30
|
-
datas: Ref<Array<IKgTableRow>>;
|
31
|
-
total: Ref<number>;
|
32
|
-
};
|
33
|
-
requestDescriptions: () => Promise<void>;
|
34
|
-
};
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from '../index.vm';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 行对象. */
|
5
|
-
kgRow: PropType<IKgTableRow>;
|
6
|
-
/** 列数据. */
|
7
|
-
kgValue: PropType<any>;
|
8
|
-
/** 变量名称. */
|
9
|
-
kgVarName: PropType<string | null>;
|
10
|
-
/**
|
11
|
-
* 所处环境.
|
12
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
13
|
-
*/
|
14
|
-
kgContext: {
|
15
|
-
type: PropType<string>;
|
16
|
-
default: KG_TABLE_CELL_CONTEXT;
|
17
|
-
};
|
18
|
-
/** 点击链接, 打开更新弹窗. */
|
19
|
-
onKgUpdateLinkClick: PropType<() => void>;
|
20
|
-
};
|
21
|
-
declare const _default: import("vue").DefineComponent<{
|
22
|
-
/** 行对象. */
|
23
|
-
kgRow: PropType<IKgTableRow>;
|
24
|
-
/** 列数据. */
|
25
|
-
kgValue: PropType<any>;
|
26
|
-
/** 变量名称. */
|
27
|
-
kgVarName: PropType<string | null>;
|
28
|
-
/**
|
29
|
-
* 所处环境.
|
30
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
31
|
-
*/
|
32
|
-
kgContext: {
|
33
|
-
type: PropType<string>;
|
34
|
-
default: KG_TABLE_CELL_CONTEXT;
|
35
|
-
};
|
36
|
-
/** 点击链接, 打开更新弹窗. */
|
37
|
-
onKgUpdateLinkClick: PropType<() => void>;
|
38
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgUpdateLinkClick"[], "kgUpdateLinkClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
39
|
-
/** 行对象. */
|
40
|
-
kgRow: PropType<IKgTableRow>;
|
41
|
-
/** 列数据. */
|
42
|
-
kgValue: PropType<any>;
|
43
|
-
/** 变量名称. */
|
44
|
-
kgVarName: PropType<string | null>;
|
45
|
-
/**
|
46
|
-
* 所处环境.
|
47
|
-
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
48
|
-
*/
|
49
|
-
kgContext: {
|
50
|
-
type: PropType<string>;
|
51
|
-
default: KG_TABLE_CELL_CONTEXT;
|
52
|
-
};
|
53
|
-
/** 点击链接, 打开更新弹窗. */
|
54
|
-
onKgUpdateLinkClick: PropType<() => void>;
|
55
|
-
}>> & {
|
56
|
-
onKgUpdateLinkClick?: ((...args: any[]) => any) | undefined;
|
57
|
-
}, {
|
58
|
-
kgContext: string;
|
59
|
-
}>;
|
60
|
-
export default _default;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { ColumnType } from 'ant-design-vue/es/table';
|
2
|
-
import { PropType } from 'vue';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* 列的数据.
|
6
|
-
*/
|
7
|
-
column: {
|
8
|
-
type: PropType<ColumnType<any>>;
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* 表格是否禁用.
|
12
|
-
* @default undefined
|
13
|
-
*/
|
14
|
-
kgDisabled: {
|
15
|
-
type: PropType<boolean>;
|
16
|
-
default: undefined;
|
17
|
-
};
|
18
|
-
};
|
19
|
-
declare const _default: import("vue").DefineComponent<{
|
20
|
-
/**
|
21
|
-
* 列的数据.
|
22
|
-
*/
|
23
|
-
column: {
|
24
|
-
type: PropType<ColumnType<any>>;
|
25
|
-
};
|
26
|
-
/**
|
27
|
-
* 表格是否禁用.
|
28
|
-
* @default undefined
|
29
|
-
*/
|
30
|
-
kgDisabled: {
|
31
|
-
type: PropType<boolean>;
|
32
|
-
default: undefined;
|
33
|
-
};
|
34
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
35
|
-
/**
|
36
|
-
* 列的数据.
|
37
|
-
*/
|
38
|
-
column: {
|
39
|
-
type: PropType<ColumnType<any>>;
|
40
|
-
};
|
41
|
-
/**
|
42
|
-
* 表格是否禁用.
|
43
|
-
* @default undefined
|
44
|
-
*/
|
45
|
-
kgDisabled: {
|
46
|
-
type: PropType<boolean>;
|
47
|
-
default: undefined;
|
48
|
-
};
|
49
|
-
}>> & {}, {
|
50
|
-
kgDisabled: boolean;
|
51
|
-
}>;
|
52
|
-
export default _default;
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
/**
|
4
|
-
* 行数.
|
5
|
-
* @default 0
|
6
|
-
*/
|
7
|
-
kgTotal: {
|
8
|
-
type: PropType<number>;
|
9
|
-
default: number;
|
10
|
-
};
|
11
|
-
/** 是否显示'清空'按钮. */
|
12
|
-
kgShowClearCheck: PropType<boolean>;
|
13
|
-
/** 是否显示'清空表格'按钮. */
|
14
|
-
kgShowClearTable: PropType<boolean>;
|
15
|
-
/** 是否禁用. */
|
16
|
-
kgDisabled: PropType<boolean>;
|
17
|
-
/** 是否显示'定位'按钮. */
|
18
|
-
kgShowLocate: PropType<boolean>;
|
19
|
-
};
|
20
|
-
declare const _default: import("vue").DefineComponent<{
|
21
|
-
/**
|
22
|
-
* 行数.
|
23
|
-
* @default 0
|
24
|
-
*/
|
25
|
-
kgTotal: {
|
26
|
-
type: PropType<number>;
|
27
|
-
default: number;
|
28
|
-
};
|
29
|
-
/** 是否显示'清空'按钮. */
|
30
|
-
kgShowClearCheck: PropType<boolean>;
|
31
|
-
/** 是否显示'清空表格'按钮. */
|
32
|
-
kgShowClearTable: PropType<boolean>;
|
33
|
-
/** 是否禁用. */
|
34
|
-
kgDisabled: PropType<boolean>;
|
35
|
-
/** 是否显示'定位'按钮. */
|
36
|
-
kgShowLocate: PropType<boolean>;
|
37
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
38
|
-
/**
|
39
|
-
* 行数.
|
40
|
-
* @default 0
|
41
|
-
*/
|
42
|
-
kgTotal: {
|
43
|
-
type: PropType<number>;
|
44
|
-
default: number;
|
45
|
-
};
|
46
|
-
/** 是否显示'清空'按钮. */
|
47
|
-
kgShowClearCheck: PropType<boolean>;
|
48
|
-
/** 是否显示'清空表格'按钮. */
|
49
|
-
kgShowClearTable: PropType<boolean>;
|
50
|
-
/** 是否禁用. */
|
51
|
-
kgDisabled: PropType<boolean>;
|
52
|
-
/** 是否显示'定位'按钮. */
|
53
|
-
kgShowLocate: PropType<boolean>;
|
54
|
-
}>>, {
|
55
|
-
kgTotal: number;
|
56
|
-
}>;
|
57
|
-
export default _default;
|
package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
export declare const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save";
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
3
|
-
onKgClose?: ((...args: any[]) => any) | undefined;
|
4
|
-
}, {}>;
|
5
|
-
export default _default;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
kgDisabled: {
|
4
|
-
type: PropType<boolean>;
|
5
|
-
default: undefined;
|
6
|
-
};
|
7
|
-
};
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
9
|
-
kgDisabled: {
|
10
|
-
type: PropType<boolean>;
|
11
|
-
default: undefined;
|
12
|
-
};
|
13
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
14
|
-
kgDisabled: {
|
15
|
-
type: PropType<boolean>;
|
16
|
-
default: undefined;
|
17
|
-
};
|
18
|
-
}>>, {
|
19
|
-
kgDisabled: boolean;
|
20
|
-
}>;
|
21
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { Ref } from 'vue';
|
2
|
-
import { VarGridDetail } from '../../../../apis/WMS/models';
|
3
|
-
export declare type IUseServices = {
|
4
|
-
/**
|
5
|
-
* 用于表格的列下拉列表, 根据关键字搜索某列, 如果匹配就显示该列, 否则隐藏该列.
|
6
|
-
* 匹配时忽略大小写.
|
7
|
-
* @param varGridDetail
|
8
|
-
* @param key 关键字.
|
9
|
-
*/
|
10
|
-
filterVarGridDetailByKey: (varGridDetail: VarGridDetail, key?: string | null) => boolean;
|
11
|
-
};
|
12
|
-
export declare function _useServices(): IUseServices;
|
13
|
-
/** 监控表格列的下拉列表的尺寸变化, 从而调整位置, 防止遮盖. */
|
14
|
-
export declare function _useObserveMenuItemColumns(isMenuItemColumnsVisible: Ref<boolean>): void;
|
15
|
-
/**
|
16
|
-
*
|
17
|
-
* @param param.columnsRef 宿主页面标识.
|
18
|
-
* @param param.varGridDetails 字段列表.
|
19
|
-
*/
|
20
|
-
export declare function _useDragToSortRow(param: {
|
21
|
-
columnsRef: Ref<HTMLUListElement | null>;
|
22
|
-
}): {};
|
package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
visible: PropType<boolean>;
|
4
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
5
|
-
};
|
6
|
-
export declare type IKgTableSettingConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
8
|
-
visible: PropType<boolean>;
|
9
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
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
|
-
visible: PropType<boolean>;
|
12
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
13
|
-
}>> & {
|
14
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
15
|
-
}, {}>;
|
16
|
-
export default _default;
|