cnhis-design-vue 3.3.3-beta.65 → 3.3.3-beta.67

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 (51) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +7 -1
  3. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +7 -1
  4. package/es/components/button-print/src/utils/print.d.ts +3 -3
  5. package/es/components/button-print/src/utils/print.js +11 -0
  6. package/es/components/classification/index.d.ts +506 -4
  7. package/es/components/classification/src/components/search-filter/index.vue.d.ts +506 -4
  8. package/es/components/classification/src/components/set-classification/index.vue.d.ts +506 -4
  9. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  10. package/es/components/classification/src/index.vue.d.ts +509 -4
  11. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
  12. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +3 -2
  13. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  14. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
  15. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  16. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  17. package/es/components/form-config/index.d.ts +12 -12
  18. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -12
  19. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +8 -8
  20. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  21. package/es/components/iho-chat/index.d.ts +1 -1
  22. package/es/components/iho-chat/src/Index.vue.d.ts +1 -1
  23. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  24. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  25. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
  26. package/es/components/shortcut-setter/index.d.ts +2 -2
  27. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -2
  28. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +489 -0
  29. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
  30. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
  31. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  32. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
  33. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +238 -0
  34. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
  35. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +238 -0
  36. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -4
  37. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +476 -0
  38. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  39. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +123 -2
  40. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +506 -4
  41. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +11 -5
  42. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  43. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  44. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  45. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
  46. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
  47. package/es/components/table-filter/src/types/enums.d.ts +12 -0
  48. package/es/components/table-filter/src/types/enums.js +13 -1
  49. package/es/env.d.ts +25 -25
  50. package/es/shared/package.json.js +1 -1
  51. package/package.json +2 -2
@@ -701,8 +701,16 @@ declare const _default: import("vue").DefineComponent<{
701
701
  getParamCfg: (key: string) => any;
702
702
  initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
703
703
  getRawFilterConditions: () => any[];
704
+ dateTypeList: string[];
705
+ getOptions: (key: string) => {
706
+ label: string;
707
+ value: string;
708
+ }[];
704
709
  handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
705
710
  handleDisplayCategoryAddState: () => void;
711
+ /**
712
+ * 改变展示方式
713
+ */
706
714
  findConditionByDisplayCategory: (sid: string) => unknown;
707
715
  handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
708
716
  clearFormData: () => void;
@@ -721,6 +729,10 @@ declare const _default: import("vue").DefineComponent<{
721
729
  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<{}>>, {}>;
722
730
  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<{}>>, {}>;
723
731
  ValueCfg: import("vue").DefineComponent<{
732
+ item: {
733
+ type: ObjectConstructor;
734
+ default: null;
735
+ };
724
736
  paramCfg: {
725
737
  type: ObjectConstructor;
726
738
  default: null;
@@ -742,6 +754,10 @@ declare const _default: import("vue").DefineComponent<{
742
754
  };
743
755
  }, {
744
756
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
757
+ item: {
758
+ type: ObjectConstructor;
759
+ default: null;
760
+ };
745
761
  paramCfg: {
746
762
  type: ObjectConstructor;
747
763
  default: null;
@@ -777,6 +793,10 @@ declare const _default: import("vue").DefineComponent<{
777
793
  componentCfg: {
778
794
  type: ObjectConstructor;
779
795
  };
796
+ item: {
797
+ type: ObjectConstructor;
798
+ required: true;
799
+ };
780
800
  paramCfg: {
781
801
  type: ObjectConstructor;
782
802
  default: null;
@@ -798,6 +818,10 @@ declare const _default: import("vue").DefineComponent<{
798
818
  componentCfg: {
799
819
  type: ObjectConstructor;
800
820
  };
821
+ item: {
822
+ type: ObjectConstructor;
823
+ required: true;
824
+ };
801
825
  paramCfg: {
802
826
  type: ObjectConstructor;
803
827
  default: null;
@@ -820,6 +844,7 @@ declare const _default: import("vue").DefineComponent<{
820
844
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
821
845
  }>>;
822
846
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
847
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
823
848
  valueCp: import("vue").WritableComputedRef<any>;
824
849
  presetValCp: import("vue").WritableComputedRef<string>;
825
850
  dateType: any;
@@ -966,6 +991,231 @@ declare const _default: import("vue").DefineComponent<{
966
991
  holidays: Date[];
967
992
  }>>;
968
993
  NSelect: any;
994
+ DateOption: import("vue").DefineComponent<{
995
+ filterType: {
996
+ type: StringConstructor;
997
+ required: true;
998
+ };
999
+ modelValue: {
1000
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1001
+ default: null;
1002
+ };
1003
+ presetVal: {
1004
+ type: StringConstructor;
1005
+ default: null;
1006
+ };
1007
+ dateType: {
1008
+ type: StringConstructor;
1009
+ };
1010
+ isDateDisabled: {
1011
+ type: FunctionConstructor;
1012
+ };
1013
+ timeDisabled: {
1014
+ type: FunctionConstructor;
1015
+ };
1016
+ valueFormat: {
1017
+ type: StringConstructor;
1018
+ };
1019
+ }, {
1020
+ widgetOptions: {
1021
+ label: string;
1022
+ value: string;
1023
+ }[];
1024
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1025
+ filterType: {
1026
+ type: StringConstructor;
1027
+ required: true;
1028
+ };
1029
+ modelValue: {
1030
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1031
+ default: null;
1032
+ };
1033
+ presetVal: {
1034
+ type: StringConstructor;
1035
+ default: null;
1036
+ };
1037
+ dateType: {
1038
+ type: StringConstructor;
1039
+ };
1040
+ isDateDisabled: {
1041
+ type: FunctionConstructor;
1042
+ };
1043
+ timeDisabled: {
1044
+ type: FunctionConstructor;
1045
+ };
1046
+ valueFormat: {
1047
+ type: StringConstructor;
1048
+ };
1049
+ }>> & {
1050
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1051
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1052
+ }>>;
1053
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1054
+ valueCp: import("vue").WritableComputedRef<any>;
1055
+ presetValCp: import("vue").WritableComputedRef<string>;
1056
+ CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
1057
+ updateUnchangedValue: {
1058
+ type: BooleanConstructor;
1059
+ };
1060
+ onConfirm: {
1061
+ type: FunctionConstructor;
1062
+ };
1063
+ formattedValue: {
1064
+ type: PropType<(string | [string, string]) | null | undefined>;
1065
+ };
1066
+ placeholder: {
1067
+ type: StringConstructor;
1068
+ };
1069
+ allowedInvalidValue: {
1070
+ type: StringConstructor;
1071
+ };
1072
+ to: {
1073
+ type: PropType<string | false | HTMLElement>;
1074
+ default: string;
1075
+ };
1076
+ holidays: {
1077
+ type: PropType<Date[]>;
1078
+ default: () => never[];
1079
+ };
1080
+ type: {
1081
+ type: StringConstructor;
1082
+ default: string;
1083
+ };
1084
+ isDateDisabled: {
1085
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1086
+ };
1087
+ }, {
1088
+ attrs: {
1089
+ [x: string]: unknown;
1090
+ };
1091
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1092
+ updateUnchangedValue: {
1093
+ type: BooleanConstructor;
1094
+ };
1095
+ onConfirm: {
1096
+ type: FunctionConstructor;
1097
+ };
1098
+ formattedValue: {
1099
+ type: PropType<(string | [string, string]) | null | undefined>;
1100
+ };
1101
+ placeholder: {
1102
+ type: StringConstructor;
1103
+ };
1104
+ allowedInvalidValue: {
1105
+ type: StringConstructor;
1106
+ };
1107
+ to: {
1108
+ type: PropType<string | false | HTMLElement>;
1109
+ default: string;
1110
+ };
1111
+ holidays: {
1112
+ type: PropType<Date[]>;
1113
+ default: () => never[];
1114
+ };
1115
+ type: {
1116
+ type: StringConstructor;
1117
+ default: string;
1118
+ };
1119
+ isDateDisabled: {
1120
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1121
+ };
1122
+ }>> & {
1123
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1124
+ }>>;
1125
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
1126
+ datePickerRef: import("vue").Ref<AnyObject | null>;
1127
+ panelInstRef: import("vue").Ref<null>;
1128
+ placeholderRef: import("vue").Ref<any>;
1129
+ oldValue: string;
1130
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1131
+ isDateTime: import("vue").ComputedRef<boolean>;
1132
+ formatRef: import("vue").ComputedRef<string>;
1133
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1134
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1135
+ focus: () => any;
1136
+ blur: () => any;
1137
+ handleConfirm: (target: HTMLInputElement) => void;
1138
+ onUpdateShow: (show: boolean) => Promise<void>;
1139
+ watchers: import("../../../shared/types").AnyFn[];
1140
+ stopWatcher: () => void;
1141
+ setHoliday: (show: boolean) => Promise<void>;
1142
+ onConfirm: (...args: any[]) => Promise<void>;
1143
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1144
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
1145
+ NDatePicker: any;
1146
+ }, 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<{
1147
+ updateUnchangedValue: {
1148
+ type: BooleanConstructor;
1149
+ };
1150
+ onConfirm: {
1151
+ type: FunctionConstructor;
1152
+ };
1153
+ formattedValue: {
1154
+ type: PropType<(string | [string, string]) | null | undefined>;
1155
+ };
1156
+ placeholder: {
1157
+ type: StringConstructor;
1158
+ };
1159
+ allowedInvalidValue: {
1160
+ type: StringConstructor;
1161
+ };
1162
+ to: {
1163
+ type: PropType<string | false | HTMLElement>;
1164
+ default: string;
1165
+ };
1166
+ holidays: {
1167
+ type: PropType<Date[]>;
1168
+ default: () => never[];
1169
+ };
1170
+ type: {
1171
+ type: StringConstructor;
1172
+ default: string;
1173
+ };
1174
+ isDateDisabled: {
1175
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1176
+ };
1177
+ }>> & {
1178
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1179
+ }, {
1180
+ type: string;
1181
+ updateUnchangedValue: boolean;
1182
+ to: string | false | HTMLElement;
1183
+ holidays: Date[];
1184
+ }>>;
1185
+ NSelect: any;
1186
+ NInputNumber: any;
1187
+ }, 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<{
1188
+ filterType: {
1189
+ type: StringConstructor;
1190
+ required: true;
1191
+ };
1192
+ modelValue: {
1193
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1194
+ default: null;
1195
+ };
1196
+ presetVal: {
1197
+ type: StringConstructor;
1198
+ default: null;
1199
+ };
1200
+ dateType: {
1201
+ type: StringConstructor;
1202
+ };
1203
+ isDateDisabled: {
1204
+ type: FunctionConstructor;
1205
+ };
1206
+ timeDisabled: {
1207
+ type: FunctionConstructor;
1208
+ };
1209
+ valueFormat: {
1210
+ type: StringConstructor;
1211
+ };
1212
+ }>> & {
1213
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1214
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1215
+ }, {
1216
+ modelValue: string | number | unknown[];
1217
+ presetVal: string;
1218
+ }>;
969
1219
  WidgetValEnums: {
970
1220
  CUSTOM: string;
971
1221
  FIRST_VAL: string;
@@ -1001,6 +1251,10 @@ declare const _default: import("vue").DefineComponent<{
1001
1251
  componentCfg: {
1002
1252
  type: ObjectConstructor;
1003
1253
  };
1254
+ item: {
1255
+ type: ObjectConstructor;
1256
+ required: true;
1257
+ };
1004
1258
  paramCfg: {
1005
1259
  type: ObjectConstructor;
1006
1260
  default: null;
@@ -1478,6 +1732,10 @@ declare const _default: import("vue").DefineComponent<{
1478
1732
  paramCfg: Record<string, any>;
1479
1733
  }>;
1480
1734
  DateRange: import("vue").DefineComponent<{
1735
+ item: {
1736
+ type: ObjectConstructor;
1737
+ required: true;
1738
+ };
1481
1739
  paramCfg: {
1482
1740
  type: ObjectConstructor;
1483
1741
  default: null;
@@ -1496,6 +1754,10 @@ declare const _default: import("vue").DefineComponent<{
1496
1754
  };
1497
1755
  }, {
1498
1756
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1757
+ item: {
1758
+ type: ObjectConstructor;
1759
+ required: true;
1760
+ };
1499
1761
  paramCfg: {
1500
1762
  type: ObjectConstructor;
1501
1763
  default: null;
@@ -1520,6 +1782,7 @@ declare const _default: import("vue").DefineComponent<{
1520
1782
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
1521
1783
  startDate: import("vue").Ref<any>;
1522
1784
  endDate: import("vue").Ref<any>;
1785
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
1523
1786
  valueFormat: import("vue").ComputedRef<string>;
1524
1787
  dateFormat: import("vue").ComputedRef<string>;
1525
1788
  compType: import("vue").ComputedRef<any>;
@@ -1683,6 +1946,231 @@ declare const _default: import("vue").DefineComponent<{
1683
1946
  to: string | false | HTMLElement;
1684
1947
  holidays: Date[];
1685
1948
  }>>;
1949
+ DateOption: import("vue").DefineComponent<{
1950
+ filterType: {
1951
+ type: StringConstructor;
1952
+ required: true;
1953
+ };
1954
+ modelValue: {
1955
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1956
+ default: null;
1957
+ };
1958
+ presetVal: {
1959
+ type: StringConstructor;
1960
+ default: null;
1961
+ };
1962
+ dateType: {
1963
+ type: StringConstructor;
1964
+ };
1965
+ isDateDisabled: {
1966
+ type: FunctionConstructor;
1967
+ };
1968
+ timeDisabled: {
1969
+ type: FunctionConstructor;
1970
+ };
1971
+ valueFormat: {
1972
+ type: StringConstructor;
1973
+ };
1974
+ }, {
1975
+ widgetOptions: {
1976
+ label: string;
1977
+ value: string;
1978
+ }[];
1979
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1980
+ filterType: {
1981
+ type: StringConstructor;
1982
+ required: true;
1983
+ };
1984
+ modelValue: {
1985
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1986
+ default: null;
1987
+ };
1988
+ presetVal: {
1989
+ type: StringConstructor;
1990
+ default: null;
1991
+ };
1992
+ dateType: {
1993
+ type: StringConstructor;
1994
+ };
1995
+ isDateDisabled: {
1996
+ type: FunctionConstructor;
1997
+ };
1998
+ timeDisabled: {
1999
+ type: FunctionConstructor;
2000
+ };
2001
+ valueFormat: {
2002
+ type: StringConstructor;
2003
+ };
2004
+ }>> & {
2005
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2006
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
2007
+ }>>;
2008
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
2009
+ valueCp: import("vue").WritableComputedRef<any>;
2010
+ presetValCp: import("vue").WritableComputedRef<string>;
2011
+ CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
2012
+ updateUnchangedValue: {
2013
+ type: BooleanConstructor;
2014
+ };
2015
+ onConfirm: {
2016
+ type: FunctionConstructor;
2017
+ };
2018
+ formattedValue: {
2019
+ type: PropType<(string | [string, string]) | null | undefined>;
2020
+ };
2021
+ placeholder: {
2022
+ type: StringConstructor;
2023
+ };
2024
+ allowedInvalidValue: {
2025
+ type: StringConstructor;
2026
+ };
2027
+ to: {
2028
+ type: PropType<string | false | HTMLElement>;
2029
+ default: string;
2030
+ };
2031
+ holidays: {
2032
+ type: PropType<Date[]>;
2033
+ default: () => never[];
2034
+ };
2035
+ type: {
2036
+ type: StringConstructor;
2037
+ default: string;
2038
+ };
2039
+ isDateDisabled: {
2040
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2041
+ };
2042
+ }, {
2043
+ attrs: {
2044
+ [x: string]: unknown;
2045
+ };
2046
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2047
+ updateUnchangedValue: {
2048
+ type: BooleanConstructor;
2049
+ };
2050
+ onConfirm: {
2051
+ type: FunctionConstructor;
2052
+ };
2053
+ formattedValue: {
2054
+ type: PropType<(string | [string, string]) | null | undefined>;
2055
+ };
2056
+ placeholder: {
2057
+ type: StringConstructor;
2058
+ };
2059
+ allowedInvalidValue: {
2060
+ type: StringConstructor;
2061
+ };
2062
+ to: {
2063
+ type: PropType<string | false | HTMLElement>;
2064
+ default: string;
2065
+ };
2066
+ holidays: {
2067
+ type: PropType<Date[]>;
2068
+ default: () => never[];
2069
+ };
2070
+ type: {
2071
+ type: StringConstructor;
2072
+ default: string;
2073
+ };
2074
+ isDateDisabled: {
2075
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2076
+ };
2077
+ }>> & {
2078
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2079
+ }>>;
2080
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
2081
+ datePickerRef: import("vue").Ref<AnyObject | null>;
2082
+ panelInstRef: import("vue").Ref<null>;
2083
+ placeholderRef: import("vue").Ref<any>;
2084
+ oldValue: string;
2085
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
2086
+ isDateTime: import("vue").ComputedRef<boolean>;
2087
+ formatRef: import("vue").ComputedRef<string>;
2088
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
2089
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
2090
+ focus: () => any;
2091
+ blur: () => any;
2092
+ handleConfirm: (target: HTMLInputElement) => void;
2093
+ onUpdateShow: (show: boolean) => Promise<void>;
2094
+ watchers: import("../../../shared/types").AnyFn[];
2095
+ stopWatcher: () => void;
2096
+ setHoliday: (show: boolean) => Promise<void>;
2097
+ onConfirm: (...args: any[]) => Promise<void>;
2098
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
2099
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
2100
+ NDatePicker: any;
2101
+ }, 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<{
2102
+ updateUnchangedValue: {
2103
+ type: BooleanConstructor;
2104
+ };
2105
+ onConfirm: {
2106
+ type: FunctionConstructor;
2107
+ };
2108
+ formattedValue: {
2109
+ type: PropType<(string | [string, string]) | null | undefined>;
2110
+ };
2111
+ placeholder: {
2112
+ type: StringConstructor;
2113
+ };
2114
+ allowedInvalidValue: {
2115
+ type: StringConstructor;
2116
+ };
2117
+ to: {
2118
+ type: PropType<string | false | HTMLElement>;
2119
+ default: string;
2120
+ };
2121
+ holidays: {
2122
+ type: PropType<Date[]>;
2123
+ default: () => never[];
2124
+ };
2125
+ type: {
2126
+ type: StringConstructor;
2127
+ default: string;
2128
+ };
2129
+ isDateDisabled: {
2130
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2131
+ };
2132
+ }>> & {
2133
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2134
+ }, {
2135
+ type: string;
2136
+ updateUnchangedValue: boolean;
2137
+ to: string | false | HTMLElement;
2138
+ holidays: Date[];
2139
+ }>>;
2140
+ NSelect: any;
2141
+ NInputNumber: any;
2142
+ }, 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<{
2143
+ filterType: {
2144
+ type: StringConstructor;
2145
+ required: true;
2146
+ };
2147
+ modelValue: {
2148
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
2149
+ default: null;
2150
+ };
2151
+ presetVal: {
2152
+ type: StringConstructor;
2153
+ default: null;
2154
+ };
2155
+ dateType: {
2156
+ type: StringConstructor;
2157
+ };
2158
+ isDateDisabled: {
2159
+ type: FunctionConstructor;
2160
+ };
2161
+ timeDisabled: {
2162
+ type: FunctionConstructor;
2163
+ };
2164
+ valueFormat: {
2165
+ type: StringConstructor;
2166
+ };
2167
+ }>> & {
2168
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2169
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
2170
+ }, {
2171
+ modelValue: string | number | unknown[];
2172
+ presetVal: string;
2173
+ }>;
1686
2174
  WidgetValEnums: {
1687
2175
  CUSTOM: string;
1688
2176
  FIRST_VAL: string;
@@ -1715,6 +2203,10 @@ declare const _default: import("vue").DefineComponent<{
1715
2203
  LAST_YEAR: string;
1716
2204
  };
1717
2205
  }, 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<{
2206
+ item: {
2207
+ type: ObjectConstructor;
2208
+ required: true;
2209
+ };
1718
2210
  paramCfg: {
1719
2211
  type: ObjectConstructor;
1720
2212
  default: null;
@@ -1867,6 +2359,10 @@ declare const _default: import("vue").DefineComponent<{
1867
2359
  SELECTTREEDYNAMIC: string;
1868
2360
  };
1869
2361
  }, 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<{
2362
+ item: {
2363
+ type: ObjectConstructor;
2364
+ default: null;
2365
+ };
1870
2366
  paramCfg: {
1871
2367
  type: ObjectConstructor;
1872
2368
  default: null;
@@ -1893,6 +2389,7 @@ declare const _default: import("vue").DefineComponent<{
1893
2389
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
1894
2390
  }, {
1895
2391
  modelValue: string | number | unknown[];
2392
+ item: Record<string, any>;
1896
2393
  paramCfg: Record<string, any>;
1897
2394
  presetVal: string;
1898
2395
  isAccurate: boolean;
@@ -1901,11 +2398,19 @@ declare const _default: import("vue").DefineComponent<{
1901
2398
  ConditionEnums: {
1902
2399
  NULL: string;
1903
2400
  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
+ IN_THE_PAST: string;
2410
+ IN_THE_FUTURE: string;
2411
+ IN_THE_PAST_DI: string;
2412
+ IN_THE_FUTURE_DI: string;
1904
2413
  };
1905
- conditionOptions: {
1906
- label: string;
1907
- value: string;
1908
- }[];
1909
2414
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1910
2415
  actionList_prop: {
1911
2416
  type: PropType<IClassifyListType>;
@@ -50,7 +50,8 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
50
50
  function drwaPainScaleValue(item) {
51
51
  const {
52
52
  list: listItem = [],
53
- spaceGridNumber = 5,
53
+ spaceGridNumber = 1,
54
+ numberVerticalPosition = "bottom",
54
55
  showScale,
55
56
  showNumber,
56
57
  position,
@@ -84,7 +85,7 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
84
85
  const listLen = listItem.length;
85
86
  listItem.forEach((v, i) => {
86
87
  let top = painOriginY.endY - i * yCellHeight * spaceGridNumber;
87
- if (i === 0 && painSurplusCell[1] === 0) {
88
+ if (i === 0 && painSurplusCell[1] === 0 && (spaceGridNumber == 1 || numberVerticalPosition === "bottom")) {
88
89
  top = endY - 5;
89
90
  }
90
91
  const isMaxMinNumber = i === 0 || i === listLen - 1;
@@ -227,9 +227,10 @@ function useTemperatureChart(canvas, props, emits, canvasRef, pointTipProps, poi
227
227
  if (!painItem)
228
228
  return 0;
229
229
  const {
230
- numberVerticalPosition = "bottom"
230
+ numberVerticalPosition = "bottom",
231
+ spaceGridNumber = 1
231
232
  } = painItem;
232
- return numberVerticalPosition === "center" ? yCellHeight.value / 2 : 0;
233
+ return numberVerticalPosition === "center" ? yCellHeight.value * spaceGridNumber / 2 : 0;
233
234
  });
234
235
  const painIndex = computed(() => {
235
236
  const {