@kengic/vue 0.28.1-beta.2 → 0.28.1-beta.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/dist/caret-right-outlined-Btgsw6a_.4380e153.mjs +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +63096 -62509
  4. package/dist/project/build/vite/plugin/index.ts +2 -3
  5. package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
  6. package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +1 -0
  7. package/dist/src/api/WMS/Controllers/index.d.ts +1 -0
  8. package/dist/src/api/WMS/models.d.ts +15 -1
  9. package/dist/src/component/KgButton/KgButton.event.d.ts +20 -6
  10. package/dist/src/component/KgButton/KgButton.hooks.d.ts +16 -2
  11. package/dist/src/component/KgVarConfig/KgVarConfig.vm.d.ts +0 -5
  12. package/dist/src/const/const.vm.d.ts +17 -0
  13. package/dist/src/const/form-id.const.d.ts +11 -0
  14. package/dist/src/const/index.d.ts +2 -1
  15. package/dist/src/i18n/cs_CZ.d.ts +275 -0
  16. package/dist/src/i18n/en.d.ts +1 -0
  17. package/dist/src/i18n/es_ES.d.ts +1 -0
  18. package/dist/src/i18n/fr_FR.d.ts +1 -0
  19. package/dist/src/i18n/i18n.setup.d.ts +4 -3
  20. package/dist/src/i18n/km_KH.d.ts +1 -0
  21. package/dist/src/i18n/ko_KR.d.ts +1 -0
  22. package/dist/src/i18n/vi_VN.d.ts +1 -0
  23. package/dist/src/i18n/zh_CN.d.ts +1 -0
  24. package/dist/src/page/KgPageSqlClient/KgPageSqlClient.d.ts +12 -0
  25. package/dist/src/page/KgPageSqlClient/index.d.ts +1 -0
  26. package/dist/src/page/index.d.ts +0 -2
  27. package/dist/src/project/src/api/index.d.ts +1 -0
  28. package/dist/src/project/src/api/sys/menu.d.ts +4 -0
  29. package/dist/src/project/types/config.d.ts +2 -1
  30. package/dist/src/service/http-client.d.ts +2 -0
  31. package/dist/src/util/kg.util.d.ts +6 -0
  32. package/package.json +4 -4
  33. package/dist/src/page/KgPageDda/KgPageDda.vm.d.ts +0 -12
  34. /package/dist/{close-outlined-DMcSQWxQ.9ca932eb.mjs → close-outlined-DMcSQWxQ.2367494e.mjs} +0 -0
  35. /package/dist/{exclamation-circle-outlined-DZrXCnvM.217ef68f.mjs → exclamation-circle-outlined-DZrXCnvM.ecd69a72.mjs} +0 -0
  36. /package/dist/{fullscreen-exit-outlined-X1iYkFc4.1e8e8688.mjs → fullscreen-exit-outlined-X1iYkFc4.b008e9dd.mjs} +0 -0
  37. /package/dist/{fullscreen-outlined-DDBrsRcy.b539229d.mjs → fullscreen-outlined-DDBrsRcy.b14d8121.mjs} +0 -0
  38. /package/dist/{search-outlined-Od1M_oxf.fd26a590.mjs → search-outlined-Od1M_oxf.27b4ca63.mjs} +0 -0
  39. /package/dist/{three-dots-loading-bIlrTJYR.4bf0b865.mjs → three-dots-loading-bIlrTJYR.f6fb9f4d.mjs} +0 -0
@@ -18,15 +18,14 @@ import { configThemePlugin } from './theme';
18
18
  import { configVisualizerConfig } from './visualizer';
19
19
 
20
20
  export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
21
- const { VITE_USE_IMAGEMIN, VITE_LEGACY, VITE_BUILD_COMPRESS, VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
21
+ const { VITE_USE_IMAGEMIN, VITE_LEGACY, VITE_BUILD_COMPRESS, VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
22
22
 
23
23
  const vitePlugins: (PluginOption | PluginOption[])[] = [
24
- // have to
25
24
  vue({
26
25
  template: {
27
26
  compilerOptions: {
28
27
  isCustomElement: (tag) => {
29
- if (['kg-var-config', 'kg-work-station'].includes(tag)) {
28
+ if (tag.startsWith('kg-')) {
30
29
  return true;
31
30
  }
32
31
 
@@ -0,0 +1,16 @@
1
+ import { IRequestConfig, IRequestOptions } from '../../../../service';
2
+ import * as DEF from '../../../def';
3
+ /** 请求参数. */
4
+ export declare class ExecuteQuery {
5
+ }
6
+ /**
7
+ * 执行语句.
8
+ *
9
+ * @param config 请求配置.
10
+ * @param option 请求选项.
11
+ */
12
+ export declare function Execute(config?: IRequestConfig<ExecuteQuery, DEF.WMS.ExecuteQuery>, option?: IRequestOptions): Promise<Array<DEF.WMS.ExecuteResultDTO>>;
13
+ export declare namespace Execute {
14
+ var method: "POST";
15
+ var url: string;
16
+ }
@@ -0,0 +1 @@
1
+ export { Execute, ExecuteQuery } from './Execute';
@@ -1,4 +1,5 @@
1
1
  export * as DescriptionController from './DescriptionController';
2
+ export * as SqlClientController from './SqlClientController';
2
3
  export * as SysPermissionController from './SysPermissionController';
3
4
  export * as VarController from './VarController';
4
5
  export * as VarConfigDescriptionController from './VarConfigDescriptionController';
@@ -138,6 +138,20 @@ export declare class DescriptionDTO {
138
138
  version?: number | null;
139
139
  constructor(obj?: DescriptionDTO);
140
140
  }
141
+ /** 执行语句的参数. */
142
+ export declare class ExecuteQuery {
143
+ /** SQL. */
144
+ sql?: string | null;
145
+ constructor(obj?: ExecuteQuery);
146
+ }
147
+ /** 执行语句的结果. */
148
+ export declare class ExecuteResultDTO {
149
+ /** 执行结果消息. */
150
+ message?: string | null;
151
+ /** 该结果对应的语句. */
152
+ sql?: string | null;
153
+ constructor(obj?: ExecuteResultDTO);
154
+ }
141
155
  /** 获取 SQL 查询结果的元数据. */
142
156
  export declare class GetResultSetMetadataFromSqlQuery {
143
157
  /** SQL. */
@@ -1056,7 +1070,7 @@ export declare class WorkstationDTO {
1056
1070
  /** 仓库. */
1057
1071
  whId?: string | null;
1058
1072
  /** 工作站与工作区域关系. */
1059
- workstationAreas?: Array<WorkstationAreaDTO> | null;
1073
+ workstationAndAreaRelationshipDTOList?: Array<WorkstationAreaDTO> | null;
1060
1074
  constructor(obj?: WorkstationDTO);
1061
1075
  }
1062
1076
  /**
@@ -4,7 +4,7 @@ import { IRequestConfig, IRequestOptions } from '../../service';
4
4
  /**
5
5
  * 事件类型.
6
6
  */
7
- export declare type IKgButtonEvent = 'onClick' | 'onImportOk' | 'onSubmitSave' | 'onSubmitCancel' | 'onBeforeRequest' | 'onAfterRequest';
7
+ export declare type IKgButtonEvent = 'onClick' | 'onError' | 'onImportBeforeUpload' | 'onImportOk' | 'onSubmitSave' | 'onSubmitCancel' | 'onBeforeRequest' | 'onAfterRequest';
8
8
  export declare type IKgButtonOnClickEventListenerParameter = {
9
9
  /**
10
10
  * 被点击的按钮.
@@ -12,10 +12,22 @@ export declare type IKgButtonOnClickEventListenerParameter = {
12
12
  button: VarButton;
13
13
  };
14
14
  export declare type IKgButtonOnClickEventListener = ((param: IKgButtonOnClickEventListenerParameter) => Promise<boolean>) & IKgEventListener;
15
+ export declare type IKgButtonOnImportBeforeUploadEventListenerParameter = {
16
+ button?: VarButton | null;
17
+ };
18
+ export declare type IKgButtonOnImportBeforeUploadEventListener = ((param: IKgButtonOnImportBeforeUploadEventListenerParameter) => Promise<boolean>) & IKgEventListener;
15
19
  export declare type IKgButtonOnImportOkEventListenerParameter = {
16
20
  button?: VarButton | null;
17
21
  };
18
22
  export declare type IKgButtonOnImportOkEventListener = ((param: IKgButtonOnImportOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
23
+ export declare type IKgButtonOnErrorEventListenerParameter = {
24
+ button?: VarButton | null;
25
+ /**
26
+ * 异常对象.
27
+ */
28
+ e?: any;
29
+ };
30
+ export declare type IKgButtonOnErrorEventListener = ((param: IKgButtonOnErrorEventListenerParameter) => Promise<boolean>) & IKgEventListener;
19
31
  export declare type IKgButtonOnSubmitSaveEventListenerParameter = {};
20
32
  export declare type IKgButtonOnSubmitSaveEventListener = ((param: IKgButtonOnSubmitSaveEventListenerParameter) => Promise<boolean>) & IKgEventListener;
21
33
  export declare type IKgButtonOnSubmitCancelEventListenerParameter = {};
@@ -35,15 +47,17 @@ export declare type IKgButtonOnAfterRequestEventListenerParameter = {
35
47
  varButton: VarButton;
36
48
  };
37
49
  export declare type IKgButtonOnAfterRequestEventListener = ((param: IKgButtonOnAfterRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
38
- export declare type IKgButtonEventListenerParameter = IKgButtonOnClickEventListenerParameter | IKgButtonOnImportOkEventListenerParameter | IKgButtonOnSubmitSaveEventListenerParameter | IKgButtonOnSubmitCancelEventListenerParameter | IKgButtonOnBeforeRequestEventListenerParameter | IKgButtonOnAfterRequestEventListenerParameter;
39
- export declare type IKgButtonEventListener = IKgButtonOnClickEventListener | IKgButtonOnImportOkEventListener | IKgButtonOnSubmitSaveEventListener | IKgButtonOnSubmitCancelEventListener | IKgButtonOnBeforeRequestEventListener | IKgButtonOnAfterRequestEventListener;
50
+ export declare type IKgButtonEventListenerParameter = IKgButtonOnClickEventListenerParameter | IKgButtonOnImportBeforeUploadEventListenerParameter | IKgButtonOnImportOkEventListenerParameter | IKgButtonOnErrorEventListenerParameter | IKgButtonOnSubmitSaveEventListenerParameter | IKgButtonOnSubmitCancelEventListenerParameter | IKgButtonOnBeforeRequestEventListenerParameter | IKgButtonOnAfterRequestEventListenerParameter;
51
+ export declare type IKgButtonEventListener = IKgButtonOnClickEventListener | IKgButtonOnImportBeforeUploadEventListener | IKgButtonOnImportOkEventListener | IKgButtonOnErrorEventListener | IKgButtonOnSubmitSaveEventListener | IKgButtonOnSubmitCancelEventListener | IKgButtonOnBeforeRequestEventListener | IKgButtonOnAfterRequestEventListener;
40
52
  export declare const eventListeners: Record<string, {
53
+ onAfterRequest: Array<IKgButtonOnAfterRequestEventListener>;
54
+ onBeforeRequest: Array<IKgButtonOnBeforeRequestEventListener>;
41
55
  onClick: Array<IKgButtonOnClickEventListener>;
56
+ onImportBeforeUpload: Array<IKgButtonOnImportBeforeUploadEventListener>;
57
+ onError: Array<IKgButtonOnErrorEventListener>;
42
58
  onImportOk: Array<IKgButtonOnImportOkEventListener>;
43
- onSubmitSave: Array<IKgButtonOnSubmitSaveEventListener>;
44
59
  onSubmitCancel: Array<IKgButtonOnSubmitCancelEventListener>;
45
- onBeforeRequest: Array<IKgButtonOnBeforeRequestEventListener>;
46
- onAfterRequest: Array<IKgButtonOnAfterRequestEventListener>;
60
+ onSubmitSave: Array<IKgButtonOnSubmitSaveEventListener>;
47
61
  }>;
48
62
  /**
49
63
  * 触发事件.
@@ -2,7 +2,7 @@ import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
3
  import { VarButton, VarButtonConfig } from '../../api/WMS/models';
4
4
  import { KG__VAR_BUTTON__TYPE } from '../../const';
5
- import { eventListeners, IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './KgButton.event';
5
+ import { eventListeners, IKgButtonOnAfterRequestEventListener, IKgButtonOnBeforeRequestEventListener, IKgButtonOnClickEventListener, IKgButtonOnErrorEventListener, IKgButtonOnImportBeforeUploadEventListener, IKgButtonOnImportOkEventListener, IKgButtonOnSubmitCancelEventListener, IKgButtonOnSubmitSaveEventListener } from './KgButton.event';
6
6
  import { IKgButtonStore } from './KgButton.store';
7
7
  export interface IUseKgButton {
8
8
  /**
@@ -108,7 +108,21 @@ export interface IUseKgButton {
108
108
  */
109
109
  onClick(listener: IKgButtonOnClickEventListener, isOnce?: boolean): IRemoveEventListener;
110
110
  /**
111
- * 监听事件: 导入成功, 导入接口调用成功.
111
+ * 监听事件: 执行失败.
112
+ *
113
+ * @param listener 事件监听函数.
114
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
115
+ */
116
+ onError(listener: IKgButtonOnErrorEventListener, isOnce?: boolean): IRemoveEventListener;
117
+ /**
118
+ * 监听事件: 导入按钮, 上传请求发起之前.
119
+ *
120
+ * @param listener 事件监听函数.
121
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
122
+ */
123
+ onImportBeforeUpload(listener: IKgButtonOnImportBeforeUploadEventListener, isOnce?: boolean): IRemoveEventListener;
124
+ /**
125
+ * 监听事件: 导入按钮, 导入成功, 导入接口调用成功.
112
126
  *
113
127
  * @param listener 事件监听函数.
114
128
  * @param isOnce 是否只会触发一次. 默认为 undefined.
@@ -33,10 +33,6 @@ export declare const FORM_ID__VAR__VAR_CONFIG_LOOKUP__VAR_DDA = "KgVarConfig.Mod
33
33
  * 界面标识: 变量配置弹窗:变量配置:提示文本.
34
34
  */
35
35
  export declare const FORM_ID__VAR__VAR_CONFIG_TIP = "KgVarConfig.Modal.Var.VarConfigTip";
36
- /**
37
- * 界面标识: 变量配置弹窗:按钮:按钮管理.
38
- */
39
- export declare const FORM_ID__BUTTON__VAR_BUTTON = "KgVarConfig.Modal.Button.VarButton";
40
36
  /**
41
37
  * 界面标识: 变量配置弹窗:按钮:按钮配置.
42
38
  */
@@ -46,5 +42,4 @@ export declare const FORM_ID__SEARCH__VAR_PROFILE_CONFIG = "KgSearch.ConfigModal
46
42
  export declare const FORM_ID__SUBMIT__VAR_SUBMIT_DETAIL = "KgVarConfig.Modal.Submit.VarSubmitDetail";
47
43
  export declare const FORM_ID__SUBMIT__VAR_SUBMIT_CONFIG = "KgVarConfig.Modal.Submit.VarSubmitConfig";
48
44
  export declare const FORM_ID__TABLE__VAR_GRID_MASTER = "KgVarConfig.Modal.Table.VarGridMaster";
49
- export declare const FORM_ID__TABLE__VAR_GRID_CONFIG = "KgVarConfig.Modal.Table.VarGridConfig";
50
45
  export declare const FORM_ID__CHILD = "KgVarConfig.Modal.Child";
@@ -910,3 +910,20 @@ export interface IKgVarGridDetailDisplayTypeProperties {
910
910
  yValue?: any;
911
911
  };
912
912
  }
913
+ /**
914
+ * 通用常量.
915
+ */
916
+ export declare const KG_COMMON_CONST: {
917
+ /**
918
+ * 用于添加的行.
919
+ * 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
920
+ * 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
921
+ */
922
+ __KG__CREATE_ROW_ID__: string;
923
+ /**
924
+ * 用户添加的行.
925
+ * 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
926
+ */
927
+ __KG__CUSTOM_ROW_ID__: string;
928
+ __KG__NULL__: string;
929
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * DDA 界面标识常量.
3
+ */
4
+ export declare const FORM_IDS: {
5
+ KG_PAGE_DDA__CREATE__BUTTON: string;
6
+ /**
7
+ * 变量配置弹窗:按钮:按钮管理.
8
+ */
9
+ KG_VAR_CONFIG__MODAL__BUTTON__VAR_BUTTON: string;
10
+ KG_VAR_CONFIG__MODAL__TABLE__VAR_GRID_CONFIG: string;
11
+ };
@@ -1,2 +1,3 @@
1
- export * from './const.vm';
2
1
  export * from './const.injection-keys';
2
+ export * from './const.vm';
3
+ export * from './form-id.const';
@@ -0,0 +1,275 @@
1
+ declare const _default: {
2
+ kg: {
3
+ KgAppSelect: {
4
+ businessManager: string;
5
+ dataManager: string;
6
+ sys: string;
7
+ tooltip: string;
8
+ };
9
+ KgButton: {
10
+ noApiUrl: string;
11
+ noVarSubmitConfig: string;
12
+ };
13
+ KgCanvas: {
14
+ enterFullscreen: string;
15
+ exitFullscreen: string;
16
+ exportImage: string;
17
+ originalScale: string;
18
+ overviewScale: string;
19
+ reload: string;
20
+ };
21
+ KgFormItem: {
22
+ formValidationMessageForGT: string;
23
+ formValidationMessageForGTE: string;
24
+ formValidationMessageForInvalidFloat: string;
25
+ formValidationMessageForInvalidInteger: string;
26
+ formValidationMessageForInvalidJSON: string;
27
+ formValidationMessageForInvalidLetter: string;
28
+ formValidationMessageForInvalidLowerLetter: string;
29
+ formValidationMessageForInvalidUpperLetter: string;
30
+ formValidationMessageForLT: string;
31
+ formValidationMessageForLTE: string;
32
+ formValidationMessageForMaxLength: string;
33
+ formValidationMessageForMinLength: string;
34
+ formValidationMessageForRegularExpression: string;
35
+ };
36
+ KgPageDdaCreate: {
37
+ 'confirm-cancel': string;
38
+ done: string;
39
+ 'next-step': string;
40
+ 'previous-step': string;
41
+ };
42
+ KgPageDdaCreateBasic: {
43
+ 'form-id': string;
44
+ 'form-name': string;
45
+ maintenance: string;
46
+ sql: string;
47
+ type: string;
48
+ };
49
+ KgPageDdaCreateButton: {
50
+ 'button-var-name-reserved': string;
51
+ 'button-var-name-used': string;
52
+ };
53
+ KgPageDdaCreateMenu: {
54
+ 'parent-menu': string;
55
+ };
56
+ KgPageDdaCreateSearch: {
57
+ available: string;
58
+ 'column-desc': string;
59
+ 'column-name': string;
60
+ 'column-type': string;
61
+ selected: string;
62
+ };
63
+ KgPageDdaCreateSubmit: {
64
+ available: string;
65
+ 'column-desc': string;
66
+ 'column-name': string;
67
+ 'column-type': string;
68
+ selected: string;
69
+ };
70
+ KgPageDdaCreateTable: {
71
+ available: string;
72
+ 'column-desc': string;
73
+ 'column-name': string;
74
+ 'column-type': string;
75
+ selected: string;
76
+ };
77
+ KgSearch: {
78
+ title: string;
79
+ };
80
+ KgSearchConfigModal: {
81
+ BETWEEN: string;
82
+ 'BETWEEN-desc': string;
83
+ CONTAIN: string;
84
+ 'CONTAIN-desc': string;
85
+ END_WITH: string;
86
+ 'END_WITH-desc': string;
87
+ EQ: string;
88
+ 'EQ-desc': string;
89
+ GT: string;
90
+ 'GT-desc': string;
91
+ GTE: string;
92
+ 'GTE-desc': string;
93
+ IN: string;
94
+ 'IN-desc': string;
95
+ LT: string;
96
+ 'LT-desc': string;
97
+ LTE: string;
98
+ 'LTE-desc': string;
99
+ NE: string;
100
+ 'NE-desc': string;
101
+ START_WITH: string;
102
+ 'START_WITH-desc': string;
103
+ close: string;
104
+ formTitle: string;
105
+ pleaseSelectVarProfileMaster: string;
106
+ };
107
+ KgTable: {
108
+ apiNotSupportDynamicQuery: string;
109
+ column: string;
110
+ config: string;
111
+ emptyText: string;
112
+ isShowDescription: string;
113
+ other: string;
114
+ 'request-fail-error': string;
115
+ 'request-fail-no-data': string;
116
+ rowHeight: string;
117
+ rowHeightH: string;
118
+ rowHeightL: string;
119
+ rowHeightM: string;
120
+ 'save-var-grid-master-as-success-message': string;
121
+ saveVarGridMaster: string;
122
+ saveVarGridMasterAs: string;
123
+ saveVarGridMasterSuccessMessage: string;
124
+ totalText: string;
125
+ varGridMasters: string;
126
+ };
127
+ KgTableHeaderCell: {
128
+ align: string;
129
+ alignCenter: string;
130
+ alignLeft: string;
131
+ alignRight: string;
132
+ hide: string;
133
+ isEllipsis: string;
134
+ isFilter: string;
135
+ isFixToLeft: string;
136
+ isFixToRight: string;
137
+ isSort: string;
138
+ };
139
+ KgTableInfo: {
140
+ check: string;
141
+ clearCheck: string;
142
+ clearTable: string;
143
+ locate: string;
144
+ row: string;
145
+ };
146
+ KgTableSettingVarGridConfig: {};
147
+ KgTableSettingVarGridMasterSaveAs: {
148
+ title: string;
149
+ };
150
+ KgVar: {};
151
+ KgVarConfig: {
152
+ VarGridConfig: string;
153
+ VarGridMaster: string;
154
+ VarProfileConfig: string;
155
+ VarProfileMaster: string;
156
+ action: string;
157
+ allForm: string;
158
+ allLanguage: string;
159
+ canNotUpdateSystemVarGridMaster: string;
160
+ canNotUpdateSystemVarProfileMaster: string;
161
+ confirm: string;
162
+ createConfig: string;
163
+ currentForm: string;
164
+ currentLanguage: string;
165
+ customLevel: string;
166
+ emptyPageSizeOptions: string;
167
+ formId: string;
168
+ formValidationMessageForMaxAndMin: string;
169
+ formValidationMessageForMaxLengthAndMinLength: string;
170
+ invalidCommandParameter: string;
171
+ invalidPageSizeOption: string;
172
+ invalidPageSizeOptions: string;
173
+ pleaseSelectVariable: string;
174
+ tabButton: string;
175
+ tabChild: string;
176
+ tabSearch: string;
177
+ tabSubmit: string;
178
+ tabTable: string;
179
+ varVariable: string;
180
+ variable: string;
181
+ };
182
+ KgVarConfigModalButton: {
183
+ VarButton: string;
184
+ VarButtonConfig: string;
185
+ };
186
+ KgVarConfigModalChild: {
187
+ childVarName: string;
188
+ childVarNameDuplicate: string;
189
+ childVarNameRequired: string;
190
+ parentVarName: string;
191
+ parentVarNameDuplicate: string;
192
+ parentVarNameRequired: string;
193
+ };
194
+ KgVarConfigModalSubmit: {
195
+ VarSubmitConfig: string;
196
+ VarSubmitDetail: string;
197
+ };
198
+ KgVarConfigModalSubmitVarSubmitConfig: {
199
+ invalidWidthForSpan: string;
200
+ };
201
+ KgVarConfigModalTableVarGridMaster: {
202
+ DESC: string;
203
+ DESC__UPDATE_LINK: string;
204
+ FILE_SIZE: string;
205
+ ICON: string;
206
+ IMAGE: string;
207
+ PROGRESS: string;
208
+ ROUTE_LINK: string;
209
+ UPDATE_LINK: string;
210
+ YN: string;
211
+ center: string;
212
+ left: string;
213
+ notSort: string;
214
+ right: string;
215
+ };
216
+ KgVarConfigSelectFormIdModal: {
217
+ title: string;
218
+ };
219
+ KgWarehouse: {
220
+ reloadMessage: string;
221
+ selectWarehouse: string;
222
+ title: string;
223
+ warehouse: string;
224
+ };
225
+ action: string;
226
+ add: string;
227
+ allUser: string;
228
+ asc: string;
229
+ button: string;
230
+ cancel: string;
231
+ close: string;
232
+ confirm: string;
233
+ confirmDelete: string;
234
+ copy: string;
235
+ copySuccess: string;
236
+ create: string;
237
+ createSuccess: string;
238
+ default: string;
239
+ delete: string;
240
+ deleteSuccess: string;
241
+ desc: string;
242
+ edit: string;
243
+ empty: string;
244
+ emptyText: string;
245
+ execute: string;
246
+ executeSuccess: string;
247
+ export: string;
248
+ exportSuccess: string;
249
+ formId: string;
250
+ formName: string;
251
+ formValidationFail: string;
252
+ import: string;
253
+ 'import-template': string;
254
+ importSuccess: string;
255
+ importTemplate: string;
256
+ loading: string;
257
+ lookup: string;
258
+ no: string;
259
+ ok: string;
260
+ query: string;
261
+ refresh: string;
262
+ required: string;
263
+ reset: string;
264
+ save: string;
265
+ search: string;
266
+ selectAll: string;
267
+ show: string;
268
+ succeed: string;
269
+ tip: string;
270
+ update: string;
271
+ updateSuccess: string;
272
+ yes: string;
273
+ };
274
+ };
275
+ export default _default;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -1,13 +1,14 @@
1
1
  import { DropMenu } from '../project/src/components/Dropdown/src/typing';
2
2
  import { LocaleSetting, LocaleType } from '../project/types/config';
3
3
  export declare const LOCALE: {
4
- KO_KR: LocaleType;
4
+ CS_CZ: LocaleType;
5
5
  EN: LocaleType;
6
- VI_VN: LocaleType;
7
- ZH_CN: LocaleType;
8
6
  ES_ES: LocaleType;
9
7
  FR_FR: LocaleType;
10
8
  KM_KH: LocaleType;
9
+ KO_KR: LocaleType;
10
+ VI_VN: LocaleType;
11
+ ZH_CN: LocaleType;
11
12
  };
12
13
  export declare let localeList: DropMenu[];
13
14
  export declare const localeSetting: LocaleSetting;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -241,6 +241,7 @@ declare const _default: {
241
241
  edit: string;
242
242
  empty: string;
243
243
  emptyText: string;
244
+ execute: string;
244
245
  executeSuccess: string;
245
246
  export: string;
246
247
  exportSuccess: string;
@@ -242,6 +242,7 @@ declare const _default: {
242
242
  edit: string;
243
243
  empty: string;
244
244
  emptyText: string;
245
+ execute: string;
245
246
  executeSuccess: string;
246
247
  export: string;
247
248
  exportSuccess: string;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * <p>系统管理/系统管理/数据操作.</p>
3
+ * <p>通过页面执行 SQL 语句, 记录执行人等相关信息.</p>
4
+ */
5
+ declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
6
+ [x: string]: unknown;
7
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
8
+ [x: string]: unknown;
9
+ }>>>>, {
10
+ [x: number]: string;
11
+ } | {}>;
12
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as KgPageSqlClient } from './KgPageSqlClient';
@@ -1,5 +1,3 @@
1
- export * from './KgPageDda';
2
- export { default as KgPageDda } from './KgPageDda';
3
1
  /**
4
2
  * 路由.
5
3
  *
@@ -1,3 +1,4 @@
1
1
  export * from './sys/model/menuModel';
2
2
  export * from './sys/model/uploadModel';
3
3
  export * from './sys/model/userModel';
4
+ export * from './sys/menu';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @description: Get user menu based on id
3
+ */
4
+ export declare const getMenuList: () => Promise<unknown>;
@@ -5,6 +5,7 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
5
5
  * <p>已支持的语言.</p>
6
6
  * <ul>
7
7
  * <li> en: 英语</li>
8
+ * <li>cs_CZ: 捷克语_捷克</li>
8
9
  * <li>es_ES: 西班牙语_西班牙</li>
9
10
  * <li>fr_FR: 法语_法国</li>
10
11
  * <li>km_KH: 高棉语_柬埔寨</li>
@@ -13,7 +14,7 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
13
14
  * <li>zh_CN: 汉语_中国</li>
14
15
  * </ul>
15
16
  */
16
- export declare type LocaleType = 'en' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
17
+ export declare type LocaleType = 'en' | 'cs_CZ' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
17
18
  export interface MenuSetting {
18
19
  bgColor: string;
19
20
  fixed: boolean;
@@ -1,12 +1,14 @@
1
1
  import { AxiosInstance, type AxiosRequestConfig } from 'axios';
2
2
  import dayjs from 'dayjs';
3
3
  import { KG_DYNAMIC_QUERY_OPERATOR } from '../const';
4
+ import { UploadFileCallBack, UploadFileParams } from '../project/types/axios';
4
5
  interface IHttpClient {
5
6
  axiosInstance: AxiosInstance;
6
7
  options: {
7
8
  requestOptions?: IRequestOptions;
8
9
  } & AxiosRequestConfig;
9
10
  request<T = any>(config: IRequestConfig, options?: IRequestOptions): Promise<T>;
11
+ uploadFile<T = any>(config: AxiosRequestConfig, params: UploadFileParams, callback?: UploadFileCallBack): Promise<T>;
10
12
  }
11
13
  /**
12
14
  * 设置 httpClient 实例.
@@ -259,6 +259,12 @@ export declare class KgUtil {
259
259
  * @param controlType 控件类型.
260
260
  */
261
261
  static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
262
+ /**
263
+ * 如果属性值是动态参数值 {@link KG__DYNAMIC_PARAM}, 则给属性值的花括号里面的前后加上特殊字符 #, 防止它被解析成实际的值.
264
+ *
265
+ * @param params
266
+ */
267
+ static insertHashToDynamicQueryParams(params: any): void;
262
268
  /**
263
269
  * <p>根据查询条件拼接 SQL 语句片段.</p>
264
270
  * <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...OFFSET...`, 每一个片段会单独作为一个属性返回.</p>