cnhis-design-vue 3.3.3-beta.64 → 3.3.3-beta.66

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 (39) hide show
  1. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +7 -1
  2. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +7 -1
  3. package/es/components/button-print/src/utils/print.d.ts +3 -3
  4. package/es/components/button-print/src/utils/print.js +11 -0
  5. package/es/components/classification/index.d.ts +506 -4
  6. package/es/components/classification/src/components/search-filter/index.vue.d.ts +506 -4
  7. package/es/components/classification/src/components/set-classification/index.vue.d.ts +506 -4
  8. package/es/components/classification/src/index.vue.d.ts +509 -4
  9. package/es/components/form-config/index.d.ts +12 -12
  10. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -12
  11. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +8 -8
  12. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  13. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +0 -2
  14. package/es/components/iho-chat/src/hooks/useVideo.js +12 -14
  15. package/es/components/shortcut-setter/index.d.ts +2 -2
  16. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -2
  17. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +489 -0
  18. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
  19. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
  20. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  21. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
  22. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +238 -0
  23. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
  24. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +238 -0
  25. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -4
  26. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +476 -0
  27. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  28. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +123 -2
  29. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +506 -4
  30. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +11 -5
  31. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  32. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  33. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  34. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
  35. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
  36. package/es/components/table-filter/src/types/enums.d.ts +12 -0
  37. package/es/components/table-filter/src/types/enums.js +13 -1
  38. package/es/shared/package.json.js +1 -1
  39. package/package.json +3 -3
@@ -104,6 +104,11 @@ declare const _default: import("vue").DefineComponent<{
104
104
  getParamCfg: (key: string) => any;
105
105
  initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
106
106
  getRawFilterConditions: () => any[];
107
+ dateTypeList: string[];
108
+ getOptions: (key: string) => {
109
+ label: string;
110
+ value: string;
111
+ }[];
107
112
  handleEditDisplayCategory: (item: ICategoryItemType) => void;
108
113
  handleDisplayCategoryAddState: () => void;
109
114
  findConditionByDisplayCategory: (sid: string) => unknown;
@@ -124,6 +129,10 @@ declare const _default: import("vue").DefineComponent<{
124
129
  AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
125
130
  CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
126
131
  ValueCfg: import("vue").DefineComponent<{
132
+ item: {
133
+ type: ObjectConstructor;
134
+ default: null;
135
+ };
127
136
  paramCfg: {
128
137
  type: ObjectConstructor;
129
138
  default: null;
@@ -145,6 +154,10 @@ declare const _default: import("vue").DefineComponent<{
145
154
  };
146
155
  }, {
147
156
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
157
+ item: {
158
+ type: ObjectConstructor;
159
+ default: null;
160
+ };
148
161
  paramCfg: {
149
162
  type: ObjectConstructor;
150
163
  default: null;
@@ -180,6 +193,10 @@ declare const _default: import("vue").DefineComponent<{
180
193
  componentCfg: {
181
194
  type: ObjectConstructor;
182
195
  };
196
+ item: {
197
+ type: ObjectConstructor;
198
+ required: true;
199
+ };
183
200
  paramCfg: {
184
201
  type: ObjectConstructor;
185
202
  default: null;
@@ -201,6 +218,10 @@ declare const _default: import("vue").DefineComponent<{
201
218
  componentCfg: {
202
219
  type: ObjectConstructor;
203
220
  };
221
+ item: {
222
+ type: ObjectConstructor;
223
+ required: true;
224
+ };
204
225
  paramCfg: {
205
226
  type: ObjectConstructor;
206
227
  default: null;
@@ -223,6 +244,7 @@ declare const _default: import("vue").DefineComponent<{
223
244
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
224
245
  }>>;
225
246
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
247
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
226
248
  valueCp: import("vue").WritableComputedRef<any>;
227
249
  presetValCp: import("vue").WritableComputedRef<string>;
228
250
  dateType: any;
@@ -369,6 +391,231 @@ declare const _default: import("vue").DefineComponent<{
369
391
  holidays: Date[];
370
392
  }>>;
371
393
  NSelect: any;
394
+ DateOption: import("vue").DefineComponent<{
395
+ filterType: {
396
+ type: StringConstructor;
397
+ required: true;
398
+ };
399
+ modelValue: {
400
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
401
+ default: null;
402
+ };
403
+ presetVal: {
404
+ type: StringConstructor;
405
+ default: null;
406
+ };
407
+ dateType: {
408
+ type: StringConstructor;
409
+ };
410
+ isDateDisabled: {
411
+ type: FunctionConstructor;
412
+ };
413
+ timeDisabled: {
414
+ type: FunctionConstructor;
415
+ };
416
+ valueFormat: {
417
+ type: StringConstructor;
418
+ };
419
+ }, {
420
+ widgetOptions: {
421
+ label: string;
422
+ value: string;
423
+ }[];
424
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
425
+ filterType: {
426
+ type: StringConstructor;
427
+ required: true;
428
+ };
429
+ modelValue: {
430
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
431
+ default: null;
432
+ };
433
+ presetVal: {
434
+ type: StringConstructor;
435
+ default: null;
436
+ };
437
+ dateType: {
438
+ type: StringConstructor;
439
+ };
440
+ isDateDisabled: {
441
+ type: FunctionConstructor;
442
+ };
443
+ timeDisabled: {
444
+ type: FunctionConstructor;
445
+ };
446
+ valueFormat: {
447
+ type: StringConstructor;
448
+ };
449
+ }>> & {
450
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
451
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
452
+ }>>;
453
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
454
+ valueCp: import("vue").WritableComputedRef<any>;
455
+ presetValCp: import("vue").WritableComputedRef<string>;
456
+ CDatePicker: import("../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
457
+ updateUnchangedValue: {
458
+ type: BooleanConstructor;
459
+ };
460
+ onConfirm: {
461
+ type: FunctionConstructor;
462
+ };
463
+ formattedValue: {
464
+ type: PropType<(string | [string, string]) | null | undefined>;
465
+ };
466
+ placeholder: {
467
+ type: StringConstructor;
468
+ };
469
+ allowedInvalidValue: {
470
+ type: StringConstructor;
471
+ };
472
+ to: {
473
+ type: PropType<string | false | HTMLElement>;
474
+ default: string;
475
+ };
476
+ holidays: {
477
+ type: PropType<Date[]>;
478
+ default: () => never[];
479
+ };
480
+ type: {
481
+ type: StringConstructor;
482
+ default: string;
483
+ };
484
+ isDateDisabled: {
485
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
486
+ };
487
+ }, {
488
+ attrs: {
489
+ [x: string]: unknown;
490
+ };
491
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
492
+ updateUnchangedValue: {
493
+ type: BooleanConstructor;
494
+ };
495
+ onConfirm: {
496
+ type: FunctionConstructor;
497
+ };
498
+ formattedValue: {
499
+ type: PropType<(string | [string, string]) | null | undefined>;
500
+ };
501
+ placeholder: {
502
+ type: StringConstructor;
503
+ };
504
+ allowedInvalidValue: {
505
+ type: StringConstructor;
506
+ };
507
+ to: {
508
+ type: PropType<string | false | HTMLElement>;
509
+ default: string;
510
+ };
511
+ holidays: {
512
+ type: PropType<Date[]>;
513
+ default: () => never[];
514
+ };
515
+ type: {
516
+ type: StringConstructor;
517
+ default: string;
518
+ };
519
+ isDateDisabled: {
520
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
521
+ };
522
+ }>> & {
523
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
524
+ }>>;
525
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
526
+ datePickerRef: import("vue").Ref<import("../../../../../shared/types").AnyObject | null>;
527
+ panelInstRef: import("vue").Ref<null>;
528
+ placeholderRef: import("vue").Ref<any>;
529
+ oldValue: string;
530
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
531
+ isDateTime: import("vue").ComputedRef<boolean>;
532
+ formatRef: import("vue").ComputedRef<string>;
533
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
534
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
535
+ focus: () => any;
536
+ blur: () => any;
537
+ handleConfirm: (target: HTMLInputElement) => void;
538
+ onUpdateShow: (show: boolean) => Promise<void>;
539
+ watchers: import("../../../../../shared/types").AnyFn[];
540
+ stopWatcher: () => void;
541
+ setHoliday: (show: boolean) => Promise<void>;
542
+ onConfirm: (...args: any[]) => Promise<void>;
543
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
544
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
545
+ NDatePicker: any;
546
+ }, 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<{
547
+ updateUnchangedValue: {
548
+ type: BooleanConstructor;
549
+ };
550
+ onConfirm: {
551
+ type: FunctionConstructor;
552
+ };
553
+ formattedValue: {
554
+ type: PropType<(string | [string, string]) | null | undefined>;
555
+ };
556
+ placeholder: {
557
+ type: StringConstructor;
558
+ };
559
+ allowedInvalidValue: {
560
+ type: StringConstructor;
561
+ };
562
+ to: {
563
+ type: PropType<string | false | HTMLElement>;
564
+ default: string;
565
+ };
566
+ holidays: {
567
+ type: PropType<Date[]>;
568
+ default: () => never[];
569
+ };
570
+ type: {
571
+ type: StringConstructor;
572
+ default: string;
573
+ };
574
+ isDateDisabled: {
575
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
576
+ };
577
+ }>> & {
578
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
579
+ }, {
580
+ type: string;
581
+ updateUnchangedValue: boolean;
582
+ to: string | false | HTMLElement;
583
+ holidays: Date[];
584
+ }>>;
585
+ NSelect: any;
586
+ NInputNumber: any;
587
+ }, 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<{
588
+ filterType: {
589
+ type: StringConstructor;
590
+ required: true;
591
+ };
592
+ modelValue: {
593
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
594
+ default: null;
595
+ };
596
+ presetVal: {
597
+ type: StringConstructor;
598
+ default: null;
599
+ };
600
+ dateType: {
601
+ type: StringConstructor;
602
+ };
603
+ isDateDisabled: {
604
+ type: FunctionConstructor;
605
+ };
606
+ timeDisabled: {
607
+ type: FunctionConstructor;
608
+ };
609
+ valueFormat: {
610
+ type: StringConstructor;
611
+ };
612
+ }>> & {
613
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
614
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
615
+ }, {
616
+ modelValue: string | number | unknown[];
617
+ presetVal: string;
618
+ }>;
372
619
  WidgetValEnums: {
373
620
  CUSTOM: string;
374
621
  FIRST_VAL: string;
@@ -404,6 +651,10 @@ declare const _default: import("vue").DefineComponent<{
404
651
  componentCfg: {
405
652
  type: ObjectConstructor;
406
653
  };
654
+ item: {
655
+ type: ObjectConstructor;
656
+ required: true;
657
+ };
407
658
  paramCfg: {
408
659
  type: ObjectConstructor;
409
660
  default: null;
@@ -881,6 +1132,10 @@ declare const _default: import("vue").DefineComponent<{
881
1132
  paramCfg: Record<string, any>;
882
1133
  }>;
883
1134
  DateRange: import("vue").DefineComponent<{
1135
+ item: {
1136
+ type: ObjectConstructor;
1137
+ required: true;
1138
+ };
884
1139
  paramCfg: {
885
1140
  type: ObjectConstructor;
886
1141
  default: null;
@@ -899,6 +1154,10 @@ declare const _default: import("vue").DefineComponent<{
899
1154
  };
900
1155
  }, {
901
1156
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1157
+ item: {
1158
+ type: ObjectConstructor;
1159
+ required: true;
1160
+ };
902
1161
  paramCfg: {
903
1162
  type: ObjectConstructor;
904
1163
  default: null;
@@ -923,6 +1182,7 @@ declare const _default: import("vue").DefineComponent<{
923
1182
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
924
1183
  startDate: import("vue").Ref<any>;
925
1184
  endDate: import("vue").Ref<any>;
1185
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
926
1186
  valueFormat: import("vue").ComputedRef<string>;
927
1187
  dateFormat: import("vue").ComputedRef<string>;
928
1188
  compType: import("vue").ComputedRef<any>;
@@ -1086,6 +1346,231 @@ declare const _default: import("vue").DefineComponent<{
1086
1346
  to: string | false | HTMLElement;
1087
1347
  holidays: Date[];
1088
1348
  }>>;
1349
+ DateOption: import("vue").DefineComponent<{
1350
+ filterType: {
1351
+ type: StringConstructor;
1352
+ required: true;
1353
+ };
1354
+ modelValue: {
1355
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1356
+ default: null;
1357
+ };
1358
+ presetVal: {
1359
+ type: StringConstructor;
1360
+ default: null;
1361
+ };
1362
+ dateType: {
1363
+ type: StringConstructor;
1364
+ };
1365
+ isDateDisabled: {
1366
+ type: FunctionConstructor;
1367
+ };
1368
+ timeDisabled: {
1369
+ type: FunctionConstructor;
1370
+ };
1371
+ valueFormat: {
1372
+ type: StringConstructor;
1373
+ };
1374
+ }, {
1375
+ widgetOptions: {
1376
+ label: string;
1377
+ value: string;
1378
+ }[];
1379
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1380
+ filterType: {
1381
+ type: StringConstructor;
1382
+ required: true;
1383
+ };
1384
+ modelValue: {
1385
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1386
+ default: null;
1387
+ };
1388
+ presetVal: {
1389
+ type: StringConstructor;
1390
+ default: null;
1391
+ };
1392
+ dateType: {
1393
+ type: StringConstructor;
1394
+ };
1395
+ isDateDisabled: {
1396
+ type: FunctionConstructor;
1397
+ };
1398
+ timeDisabled: {
1399
+ type: FunctionConstructor;
1400
+ };
1401
+ valueFormat: {
1402
+ type: StringConstructor;
1403
+ };
1404
+ }>> & {
1405
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1406
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1407
+ }>>;
1408
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1409
+ valueCp: import("vue").WritableComputedRef<any>;
1410
+ presetValCp: import("vue").WritableComputedRef<string>;
1411
+ CDatePicker: import("../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
1412
+ updateUnchangedValue: {
1413
+ type: BooleanConstructor;
1414
+ };
1415
+ onConfirm: {
1416
+ type: FunctionConstructor;
1417
+ };
1418
+ formattedValue: {
1419
+ type: PropType<(string | [string, string]) | null | undefined>;
1420
+ };
1421
+ placeholder: {
1422
+ type: StringConstructor;
1423
+ };
1424
+ allowedInvalidValue: {
1425
+ type: StringConstructor;
1426
+ };
1427
+ to: {
1428
+ type: PropType<string | false | HTMLElement>;
1429
+ default: string;
1430
+ };
1431
+ holidays: {
1432
+ type: PropType<Date[]>;
1433
+ default: () => never[];
1434
+ };
1435
+ type: {
1436
+ type: StringConstructor;
1437
+ default: string;
1438
+ };
1439
+ isDateDisabled: {
1440
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1441
+ };
1442
+ }, {
1443
+ attrs: {
1444
+ [x: string]: unknown;
1445
+ };
1446
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1447
+ updateUnchangedValue: {
1448
+ type: BooleanConstructor;
1449
+ };
1450
+ onConfirm: {
1451
+ type: FunctionConstructor;
1452
+ };
1453
+ formattedValue: {
1454
+ type: PropType<(string | [string, string]) | null | undefined>;
1455
+ };
1456
+ placeholder: {
1457
+ type: StringConstructor;
1458
+ };
1459
+ allowedInvalidValue: {
1460
+ type: StringConstructor;
1461
+ };
1462
+ to: {
1463
+ type: PropType<string | false | HTMLElement>;
1464
+ default: string;
1465
+ };
1466
+ holidays: {
1467
+ type: PropType<Date[]>;
1468
+ default: () => never[];
1469
+ };
1470
+ type: {
1471
+ type: StringConstructor;
1472
+ default: string;
1473
+ };
1474
+ isDateDisabled: {
1475
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1476
+ };
1477
+ }>> & {
1478
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1479
+ }>>;
1480
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
1481
+ datePickerRef: import("vue").Ref<import("../../../../../shared/types").AnyObject | null>;
1482
+ panelInstRef: import("vue").Ref<null>;
1483
+ placeholderRef: import("vue").Ref<any>;
1484
+ oldValue: string;
1485
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1486
+ isDateTime: import("vue").ComputedRef<boolean>;
1487
+ formatRef: import("vue").ComputedRef<string>;
1488
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1489
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1490
+ focus: () => any;
1491
+ blur: () => any;
1492
+ handleConfirm: (target: HTMLInputElement) => void;
1493
+ onUpdateShow: (show: boolean) => Promise<void>;
1494
+ watchers: import("../../../../../shared/types").AnyFn[];
1495
+ stopWatcher: () => void;
1496
+ setHoliday: (show: boolean) => Promise<void>;
1497
+ onConfirm: (...args: any[]) => Promise<void>;
1498
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1499
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
1500
+ NDatePicker: any;
1501
+ }, 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<{
1502
+ updateUnchangedValue: {
1503
+ type: BooleanConstructor;
1504
+ };
1505
+ onConfirm: {
1506
+ type: FunctionConstructor;
1507
+ };
1508
+ formattedValue: {
1509
+ type: PropType<(string | [string, string]) | null | undefined>;
1510
+ };
1511
+ placeholder: {
1512
+ type: StringConstructor;
1513
+ };
1514
+ allowedInvalidValue: {
1515
+ type: StringConstructor;
1516
+ };
1517
+ to: {
1518
+ type: PropType<string | false | HTMLElement>;
1519
+ default: string;
1520
+ };
1521
+ holidays: {
1522
+ type: PropType<Date[]>;
1523
+ default: () => never[];
1524
+ };
1525
+ type: {
1526
+ type: StringConstructor;
1527
+ default: string;
1528
+ };
1529
+ isDateDisabled: {
1530
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1531
+ };
1532
+ }>> & {
1533
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1534
+ }, {
1535
+ type: string;
1536
+ updateUnchangedValue: boolean;
1537
+ to: string | false | HTMLElement;
1538
+ holidays: Date[];
1539
+ }>>;
1540
+ NSelect: any;
1541
+ NInputNumber: any;
1542
+ }, 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<{
1543
+ filterType: {
1544
+ type: StringConstructor;
1545
+ required: true;
1546
+ };
1547
+ modelValue: {
1548
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1549
+ default: null;
1550
+ };
1551
+ presetVal: {
1552
+ type: StringConstructor;
1553
+ default: null;
1554
+ };
1555
+ dateType: {
1556
+ type: StringConstructor;
1557
+ };
1558
+ isDateDisabled: {
1559
+ type: FunctionConstructor;
1560
+ };
1561
+ timeDisabled: {
1562
+ type: FunctionConstructor;
1563
+ };
1564
+ valueFormat: {
1565
+ type: StringConstructor;
1566
+ };
1567
+ }>> & {
1568
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1569
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1570
+ }, {
1571
+ modelValue: string | number | unknown[];
1572
+ presetVal: string;
1573
+ }>;
1089
1574
  WidgetValEnums: {
1090
1575
  CUSTOM: string;
1091
1576
  FIRST_VAL: string;
@@ -1118,6 +1603,10 @@ declare const _default: import("vue").DefineComponent<{
1118
1603
  LAST_YEAR: string;
1119
1604
  };
1120
1605
  }, 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<{
1606
+ item: {
1607
+ type: ObjectConstructor;
1608
+ required: true;
1609
+ };
1121
1610
  paramCfg: {
1122
1611
  type: ObjectConstructor;
1123
1612
  default: null;
@@ -1270,6 +1759,10 @@ declare const _default: import("vue").DefineComponent<{
1270
1759
  SELECTTREEDYNAMIC: string;
1271
1760
  };
1272
1761
  }, 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<{
1762
+ item: {
1763
+ type: ObjectConstructor;
1764
+ default: null;
1765
+ };
1273
1766
  paramCfg: {
1274
1767
  type: ObjectConstructor;
1275
1768
  default: null;
@@ -1296,6 +1789,7 @@ declare const _default: import("vue").DefineComponent<{
1296
1789
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
1297
1790
  }, {
1298
1791
  modelValue: string | number | unknown[];
1792
+ item: Record<string, any>;
1299
1793
  paramCfg: Record<string, any>;
1300
1794
  presetVal: string;
1301
1795
  isAccurate: boolean;
@@ -1304,11 +1798,19 @@ declare const _default: import("vue").DefineComponent<{
1304
1798
  ConditionEnums: {
1305
1799
  NULL: string;
1306
1800
  EQUAL: string;
1801
+ NOT_NULL: string;
1802
+ NEQ: string;
1803
+ BIG: string;
1804
+ LESS: string;
1805
+ BIGEQ: string;
1806
+ LESSEQ: string;
1807
+ L_: string;
1808
+ N_: string;
1809
+ IN_THE_PAST: string;
1810
+ IN_THE_FUTURE: string;
1811
+ IN_THE_PAST_DI: string;
1812
+ IN_THE_FUTURE_DI: string;
1307
1813
  };
1308
- conditionOptions: {
1309
- label: string;
1310
- value: string;
1311
- }[];
1312
1814
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1313
1815
  actionList_prop: {
1314
1816
  type: PropType<IClassifyListType>;
@@ -2,10 +2,10 @@ import { createElementVNode, defineComponent, useAttrs, reactive, ref, provide,
2
2
  import { useMessage, NSpin, NInput, NIcon, NButton, NSelect, NTooltip } from 'naive-ui';
3
3
  import { CloseOutline, AddOutline, AddCircleSharp } from '@vicons/ionicons5';
4
4
  import ValueCfg from './ValueCfg.vue.js';
5
- import { ConditionEnums, DataTypeEnums } from '../../types/enums.js';
5
+ import { ConditionEnums, DataTypeEnums, WidgetTypeEnums } from '../../types/enums.js';
6
6
  import { useDisplayCategory } from './hooks/useDisplayCategory.js';
7
7
  import { useFilterConditions } from './hooks/useFilterConditions.js';
8
- import { conditionOptions } from './helpers/options.js';
8
+ import { dateConditionOptions, baseConditionOptions } from './helpers/options.js';
9
9
  import { InjectionClassifyFilterList } from '../../constants/index.js';
10
10
 
11
11
  const _hoisted_1 = {
@@ -126,6 +126,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
126
126
  initFilterConditions,
127
127
  getRawFilterConditions
128
128
  } = useFilterConditions(toRef(FormState, "filterConditions"), props.searchFieldList, DataTypeEnums.API);
129
+ const dateTypeList = [WidgetTypeEnums.DATE, WidgetTypeEnums.DATE_TIME, WidgetTypeEnums.DATE_RANGE_INNER, WidgetTypeEnums.DATETIME_RANGE_INNER];
130
+ function getOptions(key) {
131
+ const item = getParamCfg(key);
132
+ return dateTypeList.includes(item.type) ? dateConditionOptions : baseConditionOptions;
133
+ }
129
134
  function handleEditDisplayCategory(item) {
130
135
  item.disabled = false;
131
136
  setTimeout(() => {
@@ -381,7 +386,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
381
386
  value: item.condition,
382
387
  to: "body",
383
388
  filterable: "",
384
- options: unref(conditionOptions),
389
+ options: getOptions(item.key),
385
390
  "onUpdate:value": ($event) => unref(updateCondition)(index, $event)
386
391
  }, null, 8, ["value", "options", "onUpdate:value"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
387
392
  var _a, _b, _c;
@@ -390,7 +395,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
390
395
  } catch (e) {
391
396
  return "\u81EA\u5B9A\u4E49";
392
397
  }
393
- }()), item.key && item.condition && item.condition !== unref(ConditionEnums).NULL ? (openBlock(), createBlock(ValueCfg, {
398
+ }()), item.key && item.condition && item.condition !== unref(ConditionEnums).NULL && item.condition !== unref(ConditionEnums).NOT_NULL ? (openBlock(), createBlock(ValueCfg, {
394
399
  key: 1,
395
400
  modelValue: item.value,
396
401
  "onUpdate:modelValue": ($event) => item.value = $event,
@@ -400,8 +405,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
400
405
  "onUpdate:isAccurate": ($event) => item.isAccurateSearch = $event,
401
406
  customDate: item.customDate,
402
407
  "onUpdate:customDate": ($event) => item.customDate = $event,
408
+ item,
403
409
  "param-cfg": unref(getParamCfg)(item.key)
404
- }, null, 8, ["modelValue", "onUpdate:modelValue", "presetVal", "onUpdate:presetVal", "isAccurate", "onUpdate:isAccurate", "customDate", "onUpdate:customDate", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
410
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "presetVal", "onUpdate:presetVal", "isAccurate", "onUpdate:isAccurate", "customDate", "onUpdate:customDate", "item", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
405
411
  title: function() {
406
412
  var _a, _b, _c;
407
413
  try {
@@ -315,7 +315,7 @@ declare const _default: import("vue").DefineComponent<{
315
315
  value: string;
316
316
  placeholder: string;
317
317
  unit: string;
318
- clearable: boolean;
319
318
  valueFormat: string;
319
+ clearable: boolean;
320
320
  }>;
321
321
  export default _default;