@kengic/vue 0.27.1-beta.1 → 0.27.1-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +13015 -12877
  3. package/dist/project/build/generate/icon/index.ts +2 -5
  4. package/dist/project/build/script/buildConf.ts +1 -1
  5. package/dist/project/build/script/postBuild.ts +1 -1
  6. package/dist/src/component/KgAppSelect/{index.hooks.d.ts → KgAppSelect.hooks.d.ts} +4 -3
  7. package/dist/src/component/KgAppSelect/{index.store.d.ts → KgAppSelect.store.d.ts} +3 -2
  8. package/dist/src/component/KgAppSelect/index.d.ts +2 -2
  9. package/dist/src/component/KgButton/{index.hooks.d.ts → KgButton.hooks.d.ts} +2 -2
  10. package/dist/src/component/KgButton/{index.store.d.ts → KgButton.store.d.ts} +1 -1
  11. package/dist/src/component/KgButton/index.d.ts +2 -2
  12. package/dist/src/component/KgCanvas/{index.hooks.d.ts → KgCanvas.hooks.d.ts} +2 -2
  13. package/dist/src/component/KgCanvas/index.d.ts +1 -1
  14. package/dist/src/component/KgForm/{index.hooks.d.ts → KgForm.hooks.d.ts} +2 -2
  15. package/dist/src/component/KgForm/{index.store.d.ts → KgForm.store.d.ts} +1 -1
  16. package/dist/src/component/KgForm/index.d.ts +2 -2
  17. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
  18. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
  19. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +7 -5
  20. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -9
  21. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
  22. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
  23. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +11 -7
  24. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
  25. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
  26. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
  27. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +5 -9
  28. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +5 -7
  29. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +2 -2
  30. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
  31. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
  32. package/dist/src/component/KgForm.Item/index.d.ts +1 -1
  33. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  34. package/dist/src/component/KgSearch/{index.hooks.d.ts → KgSearch.hooks.d.ts} +2 -2
  35. package/dist/src/component/KgSearch/{index.store.d.ts → KgSearch.store.d.ts} +1 -1
  36. package/dist/src/component/KgSearch/index.d.ts +2 -2
  37. package/dist/src/component/KgSubmit/{index.event.d.ts → KgSubmit.event.d.ts} +10 -10
  38. package/dist/src/component/KgSubmit/{index.hooks.d.ts → KgSubmit.hooks.d.ts} +9 -9
  39. package/dist/src/component/KgSubmit/{index.store.d.ts → KgSubmit.store.d.ts} +16 -16
  40. package/dist/src/component/KgSubmit/index.d.ts +3 -3
  41. package/dist/src/component/KgTable/{index.event.d.ts → KgTable.event.d.ts} +1 -1
  42. package/dist/src/component/KgTable/{index.hooks.d.ts → KgTable.hooks.d.ts} +12 -11
  43. package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
  44. package/dist/src/component/KgTable/{index.store.d.ts → KgTable.store.d.ts} +2 -13
  45. package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
  46. package/dist/src/component/KgTable/index.d.ts +3 -3
  47. package/dist/src/component/KgVar/KgVar.d.ts +2 -2
  48. package/dist/src/component/KgVar/{index.hooks.d.ts → KgVar.hooks.d.ts} +14 -6
  49. package/dist/src/component/KgVar/{index.store.d.ts → KgVar.store.d.ts} +12 -2
  50. package/dist/src/component/KgVar/{index.vm.d.ts → KgVar.vm.d.ts} +3 -1
  51. package/dist/src/component/KgVar/KgVarFactory.d.ts +8 -8
  52. package/dist/src/component/KgVar/index.d.ts +3 -3
  53. package/dist/src/component/KgVarConfig/{index.hooks.d.ts → KgVarConfig.hooks.d.ts} +1 -1
  54. package/dist/src/component/KgVarConfig/index.d.ts +2 -2
  55. package/dist/src/component/KgWarehouse/{index.hooks.d.ts → KgWarehouse.hooks.d.ts} +1 -1
  56. package/dist/src/component/KgWarehouse/index.d.ts +3 -3
  57. package/dist/src/config/index.store.d.ts +2 -1
  58. package/dist/src/const/index.vm.d.ts +76 -12
  59. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
  60. package/dist/src/project/src/api/index.d.ts +3 -0
  61. package/dist/src/project/src/api/sys/model/menuModel.d.ts +15 -0
  62. package/dist/src/project/src/api/sys/model/uploadModel.d.ts +5 -0
  63. package/dist/src/project/src/api/sys/model/userModel.d.ts +46 -0
  64. package/dist/src/project/src/components/Dropdown/index.d.ts +1 -0
  65. package/dist/src/project/src/components/Dropdown/src/typing.d.ts +9 -0
  66. package/dist/src/project/src/components/index.d.ts +1 -0
  67. package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
  68. package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
  69. package/dist/src/project/src/enums/appEnum.d.ts +40 -0
  70. package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
  71. package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
  72. package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
  73. package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
  74. package/dist/src/project/src/enums/index.d.ts +13 -0
  75. package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
  76. package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
  77. package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
  78. package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
  79. package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
  80. package/dist/src/project/src/hooks/index.d.ts +1 -0
  81. package/dist/src/project/src/hooks/web/useI18n.d.ts +13 -0
  82. package/dist/src/project/src/index.d.ts +14 -0
  83. package/dist/src/project/src/locales/helper.d.ts +5 -0
  84. package/dist/src/project/src/locales/index.d.ts +3 -0
  85. package/dist/src/project/src/locales/setupI18n.d.ts +4 -0
  86. package/dist/src/project/src/locales/useLocale.d.ts +10 -0
  87. package/dist/src/project/src/router/types.d.ts +42 -0
  88. package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
  89. package/dist/src/project/src/settings/designSetting.d.ts +6 -0
  90. package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
  91. package/dist/src/project/src/settings/index.d.ts +3 -0
  92. package/dist/src/project/src/store/index.d.ts +1 -0
  93. package/dist/src/project/src/store/modules/index.d.ts +1 -0
  94. package/dist/src/project/src/store/modules/locale.d.ts +38 -0
  95. package/dist/src/project/src/utils/cache/index.d.ts +7 -0
  96. package/dist/src/project/src/utils/cache/memory.d.ts +22 -0
  97. package/dist/src/project/src/utils/cache/persistent.d.ts +33 -0
  98. package/dist/src/project/src/utils/cache/storageCache.d.ts +8 -0
  99. package/dist/src/project/src/utils/cipher.d.ts +19 -0
  100. package/dist/src/project/src/utils/env.d.ts +34 -0
  101. package/dist/src/util/kg-route.util.d.ts +2 -1
  102. package/dist/src/util/kg.util.d.ts +9 -16
  103. package/package.json +4 -4
  104. package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +0 -3
  105. package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +0 -3
  106. package/script/bump-to.ts +0 -38
  107. package/script/bump.ts +0 -35
  108. package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +0 -3
  109. package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +0 -3
  110. package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +0 -3
  111. package/script/copy-to.ts +0 -23
  112. package/script/publish.ts +0 -30
  113. /package/dist/{close-outlined-DMcSQWxQ.0f7b1ee1.mjs → close-outlined-DMcSQWxQ.adfa0cf3.mjs} +0 -0
  114. /package/dist/{exclamation-circle-outlined-DZrXCnvM.32d9fc79.mjs → exclamation-circle-outlined-DZrXCnvM.20d450b7.mjs} +0 -0
  115. /package/dist/{fullscreen-exit-outlined-X1iYkFc4.4b203dc4.mjs → fullscreen-exit-outlined-X1iYkFc4.bceef6fa.mjs} +0 -0
  116. /package/dist/{fullscreen-outlined-DDBrsRcy.a38a27ed.mjs → fullscreen-outlined-DDBrsRcy.26d588f0.mjs} +0 -0
  117. /package/dist/{search-outlined-Od1M_oxf.9851f549.mjs → search-outlined-Od1M_oxf.761cc44e.mjs} +0 -0
  118. /package/dist/src/component/KgAppSelect/{index.event.d.ts → KgAppSelect.event.d.ts} +0 -0
  119. /package/dist/src/component/KgButton/{index.event.d.ts → KgButton.event.d.ts} +0 -0
  120. /package/dist/src/component/KgCanvas/{index.event.d.ts → KgCanvas.event.d.ts} +0 -0
  121. /package/dist/src/component/KgCanvas/{index.store.d.ts → KgCanvas.store.d.ts} +0 -0
  122. /package/dist/src/component/KgCanvas/{index.vm.d.ts → KgCanvas.vm.d.ts} +0 -0
  123. /package/dist/src/component/KgForm/{index.event.d.ts → KgForm.event.d.ts} +0 -0
  124. /package/dist/src/component/KgForm/{index.vm.d.ts → KgForm.vm.d.ts} +0 -0
  125. /package/dist/src/component/KgForm.Item/{index.vm.d.ts → KgForm.Item.vm.d.ts} +0 -0
  126. /package/dist/src/component/KgLayoutHeader/{index.hooks.d.ts → KgLayoutHeader.hooks.d.ts} +0 -0
  127. /package/dist/src/component/KgModal/{index.vm.d.ts → KgModal.vm.d.ts} +0 -0
  128. /package/dist/src/component/KgSearch/{index.event.d.ts → KgSearch.event.d.ts} +0 -0
  129. /package/dist/src/component/KgSearch/{index.vm.d.ts → KgSearch.vm.d.ts} +0 -0
  130. /package/dist/src/component/KgSubmit/{index.vm.d.ts → KgSubmit.vm.d.ts} +0 -0
  131. /package/dist/src/component/KgTable/{index.vm.d.ts → KgTable.vm.d.ts} +0 -0
  132. /package/dist/src/component/KgVar/{index.event.d.ts → KgVar.event.d.ts} +0 -0
  133. /package/dist/src/component/KgVar/{index.store.service.d.ts → KgVar.store.service.d.ts} +0 -0
  134. /package/dist/src/component/KgVarConfig/{index.store.d.ts → KgVarConfig.store.d.ts} +0 -0
  135. /package/dist/src/component/KgVarConfig/{index.vm.d.ts → KgVarConfig.vm.d.ts} +0 -0
  136. /package/dist/src/component/KgWarehouse/{index.guard.d.ts → KgWarehouse.guard.d.ts} +0 -0
  137. /package/dist/src/component/KgWarehouse/{index.store.d.ts → KgWarehouse.store.d.ts} +0 -0
  138. /package/dist/src/page/KgPageDda/{index.vm.d.ts → KgPageDda.vm.d.ts} +0 -0
  139. /package/dist/{three-dots-loading-bIlrTJYR.ebc46650.mjs → three-dots-loading-bIlrTJYR.5f916930.mjs} +0 -0
@@ -28,16 +28,15 @@ declare const _default: import("vue").DefineComponent<{
28
28
  default: undefined;
29
29
  };
30
30
  kgPicker: {
31
- /** 是否允许清空. */
32
31
  type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
33
32
  default: undefined;
34
33
  };
35
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
35
  value: {
37
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
38
37
  default: undefined;
39
38
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
41
40
  onKgSubmit: import("vue").PropType<() => void>;
42
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -70,16 +69,15 @@ declare const _default: import("vue").DefineComponent<{
70
69
  default: undefined;
71
70
  };
72
71
  kgPicker: {
73
- /** 是否允许清空. */
74
72
  type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
75
73
  default: undefined;
76
74
  };
77
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
78
76
  value: {
79
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
80
78
  default: undefined;
81
79
  };
82
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
83
81
  onKgSubmit: import("vue").PropType<() => void>;
84
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
85
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -89,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{
89
87
  onKgSelectChange?: ((...args: any[]) => any) | undefined;
90
88
  onKgSelectDatasChange?: ((...args: any[]) => any) | undefined;
91
89
  }, {
92
- value: import("../index.vm").IKgFormItemValue;
90
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
93
91
  kgDisabled: boolean;
94
92
  kgContext: KG_FORM_CONTEXT;
95
93
  kgShowLabel: boolean;
@@ -1,10 +1,10 @@
1
1
  import { ComputedRef } from 'vue';
2
- import { KgFormItemProps } from '../index.vm';
2
+ import { KgFormItemProps } from '../KgForm.Item.vm';
3
3
  export declare function useKgFormItemSelect(param: {
4
4
  props: KgFormItemProps;
5
5
  }): {
6
6
  /** 列表数据. */
7
- datas: import("vue").Ref<Record<string, any>[]>;
7
+ datas$$: import("vue").Ref<Record<string, any>[]>;
8
8
  /** 是否正在查询列表数据. */
9
9
  isDatasRequesting: import("vue").Ref<boolean>;
10
10
  /** 作为显示的列. */
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
35
  value: {
36
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
37
37
  default: undefined;
38
38
  };
39
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
40
40
  onKgSubmit: import("vue").PropType<() => void>;
41
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
74
74
  };
75
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
76
  value: {
77
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
78
78
  default: undefined;
79
79
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
81
81
  onKgSubmit: import("vue").PropType<() => void>;
82
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
89
89
  kgDisabled: boolean;
90
90
  kgContext: KG_FORM_CONTEXT;
91
91
  kgShowLabel: boolean;
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
35
  value: {
36
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
37
37
  default: undefined;
38
38
  };
39
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
40
40
  onKgSubmit: import("vue").PropType<() => void>;
41
41
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
42
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<{
74
74
  };
75
75
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
76
  value: {
77
- type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
+ type: import("vue").PropType<import("../KgForm.Item.vm").IKgFormItemValue>;
78
78
  default: undefined;
79
79
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.vm").IKgFormItemValue | null) => void>;
81
81
  onKgSubmit: import("vue").PropType<() => void>;
82
82
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
86
  onKgSubmit?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
- value: import("../index.vm").IKgFormItemValue;
88
+ value: import("../KgForm.Item.vm").IKgFormItemValue;
89
89
  kgDisabled: boolean;
90
90
  kgContext: KG_FORM_CONTEXT;
91
91
  kgShowLabel: boolean;
@@ -1,2 +1,2 @@
1
1
  export { default as KgFormItem } from './KgForm.Item';
2
- export { type KgFormItemProps } from './index.vm';
2
+ export { type KgFormItemProps } from './KgForm.Item.vm';
@@ -1,2 +1,2 @@
1
1
  export { default as KgLayoutHeaderLocale, type KgLayoutHeaderLocaleProps } from './components/KgLayoutHeaderLocale';
2
- export * from './index.hooks';
2
+ export * from './KgLayoutHeader.hooks';
@@ -2,8 +2,8 @@ import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
3
  import { VarProfileDetail } from '../../api/WMS/models';
4
4
  import { IKgTableRequestParameter } from '../KgTable';
5
- import { IKgSearchOnReadyEventListener, IKgSearchOnResetEventListener, IKgSearchOnSearchEventListener } from './index.event';
6
- import { IKgSearchStore } from './index.store';
5
+ import { IKgSearchOnReadyEventListener, IKgSearchOnResetEventListener, IKgSearchOnSearchEventListener } from './KgSearch.event';
6
+ import { IKgSearchStore } from './KgSearch.store';
7
7
  export declare type IUseKgSearch = {
8
8
  /**
9
9
  * 当前查询字段列表.
@@ -1,7 +1,7 @@
1
1
  import { StoreDefinition } from 'pinia';
2
2
  import { VarProfileMasterDTO } from '../../api/WMS/models';
3
3
  import { IKgTableRequestParameter } from '../KgTable';
4
- import { IKgSearchEvent, IKgSearchEventListenerParameter, IKgSearchOnReadyEventListener, IKgSearchOnResetEventListener, IKgSearchOnSearchEventListener } from './index.event';
4
+ import { IKgSearchEvent, IKgSearchEventListenerParameter, IKgSearchOnReadyEventListener, IKgSearchOnResetEventListener, IKgSearchOnSearchEventListener } from './KgSearch.event';
5
5
  /** 查询方法. */
6
6
  export declare type IKgSearchOnSearchFn = (param?: IKgTableRequestParameter) => void;
7
7
  /** 重置方法. */
@@ -1,3 +1,3 @@
1
1
  export { default as KgSearch, type IKgSearchProps } from './KgSearch';
2
- export * from './index.hooks';
3
- export * from './index.store';
2
+ export * from './KgSearch.hooks';
3
+ export * from './KgSearch.store';
@@ -4,16 +4,16 @@ import { KgAny } from '../../type';
4
4
  import { IKgTableRow } from '../KgTable';
5
5
  /**
6
6
  * 事件类型.
7
- * 'onBeforeOpen': 打开提交弹窗之前
8
- * 'onOpen': 打开提交弹窗
9
- * 'onBeforeOk': 点击确认按钮之后, 执行默认逻辑之前
10
- * 'onAfterValidate': 点击确认按钮之后, 表单验证完成,
11
- * 'onBeforeRequest': 发起接口请求之前. 表单验证完成, 参数解析完成,
12
- * 'onOk': 请求成功, 关闭提交弹窗之后
13
- * 'onBeforeCancel': 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗,
14
- * 'onCancel': 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗,
15
- * 'onError': 请求失败. 请求失败了, 或者请求返回了错误消息
16
- * 'onClose': 关闭提交弹窗
7
+ * 'onBeforeOpen' 打开提交弹窗之前
8
+ * 'onOpen' 打开提交弹窗
9
+ * 'onBeforeOk' 点击确认按钮之后, 执行默认逻辑之前
10
+ * 'onAfterValidate' 点击确认按钮之后, 表单验证完成,
11
+ * 'onBeforeRequest' 发起接口请求之前. 表单验证完成, 参数解析完成,
12
+ * 'onOk' 请求成功, 关闭提交弹窗之后
13
+ * 'onBeforeCancel' 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗,
14
+ * 'onCancel' 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗,
15
+ * 'onError' 请求失败. 请求失败了, 或者请求返回了错误消息
16
+ * 'onClose' 关闭提交弹窗
17
17
  */
18
18
  export declare type IKgSubmitEvent = 'onBeforeOpen' | 'onOpen' | 'onBeforeOk' | 'onAfterValidate' | 'onBeforeRequest' | 'onOk' | 'onBeforeCancel' | 'onCancel' | 'onError' | 'onClose';
19
19
  export declare type IKgSubmitOnBeforeOpenEventListenerParameter = {
@@ -3,8 +3,8 @@ import { FormInstance } from 'ant-design-vue';
3
3
  import { ComputedRef, Ref } from 'vue';
4
4
  import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
5
5
  import { IKgVarSubmitConfigProperties, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
6
- import { IKgSubmitOnAfterValidateEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnBeforeOkEventListener, IKgSubmitOnBeforeOpenEventListener, IKgSubmitOnBeforeRequestEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnCloseEventListener, IKgSubmitOnErrorEventListener, IKgSubmitOnOkEventListener, IKgSubmitOnOpenEventListener } from './index.event';
7
- import { IKgSubmitStore } from './index.store';
6
+ import { IKgSubmitOnAfterValidateEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnBeforeOkEventListener, IKgSubmitOnBeforeOpenEventListener, IKgSubmitOnBeforeRequestEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnCloseEventListener, IKgSubmitOnErrorEventListener, IKgSubmitOnOkEventListener, IKgSubmitOnOpenEventListener } from './KgSubmit.event';
7
+ import { IKgSubmitStore } from './KgSubmit.store';
8
8
  export interface IUseKgSubmit {
9
9
  /**
10
10
  * <p>添加一个「提交表单字段」.</p>
@@ -36,27 +36,27 @@ export interface IUseKgSubmit {
36
36
  /**
37
37
  * <p>「当前按钮」的「提交表单字段」.</p>
38
38
  */
39
- currentVarSubmitDetails: ComputedRef<VarSubmitDetail[]>;
39
+ currentVarSubmitDetails: ComputedRef<VarSubmitDetail[] | null>;
40
40
  /**
41
41
  * <p>「当前按钮」的「提交表单字段」(关键的).</p>
42
42
  */
43
- currentVarSubmitDetailsForKey: ComputedRef<VarSubmitDetail[]>;
43
+ currentVarSubmitDetailsForKey: ComputedRef<VarSubmitDetail[] | null>;
44
44
  /**
45
45
  * <p>「当前按钮」的「提交表单字段」(关键的, 可见的).</p>
46
46
  */
47
- currentVarSubmitDetailsForKeyAndVisible: ComputedRef<VarSubmitDetail[]>;
47
+ currentVarSubmitDetailsForKeyAndVisible: ComputedRef<VarSubmitDetail[] | null>;
48
48
  /**
49
49
  * <p>「当前按钮」的「提交表单字段」(非关键的).</p>
50
50
  */
51
- currentVarSubmitDetailsForNotKey: ComputedRef<VarSubmitDetail[]>;
51
+ currentVarSubmitDetailsForNotKey: ComputedRef<VarSubmitDetail[] | null>;
52
52
  /**
53
53
  * <p>「当前按钮」的「提交表单字段」(非关键的, 可见的).</p>
54
54
  */
55
- currentVarSubmitDetailsForNotKeyAndVisible: ComputedRef<VarSubmitDetail[]>;
55
+ currentVarSubmitDetailsForNotKeyAndVisible: ComputedRef<VarSubmitDetail[] | null>;
56
56
  /**
57
57
  * <p>「当前按钮」的「提交表单字段」(可见的).</p>
58
58
  */
59
- currentVarSubmitDetailsForVisible: ComputedRef<VarSubmitDetail[]>;
59
+ currentVarSubmitDetailsForVisible: ComputedRef<VarSubmitDetail[] | null>;
60
60
  /**
61
61
  * 界面标识.
62
62
  */
@@ -144,7 +144,7 @@ export interface IUseKgSubmit {
144
144
  isVisible?: 0 | 1 | null;
145
145
  searchProfileVarName?: string | null;
146
146
  varName?: string | null;
147
- } | null): Array<VarSubmitDetail>;
147
+ } | null): Array<VarSubmitDetail> | null;
148
148
  /**
149
149
  * 表单数据对象.
150
150
  *
@@ -4,14 +4,8 @@ import { StoreDefinition } from 'pinia';
4
4
  import { Ref } from 'vue';
5
5
  import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
6
6
  import { KG__VAR_BUTTON__TYPE } from '../../const';
7
- import { IKgSubmitEvent, IKgSubmitEventListenerParameter, IKgSubmitOnAfterValidateEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnBeforeOkEventListener, IKgSubmitOnBeforeOpenEventListener, IKgSubmitOnBeforeRequestEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnCloseEventListener, IKgSubmitOnErrorEventListener, IKgSubmitOnOkEventListener, IKgSubmitOnOpenEventListener } from './index.event';
7
+ import { IKgSubmitEvent, IKgSubmitEventListenerParameter, IKgSubmitOnAfterValidateEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnBeforeOkEventListener, IKgSubmitOnBeforeOpenEventListener, IKgSubmitOnBeforeRequestEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnCloseEventListener, IKgSubmitOnErrorEventListener, IKgSubmitOnOkEventListener, IKgSubmitOnOpenEventListener } from './KgSubmit.event';
8
8
  export interface IUseKgSubmitStoreState {
9
- onAfterValidate: Map<string, Array<IKgSubmitOnAfterValidateEventListener>>;
10
- onBeforeOk: Map<string, Array<IKgSubmitOnBeforeOkEventListener>>;
11
- onBeforeOpen: Map<string, Array<IKgSubmitOnBeforeOpenEventListener>>;
12
- onBeforeRequest: Map<string, Array<IKgSubmitOnBeforeRequestEventListener>>;
13
- onClose: Map<string, Array<IKgSubmitOnCloseEventListener>>;
14
- onError: Map<string, Array<IKgSubmitOnErrorEventListener>>;
15
9
  /** 表单数据对象. */
16
10
  formModelMap: Map<string, Record<string, any>>;
17
11
  /** 表单对象. */
@@ -22,15 +16,23 @@ export interface IUseKgSubmitStoreState {
22
16
  */
23
17
  formRulesMap: Map<string, Ref<Record<string, Array<RuleObject>>>>;
24
18
  isLoadingMap: Map<string, boolean>;
25
- onOk: Map<string, Array<IKgSubmitOnOkEventListener>>;
19
+ onAfterValidate: Map<string, Array<IKgSubmitOnAfterValidateEventListener>>;
26
20
  onBeforeCancel: Map<string, Array<IKgSubmitOnBeforeCancelEventListener>>;
21
+ onBeforeOk: Map<string, Array<IKgSubmitOnBeforeOkEventListener>>;
22
+ onBeforeOpen: Map<string, Array<IKgSubmitOnBeforeOpenEventListener>>;
23
+ onBeforeRequest: Map<string, Array<IKgSubmitOnBeforeRequestEventListener>>;
27
24
  onCancel: Map<string, Array<IKgSubmitOnCancelEventListener>>;
25
+ onClose: Map<string, Array<IKgSubmitOnCloseEventListener>>;
26
+ onError: Map<string, Array<IKgSubmitOnErrorEventListener>>;
27
+ onOk: Map<string, Array<IKgSubmitOnOkEventListener>>;
28
28
  onOpen: Map<string, Array<IKgSubmitOnOpenEventListener>>;
29
29
  }
30
30
  export interface IUseKgSubmitStoreGetters {
31
- getFormModel(): (formID?: string | null) => Record<string, any> | null;
32
- getFormRef(): (formID?: string | null) => Ref<FormInstance | null>;
33
- getFormRules(): (formID?: string | null) => Ref<Record<string, Array<RuleObject>>>;
31
+ getFormModel(): (formID: string | null | undefined) => Record<string, any> | null;
32
+ getFormRef(): (formID: string | null | undefined) => Ref<FormInstance | null>;
33
+ getFormRules(): (formID: string | null | undefined) => Ref<Record<string, Array<RuleObject>>>;
34
+ /** 是否处于加载状态. */
35
+ getIsLoading(): (formID: string | null | undefined) => boolean;
34
36
  getVarSubmitConfig(): (formID: string | null | undefined, param?: {
35
37
  buttonType?: KG__VAR_BUTTON__TYPE;
36
38
  buttonVarName?: string | null;
@@ -46,9 +48,7 @@ export interface IUseKgSubmitStoreGetters {
46
48
  isVisible?: 0 | 1 | null;
47
49
  searchProfileVarName?: string | null;
48
50
  varName?: string | null;
49
- } | null) => Array<VarSubmitDetail>;
50
- /** 是否处于加载状态. */
51
- isLoading(): (formID?: string | null) => boolean;
51
+ } | null) => Array<VarSubmitDetail> | null;
52
52
  }
53
53
  export interface IUseKgSubmitStoreActions {
54
54
  /**
@@ -69,7 +69,7 @@ export interface IUseKgSubmitStoreActions {
69
69
  * 清理数据.
70
70
  * @param formID 页面标识.
71
71
  */
72
- dispose(formID?: string | null): void;
72
+ dispose(formID: string | null | undefined): void;
73
73
  emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent, parameter: T): Promise<boolean>;
74
74
  patchVarSubmitDetail(formID: string | null | undefined, param: {
75
75
  buttonType?: KG__VAR_BUTTON__TYPE;
@@ -84,7 +84,7 @@ export interface IUseKgSubmitStoreActions {
84
84
  * @param listener 事件监听函数.
85
85
  */
86
86
  removeEventListener(formID: string, event: IKgSubmitEvent, listener?: any): void;
87
- setFormModel(formID?: string | null, model?: Record<string, any> | null): void;
87
+ setFormModel(formID: string | null | undefined, model?: Record<string, any> | null): void;
88
88
  setIsLoading(formID: string, value: boolean): void;
89
89
  }
90
90
  export declare type IUseKgSubmitStore = StoreDefinition<'KgSubmit', IUseKgSubmitStoreState, IUseKgSubmitStoreGetters, IUseKgSubmitStoreActions>;
@@ -1,4 +1,4 @@
1
1
  export { default as KgSubmit, type KgSubmitProps } from './KgSubmit';
2
- export * from './index.hooks';
3
- export * from './index.store';
4
- export * from './index.vm';
2
+ export * from './KgSubmit.hooks';
3
+ export * from './KgSubmit.store';
4
+ export * from './KgSubmit.vm';
@@ -1,7 +1,7 @@
1
1
  import { IKgEventListener } from '@kengic/core.core';
2
2
  import { Ref } from 'vue';
3
3
  import { IPage } from '../../api/WMS/models';
4
- import { IKgTableRow } from './index.vm';
4
+ import { IKgTableRow } from './KgTable.vm';
5
5
  /**
6
6
  * 事件类型.
7
7
  * 'onReady': 就绪, 配置初始完成, 组件渲染完成
@@ -1,8 +1,8 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
- import { VarGridConfig } from '../../api/WMS/models';
4
- import { IKgTableOnAfterRequestEventListener, IKgTableOnBeforeParseRequestParameterEventListener, IKgTableOnBeforeRequestEventListener, IKgTableOnBeforeSetDatasEventListener, IKgTableOnReadyEventListener, IKgTableOnRowDoubleClickEventListener } from './index.event';
5
- import { IKgTableStore } from './index.store';
3
+ import { IKgTableOnAfterRequestEventListener, IKgTableOnBeforeParseRequestParameterEventListener, IKgTableOnBeforeRequestEventListener, IKgTableOnBeforeSetDatasEventListener, IKgTableOnReadyEventListener, IKgTableOnRowDoubleClickEventListener } from './KgTable.event';
4
+ import { IKgTableStore } from './KgTable.store';
5
+ import { IKgTableRow } from './KgTable.vm';
6
6
  export interface IUseKgTable {
7
7
  /**
8
8
  * 列表数据.
@@ -100,14 +100,6 @@ export interface IUseKgTable {
100
100
  pageSizeOption: ComputedRef<number>;
101
101
  /** 所有分页选项. */
102
102
  pageSizeOptions: ComputedRef<number[]>;
103
- /**
104
- * 修改「表格配置」的部分属性.
105
- *
106
- * @param param.properties 要修改的部分属性.
107
- */
108
- patchVarGridConfig(param: {
109
- properties: VarGridConfig;
110
- }): Promise<void>;
111
103
  /**
112
104
  * <p>查询参数.</p>
113
105
  * <p>此查询参数是最终传给后端接口的参数, 包含了查询条件, 还包含了表格中的排序和分页, 还包含了表格配置中的参数.</p>
@@ -120,6 +112,15 @@ export interface IUseKgTable {
120
112
  /** 当前勾选的所有行. */
121
113
  selectedRows: ComputedRef<ReturnType<IKgTableStore['getSelectedRows']>>;
122
114
  setIsShowDescription(value: boolean): void;
115
+ /**
116
+ * 设置勾选的行.
117
+ *
118
+ * @param param
119
+ * @param param.selectedRows 勾选的行.
120
+ */
121
+ setSelectedRows<T extends IKgTableRow = any>(param: {
122
+ selectedRows: Array<T>;
123
+ }): void;
123
124
  /** 状态数据. */
124
125
  store: IKgTableStore;
125
126
  }
@@ -1,7 +1,7 @@
1
1
  import { ColumnsType } from 'ant-design-vue/es/table';
2
2
  import { SorterResult } from 'ant-design-vue/es/table/interface';
3
3
  import { ComputedRef, Ref, UnwrapRef } from 'vue';
4
- import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './index.vm';
4
+ import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './KgTable.vm';
5
5
  import { IKgTableProps } from './KgTable';
6
6
  export declare function _useRenderBodyCell(): {
7
7
  renderBodyCell: (args: any, context?: KG_TABLE_CELL_CONTEXT) => any;
@@ -1,9 +1,8 @@
1
1
  import { Key } from 'ant-design-vue/lib/_util/type';
2
2
  import { StoreDefinition } from 'pinia';
3
3
  import { Ref } from 'vue';
4
- import { VarGridConfig } from '../../api/WMS/models';
5
- import { IKgTableEvent, IKgTableEventListenerParameter, IKgTableOnAfterRequestEventListener, IKgTableOnBeforeParseRequestParameterEventListener, IKgTableOnBeforeRequestEventListener, IKgTableOnBeforeSetDatasEventListener, IKgTableOnReadyEventListener, IKgTableOnRowDoubleClickEventListener } from './index.event';
6
- import { IKgTableRow, IKgTableRowHeight } from './index.vm';
4
+ import { IKgTableEvent, IKgTableEventListenerParameter, IKgTableOnAfterRequestEventListener, IKgTableOnBeforeParseRequestParameterEventListener, IKgTableOnBeforeRequestEventListener, IKgTableOnBeforeSetDatasEventListener, IKgTableOnReadyEventListener, IKgTableOnRowDoubleClickEventListener } from './KgTable.event';
5
+ import { IKgTableRow, IKgTableRowHeight } from './KgTable.vm';
7
6
  export interface IUseKgTableStoreState {
8
7
  onAfterRequest: Map<string, Array<IKgTableOnAfterRequestEventListener>>;
9
8
  onBeforeParseParameter: Map<string, Array<IKgTableOnBeforeParseRequestParameterEventListener>>;
@@ -109,16 +108,6 @@ export interface IUseKgTableStoreActions {
109
108
  * @param parameter 事件参数.
110
109
  */
111
110
  emit<T = IKgTableEventListenerParameter>(formID: string | null | undefined, event: IKgTableEvent, parameter: T): Promise<boolean>;
112
- /**
113
- * 修改「表格配置」的部分属性.
114
- *
115
- * @param formID 界面标识.
116
- * @param param
117
- * @param param.properties 要修改的部分属性.
118
- */
119
- patchVarGridConfig(formID: string | null | undefined, param: {
120
- properties: VarGridConfig;
121
- }): Promise<void>;
122
111
  /**
123
112
  * 刷新勾选的行. 表格列表数据变更之后, 需要同步到勾选的行.
124
113
  * @param formID 界面标识.
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from '../index.vm';
2
+ import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from '../KgTable.vm';
3
3
  export declare const getProps: () => {
4
4
  /** 行对象. */
5
5
  kgRow: PropType<IKgTableRow>;
@@ -1,4 +1,4 @@
1
1
  export { default as KgTable } from './KgTable';
2
- export * from './index.hooks';
3
- export * from './index.store';
4
- export * from './index.vm';
2
+ export * from './KgTable.hooks';
3
+ export * from './KgTable.store';
4
+ export * from './KgTable.vm';
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { IKgProps, IKgSlots } from './index.vm';
3
- import './KgVar.less';
2
+ import { IKgProps, IKgSlots } from './KgVar.vm';
3
+ import './KgVar.css';
4
4
  export declare function getProps(): {
5
5
  /**
6
6
  * 是否使用灰色背景.
@@ -1,6 +1,6 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
- import { VarButton, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarGridDetail, VarGridMasterDTO } from '../../api/WMS/models';
3
+ import { VarButton, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarGridConfig, VarGridDetail, VarGridMasterDTO } from '../../api/WMS/models';
4
4
  import { KG__VAR_BUTTON__TYPE } from '../../const';
5
5
  import { IUseKgButton } from '../KgButton';
6
6
  import { IUseKgForm } from '../KgForm';
@@ -8,9 +8,9 @@ import { type IUseKgSearch } from '../KgSearch';
8
8
  import { IUseKgSubmit } from '../KgSubmit';
9
9
  import { IUseKgTable } from '../KgTable';
10
10
  import { IUseKgVarConfig } from '../KgVarConfig';
11
- import { IKgVarOnRequestEventListener, IKgVarOnSetupEventListener, IKgVarOnUnmountedEventListener } from './index.event';
12
- import { IKgVarStore } from './index.store';
13
- import { IKgProps, IKgSlots } from './index.vm';
11
+ import { IKgVarOnRequestEventListener, IKgVarOnSetupEventListener, IKgVarOnUnmountedEventListener } from './KgVar.event';
12
+ import { IKgVarStore } from './KgVar.store';
13
+ import { IKgProps, IKgSlots } from './KgVar.vm';
14
14
  export declare type IUseKgVar = {
15
15
  /**
16
16
  * <p>添加一个「变量配置:表单控件」.</p>
@@ -50,7 +50,7 @@ export declare type IUseKgVar = {
50
50
  *
51
51
  * <ul>
52
52
  * <li>
53
- * <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarConfigControl.button_var_name} 是否匹配进行过滤.</p>
53
+ * <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 过滤.</p>
54
54
  * </li>
55
55
  * <li>
56
56
  * <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} !== <code>undefined</code>, 则先根据参数 {@link param.buttonType} 获取按钮, 然后根据 {@link VarButton.var_nam} 和 {@link VarConfigControl.button_var_name} 是否匹配进行过滤.</p>
@@ -172,6 +172,14 @@ export declare type IUseKgVar = {
172
172
  properties: VarButton;
173
173
  varName: string | null | undefined;
174
174
  }): Promise<void>;
175
+ /**
176
+ * 修改「表格配置」的部分属性.
177
+ *
178
+ * @param param.properties 要修改的部分属性.
179
+ */
180
+ patchVarGridConfig(param: {
181
+ properties: VarGridConfig;
182
+ }): Promise<void>;
175
183
  /**
176
184
  * 修改「表格视图明细」的部分属性.
177
185
  *
@@ -183,7 +191,7 @@ export declare type IUseKgVar = {
183
191
  properties: VarGridDetail;
184
192
  varName: string | null | undefined;
185
193
  }): Promise<void>;
186
- props: ComputedRef<ReturnType<IKgVarStore['getProps']>>;
194
+ props: ComputedRef<IKgProps | null>;
187
195
  /**
188
196
  * 查询所有变量配置.
189
197
  *
@@ -1,8 +1,8 @@
1
1
  import { StoreDefinition } from 'pinia';
2
2
  import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/WMS/models';
3
3
  import { KG__VAR_BUTTON__TYPE } from '../../const';
4
- import { IUseKgVar } from './index.hooks';
5
- import { IKgProps, IKgSlots } from './index.vm';
4
+ import { IUseKgVar } from './KgVar.hooks';
5
+ import { IKgProps, IKgSlots } from './KgVar.vm';
6
6
  export interface IUseKgVarStoreState {
7
7
  /** 正在复制: 正在调用接口. */
8
8
  isCopyingRequestingMap: Map<string, boolean>;
@@ -184,6 +184,16 @@ export interface IUseKgVarStoreActions {
184
184
  properties: VarButton;
185
185
  varName: string | null | undefined;
186
186
  }): Promise<void>;
187
+ /**
188
+ * 修改「表格配置」的部分属性.
189
+ *
190
+ * @param formID 界面标识.
191
+ * @param param
192
+ * @param param.properties 要修改的部分属性.
193
+ */
194
+ patchVarGridConfig(formID: string | null | undefined, param: {
195
+ properties: VarGridConfig;
196
+ }): Promise<void>;
187
197
  /**
188
198
  * 修改「表格视图明细」的部分属性.
189
199
  *
@@ -1,10 +1,11 @@
1
1
  import { ComputedRef, InjectionKey } from 'vue';
2
2
  import { IKgButtonProps } from '../KgButton';
3
- import { IKgFormItemSlotControlParameter, IKgFormItemSlotControlRightParameter } from '../KgForm.Item/index.vm';
3
+ import { IKgFormItemSlotControlParameter, IKgFormItemSlotControlRightParameter } from '../KgForm.Item/KgForm.Item.vm';
4
4
  import { IKgSearchProps } from '../KgSearch';
5
5
  import { KgSubmitProps } from '../KgSubmit';
6
6
  import { IKgTableSlotParams } from '../KgTable';
7
7
  import { IKgTableProps } from '../KgTable/KgTable';
8
+ import { KgVarProps } from './KgVar';
8
9
  export declare type IKgSlots = {
9
10
  /** 按钮. */
10
11
  KgButton?: {
@@ -66,6 +67,7 @@ export declare type IKgProps = {
66
67
  KgSearch?: IKgSearchProps;
67
68
  KgSubmit?: KgSubmitProps;
68
69
  KgTable?: IKgTableProps;
70
+ KgVar?: KgVarProps;
69
71
  };
70
72
  /** 注入 kgProps 参数. */
71
73
  export declare const KG__DI__KG_VAR__KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
@@ -10,8 +10,8 @@ export declare function KgVarFactory(param?: {
10
10
  type: import("vue").PropType<number>;
11
11
  default: number;
12
12
  };
13
- kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
14
- kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
13
+ kgProps: import("vue").PropType<import("./KgVar.vm").IKgProps>;
14
+ kgSlots: import("vue").PropType<import("./KgVar.vm").IKgSlots>;
15
15
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  kgBackgroundGray: {
17
17
  type: import("vue").PropType<boolean>;
@@ -22,8 +22,8 @@ export declare function KgVarFactory(param?: {
22
22
  type: import("vue").PropType<number>;
23
23
  default: number;
24
24
  };
25
- kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
26
- kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
25
+ kgProps: import("vue").PropType<import("./KgVar.vm").IKgProps>;
26
+ kgSlots: import("vue").PropType<import("./KgVar.vm").IKgSlots>;
27
27
  }>>, {
28
28
  kgBackgroundGray: boolean;
29
29
  kgLevel: number;
@@ -41,8 +41,8 @@ export declare const KgVar2: import("vue").DefineComponent<{
41
41
  type: import("vue").PropType<number>;
42
42
  default: number;
43
43
  };
44
- kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
45
- kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
44
+ kgProps: import("vue").PropType<import("./KgVar.vm").IKgProps>;
45
+ kgSlots: import("vue").PropType<import("./KgVar.vm").IKgSlots>;
46
46
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
47
  kgBackgroundGray: {
48
48
  type: import("vue").PropType<boolean>;
@@ -53,8 +53,8 @@ export declare const KgVar2: import("vue").DefineComponent<{
53
53
  type: import("vue").PropType<number>;
54
54
  default: number;
55
55
  };
56
- kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
57
- kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
56
+ kgProps: import("vue").PropType<import("./KgVar.vm").IKgProps>;
57
+ kgSlots: import("vue").PropType<import("./KgVar.vm").IKgSlots>;
58
58
  }>>, {
59
59
  kgBackgroundGray: boolean;
60
60
  kgLevel: number;
@@ -1,5 +1,5 @@
1
1
  export { default as KgVar, type IKgVarProps, type KgVarProps } from './KgVar';
2
2
  export * from './KgVarFactory';
3
- export * from './index.hooks';
4
- export * from './index.store';
5
- export * from './index.vm';
3
+ export * from './KgVar.hooks';
4
+ export * from './KgVar.store';
5
+ export * from './KgVar.vm';
@@ -1,4 +1,4 @@
1
- import { IKgVarConfigStore } from './index.store';
1
+ import { IKgVarConfigStore } from './KgVarConfig.store';
2
2
  export interface IUseKgVarConfig {
3
3
  /**
4
4
  * 打开变量配置弹窗, 并使用传入的宿主界面标识.