cnhis-design-vue 3.3.3-beta.70 → 3.3.3-beta.72

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 (29) hide show
  1. package/es/components/classification/index.d.ts +1 -8
  2. package/es/components/classification/src/components/search-filter/index.vue.d.ts +1 -8
  3. package/es/components/classification/src/components/set-classification/index.vue.d.ts +1 -8
  4. package/es/components/classification/src/index.vue.d.ts +1 -11
  5. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  6. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
  7. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  8. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -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/form-render/src/components/renderer/date.d.ts +3 -1
  14. package/es/components/form-render/src/components/renderer/date.js +12 -10
  15. package/es/components/index.js +1 -1
  16. package/es/components/shortcut-setter/index.d.ts +2 -2
  17. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -2
  18. package/es/components/table-filter/index.js +1 -1
  19. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +47 -121
  20. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -8
  21. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +3 -2
  22. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
  23. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +23 -2
  24. package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
  25. package/es/components/table-filter/src/types/enums.d.ts +0 -8
  26. package/es/components/table-filter/src/types/enums.js +0 -8
  27. package/es/shared/hooks/useDateTime.js +1 -1
  28. package/es/shared/package.json.js +2 -2
  29. package/package.json +3 -3
@@ -625,6 +625,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
625
625
  menuProps: {
626
626
  class: string;
627
627
  };
628
+ specialDateRange: string[];
628
629
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
629
630
  actionList_prop: {
630
631
  type: import("vue").PropType<import("..").IClassifyListType>;
@@ -2393,14 +2394,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2393
2394
  ConditionEnums: {
2394
2395
  NULL: string;
2395
2396
  EQUAL: string;
2396
- NOT_NULL: string;
2397
- NEQ: string;
2398
- BIG: string;
2399
- LESS: string;
2400
- BIGEQ: string;
2401
- LESSEQ: string;
2402
- L_: string;
2403
- N_: string;
2404
2397
  IN_THE_PAST: string;
2405
2398
  IN_THE_FUTURE: string;
2406
2399
  IN_THE_PAST_DI: string;
@@ -88,6 +88,7 @@ declare const _default: import("vue").DefineComponent<{
88
88
  menuProps: {
89
89
  class: string;
90
90
  };
91
+ specialDateRange: string[];
91
92
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
92
93
  actionList_prop: {
93
94
  type: import("vue").PropType<import("../../../..").IClassifyListType>;
@@ -1856,14 +1857,6 @@ declare const _default: import("vue").DefineComponent<{
1856
1857
  ConditionEnums: {
1857
1858
  NULL: string;
1858
1859
  EQUAL: string;
1859
- NOT_NULL: string;
1860
- NEQ: string;
1861
- BIG: string;
1862
- LESS: string;
1863
- BIGEQ: string;
1864
- LESSEQ: string;
1865
- L_: string;
1866
- N_: string;
1867
1860
  IN_THE_PAST: string;
1868
1861
  IN_THE_FUTURE: string;
1869
1862
  IN_THE_PAST_DI: string;
@@ -382,6 +382,7 @@ declare const _default: import("vue").DefineComponent<{
382
382
  menuProps: {
383
383
  class: string;
384
384
  };
385
+ specialDateRange: string[];
385
386
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
386
387
  actionList_prop: {
387
388
  type: import("vue").PropType<IClassifyListType>;
@@ -2150,14 +2151,6 @@ declare const _default: import("vue").DefineComponent<{
2150
2151
  ConditionEnums: {
2151
2152
  NULL: string;
2152
2153
  EQUAL: string;
2153
- NOT_NULL: string;
2154
- NEQ: string;
2155
- BIG: string;
2156
- LESS: string;
2157
- BIGEQ: string;
2158
- LESSEQ: string;
2159
- L_: string;
2160
- N_: string;
2161
2154
  IN_THE_PAST: string;
2162
2155
  IN_THE_FUTURE: string;
2163
2156
  IN_THE_PAST_DI: string;
@@ -627,6 +627,7 @@ declare const _default: import("vue").DefineComponent<{
627
627
  menuProps: {
628
628
  class: string;
629
629
  };
630
+ specialDateRange: string[];
630
631
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
631
632
  actionList_prop: {
632
633
  type: PropType<IClassifyListType>;
@@ -708,9 +709,6 @@ declare const _default: import("vue").DefineComponent<{
708
709
  }[];
709
710
  handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
710
711
  handleDisplayCategoryAddState: () => void;
711
- /**
712
- * 改变展示方式
713
- */
714
712
  findConditionByDisplayCategory: (sid: string) => unknown;
715
713
  handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
716
714
  clearFormData: () => void;
@@ -2398,14 +2396,6 @@ declare const _default: import("vue").DefineComponent<{
2398
2396
  ConditionEnums: {
2399
2397
  NULL: string;
2400
2398
  EQUAL: string;
2401
- NOT_NULL: string;
2402
- NEQ: string;
2403
- BIG: string;
2404
- LESS: string;
2405
- BIGEQ: string;
2406
- LESSEQ: string;
2407
- L_: string;
2408
- N_: string;
2409
2399
  IN_THE_PAST: string;
2410
2400
  IN_THE_FUTURE: string;
2411
2401
  IN_THE_PAST_DI: string;
@@ -539,12 +539,12 @@ declare const _default: import("vue").DefineComponent<{
539
539
  }>;
540
540
  developMode: boolean;
541
541
  draggable: boolean;
542
- fieldDescribeMode: "column" | "tooltip";
543
- isFieldSet: boolean;
544
- hideExpressionOption: AnyObject[];
542
+ isHighlightRow: boolean;
545
543
  idx: number;
546
544
  isHighlight: boolean;
547
- isHighlightRow: boolean;
545
+ isFieldSet: boolean;
546
+ fieldDescribeMode: "column" | "tooltip";
547
+ hideExpressionOption: AnyObject[];
548
548
  }>;
549
549
  EditDialog: import("vue").DefineComponent<{
550
550
  visible: {
@@ -568,12 +568,12 @@ declare const _default: import("vue").DefineComponent<{
568
568
  }>;
569
569
  developMode: boolean;
570
570
  draggable: boolean;
571
- fieldDescribeMode: "column" | "tooltip";
572
- isFieldSet: boolean;
573
- hideExpressionOption: AnyObject[];
571
+ isHighlightRow: boolean;
574
572
  idx: number;
575
573
  isHighlight: boolean;
576
- isHighlightRow: boolean;
574
+ isFieldSet: boolean;
575
+ fieldDescribeMode: "column" | "tooltip";
576
+ hideExpressionOption: AnyObject[];
577
577
  }>;
578
578
  setStyle: typeof setStyle;
579
579
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "save" | "reset")[], "close" | "save" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -759,12 +759,12 @@ declare const _default: import("vue").DefineComponent<{
759
759
  }>;
760
760
  developMode: boolean;
761
761
  draggable: boolean;
762
- fieldDescribeMode: "column" | "tooltip";
763
- isFieldSet: boolean;
764
- hideExpressionOption: AnyObject[];
762
+ isHighlightRow: boolean;
765
763
  idx: number;
766
764
  isHighlight: boolean;
767
- isHighlightRow: boolean;
765
+ isFieldSet: boolean;
766
+ fieldDescribeMode: "column" | "tooltip";
767
+ hideExpressionOption: AnyObject[];
768
768
  }>;
769
769
  isArray: {
770
770
  (value?: any): value is any[];
@@ -904,9 +904,9 @@ declare const _default: import("vue").DefineComponent<{
904
904
  showSeq: boolean;
905
905
  developMode: boolean;
906
906
  footerFlag: boolean;
907
+ fieldDescribeMode: "column" | "tooltip";
907
908
  customColumns: FieldSetColumnItem[];
908
909
  showSortPriority: boolean;
909
910
  showHeadFilter: boolean;
910
- fieldDescribeMode: "column" | "tooltip";
911
911
  }>;
912
912
  export default _default;
@@ -384,11 +384,11 @@ declare const _default: import("vue").DefineComponent<{
384
384
  }>;
385
385
  developMode: boolean;
386
386
  draggable: boolean;
387
- fieldDescribeMode: "column" | "tooltip";
388
- isFieldSet: boolean;
389
- hideExpressionOption: AnyObject[];
387
+ isHighlightRow: boolean;
390
388
  idx: number;
391
389
  isHighlight: boolean;
392
- isHighlightRow: boolean;
390
+ isFieldSet: boolean;
391
+ fieldDescribeMode: "column" | "tooltip";
392
+ hideExpressionOption: AnyObject[];
393
393
  }>;
394
394
  export default _default;
@@ -283,14 +283,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
283
283
  compareMap?: {
284
284
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
285
285
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
286
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
287
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
288
286
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
289
287
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
290
288
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
291
289
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
292
290
  CL?: ((v1: any, v2: any) => boolean) | undefined;
293
291
  NC?: ((v1: any, v2: any) => boolean) | undefined;
292
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
293
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
294
294
  } | undefined;
295
295
  isRestoreDefault?: boolean | undefined;
296
296
  sqlExpression?: string | undefined;
@@ -1946,14 +1946,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
1946
1946
  compareMap?: {
1947
1947
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
1948
1948
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
1949
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1950
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1951
1949
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
1952
1950
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
1953
1951
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
1954
1952
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
1955
1953
  CL?: ((v1: any, v2: any) => boolean) | undefined;
1956
1954
  NC?: ((v1: any, v2: any) => boolean) | undefined;
1955
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1956
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1957
1957
  } | undefined;
1958
1958
  }[] | undefined;
1959
1959
  show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -2225,14 +2225,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2225
2225
  compareMap?: {
2226
2226
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2227
2227
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2228
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2229
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2230
2228
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2231
2229
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2232
2230
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2233
2231
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2234
2232
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2235
2233
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2234
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2235
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2236
2236
  } | undefined;
2237
2237
  }[] | undefined;
2238
2238
  show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -2494,14 +2494,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2494
2494
  compareMap?: {
2495
2495
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2496
2496
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2497
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2498
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2499
2497
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2500
2498
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2501
2499
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2502
2500
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2503
2501
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2504
2502
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2503
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2504
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2505
2505
  } | undefined;
2506
2506
  }[] | undefined;
2507
2507
  show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -2771,14 +2771,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2771
2771
  compareMap?: {
2772
2772
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2773
2773
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2774
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2775
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2776
2774
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2777
2775
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2778
2776
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2779
2777
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2780
2778
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2781
2779
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2780
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2781
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2782
2782
  } | undefined;
2783
2783
  }[] | undefined;
2784
2784
  show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -4058,14 +4058,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
4058
4058
  compareMap?: {
4059
4059
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
4060
4060
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
4061
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
4062
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
4063
4061
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
4064
4062
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
4065
4063
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
4066
4064
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
4067
4065
  CL?: ((v1: any, v2: any) => boolean) | undefined;
4068
4066
  NC?: ((v1: any, v2: any) => boolean) | undefined;
4067
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
4068
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
4069
4069
  } | undefined;
4070
4070
  isRestoreDefault?: boolean | undefined;
4071
4071
  sqlExpression?: string | undefined;
@@ -286,14 +286,14 @@ declare const _default: import("vue").DefineComponent<{
286
286
  compareMap?: {
287
287
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
288
288
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
289
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
290
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
291
289
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
292
290
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
293
291
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
294
292
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
295
293
  CL?: ((v1: any, v2: any) => boolean) | undefined;
296
294
  NC?: ((v1: any, v2: any) => boolean) | undefined;
295
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
296
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
297
297
  } | undefined;
298
298
  isRestoreDefault?: boolean | undefined;
299
299
  sqlExpression?: string | undefined;
@@ -1949,14 +1949,14 @@ declare const _default: import("vue").DefineComponent<{
1949
1949
  compareMap?: {
1950
1950
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
1951
1951
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
1952
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1953
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1954
1952
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
1955
1953
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
1956
1954
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
1957
1955
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
1958
1956
  CL?: ((v1: any, v2: any) => boolean) | undefined;
1959
1957
  NC?: ((v1: any, v2: any) => boolean) | undefined;
1958
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1959
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1960
1960
  } | undefined;
1961
1961
  }[] | undefined;
1962
1962
  show_mode?: LowCodeTypes.showModeType | undefined;
@@ -2228,14 +2228,14 @@ declare const _default: import("vue").DefineComponent<{
2228
2228
  compareMap?: {
2229
2229
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2230
2230
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2231
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2232
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2233
2231
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2234
2232
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2235
2233
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2236
2234
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2237
2235
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2238
2236
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2237
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2238
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2239
2239
  } | undefined;
2240
2240
  }[] | undefined;
2241
2241
  show_mode?: LowCodeTypes.showModeType | undefined;
@@ -2497,14 +2497,14 @@ declare const _default: import("vue").DefineComponent<{
2497
2497
  compareMap?: {
2498
2498
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2499
2499
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2500
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2501
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2502
2500
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2503
2501
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2504
2502
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2505
2503
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2506
2504
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2507
2505
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2506
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2507
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2508
2508
  } | undefined;
2509
2509
  }[] | undefined;
2510
2510
  show_mode?: LowCodeTypes.showModeType | undefined;
@@ -2774,14 +2774,14 @@ declare const _default: import("vue").DefineComponent<{
2774
2774
  compareMap?: {
2775
2775
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
2776
2776
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
2777
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2778
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2779
2777
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
2780
2778
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
2781
2779
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
2782
2780
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
2783
2781
  CL?: ((v1: any, v2: any) => boolean) | undefined;
2784
2782
  NC?: ((v1: any, v2: any) => boolean) | undefined;
2783
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
2784
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2785
2785
  } | undefined;
2786
2786
  }[] | undefined;
2787
2787
  show_mode?: LowCodeTypes.showModeType | undefined;
@@ -4061,14 +4061,14 @@ declare const _default: import("vue").DefineComponent<{
4061
4061
  compareMap?: {
4062
4062
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
4063
4063
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
4064
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
4065
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
4066
4064
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
4067
4065
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
4068
4066
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
4069
4067
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
4070
4068
  CL?: ((v1: any, v2: any) => boolean) | undefined;
4071
4069
  NC?: ((v1: any, v2: any) => boolean) | undefined;
4070
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
4071
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
4072
4072
  } | undefined;
4073
4073
  isRestoreDefault?: boolean | undefined;
4074
4074
  sqlExpression?: string | undefined;
@@ -384,14 +384,14 @@ declare const _default: import("vue").DefineComponent<{
384
384
  compareMap?: {
385
385
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
386
386
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
387
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
388
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
389
387
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
390
388
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
391
389
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
392
390
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
393
391
  CL?: ((v1: any, v2: any) => boolean) | undefined;
394
392
  NC?: ((v1: any, v2: any) => boolean) | undefined;
393
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
394
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
395
395
  } | undefined;
396
396
  }[] | undefined;
397
397
  show_mode?: import("../../../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -663,14 +663,14 @@ declare const _default: import("vue").DefineComponent<{
663
663
  compareMap?: {
664
664
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
665
665
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
666
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
667
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
668
666
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
669
667
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
670
668
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
671
669
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
672
670
  CL?: ((v1: any, v2: any) => boolean) | undefined;
673
671
  NC?: ((v1: any, v2: any) => boolean) | undefined;
672
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
673
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
674
674
  } | undefined;
675
675
  }[] | undefined;
676
676
  show_mode?: import("../../../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -932,14 +932,14 @@ declare const _default: import("vue").DefineComponent<{
932
932
  compareMap?: {
933
933
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
934
934
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
935
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
936
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
937
935
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
938
936
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
939
937
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
940
938
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
941
939
  CL?: ((v1: any, v2: any) => boolean) | undefined;
942
940
  NC?: ((v1: any, v2: any) => boolean) | undefined;
941
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
942
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
943
943
  } | undefined;
944
944
  }[] | undefined;
945
945
  show_mode?: import("../../../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -1209,14 +1209,14 @@ declare const _default: import("vue").DefineComponent<{
1209
1209
  compareMap?: {
1210
1210
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
1211
1211
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
1212
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1213
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1214
1212
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
1215
1213
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
1216
1214
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
1217
1215
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
1218
1216
  CL?: ((v1: any, v2: any) => boolean) | undefined;
1219
1217
  NC?: ((v1: any, v2: any) => boolean) | undefined;
1218
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
1219
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
1220
1220
  } | undefined;
1221
1221
  }[] | undefined;
1222
1222
  show_mode?: import("../../../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -28,14 +28,14 @@ declare const _default: import("vue").DefineComponent<{
28
28
  compareMap?: {
29
29
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
30
30
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
31
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
32
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
33
31
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
34
32
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
35
33
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
36
34
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
37
35
  CL?: ((v1: any, v2: any) => boolean) | undefined;
38
36
  NC?: ((v1: any, v2: any) => boolean) | undefined;
37
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
38
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
39
39
  } | undefined;
40
40
  isRestoreDefault?: boolean | undefined;
41
41
  sqlExpression?: string | undefined;
@@ -37,7 +37,9 @@ export declare const DATE: import("vue").DefineComponent<{
37
37
  type: BooleanConstructor;
38
38
  default: boolean;
39
39
  };
40
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
+ [key: string]: any;
42
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
43
  onChange: {};
42
44
  disabled: {
43
45
  type: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, watch, ref, onMounted, inject, createVNode, mergeProps } from 'vue';
1
+ import { defineComponent, computed, watch, ref, onMounted, inject, h, createVNode, mergeProps } from 'vue';
2
2
  import { generateTimeFormat } from '../../../../../shared/utils/index.js';
3
3
  import { connect, mapProps } from '@formily/vue';
4
4
  import { useEventListener } from '@vueuse/core';
@@ -192,17 +192,19 @@ const script = /* @__PURE__ */ defineComponent({
192
192
  } = useLocale("DatePicker");
193
193
  return () => {
194
194
  var _a;
195
- return (globProps == null ? void 0 : globProps.lazyRender) && showText.value ? createVNode("div", {
196
- "class": ["form-render__textMode--input n-input", {
195
+ return (globProps == null ? void 0 : globProps.lazyRender) && showText.value ? h("div", {
196
+ class: ["form-render__textMode--input n-input", {
197
197
  "form-render__textMode--inputDisabled": props.disabled
198
198
  }],
199
- "tabindex": 0,
200
- "onFocus": onFocus
201
- }, [[valueRef.value ? createVNode("span", null, [valueRef.value]) : createVNode("span", {
202
- "class": "form-render__textMode--inputPlaceholder"
203
- }, [props.placeholder || ((_a = localeRef.value) == null ? void 0 : _a.datetimePlaceholder)]), createVNode(script$1, {
204
- "class": "form-render__textMode--dateIcon n-base-icon n-date-picker-icon"
205
- }, null)]]) : createVNode(DatePicker, mergeProps({
199
+ tabindex: 0,
200
+ onFocus
201
+ }, [h("span", {
202
+ class: {
203
+ "form-render__textMode--inputPlaceholder": !valueRef.value
204
+ }
205
+ }, valueRef.value || props.placeholder || ((_a = localeRef.value) == null ? void 0 : _a.datetimePlaceholder)), h(script$1, {
206
+ class: "form-render__textMode--dateIcon n-base-icon n-date-picker-icon"
207
+ })]) : createVNode(DatePicker, mergeProps({
206
208
  "ref": datePickerRef,
207
209
  "key": key.value,
208
210
  "disabled": props.disabled,
@@ -86,7 +86,7 @@ import AudioSdk from './audio-sdk/index.js';
86
86
  export { default as CAudioSdk } from './audio-sdk/index.js';
87
87
  export { default as CInsuranceSDK } from './card-reader-sdk/src/insuranceSDK.js';
88
88
  export { default as CCardReaderSDK } from './card-reader-sdk/src/cardReaderSDK.js';
89
- export { formatDateRangeInfo, presetValToDateRangestr, presetValToTimestamp } from './table-filter/src/components/render-widget/helpers/presetValToTimestamp.js';
89
+ export { formatDateRangeInfo, formatSpecialDateRange, presetValToDateRangestr, presetValToTimestamp } from './table-filter/src/components/render-widget/helpers/presetValToTimestamp.js';
90
90
  export { DatePresetValEnums, DateRangeInnerValEnums, DateRangeOutDefEnums } from './table-filter/src/components/render-widget/enums.js';
91
91
  export { createOpacityColor, useTheme } from '../shared/hooks/useTheme.js';
92
92
  export { handleInputEvent, useDateTime } from '../shared/hooks/useDateTime.js';
@@ -174,14 +174,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
174
174
  compareMap?: {
175
175
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
176
176
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
177
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
178
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
179
177
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
180
178
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
181
179
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
182
180
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
183
181
  CL?: ((v1: any, v2: any) => boolean) | undefined;
184
182
  NC?: ((v1: any, v2: any) => boolean) | undefined;
183
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
184
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
185
185
  } | undefined;
186
186
  }[] | undefined;
187
187
  show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -177,14 +177,14 @@ declare const _default: import("vue").DefineComponent<{
177
177
  compareMap?: {
178
178
  NULL?: ((v1: any, v2: any) => boolean) | undefined;
179
179
  EQ?: ((v1: any, v2: any) => boolean) | undefined;
180
- NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
181
- NEQ?: ((v1: any, v2: any) => boolean) | undefined;
182
180
  BIG?: ((v1: any, v2: any) => boolean) | undefined;
183
181
  LESS?: ((v1: any, v2: any) => boolean) | undefined;
184
182
  BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
185
183
  LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
186
184
  CL?: ((v1: any, v2: any) => boolean) | undefined;
187
185
  NC?: ((v1: any, v2: any) => boolean) | undefined;
186
+ NEQ?: ((v1: any, v2: any) => boolean) | undefined;
187
+ NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
188
188
  } | undefined;
189
189
  }[] | undefined;
190
190
  show_mode?: import("../../../shared/types").LowCodeTypes.showModeType | undefined;
@@ -1,2 +1,2 @@
1
- export { formatDateRangeInfo, presetValToDateRangestr, presetValToTimestamp } from './src/components/render-widget/helpers/presetValToTimestamp.js';
1
+ export { formatDateRangeInfo, formatSpecialDateRange, presetValToDateRangestr, presetValToTimestamp } from './src/components/render-widget/helpers/presetValToTimestamp.js';
2
2
  export { DatePresetValEnums, DateRangeInnerValEnums, DateRangeOutDefEnums } from './src/components/render-widget/enums.js';
@@ -21,126 +21,52 @@ const baseConditionOptions = [{
21
21
  }(),
22
22
  value: ConditionEnums.NULL
23
23
  }];
24
- const dateConditionOptions = [...baseConditionOptions, {
25
- label: function() {
26
- var _a, _b, _c;
27
- try {
28
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.339")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A";
29
- } catch (e) {
30
- return "\u4E0D\u4E3A\u7A7A";
31
- }
32
- }(),
33
- value: ConditionEnums.NOT_NULL
34
- }, {
35
- label: function() {
36
- var _a, _b, _c;
37
- try {
38
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.318")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.318")) || "\u4E0D\u7B49\u4E8E";
39
- } catch (e) {
40
- return "\u4E0D\u7B49\u4E8E";
41
- }
42
- }(),
43
- value: ConditionEnums.NEQ
44
- }, {
45
- label: function() {
46
- var _a, _b, _c;
47
- try {
48
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.319")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.319")) || "\u5927\u4E8E";
49
- } catch (e) {
50
- return "\u5927\u4E8E";
51
- }
52
- }(),
53
- value: ConditionEnums.BIG
54
- }, {
55
- label: function() {
56
- var _a, _b, _c;
57
- try {
58
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.320")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.320")) || "\u5C0F\u4E8E";
59
- } catch (e) {
60
- return "\u5C0F\u4E8E";
61
- }
62
- }(),
63
- value: ConditionEnums.LESS
64
- }, {
65
- label: function() {
66
- var _a, _b, _c;
67
- try {
68
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.321")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E";
69
- } catch (e) {
70
- return "\u5927\u4E8E\u7B49\u4E8E";
71
- }
72
- }(),
73
- value: ConditionEnums.BIGEQ
74
- }, {
75
- label: function() {
76
- var _a, _b, _c;
77
- try {
78
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.322")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E";
79
- } catch (e) {
80
- return "\u5C0F\u4E8E\u7B49\u4E8E";
81
- }
82
- }(),
83
- value: ConditionEnums.LESSEQ
84
- }, {
85
- label: function() {
86
- var _a, _b, _c;
87
- try {
88
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.332")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.332")) || "\u4EE5\u524D";
89
- } catch (e) {
90
- return "\u4EE5\u524D";
91
- }
92
- }(),
93
- value: ConditionEnums.L_
94
- }, {
95
- label: function() {
96
- var _a, _b, _c;
97
- try {
98
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.333")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.333")) || "\u4EE5\u540E";
99
- } catch (e) {
100
- return "\u4EE5\u540E";
101
- }
102
- }(),
103
- value: ConditionEnums.N_
104
- }, {
105
- label: function() {
106
- var _a, _b, _c;
107
- try {
108
- 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";
109
- } catch (e) {
110
- return "\u8FC7\u53BB\u5185";
111
- }
112
- }(),
113
- value: ConditionEnums.IN_THE_PAST
114
- }, {
115
- label: function() {
116
- var _a, _b, _c;
117
- try {
118
- 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";
119
- } catch (e) {
120
- return "\u672A\u6765\u5185";
121
- }
122
- }(),
123
- value: ConditionEnums.IN_THE_FUTURE
124
- }, {
125
- label: function() {
126
- var _a, _b, _c;
127
- try {
128
- 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";
129
- } catch (e) {
130
- return "\u8FC7\u53BB\u7B2C";
131
- }
132
- }(),
133
- value: ConditionEnums.IN_THE_PAST_DI
134
- }, {
135
- label: function() {
136
- var _a, _b, _c;
137
- try {
138
- 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";
139
- } catch (e) {
140
- return "\u672A\u6765\u7B2C";
141
- }
142
- }(),
143
- value: ConditionEnums.IN_THE_FUTURE_DI
144
- }];
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
+ ];
145
71
 
146
72
  export { baseConditionOptions, dateConditionOptions };
@@ -30,6 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  menuProps: {
31
31
  class: string;
32
32
  };
33
+ specialDateRange: string[];
33
34
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
34
35
  actionList_prop: {
35
36
  type: PropType<IClassifyListType>;
@@ -1798,14 +1799,6 @@ declare const _default: import("vue").DefineComponent<{
1798
1799
  ConditionEnums: {
1799
1800
  NULL: string;
1800
1801
  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
1802
  IN_THE_PAST: string;
1810
1803
  IN_THE_FUTURE: string;
1811
1804
  IN_THE_PAST_DI: string;
@@ -93,6 +93,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
93
93
  const menuProps = {
94
94
  class: "classify-fieldkey-popover"
95
95
  };
96
+ const specialDateRange = [ConditionEnums.IN_THE_PAST, ConditionEnums.IN_THE_FUTURE, ConditionEnums.IN_THE_PAST_DI, ConditionEnums.IN_THE_FUTURE_DI];
96
97
  const $attrs = useAttrs();
97
98
  const FormState = reactive({
98
99
  className: "",
@@ -126,7 +127,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
126
127
  initFilterConditions,
127
128
  getRawFilterConditions
128
129
  } = 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
+ const dateTypeList = [WidgetTypeEnums.DATE_RANGE_INNER, WidgetTypeEnums.DATETIME_RANGE_INNER];
130
131
  function getOptions(key) {
131
132
  const item = getParamCfg(key);
132
133
  return dateTypeList.includes(item.type) ? dateConditionOptions : baseConditionOptions;
@@ -208,7 +209,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
208
209
  presetVal,
209
210
  customDate
210
211
  }) => {
211
- return !key || !condition || condition === ConditionEnums.EQUAL && !value && !presetVal && !customDate;
212
+ return !key || !condition || condition === ConditionEnums.EQUAL && !value && !presetVal && !customDate || specialDateRange.includes(condition) && (!value || !presetVal);
212
213
  });
213
214
  if (isEmpty) {
214
215
  $message.warning(function() {
@@ -1,3 +1,4 @@
1
1
  export declare const presetValToTimestamp: (presetVal: string, format?: string, isOrigin?: boolean) => any;
2
2
  export declare const formatDateRangeInfo: (key: string, format?: string, optionSetting?: string, isOrigin?: boolean) => string | number | any[];
3
+ export declare const formatSpecialDateRange: (conObj: any, format?: string) => string;
3
4
  export declare const presetValToDateRangestr: (presetVal: string, format?: string) => string | null;
@@ -1,5 +1,5 @@
1
1
  import { DateRangeOutDefEnums, DatePresetValEnums, DateRangeInnerValEnums } from '../enums.js';
2
- import { WidgetOptionEnums } from '../../../types/enums.js';
2
+ import { WidgetOptionEnums, ConditionEnums } from '../../../types/enums.js';
3
3
  import { dateDisabledCollect } from './dateDisabled.js';
4
4
  import moment from 'moment';
5
5
 
@@ -142,6 +142,27 @@ const formatDateRangeInfo = (key, format = "x", optionSetting = WidgetOptionEnum
142
142
  }
143
143
  return [];
144
144
  };
145
+ const formatSpecialDateRange = (conObj, format = "x") => {
146
+ if (Array.isArray(conObj.value) && conObj.con && conObj.unit) {
147
+ const num = Number(conObj.value);
148
+ const unit = conObj.unit.toLowerCase();
149
+ switch (conObj.con) {
150
+ case ConditionEnums.IN_THE_PAST: {
151
+ return `${moment().subtract(num, unit).startOf("day").format(format)} ~ ${moment().format(format)}`;
152
+ }
153
+ case ConditionEnums.IN_THE_FUTURE: {
154
+ return `${moment().format(format)} ~ ${moment().add(num, unit).endOf("day").format(format)}`;
155
+ }
156
+ case ConditionEnums.IN_THE_PAST_DI: {
157
+ return `${moment().subtract(num, unit).startOf("day").format(format)} ~ ${moment().subtract(num, unit).endOf("day").format(format)}`;
158
+ }
159
+ case ConditionEnums.IN_THE_FUTURE_DI: {
160
+ return `${moment().add(num, unit).startOf("day").format(format)} ~ ${moment().add(num, unit).endOf("day").format(format)}`;
161
+ }
162
+ }
163
+ }
164
+ return "";
165
+ };
145
166
  const dateRangeOutMap = new Map([...dateRangeMapInner, [DateRangeOutDefEnums.PAST_WEEK, () => [moment().subtract(6, "days").startOf("day"), moment().endOf("day")]], [DateRangeOutDefEnums.PAST_MONTH, () => [moment().subtract(1, "months").startOf("day"), moment().endOf("day")]], [DateRangeOutDefEnums.PAST_HALF_YEAR, () => [moment().subtract(6, "months").startOf("day"), moment().endOf("day")]]]);
146
167
  const presetValToDateRangestr = (presetVal, format = "x") => {
147
168
  if (!dateRangeOutMap.has(presetVal))
@@ -155,4 +176,4 @@ const presetValToDateRangestr = (presetVal, format = "x") => {
155
176
  return null;
156
177
  };
157
178
 
158
- export { formatDateRangeInfo, presetValToDateRangestr, presetValToTimestamp };
179
+ export { formatDateRangeInfo, formatSpecialDateRange, presetValToDateRangestr, presetValToTimestamp };
@@ -1,6 +1,6 @@
1
- import { WidgetOptionEnums, WidgetTypeEnums, selectModeEnums, WidgetValEnums } from '../types/enums.js';
1
+ import { WidgetOptionEnums, ConditionEnums, WidgetTypeEnums, selectModeEnums, WidgetValEnums } from '../types/enums.js';
2
2
  import { isString } from 'lodash-es';
3
- import { formatDateRangeInfo, presetValToTimestamp } from '../components/render-widget/helpers/presetValToTimestamp.js';
3
+ import { formatSpecialDateRange, formatDateRangeInfo, presetValToTimestamp } from '../components/render-widget/helpers/presetValToTimestamp.js';
4
4
  import { DatePresetValEnums } from '../components/render-widget/enums.js';
5
5
  import { parseDateShortcuts } from '../tool/date.js';
6
6
  import moment from 'moment';
@@ -13,6 +13,7 @@ const advanceOptionSettingMap = {
13
13
  [WidgetOptionEnums.PAST_TIME]: "2",
14
14
  [WidgetOptionEnums.FUTURE_TIME]: "3"
15
15
  };
16
+ const specialDateRange = [ConditionEnums.IN_THE_PAST, ConditionEnums.IN_THE_FUTURE, ConditionEnums.IN_THE_PAST_DI, ConditionEnums.IN_THE_FUTURE_DI];
16
17
  const limitValue = 10;
17
18
  function useAdvanced() {
18
19
  function transformDataToFieldCfg(advancedFilterCfg) {
@@ -153,10 +154,10 @@ function useAdvanced() {
153
154
  }
154
155
  if (conObj.unit && conObj.unit !== DatePresetValEnums.CUSTOM) {
155
156
  if (curQuickSearchObj.type === WidgetTypeEnums.DATE) {
156
- curValue = curQuickSearchObj.rangeFilter ? formatDateRangeInfo(conObj.unit, "YYYY-MM-DD", curQuickSearchObj.optionType) : presetValToTimestamp(conObj.unit, "YYYY-MM-DD");
157
+ curValue = curQuickSearchObj.rangeFilter ? specialDateRange.includes(conObj.con) ? formatSpecialDateRange(conObj, "YYYY-MM-DD") : formatDateRangeInfo(conObj.unit, "YYYY-MM-DD", curQuickSearchObj.optionType) : presetValToTimestamp(conObj.unit, "YYYY-MM-DD");
157
158
  }
158
159
  if (curQuickSearchObj.type === WidgetTypeEnums.DATE_TIME) {
159
- curValue = curQuickSearchObj.rangeFilter ? formatDateRangeInfo(conObj.unit, "YYYY-MM-DD HH:mm:ss", curQuickSearchObj.optionType) : presetValToTimestamp(conObj.unit, "YYYY-MM-DD HH:mm:ss");
160
+ curValue = curQuickSearchObj.rangeFilter ? specialDateRange.includes(conObj.con) ? formatSpecialDateRange(conObj, "YYYY-MM-DD HH:mm:ss") : formatDateRangeInfo(conObj.unit, "YYYY-MM-DD HH:mm:ss", curQuickSearchObj.optionType) : presetValToTimestamp(conObj.unit, "YYYY-MM-DD HH:mm:ss");
160
161
  }
161
162
  }
162
163
  if (conObj.customDate && conObj.unit === DatePresetValEnums.CUSTOM) {
@@ -81,14 +81,6 @@ export declare const WidgetValEnums: {
81
81
  export declare const ConditionEnums: {
82
82
  NULL: string;
83
83
  EQUAL: string;
84
- NOT_NULL: string;
85
- NEQ: string;
86
- BIG: string;
87
- LESS: string;
88
- BIGEQ: string;
89
- LESSEQ: string;
90
- L_: string;
91
- N_: string;
92
84
  IN_THE_PAST: string;
93
85
  IN_THE_FUTURE: string;
94
86
  IN_THE_PAST_DI: string;
@@ -81,14 +81,6 @@ const WidgetValEnums = {
81
81
  const ConditionEnums = {
82
82
  NULL: "NULL",
83
83
  EQUAL: "EQ",
84
- NOT_NULL: "NOT_NULL",
85
- NEQ: "NEQ",
86
- BIG: "BIG",
87
- LESS: "LESS",
88
- BIGEQ: "BIGEQ",
89
- LESSEQ: "LESSEQ",
90
- L_: "L_",
91
- N_: "N_",
92
84
  IN_THE_PAST: "IN_THE_PAST",
93
85
  IN_THE_FUTURE: "IN_THE_FUTURE",
94
86
  IN_THE_PAST_DI: "IN_THE_PAST_DI",
@@ -98,7 +98,7 @@ function handleFormatInput(target, format, selection, full) {
98
98
  if (selection) {
99
99
  start = start || result.length + 1;
100
100
  end = end || result.length + 1;
101
- target.setSelectionRange(start, end);
101
+ setTimeout(() => target.setSelectionRange(start, end));
102
102
  }
103
103
  return changed;
104
104
  }
@@ -1,9 +1,9 @@
1
1
  var name = "@cnhis-design-vue/shared";
2
- var version = "3.3.3-beta.70";
2
+ var version = "3.3.3-beta.72";
3
3
  var main = "index.ts";
4
4
  var peerDependencies = {
5
5
  "naive-ui": "^2.30.0",
6
- vue: "^3.2.0"
6
+ vue: "^3.5.0"
7
7
  };
8
8
  var dependencies = {
9
9
  "@vicons/ionicons5": "^0.12.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.3.3-beta.70",
3
+ "version": "3.3.3-beta.72",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -21,7 +21,7 @@
21
21
  "@fullcalendar/scrollgrid": "^6.1.10",
22
22
  "@fullcalendar/vue3": "^6.1.10",
23
23
  "naive-ui": "^2.34.0",
24
- "vue": "^3.2.0",
24
+ "vue": "^3.5.0",
25
25
  "vxe-table": "^4.2.5"
26
26
  },
27
27
  "dependencies": {
@@ -74,5 +74,5 @@
74
74
  "iOS 7",
75
75
  "last 3 iOS versions"
76
76
  ],
77
- "gitHead": "de4b2b644125c3a247095747b62852bf71ac2aef"
77
+ "gitHead": "f49e3c85d04e1aa3bb2456a22c1c83ddb37c6b3a"
78
78
  }