cnhis-design-vue 3.3.3-beta.74 → 3.3.3-beta.75
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/classification/index.d.ts +16 -258
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +16 -258
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +16 -258
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +16 -258
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/info-header/index.d.ts +9 -17
- package/es/components/info-header/src/InfoHeader.vue.d.ts +9 -17
- package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +9 -17
- package/es/components/info-header/src/constants/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
- package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/utils/index.js +3 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -258
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +7 -129
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +107 -13
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +7 -129
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +7 -129
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +2 -8
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -258
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +26 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -258
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +3 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +16 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +1 -0
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -3
@@ -628,6 +628,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
628
628
|
class: string;
|
629
629
|
};
|
630
630
|
specialDateRange: string[];
|
631
|
+
specialCustomDateRange: string[];
|
631
632
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
632
633
|
actionList_prop: {
|
633
634
|
type: PropType<IClassifyListType>;
|
@@ -1019,6 +1020,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
1019
1020
|
label: string;
|
1020
1021
|
value: string;
|
1021
1022
|
}[];
|
1023
|
+
widgetRangeOptions: {
|
1024
|
+
label: string;
|
1025
|
+
value: string;
|
1026
|
+
}[];
|
1027
|
+
startDateNum: import("vue").Ref<any>;
|
1028
|
+
endDateNum: import("vue").Ref<any>;
|
1022
1029
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1023
1030
|
filterType: {
|
1024
1031
|
type: StringConstructor;
|
@@ -1051,135 +1058,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1051
1058
|
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1052
1059
|
valueCp: import("vue").WritableComputedRef<any>;
|
1053
1060
|
presetValCp: import("vue").WritableComputedRef<string>;
|
1054
|
-
|
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
|
-
}>>;
|
1061
|
+
handleChange: (val: any, type: "start" | "end") => void;
|
1183
1062
|
NSelect: any;
|
1184
1063
|
NInputNumber: any;
|
1185
1064
|
}, 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<{
|
@@ -1974,6 +1853,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
1974
1853
|
label: string;
|
1975
1854
|
value: string;
|
1976
1855
|
}[];
|
1856
|
+
widgetRangeOptions: {
|
1857
|
+
label: string;
|
1858
|
+
value: string;
|
1859
|
+
}[];
|
1860
|
+
startDateNum: import("vue").Ref<any>;
|
1861
|
+
endDateNum: import("vue").Ref<any>;
|
1977
1862
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1978
1863
|
filterType: {
|
1979
1864
|
type: StringConstructor;
|
@@ -2006,135 +1891,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
2006
1891
|
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
2007
1892
|
valueCp: import("vue").WritableComputedRef<any>;
|
2008
1893
|
presetValCp: import("vue").WritableComputedRef<string>;
|
2009
|
-
|
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
|
-
}>>;
|
1894
|
+
handleChange: (val: any, type: "start" | "end") => void;
|
2138
1895
|
NSelect: any;
|
2139
1896
|
NInputNumber: any;
|
2140
1897
|
}, 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<{
|
@@ -2396,6 +2153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
2396
2153
|
ConditionEnums: {
|
2397
2154
|
NULL: string;
|
2398
2155
|
EQUAL: string;
|
2156
|
+
CUSTOM_RANGE: string;
|
2399
2157
|
IN_THE_PAST: string;
|
2400
2158
|
IN_THE_FUTURE: string;
|
2401
2159
|
IN_THE_PAST_DI: string;
|
@@ -603,7 +603,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
603
603
|
}, {
|
604
604
|
default: withCtx(() => [!unref(isAudioOrVideoMessage)(item.content) ? (openBlock(), createElementBlock(Fragment, {
|
605
605
|
key: 0
|
606
|
-
}, [createCommentVNode(' <n-button\
|
606
|
+
}, [createCommentVNode(' <n-button\n quaternary\n size="tiny"\n @click="(event: MouseEvent) => handleSelectLabel(event, item.id)"\n >\n <template #icon>\n <n-icon size="17" :component="HappyOutline" />\n </template>\n </n-button> '), createVNode(unref(NButton), {
|
607
607
|
quaternary: "",
|
608
608
|
size: "tiny",
|
609
609
|
onClick: () => setReferenceMsg(item)
|
@@ -225,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
225
225
|
round: "",
|
226
226
|
size: 100,
|
227
227
|
onClickCapture: _cache[0] || (_cache[0] = ($event) => showLargeAvatar.value = true)
|
228
|
-
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\
|
228
|
+
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\n <n-upload-trigger #="{ handleClick }" abstract>\n <n-button\n circle\n secondary\n class="edit-avatar"\n v-show="userDetail.id === state.userInfo.id"\n @click="handleClick"\n >\n <template #icon>\n <n-icon size="16" color="#666666" :component="Camera" />\n </template>\n </n-button>\n </n-upload-trigger>\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
|
229
229
|
class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(userDetail.roleInfo) ? "isDoctor" : ""])
|
230
230
|
}, toDisplayString(unref(getRoleName)(userDetail.roleInfo)), 3), [[vShow, unref(getRoleName)(userDetail.roleInfo)]])]), createElementVNode("p", null, toDisplayString(userDetail.orgName), 1)]), createVNode(unref(NButton), {
|
231
231
|
strong: "",
|
@@ -438,7 +438,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
438
438
|
};
|
439
439
|
encrypted: {
|
440
440
|
type: BooleanConstructor;
|
441
|
-
required:
|
441
|
+
required: false;
|
442
442
|
};
|
443
443
|
}, {
|
444
444
|
props: {
|
@@ -566,10 +566,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
566
566
|
linebreaksToTitle: boolean;
|
567
567
|
dialogFn: any;
|
568
568
|
}>>;
|
569
|
-
encrypted
|
569
|
+
encrypted?: boolean | undefined;
|
570
570
|
};
|
571
571
|
themeOverrides: import("naive-ui").GlobalThemeOverrides;
|
572
|
-
globEmit: ((eventName:
|
572
|
+
globEmit: ((eventName: "openPatientInfo" | "fieldSet" | "update:compact" | "formChange", ...payload: any[]) => void) | undefined;
|
573
573
|
hasForm: import("vue").ComputedRef<boolean>;
|
574
574
|
initialData: import("vue").ComputedRef<Record<string, any>>;
|
575
575
|
onFormChange: (payload: import("..").FormChangePayload) => void;
|
@@ -577,17 +577,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
577
577
|
columnNum: import("vue").Ref<number>;
|
578
578
|
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
579
579
|
maxColumnWidth: import("vue").Ref<number>;
|
580
|
-
descriptionWidthList: import("vue").Ref<
|
581
|
-
toString: (radix?: number | undefined) => string;
|
582
|
-
toFixed: (fractionDigits?: number | undefined) => string;
|
583
|
-
toExponential: (fractionDigits?: number | undefined) => string;
|
584
|
-
toPrecision: (precision?: number | undefined) => string;
|
585
|
-
valueOf: () => number;
|
586
|
-
toLocaleString: {
|
587
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
588
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
589
|
-
};
|
590
|
-
}[]>;
|
580
|
+
descriptionWidthList: import("vue").Ref<number[]>;
|
591
581
|
updateColumn: () => Promise<void>;
|
592
582
|
timer: any;
|
593
583
|
stopInterval: () => void;
|
@@ -630,7 +620,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
630
620
|
};
|
631
621
|
encrypted: {
|
632
622
|
type: BooleanConstructor;
|
633
|
-
required:
|
623
|
+
required: false;
|
634
624
|
};
|
635
625
|
}, {
|
636
626
|
descriptionStyle: {
|
@@ -1155,12 +1145,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
1155
1145
|
};
|
1156
1146
|
encrypted: {
|
1157
1147
|
type: BooleanConstructor;
|
1158
|
-
required:
|
1148
|
+
required: false;
|
1159
1149
|
};
|
1160
1150
|
}>>, {
|
1161
1151
|
infoList: unknown[];
|
1162
1152
|
labelField: string;
|
1163
1153
|
valueField: string;
|
1154
|
+
encrypted: boolean;
|
1164
1155
|
descriptionWidthList: unknown[];
|
1165
1156
|
columnNum: number;
|
1166
1157
|
inForm: boolean;
|
@@ -2230,7 +2221,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
2230
2221
|
};
|
2231
2222
|
encrypted: {
|
2232
2223
|
type: BooleanConstructor;
|
2233
|
-
required:
|
2224
|
+
required: false;
|
2234
2225
|
};
|
2235
2226
|
}>>, {
|
2236
2227
|
infoList: unknown[];
|
@@ -2238,6 +2229,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
2238
2229
|
valueField: string;
|
2239
2230
|
minColumnWidth: string | number;
|
2240
2231
|
formProps: Record<string, any>;
|
2232
|
+
encrypted: boolean;
|
2241
2233
|
}>;
|
2242
2234
|
PatientInfo: import("vue").DefineComponent<{
|
2243
2235
|
patientInfo: {
|
@@ -432,7 +432,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
432
432
|
};
|
433
433
|
encrypted: {
|
434
434
|
type: BooleanConstructor;
|
435
|
-
required:
|
435
|
+
required: false;
|
436
436
|
};
|
437
437
|
}, {
|
438
438
|
props: {
|
@@ -560,10 +560,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
560
560
|
linebreaksToTitle: boolean;
|
561
561
|
dialogFn: any;
|
562
562
|
}>>;
|
563
|
-
encrypted
|
563
|
+
encrypted?: boolean | undefined;
|
564
564
|
};
|
565
565
|
themeOverrides: import("naive-ui").GlobalThemeOverrides;
|
566
|
-
globEmit: ((eventName:
|
566
|
+
globEmit: ((eventName: "openPatientInfo" | "fieldSet" | "update:compact" | "formChange", ...payload: any[]) => void) | undefined;
|
567
567
|
hasForm: import("vue").ComputedRef<boolean>;
|
568
568
|
initialData: import("vue").ComputedRef<Record<string, any>>;
|
569
569
|
onFormChange: (payload: import("../../../components/form-render").FormChangePayload) => void;
|
@@ -571,17 +571,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
571
571
|
columnNum: import("vue").Ref<number>;
|
572
572
|
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
573
573
|
maxColumnWidth: import("vue").Ref<number>;
|
574
|
-
descriptionWidthList: import("vue").Ref<
|
575
|
-
toString: (radix?: number | undefined) => string;
|
576
|
-
toFixed: (fractionDigits?: number | undefined) => string;
|
577
|
-
toExponential: (fractionDigits?: number | undefined) => string;
|
578
|
-
toPrecision: (precision?: number | undefined) => string;
|
579
|
-
valueOf: () => number;
|
580
|
-
toLocaleString: {
|
581
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
582
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
583
|
-
};
|
584
|
-
}[]>;
|
574
|
+
descriptionWidthList: import("vue").Ref<number[]>;
|
585
575
|
updateColumn: () => Promise<void>;
|
586
576
|
timer: any;
|
587
577
|
stopInterval: () => void;
|
@@ -624,7 +614,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
624
614
|
};
|
625
615
|
encrypted: {
|
626
616
|
type: BooleanConstructor;
|
627
|
-
required:
|
617
|
+
required: false;
|
628
618
|
};
|
629
619
|
}, {
|
630
620
|
descriptionStyle: {
|
@@ -1149,12 +1139,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
1149
1139
|
};
|
1150
1140
|
encrypted: {
|
1151
1141
|
type: BooleanConstructor;
|
1152
|
-
required:
|
1142
|
+
required: false;
|
1153
1143
|
};
|
1154
1144
|
}>>, {
|
1155
1145
|
infoList: unknown[];
|
1156
1146
|
labelField: string;
|
1157
1147
|
valueField: string;
|
1148
|
+
encrypted: boolean;
|
1158
1149
|
descriptionWidthList: unknown[];
|
1159
1150
|
columnNum: number;
|
1160
1151
|
inForm: boolean;
|
@@ -2224,7 +2215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
2224
2215
|
};
|
2225
2216
|
encrypted: {
|
2226
2217
|
type: BooleanConstructor;
|
2227
|
-
required:
|
2218
|
+
required: false;
|
2228
2219
|
};
|
2229
2220
|
}>>, {
|
2230
2221
|
infoList: unknown[];
|
@@ -2232,6 +2223,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
2232
2223
|
valueField: string;
|
2233
2224
|
minColumnWidth: string | number;
|
2234
2225
|
formProps: Record<string, any>;
|
2226
|
+
encrypted: boolean;
|
2235
2227
|
}>;
|
2236
2228
|
PatientInfo: import("vue").DefineComponent<{
|
2237
2229
|
patientInfo: {
|
@@ -176,9 +176,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
176
176
|
}, _ctx.$props), {
|
177
177
|
info: withCtx(() => [createCommentVNode(" \u4FE1\u606F\u63CF\u8FF0\u533A\u63D2\u69FD "), renderSlot(_ctx.$slots, "info")]),
|
178
178
|
_: 3
|
179
|
-
}, 16, ["root-slot"]), createElementVNode("section", _hoisted_3, [createCommentVNode(" \u8BBE\u7F6E\u533A\u63D2\u69FD "), renderSlot(_ctx.$slots, "setting", {}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(settingIconList), (item) => {
|
179
|
+
}, 16, ["root-slot"]), createElementVNode("section", _hoisted_3, [createCommentVNode(" \u8BBE\u7F6E\u533A\u63D2\u69FD "), renderSlot(_ctx.$slots, "setting", {}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(settingIconList), (item, index) => {
|
180
180
|
return openBlock(), createElementBlock("div", {
|
181
|
-
key:
|
181
|
+
key: index,
|
182
182
|
class: "c-info-header__settingIcon",
|
183
183
|
onClick: item.event
|
184
184
|
}, [(openBlock(), createBlock(resolveDynamicComponent(item.render)))], 8, _hoisted_4);
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
};
|
36
36
|
encrypted: {
|
37
37
|
type: BooleanConstructor;
|
38
|
-
required:
|
38
|
+
required: false;
|
39
39
|
};
|
40
40
|
}, {
|
41
41
|
descriptionStyle: {
|
@@ -560,12 +560,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
560
560
|
};
|
561
561
|
encrypted: {
|
562
562
|
type: BooleanConstructor;
|
563
|
-
required:
|
563
|
+
required: false;
|
564
564
|
};
|
565
565
|
}>>, {
|
566
566
|
infoList: unknown[];
|
567
567
|
labelField: string;
|
568
568
|
valueField: string;
|
569
|
+
encrypted: boolean;
|
569
570
|
descriptionWidthList: unknown[];
|
570
571
|
columnNum: number;
|
571
572
|
inForm: boolean;
|
@@ -55,7 +55,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
"root-slot": __props.rootSlot,
|
56
56
|
"label-field": __props.labelField,
|
57
57
|
"value-field": __props.valueField,
|
58
|
-
encrypted: __props.encrypted
|
58
|
+
encrypted: !!__props.encrypted
|
59
59
|
}, null, 8, ["info-item", "width", "root-slot", "label-field", "value-field", "encrypted"]))]),
|
60
60
|
_: 2
|
61
61
|
}, 1032, ["label"]);
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
};
|
34
34
|
encrypted: {
|
35
35
|
type: BooleanConstructor;
|
36
|
-
required:
|
36
|
+
required: false;
|
37
37
|
};
|
38
38
|
}, {
|
39
39
|
props: {
|
@@ -43,10 +43,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
43
43
|
minColumnWidth: string | number;
|
44
44
|
rootSlot: Record<string, AnyFn>;
|
45
45
|
formProps: Partial<FormRenderProps>;
|
46
|
-
encrypted
|
46
|
+
encrypted?: boolean | undefined;
|
47
47
|
};
|
48
48
|
themeOverrides: import("naive-ui").GlobalThemeOverrides;
|
49
|
-
globEmit: ((eventName:
|
49
|
+
globEmit: ((eventName: "openPatientInfo" | "fieldSet" | "update:compact" | "formChange", ...payload: any[]) => void) | undefined;
|
50
50
|
hasForm: import("vue").ComputedRef<boolean>;
|
51
51
|
initialData: import("vue").ComputedRef<Record<string, any>>;
|
52
52
|
onFormChange: (payload: FormChangePayload) => void;
|
@@ -54,17 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
columnNum: import("vue").Ref<number>;
|
55
55
|
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
56
56
|
maxColumnWidth: import("vue").Ref<number>;
|
57
|
-
descriptionWidthList: import("vue").Ref<
|
58
|
-
toString: (radix?: number | undefined) => string;
|
59
|
-
toFixed: (fractionDigits?: number | undefined) => string;
|
60
|
-
toExponential: (fractionDigits?: number | undefined) => string;
|
61
|
-
toPrecision: (precision?: number | undefined) => string;
|
62
|
-
valueOf: () => number;
|
63
|
-
toLocaleString: {
|
64
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
65
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
66
|
-
};
|
67
|
-
}[]>;
|
57
|
+
descriptionWidthList: import("vue").Ref<number[]>;
|
68
58
|
updateColumn: () => Promise<void>;
|
69
59
|
timer: any;
|
70
60
|
stopInterval: () => void;
|
@@ -107,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
107
97
|
};
|
108
98
|
encrypted: {
|
109
99
|
type: BooleanConstructor;
|
110
|
-
required:
|
100
|
+
required: false;
|
111
101
|
};
|
112
102
|
}, {
|
113
103
|
descriptionStyle: {
|
@@ -632,12 +622,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
632
622
|
};
|
633
623
|
encrypted: {
|
634
624
|
type: BooleanConstructor;
|
635
|
-
required:
|
625
|
+
required: false;
|
636
626
|
};
|
637
627
|
}>>, {
|
638
628
|
infoList: unknown[];
|
639
629
|
labelField: string;
|
640
630
|
valueField: string;
|
631
|
+
encrypted: boolean;
|
641
632
|
descriptionWidthList: unknown[];
|
642
633
|
columnNum: number;
|
643
634
|
inForm: boolean;
|
@@ -1707,7 +1698,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1707
1698
|
};
|
1708
1699
|
encrypted: {
|
1709
1700
|
type: BooleanConstructor;
|
1710
|
-
required:
|
1701
|
+
required: false;
|
1711
1702
|
};
|
1712
1703
|
}>>, {
|
1713
1704
|
infoList: unknown[];
|
@@ -1715,5 +1706,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
1715
1706
|
valueField: string;
|
1716
1707
|
minColumnWidth: string | number;
|
1717
1708
|
formProps: Record<string, any>;
|
1709
|
+
encrypted: boolean;
|
1718
1710
|
}>;
|
1719
1711
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
2
2
|
import { FormRenderExpose } from '../../../../components/form-render';
|
3
3
|
export declare const InjectionInfoHeaderFormRef: InjectionKey<Ref<undefined | FormRenderExpose>>;
|
4
|
-
export declare const InjectionInfoHeaderEmit: InjectionKey<(eventName:
|
4
|
+
export declare const InjectionInfoHeaderEmit: InjectionKey<(eventName: 'openPatientInfo' | 'fieldSet' | 'update:compact' | 'formChange', ...payload: any[]) => void>;
|
@@ -93,7 +93,7 @@ class ShortcutManager {
|
|
93
93
|
const shortcutItem = Object.values(this.shortcutCache.value).find((item) => item.currentKeySignature === keySignature);
|
94
94
|
if (!shortcutItem || shortcutItem.status !== ShortcutStatus.ACTIVE || shortcutItem.disabled)
|
95
95
|
return;
|
96
|
-
if (isInvalidSignatureAtInput(event) && (!shortcutItem.allowPureNumber || !/^\d$/.test(event.key))) {
|
96
|
+
if (isInvalidSignatureAtInput(event, shortcutItem.allowSpace) && (!shortcutItem.allowPureNumber || !/^\d$/.test(event.key))) {
|
97
97
|
return;
|
98
98
|
}
|
99
99
|
if (isFunction(shortcutItem.beforeTrigger) && !shortcutItem.beforeTrigger(event))
|