@kengic/vue 0.23.1 → 0.23.3-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +7559 -7122
  4. package/dist/setting-outlined.7f72790b.mjs +8 -0
  5. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +2 -0
  6. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +2 -0
  7. package/dist/src/apis/WMS/models.d.ts +9 -9
  8. package/dist/src/components/KgButton/KgButton.Item.d.ts +15 -15
  9. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +15 -15
  10. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +14 -14
  11. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +14 -14
  12. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +15 -15
  13. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +14 -14
  14. package/dist/src/components/KgButton/components/KgButton.ExportTemplate.d.ts +14 -14
  15. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +14 -14
  16. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +15 -15
  17. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +15 -15
  18. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +14 -14
  19. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  20. package/dist/src/components/KgForm/index.d.ts +4 -4
  21. package/dist/src/components/KgModal/KgModal.d.ts +105 -21
  22. package/dist/src/components/KgModal/KgModal.service.d.ts +1 -1
  23. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +18 -0
  24. package/dist/src/components/KgResizable/KgResizable.d.ts +4 -4
  25. package/dist/src/components/KgSearch/index.hooks.d.ts +1 -7
  26. package/dist/src/components/KgSearch/index.store.d.ts +3 -3
  27. package/dist/src/components/KgSubmit/index.hooks.d.ts +4 -4
  28. package/dist/src/components/KgSubmit/index.store.d.ts +9 -2
  29. package/dist/src/components/KgVar/index.hooks.d.ts +7 -1
  30. package/dist/src/components/KgVar/index.store.d.ts +5 -1
  31. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +1 -1
  32. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +6 -23
  33. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -16
  34. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +4 -21
  35. package/dist/src/components/KgVarConfig/index.d.ts +1 -0
  36. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  37. package/dist/src/components/KgVarConfig/index.store.d.ts +11 -5
  38. package/dist/src/components/KgVarConfig/index.vm.d.ts +8 -0
  39. package/dist/src/consts/i18n/en.d.ts +21 -4
  40. package/dist/src/consts/i18n/zh_CN.d.ts +21 -4
  41. package/dist/src/consts/index.vm.d.ts +74 -64
  42. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  43. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -1
  44. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +111 -192
  45. package/dist/src/pages/KgPageDda/{index.const.d.ts → index.vm.d.ts} +1 -0
  46. package/dist/src/services/http-client.d.ts +6 -4
  47. package/dist/src/utils/kg-var.util.d.ts +31 -1
  48. package/dist/src/utils/kg.util.d.ts +38 -35
  49. package/package.json +1 -1
@@ -5,6 +5,7 @@ import { IUseKgForm } from '../KgForm';
5
5
  import { type IUseKgSearch } from '../KgSearch';
6
6
  import { IUseKgSubmit } from '../KgSubmit';
7
7
  import { IUseKgTable } from '../KgTable';
8
+ import { IUseKgVarConfig } from '../KgVarConfig';
8
9
  import { IKgVarRetrieveEventListener, IKgVarStore } from './index.store';
9
10
  export declare type IUseKgVar = {
10
11
  /** 当前的 VarGridDetail 列表. */
@@ -85,6 +86,7 @@ export declare type IUseKgVar = {
85
86
  kgSearch: IUseKgSearch;
86
87
  kgSubmit: IUseKgSubmit;
87
88
  kgTable: IUseKgTable;
89
+ kgVarConfig: IUseKgVarConfig;
88
90
  /**
89
91
  * 界面层级.
90
92
  */
@@ -98,8 +100,12 @@ export declare type IUseKgVar = {
98
100
  onRetrieve(cb: IKgVarRetrieveEventListener, once?: boolean): IRemoveEventListenerHandler;
99
101
  /**
100
102
  * 查询所有变量配置.
103
+ *
104
+ * @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
101
105
  */
102
- requestAll(): Promise<void>;
106
+ requestAll(param?: {
107
+ isForceRequest?: boolean;
108
+ }): Promise<void>;
103
109
  /** 状态数据. */
104
110
  store: IKgVarStore;
105
111
  /** 系统的 VarGridDetail 列表. */
@@ -216,8 +216,12 @@ export interface IUseKgVarStoreActions {
216
216
  * 查询所有变量配置.
217
217
  *
218
218
  * @param formID 界面标识.
219
+ * @param param 参数.
220
+ * @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
219
221
  */
220
- requestAll(formID: string | null | undefined): Promise<void>;
222
+ requestAll(formID: string | null | undefined, param?: {
223
+ isForceRequest?: boolean;
224
+ }): Promise<void>;
221
225
  /**
222
226
  * 设置当前选择的表格视图的 ID.
223
227
  * @param formID 界面标识.
@@ -3,7 +3,7 @@ export declare const getProps: () => {
3
3
  visible: PropType<boolean>;
4
4
  'onUpdate:visible': PropType<(value: boolean) => void>;
5
5
  };
6
- export declare type IKgVarConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
6
+ export declare type KgVarConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
7
7
  declare const _default: import("vue").DefineComponent<{
8
8
  visible: PropType<boolean>;
9
9
  'onUpdate:visible': PropType<(value: boolean) => void>;
@@ -1,24 +1,7 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const FORM_ID__VAR_BUTTON = "kg-button.VarButton";
3
- export declare const getProps: () => {
4
- /** 主页面的页面标识. */
5
- hostFormID: {
6
- type: PropType<string>;
7
- required: boolean;
8
- };
9
- };
10
- export declare type IKgVarConfigModalButtonVarButtonProps = 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
- }>>, {}>;
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type IKgVarConfig_ModalButtonVarButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
24
7
  export default _default;
@@ -1,27 +1,11 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const FORM_ID__VAR_BUTTON_CONFIG = "kg-button.VarButtonConfig";
3
2
  export declare const getProps: () => {
4
- /** 主页面的页面标识. */
5
- hostFormID: {
6
- type: PropType<string>;
7
- required: boolean;
8
- };
9
3
  onKgClose: PropType<() => void>;
10
4
  };
11
5
  export declare type IKgVarConfigModalButtonVarButtonConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
12
6
  declare const _default: import("vue").DefineComponent<{
13
- /** 主页面的页面标识. */
14
- hostFormID: {
15
- type: PropType<string>;
16
- required: boolean;
17
- };
18
7
  onKgClose: PropType<() => void>;
19
8
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
20
- /** 主页面的页面标识. */
21
- hostFormID: {
22
- type: PropType<string>;
23
- required: boolean;
24
- };
25
9
  onKgClose: PropType<() => void>;
26
10
  }>> & {
27
11
  onKgClose?: ((...args: any[]) => any) | undefined;
@@ -1,22 +1,5 @@
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
- }>>, {}>;
1
+ export declare const getProps: () => any;
2
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
3
+ [x: string]: any;
4
+ }>;
22
5
  export default _default;
@@ -1,2 +1,3 @@
1
1
  export { default as KgVarConfig } from './KgVarConfig';
2
+ export * from './index.hooks';
2
3
  export * from './index.store';
@@ -0,0 +1,17 @@
1
+ import { IKgVarConfigStore } from './index.store';
2
+ export interface IUseKgVarConfig {
3
+ /**
4
+ * 打开变量配置弹窗, 并使用传入的宿主界面标识.
5
+ *
6
+ * @param hostFormID 宿主界面标识
7
+ */
8
+ open(hostFormID: string): void;
9
+ /**
10
+ * 状态数据.
11
+ */
12
+ store: IKgVarConfigStore;
13
+ }
14
+ /**
15
+ * @param formID 界面标识.
16
+ */
17
+ export declare function useKgVarConfig(formID?: string | null): IUseKgVarConfig;
@@ -5,21 +5,27 @@ export interface IUseKgVarConfigStoreState {
5
5
  * 变量.
6
6
  */
7
7
  variable: {
8
- /**
9
- * 当前选中的变量.
10
- */
11
- currentVarVariable: VarVariable | null;
12
8
  /**
13
9
  * 当前选中的变量翻译.
14
10
  */
15
11
  currentVarConfigDescription: VarConfigDescription | null;
12
+ /**
13
+ * 当前选中的变量.
14
+ */
15
+ currentVarVariable: VarVariable | null;
16
16
  };
17
17
  }
18
18
  export interface IUseKgVarConfigStoreGetters {
19
- getCurrentVarVariable: VarVariable | null;
20
19
  getCurrentVarConfigDescription: VarConfigDescription | null;
20
+ getCurrentVarVariable: VarVariable | null;
21
21
  }
22
22
  export interface IUseKgVarConfigStoreActions {
23
+ /**
24
+ * 打开变量配置弹窗, 并使用传入的宿主界面标识.
25
+ *
26
+ * @param hostFormID 宿主界面标识
27
+ */
28
+ open(hostFormID: string): void;
23
29
  setCurrentVarConfigDescription(variable: VarConfigDescription | null): void;
24
30
  }
25
31
  export declare type IUseKgVarConfigStore = StoreDefinition<'KgVarConfig', IUseKgVarConfigStoreState, IUseKgVarConfigStoreGetters, IUseKgVarConfigStoreActions>;
@@ -1,6 +1,14 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
2
  /** 正在被配置的界面标识. */
3
3
  export declare const DI__KG_VAR_CONFIG__HOST_FORM_ID: InjectionKey<Ref<string | null>>;
4
+ /**
5
+ * 界面标识: 变量配置弹窗:按钮:按钮管理.
6
+ */
7
+ export declare const FORM_ID__BUTTON__VAR_BUTTON = "KgVarConfig.Modal.Button.VarButton";
8
+ /**
9
+ * 界面标识: 变量配置弹窗:按钮:按钮配置.
10
+ */
11
+ export declare const FORM_ID__BUTTON__VAR_BUTTON_CONFIG = "KgVarConfig.Modal.Button.VarButtonConfig";
4
12
  /**
5
13
  * 界面标识: 变量配置弹窗:变量配置:变量列表.
6
14
  */
@@ -6,11 +6,23 @@ declare const _default: {
6
6
  sys: string;
7
7
  tooltip: string;
8
8
  };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
9
13
  KgFormItem: {
10
- mustGT: string;
11
- mustGTE: string;
12
- mustLT: string;
13
- mustLTE: string;
14
+ formValidationMessageForGT: string;
15
+ formValidationMessageForGTE: string;
16
+ formValidationMessageForInvalidFloat: string;
17
+ formValidationMessageForInvalidInteger: string;
18
+ formValidationMessageForInvalidJSON: string;
19
+ formValidationMessageForInvalidLetter: string;
20
+ formValidationMessageForInvalidLowerLetter: string;
21
+ formValidationMessageForInvalidUpperLetter: string;
22
+ formValidationMessageForLT: string;
23
+ formValidationMessageForLTE: string;
24
+ formValidationMessageForMaxLength: string;
25
+ formValidationMessageForMinLength: string;
14
26
  };
15
27
  KgPageDdaCreate: {
16
28
  'confirm-cancel': string;
@@ -143,6 +155,7 @@ declare const _default: {
143
155
  KgTableSettingVarGridMasterSaveAs: {
144
156
  title: string;
145
157
  };
158
+ KgVar: {};
146
159
  KgVarConfig: {
147
160
  action: string;
148
161
  allForm: string;
@@ -157,7 +170,10 @@ declare const _default: {
157
170
  deleteSuccess: string;
158
171
  discardConfirmMessage: string;
159
172
  formId: string;
173
+ formValidationMessageForMaxAndMin: string;
174
+ formValidationMessageForMaxLengthAndMinLength: string;
160
175
  groupName: string;
176
+ pleaseSelectVariableFromLeft: string;
161
177
  required: string;
162
178
  saveSuccess: string;
163
179
  tabButton: string;
@@ -214,6 +230,7 @@ declare const _default: {
214
230
  export: string;
215
231
  exportSuccess: string;
216
232
  formId: string;
233
+ formValidationFail: string;
217
234
  import: string;
218
235
  'import-template': string;
219
236
  importSuccess: string;
@@ -6,11 +6,23 @@ declare const _default: {
6
6
  sys: string;
7
7
  tooltip: string;
8
8
  };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
9
13
  KgFormItem: {
10
- mustGT: string;
11
- mustGTE: string;
12
- mustLT: string;
13
- mustLTE: string;
14
+ formValidationMessageForGT: string;
15
+ formValidationMessageForGTE: string;
16
+ formValidationMessageForInvalidFloat: string;
17
+ formValidationMessageForInvalidInteger: string;
18
+ formValidationMessageForInvalidJSON: string;
19
+ formValidationMessageForInvalidLetter: string;
20
+ formValidationMessageForInvalidLowerLetter: string;
21
+ formValidationMessageForInvalidUpperLetter: string;
22
+ formValidationMessageForLT: string;
23
+ formValidationMessageForLTE: string;
24
+ formValidationMessageForMaxLength: string;
25
+ formValidationMessageForMinLength: string;
14
26
  };
15
27
  KgPageDdaCreate: {
16
28
  'confirm-cancel': string;
@@ -143,6 +155,7 @@ declare const _default: {
143
155
  KgTableSettingVarGridMasterSaveAs: {
144
156
  title: string;
145
157
  };
158
+ KgVar: {};
146
159
  KgVarConfig: {
147
160
  action: string;
148
161
  allForm: string;
@@ -157,7 +170,10 @@ declare const _default: {
157
170
  deleteSuccess: string;
158
171
  discardConfirmMessage: string;
159
172
  formId: string;
173
+ formValidationMessageForMaxAndMin: string;
174
+ formValidationMessageForMaxLengthAndMinLength: string;
160
175
  groupName: string;
176
+ pleaseSelectVariableFromLeft: string;
161
177
  saveSuccess: string;
162
178
  tabButton: string;
163
179
  tabSearch: string;
@@ -213,6 +229,7 @@ declare const _default: {
213
229
  export: string;
214
230
  exportSuccess: string;
215
231
  formId: string;
232
+ formValidationFail: string;
216
233
  import: string;
217
234
  'import-template': string;
218
235
  importSuccess: string;
@@ -103,6 +103,28 @@ export declare const enum KG_FORM_CONTEXT {
103
103
  */
104
104
  TABLE = "TABLE"
105
105
  }
106
+ /**
107
+ * 定制级别.
108
+ */
109
+ export declare const enum KG_CUSTOM_LEVEL {
110
+ /**
111
+ * 系统.
112
+ */
113
+ L0 = 0,
114
+ /**
115
+ * 用户.
116
+ */
117
+ L10 = 10
118
+ }
119
+ /**
120
+ * 接口请求方式.
121
+ */
122
+ export declare enum KG__API_METHOD {
123
+ GET = "GET",
124
+ POST = "POST",
125
+ DELETE = "DELETE",
126
+ PUT = "PUT"
127
+ }
106
128
  /**
107
129
  * 表格单元格的显示类型.
108
130
  * @see VarGridDetail.display_type_properties
@@ -111,16 +133,6 @@ export declare const enum KG_FORM_CONTEXT {
111
133
  export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
112
134
  /** 布尔数据, 使用 KgYesOrNo 组件显示. */
113
135
  YN = "YN",
114
- /** 枚举数据, 使用 Tag 组件显示. */
115
- ENUM = "ENUM",
116
- /** 进度条, 使用 KgProgressA 组件显示. */
117
- PROGRESS = "PROGRESS",
118
- /** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
119
- FILE_SIZE = "FILE_SIZE",
120
- /** 超链接, 点击打开更新弹窗. */
121
- UPDATE_LINK = "UPDATE_LINK",
122
- /** 超链接, 点击跳转到其他路由. */
123
- ROUTE_LINK = "ROUTE_LINK",
124
136
  /**
125
137
  * <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
126
138
  * <p>
@@ -135,6 +147,16 @@ export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
135
147
  * </p>
136
148
  */
137
149
  DESC = "DESC",
150
+ /** @deprecated 请使用 {@link KG_TABLE_CELL_DISPLAY_TYPE.DESC}. */
151
+ ENUM = "ENUM",
152
+ /** 进度条, 使用 KgProgressA 组件显示. */
153
+ PROGRESS = "PROGRESS",
154
+ /** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
155
+ FILE_SIZE = "FILE_SIZE",
156
+ /** 超链接, 点击打开更新弹窗. */
157
+ UPDATE_LINK = "UPDATE_LINK",
158
+ /** 超链接, 点击跳转到其他页面. */
159
+ ROUTE_LINK = "ROUTE_LINK",
138
160
  /**
139
161
  * <p>图片, 可以点击预览大图.</p>
140
162
  */
@@ -161,18 +183,32 @@ export declare const enum KG_BUTTON_TYPE {
161
183
  /** 其他. */
162
184
  OTHER = "OTHER"
163
185
  }
164
- /** 按钮颜色. */
165
- export declare const enum KG_BUTTON_COLOR {
166
- /** 错误. */
167
- DANGER = "DANGER",
168
- /** 警告. */
169
- WARN = "WARN"
186
+ /**
187
+ * 按钮颜色.
188
+ */
189
+ export declare const enum KG__VAR_BUTTON__COLOR {
190
+ /**
191
+ * 蓝色.
192
+ */
193
+ BLUE = "BLUE",
194
+ /**
195
+ * 红色.
196
+ */
197
+ RED = "RED",
198
+ /**
199
+ * 黄色.
200
+ */
201
+ YELLOW = "YELLOW"
170
202
  }
171
203
  /** 按钮显示方式. */
172
- export declare const enum KG_BUTTON_DISPLAY_TYPE {
173
- /** 按钮依次排列在一横排. */
204
+ export declare const enum KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE {
205
+ /**
206
+ * 按钮依次排列在一横排.
207
+ */
174
208
  DEFAULT = "DEFAULT",
175
- /** 显示为下拉的菜单列表. */
209
+ /**
210
+ * 显示为下拉的菜单列表.
211
+ */
176
212
  SELECT = "SELECT"
177
213
  }
178
214
  /** 表单显示方式. */
@@ -208,7 +244,7 @@ export declare const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
208
244
  /**
209
245
  * 整数.
210
246
  */
211
- INTERGER = "INTERGER",
247
+ INTEGER = "INTEGER",
212
248
  /**
213
249
  * 小数.
214
250
  */
@@ -224,14 +260,18 @@ export declare const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
224
260
  /**
225
261
  * 小写英文字母.
226
262
  */
227
- LOWER_CASE_LETTER = "LOWER_CASE_LETTER"
263
+ LOWER_CASE_LETTER = "LOWER_CASE_LETTER",
264
+ /**
265
+ * JSON.
266
+ */
267
+ JSON = "JSON"
228
268
  }
229
269
  /**
230
270
  * 变量配置:表单输入验证:验证方式.
231
271
  */
232
272
  export declare const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
233
273
  /**
234
- * 配置选项.
274
+ * 配置.
235
275
  */
236
276
  OPTIONS = "OPTIONS",
237
277
  /**
@@ -239,32 +279,6 @@ export declare const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
239
279
  */
240
280
  REGULAR_EXPRESSION = "REGULAR_EXPRESSION"
241
281
  }
242
- /**
243
- * 变量配置:表单输入验证:转换大小写的方式.
244
- */
245
- export declare const enum KG__VAR_CONFIG_INPUT__CASE_CONVERSION_TYPE {
246
- /**
247
- * 转换为大写.
248
- */
249
- TO_UPPER = "TO_UPPER",
250
- /**
251
- * 转换为小写.
252
- */
253
- TO_LOWER = "TO_LOWER"
254
- }
255
- /**
256
- * 定制级别.
257
- */
258
- export declare const enum KG_CUSTOM_LEVEL {
259
- /**
260
- * 系统.
261
- */
262
- L0 = 0,
263
- /**
264
- * 用户.
265
- */
266
- L10 = 10
267
- }
268
282
  /**
269
283
  * 变量配置:提示文本:位置.
270
284
  */
@@ -285,15 +299,6 @@ export declare enum KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE {
285
299
  API = "API",
286
300
  SQL = "SQL"
287
301
  }
288
- /**
289
- * 变量配置:下拉列表:接口请求方式.
290
- */
291
- export declare enum KG__VAR_CONFIG_POSSIBILITY__API_METHOD {
292
- GET = "GET",
293
- POST = "POST",
294
- DELETE = "DELETE",
295
- PUT = "PUT"
296
- }
297
302
  /**
298
303
  * 变量配置:下拉列表:值的类型.
299
304
  */
@@ -316,14 +321,16 @@ export declare enum KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE {
316
321
  BOOLEAN = "BOOLEAN"
317
322
  }
318
323
  /** 宽度单位. */
319
- export declare const enum KG_WIDTH_UNIT {
324
+ export declare const enum KG__VAR_SUBMIT_CONFIG_LABEL_COLUMN_UNIT {
320
325
  /** 网格. */
321
326
  SPAN = "SPAN",
322
327
  /** 像素. */
323
328
  PX = "PX"
324
329
  }
325
- /** EXCEL 文件后缀. */
326
- export declare const enum KG_EXCEL_SUFFIX {
330
+ /**
331
+ * 导出 EXCEL 文件的后缀.
332
+ */
333
+ export declare const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
327
334
  XLS = "xls",
328
335
  XLSX = "xlsx"
329
336
  }
@@ -369,14 +376,17 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
369
376
  export declare enum KG_HTTP_HEADERS {
370
377
  /** 界面标识. */
371
378
  KG_FORM_ID = "Kg-Form-Id",
379
+ KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name",
372
380
  /** 是否启用高级查询. */
373
381
  KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query",
374
- /** 拼接后的查询 SQL: WHERE + ORDER BY. */
375
- KG_QUERY_SQL = "Kg-Query-Sql",
376
- /** 拼接后的查询 SQL: WHERE. */
382
+ /** 查询语句中的 WHERE 片段. */
377
383
  KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
378
- /** 拼接后的查询 SQL: ORDER BY. */
384
+ /** 查询语句中的 ORDER BY 片段. */
379
385
  KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
386
+ /** 查询语句中的 OFFSET 片段. */
387
+ KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql",
388
+ /** 查询语句中的 WHERE + ORDER BY + OFFSET 片段. */
389
+ KG_QUERY_SQL = "Kg-Query-Sql",
380
390
  /**
381
391
  * <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
382
392
  * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
@@ -6,7 +6,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
6
6
  import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
7
7
  import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
8
8
  export declare const formProps: () => {
9
- layout: PropType<"horizontal" | "inline" | "vertical">;
9
+ layout: PropType<"inline" | "horizontal" | "vertical">;
10
10
  labelCol: {
11
11
  type: PropType<Partial<ExtractPropTypes<{
12
12
  span: (NumberConstructor | StringConstructor)[];
@@ -1,7 +1,6 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  export declare const getProps: () => any;
3
3
  export declare type IKgPageDdaCreateButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
- export declare const FORM_ID = "KgPageDda.Create.Button";
5
4
  declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
6
5
  [x: string]: any;
7
6
  }>;