cnhis-design-vue 3.3.3-release.12 → 3.3.3-release.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/button-print/index.d.ts +60 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +60 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +33 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +30 -4
- package/es/components/button-print/src/utils/print.d.ts +6 -4
- package/es/components/button-print/src/utils/print.js +176 -4
- package/es/components/calendar/src/Calendar.vue2.js +15 -5
- package/es/components/classification/index.d.ts +500 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +500 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +500 -5
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +500 -5
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/date.js +12 -10
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-chat/index.d.ts +41 -50
- package/es/components/iho-chat/src/Index.vue.d.ts +41 -50
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +6 -2
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +29 -28
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +239 -94
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -24
- package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +54 -10
- package/es/components/iho-chat/src/hooks/useVideo.js +420 -44
- package/es/components/iho-chat/src/utils/index.d.ts +1 -0
- package/es/components/iho-chat/src/utils/index.js +7 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +2 -1
- package/es/components/keyboard/index.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
- package/es/components/keyboard/src/types.d.ts +17 -0
- package/es/components/keyboard/src/types.js +1 -0
- package/es/components/scale-view/index.d.ts +13 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +8 -1
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +490 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +238 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +239 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +51 -8
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +477 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +49 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +500 -5
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +13 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +23 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
- package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
- package/es/components/table-filter/src/tool/baseOptions.js +8 -1
- package/es/components/table-filter/src/types/enums.d.ts +4 -0
- package/es/components/table-filter/src/types/enums.js +5 -1
- package/es/components/vertify/index.d.ts +1 -0
- package/es/components/vertify/index.js +1 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
- package/es/components/vertify/src/utils/dialog.d.ts +7 -0
- package/es/components/vertify/src/utils/dialog.js +73 -0
- package/es/components/vertify/src/utils/index.d.ts +11 -0
- package/es/components/vertify/src/utils/index.js +24 -0
- package/es/components/vod-chunk-upload/index.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
- package/es/components/vod-chunk-upload/style/index.css +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +2 -2
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +4 -4
@@ -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>;
|
@@ -701,6 +702,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
701
702
|
getParamCfg: (key: string) => any;
|
702
703
|
initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
703
704
|
getRawFilterConditions: () => any[];
|
705
|
+
dateTypeList: string[];
|
706
|
+
getOptions: (key: string) => {
|
707
|
+
label: string;
|
708
|
+
value: string;
|
709
|
+
}[];
|
704
710
|
handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
705
711
|
handleDisplayCategoryAddState: () => void;
|
706
712
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
@@ -721,6 +727,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
721
727
|
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
728
|
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
729
|
ValueCfg: import("vue").DefineComponent<{
|
730
|
+
item: {
|
731
|
+
type: ObjectConstructor;
|
732
|
+
default: null;
|
733
|
+
};
|
724
734
|
paramCfg: {
|
725
735
|
type: ObjectConstructor;
|
726
736
|
default: null;
|
@@ -742,6 +752,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
742
752
|
};
|
743
753
|
}, {
|
744
754
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
755
|
+
item: {
|
756
|
+
type: ObjectConstructor;
|
757
|
+
default: null;
|
758
|
+
};
|
745
759
|
paramCfg: {
|
746
760
|
type: ObjectConstructor;
|
747
761
|
default: null;
|
@@ -777,6 +791,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
777
791
|
componentCfg: {
|
778
792
|
type: ObjectConstructor;
|
779
793
|
};
|
794
|
+
item: {
|
795
|
+
type: ObjectConstructor;
|
796
|
+
required: true;
|
797
|
+
};
|
780
798
|
paramCfg: {
|
781
799
|
type: ObjectConstructor;
|
782
800
|
default: null;
|
@@ -798,6 +816,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
798
816
|
componentCfg: {
|
799
817
|
type: ObjectConstructor;
|
800
818
|
};
|
819
|
+
item: {
|
820
|
+
type: ObjectConstructor;
|
821
|
+
required: true;
|
822
|
+
};
|
801
823
|
paramCfg: {
|
802
824
|
type: ObjectConstructor;
|
803
825
|
default: null;
|
@@ -820,6 +842,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
820
842
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
821
843
|
}>>;
|
822
844
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
845
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
823
846
|
valueCp: import("vue").WritableComputedRef<any>;
|
824
847
|
presetValCp: import("vue").WritableComputedRef<string>;
|
825
848
|
dateType: any;
|
@@ -966,6 +989,231 @@ declare const _default: import("vue").DefineComponent<{
|
|
966
989
|
holidays: Date[];
|
967
990
|
}>>;
|
968
991
|
NSelect: any;
|
992
|
+
DateOption: import("vue").DefineComponent<{
|
993
|
+
filterType: {
|
994
|
+
type: StringConstructor;
|
995
|
+
required: true;
|
996
|
+
};
|
997
|
+
modelValue: {
|
998
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
999
|
+
default: null;
|
1000
|
+
};
|
1001
|
+
presetVal: {
|
1002
|
+
type: StringConstructor;
|
1003
|
+
default: null;
|
1004
|
+
};
|
1005
|
+
dateType: {
|
1006
|
+
type: StringConstructor;
|
1007
|
+
};
|
1008
|
+
isDateDisabled: {
|
1009
|
+
type: FunctionConstructor;
|
1010
|
+
};
|
1011
|
+
timeDisabled: {
|
1012
|
+
type: FunctionConstructor;
|
1013
|
+
};
|
1014
|
+
valueFormat: {
|
1015
|
+
type: StringConstructor;
|
1016
|
+
};
|
1017
|
+
}, {
|
1018
|
+
widgetOptions: {
|
1019
|
+
label: string;
|
1020
|
+
value: string;
|
1021
|
+
}[];
|
1022
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1023
|
+
filterType: {
|
1024
|
+
type: StringConstructor;
|
1025
|
+
required: true;
|
1026
|
+
};
|
1027
|
+
modelValue: {
|
1028
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1029
|
+
default: null;
|
1030
|
+
};
|
1031
|
+
presetVal: {
|
1032
|
+
type: StringConstructor;
|
1033
|
+
default: null;
|
1034
|
+
};
|
1035
|
+
dateType: {
|
1036
|
+
type: StringConstructor;
|
1037
|
+
};
|
1038
|
+
isDateDisabled: {
|
1039
|
+
type: FunctionConstructor;
|
1040
|
+
};
|
1041
|
+
timeDisabled: {
|
1042
|
+
type: FunctionConstructor;
|
1043
|
+
};
|
1044
|
+
valueFormat: {
|
1045
|
+
type: StringConstructor;
|
1046
|
+
};
|
1047
|
+
}>> & {
|
1048
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1049
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1050
|
+
}>>;
|
1051
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1052
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
1053
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
1054
|
+
CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
1055
|
+
updateUnchangedValue: {
|
1056
|
+
type: BooleanConstructor;
|
1057
|
+
};
|
1058
|
+
onConfirm: {
|
1059
|
+
type: FunctionConstructor;
|
1060
|
+
};
|
1061
|
+
formattedValue: {
|
1062
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
1063
|
+
};
|
1064
|
+
placeholder: {
|
1065
|
+
type: StringConstructor;
|
1066
|
+
};
|
1067
|
+
allowedInvalidValue: {
|
1068
|
+
type: StringConstructor;
|
1069
|
+
};
|
1070
|
+
to: {
|
1071
|
+
type: PropType<string | false | HTMLElement>;
|
1072
|
+
default: string;
|
1073
|
+
};
|
1074
|
+
holidays: {
|
1075
|
+
type: PropType<Date[]>;
|
1076
|
+
default: () => never[];
|
1077
|
+
};
|
1078
|
+
type: {
|
1079
|
+
type: StringConstructor;
|
1080
|
+
default: string;
|
1081
|
+
};
|
1082
|
+
isDateDisabled: {
|
1083
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1084
|
+
};
|
1085
|
+
}, {
|
1086
|
+
attrs: {
|
1087
|
+
[x: string]: unknown;
|
1088
|
+
};
|
1089
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1090
|
+
updateUnchangedValue: {
|
1091
|
+
type: BooleanConstructor;
|
1092
|
+
};
|
1093
|
+
onConfirm: {
|
1094
|
+
type: FunctionConstructor;
|
1095
|
+
};
|
1096
|
+
formattedValue: {
|
1097
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
1098
|
+
};
|
1099
|
+
placeholder: {
|
1100
|
+
type: StringConstructor;
|
1101
|
+
};
|
1102
|
+
allowedInvalidValue: {
|
1103
|
+
type: StringConstructor;
|
1104
|
+
};
|
1105
|
+
to: {
|
1106
|
+
type: PropType<string | false | HTMLElement>;
|
1107
|
+
default: string;
|
1108
|
+
};
|
1109
|
+
holidays: {
|
1110
|
+
type: PropType<Date[]>;
|
1111
|
+
default: () => never[];
|
1112
|
+
};
|
1113
|
+
type: {
|
1114
|
+
type: StringConstructor;
|
1115
|
+
default: string;
|
1116
|
+
};
|
1117
|
+
isDateDisabled: {
|
1118
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1119
|
+
};
|
1120
|
+
}>> & {
|
1121
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1122
|
+
}>>;
|
1123
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
1124
|
+
datePickerRef: import("vue").Ref<AnyObject | null>;
|
1125
|
+
panelInstRef: import("vue").Ref<null>;
|
1126
|
+
placeholderRef: import("vue").Ref<any>;
|
1127
|
+
oldValue: string;
|
1128
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
1129
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
1130
|
+
formatRef: import("vue").ComputedRef<string>;
|
1131
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1132
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1133
|
+
focus: () => any;
|
1134
|
+
blur: () => any;
|
1135
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
1136
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
1137
|
+
watchers: import("../../../shared/types").AnyFn[];
|
1138
|
+
stopWatcher: () => void;
|
1139
|
+
setHoliday: (show: boolean) => Promise<void>;
|
1140
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
1141
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
1142
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
1143
|
+
NDatePicker: any;
|
1144
|
+
}, 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<{
|
1145
|
+
updateUnchangedValue: {
|
1146
|
+
type: BooleanConstructor;
|
1147
|
+
};
|
1148
|
+
onConfirm: {
|
1149
|
+
type: FunctionConstructor;
|
1150
|
+
};
|
1151
|
+
formattedValue: {
|
1152
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
1153
|
+
};
|
1154
|
+
placeholder: {
|
1155
|
+
type: StringConstructor;
|
1156
|
+
};
|
1157
|
+
allowedInvalidValue: {
|
1158
|
+
type: StringConstructor;
|
1159
|
+
};
|
1160
|
+
to: {
|
1161
|
+
type: PropType<string | false | HTMLElement>;
|
1162
|
+
default: string;
|
1163
|
+
};
|
1164
|
+
holidays: {
|
1165
|
+
type: PropType<Date[]>;
|
1166
|
+
default: () => never[];
|
1167
|
+
};
|
1168
|
+
type: {
|
1169
|
+
type: StringConstructor;
|
1170
|
+
default: string;
|
1171
|
+
};
|
1172
|
+
isDateDisabled: {
|
1173
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1174
|
+
};
|
1175
|
+
}>> & {
|
1176
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1177
|
+
}, {
|
1178
|
+
type: string;
|
1179
|
+
updateUnchangedValue: boolean;
|
1180
|
+
to: string | false | HTMLElement;
|
1181
|
+
holidays: Date[];
|
1182
|
+
}>>;
|
1183
|
+
NSelect: any;
|
1184
|
+
NInputNumber: any;
|
1185
|
+
}, 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<{
|
1186
|
+
filterType: {
|
1187
|
+
type: StringConstructor;
|
1188
|
+
required: true;
|
1189
|
+
};
|
1190
|
+
modelValue: {
|
1191
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1192
|
+
default: null;
|
1193
|
+
};
|
1194
|
+
presetVal: {
|
1195
|
+
type: StringConstructor;
|
1196
|
+
default: null;
|
1197
|
+
};
|
1198
|
+
dateType: {
|
1199
|
+
type: StringConstructor;
|
1200
|
+
};
|
1201
|
+
isDateDisabled: {
|
1202
|
+
type: FunctionConstructor;
|
1203
|
+
};
|
1204
|
+
timeDisabled: {
|
1205
|
+
type: FunctionConstructor;
|
1206
|
+
};
|
1207
|
+
valueFormat: {
|
1208
|
+
type: StringConstructor;
|
1209
|
+
};
|
1210
|
+
}>> & {
|
1211
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1212
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1213
|
+
}, {
|
1214
|
+
modelValue: string | number | unknown[];
|
1215
|
+
presetVal: string;
|
1216
|
+
}>;
|
969
1217
|
WidgetValEnums: {
|
970
1218
|
CUSTOM: string;
|
971
1219
|
FIRST_VAL: string;
|
@@ -1001,6 +1249,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1001
1249
|
componentCfg: {
|
1002
1250
|
type: ObjectConstructor;
|
1003
1251
|
};
|
1252
|
+
item: {
|
1253
|
+
type: ObjectConstructor;
|
1254
|
+
required: true;
|
1255
|
+
};
|
1004
1256
|
paramCfg: {
|
1005
1257
|
type: ObjectConstructor;
|
1006
1258
|
default: null;
|
@@ -1478,6 +1730,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1478
1730
|
paramCfg: Record<string, any>;
|
1479
1731
|
}>;
|
1480
1732
|
DateRange: import("vue").DefineComponent<{
|
1733
|
+
item: {
|
1734
|
+
type: ObjectConstructor;
|
1735
|
+
required: true;
|
1736
|
+
};
|
1481
1737
|
paramCfg: {
|
1482
1738
|
type: ObjectConstructor;
|
1483
1739
|
default: null;
|
@@ -1496,6 +1752,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1496
1752
|
};
|
1497
1753
|
}, {
|
1498
1754
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1755
|
+
item: {
|
1756
|
+
type: ObjectConstructor;
|
1757
|
+
required: true;
|
1758
|
+
};
|
1499
1759
|
paramCfg: {
|
1500
1760
|
type: ObjectConstructor;
|
1501
1761
|
default: null;
|
@@ -1520,6 +1780,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1520
1780
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
1521
1781
|
startDate: import("vue").Ref<any>;
|
1522
1782
|
endDate: import("vue").Ref<any>;
|
1783
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
1523
1784
|
valueFormat: import("vue").ComputedRef<string>;
|
1524
1785
|
dateFormat: import("vue").ComputedRef<string>;
|
1525
1786
|
compType: import("vue").ComputedRef<any>;
|
@@ -1538,7 +1799,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1538
1799
|
value: string;
|
1539
1800
|
}[]>;
|
1540
1801
|
presetValCp: import("vue").WritableComputedRef<string>;
|
1541
|
-
|
1802
|
+
valueDateCp: import("vue").WritableComputedRef<unknown>;
|
1542
1803
|
handleChange: (val: any, type: "start" | "end") => void;
|
1543
1804
|
isStartDateDisabled: (ts: number) => boolean;
|
1544
1805
|
timeStartDisabled: (ts: number) => {
|
@@ -1683,6 +1944,231 @@ declare const _default: import("vue").DefineComponent<{
|
|
1683
1944
|
to: string | false | HTMLElement;
|
1684
1945
|
holidays: Date[];
|
1685
1946
|
}>>;
|
1947
|
+
DateOption: import("vue").DefineComponent<{
|
1948
|
+
filterType: {
|
1949
|
+
type: StringConstructor;
|
1950
|
+
required: true;
|
1951
|
+
};
|
1952
|
+
modelValue: {
|
1953
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1954
|
+
default: null;
|
1955
|
+
};
|
1956
|
+
presetVal: {
|
1957
|
+
type: StringConstructor;
|
1958
|
+
default: null;
|
1959
|
+
};
|
1960
|
+
dateType: {
|
1961
|
+
type: StringConstructor;
|
1962
|
+
};
|
1963
|
+
isDateDisabled: {
|
1964
|
+
type: FunctionConstructor;
|
1965
|
+
};
|
1966
|
+
timeDisabled: {
|
1967
|
+
type: FunctionConstructor;
|
1968
|
+
};
|
1969
|
+
valueFormat: {
|
1970
|
+
type: StringConstructor;
|
1971
|
+
};
|
1972
|
+
}, {
|
1973
|
+
widgetOptions: {
|
1974
|
+
label: string;
|
1975
|
+
value: string;
|
1976
|
+
}[];
|
1977
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1978
|
+
filterType: {
|
1979
|
+
type: StringConstructor;
|
1980
|
+
required: true;
|
1981
|
+
};
|
1982
|
+
modelValue: {
|
1983
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
1984
|
+
default: null;
|
1985
|
+
};
|
1986
|
+
presetVal: {
|
1987
|
+
type: StringConstructor;
|
1988
|
+
default: null;
|
1989
|
+
};
|
1990
|
+
dateType: {
|
1991
|
+
type: StringConstructor;
|
1992
|
+
};
|
1993
|
+
isDateDisabled: {
|
1994
|
+
type: FunctionConstructor;
|
1995
|
+
};
|
1996
|
+
timeDisabled: {
|
1997
|
+
type: FunctionConstructor;
|
1998
|
+
};
|
1999
|
+
valueFormat: {
|
2000
|
+
type: StringConstructor;
|
2001
|
+
};
|
2002
|
+
}>> & {
|
2003
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
2004
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
2005
|
+
}>>;
|
2006
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
2007
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
2008
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
2009
|
+
CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
2010
|
+
updateUnchangedValue: {
|
2011
|
+
type: BooleanConstructor;
|
2012
|
+
};
|
2013
|
+
onConfirm: {
|
2014
|
+
type: FunctionConstructor;
|
2015
|
+
};
|
2016
|
+
formattedValue: {
|
2017
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
2018
|
+
};
|
2019
|
+
placeholder: {
|
2020
|
+
type: StringConstructor;
|
2021
|
+
};
|
2022
|
+
allowedInvalidValue: {
|
2023
|
+
type: StringConstructor;
|
2024
|
+
};
|
2025
|
+
to: {
|
2026
|
+
type: PropType<string | false | HTMLElement>;
|
2027
|
+
default: string;
|
2028
|
+
};
|
2029
|
+
holidays: {
|
2030
|
+
type: PropType<Date[]>;
|
2031
|
+
default: () => never[];
|
2032
|
+
};
|
2033
|
+
type: {
|
2034
|
+
type: StringConstructor;
|
2035
|
+
default: string;
|
2036
|
+
};
|
2037
|
+
isDateDisabled: {
|
2038
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2039
|
+
};
|
2040
|
+
}, {
|
2041
|
+
attrs: {
|
2042
|
+
[x: string]: unknown;
|
2043
|
+
};
|
2044
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
2045
|
+
updateUnchangedValue: {
|
2046
|
+
type: BooleanConstructor;
|
2047
|
+
};
|
2048
|
+
onConfirm: {
|
2049
|
+
type: FunctionConstructor;
|
2050
|
+
};
|
2051
|
+
formattedValue: {
|
2052
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
2053
|
+
};
|
2054
|
+
placeholder: {
|
2055
|
+
type: StringConstructor;
|
2056
|
+
};
|
2057
|
+
allowedInvalidValue: {
|
2058
|
+
type: StringConstructor;
|
2059
|
+
};
|
2060
|
+
to: {
|
2061
|
+
type: PropType<string | false | HTMLElement>;
|
2062
|
+
default: string;
|
2063
|
+
};
|
2064
|
+
holidays: {
|
2065
|
+
type: PropType<Date[]>;
|
2066
|
+
default: () => never[];
|
2067
|
+
};
|
2068
|
+
type: {
|
2069
|
+
type: StringConstructor;
|
2070
|
+
default: string;
|
2071
|
+
};
|
2072
|
+
isDateDisabled: {
|
2073
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2074
|
+
};
|
2075
|
+
}>> & {
|
2076
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
2077
|
+
}>>;
|
2078
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
2079
|
+
datePickerRef: import("vue").Ref<AnyObject | null>;
|
2080
|
+
panelInstRef: import("vue").Ref<null>;
|
2081
|
+
placeholderRef: import("vue").Ref<any>;
|
2082
|
+
oldValue: string;
|
2083
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
2084
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
2085
|
+
formatRef: import("vue").ComputedRef<string>;
|
2086
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
2087
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
2088
|
+
focus: () => any;
|
2089
|
+
blur: () => any;
|
2090
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
2091
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
2092
|
+
watchers: import("../../../shared/types").AnyFn[];
|
2093
|
+
stopWatcher: () => void;
|
2094
|
+
setHoliday: (show: boolean) => Promise<void>;
|
2095
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
2096
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
2097
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
2098
|
+
NDatePicker: any;
|
2099
|
+
}, 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<{
|
2100
|
+
updateUnchangedValue: {
|
2101
|
+
type: BooleanConstructor;
|
2102
|
+
};
|
2103
|
+
onConfirm: {
|
2104
|
+
type: FunctionConstructor;
|
2105
|
+
};
|
2106
|
+
formattedValue: {
|
2107
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
2108
|
+
};
|
2109
|
+
placeholder: {
|
2110
|
+
type: StringConstructor;
|
2111
|
+
};
|
2112
|
+
allowedInvalidValue: {
|
2113
|
+
type: StringConstructor;
|
2114
|
+
};
|
2115
|
+
to: {
|
2116
|
+
type: PropType<string | false | HTMLElement>;
|
2117
|
+
default: string;
|
2118
|
+
};
|
2119
|
+
holidays: {
|
2120
|
+
type: PropType<Date[]>;
|
2121
|
+
default: () => never[];
|
2122
|
+
};
|
2123
|
+
type: {
|
2124
|
+
type: StringConstructor;
|
2125
|
+
default: string;
|
2126
|
+
};
|
2127
|
+
isDateDisabled: {
|
2128
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
2129
|
+
};
|
2130
|
+
}>> & {
|
2131
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
2132
|
+
}, {
|
2133
|
+
type: string;
|
2134
|
+
updateUnchangedValue: boolean;
|
2135
|
+
to: string | false | HTMLElement;
|
2136
|
+
holidays: Date[];
|
2137
|
+
}>>;
|
2138
|
+
NSelect: any;
|
2139
|
+
NInputNumber: any;
|
2140
|
+
}, 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<{
|
2141
|
+
filterType: {
|
2142
|
+
type: StringConstructor;
|
2143
|
+
required: true;
|
2144
|
+
};
|
2145
|
+
modelValue: {
|
2146
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
2147
|
+
default: null;
|
2148
|
+
};
|
2149
|
+
presetVal: {
|
2150
|
+
type: StringConstructor;
|
2151
|
+
default: null;
|
2152
|
+
};
|
2153
|
+
dateType: {
|
2154
|
+
type: StringConstructor;
|
2155
|
+
};
|
2156
|
+
isDateDisabled: {
|
2157
|
+
type: FunctionConstructor;
|
2158
|
+
};
|
2159
|
+
timeDisabled: {
|
2160
|
+
type: FunctionConstructor;
|
2161
|
+
};
|
2162
|
+
valueFormat: {
|
2163
|
+
type: StringConstructor;
|
2164
|
+
};
|
2165
|
+
}>> & {
|
2166
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
2167
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
2168
|
+
}, {
|
2169
|
+
modelValue: string | number | unknown[];
|
2170
|
+
presetVal: string;
|
2171
|
+
}>;
|
1686
2172
|
WidgetValEnums: {
|
1687
2173
|
CUSTOM: string;
|
1688
2174
|
FIRST_VAL: string;
|
@@ -1715,6 +2201,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1715
2201
|
LAST_YEAR: string;
|
1716
2202
|
};
|
1717
2203
|
}, 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<{
|
2204
|
+
item: {
|
2205
|
+
type: ObjectConstructor;
|
2206
|
+
required: true;
|
2207
|
+
};
|
1718
2208
|
paramCfg: {
|
1719
2209
|
type: ObjectConstructor;
|
1720
2210
|
default: null;
|
@@ -1867,6 +2357,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
1867
2357
|
SELECTTREEDYNAMIC: string;
|
1868
2358
|
};
|
1869
2359
|
}, 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<{
|
2360
|
+
item: {
|
2361
|
+
type: ObjectConstructor;
|
2362
|
+
default: null;
|
2363
|
+
};
|
1870
2364
|
paramCfg: {
|
1871
2365
|
type: ObjectConstructor;
|
1872
2366
|
default: null;
|
@@ -1893,6 +2387,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1893
2387
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1894
2388
|
}, {
|
1895
2389
|
modelValue: string | number | unknown[];
|
2390
|
+
item: Record<string, any>;
|
1896
2391
|
paramCfg: Record<string, any>;
|
1897
2392
|
presetVal: string;
|
1898
2393
|
isAccurate: boolean;
|
@@ -1901,11 +2396,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
1901
2396
|
ConditionEnums: {
|
1902
2397
|
NULL: string;
|
1903
2398
|
EQUAL: string;
|
2399
|
+
IN_THE_PAST: string;
|
2400
|
+
IN_THE_FUTURE: string;
|
2401
|
+
IN_THE_PAST_DI: string;
|
2402
|
+
IN_THE_FUTURE_DI: string;
|
1904
2403
|
};
|
1905
|
-
conditionOptions: {
|
1906
|
-
label: string;
|
1907
|
-
value: string;
|
1908
|
-
}[];
|
1909
2404
|
}, 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
2405
|
actionList_prop: {
|
1911
2406
|
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 =
|
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;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { fabric } from '../../../../../shared/utils/fabricjs';
|
3
3
|
import { IPropItems, IObject } from '../../../../../components/fabric-chart/src/interface';
|
4
|
-
export declare function useOther(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: Function, computedX: Function, computedY: Function, fixedNoRisePoints: Set<IObject
|
4
|
+
export declare function useOther(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: Function, computedX: Function, computedY: Function, fixedNoRisePoints: Set<IObject>, getXValue: Function): void;
|