cnhis-design-vue 3.3.3-release.13 → 3.3.3-release.14
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.
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +25 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +22 -4
- package/es/components/button-print/src/utils/print.d.ts +3 -3
- package/es/components/button-print/src/utils/print.js +11 -0
- package/es/components/calendar/src/Calendar.vue2.js +15 -5
- package/es/components/classification/index.d.ts +500 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +500 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +500 -5
- package/es/components/classification/src/index.vue.d.ts +500 -5
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
- package/es/components/form-render/src/components/renderer/date.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/date.js +12 -10
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +7 -2
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-chat/index.d.ts +1 -1
- package/es/components/iho-chat/src/Index.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +0 -2
- package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.js +12 -14
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/keyboard/index.d.ts +1 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +1 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +23 -10
- package/es/components/select-person/src/SelectPerson.vue2.js +8 -1
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +490 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +238 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +239 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +51 -8
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +477 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +49 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +500 -5
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +13 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +23 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
- package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
- package/es/components/table-filter/src/types/enums.d.ts +4 -0
- package/es/components/table-filter/src/types/enums.js +5 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +2 -2
- package/package.json +4 -4
@@ -1,4 +1,8 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
+
item: {
|
3
|
+
type: ObjectConstructor;
|
4
|
+
default: null;
|
5
|
+
};
|
2
6
|
paramCfg: {
|
3
7
|
type: ObjectConstructor;
|
4
8
|
default: null;
|
@@ -20,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
20
24
|
};
|
21
25
|
}, {
|
22
26
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
item: {
|
28
|
+
type: ObjectConstructor;
|
29
|
+
default: null;
|
30
|
+
};
|
23
31
|
paramCfg: {
|
24
32
|
type: ObjectConstructor;
|
25
33
|
default: null;
|
@@ -55,6 +63,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
55
63
|
componentCfg: {
|
56
64
|
type: ObjectConstructor;
|
57
65
|
};
|
66
|
+
item: {
|
67
|
+
type: ObjectConstructor;
|
68
|
+
required: true;
|
69
|
+
};
|
58
70
|
paramCfg: {
|
59
71
|
type: ObjectConstructor;
|
60
72
|
default: null;
|
@@ -76,6 +88,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
76
88
|
componentCfg: {
|
77
89
|
type: ObjectConstructor;
|
78
90
|
};
|
91
|
+
item: {
|
92
|
+
type: ObjectConstructor;
|
93
|
+
required: true;
|
94
|
+
};
|
79
95
|
paramCfg: {
|
80
96
|
type: ObjectConstructor;
|
81
97
|
default: null;
|
@@ -98,6 +114,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
114
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
99
115
|
}>>;
|
100
116
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
117
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
101
118
|
valueCp: import("vue").WritableComputedRef<any>;
|
102
119
|
presetValCp: import("vue").WritableComputedRef<string>;
|
103
120
|
dateType: any;
|
@@ -244,6 +261,231 @@ declare const _default: import("vue").DefineComponent<{
|
|
244
261
|
holidays: Date[];
|
245
262
|
}>>;
|
246
263
|
NSelect: any;
|
264
|
+
DateOption: import("vue").DefineComponent<{
|
265
|
+
filterType: {
|
266
|
+
type: StringConstructor;
|
267
|
+
required: true;
|
268
|
+
};
|
269
|
+
modelValue: {
|
270
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
271
|
+
default: null;
|
272
|
+
};
|
273
|
+
presetVal: {
|
274
|
+
type: StringConstructor;
|
275
|
+
default: null;
|
276
|
+
};
|
277
|
+
dateType: {
|
278
|
+
type: StringConstructor;
|
279
|
+
};
|
280
|
+
isDateDisabled: {
|
281
|
+
type: FunctionConstructor;
|
282
|
+
};
|
283
|
+
timeDisabled: {
|
284
|
+
type: FunctionConstructor;
|
285
|
+
};
|
286
|
+
valueFormat: {
|
287
|
+
type: StringConstructor;
|
288
|
+
};
|
289
|
+
}, {
|
290
|
+
widgetOptions: {
|
291
|
+
label: string;
|
292
|
+
value: string;
|
293
|
+
}[];
|
294
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
295
|
+
filterType: {
|
296
|
+
type: StringConstructor;
|
297
|
+
required: true;
|
298
|
+
};
|
299
|
+
modelValue: {
|
300
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
301
|
+
default: null;
|
302
|
+
};
|
303
|
+
presetVal: {
|
304
|
+
type: StringConstructor;
|
305
|
+
default: null;
|
306
|
+
};
|
307
|
+
dateType: {
|
308
|
+
type: StringConstructor;
|
309
|
+
};
|
310
|
+
isDateDisabled: {
|
311
|
+
type: FunctionConstructor;
|
312
|
+
};
|
313
|
+
timeDisabled: {
|
314
|
+
type: FunctionConstructor;
|
315
|
+
};
|
316
|
+
valueFormat: {
|
317
|
+
type: StringConstructor;
|
318
|
+
};
|
319
|
+
}>> & {
|
320
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
321
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
322
|
+
}>>;
|
323
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
324
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
325
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
326
|
+
CDatePicker: import("../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
327
|
+
updateUnchangedValue: {
|
328
|
+
type: BooleanConstructor;
|
329
|
+
};
|
330
|
+
onConfirm: {
|
331
|
+
type: FunctionConstructor;
|
332
|
+
};
|
333
|
+
formattedValue: {
|
334
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
335
|
+
};
|
336
|
+
placeholder: {
|
337
|
+
type: StringConstructor;
|
338
|
+
};
|
339
|
+
allowedInvalidValue: {
|
340
|
+
type: StringConstructor;
|
341
|
+
};
|
342
|
+
to: {
|
343
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
344
|
+
default: string;
|
345
|
+
};
|
346
|
+
holidays: {
|
347
|
+
type: import("vue").PropType<Date[]>;
|
348
|
+
default: () => never[];
|
349
|
+
};
|
350
|
+
type: {
|
351
|
+
type: StringConstructor;
|
352
|
+
default: string;
|
353
|
+
};
|
354
|
+
isDateDisabled: {
|
355
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
356
|
+
};
|
357
|
+
}, {
|
358
|
+
attrs: {
|
359
|
+
[x: string]: unknown;
|
360
|
+
};
|
361
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
362
|
+
updateUnchangedValue: {
|
363
|
+
type: BooleanConstructor;
|
364
|
+
};
|
365
|
+
onConfirm: {
|
366
|
+
type: FunctionConstructor;
|
367
|
+
};
|
368
|
+
formattedValue: {
|
369
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
370
|
+
};
|
371
|
+
placeholder: {
|
372
|
+
type: StringConstructor;
|
373
|
+
};
|
374
|
+
allowedInvalidValue: {
|
375
|
+
type: StringConstructor;
|
376
|
+
};
|
377
|
+
to: {
|
378
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
379
|
+
default: string;
|
380
|
+
};
|
381
|
+
holidays: {
|
382
|
+
type: import("vue").PropType<Date[]>;
|
383
|
+
default: () => never[];
|
384
|
+
};
|
385
|
+
type: {
|
386
|
+
type: StringConstructor;
|
387
|
+
default: string;
|
388
|
+
};
|
389
|
+
isDateDisabled: {
|
390
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
391
|
+
};
|
392
|
+
}>> & {
|
393
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
394
|
+
}>>;
|
395
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
396
|
+
datePickerRef: import("vue").Ref<import("../../../../../shared/types").AnyObject | null>;
|
397
|
+
panelInstRef: import("vue").Ref<null>;
|
398
|
+
placeholderRef: import("vue").Ref<any>;
|
399
|
+
oldValue: string;
|
400
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
401
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
402
|
+
formatRef: import("vue").ComputedRef<string>;
|
403
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
404
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
405
|
+
focus: () => any;
|
406
|
+
blur: () => any;
|
407
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
408
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
409
|
+
watchers: import("../../../../../shared/types").AnyFn[];
|
410
|
+
stopWatcher: () => void;
|
411
|
+
setHoliday: (show: boolean) => Promise<void>;
|
412
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
413
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
414
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
415
|
+
NDatePicker: any;
|
416
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
417
|
+
updateUnchangedValue: {
|
418
|
+
type: BooleanConstructor;
|
419
|
+
};
|
420
|
+
onConfirm: {
|
421
|
+
type: FunctionConstructor;
|
422
|
+
};
|
423
|
+
formattedValue: {
|
424
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
425
|
+
};
|
426
|
+
placeholder: {
|
427
|
+
type: StringConstructor;
|
428
|
+
};
|
429
|
+
allowedInvalidValue: {
|
430
|
+
type: StringConstructor;
|
431
|
+
};
|
432
|
+
to: {
|
433
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
434
|
+
default: string;
|
435
|
+
};
|
436
|
+
holidays: {
|
437
|
+
type: import("vue").PropType<Date[]>;
|
438
|
+
default: () => never[];
|
439
|
+
};
|
440
|
+
type: {
|
441
|
+
type: StringConstructor;
|
442
|
+
default: string;
|
443
|
+
};
|
444
|
+
isDateDisabled: {
|
445
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
446
|
+
};
|
447
|
+
}>> & {
|
448
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
449
|
+
}, {
|
450
|
+
type: string;
|
451
|
+
updateUnchangedValue: boolean;
|
452
|
+
to: string | false | HTMLElement;
|
453
|
+
holidays: Date[];
|
454
|
+
}>>;
|
455
|
+
NSelect: any;
|
456
|
+
NInputNumber: any;
|
457
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
458
|
+
filterType: {
|
459
|
+
type: StringConstructor;
|
460
|
+
required: true;
|
461
|
+
};
|
462
|
+
modelValue: {
|
463
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
464
|
+
default: null;
|
465
|
+
};
|
466
|
+
presetVal: {
|
467
|
+
type: StringConstructor;
|
468
|
+
default: null;
|
469
|
+
};
|
470
|
+
dateType: {
|
471
|
+
type: StringConstructor;
|
472
|
+
};
|
473
|
+
isDateDisabled: {
|
474
|
+
type: FunctionConstructor;
|
475
|
+
};
|
476
|
+
timeDisabled: {
|
477
|
+
type: FunctionConstructor;
|
478
|
+
};
|
479
|
+
valueFormat: {
|
480
|
+
type: StringConstructor;
|
481
|
+
};
|
482
|
+
}>> & {
|
483
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
484
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
485
|
+
}, {
|
486
|
+
modelValue: string | number | unknown[];
|
487
|
+
presetVal: string;
|
488
|
+
}>;
|
247
489
|
WidgetValEnums: {
|
248
490
|
CUSTOM: string;
|
249
491
|
FIRST_VAL: string;
|
@@ -279,6 +521,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
279
521
|
componentCfg: {
|
280
522
|
type: ObjectConstructor;
|
281
523
|
};
|
524
|
+
item: {
|
525
|
+
type: ObjectConstructor;
|
526
|
+
required: true;
|
527
|
+
};
|
282
528
|
paramCfg: {
|
283
529
|
type: ObjectConstructor;
|
284
530
|
default: null;
|
@@ -756,6 +1002,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
756
1002
|
paramCfg: Record<string, any>;
|
757
1003
|
}>;
|
758
1004
|
DateRange: import("vue").DefineComponent<{
|
1005
|
+
item: {
|
1006
|
+
type: ObjectConstructor;
|
1007
|
+
required: true;
|
1008
|
+
};
|
759
1009
|
paramCfg: {
|
760
1010
|
type: ObjectConstructor;
|
761
1011
|
default: null;
|
@@ -774,6 +1024,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
774
1024
|
};
|
775
1025
|
}, {
|
776
1026
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1027
|
+
item: {
|
1028
|
+
type: ObjectConstructor;
|
1029
|
+
required: true;
|
1030
|
+
};
|
777
1031
|
paramCfg: {
|
778
1032
|
type: ObjectConstructor;
|
779
1033
|
default: null;
|
@@ -798,6 +1052,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
798
1052
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
799
1053
|
startDate: import("vue").Ref<any>;
|
800
1054
|
endDate: import("vue").Ref<any>;
|
1055
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
801
1056
|
valueFormat: import("vue").ComputedRef<string>;
|
802
1057
|
dateFormat: import("vue").ComputedRef<string>;
|
803
1058
|
compType: import("vue").ComputedRef<any>;
|
@@ -816,7 +1071,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
816
1071
|
value: string;
|
817
1072
|
}[]>;
|
818
1073
|
presetValCp: import("vue").WritableComputedRef<string>;
|
819
|
-
|
1074
|
+
valueDateCp: import("vue").WritableComputedRef<unknown>;
|
820
1075
|
handleChange: (val: any, type: "start" | "end") => void;
|
821
1076
|
isStartDateDisabled: (ts: number) => boolean;
|
822
1077
|
timeStartDisabled: (ts: number) => {
|
@@ -961,6 +1216,231 @@ declare const _default: import("vue").DefineComponent<{
|
|
961
1216
|
to: string | false | HTMLElement;
|
962
1217
|
holidays: Date[];
|
963
1218
|
}>>;
|
1219
|
+
DateOption: import("vue").DefineComponent<{
|
1220
|
+
filterType: {
|
1221
|
+
type: StringConstructor;
|
1222
|
+
required: true;
|
1223
|
+
};
|
1224
|
+
modelValue: {
|
1225
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1226
|
+
default: null;
|
1227
|
+
};
|
1228
|
+
presetVal: {
|
1229
|
+
type: StringConstructor;
|
1230
|
+
default: null;
|
1231
|
+
};
|
1232
|
+
dateType: {
|
1233
|
+
type: StringConstructor;
|
1234
|
+
};
|
1235
|
+
isDateDisabled: {
|
1236
|
+
type: FunctionConstructor;
|
1237
|
+
};
|
1238
|
+
timeDisabled: {
|
1239
|
+
type: FunctionConstructor;
|
1240
|
+
};
|
1241
|
+
valueFormat: {
|
1242
|
+
type: StringConstructor;
|
1243
|
+
};
|
1244
|
+
}, {
|
1245
|
+
widgetOptions: {
|
1246
|
+
label: string;
|
1247
|
+
value: string;
|
1248
|
+
}[];
|
1249
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1250
|
+
filterType: {
|
1251
|
+
type: StringConstructor;
|
1252
|
+
required: true;
|
1253
|
+
};
|
1254
|
+
modelValue: {
|
1255
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1256
|
+
default: null;
|
1257
|
+
};
|
1258
|
+
presetVal: {
|
1259
|
+
type: StringConstructor;
|
1260
|
+
default: null;
|
1261
|
+
};
|
1262
|
+
dateType: {
|
1263
|
+
type: StringConstructor;
|
1264
|
+
};
|
1265
|
+
isDateDisabled: {
|
1266
|
+
type: FunctionConstructor;
|
1267
|
+
};
|
1268
|
+
timeDisabled: {
|
1269
|
+
type: FunctionConstructor;
|
1270
|
+
};
|
1271
|
+
valueFormat: {
|
1272
|
+
type: StringConstructor;
|
1273
|
+
};
|
1274
|
+
}>> & {
|
1275
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1276
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1277
|
+
}>>;
|
1278
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1279
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
1280
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
1281
|
+
CDatePicker: import("../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
1282
|
+
updateUnchangedValue: {
|
1283
|
+
type: BooleanConstructor;
|
1284
|
+
};
|
1285
|
+
onConfirm: {
|
1286
|
+
type: FunctionConstructor;
|
1287
|
+
};
|
1288
|
+
formattedValue: {
|
1289
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1290
|
+
};
|
1291
|
+
placeholder: {
|
1292
|
+
type: StringConstructor;
|
1293
|
+
};
|
1294
|
+
allowedInvalidValue: {
|
1295
|
+
type: StringConstructor;
|
1296
|
+
};
|
1297
|
+
to: {
|
1298
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1299
|
+
default: string;
|
1300
|
+
};
|
1301
|
+
holidays: {
|
1302
|
+
type: import("vue").PropType<Date[]>;
|
1303
|
+
default: () => never[];
|
1304
|
+
};
|
1305
|
+
type: {
|
1306
|
+
type: StringConstructor;
|
1307
|
+
default: string;
|
1308
|
+
};
|
1309
|
+
isDateDisabled: {
|
1310
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1311
|
+
};
|
1312
|
+
}, {
|
1313
|
+
attrs: {
|
1314
|
+
[x: string]: unknown;
|
1315
|
+
};
|
1316
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1317
|
+
updateUnchangedValue: {
|
1318
|
+
type: BooleanConstructor;
|
1319
|
+
};
|
1320
|
+
onConfirm: {
|
1321
|
+
type: FunctionConstructor;
|
1322
|
+
};
|
1323
|
+
formattedValue: {
|
1324
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1325
|
+
};
|
1326
|
+
placeholder: {
|
1327
|
+
type: StringConstructor;
|
1328
|
+
};
|
1329
|
+
allowedInvalidValue: {
|
1330
|
+
type: StringConstructor;
|
1331
|
+
};
|
1332
|
+
to: {
|
1333
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1334
|
+
default: string;
|
1335
|
+
};
|
1336
|
+
holidays: {
|
1337
|
+
type: import("vue").PropType<Date[]>;
|
1338
|
+
default: () => never[];
|
1339
|
+
};
|
1340
|
+
type: {
|
1341
|
+
type: StringConstructor;
|
1342
|
+
default: string;
|
1343
|
+
};
|
1344
|
+
isDateDisabled: {
|
1345
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1346
|
+
};
|
1347
|
+
}>> & {
|
1348
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1349
|
+
}>>;
|
1350
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
1351
|
+
datePickerRef: import("vue").Ref<import("../../../../../shared/types").AnyObject | null>;
|
1352
|
+
panelInstRef: import("vue").Ref<null>;
|
1353
|
+
placeholderRef: import("vue").Ref<any>;
|
1354
|
+
oldValue: string;
|
1355
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
1356
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
1357
|
+
formatRef: import("vue").ComputedRef<string>;
|
1358
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1359
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1360
|
+
focus: () => any;
|
1361
|
+
blur: () => any;
|
1362
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
1363
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
1364
|
+
watchers: import("../../../../../shared/types").AnyFn[];
|
1365
|
+
stopWatcher: () => void;
|
1366
|
+
setHoliday: (show: boolean) => Promise<void>;
|
1367
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
1368
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
1369
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
1370
|
+
NDatePicker: any;
|
1371
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1372
|
+
updateUnchangedValue: {
|
1373
|
+
type: BooleanConstructor;
|
1374
|
+
};
|
1375
|
+
onConfirm: {
|
1376
|
+
type: FunctionConstructor;
|
1377
|
+
};
|
1378
|
+
formattedValue: {
|
1379
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1380
|
+
};
|
1381
|
+
placeholder: {
|
1382
|
+
type: StringConstructor;
|
1383
|
+
};
|
1384
|
+
allowedInvalidValue: {
|
1385
|
+
type: StringConstructor;
|
1386
|
+
};
|
1387
|
+
to: {
|
1388
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1389
|
+
default: string;
|
1390
|
+
};
|
1391
|
+
holidays: {
|
1392
|
+
type: import("vue").PropType<Date[]>;
|
1393
|
+
default: () => never[];
|
1394
|
+
};
|
1395
|
+
type: {
|
1396
|
+
type: StringConstructor;
|
1397
|
+
default: string;
|
1398
|
+
};
|
1399
|
+
isDateDisabled: {
|
1400
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1401
|
+
};
|
1402
|
+
}>> & {
|
1403
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1404
|
+
}, {
|
1405
|
+
type: string;
|
1406
|
+
updateUnchangedValue: boolean;
|
1407
|
+
to: string | false | HTMLElement;
|
1408
|
+
holidays: Date[];
|
1409
|
+
}>>;
|
1410
|
+
NSelect: any;
|
1411
|
+
NInputNumber: any;
|
1412
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1413
|
+
filterType: {
|
1414
|
+
type: StringConstructor;
|
1415
|
+
required: true;
|
1416
|
+
};
|
1417
|
+
modelValue: {
|
1418
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1419
|
+
default: null;
|
1420
|
+
};
|
1421
|
+
presetVal: {
|
1422
|
+
type: StringConstructor;
|
1423
|
+
default: null;
|
1424
|
+
};
|
1425
|
+
dateType: {
|
1426
|
+
type: StringConstructor;
|
1427
|
+
};
|
1428
|
+
isDateDisabled: {
|
1429
|
+
type: FunctionConstructor;
|
1430
|
+
};
|
1431
|
+
timeDisabled: {
|
1432
|
+
type: FunctionConstructor;
|
1433
|
+
};
|
1434
|
+
valueFormat: {
|
1435
|
+
type: StringConstructor;
|
1436
|
+
};
|
1437
|
+
}>> & {
|
1438
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1439
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1440
|
+
}, {
|
1441
|
+
modelValue: string | number | unknown[];
|
1442
|
+
presetVal: string;
|
1443
|
+
}>;
|
964
1444
|
WidgetValEnums: {
|
965
1445
|
CUSTOM: string;
|
966
1446
|
FIRST_VAL: string;
|
@@ -993,6 +1473,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
993
1473
|
LAST_YEAR: string;
|
994
1474
|
};
|
995
1475
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1476
|
+
item: {
|
1477
|
+
type: ObjectConstructor;
|
1478
|
+
required: true;
|
1479
|
+
};
|
996
1480
|
paramCfg: {
|
997
1481
|
type: ObjectConstructor;
|
998
1482
|
default: null;
|
@@ -1145,6 +1629,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1145
1629
|
SELECTTREEDYNAMIC: string;
|
1146
1630
|
};
|
1147
1631
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1632
|
+
item: {
|
1633
|
+
type: ObjectConstructor;
|
1634
|
+
default: null;
|
1635
|
+
};
|
1148
1636
|
paramCfg: {
|
1149
1637
|
type: ObjectConstructor;
|
1150
1638
|
default: null;
|
@@ -1171,6 +1659,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1171
1659
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1172
1660
|
}, {
|
1173
1661
|
modelValue: string | number | unknown[];
|
1662
|
+
item: Record<string, any>;
|
1174
1663
|
paramCfg: Record<string, any>;
|
1175
1664
|
presetVal: string;
|
1176
1665
|
isAccurate: boolean;
|
@@ -8,6 +8,10 @@ const _hoisted_1 = {
|
|
8
8
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "ValueCfg",
|
10
10
|
props: {
|
11
|
+
item: {
|
12
|
+
type: Object,
|
13
|
+
default: null
|
14
|
+
},
|
11
15
|
paramCfg: {
|
12
16
|
type: Object,
|
13
17
|
default: null
|
@@ -104,6 +108,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
104
108
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
105
109
|
}, null, 8, ["paramCfg", "widgetType", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u65E5\u671F\u6846\u3001\u65E5\u671F\u65F6\u95F4\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).DATE || unref(widgetType) === unref(WidgetTypeEnums).DATE_TIME ? (openBlock(), createBlock(unref(Date), {
|
106
110
|
key: 3,
|
111
|
+
item: __props.item,
|
107
112
|
paramCfg: __props.paramCfg,
|
108
113
|
modelValue: unref(valueCp),
|
109
114
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
@@ -111,7 +116,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
116
|
"onUpdate:presetVal": _cache[5] || (_cache[5] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
112
117
|
customDate: unref(customDateCp),
|
113
118
|
"onUpdate:customDate": _cache[6] || (_cache[6] = ($event) => isRef(customDateCp) ? customDateCp.value = $event : null)
|
114
|
-
}, null, 8, ["paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" \u5F02\u6B65\u6570\u636E\u6E90\u4E0B\u62C9\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTDYNAMIC ? (openBlock(), createBlock(unref(SelectDynamic), {
|
119
|
+
}, null, 8, ["item", "paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" \u5F02\u6B65\u6570\u636E\u6E90\u4E0B\u62C9\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTDYNAMIC ? (openBlock(), createBlock(unref(SelectDynamic), {
|
115
120
|
key: 4,
|
116
121
|
paramCfg: __props.paramCfg,
|
117
122
|
modelValue: unref(valueCp),
|
@@ -123,6 +128,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
123
128
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
124
129
|
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u65E5\u671F\u3001\u65E5\u671F\u65F6\u95F4\u8303\u56F4 "), unref(widgetType) === unref(WidgetTypeEnums).DATE_RANGE_INNER || unref(widgetType) === unref(WidgetTypeEnums).DATETIME_RANGE_INNER ? (openBlock(), createBlock(unref(DateRange), {
|
125
130
|
key: 6,
|
131
|
+
item: __props.item,
|
126
132
|
paramCfg: __props.paramCfg,
|
127
133
|
modelValue: unref(valueCp),
|
128
134
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
@@ -130,7 +136,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
130
136
|
"onUpdate:presetVal": _cache[10] || (_cache[10] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
131
137
|
customDate: unref(customDateCp),
|
132
138
|
"onUpdate:customDate": _cache[11] || (_cache[11] = ($event) => isRef(customDateCp) ? customDateCp.value = $event : null)
|
133
|
-
}, null, 8, ["paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" label\u6807\u7B7E\u9009\u62E9 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTLABEL ? (openBlock(), createBlock(unref(SelectLabel), {
|
139
|
+
}, null, 8, ["item", "paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" label\u6807\u7B7E\u9009\u62E9 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTLABEL ? (openBlock(), createBlock(unref(SelectLabel), {
|
134
140
|
key: 7,
|
135
141
|
paramCfg: __props.paramCfg,
|
136
142
|
modelValue: unref(valueCp),
|