@kengic/vue 0.26.6-beta.2 → 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 +1 -1
- package/package.json +3 -2
- 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,47 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgStation.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* <p>是否隐藏.</p>
|
6
|
-
* <p>此组件需要在不同的地方使用,</p>
|
7
|
-
* <ul>
|
8
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
9
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
10
|
-
* </ul>
|
11
|
-
*
|
12
|
-
* @default undefined
|
13
|
-
*/
|
14
|
-
kgInvisible: PropType<boolean>;
|
15
|
-
onKgOk: PropType<() => void>;
|
16
|
-
};
|
17
|
-
export declare type KgStationProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
18
|
-
declare const _default: import("vue").DefineComponent<{
|
19
|
-
/**
|
20
|
-
* <p>是否隐藏.</p>
|
21
|
-
* <p>此组件需要在不同的地方使用,</p>
|
22
|
-
* <ul>
|
23
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
24
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
25
|
-
* </ul>
|
26
|
-
*
|
27
|
-
* @default undefined
|
28
|
-
*/
|
29
|
-
kgInvisible: PropType<boolean>;
|
30
|
-
onKgOk: PropType<() => void>;
|
31
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
32
|
-
/**
|
33
|
-
* <p>是否隐藏.</p>
|
34
|
-
* <p>此组件需要在不同的地方使用,</p>
|
35
|
-
* <ul>
|
36
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
37
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
38
|
-
* </ul>
|
39
|
-
*
|
40
|
-
* @default undefined
|
41
|
-
*/
|
42
|
-
kgInvisible: PropType<boolean>;
|
43
|
-
onKgOk: PropType<() => void>;
|
44
|
-
}>> & {
|
45
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
46
|
-
}, {}>;
|
47
|
-
export default _default;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { Pinia } from 'pinia';
|
2
|
-
import { ComputedRef } from 'vue';
|
3
|
-
import { WorkstationAreaDTO, WorkstationDTO } from '../../apis/WMS/models';
|
4
|
-
import { IKgStationStore } from './index.store';
|
5
|
-
export declare type IUseKgStation = {
|
6
|
-
/**
|
7
|
-
* 当前工作区.
|
8
|
-
*/
|
9
|
-
area: ComputedRef<WorkstationAreaDTO | null>;
|
10
|
-
/**
|
11
|
-
* 当前工作站.
|
12
|
-
*/
|
13
|
-
station: ComputedRef<WorkstationDTO | null>;
|
14
|
-
/**
|
15
|
-
* 所有工作站.
|
16
|
-
*/
|
17
|
-
stations: ComputedRef<IKgStationStore['getStations']>;
|
18
|
-
store: IKgStationStore;
|
19
|
-
/**
|
20
|
-
* 是否显示弹窗.
|
21
|
-
*/
|
22
|
-
visible: ComputedRef<IKgStationStore['getVisible']>;
|
23
|
-
};
|
24
|
-
/**
|
25
|
-
* 在某些地方调用时(比如在路由守卫中), pinia 尚未设置, 此时需要手动传入 pinia 实例.
|
26
|
-
*
|
27
|
-
* @param pinia
|
28
|
-
*/
|
29
|
-
export declare function useKgStation(pinia?: Pinia): IUseKgStation;
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
|
-
import { WorkstationDTO } from '../../apis/WMS/models';
|
3
|
-
export interface IUseKgStationStoreState {
|
4
|
-
/**
|
5
|
-
* 当前工作站.
|
6
|
-
*/
|
7
|
-
station: WorkstationDTO | null;
|
8
|
-
/**
|
9
|
-
* 所有工作站.
|
10
|
-
*/
|
11
|
-
stations: Array<WorkstationDTO> | undefined;
|
12
|
-
/**
|
13
|
-
* 是否显示弹窗.
|
14
|
-
*/
|
15
|
-
visible: boolean;
|
16
|
-
}
|
17
|
-
export interface IUseKgStationStoreGetters {
|
18
|
-
getStation: WorkstationDTO | null;
|
19
|
-
getStations: Array<WorkstationDTO> | undefined;
|
20
|
-
/**
|
21
|
-
* 是否显示弹窗.
|
22
|
-
*/
|
23
|
-
getVisible: boolean;
|
24
|
-
}
|
25
|
-
export interface IUseKgStationStoreActions {
|
26
|
-
/**
|
27
|
-
* 查询所有工作站.
|
28
|
-
*/
|
29
|
-
requestStations(): Promise<void>;
|
30
|
-
/**
|
31
|
-
* 设置当前工作站.
|
32
|
-
*
|
33
|
-
* @param station 当前工作站.
|
34
|
-
*/
|
35
|
-
setStation(station?: WorkstationDTO | null): void;
|
36
|
-
/**
|
37
|
-
* 设置是否显示弹窗.
|
38
|
-
*
|
39
|
-
* @param visible 是否显示.
|
40
|
-
*/
|
41
|
-
setVisible(visible: boolean): void;
|
42
|
-
}
|
43
|
-
export declare type IUseKgStationStore = StoreDefinition<'KgStation', IUseKgStationStoreState, IUseKgStationStoreGetters, IUseKgStationStoreActions>;
|
44
|
-
export declare type IKgStationStore = ReturnType<IUseKgStationStore>;
|
45
|
-
export declare const useKgStationStore: IUseKgStationStore;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgSubmit.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
6
|
-
*/
|
7
|
-
kgClass: PropType<string>;
|
8
|
-
};
|
9
|
-
export declare type KgSubmitProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
11
|
-
/**
|
12
|
-
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
13
|
-
*/
|
14
|
-
kgClass: PropType<string>;
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
16
|
-
/**
|
17
|
-
* 自定义的样式类名, 会附加到组件默认的样式类名后面.
|
18
|
-
*/
|
19
|
-
kgClass: PropType<string>;
|
20
|
-
}>>, {}>;
|
21
|
-
export default _default;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { Ref, UnwrapRef } from 'vue';
|
2
|
-
import { KgSubmitProps } from './KgSubmit';
|
3
|
-
export declare function _useFormModel(): {
|
4
|
-
model: Ref<Record<string, any>>;
|
5
|
-
};
|
6
|
-
export declare type IUseResizeObserver = {};
|
7
|
-
export declare function _useResizeObserver(kgFormRef: Ref<UnwrapRef<HTMLDivElement | null>>): IUseResizeObserver;
|
8
|
-
export declare function _useTitle(): {
|
9
|
-
/**
|
10
|
-
* 弹窗标题.
|
11
|
-
*/
|
12
|
-
title: import("vue").ComputedRef<string>;
|
13
|
-
};
|
14
|
-
export declare function _useClass(props: KgSubmitProps): {
|
15
|
-
/**
|
16
|
-
* 弹窗样式.
|
17
|
-
*/
|
18
|
-
getClass: import("vue").ComputedRef<string>;
|
19
|
-
/**
|
20
|
-
* 弹窗容器样式.
|
21
|
-
*/
|
22
|
-
getWrapClass: import("vue").ComputedRef<string>;
|
23
|
-
};
|
24
|
-
export declare function _useDefaultWidth(): {
|
25
|
-
/**
|
26
|
-
* 默认宽度.
|
27
|
-
*/
|
28
|
-
getDefaultWidth: import("vue").ComputedRef<number>;
|
29
|
-
};
|
@@ -1,295 +0,0 @@
|
|
1
|
-
import { FormInstance } from 'ant-design-vue';
|
2
|
-
import { ComputedRef, Ref } from 'vue';
|
3
|
-
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
|
4
|
-
import { IKgVarSubmitConfigProperties, IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../consts';
|
5
|
-
import { IKgSubmitAfterValidateEventListener, IKgSubmitBeforeOkEventListener, IKgSubmitBeforeOpenEventListener, IKgSubmitBeforeRequestEventListener, IKgSubmitCloseEventListener, IKgSubmitErrorEventListener, IKgSubmitOkEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnOpenEventListener, IKgSubmitStore } from './index.store';
|
6
|
-
export interface IUseKgSubmit {
|
7
|
-
/**
|
8
|
-
* <p>添加一个「提交表单字段」.</p>
|
9
|
-
* <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
|
10
|
-
*
|
11
|
-
* @param varSubmitDetail 要添加的「提交表单字段」.
|
12
|
-
*/
|
13
|
-
createVarSubmitDetail(varSubmitDetail: VarSubmitDetail): void;
|
14
|
-
/**
|
15
|
-
* <p>「当前按钮」的「提交表单配置」.</p>
|
16
|
-
*/
|
17
|
-
currentVarSubmitConfig: ComputedRef<VarSubmitConfig | null>;
|
18
|
-
/**
|
19
|
-
* <p>「当前按钮」的「提交表单配置」的显示方式.</p>
|
20
|
-
*/
|
21
|
-
currentVarSubmitConfig$DisplayType: ComputedRef<KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE>;
|
22
|
-
/**
|
23
|
-
* <p>「当前按钮」的「提交表单配置」的布局.</p>
|
24
|
-
*/
|
25
|
-
currentVarSubmitConfig$Layout: ComputedRef<KG__VAR_SUBMIT_CONFIG__LAYOUT>;
|
26
|
-
/**
|
27
|
-
* <p>「当前按钮」的「提交表单配置」的配置属性.</p>
|
28
|
-
*/
|
29
|
-
currentVarSubmitConfig$Props: ComputedRef<IKgVarSubmitConfigProperties>;
|
30
|
-
/**
|
31
|
-
* <p>「当前按钮」的「提交表单字段」的所属分组(可见的).</p>
|
32
|
-
*/
|
33
|
-
currentVarSubmitDetailSectionsForVisible: ComputedRef<string[]>;
|
34
|
-
/**
|
35
|
-
* <p>「当前按钮」的「提交表单字段」.</p>
|
36
|
-
*/
|
37
|
-
currentVarSubmitDetails: ComputedRef<VarSubmitDetail[]>;
|
38
|
-
/**
|
39
|
-
* <p>「当前按钮」的「提交表单字段」(关键的).</p>
|
40
|
-
*/
|
41
|
-
currentVarSubmitDetailsForKey: ComputedRef<VarSubmitDetail[]>;
|
42
|
-
/**
|
43
|
-
* <p>「当前按钮」的「提交表单字段」(关键的, 可见的).</p>
|
44
|
-
*/
|
45
|
-
currentVarSubmitDetailsForKeyAndVisible: ComputedRef<VarSubmitDetail[]>;
|
46
|
-
/**
|
47
|
-
* <p>「当前按钮」的「提交表单字段」(非关键的).</p>
|
48
|
-
*/
|
49
|
-
currentVarSubmitDetailsForNotKey: ComputedRef<VarSubmitDetail[]>;
|
50
|
-
/**
|
51
|
-
* <p>「当前按钮」的「提交表单字段」(非关键的, 可见的).</p>
|
52
|
-
*/
|
53
|
-
currentVarSubmitDetailsForNotKeyAndVisible: ComputedRef<VarSubmitDetail[]>;
|
54
|
-
/**
|
55
|
-
* <p>「当前按钮」的「提交表单字段」(可见的).</p>
|
56
|
-
*/
|
57
|
-
currentVarSubmitDetailsForVisible: ComputedRef<VarSubmitDetail[]>;
|
58
|
-
/**
|
59
|
-
* 界面标识.
|
60
|
-
*/
|
61
|
-
formID: string;
|
62
|
-
/**
|
63
|
-
* 表单数据对象.
|
64
|
-
*/
|
65
|
-
formModel: ComputedRef<Record<string, any>>;
|
66
|
-
/**
|
67
|
-
* 表单组件.
|
68
|
-
*/
|
69
|
-
formRef: Ref<FormInstance | null>;
|
70
|
-
/**
|
71
|
-
* 自定义的表单验证规则.
|
72
|
-
*/
|
73
|
-
formRules: ReturnType<IKgSubmitStore['getFormRules']>;
|
74
|
-
/**
|
75
|
-
* <p>获取「提交表单配置」, 根据所传参数进行过滤.</p>
|
76
|
-
*
|
77
|
-
* <ul>
|
78
|
-
* <li>
|
79
|
-
* <p>如果参数 {@link param} 不传或者 {@link param} === undefined, 表示获取「当前按钮」的「提交表单配置」.</p>
|
80
|
-
* </li>
|
81
|
-
* <li>
|
82
|
-
* <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarSubmitConfig.button_var_name} 是否匹配进行过滤.</p>
|
83
|
-
* </li>
|
84
|
-
* <li>
|
85
|
-
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} !== <code>undefined</code>, 则先根据参数 {@link param.buttonType} 获取按钮, 然后根据 {@link VarButton.var_nam} 和 {@link VarSubmitConfig.button_var_name} 是否匹配进行过滤.</p>
|
86
|
-
* </li>
|
87
|
-
* </ul>
|
88
|
-
*
|
89
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
|
90
|
-
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
|
91
|
-
*/
|
92
|
-
getVarSubmitConfig(param?: {
|
93
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
94
|
-
buttonVarName?: string | null;
|
95
|
-
}): VarSubmitConfig | null;
|
96
|
-
/**
|
97
|
-
* 根据「查询条件视图明细」获取「提交表单字段」.
|
98
|
-
*
|
99
|
-
* @param param.varProfileDetail 查询条件视图明细.
|
100
|
-
*/
|
101
|
-
getVarSubmitDetailByVarProfileDetail(param?: {
|
102
|
-
varProfileDetail: VarProfileDetail | null;
|
103
|
-
}): VarSubmitDetail | null;
|
104
|
-
/**
|
105
|
-
* <p>获取提交表单字段, 根据所传参数进行过滤.</p>
|
106
|
-
*
|
107
|
-
* <ul>
|
108
|
-
* <li>
|
109
|
-
* <p>如果参数 {@link param} === null || {@link param} === undefined, 表示获取所有的提交表单字段.</p>
|
110
|
-
* </li>
|
111
|
-
* <li>
|
112
|
-
* <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarSubmitDetail.button_var_name} 是否匹配进行过滤.</p>
|
113
|
-
* </li>
|
114
|
-
* <li>
|
115
|
-
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} !== <code>undefined</code>, 则先根据参数 {@link param.buttonType} 获取按钮, 然后根据 {@link VarButton.var_nam} 和 {@link VarSubmitDetail.button_var_name} 是否匹配进行过滤.</p>
|
116
|
-
* </li>
|
117
|
-
* <li>
|
118
|
-
* <p>如果参数 {@link param.varName} !== <code>undefined</code> , 则根据 {@link param.varName} 和 {@link VarSubmitDetail.var_nam} 是否匹配进行过滤.</p>
|
119
|
-
* </li>
|
120
|
-
* <li>
|
121
|
-
* <p>如果参数 {@link param.searchProfileVarName} !== <code>undefined</code> , 则根据 {@link param.searchProfileVarName} 和 {@link VarSubmitDetail.prf_var_nam} 是否匹配进行过滤.</p>
|
122
|
-
* </li>
|
123
|
-
* <li>
|
124
|
-
* <p>如果参数 {@link param.isKey} !== <code>undefined</code> , 则根据 {@link param.isKey} 和 {@link VarSubmitDetail.key_flg} 是否匹配进行过滤.</p>
|
125
|
-
* </li>
|
126
|
-
* <li>
|
127
|
-
* <p>如果参数 {@link param.isVisible} !== <code>undefined</code> , 则根据 {@link param.isVisible} 和 {@link VarSubmitDetail.visible_flag} 是否匹配进行过滤.</p>
|
128
|
-
* </li>
|
129
|
-
* </ul>
|
130
|
-
*
|
131
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
|
132
|
-
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
|
133
|
-
* @param param.isKey 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.key_flg} 属性.
|
134
|
-
* @param param.isVisible 提交表单字段是否可见, 对应的是 {@link VarSubmitDetail.visible_flag} 属性.
|
135
|
-
* @param param.searchProfileVarName 提交表单字段的所属查询条件视图的变量名称, 对应的是 {@link VarSubmitDetail.prf_var_nam} 属性.
|
136
|
-
* @param param.varName 提交表单字段的变量名, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
137
|
-
*/
|
138
|
-
getVarSubmitDetails(param?: {
|
139
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
140
|
-
buttonVarName?: string | null;
|
141
|
-
isKey?: 0 | 1 | null;
|
142
|
-
isVisible?: 0 | 1 | null;
|
143
|
-
searchProfileVarName?: string | null;
|
144
|
-
varName?: string | null;
|
145
|
-
} | null): Array<VarSubmitDetail>;
|
146
|
-
/**
|
147
|
-
* 表单数据对象.
|
148
|
-
*
|
149
|
-
* @deprecated 请使用 {@link formModel}
|
150
|
-
*/
|
151
|
-
model: ComputedRef<Record<string, any>>;
|
152
|
-
/**
|
153
|
-
* <p>监听事件: 点击确认按钮之后, 表单验证完成.</p>
|
154
|
-
* <p>回调函数如果返回 true, 则不会再执行后面的代码.</p>
|
155
|
-
*
|
156
|
-
* @param listener 事件监听函数.
|
157
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
158
|
-
* @return {} 移除事件监听函数.
|
159
|
-
*/
|
160
|
-
onAfterValidate(listener: IKgSubmitAfterValidateEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
161
|
-
/**
|
162
|
-
* <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗.</p>
|
163
|
-
* @param listener 事件监听函数.
|
164
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
165
|
-
* @return {} 移除事件监听函数.
|
166
|
-
*/
|
167
|
-
onBeforeCancel(listener: IKgSubmitOnBeforeCancelEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
168
|
-
/**
|
169
|
-
* <p>监听事件: 点击确认按钮之后, 执行默认逻辑之前.</p>
|
170
|
-
* <ul>
|
171
|
-
* <li>可以在此时修改表单数据对象,</li>
|
172
|
-
* <li>可以在此时修改表单验证规则,</li>
|
173
|
-
* </ul>
|
174
|
-
* <p>回调函数如果返回 true, 则不会再执行后面的代码.</p>
|
175
|
-
*
|
176
|
-
* @param listener 事件监听函数.
|
177
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
178
|
-
* @return {} 移除事件监听函数.
|
179
|
-
*/
|
180
|
-
onBeforeOk(listener: IKgSubmitBeforeOkEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
181
|
-
/**
|
182
|
-
* <p>监听事件: 打开提交弹窗之前.</p>
|
183
|
-
* @param listener 事件监听函数.
|
184
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
185
|
-
* @return {} 移除事件监听函数.
|
186
|
-
*/
|
187
|
-
onBeforeOpen(listener: IKgSubmitBeforeOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
188
|
-
/**
|
189
|
-
* <p>监听事件: 发起接口请求之前. 表单验证完成, 参数解析完成.</p>
|
190
|
-
* <p>回调函数如果返回 true, 则不会再执行后面的代码.</p>
|
191
|
-
*
|
192
|
-
* @param listener 事件监听函数.
|
193
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
194
|
-
* @return {} 移除事件监听函数.
|
195
|
-
*/
|
196
|
-
onBeforeRequest(listener: IKgSubmitBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
197
|
-
/**
|
198
|
-
* <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗.</p>
|
199
|
-
* @param listener 事件监听函数.
|
200
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
201
|
-
* @return {} 移除事件监听函数.
|
202
|
-
*/
|
203
|
-
onCancel(listener: IKgSubmitOnCancelEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
204
|
-
/**
|
205
|
-
* <p>监听事件: 关闭提交弹窗. 下面几种场景都会触发此事件:</p>
|
206
|
-
* <ul>
|
207
|
-
* <li>点击右上角的关闭按钮,</li>
|
208
|
-
* <li>点击取消按钮,</li>
|
209
|
-
* <li>点击保存按钮之后, 调用接口成功, 关闭弹窗,</li>
|
210
|
-
* </ul>
|
211
|
-
* @param listener 事件监听函数.
|
212
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
213
|
-
* @return {} 移除事件监听函数.
|
214
|
-
*/
|
215
|
-
onClose(listener: IKgSubmitCloseEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
216
|
-
/**
|
217
|
-
* <p>监听事件: 请求失败. 请求失败了, 或者请求返回了错误消息.</p>
|
218
|
-
* @param listener 事件监听函数.
|
219
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
220
|
-
* @return {} 移除事件监听函数.
|
221
|
-
*/
|
222
|
-
onError(listener: IKgSubmitErrorEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
223
|
-
/**
|
224
|
-
* <p>监听事件: 点击保存按钮之后, 执行默认逻辑之后, 调用接口成功, 关闭提交弹窗之后.</p>
|
225
|
-
* @param listener 事件监听函数.
|
226
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
227
|
-
* @return {} 移除事件监听函数.
|
228
|
-
*/
|
229
|
-
onOk(listener: IKgSubmitOkEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
230
|
-
/**
|
231
|
-
* <p>监听事件: 打开提交弹窗.</p>
|
232
|
-
* @param listener 事件监听函数.
|
233
|
-
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
234
|
-
* @return {} 移除事件监听函数.
|
235
|
-
*/
|
236
|
-
onOpen(listener: IKgSubmitOnOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
237
|
-
/**
|
238
|
-
* <p>修改某个「提交表单字段」的部分属性.</p>
|
239
|
-
*
|
240
|
-
* <p>由于提交表单肯定是关联某个按钮的, 因此需要先确认是哪个按钮, 确认逻辑如下:</p>
|
241
|
-
* <ul>
|
242
|
-
* <li>
|
243
|
-
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonVarName} === <code>undefined</code>, 表示修改的是「当前按钮」.</p>
|
244
|
-
* </li>
|
245
|
-
* <li>
|
246
|
-
* <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarButton.var_nam} 是否匹配来确认按钮.</p>
|
247
|
-
* </li>
|
248
|
-
* <li>
|
249
|
-
* <p>如果参数 {@link param.buttonType} !== <code>undefined</code> && {@link param.buttonType} !== <code>OTHER</code>, 根据 {@link param.buttonType} 和 {@link VarButton.typ} 是否匹配来确认按钮.</p>
|
250
|
-
* </li>
|
251
|
-
* </ul>
|
252
|
-
*
|
253
|
-
* @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
|
254
|
-
* @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
|
255
|
-
* @param param.properties 要修改的部分属性.
|
256
|
-
* @param param.varName 「提交表单字段」的变量名称, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
257
|
-
*/
|
258
|
-
patchVarSubmitDetail(param: {
|
259
|
-
buttonType?: KG__VAR_BUTTON__TYPE;
|
260
|
-
buttonVarName?: string | null;
|
261
|
-
properties: VarSubmitDetail;
|
262
|
-
varName: string | null | undefined;
|
263
|
-
}): Promise<void>;
|
264
|
-
/**
|
265
|
-
* 表单验证规则.
|
266
|
-
*
|
267
|
-
* @deprecated 请使用 {@link formRules}.
|
268
|
-
*/
|
269
|
-
rules: ReturnType<IKgSubmitStore['getFormRules']>;
|
270
|
-
/**
|
271
|
-
* <p>「查询按钮」的「提交表单配置」.</p>
|
272
|
-
*/
|
273
|
-
searchVarSubmitConfig: ComputedRef<VarSubmitConfig | null>;
|
274
|
-
/**
|
275
|
-
* <p>「查询按钮」的「提交表单配置」的文本宽度.</p>
|
276
|
-
*/
|
277
|
-
searchVarSubmitConfig$LabelColumn: ComputedRef<number>;
|
278
|
-
/**
|
279
|
-
* <p>「查询按钮」的「提交表单配置」的文本宽度单位.</p>
|
280
|
-
*/
|
281
|
-
searchVarSubmitConfig$LabelColumnUnit: ComputedRef<KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT>;
|
282
|
-
/**
|
283
|
-
* <p>「查询按钮」的「提交表单配置」的布局.</p>
|
284
|
-
*/
|
285
|
-
searchVarSubmitConfig$Layout: ComputedRef<KG__VAR_SUBMIT_CONFIG__LAYOUT>;
|
286
|
-
/**
|
287
|
-
* 状态数据.
|
288
|
-
*/
|
289
|
-
store: IKgSubmitStore;
|
290
|
-
varSubmitConfigs: ComputedRef<Array<VarSubmitConfig>>;
|
291
|
-
}
|
292
|
-
/**
|
293
|
-
* @param formID 界面标识.
|
294
|
-
*/
|
295
|
-
export declare function useKgSubmit(formID?: string | null): IUseKgSubmit;
|