@kengic/vue 0.30.1-beta.22 → 0.30.1-beta.24

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 (47) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +24479 -23897
  3. package/dist/partition-outlined.1bcf4f37.mjs +8 -0
  4. package/dist/profile-outlined.1059fb0d.mjs +8 -0
  5. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +3 -2
  6. package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +4 -4
  7. package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.hooks.d.ts +2 -2
  8. package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.store.d.ts +29 -29
  9. package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
  10. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +35 -35
  11. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +30 -30
  12. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +36 -36
  13. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +36 -34
  14. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +34 -34
  15. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +34 -34
  16. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +38 -34
  17. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +34 -34
  18. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +34 -34
  19. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +34 -34
  20. package/dist/src/component/KgForm.Item/components/KgForm.Item.Link.d.ts +34 -34
  21. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +34 -34
  22. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +35 -37
  23. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +34 -34
  24. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +34 -34
  25. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
  26. package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
  27. package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
  28. package/dist/src/component/KgSimulator/KgSimulator.Title.d.ts +11 -0
  29. package/dist/src/component/KgSimulator/KgSimulator.Toolbar.Property.d.ts +9 -0
  30. package/dist/src/component/KgSimulator/KgSimulator.Toolbar.Scene.d.ts +9 -0
  31. package/dist/src/component/KgSimulator/KgSimulator.service.d.ts +1 -6
  32. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +69 -10
  33. package/dist/src/component/index.d.ts +1 -0
  34. package/dist/src/const/const.model.d.ts +2 -6
  35. package/dist/src/const/form-id.const.d.ts +8 -4
  36. package/dist/src/page/index.d.ts +2 -2
  37. package/package.json +1 -1
  38. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.AreaSelect.d.ts +0 -0
  39. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Canvas.d.ts +0 -0
  40. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Canvas.service.d.ts +0 -0
  41. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Legend.d.ts +0 -0
  42. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Offline.d.ts +0 -0
  43. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Setting.d.ts +0 -0
  44. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Tab.Log.d.ts +0 -0
  45. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.Tab.Rgv.d.ts +0 -0
  46. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.d.ts +0 -0
  47. /package/dist/src/{page/KgPageCircularShuttleMonitor/components → component/KgCircularShuttleMonitor}/KgCircularShuttleMonitor.model.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ const h = {
2
+ width: 1024,
3
+ height: 1024,
4
+ body: '<path fill="currentColor" d="M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z"/>'
5
+ };
6
+ export {
7
+ h as default
8
+ };
@@ -0,0 +1,8 @@
1
+ const c = {
2
+ width: 1024,
3
+ height: 1024,
4
+ body: '<path fill="currentColor" d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1 0 80 0a40 40 0 1 0-80 0zm0 144a40 40 0 1 0 80 0a40 40 0 1 0-80 0zm0 144a40 40 0 1 0 80 0a40 40 0 1 0-80 0z"/>'
5
+ };
6
+ export {
7
+ c as default
8
+ };
@@ -1,6 +1,5 @@
1
1
  import { IKgEventListener } from '@kengic/core.core';
2
2
  import { Q } from '@thymine/xunee';
3
- import { Ref } from 'vue';
4
3
  import { IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
5
4
  /**
6
5
  * 事件类型.
@@ -44,7 +43,9 @@ export declare type IKgCanvasOnRightClickEventListenerParameter = {
44
43
  * <p>右键菜单列表.</p>
45
44
  * <p>用户可以直接修改该参数的值, 从而修改此次单击右键事件弹出的右键菜单.</p>
46
45
  */
47
- contextMenus: Ref<Array<IKgCanvasContextMenu>>;
46
+ contextMenus: {
47
+ value: Array<IKgCanvasContextMenu>;
48
+ };
48
49
  /**
49
50
  * 图元.
50
51
  */
@@ -28,12 +28,12 @@ export declare type IKgCanvasElementProperties = {
28
28
  };
29
29
  [index: string]: any;
30
30
  };
31
- export declare type IUseGlobalContextMenus = {
32
- globalContextMenus: Array<IKgCanvasContextMenu>;
31
+ export declare type IUseGlobalContextMenuList = {
32
+ globalContextMenuList: Array<IKgCanvasContextMenu>;
33
33
  };
34
- export declare function _useGlobalContextMenus(param: {
34
+ export declare function _useGlobalContextMenuList(param: {
35
35
  id: string | undefined;
36
- }): IUseGlobalContextMenus;
36
+ }): IUseGlobalContextMenuList;
37
37
  export declare type IUseResizeObserver = {};
38
38
  export declare function _useResizeObserver(param: {
39
39
  graph: () => Q.Graph | null;
@@ -3,11 +3,11 @@ import { MapDTO, StatusDTO } from './KgCircularShuttleMonitor.model';
3
3
  import { IKgCircularShuttleMonitorProps, useKgCircularShuttleMonitorStore } from './KgCircularShuttleMonitor.store';
4
4
  export declare type IUseKgCircularShuttleMonitor = {
5
5
  /**
6
- * 画布:取下一个地图数据. 从地图数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
6
+ * 画布--取下一个地图数据. 从地图数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
7
7
  */
8
8
  $Canvas$popMapData(): MapDTO | null;
9
9
  /**
10
- * 画布:取下一个状态数据. 从状态数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
10
+ * 画布--取下一个状态数据. 从状态数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
11
11
  */
12
12
  $Canvas$popStatusData(): StatusDTO | null;
13
13
  /**
@@ -1,5 +1,5 @@
1
1
  import { Q } from '@thymine/xunee';
2
- import { KgStoreDefinition } from '../../../const';
2
+ import { KgStoreDefinition } from '../../const';
3
3
  import { MapDTO, MapStationVO, StatusDTO, StatusRgvVO } from './KgCircularShuttleMonitor.model';
4
4
  export declare type IKgCircularShuttleMonitorProps = {
5
5
  /**
@@ -153,47 +153,47 @@ export declare type IKgCircularShuttleMonitorProps = {
153
153
  };
154
154
  export interface IKgCircularShuttleMonitorStoreState {
155
155
  /**
156
- * 库区下拉列表:是否正在请求数据.
156
+ * 库区下拉列表--是否正在请求数据.
157
157
  */
158
158
  $AreaSelect$isRequesting$: boolean;
159
159
  /**
160
- * 库区下拉列表:当前选中的值.
160
+ * 库区下拉列表--当前选中的值.
161
161
  */
162
162
  $AreaSelect$value: string | null;
163
163
  /**
164
- * 画布:设置:当前展开面板.
164
+ * 画布--设置--当前展开面板.
165
165
  */
166
166
  $Canvas$Setting$CollapseActiveKey: Array<string>;
167
167
  /**
168
- * 画布:设置:是否绘制巷道.
168
+ * 画布--设置--是否绘制巷道.
169
169
  */
170
170
  $Canvas$Setting$IsAisleVisible: boolean;
171
171
  /**
172
- * 画布:设置:是否显示.
172
+ * 画布--设置--是否显示.
173
173
  */
174
174
  $Canvas$Setting$IsLegendVisible: boolean;
175
175
  /**
176
- * 画布:设置:是否绘制小车路线:小车在路线上.
176
+ * 画布--设置--是否绘制小车路线--小车在路线上.
177
177
  */
178
178
  $Canvas$Setting$IsRgvOnPath: boolean;
179
179
  /**
180
- * 画布:设置:是否绘制小车路线:是否显示垂直连线.
180
+ * 画布--设置--是否绘制小车路线--是否显示垂直连线.
181
181
  */
182
182
  $Canvas$Setting$IsRgvPathLineVisible: boolean;
183
183
  /**
184
- * 画布:设置:是否绘制小车路线.
184
+ * 画布--设置--是否绘制小车路线.
185
185
  */
186
186
  $Canvas$Setting$IsRgvPathVisible: boolean;
187
187
  /**
188
- * 画布:设置:选中是否闪烁.
188
+ * 画布--设置--选中是否闪烁.
189
189
  */
190
190
  $Canvas$Setting$IsSelectBlinkOn: boolean;
191
191
  /**
192
- * 画布:设置:小车间距.
192
+ * 画布--设置--小车间距.
193
193
  */
194
194
  $Canvas$Setting$RgvMarginY: number;
195
195
  /**
196
- * <p>画布:设置:小车属性.</p>
196
+ * <p>画布--设置--小车属性.</p>
197
197
  * <ul>
198
198
  * <li>key: 小车编号</li>
199
199
  * <li>value: 小车属性</li>
@@ -206,51 +206,51 @@ export interface IKgCircularShuttleMonitorStoreState {
206
206
  pathColor: string;
207
207
  }>;
208
208
  /**
209
- * 画布:设置:闪烁间隔毫秒.
209
+ * 画布--设置--闪烁间隔毫秒.
210
210
  */
211
211
  $Canvas$Setting$SelectBlinkInterval: number;
212
212
  /**
213
- * 画布:当前选中的小车列表.
213
+ * 画布--当前选中的小车列表.
214
214
  */
215
215
  $Canvas$currentRgvList: Array<StatusRgvVO>;
216
216
  /**
217
- * 画布:当前选中的站点列表.
217
+ * 画布--当前选中的站点列表.
218
218
  */
219
219
  $Canvas$currentStationList: Array<MapStationVO>;
220
220
  /**
221
- * 画布:最新地图数据.
221
+ * 画布--最新地图数据.
222
222
  */
223
223
  $Canvas$mapData: MapDTO | null;
224
224
  /**
225
- * 画布:地图数据列表. 等待被绘制的地图数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
225
+ * 画布--地图数据列表. 等待被绘制的地图数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
226
226
  */
227
227
  $Canvas$mapDataList: Array<MapDTO>;
228
228
  /**
229
- * 画布:是否正在请求地图数据.
229
+ * 画布--是否正在请求地图数据.
230
230
  */
231
231
  $Canvas$mapIsRequesting: boolean;
232
232
  /**
233
- * 画布:最新状态数据.
233
+ * 画布--最新状态数据.
234
234
  */
235
235
  $Canvas$statusData: StatusDTO | null;
236
236
  /**
237
- * 画布:状态数据列表. 等待被绘制的状态数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
237
+ * 画布--状态数据列表. 等待被绘制的状态数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
238
238
  */
239
239
  $Canvas$statusDataList: Array<StatusDTO>;
240
240
  /**
241
- * 画布:是否正在请求状态数据.
241
+ * 画布--是否正在请求状态数据.
242
242
  */
243
243
  $Canvas$statusIsRequesting: boolean;
244
244
  /**
245
- * 设置:是否显示.
245
+ * 设置--是否显示.
246
246
  */
247
247
  $Setting$isVisible: boolean;
248
248
  /**
249
- * 标签页:当前标签页.
249
+ * 标签页--当前标签页.
250
250
  */
251
251
  $Tab$activeKey: string | number;
252
252
  /**
253
- * 标签页:小车列表.
253
+ * 标签页--小车列表.
254
254
  */
255
255
  $Tab$rgvList: Array<StatusRgvVO>;
256
256
  /**
@@ -290,7 +290,7 @@ export interface IKgCircularShuttleMonitorStoreGetters {
290
290
  $Canvas$getStatusDataList: Array<StatusDTO>;
291
291
  $Canvas$getStatusIsRequesting: boolean;
292
292
  /**
293
- * 离线区:离线小车列表.
293
+ * 离线区--离线小车列表.
294
294
  */
295
295
  $Offline$getRgvList: Array<StatusRgvVO>;
296
296
  $Setting$getIsVisible: boolean;
@@ -312,13 +312,13 @@ export interface IKgCircularShuttleMonitorStoreActions {
312
312
  $Canvas$Setting$setRgvMarginY(value: number | null | undefined): void;
313
313
  $Canvas$Setting$setSelectBlinkInterval(value: number | null | undefined): void;
314
314
  /**
315
- * 画布:往地图数据列尾插入一个数据.
315
+ * 画布--往地图数据列尾插入一个数据.
316
316
  *
317
317
  * @param value 要插入的数据.
318
318
  */
319
319
  $Canvas$pushMapDataList(value: MapDTO | null | undefined): void;
320
320
  /**
321
- * 画布:往状态数据列尾插入一个数据.
321
+ * 画布--往状态数据列尾插入一个数据.
322
322
  *
323
323
  * @param value 要插入的数据.
324
324
  */
@@ -333,13 +333,13 @@ export interface IKgCircularShuttleMonitorStoreActions {
333
333
  $Canvas$setStatusIsRequesting(value: boolean | null | undefined): void;
334
334
  $Setting$setIsVisible(value: boolean | null | undefined): void;
335
335
  /**
336
- * 标签页:从标签页列表中删除某个小车.
336
+ * 标签页--从标签页列表中删除某个小车.
337
337
  *
338
338
  * @param value 要删除的小车.
339
339
  */
340
340
  $Tab$deleteRgv(value: StatusRgvVO | null | undefined): void;
341
341
  /**
342
- * <p>标签页:插入小车列表.</p>
342
+ * <p>标签页--插入小车列表.</p>
343
343
  * <p>如果某个小车已经存在标签页列表中, 则不插入.</p>
344
344
  * <p>插入完成后, 将新插入的小车列表中的第一个小车的标签页激活.</p>
345
345
  *
@@ -0,0 +1,3 @@
1
+ export { KgCircularShuttleMonitor } from './KgCircularShuttleMonitor';
2
+ export * from './KgCircularShuttleMonitor.hooks';
3
+ export * from './KgCircularShuttleMonitor.store';
@@ -1,9 +1,9 @@
1
1
  import { KG_FORM_CONTEXT } from '../../const';
2
2
  import './KgForm.Item.less';
3
3
  declare const _default: import("vue").DefineComponent<{
4
- kgVarName: {
5
- type: import("vue").PropType<string>;
6
- required: boolean;
4
+ kgAllowClear: {
5
+ type: import("vue").PropType<boolean>;
6
+ default: undefined;
7
7
  };
8
8
  kgContext: {
9
9
  type: import("vue").PropType<KG_FORM_CONTEXT>;
@@ -13,37 +13,37 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: import("vue").PropType<boolean>;
14
14
  default: undefined;
15
15
  };
16
- kgSpan: import("vue").PropType<number>;
17
- kgPlaceholder: import("vue").PropType<string>;
18
16
  kgMode: import("vue").PropType<"multiple" | "tags">;
17
+ kgPicker: {
18
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
19
+ default: undefined;
20
+ };
21
+ kgPlaceholder: import("vue").PropType<string>;
22
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
19
23
  kgShowLabel: {
20
24
  type: import("vue").PropType<boolean>;
21
25
  default: boolean;
22
26
  };
23
- kgAllowClear: {
24
- type: import("vue").PropType<boolean>;
25
- default: undefined;
26
- };
27
27
  kgShowTime: {
28
28
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
29
29
  default: undefined;
30
30
  };
31
- kgPicker: {
32
- type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
33
- default: undefined;
31
+ kgSpan: import("vue").PropType<number>;
32
+ kgVarName: {
33
+ type: import("vue").PropType<string>;
34
+ required: boolean;
34
35
  };
35
- kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
37
+ onKgSubmit: import("vue").PropType<() => void>;
38
+ 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.model").IKgFormItemValue | null) => void>;
36
39
  value: {
37
40
  type: import("vue").PropType<import("./KgForm.Item.model").IKgFormItemValue>;
38
41
  default: undefined;
39
42
  };
40
- 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.model").IKgFormItemValue | null) => void>;
41
- onKgSubmit: import("vue").PropType<() => void>;
42
- onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
43
  }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgSelectChange")[], "kgSubmit" | "kgSelectChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
- kgVarName: {
45
- type: import("vue").PropType<string>;
46
- required: boolean;
44
+ kgAllowClear: {
45
+ type: import("vue").PropType<boolean>;
46
+ default: undefined;
47
47
  };
48
48
  kgContext: {
49
49
  type: import("vue").PropType<KG_FORM_CONTEXT>;
@@ -53,43 +53,43 @@ declare const _default: import("vue").DefineComponent<{
53
53
  type: import("vue").PropType<boolean>;
54
54
  default: undefined;
55
55
  };
56
- kgSpan: import("vue").PropType<number>;
57
- kgPlaceholder: import("vue").PropType<string>;
58
56
  kgMode: import("vue").PropType<"multiple" | "tags">;
57
+ kgPicker: {
58
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
59
+ default: undefined;
60
+ };
61
+ kgPlaceholder: import("vue").PropType<string>;
62
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
59
63
  kgShowLabel: {
60
64
  type: import("vue").PropType<boolean>;
61
65
  default: boolean;
62
66
  };
63
- kgAllowClear: {
64
- type: import("vue").PropType<boolean>;
65
- default: undefined;
66
- };
67
67
  kgShowTime: {
68
68
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
69
69
  default: undefined;
70
70
  };
71
- kgPicker: {
72
- type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
73
- default: undefined;
71
+ kgSpan: import("vue").PropType<number>;
72
+ kgVarName: {
73
+ type: import("vue").PropType<string>;
74
+ required: boolean;
74
75
  };
75
- kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
77
+ onKgSubmit: import("vue").PropType<() => void>;
78
+ 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.model").IKgFormItemValue | null) => void>;
76
79
  value: {
77
80
  type: import("vue").PropType<import("./KgForm.Item.model").IKgFormItemValue>;
78
81
  default: undefined;
79
82
  };
80
- 'onUpdate:value': import("vue").PropType<(value: import("./KgForm.Item.model").IKgFormItemValue | null) => void>;
81
- onKgSubmit: import("vue").PropType<() => void>;
82
- onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
83
  }>> & {
84
- onKgSubmit?: ((...args: any[]) => any) | undefined;
85
84
  onKgSelectChange?: ((...args: any[]) => any) | undefined;
85
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
86
86
  }, {
87
87
  value: import("./KgForm.Item.model").IKgFormItemValue;
88
88
  kgDisabled: boolean;
89
+ kgAllowClear: boolean;
89
90
  kgContext: KG_FORM_CONTEXT;
91
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
90
92
  kgShowLabel: boolean;
91
- kgAllowClear: boolean;
92
93
  kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
93
- kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
94
94
  }>;
95
95
  export default _default;
@@ -7,10 +7,13 @@ import { VarConfigControl, VarProfileDetail, VarSubmitDetail } from '../../api/W
7
7
  import { KG_FORM_CONTEXT } from '../../const';
8
8
  export declare type IKgFormItemValue = string | number | Array<string | number>;
9
9
  export declare const getProps: () => {
10
- /** 变量名称. */
11
- kgVarName: {
12
- type: PropType<string>;
13
- required: boolean;
10
+ /**
11
+ * 是否允许清空.
12
+ * @default true
13
+ */
14
+ kgAllowClear: {
15
+ type: PropType<boolean>;
16
+ default: undefined;
14
17
  };
15
18
  /**
16
19
  * 控件所处环境.
@@ -27,27 +30,28 @@ export declare const getProps: () => {
27
30
  type: PropType<boolean>;
28
31
  default: undefined;
29
32
  };
30
- /** 控件宽度. */
31
- kgSpan: PropType<number>;
32
- /** 提示文字. */
33
- kgPlaceholder: PropType<string>;
34
33
  /** 模式. 用于下拉列表, 设置单选多选. */
35
34
  kgMode: PropType<"multiple" | "tags">;
36
35
  /**
37
- * 是否显示标签文本.
38
- * @default true
36
+ * 日期选择控件类型, 对应 DatePicker 组件的 picker 参数.
37
+ * https://www.antdv.com/components/date-picker#DatePicker
38
+ * @default undefined
39
39
  */
40
- kgShowLabel: {
41
- type: PropType<boolean>;
42
- default: boolean;
40
+ kgPicker: {
41
+ type: PropType<PickerMode>;
42
+ default: undefined;
43
43
  };
44
+ /** 提示文字. */
45
+ kgPlaceholder: PropType<string>;
46
+ /** @deprecated TODO 移除 props.kgRules, 直接使用 kgSubmit.rules */
47
+ kgRules: PropType<RuleObject[]>;
44
48
  /**
45
- * 是否允许清空.
49
+ * 是否显示标签文本.
46
50
  * @default true
47
51
  */
48
- kgAllowClear: {
52
+ kgShowLabel: {
49
53
  type: PropType<boolean>;
50
- default: undefined;
54
+ default: boolean;
51
55
  };
52
56
  /**
53
57
  * 时间配置, 对应 DatePicker 组件的 showTime 参数.
@@ -58,25 +62,21 @@ export declare const getProps: () => {
58
62
  type: PropType<boolean | SharedTimeProps<Dayjs>>;
59
63
  default: undefined;
60
64
  };
61
- /**
62
- * 日期选择控件类型, 对应 DatePicker 组件的 picker 参数.
63
- * https://www.antdv.com/components/date-picker#DatePicker
64
- * @default undefined
65
- */
66
- kgPicker: {
67
- type: PropType<PickerMode>;
68
- default: undefined;
65
+ /** 控件宽度. */
66
+ kgSpan: PropType<number>;
67
+ /** 变量名称. */
68
+ kgVarName: {
69
+ type: PropType<string>;
70
+ required: boolean;
69
71
  };
70
- /** @deprecated TODO 移除 props.kgRules, 直接使用 kgSubmit.rules */
71
- kgRules: PropType<RuleObject[]>;
72
+ /** @deprecated TODO LT 移除该事件,使用 'kgForm.onSelectChange' 事件代替 */
73
+ onKgSelectChange: PropType<(value: any | null) => void>;
74
+ onKgSubmit: PropType<() => void>;
75
+ 'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
72
76
  value: {
73
77
  type: PropType<IKgFormItemValue>;
74
78
  default: undefined;
75
79
  };
76
- 'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
77
- onKgSubmit: PropType<() => void>;
78
- /** @deprecated TODO LT 移除该事件,使用 'kgForm.onSelectChange' 事件代替 */
79
- onKgSelectChange: PropType<(value: any | null) => void>;
80
80
  };
81
81
  export declare type KgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
82
82
  /**
@@ -4,9 +4,9 @@ import { KG_FORM_CONTEXT } from '../../../const';
4
4
  * <p>组件 Checkbox 的 checked 属性使用的是 true/false, 本组件实际传入的参数为 1/0, 因此存在数据转换.</p>
5
5
  */
6
6
  declare const _default: import("vue").DefineComponent<{
7
- kgVarName: {
8
- type: import("vue").PropType<string>;
9
- required: boolean;
7
+ kgAllowClear: {
8
+ type: import("vue").PropType<boolean>;
9
+ default: undefined;
10
10
  };
11
11
  kgContext: {
12
12
  type: import("vue").PropType<KG_FORM_CONTEXT>;
@@ -14,39 +14,39 @@ declare const _default: import("vue").DefineComponent<{
14
14
  };
15
15
  kgDisabled: {
16
16
  type: import("vue").PropType<boolean>;
17
- default: undefined; /** 是否勾选. */
17
+ default: undefined;
18
18
  };
19
- kgSpan: import("vue").PropType<number>;
20
- kgPlaceholder: import("vue").PropType<string>;
21
19
  kgMode: import("vue").PropType<"multiple" | "tags">;
20
+ kgPicker: {
21
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
22
+ default: undefined;
23
+ };
24
+ kgPlaceholder: import("vue").PropType<string>;
25
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
22
26
  kgShowLabel: {
23
27
  type: import("vue").PropType<boolean>;
24
28
  default: boolean;
25
29
  };
26
- kgAllowClear: {
27
- type: import("vue").PropType<boolean>;
28
- default: undefined;
29
- };
30
30
  kgShowTime: {
31
31
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
32
32
  default: undefined;
33
33
  };
34
- kgPicker: {
35
- type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
36
- default: undefined;
34
+ kgSpan: import("vue").PropType<number>;
35
+ kgVarName: {
36
+ type: import("vue").PropType<string>;
37
+ required: boolean;
37
38
  };
38
- kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
39
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
+ onKgSubmit: import("vue").PropType<() => void>;
41
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.model").IKgFormItemValue | null) => void>;
39
42
  value: {
40
43
  type: import("vue").PropType<import("../KgForm.Item.model").IKgFormItemValue>;
41
44
  default: undefined;
42
45
  };
43
- 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.model").IKgFormItemValue | null) => void>;
44
- onKgSubmit: import("vue").PropType<() => void>;
45
- onKgSelectChange: import("vue").PropType<(value: any) => void>;
46
46
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "update:value")[], "kgSubmit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
- kgVarName: {
48
- type: import("vue").PropType<string>;
49
- required: boolean;
47
+ kgAllowClear: {
48
+ type: import("vue").PropType<boolean>;
49
+ default: undefined;
50
50
  };
51
51
  kgContext: {
52
52
  type: import("vue").PropType<KG_FORM_CONTEXT>;
@@ -54,45 +54,45 @@ declare const _default: import("vue").DefineComponent<{
54
54
  };
55
55
  kgDisabled: {
56
56
  type: import("vue").PropType<boolean>;
57
- default: undefined; /** 是否勾选. */
57
+ default: undefined;
58
58
  };
59
- kgSpan: import("vue").PropType<number>;
60
- kgPlaceholder: import("vue").PropType<string>;
61
59
  kgMode: import("vue").PropType<"multiple" | "tags">;
60
+ kgPicker: {
61
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
62
+ default: undefined;
63
+ };
64
+ kgPlaceholder: import("vue").PropType<string>;
65
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
62
66
  kgShowLabel: {
63
67
  type: import("vue").PropType<boolean>;
64
68
  default: boolean;
65
69
  };
66
- kgAllowClear: {
67
- type: import("vue").PropType<boolean>;
68
- default: undefined;
69
- };
70
70
  kgShowTime: {
71
71
  type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
72
72
  default: undefined;
73
73
  };
74
- kgPicker: {
75
- type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
76
- default: undefined;
74
+ kgSpan: import("vue").PropType<number>;
75
+ kgVarName: {
76
+ type: import("vue").PropType<string>;
77
+ required: boolean;
77
78
  };
78
- kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
79
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
80
+ onKgSubmit: import("vue").PropType<() => void>;
81
+ 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.model").IKgFormItemValue | null) => void>;
79
82
  value: {
80
83
  type: import("vue").PropType<import("../KgForm.Item.model").IKgFormItemValue>;
81
84
  default: undefined;
82
85
  };
83
- 'onUpdate:value': import("vue").PropType<(value: import("../KgForm.Item.model").IKgFormItemValue | null) => void>;
84
- onKgSubmit: import("vue").PropType<() => void>;
85
- onKgSelectChange: import("vue").PropType<(value: any) => void>;
86
86
  }>> & {
87
87
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
88
88
  onKgSubmit?: ((...args: any[]) => any) | undefined;
89
89
  }, {
90
90
  value: import("../KgForm.Item.model").IKgFormItemValue;
91
91
  kgDisabled: boolean;
92
+ kgAllowClear: boolean;
92
93
  kgContext: KG_FORM_CONTEXT;
94
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
93
95
  kgShowLabel: boolean;
94
- kgAllowClear: boolean;
95
96
  kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
96
- kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
97
97
  }>;
98
98
  export default _default;