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
@@ -2,6 +2,10 @@ declare const Date: import("vue").DefineComponent<{
|
|
2
2
|
componentCfg: {
|
3
3
|
type: ObjectConstructor;
|
4
4
|
};
|
5
|
+
item: {
|
6
|
+
type: ObjectConstructor;
|
7
|
+
required: true;
|
8
|
+
};
|
5
9
|
paramCfg: {
|
6
10
|
type: ObjectConstructor;
|
7
11
|
default: null;
|
@@ -23,6 +27,10 @@ declare const Date: import("vue").DefineComponent<{
|
|
23
27
|
componentCfg: {
|
24
28
|
type: ObjectConstructor;
|
25
29
|
};
|
30
|
+
item: {
|
31
|
+
type: ObjectConstructor;
|
32
|
+
required: true;
|
33
|
+
};
|
26
34
|
paramCfg: {
|
27
35
|
type: ObjectConstructor;
|
28
36
|
default: null;
|
@@ -45,6 +53,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
45
53
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
46
54
|
}>>;
|
47
55
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
56
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
48
57
|
valueCp: import("vue").WritableComputedRef<any>;
|
49
58
|
presetValCp: import("vue").WritableComputedRef<string>;
|
50
59
|
dateType: any;
|
@@ -191,6 +200,231 @@ declare const Date: import("vue").DefineComponent<{
|
|
191
200
|
holidays: Date[];
|
192
201
|
}>>;
|
193
202
|
NSelect: any;
|
203
|
+
DateOption: import("vue").DefineComponent<{
|
204
|
+
filterType: {
|
205
|
+
type: StringConstructor;
|
206
|
+
required: true;
|
207
|
+
};
|
208
|
+
modelValue: {
|
209
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
210
|
+
default: null;
|
211
|
+
};
|
212
|
+
presetVal: {
|
213
|
+
type: StringConstructor;
|
214
|
+
default: null;
|
215
|
+
};
|
216
|
+
dateType: {
|
217
|
+
type: StringConstructor;
|
218
|
+
};
|
219
|
+
isDateDisabled: {
|
220
|
+
type: FunctionConstructor;
|
221
|
+
};
|
222
|
+
timeDisabled: {
|
223
|
+
type: FunctionConstructor;
|
224
|
+
};
|
225
|
+
valueFormat: {
|
226
|
+
type: StringConstructor;
|
227
|
+
};
|
228
|
+
}, {
|
229
|
+
widgetOptions: {
|
230
|
+
label: string;
|
231
|
+
value: string;
|
232
|
+
}[];
|
233
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
234
|
+
filterType: {
|
235
|
+
type: StringConstructor;
|
236
|
+
required: true;
|
237
|
+
};
|
238
|
+
modelValue: {
|
239
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
240
|
+
default: null;
|
241
|
+
};
|
242
|
+
presetVal: {
|
243
|
+
type: StringConstructor;
|
244
|
+
default: null;
|
245
|
+
};
|
246
|
+
dateType: {
|
247
|
+
type: StringConstructor;
|
248
|
+
};
|
249
|
+
isDateDisabled: {
|
250
|
+
type: FunctionConstructor;
|
251
|
+
};
|
252
|
+
timeDisabled: {
|
253
|
+
type: FunctionConstructor;
|
254
|
+
};
|
255
|
+
valueFormat: {
|
256
|
+
type: StringConstructor;
|
257
|
+
};
|
258
|
+
}>> & {
|
259
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
260
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
261
|
+
}>>;
|
262
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
263
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
264
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
265
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
266
|
+
updateUnchangedValue: {
|
267
|
+
type: BooleanConstructor;
|
268
|
+
};
|
269
|
+
onConfirm: {
|
270
|
+
type: FunctionConstructor;
|
271
|
+
};
|
272
|
+
formattedValue: {
|
273
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
274
|
+
};
|
275
|
+
placeholder: {
|
276
|
+
type: StringConstructor;
|
277
|
+
};
|
278
|
+
allowedInvalidValue: {
|
279
|
+
type: StringConstructor;
|
280
|
+
};
|
281
|
+
to: {
|
282
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
283
|
+
default: string;
|
284
|
+
};
|
285
|
+
holidays: {
|
286
|
+
type: import("vue").PropType<Date[]>;
|
287
|
+
default: () => never[];
|
288
|
+
};
|
289
|
+
type: {
|
290
|
+
type: StringConstructor;
|
291
|
+
default: string;
|
292
|
+
};
|
293
|
+
isDateDisabled: {
|
294
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
295
|
+
};
|
296
|
+
}, {
|
297
|
+
attrs: {
|
298
|
+
[x: string]: unknown;
|
299
|
+
};
|
300
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
301
|
+
updateUnchangedValue: {
|
302
|
+
type: BooleanConstructor;
|
303
|
+
};
|
304
|
+
onConfirm: {
|
305
|
+
type: FunctionConstructor;
|
306
|
+
};
|
307
|
+
formattedValue: {
|
308
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
309
|
+
};
|
310
|
+
placeholder: {
|
311
|
+
type: StringConstructor;
|
312
|
+
};
|
313
|
+
allowedInvalidValue: {
|
314
|
+
type: StringConstructor;
|
315
|
+
};
|
316
|
+
to: {
|
317
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
318
|
+
default: string;
|
319
|
+
};
|
320
|
+
holidays: {
|
321
|
+
type: import("vue").PropType<Date[]>;
|
322
|
+
default: () => never[];
|
323
|
+
};
|
324
|
+
type: {
|
325
|
+
type: StringConstructor;
|
326
|
+
default: string;
|
327
|
+
};
|
328
|
+
isDateDisabled: {
|
329
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
330
|
+
};
|
331
|
+
}>> & {
|
332
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
333
|
+
}>>;
|
334
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
335
|
+
datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
|
336
|
+
panelInstRef: import("vue").Ref<null>;
|
337
|
+
placeholderRef: import("vue").Ref<any>;
|
338
|
+
oldValue: string;
|
339
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
340
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
341
|
+
formatRef: import("vue").ComputedRef<string>;
|
342
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
343
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
344
|
+
focus: () => any;
|
345
|
+
blur: () => any;
|
346
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
347
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
348
|
+
watchers: import("../../../../../../shared/types").AnyFn[];
|
349
|
+
stopWatcher: () => void;
|
350
|
+
setHoliday: (show: boolean) => Promise<void>;
|
351
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
352
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
353
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
354
|
+
NDatePicker: any;
|
355
|
+
}, 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<{
|
356
|
+
updateUnchangedValue: {
|
357
|
+
type: BooleanConstructor;
|
358
|
+
};
|
359
|
+
onConfirm: {
|
360
|
+
type: FunctionConstructor;
|
361
|
+
};
|
362
|
+
formattedValue: {
|
363
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
364
|
+
};
|
365
|
+
placeholder: {
|
366
|
+
type: StringConstructor;
|
367
|
+
};
|
368
|
+
allowedInvalidValue: {
|
369
|
+
type: StringConstructor;
|
370
|
+
};
|
371
|
+
to: {
|
372
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
373
|
+
default: string;
|
374
|
+
};
|
375
|
+
holidays: {
|
376
|
+
type: import("vue").PropType<Date[]>;
|
377
|
+
default: () => never[];
|
378
|
+
};
|
379
|
+
type: {
|
380
|
+
type: StringConstructor;
|
381
|
+
default: string;
|
382
|
+
};
|
383
|
+
isDateDisabled: {
|
384
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
385
|
+
};
|
386
|
+
}>> & {
|
387
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
388
|
+
}, {
|
389
|
+
type: string;
|
390
|
+
updateUnchangedValue: boolean;
|
391
|
+
to: string | false | HTMLElement;
|
392
|
+
holidays: Date[];
|
393
|
+
}>>;
|
394
|
+
NSelect: any;
|
395
|
+
NInputNumber: any;
|
396
|
+
}, 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<{
|
397
|
+
filterType: {
|
398
|
+
type: StringConstructor;
|
399
|
+
required: true;
|
400
|
+
};
|
401
|
+
modelValue: {
|
402
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
403
|
+
default: null;
|
404
|
+
};
|
405
|
+
presetVal: {
|
406
|
+
type: StringConstructor;
|
407
|
+
default: null;
|
408
|
+
};
|
409
|
+
dateType: {
|
410
|
+
type: StringConstructor;
|
411
|
+
};
|
412
|
+
isDateDisabled: {
|
413
|
+
type: FunctionConstructor;
|
414
|
+
};
|
415
|
+
timeDisabled: {
|
416
|
+
type: FunctionConstructor;
|
417
|
+
};
|
418
|
+
valueFormat: {
|
419
|
+
type: StringConstructor;
|
420
|
+
};
|
421
|
+
}>> & {
|
422
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
423
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
424
|
+
}, {
|
425
|
+
modelValue: string | number | unknown[];
|
426
|
+
presetVal: string;
|
427
|
+
}>;
|
194
428
|
WidgetValEnums: {
|
195
429
|
CUSTOM: string;
|
196
430
|
FIRST_VAL: string;
|
@@ -226,6 +460,10 @@ declare const Date: import("vue").DefineComponent<{
|
|
226
460
|
componentCfg: {
|
227
461
|
type: ObjectConstructor;
|
228
462
|
};
|
463
|
+
item: {
|
464
|
+
type: ObjectConstructor;
|
465
|
+
required: true;
|
466
|
+
};
|
229
467
|
paramCfg: {
|
230
468
|
type: ObjectConstructor;
|
231
469
|
default: null;
|
@@ -703,6 +941,10 @@ declare const InputNumberGroup: import("vue").DefineComponent<{
|
|
703
941
|
paramCfg: Record<string, any>;
|
704
942
|
}>;
|
705
943
|
declare const DateRange: import("vue").DefineComponent<{
|
944
|
+
item: {
|
945
|
+
type: ObjectConstructor;
|
946
|
+
required: true;
|
947
|
+
};
|
706
948
|
paramCfg: {
|
707
949
|
type: ObjectConstructor;
|
708
950
|
default: null;
|
@@ -721,6 +963,10 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
721
963
|
};
|
722
964
|
}, {
|
723
965
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
966
|
+
item: {
|
967
|
+
type: ObjectConstructor;
|
968
|
+
required: true;
|
969
|
+
};
|
724
970
|
paramCfg: {
|
725
971
|
type: ObjectConstructor;
|
726
972
|
default: null;
|
@@ -745,6 +991,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
745
991
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
746
992
|
startDate: import("vue").Ref<any>;
|
747
993
|
endDate: import("vue").Ref<any>;
|
994
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
748
995
|
valueFormat: import("vue").ComputedRef<string>;
|
749
996
|
dateFormat: import("vue").ComputedRef<string>;
|
750
997
|
compType: import("vue").ComputedRef<any>;
|
@@ -763,7 +1010,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
763
1010
|
value: string;
|
764
1011
|
}[]>;
|
765
1012
|
presetValCp: import("vue").WritableComputedRef<string>;
|
766
|
-
|
1013
|
+
valueDateCp: import("vue").WritableComputedRef<unknown>;
|
767
1014
|
handleChange: (val: any, type: "start" | "end") => void;
|
768
1015
|
isStartDateDisabled: (ts: number) => boolean;
|
769
1016
|
timeStartDisabled: (ts: number) => {
|
@@ -908,6 +1155,231 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
908
1155
|
to: string | false | HTMLElement;
|
909
1156
|
holidays: Date[];
|
910
1157
|
}>>;
|
1158
|
+
DateOption: import("vue").DefineComponent<{
|
1159
|
+
filterType: {
|
1160
|
+
type: StringConstructor;
|
1161
|
+
required: true;
|
1162
|
+
};
|
1163
|
+
modelValue: {
|
1164
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1165
|
+
default: null;
|
1166
|
+
};
|
1167
|
+
presetVal: {
|
1168
|
+
type: StringConstructor;
|
1169
|
+
default: null;
|
1170
|
+
};
|
1171
|
+
dateType: {
|
1172
|
+
type: StringConstructor;
|
1173
|
+
};
|
1174
|
+
isDateDisabled: {
|
1175
|
+
type: FunctionConstructor;
|
1176
|
+
};
|
1177
|
+
timeDisabled: {
|
1178
|
+
type: FunctionConstructor;
|
1179
|
+
};
|
1180
|
+
valueFormat: {
|
1181
|
+
type: StringConstructor;
|
1182
|
+
};
|
1183
|
+
}, {
|
1184
|
+
widgetOptions: {
|
1185
|
+
label: string;
|
1186
|
+
value: string;
|
1187
|
+
}[];
|
1188
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1189
|
+
filterType: {
|
1190
|
+
type: StringConstructor;
|
1191
|
+
required: true;
|
1192
|
+
};
|
1193
|
+
modelValue: {
|
1194
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1195
|
+
default: null;
|
1196
|
+
};
|
1197
|
+
presetVal: {
|
1198
|
+
type: StringConstructor;
|
1199
|
+
default: null;
|
1200
|
+
};
|
1201
|
+
dateType: {
|
1202
|
+
type: StringConstructor;
|
1203
|
+
};
|
1204
|
+
isDateDisabled: {
|
1205
|
+
type: FunctionConstructor;
|
1206
|
+
};
|
1207
|
+
timeDisabled: {
|
1208
|
+
type: FunctionConstructor;
|
1209
|
+
};
|
1210
|
+
valueFormat: {
|
1211
|
+
type: StringConstructor;
|
1212
|
+
};
|
1213
|
+
}>> & {
|
1214
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1215
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1216
|
+
}>>;
|
1217
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1218
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
1219
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
1220
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
1221
|
+
updateUnchangedValue: {
|
1222
|
+
type: BooleanConstructor;
|
1223
|
+
};
|
1224
|
+
onConfirm: {
|
1225
|
+
type: FunctionConstructor;
|
1226
|
+
};
|
1227
|
+
formattedValue: {
|
1228
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1229
|
+
};
|
1230
|
+
placeholder: {
|
1231
|
+
type: StringConstructor;
|
1232
|
+
};
|
1233
|
+
allowedInvalidValue: {
|
1234
|
+
type: StringConstructor;
|
1235
|
+
};
|
1236
|
+
to: {
|
1237
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1238
|
+
default: string;
|
1239
|
+
};
|
1240
|
+
holidays: {
|
1241
|
+
type: import("vue").PropType<Date[]>;
|
1242
|
+
default: () => never[];
|
1243
|
+
};
|
1244
|
+
type: {
|
1245
|
+
type: StringConstructor;
|
1246
|
+
default: string;
|
1247
|
+
};
|
1248
|
+
isDateDisabled: {
|
1249
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1250
|
+
};
|
1251
|
+
}, {
|
1252
|
+
attrs: {
|
1253
|
+
[x: string]: unknown;
|
1254
|
+
};
|
1255
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1256
|
+
updateUnchangedValue: {
|
1257
|
+
type: BooleanConstructor;
|
1258
|
+
};
|
1259
|
+
onConfirm: {
|
1260
|
+
type: FunctionConstructor;
|
1261
|
+
};
|
1262
|
+
formattedValue: {
|
1263
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1264
|
+
};
|
1265
|
+
placeholder: {
|
1266
|
+
type: StringConstructor;
|
1267
|
+
};
|
1268
|
+
allowedInvalidValue: {
|
1269
|
+
type: StringConstructor;
|
1270
|
+
};
|
1271
|
+
to: {
|
1272
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1273
|
+
default: string;
|
1274
|
+
};
|
1275
|
+
holidays: {
|
1276
|
+
type: import("vue").PropType<Date[]>;
|
1277
|
+
default: () => never[];
|
1278
|
+
};
|
1279
|
+
type: {
|
1280
|
+
type: StringConstructor;
|
1281
|
+
default: string;
|
1282
|
+
};
|
1283
|
+
isDateDisabled: {
|
1284
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1285
|
+
};
|
1286
|
+
}>> & {
|
1287
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1288
|
+
}>>;
|
1289
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
1290
|
+
datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
|
1291
|
+
panelInstRef: import("vue").Ref<null>;
|
1292
|
+
placeholderRef: import("vue").Ref<any>;
|
1293
|
+
oldValue: string;
|
1294
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
1295
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
1296
|
+
formatRef: import("vue").ComputedRef<string>;
|
1297
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1298
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1299
|
+
focus: () => any;
|
1300
|
+
blur: () => any;
|
1301
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
1302
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
1303
|
+
watchers: import("../../../../../../shared/types").AnyFn[];
|
1304
|
+
stopWatcher: () => void;
|
1305
|
+
setHoliday: (show: boolean) => Promise<void>;
|
1306
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
1307
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
1308
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
1309
|
+
NDatePicker: any;
|
1310
|
+
}, 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<{
|
1311
|
+
updateUnchangedValue: {
|
1312
|
+
type: BooleanConstructor;
|
1313
|
+
};
|
1314
|
+
onConfirm: {
|
1315
|
+
type: FunctionConstructor;
|
1316
|
+
};
|
1317
|
+
formattedValue: {
|
1318
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
1319
|
+
};
|
1320
|
+
placeholder: {
|
1321
|
+
type: StringConstructor;
|
1322
|
+
};
|
1323
|
+
allowedInvalidValue: {
|
1324
|
+
type: StringConstructor;
|
1325
|
+
};
|
1326
|
+
to: {
|
1327
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1328
|
+
default: string;
|
1329
|
+
};
|
1330
|
+
holidays: {
|
1331
|
+
type: import("vue").PropType<Date[]>;
|
1332
|
+
default: () => never[];
|
1333
|
+
};
|
1334
|
+
type: {
|
1335
|
+
type: StringConstructor;
|
1336
|
+
default: string;
|
1337
|
+
};
|
1338
|
+
isDateDisabled: {
|
1339
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1340
|
+
};
|
1341
|
+
}>> & {
|
1342
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1343
|
+
}, {
|
1344
|
+
type: string;
|
1345
|
+
updateUnchangedValue: boolean;
|
1346
|
+
to: string | false | HTMLElement;
|
1347
|
+
holidays: Date[];
|
1348
|
+
}>>;
|
1349
|
+
NSelect: any;
|
1350
|
+
NInputNumber: any;
|
1351
|
+
}, 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<{
|
1352
|
+
filterType: {
|
1353
|
+
type: StringConstructor;
|
1354
|
+
required: true;
|
1355
|
+
};
|
1356
|
+
modelValue: {
|
1357
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1358
|
+
default: null;
|
1359
|
+
};
|
1360
|
+
presetVal: {
|
1361
|
+
type: StringConstructor;
|
1362
|
+
default: null;
|
1363
|
+
};
|
1364
|
+
dateType: {
|
1365
|
+
type: StringConstructor;
|
1366
|
+
};
|
1367
|
+
isDateDisabled: {
|
1368
|
+
type: FunctionConstructor;
|
1369
|
+
};
|
1370
|
+
timeDisabled: {
|
1371
|
+
type: FunctionConstructor;
|
1372
|
+
};
|
1373
|
+
valueFormat: {
|
1374
|
+
type: StringConstructor;
|
1375
|
+
};
|
1376
|
+
}>> & {
|
1377
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1378
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1379
|
+
}, {
|
1380
|
+
modelValue: string | number | unknown[];
|
1381
|
+
presetVal: string;
|
1382
|
+
}>;
|
911
1383
|
WidgetValEnums: {
|
912
1384
|
CUSTOM: string;
|
913
1385
|
FIRST_VAL: string;
|
@@ -940,6 +1412,10 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
940
1412
|
LAST_YEAR: string;
|
941
1413
|
};
|
942
1414
|
}, 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<{
|
1415
|
+
item: {
|
1416
|
+
type: ObjectConstructor;
|
1417
|
+
required: true;
|
1418
|
+
};
|
943
1419
|
paramCfg: {
|
944
1420
|
type: ObjectConstructor;
|
945
1421
|
default: null;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ConditionEnums } from '../../../types/enums.js';
|
2
2
|
|
3
|
-
const
|
3
|
+
const baseConditionOptions = [{
|
4
4
|
label: function() {
|
5
5
|
var _a, _b, _c;
|
6
6
|
try {
|
@@ -21,5 +21,52 @@ const conditionOptions = [{
|
|
21
21
|
}(),
|
22
22
|
value: ConditionEnums.NULL
|
23
23
|
}];
|
24
|
+
const dateConditionOptions = [
|
25
|
+
...baseConditionOptions,
|
26
|
+
{
|
27
|
+
label: function() {
|
28
|
+
var _a, _b, _c;
|
29
|
+
try {
|
30
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.334")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.334")) || "\u8FC7\u53BB\u5185";
|
31
|
+
} catch (e) {
|
32
|
+
return "\u8FC7\u53BB\u5185";
|
33
|
+
}
|
34
|
+
}(),
|
35
|
+
value: ConditionEnums.IN_THE_PAST
|
36
|
+
},
|
37
|
+
{
|
38
|
+
label: function() {
|
39
|
+
var _a, _b, _c;
|
40
|
+
try {
|
41
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.335")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.335")) || "\u672A\u6765\u5185";
|
42
|
+
} catch (e) {
|
43
|
+
return "\u672A\u6765\u5185";
|
44
|
+
}
|
45
|
+
}(),
|
46
|
+
value: ConditionEnums.IN_THE_FUTURE
|
47
|
+
},
|
48
|
+
{
|
49
|
+
label: function() {
|
50
|
+
var _a, _b, _c;
|
51
|
+
try {
|
52
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.336")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.336")) || "\u8FC7\u53BB\u7B2C";
|
53
|
+
} catch (e) {
|
54
|
+
return "\u8FC7\u53BB\u7B2C";
|
55
|
+
}
|
56
|
+
}(),
|
57
|
+
value: ConditionEnums.IN_THE_PAST_DI
|
58
|
+
},
|
59
|
+
{
|
60
|
+
label: function() {
|
61
|
+
var _a, _b, _c;
|
62
|
+
try {
|
63
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.337")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.337")) || "\u672A\u6765\u7B2C";
|
64
|
+
} catch (e) {
|
65
|
+
return "\u672A\u6765\u7B2C";
|
66
|
+
}
|
67
|
+
}(),
|
68
|
+
value: ConditionEnums.IN_THE_FUTURE_DI
|
69
|
+
}
|
70
|
+
];
|
24
71
|
|
25
|
-
export {
|
72
|
+
export { baseConditionOptions, dateConditionOptions };
|