@kengic/vue 0.16.2 → 0.16.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/kengic-vue.js +584 -580
  2. package/package.json +8 -8
  3. package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +0 -16
  4. package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +0 -18
  5. package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -18
  6. package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +0 -16
  7. package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -24
  8. package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -15
  9. package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -31
  10. package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +0 -19
  11. package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +0 -8
  12. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -19
  13. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
  14. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
  15. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
  16. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
  17. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
  18. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
  19. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -16
  20. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -18
  21. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -18
  22. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -16
  23. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -30
  24. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -15
  25. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -37
  26. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -19
  27. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -8
  28. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -52
  29. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
  30. package/dist/src/apis/WMS/Controllers/index.d.ts +0 -6
  31. package/dist/src/apis/WMS/index.d.ts +0 -2
  32. package/dist/src/apis/WMS/models.d.ts +0 -726
  33. package/dist/src/apis/api.d.ts +0 -1
  34. package/dist/src/apis/def.d.ts +0 -1
  35. package/dist/src/apis/index.d.ts +0 -2
  36. package/dist/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +0 -6
  37. package/dist/src/assets/icons/material-symbols.save-outline-rounded.d.ts +0 -6
  38. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
  39. package/dist/src/components/KgAppSelect/index.d.ts +0 -3
  40. package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -19
  41. package/dist/src/components/KgAppSelect/index.store.d.ts +0 -59
  42. package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
  43. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
  44. package/dist/src/components/KgButton/KgButton.d.ts +0 -34
  45. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -39
  46. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -39
  47. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
  48. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -39
  49. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -39
  50. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -39
  51. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
  52. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
  53. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -39
  54. package/dist/src/components/KgButton/index.d.ts +0 -62
  55. package/dist/src/components/KgButton/index.hooks.d.ts +0 -61
  56. package/dist/src/components/KgButton/index.store.d.ts +0 -89
  57. package/dist/src/components/KgForm/KgForm.d.ts +0 -414
  58. package/dist/src/components/KgForm/index.d.ts +0 -604
  59. package/dist/src/components/KgForm/index.hooks.d.ts +0 -34
  60. package/dist/src/components/KgForm/index.store.d.ts +0 -83
  61. package/dist/src/components/KgForm/index.vm.d.ts +0 -9
  62. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -95
  63. package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +0 -17
  64. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -17
  65. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -32
  66. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -94
  67. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -96
  68. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -95
  69. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -95
  70. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -94
  71. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -94
  72. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -95
  73. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
  74. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -26
  75. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -94
  76. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -94
  77. package/dist/src/components/KgForm.Item/index.d.ts +0 -2
  78. package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -116
  79. package/dist/src/components/KgModal/KgModal.d.ts +0 -395
  80. package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
  81. package/dist/src/components/KgModal/index.d.ts +0 -2
  82. package/dist/src/components/KgModal/index.vm.d.ts +0 -194
  83. package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
  84. package/dist/src/components/KgProgressA/index.d.ts +0 -1
  85. package/dist/src/components/KgResizable/KgResizable.d.ts +0 -143
  86. package/dist/src/components/KgResizable/index.d.ts +0 -1
  87. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -42
  88. package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -39
  89. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -22
  90. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -14
  91. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -24
  92. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -7
  93. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -31
  94. package/dist/src/components/KgSearch/index.d.ts +0 -3
  95. package/dist/src/components/KgSearch/index.hooks.d.ts +0 -41
  96. package/dist/src/components/KgSearch/index.store.d.ts +0 -86
  97. package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
  98. package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -41
  99. package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +0 -20
  100. package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -28
  101. package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
  102. package/dist/src/components/KgSubmit/index.d.ts +0 -4
  103. package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -63
  104. package/dist/src/components/KgSubmit/index.store.d.ts +0 -129
  105. package/dist/src/components/KgSubmit/index.vm.d.ts +0 -10
  106. package/dist/src/components/KgTable/KgTable.d.ts +0 -39
  107. package/dist/src/components/KgTable/KgTable.hooks.d.ts +0 -43
  108. package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +0 -61
  109. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -58
  110. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
  111. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -22
  112. package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -14
  113. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -22
  114. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -26
  115. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -24
  116. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -23
  117. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -32
  118. package/dist/src/components/KgTable/index.d.ts +0 -4
  119. package/dist/src/components/KgTable/index.hooks.d.ts +0 -68
  120. package/dist/src/components/KgTable/index.store.d.ts +0 -153
  121. package/dist/src/components/KgTable/index.vm.d.ts +0 -146
  122. package/dist/src/components/KgVar/KgVar.d.ts +0 -28
  123. package/dist/src/components/KgVar/index.d.ts +0 -4
  124. package/dist/src/components/KgVar/index.hooks.d.ts +0 -88
  125. package/dist/src/components/KgVar/index.store.d.ts +0 -315
  126. package/dist/src/components/KgVar/index.store.service.d.ts +0 -21
  127. package/dist/src/components/KgVar/index.vm.d.ts +0 -43
  128. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -2
  129. package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -24
  130. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -17
  131. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -25
  132. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -29
  133. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -22
  134. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -25
  135. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -22
  136. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -33
  137. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -3
  138. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -3
  139. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -3
  140. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
  141. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -3
  142. package/dist/src/components/KgVarConfig/index.d.ts +0 -2
  143. package/dist/src/components/KgVarConfig/index.store.d.ts +0 -20
  144. package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -3
  145. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -38
  146. package/dist/src/components/KgWarehouse/index.d.ts +0 -4
  147. package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
  148. package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -22
  149. package/dist/src/components/KgWarehouse/index.store.d.ts +0 -53
  150. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
  151. package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
  152. package/dist/src/components/index.d.ts +0 -16
  153. package/dist/src/components/util.d.ts +0 -14
  154. package/dist/src/config/index.d.ts +0 -3
  155. package/dist/src/config/index.hooks.d.ts +0 -43
  156. package/dist/src/config/index.store.d.ts +0 -184
  157. package/dist/src/config/setup.d.ts +0 -43
  158. package/dist/src/consts/i18n/en.d.ts +0 -194
  159. package/dist/src/consts/i18n/index.d.ts +0 -2
  160. package/dist/src/consts/i18n/zh_CN.d.ts +0 -193
  161. package/dist/src/consts/index.d.ts +0 -244
  162. package/dist/src/consts/index.vm.d.ts +0 -45
  163. package/dist/src/consts/injection-keys.const.d.ts +0 -9
  164. package/dist/src/helpers/ant-design-vue.d.ts +0 -316
  165. package/dist/src/helpers/tsx.helper.d.ts +0 -13
  166. package/dist/src/index.d.ts +0 -8
  167. package/dist/src/services/http-client.d.ts +0 -46
  168. package/dist/src/services/index.d.ts +0 -1
  169. package/dist/src/utils/index.d.ts +0 -6
  170. package/dist/src/utils/kg-auth.util.d.ts +0 -14
  171. package/dist/src/utils/kg-dom.util.d.ts +0 -12
  172. package/dist/src/utils/kg-logger.util.d.ts +0 -67
  173. package/dist/src/utils/kg-route.util.d.ts +0 -43
  174. package/dist/src/utils/kg-var.util.d.ts +0 -36
  175. package/dist/src/utils/kg.util.d.ts +0 -113
@@ -1,194 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const getProps: () => {
3
- /** 是否显示全屏按钮. */
4
- kgShowFullscreenButton: {
5
- type: PropType<boolean>;
6
- default: boolean;
7
- };
8
- /** 是否显示取消按钮. */
9
- kgShowCancelButton: {
10
- type: PropType<boolean>;
11
- default: boolean;
12
- };
13
- /** 是否显示确定按钮. */
14
- kgShowOkButton: {
15
- type: PropType<boolean>;
16
- default: boolean;
17
- };
18
- /** 高度是否撑满屏幕. */
19
- kgFullHeight: {
20
- type: PropType<boolean>;
21
- default: boolean;
22
- };
23
- prefixCls: StringConstructor;
24
- visible: {
25
- type: BooleanConstructor;
26
- default: undefined;
27
- };
28
- confirmLoading: {
29
- type: BooleanConstructor;
30
- default: undefined;
31
- };
32
- title: PropType<any>;
33
- closable: {
34
- type: BooleanConstructor;
35
- default: undefined;
36
- };
37
- closeIcon: PropType<any>;
38
- onOk: PropType<(e: MouseEvent) => void>;
39
- onCancel: PropType<(e: MouseEvent) => void>;
40
- 'onUpdate:visible': PropType<(visible: boolean) => void>;
41
- onChange: PropType<(visible: boolean) => void>;
42
- afterClose: PropType<() => void>;
43
- centered: {
44
- type: BooleanConstructor;
45
- default: undefined;
46
- };
47
- width: (StringConstructor | NumberConstructor)[];
48
- footer: PropType<any>;
49
- okText: PropType<any>;
50
- okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
51
- cancelText: PropType<any>;
52
- icon: PropType<any>;
53
- maskClosable: {
54
- type: BooleanConstructor;
55
- default: undefined;
56
- };
57
- forceRender: {
58
- type: BooleanConstructor;
59
- default: undefined;
60
- };
61
- okButtonProps: PropType<Partial<ExtractPropTypes<{
62
- prefixCls: StringConstructor;
63
- type: PropType<import("ant-design-vue/lib/button").ButtonType>;
64
- htmlType: {
65
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
66
- default: string;
67
- };
68
- shape: {
69
- type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
70
- };
71
- size: {
72
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
73
- };
74
- loading: {
75
- type: PropType<boolean | {
76
- delay?: number | undefined;
77
- }>;
78
- default: () => boolean | {
79
- delay?: number | undefined;
80
- };
81
- };
82
- disabled: {
83
- type: BooleanConstructor;
84
- default: undefined;
85
- };
86
- ghost: {
87
- type: BooleanConstructor;
88
- default: undefined;
89
- };
90
- block: {
91
- type: BooleanConstructor;
92
- default: undefined;
93
- };
94
- danger: {
95
- type: BooleanConstructor;
96
- default: undefined;
97
- };
98
- icon: PropType<any>;
99
- href: StringConstructor;
100
- target: StringConstructor;
101
- title: StringConstructor;
102
- onClick: {
103
- type: PropType<(event: MouseEvent) => void>;
104
- };
105
- onMousedown: {
106
- type: PropType<(event: MouseEvent) => void>;
107
- };
108
- }>>>;
109
- cancelButtonProps: PropType<Partial<ExtractPropTypes<{
110
- prefixCls: StringConstructor;
111
- type: PropType<import("ant-design-vue/lib/button").ButtonType>;
112
- htmlType: {
113
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
114
- default: string;
115
- };
116
- shape: {
117
- type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
118
- };
119
- size: {
120
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
121
- };
122
- loading: {
123
- type: PropType<boolean | {
124
- delay?: number | undefined;
125
- }>;
126
- default: () => boolean | {
127
- delay?: number | undefined;
128
- };
129
- };
130
- disabled: {
131
- type: BooleanConstructor;
132
- default: undefined;
133
- };
134
- ghost: {
135
- type: BooleanConstructor;
136
- default: undefined;
137
- };
138
- block: {
139
- type: BooleanConstructor;
140
- default: undefined;
141
- };
142
- danger: {
143
- type: BooleanConstructor;
144
- default: undefined;
145
- };
146
- icon: PropType<any>;
147
- href: StringConstructor;
148
- target: StringConstructor;
149
- title: StringConstructor;
150
- onClick: {
151
- type: PropType<(event: MouseEvent) => void>;
152
- };
153
- onMousedown: {
154
- type: PropType<(event: MouseEvent) => void>;
155
- };
156
- }>>>;
157
- destroyOnClose: {
158
- type: BooleanConstructor;
159
- default: undefined;
160
- };
161
- wrapClassName: StringConstructor;
162
- maskTransitionName: StringConstructor;
163
- transitionName: StringConstructor;
164
- getContainer: {
165
- type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
166
- default: undefined;
167
- };
168
- zIndex: NumberConstructor;
169
- bodyStyle: {
170
- type: PropType<import("vue").CSSProperties>;
171
- default: import("vue").CSSProperties;
172
- };
173
- maskStyle: {
174
- type: PropType<import("vue").CSSProperties>;
175
- default: import("vue").CSSProperties;
176
- };
177
- mask: {
178
- type: BooleanConstructor;
179
- default: undefined;
180
- };
181
- keyboard: {
182
- type: BooleanConstructor;
183
- default: undefined;
184
- };
185
- wrapProps: ObjectConstructor;
186
- focusTriggerAfterClose: {
187
- type: BooleanConstructor;
188
- default: undefined;
189
- };
190
- modalRender: PropType<(arg: {
191
- originVNode: import("ant-design-vue/es/_util/type").VueNode;
192
- }) => import("ant-design-vue/es/_util/type").VueNode>;
193
- };
194
- export declare type IKgModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
@@ -1,85 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgProgressA.less';
3
- export declare const getProps: () => {
4
- /**
5
- * 左侧数值(分子).
6
- * @default null
7
- */
8
- kgLeft: {
9
- type: PropType<number | null | undefined>;
10
- default: null;
11
- };
12
- /**
13
- * 右侧数值(分母).
14
- * @default null
15
- */
16
- kgRight: {
17
- type: PropType<number | null | undefined>;
18
- default: null;
19
- };
20
- /**
21
- * 右侧文本的宽度.
22
- * @default 'auto'
23
- */
24
- kgTextWidth: {
25
- type: PropType<string>;
26
- default: string;
27
- };
28
- };
29
- export declare type IKgProgressAProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
30
- declare const _default: import("vue").DefineComponent<{
31
- /**
32
- * 左侧数值(分子).
33
- * @default null
34
- */
35
- kgLeft: {
36
- type: PropType<number | null | undefined>;
37
- default: null;
38
- };
39
- /**
40
- * 右侧数值(分母).
41
- * @default null
42
- */
43
- kgRight: {
44
- type: PropType<number | null | undefined>;
45
- default: null;
46
- };
47
- /**
48
- * 右侧文本的宽度.
49
- * @default 'auto'
50
- */
51
- kgTextWidth: {
52
- type: PropType<string>;
53
- default: string;
54
- };
55
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
56
- /**
57
- * 左侧数值(分子).
58
- * @default null
59
- */
60
- kgLeft: {
61
- type: PropType<number | null | undefined>;
62
- default: null;
63
- };
64
- /**
65
- * 右侧数值(分母).
66
- * @default null
67
- */
68
- kgRight: {
69
- type: PropType<number | null | undefined>;
70
- default: null;
71
- };
72
- /**
73
- * 右侧文本的宽度.
74
- * @default 'auto'
75
- */
76
- kgTextWidth: {
77
- type: PropType<string>;
78
- default: string;
79
- };
80
- }>>, {
81
- kgLeft: number | null | undefined;
82
- kgRight: number | null | undefined;
83
- kgTextWidth: string;
84
- }>;
85
- export default _default;
@@ -1 +0,0 @@
1
- export { default as KgProgressA, type IKgProgressAProps } from './KgProgressA';
@@ -1,143 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgResizable.less';
3
- export declare const getProps: () => {
4
- /** 拖拽条的位置. */
5
- kgType: {
6
- type: PropType<"left" | "top" | "right" | "bottom">;
7
- default: string;
8
- };
9
- /** 是否禁用. */
10
- kgDisabled: PropType<boolean>;
11
- /** 当前宽度. */
12
- kgWidth: {
13
- type: PropType<number>;
14
- default: number;
15
- };
16
- 'onUpdate:kgWidth': PropType<(value: number) => void>;
17
- /** 最小宽度. */
18
- kgMinWidth: {
19
- type: PropType<number>;
20
- default: number;
21
- };
22
- /** 最大宽度. */
23
- kgMaxWidth: {
24
- type: PropType<number>;
25
- default: number;
26
- };
27
- /** 当前高度. */
28
- kgHeight: {
29
- type: PropType<number>;
30
- default: number;
31
- };
32
- 'onUpdate:kgHeight': PropType<(value: number) => void>;
33
- /** 最小高度. */
34
- kgMinHeight: {
35
- type: PropType<number>;
36
- default: number;
37
- };
38
- /** 最大高度. */
39
- kgMaxHeight: {
40
- type: PropType<number>;
41
- default: number;
42
- };
43
- /** 样式. */
44
- kgClass: PropType<string>;
45
- };
46
- export declare type IKgResizableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
47
- declare const _default: import("vue").DefineComponent<{
48
- /** 拖拽条的位置. */
49
- kgType: {
50
- type: PropType<"left" | "top" | "right" | "bottom">;
51
- default: string;
52
- };
53
- /** 是否禁用. */
54
- kgDisabled: PropType<boolean>;
55
- /** 当前宽度. */
56
- kgWidth: {
57
- type: PropType<number>;
58
- default: number;
59
- };
60
- 'onUpdate:kgWidth': PropType<(value: number) => void>;
61
- /** 最小宽度. */
62
- kgMinWidth: {
63
- type: PropType<number>;
64
- default: number;
65
- };
66
- /** 最大宽度. */
67
- kgMaxWidth: {
68
- type: PropType<number>;
69
- default: number;
70
- };
71
- /** 当前高度. */
72
- kgHeight: {
73
- type: PropType<number>;
74
- default: number;
75
- };
76
- 'onUpdate:kgHeight': PropType<(value: number) => void>;
77
- /** 最小高度. */
78
- kgMinHeight: {
79
- type: PropType<number>;
80
- default: number;
81
- };
82
- /** 最大高度. */
83
- kgMaxHeight: {
84
- type: PropType<number>;
85
- default: number;
86
- };
87
- /** 样式. */
88
- kgClass: PropType<string>;
89
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:kgWidth" | "update:kgHeight")[], "update:kgWidth" | "update:kgHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
90
- /** 拖拽条的位置. */
91
- kgType: {
92
- type: PropType<"left" | "top" | "right" | "bottom">;
93
- default: string;
94
- };
95
- /** 是否禁用. */
96
- kgDisabled: PropType<boolean>;
97
- /** 当前宽度. */
98
- kgWidth: {
99
- type: PropType<number>;
100
- default: number;
101
- };
102
- 'onUpdate:kgWidth': PropType<(value: number) => void>;
103
- /** 最小宽度. */
104
- kgMinWidth: {
105
- type: PropType<number>;
106
- default: number;
107
- };
108
- /** 最大宽度. */
109
- kgMaxWidth: {
110
- type: PropType<number>;
111
- default: number;
112
- };
113
- /** 当前高度. */
114
- kgHeight: {
115
- type: PropType<number>;
116
- default: number;
117
- };
118
- 'onUpdate:kgHeight': PropType<(value: number) => void>;
119
- /** 最小高度. */
120
- kgMinHeight: {
121
- type: PropType<number>;
122
- default: number;
123
- };
124
- /** 最大高度. */
125
- kgMaxHeight: {
126
- type: PropType<number>;
127
- default: number;
128
- };
129
- /** 样式. */
130
- kgClass: PropType<string>;
131
- }>> & {
132
- "onUpdate:kgWidth"?: ((...args: any[]) => any) | undefined;
133
- "onUpdate:kgHeight"?: ((...args: any[]) => any) | undefined;
134
- }, {
135
- kgType: "left" | "top" | "right" | "bottom";
136
- kgWidth: number;
137
- kgMinWidth: number;
138
- kgMaxWidth: number;
139
- kgHeight: number;
140
- kgMinHeight: number;
141
- kgMaxHeight: number;
142
- }>;
143
- export default _default;
@@ -1 +0,0 @@
1
- export { default as KgResizable, type IKgResizableProps } from './KgResizable';
@@ -1,42 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgSearch.less';
3
- export declare const getProps: () => {
4
- /** 是否禁用. */
5
- kgDisabled: {
6
- type: PropType<boolean>;
7
- default: undefined;
8
- };
9
- /** 是否将头部放到页面顶部的导航栏中. */
10
- kgHeaderTeleport: {
11
- type: PropType<boolean>;
12
- default: undefined;
13
- };
14
- };
15
- export declare type IKgSearchProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
16
- declare const _default: import("vue").DefineComponent<{
17
- /** 是否禁用. */
18
- kgDisabled: {
19
- type: PropType<boolean>;
20
- default: undefined;
21
- };
22
- /** 是否将头部放到页面顶部的导航栏中. */
23
- kgHeaderTeleport: {
24
- type: PropType<boolean>;
25
- default: undefined;
26
- };
27
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
- /** 是否禁用. */
29
- kgDisabled: {
30
- type: PropType<boolean>;
31
- default: undefined;
32
- };
33
- /** 是否将头部放到页面顶部的导航栏中. */
34
- kgHeaderTeleport: {
35
- type: PropType<boolean>;
36
- default: undefined;
37
- };
38
- }>>, {
39
- kgDisabled: boolean;
40
- kgHeaderTeleport: boolean;
41
- }>;
42
- export default _default;
@@ -1,39 +0,0 @@
1
- import { FormInstance } from 'ant-design-vue/lib/form/Form';
2
- import { Ref } from 'vue';
3
- import { VarProfileDetail } from '../../apis/WMS/models';
4
- import { IKgResizableProps } from '../KgResizable';
5
- /** 头部高度. */
6
- export declare const HEADER_HEIGHT = 42;
7
- /** 一个查询字段的高度. */
8
- export declare const FORM_ITEM_HEIGHT = 38;
9
- /**
10
- * 根据查询字段计算默认高度.
11
- * 如果搜索字段超过三行(包含三行), 则默认高度为三行的高度, 否则为显示所有字段时的高度.
12
- * 点击头部并展开时, 高度就会设为该默认高度.
13
- *
14
- * @param varProfileDetails 查询字段列表.
15
- * @param headerTeleport 是否将头部放到顶部的导航栏中.
16
- */
17
- export declare function getDefaultHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
18
- /**
19
- * 根据查询字段计算最大高度.
20
- * @param varProfileDetails 查询字段列表.
21
- * @param headerTeleport 是否将头部放到顶部的导航栏中.
22
- */
23
- export declare function getMaxHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
24
- export declare type IUseLayoutHeaderResizeObserver = {};
25
- export declare function _useLayoutHeaderResizeObserver(): IUseLayoutHeaderResizeObserver;
26
- export declare function _useCommon(): {
27
- isVisible: import("vue").ComputedRef<boolean>;
28
- isResizable: import("vue").ComputedRef<boolean>;
29
- isHeaderTeleport: import("vue").ComputedRef<boolean>;
30
- formLevel: import("vue").ComputedRef<number>;
31
- defaultHeight: import("vue").ComputedRef<number>;
32
- maxHeight: import("vue").ComputedRef<number>;
33
- minHeight: import("vue").ComputedRef<1 | 42>;
34
- };
35
- export declare type IUseFormModel = {
36
- /** 设置表单的初始值. */
37
- initFormModel(): void;
38
- };
39
- export declare function _useFormModel(kgResizableRef: Ref<any | null>, formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): IUseFormModel;
@@ -1,22 +0,0 @@
1
- import { PropType } from 'vue';
2
- export declare const getProps: () => {
3
- /** 主页面的页面标识. */
4
- hostFormID: {
5
- type: PropType<string>;
6
- required: boolean;
7
- };
8
- };
9
- declare const _default: import("vue").DefineComponent<{
10
- /** 主页面的页面标识. */
11
- hostFormID: {
12
- type: PropType<string>;
13
- required: boolean;
14
- };
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
- /** 主页面的页面标识. */
17
- hostFormID: {
18
- type: PropType<string>;
19
- required: boolean;
20
- };
21
- }>>, {}>;
22
- export default _default;
@@ -1,14 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const FORM_ID__VAR_PROFILE_CONFIG = "kg-search.VarProfileConfig";
3
- export declare const getProps: () => {
4
- onKgClose: PropType<() => void>;
5
- };
6
- export declare type IKgSearchConfigModalVarProfileConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
7
- declare const _default: import("vue").DefineComponent<{
8
- onKgClose: PropType<() => void>;
9
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
10
- onKgClose: PropType<() => void>;
11
- }>> & {
12
- onKgClose?: ((...args: any[]) => any) | undefined;
13
- }, {}>;
14
- export default _default;
@@ -1,24 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgSearch.ConfigModal.VarProfileMaster.less';
3
- export declare const getProps: () => {
4
- /** 主页面的页面标识. */
5
- hostFormID: {
6
- type: PropType<string>;
7
- required: boolean;
8
- };
9
- };
10
- export declare type IKgSearchConfigModalVarProfileMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
11
- declare const _default: import("vue").DefineComponent<{
12
- /** 主页面的页面标识. */
13
- hostFormID: {
14
- type: PropType<string>;
15
- required: boolean;
16
- };
17
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
18
- /** 主页面的页面标识. */
19
- hostFormID: {
20
- type: PropType<string>;
21
- required: boolean;
22
- };
23
- }>>, {}>;
24
- export default _default;
@@ -1,7 +0,0 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { Ref, UnwrapRef } from 'vue';
3
- import { VarProfileDetail } from '../../../apis/WMS/models';
4
- export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
5
- export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
6
- export declare type IUseDragRow = {};
7
- export declare function _useDragRow(hostFormID: string | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
@@ -1,31 +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
- hostFormID: {
7
- type: PropType<string>;
8
- required: boolean;
9
- };
10
- };
11
- export declare type IKgSearchConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
12
- declare const _default: import("vue").DefineComponent<{
13
- visible: PropType<boolean>;
14
- 'onUpdate:visible': PropType<(value: boolean) => void>;
15
- /** 主页面的页面标识. */
16
- hostFormID: {
17
- type: PropType<string>;
18
- required: boolean;
19
- };
20
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
21
- visible: PropType<boolean>;
22
- 'onUpdate:visible': PropType<(value: boolean) => void>;
23
- /** 主页面的页面标识. */
24
- hostFormID: {
25
- type: PropType<string>;
26
- required: boolean;
27
- };
28
- }>> & {
29
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
30
- }, {}>;
31
- export default _default;
@@ -1,3 +0,0 @@
1
- export { default as KgSearch, type IKgSearchProps } from './KgSearch';
2
- export * from './index.hooks';
3
- export * from './index.store';
@@ -1,41 +0,0 @@
1
- import { ComputedRef } from 'vue';
2
- import { IRemoveEventListenerHandler } from '../../consts';
3
- import { IKgTableSearchParams } from '../KgTable';
4
- import { IKgSearchReadyCb, IKgSearchResetCb, IKgSearchSearchCb, IKgSearchStore } from './index.store';
5
- export declare type IUseKgSearch = {
6
- formID: string;
7
- /** 状态数据. */
8
- store: IKgSearchStore;
9
- /** 是否就绪: 查询字段初始完成, 组件渲染完成. */
10
- isReady: ComputedRef<ReturnType<IKgSearchStore['getIsReady']>>;
11
- /** 表单数据对象. */
12
- model: ComputedRef<ReturnType<IKgSearchStore['getModel']>>;
13
- /** 高级查询的操作符表单数据对象. */
14
- operatorModel: ComputedRef<ReturnType<IKgSearchStore['getOperatorModel']>>;
15
- /** 查询. */
16
- search(param?: boolean | IKgTableSearchParams): void;
17
- /** 重置. */
18
- reset(): void;
19
- /**
20
- * 监听事件: ready, 查询字段初始完成, 组件渲染完成.
21
- * @param cb 回调函数.
22
- * @param once 是否只会触发一次. 默认为 undefined.
23
- * */
24
- onReady(cb: IKgSearchReadyCb, once?: boolean): IRemoveEventListenerHandler;
25
- /**
26
- * 监听事件: search, 点击查询按钮, 并且表单验证通过.
27
- * @param cb 回调函数.
28
- * @param once 是否只会触发一次. 默认为 undefined.
29
- */
30
- onSearch(cb: IKgSearchSearchCb, once?: boolean): IRemoveEventListenerHandler;
31
- /**
32
- * 监听事件: reset, 点击重置按钮.
33
- * @param cb 回调函数.
34
- * @param once 是否只会触发一次. 默认为 undefined.
35
- */
36
- onReset(cb: IKgSearchResetCb, once?: boolean): IRemoveEventListenerHandler;
37
- };
38
- /**
39
- * @param formID 界面标识.
40
- */
41
- export declare function useKgSearch(formID?: string | null): IUseKgSearch;