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

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 (129) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/align-left-outlined.579b01c6.mjs +8 -0
  3. package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
  4. package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
  5. package/dist/caret-up-outlined.81b559ad.mjs +8 -0
  6. package/dist/double-right-outlined.f057a6b2.mjs +8 -0
  7. package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
  8. package/dist/holder-outlined.9e698750.mjs +8 -0
  9. package/dist/index.css +1 -1
  10. package/dist/kengic-vue.js +133709 -96220
  11. package/dist/loading-outlined.13a15197.mjs +8 -0
  12. package/dist/more-outlined.8e1202ac.mjs +8 -0
  13. package/dist/palette-swatch-variant.f7258843.mjs +8 -0
  14. package/dist/project/build/utils.ts +20 -15
  15. package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +2 -2
  16. package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +2 -2
  17. package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +2 -2
  18. package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +2 -2
  19. package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +2 -2
  20. package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +3 -3
  21. package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +16 -0
  22. package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
  23. package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +2 -2
  24. package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +2 -2
  25. package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +2 -2
  26. package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +2 -2
  27. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +2 -2
  28. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +2 -2
  29. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +2 -2
  30. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +2 -2
  31. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +2 -2
  32. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +2 -2
  33. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +2 -2
  34. package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +2 -2
  35. package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +2 -2
  36. package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +2 -2
  37. package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +2 -2
  38. package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +25 -0
  39. package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +2 -2
  40. package/dist/src/api/WMS/Controllers/index.d.ts +1 -1
  41. package/dist/src/api/WMS/models.d.ts +11 -5
  42. package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
  43. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +15 -3
  44. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +7 -1
  45. package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +1 -33
  46. package/dist/src/component/KgForm/KgForm.d.ts +3 -3
  47. package/dist/src/component/KgForm/index.d.ts +4 -4
  48. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +1 -3
  49. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +2 -2
  50. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -2
  51. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +2 -6
  52. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -2
  53. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +4 -2
  54. package/dist/src/component/KgLayoutHeader/{components/KgLayoutHeaderLocale.d.ts → KgLayoutHeader.Locale.d.ts} +1 -1
  55. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  56. package/dist/src/component/KgModal/KgModal.d.ts +1 -1
  57. package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
  58. package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
  59. package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
  60. package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
  61. package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +74 -0
  62. package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +81 -0
  63. package/dist/src/component/KgSimulator/KgSimulator.Toolbar.Prefab.d.ts +9 -0
  64. package/dist/src/component/KgSimulator/KgSimulator.Toolbar.d.ts +113 -0
  65. package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
  66. package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +17 -0
  67. package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
  68. package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +363 -0
  69. package/dist/src/component/KgSimulator/KgSimulator.service.d.ts +20 -0
  70. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +68 -0
  71. package/dist/src/component/KgSimulator/index.d.ts +3 -0
  72. package/dist/src/component/KgTable/{components/KgTable.BodyCell.d.ts → KgTable.BodyCell.d.ts} +1 -1
  73. package/dist/src/component/KgTable/{components/KgTable.HeaderCell.d.ts → KgTable.HeadCell.d.ts} +1 -1
  74. package/dist/src/component/KgTable/{components/setting/KgTable.Setting.service.d.ts → KgTable.Setting.service.d.ts} +1 -1
  75. package/dist/src/component/KgTable/KgTable.model.d.ts +0 -2
  76. package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +72 -0
  77. package/dist/src/component/KgVar/KgVar.model.d.ts +0 -5
  78. package/dist/src/component/KgVar/KgVarFactory.d.ts +12 -4
  79. package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
  80. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +2 -2
  81. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +4 -4
  82. package/dist/src/component/index.d.ts +1 -0
  83. package/dist/src/config/config.store.d.ts +15 -3
  84. package/dist/src/const/const.model.d.ts +549 -6
  85. package/dist/src/const/form-id.const.d.ts +10 -10
  86. package/dist/src/const/index.d.ts +0 -1
  87. package/dist/src/i18n/cs_CZ.d.ts +1 -1
  88. package/dist/src/i18n/en.d.ts +1 -1
  89. package/dist/src/i18n/es_ES.d.ts +1 -1
  90. package/dist/src/i18n/fr_FR.d.ts +1 -1
  91. package/dist/src/i18n/km_KH.d.ts +1 -1
  92. package/dist/src/i18n/ko_KR.d.ts +1 -1
  93. package/dist/src/i18n/vi_VN.d.ts +1 -1
  94. package/dist/src/i18n/zh_CN.d.ts +1 -1
  95. package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
  96. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
  97. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
  98. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Legend.d.ts +5 -0
  99. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Offline.d.ts +5 -0
  100. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Setting.d.ts +5 -0
  101. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
  102. package/dist/src/page/{KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
  103. package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.d.ts +5 -0
  104. package/dist/src/page/{KgCircleVis/components/KgCircleVis.hooks.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.hooks.d.ts} +6 -6
  105. package/dist/src/page/{KgCircleVis/components/KgCircleVis.model.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.model.d.ts} +1 -1
  106. package/dist/src/page/{KgCircleVis/components/KgCircleVis.store.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.store.d.ts} +12 -12
  107. package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
  108. package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
  109. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +3 -3
  110. package/dist/src/page/index.d.ts +2 -2
  111. package/dist/src/project/src/utils/env.d.ts +0 -16
  112. package/dist/src/util/ant-design-vue.d.ts +1 -1
  113. package/package.json +8 -6
  114. package/dist/src/api/WMS/Controllers/WhController/ListVO.d.ts +0 -54
  115. package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
  116. package/dist/src/const/injection-keys.const.d.ts +0 -11
  117. package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
  118. package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
  119. package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
  120. package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
  121. package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
  122. package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
  123. package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
  124. package/dist/src/page/KgCircleVis/index.d.ts +0 -1
  125. /package/dist/src/api/WMS/Controllers/{WhController → WarehouseController}/index.d.ts +0 -0
  126. /package/dist/src/component/KgTable/{components/KgTable.Info.d.ts → KgTable.Info.d.ts} +0 -0
  127. /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts → KgTable.Setting.VarGridMaster.SaveAs.d.ts} +0 -0
  128. /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +0 -0
  129. /package/dist/src/page/{KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
@@ -153,8 +153,8 @@ export declare type IKgOption = {
153
153
  /**
154
154
  * 数据库的类型.
155
155
  *
156
- * @see {@link KG_CONST.DB_TYPE}
157
- * @default {@link KG_CONST.DB_TYPE.SQLSERVER}
156
+ * @see {@link KG.DB_TYPE}
157
+ * @default {@link KG.DB_TYPE.SQLSERVER}
158
158
  */
159
159
  dbType?: string;
160
160
  /**
@@ -268,6 +268,14 @@ export interface IUseKgStoreActions {
268
268
  codeName: string | null | undefined;
269
269
  isForceRequest?: boolean | null | undefined;
270
270
  }): Promise<void>;
271
+ /**
272
+ * 请求某组变量描述数据.
273
+ *
274
+ * @param param.formId 界面标识.
275
+ */
276
+ requestVarConfigDescriptionList(param: {
277
+ formId: string | null | undefined;
278
+ }): Promise<void>;
271
279
  /**
272
280
  * 设置某组描述的数据.
273
281
  *
@@ -288,8 +296,12 @@ export interface IUseKgStoreActions {
288
296
  setUseUserStore(useUserStore: StoreDefinition<any, any, any, any>): void;
289
297
  /**
290
298
  * 翻译.
299
+ *
300
+ * @param key 键.
301
+ * @param param 参数对象.
302
+ * @param defaultValue 默认翻译结果.
291
303
  */
292
- t: T;
304
+ t(key: string | null | undefined, param?: Record<string, any> | null | undefined, defaultValue?: string | null | undefined): string;
293
305
  }
294
306
  export declare const useKgStore: KgStoreDefinition<IUseKgStoreGetters, IUseKgStoreActions>;
295
307
  export {};
@@ -1,11 +1,369 @@
1
- import { type TooltipProps } from 'ant-design-vue';
1
+ import { Q } from '@thymine/xunee';
2
+ import { FormInstance, type TooltipProps } from 'ant-design-vue';
2
3
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
3
4
  import { Pinia, StoreOnActionListener } from 'pinia';
4
- import { KgModalProps } from '../component';
5
+ import { ComputedRef, InjectionKey, Ref } from 'vue';
6
+ import { IKgProps, IKgSlots, KgModalProps } from '../component';
5
7
  /**
6
8
  * 常量.
7
9
  * TODO LT 将所有常量都统一放到这个常量中
8
10
  */
11
+ export declare const KG: {
12
+ /**
13
+ * 数据库的列的类型.
14
+ */
15
+ DB_COLUMN_TYPE: {
16
+ NCHAR: string;
17
+ NVARCHAR: string;
18
+ };
19
+ /**
20
+ * 数据库的类型.
21
+ */
22
+ DB_TYPE: {
23
+ /**
24
+ * 达梦.
25
+ */
26
+ DM: string;
27
+ MYSQL: string;
28
+ ORACLE: string;
29
+ POSTGRESQL: string;
30
+ SQLITE: string;
31
+ SQLSERVER: string;
32
+ };
33
+ /**
34
+ * 描述表中的键.
35
+ */
36
+ DESCRIPTION_KEY: {
37
+ /**
38
+ * 所有翻译.
39
+ */
40
+ ALL: string;
41
+ /**
42
+ * 该组件库的所有翻译.
43
+ */
44
+ KG: string;
45
+ /**
46
+ * 手持项目的所有翻译.
47
+ */
48
+ PDA: string;
49
+ /**
50
+ * 网页前端项目的所有翻译.
51
+ */
52
+ WEB: string;
53
+ };
54
+ /**
55
+ * 依赖注入的键.
56
+ */
57
+ DI: {
58
+ /**
59
+ * 界面标识.
60
+ */
61
+ FORM_ID: InjectionKey<string>;
62
+ /**
63
+ * 唯一标识.
64
+ */
65
+ ID: InjectionKey<string>;
66
+ /**
67
+ * 画布.
68
+ */
69
+ KG_CANVAS: {
70
+ /**
71
+ * 变量查找编号.
72
+ */
73
+ GET_GRAPH: InjectionKey<() => Q.Graph>;
74
+ /**
75
+ * 组件参数.
76
+ */
77
+ PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
78
+ id: {
79
+ type: import("vue").PropType<string>;
80
+ required: boolean;
81
+ };
82
+ kgCanvasToolbarFullscreen: {
83
+ type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
84
+ kgIsShowText: {
85
+ type: import("vue").PropType<boolean>;
86
+ default: boolean;
87
+ };
88
+ }>>>;
89
+ };
90
+ kgIsEditable: {
91
+ type: import("vue").PropType<boolean>; /**
92
+ * 画布.
93
+ */
94
+ default: boolean;
95
+ };
96
+ kgIsEnableOverview: {
97
+ type: import("vue").PropType<boolean>;
98
+ default: boolean;
99
+ };
100
+ kgIsGridBackground: {
101
+ type: import("vue").PropType<boolean>;
102
+ default: boolean;
103
+ };
104
+ kgIsResizable: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
108
+ }>>>;
109
+ };
110
+ /**
111
+ * 表单.
112
+ */
113
+ KG_FORM: {
114
+ /**
115
+ * <p>依赖注入表单数据对象.</p>
116
+ * <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
117
+ */
118
+ FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
119
+ /**
120
+ * formRef.
121
+ */
122
+ FORM_REF: InjectionKey<Ref<FormInstance | null>>;
123
+ };
124
+ /**
125
+ * 表单控件.
126
+ */
127
+ KG_FORM_ITEM: {
128
+ /**
129
+ * 变量名称.
130
+ */
131
+ CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
132
+ /**
133
+ * 变量名称.
134
+ */
135
+ VAR_NAME: InjectionKey<string>;
136
+ };
137
+ /**
138
+ * 模拟器.
139
+ */
140
+ KG_SIMULATOR: {
141
+ /**
142
+ * 左下侧面板.
143
+ */
144
+ PANEL_LEFT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
145
+ /**
146
+ * 左上侧面板.
147
+ */
148
+ PANEL_LEFT_TOP_TELEPORT_ID: InjectionKey<string>;
149
+ /**
150
+ * 右下侧面板.
151
+ */
152
+ PANEL_RIGHT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
153
+ /**
154
+ * 右上侧面板.
155
+ */
156
+ PANEL_RIGHT_TOP_TELEPORT_ID: InjectionKey<string>;
157
+ /**
158
+ * 左下侧工具栏.
159
+ */
160
+ TOOLBAR_LEFT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
161
+ /**
162
+ * 左上侧工具栏.
163
+ */
164
+ TOOLBAR_LEFT_TOP_TELEPORT_ID: InjectionKey<string>;
165
+ /**
166
+ * 右下侧工具栏.
167
+ */
168
+ TOOLBAR_RIGHT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
169
+ /**
170
+ * 右上侧工具栏.
171
+ */
172
+ TOOLBAR_RIGHT_TOP_TELEPORT_ID: InjectionKey<string>;
173
+ };
174
+ /**
175
+ * 变量页面.
176
+ */
177
+ KG_VAR: {
178
+ /**
179
+ * 注入 kgProps 参数.
180
+ */
181
+ KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
182
+ /**
183
+ * 注入 kgSlots 参数.
184
+ */
185
+ KG_SLOTS: InjectionKey<IKgSlots | undefined>;
186
+ };
187
+ /**
188
+ * 变量配置弹窗.
189
+ */
190
+ KG_VAR_CONFIG: {
191
+ /**
192
+ * 正在被配置的界面标识.
193
+ */
194
+ HOST_FORM_ID: InjectionKey<Ref<string | null>>;
195
+ };
196
+ /**
197
+ * 「变量配置:查找弹窗」.
198
+ */
199
+ VAR_CONFIG_LOOKUP: {
200
+ /**
201
+ * 宿主界面标识.
202
+ */
203
+ HOST_FORM_ID: InjectionKey<string>;
204
+ /**
205
+ * 变量查找编号.
206
+ */
207
+ LOOKUP_ID: InjectionKey<string>;
208
+ };
209
+ };
210
+ /**
211
+ * 高级查询的操作符.
212
+ */
213
+ DYNAMIC_QUERY_OPERATOR: {
214
+ /** 范围之内. */
215
+ BETWEEN: string;
216
+ /** 包含. */
217
+ CONTAIN: string;
218
+ /** 为空. */
219
+ EMPTY: string;
220
+ /** 以之结束. */
221
+ END_WITH: string;
222
+ /** 等于. */
223
+ EQ: string;
224
+ /** 大于. */
225
+ GT: string;
226
+ /** 大于等于. */
227
+ GTE: string;
228
+ /** 属于. */
229
+ IN: string;
230
+ /** 小于. */
231
+ LT: string;
232
+ /** 小于等于. */
233
+ LTE: string;
234
+ /** 不等于. */
235
+ NE: string;
236
+ /** 不为空. */
237
+ NOT_EMPTY: string;
238
+ /** 以之开始. */
239
+ START_WITH: string;
240
+ };
241
+ /**
242
+ * HTTP 请求头.
243
+ */
244
+ HTTP_HEADER: {
245
+ KG_BUTTON_VAR_NAME: string;
246
+ /**
247
+ * 数据库的类型.
248
+ */
249
+ KG_DB_TYPE: string;
250
+ /** 界面标识. */
251
+ KG_FORM_ID: string;
252
+ /** 是否启用高级查询. */
253
+ KG_IS_DYNAMIC_QUERY: string;
254
+ /** 当前页码. */
255
+ KG_PAGE_INDEX: string;
256
+ /** 每页条数. */
257
+ KG_PAGE_SIZE: string;
258
+ /**
259
+ * <p>高级查询时, 每个查询字段的参数值.</p>
260
+ * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的值.</p>
261
+ */
262
+ KG_QUERY_OBJECT: string;
263
+ /**
264
+ * <p>高级查询时, 每个查询字段的操作符.</p>
265
+ * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
266
+ */
267
+ KG_QUERY_OPERATOR_OBJECT: string;
268
+ /** 查询语句中的 ORDER BY 片段. */
269
+ KG_QUERY_ORDER_BY_SQL: string;
270
+ /**
271
+ * <p>高级查询时, 每个查询字段的 WHERE 片段.</p>
272
+ * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的 WHERE 片段.</p>
273
+ */
274
+ KG_QUERY_WHERE_OBJECT: string;
275
+ /** 查询语句中的 WHERE 片段. */
276
+ KG_QUERY_WHERE_SQL: string;
277
+ /** 查询语句中的 WHERE 片段. */
278
+ KG_QUERY_WHERE_SQL_01: string;
279
+ /** 查询语句中的 WHERE 片段. */
280
+ KG_QUERY_WHERE_SQL_02: string;
281
+ /** 查询语句中的 WHERE 片段. */
282
+ KG_QUERY_WHERE_SQL_03: string;
283
+ /** 查询语句中的 WHERE 片段. */
284
+ KG_QUERY_WHERE_SQL_04: string;
285
+ /** 查询语句中的 WHERE 片段. */
286
+ KG_QUERY_WHERE_SQL_05: string;
287
+ /**
288
+ * 仓库编号.
289
+ */
290
+ KG_WAREHOUSE: string;
291
+ /**
292
+ * 工作区.
293
+ */
294
+ KG_WORK_AREA: string;
295
+ /**
296
+ * 工作站.
297
+ */
298
+ KG_WORK_STATION: string;
299
+ };
300
+ VAR_CONFIG_CONTROL: {
301
+ /**
302
+ * 表单控件类型.
303
+ * @see VarConfigControl.ctrl_prop
304
+ * @see IKgVarConfigControlControlProperties
305
+ */
306
+ CONTROL_TYPE: {
307
+ /** 文件上传按钮. */
308
+ BUTTON_UPLOAD: string;
309
+ /** 多选框. */
310
+ CHECKBOX: string;
311
+ /**
312
+ * <p>多选框列表.</p>
313
+ * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
314
+ */
315
+ CHECKBOX_GROUP: string;
316
+ /** 年月日, 2020-05-01. */
317
+ DATE_DATE: string;
318
+ /** 年月日时分秒, 2020-05-01 11:59:59. */
319
+ DATE_DATETIME: string;
320
+ /** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
321
+ DATE_DATETIME_RANGE: string;
322
+ /** 年月日的范围, [DATE_DATE, DATE_DATE] */
323
+ DATE_DATE_RANGE: string;
324
+ DATE_MONTH: string;
325
+ /** 时分秒, 11:59:59. */
326
+ DATE_TIME: string;
327
+ /** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
328
+ DATE_TIME_RANGE: string;
329
+ DATE_WEEK: string;
330
+ DATE_YEAR: string;
331
+ /**
332
+ * <p>图片.</p>
333
+ * <p>点击可以预览.</p>
334
+ */
335
+ IMAGE: string;
336
+ /** 单行文本. */
337
+ INPUT: string;
338
+ /** 数字. */
339
+ INPUT_NUMBER: string;
340
+ /** 密码. */
341
+ INPUT_PASSWORD: string;
342
+ /** 链接. */
343
+ LINK: string;
344
+ /**
345
+ * <p>单选框列表.</p>
346
+ * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
347
+ */
348
+ RADIO_GROUP: string;
349
+ /**
350
+ * <p>单选下拉列表.<p>
351
+ * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
352
+ */
353
+ SELECT: string;
354
+ /** 多选下拉列表. */
355
+ SELECT_MULTIPLE: string;
356
+ /** 开关. */
357
+ SWITCH: string;
358
+ /**
359
+ * <p>多行文本.</p>
360
+ * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
361
+ */
362
+ TEXT_AREA: string;
363
+ };
364
+ };
365
+ };
366
+ /** @deprecated 已弃用, 请使用 {@link KG}. */
9
367
  export declare const KG_CONST: {
10
368
  /**
11
369
  * 数据库的列的类型.
@@ -32,15 +390,179 @@ export declare const KG_CONST: {
32
390
  * 描述表中的键.
33
391
  */
34
392
  DESCRIPTION_KEY: {
393
+ /**
394
+ * 所有翻译.
395
+ */
396
+ ALL: string;
35
397
  /**
36
398
  * 该组件库的所有翻译.
37
399
  */
38
400
  KG: string;
39
401
  /**
40
- * 前端项目的所有翻译.
402
+ * 手持项目的所有翻译.
403
+ */
404
+ PDA: string;
405
+ /**
406
+ * 网页前端项目的所有翻译.
41
407
  */
42
408
  WEB: string;
43
409
  };
410
+ /**
411
+ * 依赖注入的键.
412
+ */
413
+ DI: {
414
+ /**
415
+ * 界面标识.
416
+ */
417
+ FORM_ID: InjectionKey<string>;
418
+ /**
419
+ * 唯一标识.
420
+ */
421
+ ID: InjectionKey<string>;
422
+ /**
423
+ * 画布.
424
+ */
425
+ KG_CANVAS: {
426
+ /**
427
+ * 变量查找编号.
428
+ */
429
+ GET_GRAPH: InjectionKey<() => Q.Graph>;
430
+ /**
431
+ * 组件参数.
432
+ */
433
+ PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
434
+ id: {
435
+ type: import("vue").PropType<string>;
436
+ required: boolean;
437
+ };
438
+ kgCanvasToolbarFullscreen: {
439
+ type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
440
+ kgIsShowText: {
441
+ type: import("vue").PropType<boolean>;
442
+ default: boolean;
443
+ };
444
+ }>>>;
445
+ };
446
+ kgIsEditable: {
447
+ type: import("vue").PropType<boolean>; /**
448
+ * 画布.
449
+ */
450
+ default: boolean;
451
+ };
452
+ kgIsEnableOverview: {
453
+ type: import("vue").PropType<boolean>;
454
+ default: boolean;
455
+ };
456
+ kgIsGridBackground: {
457
+ type: import("vue").PropType<boolean>;
458
+ default: boolean;
459
+ };
460
+ kgIsResizable: {
461
+ type: import("vue").PropType<boolean>;
462
+ default: boolean;
463
+ };
464
+ }>>>;
465
+ };
466
+ /**
467
+ * 表单.
468
+ */
469
+ KG_FORM: {
470
+ /**
471
+ * <p>依赖注入表单数据对象.</p>
472
+ * <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
473
+ */
474
+ FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
475
+ /**
476
+ * formRef.
477
+ */
478
+ FORM_REF: InjectionKey<Ref<FormInstance | null>>;
479
+ };
480
+ /**
481
+ * 表单控件.
482
+ */
483
+ KG_FORM_ITEM: {
484
+ /**
485
+ * 变量名称.
486
+ */
487
+ CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
488
+ /**
489
+ * 变量名称.
490
+ */
491
+ VAR_NAME: InjectionKey<string>;
492
+ };
493
+ /**
494
+ * 模拟器.
495
+ */
496
+ KG_SIMULATOR: {
497
+ /**
498
+ * 左下侧面板.
499
+ */
500
+ PANEL_LEFT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
501
+ /**
502
+ * 左上侧面板.
503
+ */
504
+ PANEL_LEFT_TOP_TELEPORT_ID: InjectionKey<string>;
505
+ /**
506
+ * 右下侧面板.
507
+ */
508
+ PANEL_RIGHT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
509
+ /**
510
+ * 右上侧面板.
511
+ */
512
+ PANEL_RIGHT_TOP_TELEPORT_ID: InjectionKey<string>;
513
+ /**
514
+ * 左下侧工具栏.
515
+ */
516
+ TOOLBAR_LEFT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
517
+ /**
518
+ * 左上侧工具栏.
519
+ */
520
+ TOOLBAR_LEFT_TOP_TELEPORT_ID: InjectionKey<string>;
521
+ /**
522
+ * 右下侧工具栏.
523
+ */
524
+ TOOLBAR_RIGHT_BOTTOM_TELEPORT_ID: InjectionKey<string>;
525
+ /**
526
+ * 右上侧工具栏.
527
+ */
528
+ TOOLBAR_RIGHT_TOP_TELEPORT_ID: InjectionKey<string>;
529
+ };
530
+ /**
531
+ * 变量页面.
532
+ */
533
+ KG_VAR: {
534
+ /**
535
+ * 注入 kgProps 参数.
536
+ */
537
+ KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
538
+ /**
539
+ * 注入 kgSlots 参数.
540
+ */
541
+ KG_SLOTS: InjectionKey<IKgSlots | undefined>;
542
+ };
543
+ /**
544
+ * 变量配置弹窗.
545
+ */
546
+ KG_VAR_CONFIG: {
547
+ /**
548
+ * 正在被配置的界面标识.
549
+ */
550
+ HOST_FORM_ID: InjectionKey<Ref<string | null>>;
551
+ };
552
+ /**
553
+ * 「变量配置:查找弹窗」.
554
+ */
555
+ VAR_CONFIG_LOOKUP: {
556
+ /**
557
+ * 宿主界面标识.
558
+ */
559
+ HOST_FORM_ID: InjectionKey<string>;
560
+ /**
561
+ * 变量查找编号.
562
+ */
563
+ LOOKUP_ID: InjectionKey<string>;
564
+ };
565
+ };
44
566
  /**
45
567
  * 高级查询的操作符.
46
568
  */
@@ -647,7 +1169,7 @@ export declare const enum KG_DESCRIPTION_CODE_NAME {
647
1169
  /** 宽度单位. */
648
1170
  VAR_WIDTH_UNIT = "var_width_unit"
649
1171
  }
650
- /** @deprecated 已废弃, 请使用 {@linkplain KG_CONST.DYNAMIC_QUERY_OPERATOR} */
1172
+ /** @deprecated 已废弃, 请使用 {@linkplain KG.DYNAMIC_QUERY_OPERATOR} */
651
1173
  export declare const KG_DYNAMIC_QUERY_OPERATOR: {
652
1174
  /** 范围之内. */
653
1175
  BETWEEN: string;
@@ -710,6 +1232,17 @@ export interface IKgVarSubmitConfigProperties {
710
1232
  * @default true
711
1233
  */
712
1234
  isShow?: boolean;
1235
+ /**
1236
+ * 排序, 默认为 1.
1237
+ *
1238
+ * @default 1
1239
+ */
1240
+ sort?: number;
1241
+ /**
1242
+ * <p>取消按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
1243
+ * <p>取消按钮的文本默认为「取消」.</p>
1244
+ */
1245
+ textVarName?: string;
713
1246
  };
714
1247
  /**
715
1248
  * 显示方式.
@@ -742,7 +1275,7 @@ export interface IKgVarSubmitConfigProperties {
742
1275
  };
743
1276
  };
744
1277
  /**
745
- * 底部按钮.
1278
+ * 底部按钮区域.
746
1279
  */
747
1280
  footer?: {
748
1281
  /**
@@ -768,6 +1301,12 @@ export interface IKgVarSubmitConfigProperties {
768
1301
  * @default true
769
1302
  */
770
1303
  isShow?: boolean;
1304
+ /**
1305
+ * 排序, 默认为 2.
1306
+ *
1307
+ * @default 2
1308
+ */
1309
+ sort?: number;
771
1310
  /**
772
1311
  * <p>确认按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
773
1312
  * <p>确认按钮的文本默认为「确定」.</p>
@@ -959,7 +1498,7 @@ export interface IKgVarVariableProperties {
959
1498
  * <p>表单控件的参数.</p>
960
1499
  * <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
961
1500
  * @see VarConfigControl.ctrl_prop
962
- * @see KG_CONST.VAR_CONFIG_CONTROL.CONTROL_TYPE
1501
+ * @see KG.VAR_CONFIG_CONTROL.CONTROL_TYPE
963
1502
  */
964
1503
  export interface IKgVarConfigControlControlProperties {
965
1504
  CHECKBOX: {
@@ -1185,3 +1724,7 @@ export declare const KG_COMMON_CONST: {
1185
1724
  export declare type KgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & {
1186
1725
  $onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void;
1187
1726
  };
1727
+ /**
1728
+ * 在表格内创建时, 空白行的临时主键.
1729
+ */
1730
+ export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
@@ -3,25 +3,25 @@
3
3
  */
4
4
  export declare const FORM_IDS: {
5
5
  /**
6
- * 环穿可视化:小车信息汇总.
6
+ * 环形穿梭车可视化:小车信息汇总.
7
7
  */
8
- KG_CIRCLE_VIS__RGV_SUMMARY: string;
8
+ KG_CIRCULAR_SHUTTLE_MONITOR__RGV_SUMMARY: string;
9
9
  /**
10
- * 环穿可视化:小车:人工创建任务.
10
+ * 环形穿梭车可视化:小车:人工创建任务.
11
11
  */
12
- KG_CIRCLE_VIS__RGV__CREATE_TASK: string;
12
+ KG_CIRCULAR_SHUTTLE_MONITOR__RGV__CREATE_TASK: string;
13
13
  /**
14
- * 环穿可视化:小车:状态.
14
+ * 环形穿梭车可视化:小车:状态.
15
15
  */
16
- KG_CIRCLE_VIS__RGV__STATUS: string;
16
+ KG_CIRCULAR_SHUTTLE_MONITOR__RGV__STATUS: string;
17
17
  /**
18
- * 环穿可视化:小车:任务.
18
+ * 环形穿梭车可视化:小车:任务.
19
19
  */
20
- KG_CIRCLE_VIS__RGV__TASK: string;
20
+ KG_CIRCULAR_SHUTTLE_MONITOR__RGV__TASK: string;
21
21
  /**
22
- * 环穿可视化:任务信息汇总.
22
+ * 环形穿梭车可视化:任务信息汇总.
23
23
  */
24
- KG_CIRCLE_VIS__TASK_SUMMARY: string;
24
+ KG_CIRCULAR_SHUTTLE_MONITOR__TASK_SUMMARY: string;
25
25
  KG_PAGE_DDA__CREATE__BUTTON: string;
26
26
  KG_SQL_CLIENT__RESULT_TAB: string;
27
27
  /**
@@ -1,3 +1,2 @@
1
- export * from './injection-keys.const';
2
1
  export * from './const.model';
3
2
  export * from './form-id.const';
@@ -147,7 +147,7 @@ declare const _default: {
147
147
  totalText: string;
148
148
  varGridMasters: string;
149
149
  };
150
- KgTableHeaderCell: {
150
+ KgTableHeadCell: {
151
151
  align: string;
152
152
  alignCenter: string;
153
153
  alignLeft: string;