cnhis-design-vue 3.1.41-release.4 → 3.1.41-release.6
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/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/field-set/index.d.ts +8 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +6761 -45
- package/es/components/form-config/src/FormConfig.vue.d.ts +6902 -185
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3414 -59
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +9 -2
- package/es/components/form-config/src/utils/index.d.ts +4 -1
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +2 -2
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -12
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
- package/es/components/form-render/src/types/index.d.ts +5 -3
- package/es/components/form-render/src/utils/dom.d.ts +2 -1
- package/es/components/form-render/src/utils/dom.js +1 -1
- package/es/components/iho-table/index.d.ts +5 -5
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +85 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +20 -11
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +289 -155
- package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/index.d.ts +3 -0
- package/es/components/info-header/src/components/index.js +1 -0
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +29 -0
- package/es/components/recommend-search/index.d.ts +10 -10
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/index.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/utils/judge-types.js +1 -1
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +3 -2
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -2
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +902 -7615
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +44 -3313
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +461 -2810
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -7
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +456 -0
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +843 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +51 -1190
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +4 -14
- package/es/components/table-filter/style/index.css +1 -1
- package/es/env.d.ts +24 -24
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
- package/es/shared/components/no-data/NoData.vue.js +1 -1
- package/es/shared/utils/index.d.ts +16 -0
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +64 -64
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
- package/es/components/info-header/src/HiddenContent.vue.js +0 -1
- package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
- package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1469
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
- package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
- package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
- package/es/components/table-filter/src/const/dataOptions.js +0 -1
- package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
- package/es/components/table-filter/src/directive/preventReClick.js +0 -1
- package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
- package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
- /package/es/components/{iho-table/src/plugins/filterPlugin/types.js → info-header/src/types/index.js} +0 -0
- /package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -0
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import { AnyObject, Func } from '../../../../es/shared/types';
|
|
2
|
-
import {
|
|
3
|
-
declare type PatientTag = Partial<{
|
|
4
|
-
type?: 'warning' | 'info';
|
|
5
|
-
content: string;
|
|
6
|
-
render?: any;
|
|
7
|
-
color?: {
|
|
8
|
-
color?: string;
|
|
9
|
-
textColor?: string;
|
|
10
|
-
};
|
|
11
|
-
}>;
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
12
3
|
declare const _default: import("vue").DefineComponent<{
|
|
13
4
|
compact: {
|
|
14
5
|
type: BooleanConstructor;
|
|
@@ -27,8 +18,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
18
|
name: string;
|
|
28
19
|
sex: string;
|
|
29
20
|
age: string;
|
|
30
|
-
ageUnit
|
|
31
|
-
tagList
|
|
21
|
+
ageUnit: string;
|
|
22
|
+
tagList: Partial<{
|
|
32
23
|
type?: "warning" | "info" | undefined;
|
|
33
24
|
content: string;
|
|
34
25
|
render?: any;
|
|
@@ -36,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
27
|
color?: string | undefined;
|
|
37
28
|
textColor?: string | undefined;
|
|
38
29
|
} | undefined;
|
|
39
|
-
}>[]
|
|
30
|
+
}>[];
|
|
40
31
|
}>>;
|
|
41
32
|
default: () => {};
|
|
42
33
|
};
|
|
@@ -86,8 +77,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
77
|
name: string;
|
|
87
78
|
sex: string;
|
|
88
79
|
age: string;
|
|
89
|
-
ageUnit
|
|
90
|
-
tagList
|
|
80
|
+
ageUnit: string;
|
|
81
|
+
tagList: Partial<{
|
|
91
82
|
type?: "warning" | "info" | undefined;
|
|
92
83
|
content: string;
|
|
93
84
|
render?: any;
|
|
@@ -95,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
86
|
color?: string | undefined;
|
|
96
87
|
textColor?: string | undefined;
|
|
97
88
|
} | undefined;
|
|
98
|
-
}>[]
|
|
89
|
+
}>[];
|
|
99
90
|
}>>;
|
|
100
91
|
default: () => {};
|
|
101
92
|
};
|
|
@@ -132,6 +123,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
123
|
"onUpdate:compact"?: ((...args: any[]) => any) | undefined;
|
|
133
124
|
}>>;
|
|
134
125
|
emit: (event: "openPatientInfo" | "fieldSet" | "update:compact", ...args: any[]) => void;
|
|
126
|
+
infoDescriptionRef: import("vue").Ref<{
|
|
127
|
+
updateColumn: Func;
|
|
128
|
+
} | undefined>;
|
|
129
|
+
updateColumn: () => any;
|
|
135
130
|
toggleCompact: () => Promise<void>;
|
|
136
131
|
openPatientInfo: () => void;
|
|
137
132
|
fieldSet: () => void;
|
|
@@ -143,149 +138,115 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
138
|
event: Func;
|
|
144
139
|
render: () => VNode[];
|
|
145
140
|
}[]>;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
type?: "warning" | "info" | undefined;
|
|
152
|
-
content: string;
|
|
153
|
-
render?: any;
|
|
154
|
-
color?: {
|
|
155
|
-
color?: string | undefined;
|
|
156
|
-
textColor?: string | undefined;
|
|
157
|
-
} | undefined;
|
|
158
|
-
}>[]>;
|
|
159
|
-
getDescriptionItemStyle: ({ bold, contentStyle }?: AnyObject) => CSSProperties;
|
|
160
|
-
getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => CSSProperties;
|
|
161
|
-
needHidden: (item: AnyObject) => boolean;
|
|
162
|
-
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
163
|
-
columnNum: import("vue").Ref<number>;
|
|
164
|
-
maxColumnWidth: import("vue").Ref<number>;
|
|
165
|
-
descriptionWidthList: import("vue").Ref<{
|
|
166
|
-
toString: (radix?: number | undefined) => string;
|
|
167
|
-
toFixed: (fractionDigits?: number | undefined) => string;
|
|
168
|
-
toExponential: (fractionDigits?: number | undefined) => string;
|
|
169
|
-
toPrecision: (precision?: number | undefined) => string;
|
|
170
|
-
valueOf: () => number;
|
|
171
|
-
toLocaleString: {
|
|
172
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
173
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
174
|
-
};
|
|
175
|
-
}[]>;
|
|
176
|
-
updateColumn: () => Promise<void>;
|
|
177
|
-
timer: any;
|
|
178
|
-
stopInterval: () => void;
|
|
179
|
-
startInterval: () => void;
|
|
180
|
-
NDescriptions: any;
|
|
181
|
-
NDescriptionsItem: import("vue").DefineComponent<{
|
|
182
|
-
readonly label: StringConstructor;
|
|
183
|
-
readonly span: {
|
|
184
|
-
readonly type: NumberConstructor;
|
|
185
|
-
readonly default: 1;
|
|
186
|
-
};
|
|
187
|
-
readonly labelStyle: PropType<string | CSSProperties>;
|
|
188
|
-
readonly contentStyle: PropType<string | CSSProperties>;
|
|
189
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
-
readonly label: StringConstructor;
|
|
191
|
-
readonly span: {
|
|
192
|
-
readonly type: NumberConstructor;
|
|
193
|
-
readonly default: 1;
|
|
194
|
-
};
|
|
195
|
-
readonly labelStyle: PropType<string | CSSProperties>;
|
|
196
|
-
readonly contentStyle: PropType<string | CSSProperties>;
|
|
197
|
-
}>>, {
|
|
198
|
-
readonly span: number;
|
|
199
|
-
}>;
|
|
200
|
-
NTag: any;
|
|
201
|
-
NScrollbar: any;
|
|
202
|
-
NImage: any;
|
|
203
|
-
NPopover: any;
|
|
204
|
-
NEllipsis: any;
|
|
205
|
-
SlotRender: import("vue").DefineComponent<{
|
|
206
|
-
renderer: {
|
|
207
|
-
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
208
|
-
required: true;
|
|
209
|
-
};
|
|
210
|
-
rootSlots: {
|
|
211
|
-
type: PropType<Record<string, Func<any[], any>>>;
|
|
212
|
-
};
|
|
213
|
-
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
|
-
renderer: {
|
|
215
|
-
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
216
|
-
required: true;
|
|
141
|
+
InfoDescription: import("vue").DefineComponent<{
|
|
142
|
+
compact: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
required: false;
|
|
145
|
+
default: boolean;
|
|
217
146
|
};
|
|
218
|
-
|
|
219
|
-
type:
|
|
147
|
+
infoList: {
|
|
148
|
+
type: ArrayConstructor;
|
|
149
|
+
required: false;
|
|
150
|
+
default: () => never[];
|
|
220
151
|
};
|
|
221
|
-
|
|
222
|
-
InfoEllipsis: import("vue").DefineComponent<{
|
|
223
|
-
content: {
|
|
152
|
+
labelField: {
|
|
224
153
|
type: StringConstructor;
|
|
154
|
+
required: false;
|
|
225
155
|
default: string;
|
|
226
156
|
};
|
|
227
|
-
|
|
228
|
-
type: StringConstructor;
|
|
229
|
-
};
|
|
230
|
-
contentStyle: {
|
|
231
|
-
type: PropType<CSSProperties>;
|
|
232
|
-
default: () => {};
|
|
233
|
-
};
|
|
234
|
-
}, {
|
|
235
|
-
NEllipsis: any;
|
|
236
|
-
NTooltip: any;
|
|
237
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
238
|
-
content: {
|
|
157
|
+
valueField: {
|
|
239
158
|
type: StringConstructor;
|
|
159
|
+
required: false;
|
|
240
160
|
default: string;
|
|
241
161
|
};
|
|
242
|
-
|
|
243
|
-
type: StringConstructor;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
type: PropType<CSSProperties>;
|
|
247
|
-
default: () => {};
|
|
248
|
-
};
|
|
249
|
-
}>>, {
|
|
250
|
-
content: string;
|
|
251
|
-
contentStyle: CSSProperties;
|
|
252
|
-
}>;
|
|
253
|
-
HiddenContent: import("vue").DefineComponent<{
|
|
254
|
-
content: {
|
|
255
|
-
type: StringConstructor;
|
|
256
|
-
default: string;
|
|
162
|
+
minColumnWidth: {
|
|
163
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
164
|
+
required: false;
|
|
165
|
+
default: number;
|
|
257
166
|
};
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
167
|
+
rowHeight: {
|
|
168
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
169
|
+
required: false;
|
|
170
|
+
default: number;
|
|
261
171
|
};
|
|
262
|
-
|
|
263
|
-
type:
|
|
264
|
-
|
|
172
|
+
rootSlot: {
|
|
173
|
+
type: ObjectConstructor;
|
|
174
|
+
required: true;
|
|
265
175
|
};
|
|
266
176
|
}, {
|
|
267
|
-
props:
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
177
|
+
props: {
|
|
178
|
+
compact: boolean;
|
|
179
|
+
infoList: Partial<{
|
|
180
|
+
[K: string]: any;
|
|
181
|
+
slot: string | (() => any);
|
|
182
|
+
tip: string;
|
|
183
|
+
formField: import("../..").FieldItem;
|
|
184
|
+
}>[];
|
|
185
|
+
labelField: string;
|
|
186
|
+
valueField: string;
|
|
187
|
+
minColumnWidth: string | number;
|
|
188
|
+
rowHeight: string | number;
|
|
189
|
+
rootSlot: Record<string, Func<any[], any>>;
|
|
190
|
+
};
|
|
191
|
+
getDescriptionItemStyle: ({ bold, contentStyle }?: AnyObject) => import("vue").CSSProperties;
|
|
192
|
+
getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => import("vue").CSSProperties;
|
|
193
|
+
needHidden: (item: AnyObject) => boolean;
|
|
194
|
+
columnNum: import("vue").Ref<number>;
|
|
195
|
+
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
196
|
+
maxColumnWidth: import("vue").Ref<number>;
|
|
197
|
+
descriptionWidthList: import("vue").Ref<{
|
|
198
|
+
toString: (radix?: number | undefined) => string;
|
|
199
|
+
toFixed: (fractionDigits?: number | undefined) => string;
|
|
200
|
+
toExponential: (fractionDigits?: number | undefined) => string;
|
|
201
|
+
toPrecision: (precision?: number | undefined) => string;
|
|
202
|
+
valueOf: () => number;
|
|
203
|
+
toLocaleString: {
|
|
204
|
+
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
205
|
+
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
271
206
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
207
|
+
}[]>;
|
|
208
|
+
updateColumn: () => Promise<void>;
|
|
209
|
+
timer: any;
|
|
210
|
+
stopInterval: () => void;
|
|
211
|
+
startInterval: () => void;
|
|
212
|
+
NDescriptions: any;
|
|
213
|
+
NDescriptionsItem: import("vue").DefineComponent<{
|
|
214
|
+
readonly label: StringConstructor;
|
|
215
|
+
readonly span: {
|
|
216
|
+
readonly type: NumberConstructor;
|
|
217
|
+
readonly default: 1;
|
|
275
218
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
219
|
+
readonly labelStyle: PropType<string | import("vue").CSSProperties>;
|
|
220
|
+
readonly contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
221
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
222
|
+
readonly label: StringConstructor;
|
|
223
|
+
readonly span: {
|
|
224
|
+
readonly type: NumberConstructor;
|
|
225
|
+
readonly default: 1;
|
|
279
226
|
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
maxWidth: string;
|
|
285
|
-
width: string;
|
|
227
|
+
readonly labelStyle: PropType<string | import("vue").CSSProperties>;
|
|
228
|
+
readonly contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
229
|
+
}>>, {
|
|
230
|
+
readonly span: number;
|
|
286
231
|
}>;
|
|
287
|
-
|
|
288
|
-
|
|
232
|
+
NScrollbar: any;
|
|
233
|
+
SlotRender: import("vue").DefineComponent<{
|
|
234
|
+
renderer: {
|
|
235
|
+
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
236
|
+
required: true;
|
|
237
|
+
};
|
|
238
|
+
rootSlots: {
|
|
239
|
+
type: PropType<Record<string, Func<any[], any>>>;
|
|
240
|
+
};
|
|
241
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
242
|
+
renderer: {
|
|
243
|
+
type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
|
|
244
|
+
required: true;
|
|
245
|
+
};
|
|
246
|
+
rootSlots: {
|
|
247
|
+
type: PropType<Record<string, Func<any[], any>>>;
|
|
248
|
+
};
|
|
249
|
+
}>>, {}>;
|
|
289
250
|
InfoEllipsis: import("vue").DefineComponent<{
|
|
290
251
|
content: {
|
|
291
252
|
type: StringConstructor;
|
|
@@ -295,7 +256,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
295
256
|
type: StringConstructor;
|
|
296
257
|
};
|
|
297
258
|
contentStyle: {
|
|
298
|
-
type: PropType<CSSProperties>;
|
|
259
|
+
type: PropType<import("vue").CSSProperties>;
|
|
299
260
|
default: () => {};
|
|
300
261
|
};
|
|
301
262
|
}, {
|
|
@@ -310,29 +271,201 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
271
|
type: StringConstructor;
|
|
311
272
|
};
|
|
312
273
|
contentStyle: {
|
|
313
|
-
type: PropType<CSSProperties>;
|
|
274
|
+
type: PropType<import("vue").CSSProperties>;
|
|
314
275
|
default: () => {};
|
|
315
276
|
};
|
|
316
277
|
}>>, {
|
|
278
|
+
contentStyle: import("vue").CSSProperties;
|
|
279
|
+
content: string;
|
|
280
|
+
}>;
|
|
281
|
+
HiddenContent: import("vue").DefineComponent<{
|
|
282
|
+
content: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
tip: StringConstructor;
|
|
287
|
+
width: {
|
|
288
|
+
type: NumberConstructor;
|
|
289
|
+
};
|
|
290
|
+
contentStyle: {
|
|
291
|
+
type: PropType<import("vue").CSSProperties>;
|
|
292
|
+
default: () => {};
|
|
293
|
+
};
|
|
294
|
+
}, {
|
|
295
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
+
content: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
tip: StringConstructor;
|
|
301
|
+
width: {
|
|
302
|
+
type: NumberConstructor;
|
|
303
|
+
};
|
|
304
|
+
contentStyle: {
|
|
305
|
+
type: PropType<import("vue").CSSProperties>;
|
|
306
|
+
default: () => {};
|
|
307
|
+
};
|
|
308
|
+
}>> & {}>>;
|
|
309
|
+
hidden: import("vue").Ref<boolean>;
|
|
310
|
+
toggleHidden: () => void;
|
|
311
|
+
wrapperStyle: import("vue").ComputedRef<{
|
|
312
|
+
maxWidth: string;
|
|
313
|
+
width: string;
|
|
314
|
+
}>;
|
|
315
|
+
parsedContentStyle: import("vue").ComputedRef<{}>;
|
|
316
|
+
displayContent: import("vue").ComputedRef<string>;
|
|
317
|
+
InfoEllipsis: import("vue").DefineComponent<{
|
|
318
|
+
content: {
|
|
319
|
+
type: StringConstructor;
|
|
320
|
+
default: string;
|
|
321
|
+
};
|
|
322
|
+
tip: {
|
|
323
|
+
type: StringConstructor;
|
|
324
|
+
};
|
|
325
|
+
contentStyle: {
|
|
326
|
+
type: PropType<import("vue").CSSProperties>;
|
|
327
|
+
default: () => {};
|
|
328
|
+
};
|
|
329
|
+
}, {
|
|
330
|
+
NEllipsis: any;
|
|
331
|
+
NTooltip: any;
|
|
332
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
333
|
+
content: {
|
|
334
|
+
type: StringConstructor;
|
|
335
|
+
default: string;
|
|
336
|
+
};
|
|
337
|
+
tip: {
|
|
338
|
+
type: StringConstructor;
|
|
339
|
+
};
|
|
340
|
+
contentStyle: {
|
|
341
|
+
type: PropType<import("vue").CSSProperties>;
|
|
342
|
+
default: () => {};
|
|
343
|
+
};
|
|
344
|
+
}>>, {
|
|
345
|
+
contentStyle: import("vue").CSSProperties;
|
|
346
|
+
content: string;
|
|
347
|
+
}>;
|
|
348
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
+
content: {
|
|
350
|
+
type: StringConstructor;
|
|
351
|
+
default: string;
|
|
352
|
+
};
|
|
353
|
+
tip: StringConstructor;
|
|
354
|
+
width: {
|
|
355
|
+
type: NumberConstructor;
|
|
356
|
+
};
|
|
357
|
+
contentStyle: {
|
|
358
|
+
type: PropType<import("vue").CSSProperties>;
|
|
359
|
+
default: () => {};
|
|
360
|
+
};
|
|
361
|
+
}>>, {
|
|
362
|
+
contentStyle: import("vue").CSSProperties;
|
|
317
363
|
content: string;
|
|
318
|
-
contentStyle: CSSProperties;
|
|
319
364
|
}>;
|
|
320
365
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
321
|
-
|
|
366
|
+
compact: {
|
|
367
|
+
type: BooleanConstructor;
|
|
368
|
+
required: false;
|
|
369
|
+
default: boolean;
|
|
370
|
+
};
|
|
371
|
+
infoList: {
|
|
372
|
+
type: ArrayConstructor;
|
|
373
|
+
required: false;
|
|
374
|
+
default: () => never[];
|
|
375
|
+
};
|
|
376
|
+
labelField: {
|
|
377
|
+
type: StringConstructor;
|
|
378
|
+
required: false;
|
|
379
|
+
default: string;
|
|
380
|
+
};
|
|
381
|
+
valueField: {
|
|
322
382
|
type: StringConstructor;
|
|
383
|
+
required: false;
|
|
323
384
|
default: string;
|
|
324
385
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
386
|
+
minColumnWidth: {
|
|
387
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
388
|
+
required: false;
|
|
389
|
+
default: number;
|
|
390
|
+
};
|
|
391
|
+
rowHeight: {
|
|
392
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
393
|
+
required: false;
|
|
394
|
+
default: number;
|
|
395
|
+
};
|
|
396
|
+
rootSlot: {
|
|
397
|
+
type: ObjectConstructor;
|
|
398
|
+
required: true;
|
|
399
|
+
};
|
|
400
|
+
}>>, {
|
|
401
|
+
compact: boolean;
|
|
402
|
+
infoList: unknown[];
|
|
403
|
+
labelField: string;
|
|
404
|
+
valueField: string;
|
|
405
|
+
minColumnWidth: string | number;
|
|
406
|
+
rowHeight: string | number;
|
|
407
|
+
}>;
|
|
408
|
+
PatientInfo: import("vue").DefineComponent<{
|
|
409
|
+
patientInfo: {
|
|
410
|
+
type: null;
|
|
411
|
+
required: true;
|
|
412
|
+
default: () => {};
|
|
328
413
|
};
|
|
329
|
-
|
|
330
|
-
|
|
414
|
+
}, {
|
|
415
|
+
props: {
|
|
416
|
+
patientInfo: Partial<{
|
|
417
|
+
avatar: string;
|
|
418
|
+
avatarPreview: string;
|
|
419
|
+
avatarProps: string;
|
|
420
|
+
avatarPreviewProps: string;
|
|
421
|
+
name: string;
|
|
422
|
+
sex: string;
|
|
423
|
+
age: string;
|
|
424
|
+
ageUnit: string;
|
|
425
|
+
tagList: Partial<{
|
|
426
|
+
type?: "warning" | "info" | undefined;
|
|
427
|
+
content: string;
|
|
428
|
+
render?: any;
|
|
429
|
+
color?: {
|
|
430
|
+
color?: string | undefined;
|
|
431
|
+
textColor?: string | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
}>[];
|
|
434
|
+
}>;
|
|
435
|
+
};
|
|
436
|
+
tagListExcludeEmpty: import("vue").ComputedRef<Partial<{
|
|
437
|
+
type?: "warning" | "info" | undefined;
|
|
438
|
+
content: string;
|
|
439
|
+
render?: any;
|
|
440
|
+
color?: {
|
|
441
|
+
color?: string | undefined;
|
|
442
|
+
textColor?: string | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
}>[]>;
|
|
445
|
+
getTagColor: ({ type }: Partial<{
|
|
446
|
+
type?: "warning" | "info" | undefined;
|
|
447
|
+
content: string;
|
|
448
|
+
render?: any;
|
|
449
|
+
color?: {
|
|
450
|
+
color?: string | undefined;
|
|
451
|
+
textColor?: string | undefined;
|
|
452
|
+
} | undefined;
|
|
453
|
+
}>) => {
|
|
454
|
+
color: string;
|
|
455
|
+
textColor: string;
|
|
456
|
+
};
|
|
457
|
+
NImage: any;
|
|
458
|
+
NEllipsis: any;
|
|
459
|
+
NTag: any;
|
|
460
|
+
NPopover: any;
|
|
461
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
462
|
+
patientInfo: {
|
|
463
|
+
type: null;
|
|
464
|
+
required: true;
|
|
331
465
|
default: () => {};
|
|
332
466
|
};
|
|
333
467
|
}>>, {
|
|
334
|
-
|
|
335
|
-
contentStyle: CSSProperties;
|
|
468
|
+
patientInfo: any;
|
|
336
469
|
}>;
|
|
337
470
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("openPatientInfo" | "fieldSet" | "update:compact")[], "openPatientInfo" | "fieldSet" | "update:compact", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
338
471
|
compact: {
|
|
@@ -352,8 +485,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
352
485
|
name: string;
|
|
353
486
|
sex: string;
|
|
354
487
|
age: string;
|
|
355
|
-
ageUnit
|
|
356
|
-
tagList
|
|
488
|
+
ageUnit: string;
|
|
489
|
+
tagList: Partial<{
|
|
357
490
|
type?: "warning" | "info" | undefined;
|
|
358
491
|
content: string;
|
|
359
492
|
render?: any;
|
|
@@ -361,7 +494,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
361
494
|
color?: string | undefined;
|
|
362
495
|
textColor?: string | undefined;
|
|
363
496
|
} | undefined;
|
|
364
|
-
}>[]
|
|
497
|
+
}>[];
|
|
365
498
|
}>>;
|
|
366
499
|
default: () => {};
|
|
367
500
|
};
|
|
@@ -406,8 +539,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
539
|
name: string;
|
|
407
540
|
sex: string;
|
|
408
541
|
age: string;
|
|
409
|
-
ageUnit
|
|
410
|
-
tagList
|
|
542
|
+
ageUnit: string;
|
|
543
|
+
tagList: Partial<{
|
|
411
544
|
type?: "warning" | "info" | undefined;
|
|
412
545
|
content: string;
|
|
413
546
|
render?: any;
|
|
@@ -415,7 +548,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
415
548
|
color?: string | undefined;
|
|
416
549
|
textColor?: string | undefined;
|
|
417
550
|
} | undefined;
|
|
418
|
-
}>[]
|
|
551
|
+
}>[];
|
|
419
552
|
}>;
|
|
420
553
|
labelField: string;
|
|
421
554
|
valueField: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,
|
|
1
|
+
import{defineComponent as e,ref as t,computed as n,openBlock as o,createElementBlock as i,normalizeClass as a,createElementVNode as s,createCommentVNode as r,renderSlot as l,createVNode as c,unref as f,withCtx as p,mergeProps as d,Fragment as u,renderList as m,createBlock as v,resolveDynamicComponent as h,h as g,nextTick as y}from"vue";import{isString as _}from"lodash-es";import I from"./components/infoDescription/index.vue.js";import $ from"./components/patientInfo/index.vue.js";import b from"../../../_virtual/plugin-vue_export-helper.js";const x={class:"c-info-header__operation"},S={key:0,class:"c-info-header__divider"},z={class:"c-info-header__setting"},j=["onClick"];var k=b(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},separator:{type:String,default:":"},patientInfo:{type:Object,default:()=>({})},infoList:{type:Array,required:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:32},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]}},emits:["openPatientInfo","fieldSet","update:compact"],setup(e,{expose:b,emit:k}){const C=e,w=t();function H(){var e;return null==(e=w.value)?void 0:e.updateColumn()}const M={patientInfo:{event:function(){k("openPatientInfo")},render:()=>[g("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){k("fieldSet")},render:()=>[g("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){k("update:compact",!C.compact),await y(),await H()},render:()=>[g("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},q=n((()=>C.settingIcons.map((e=>(_(e)?M[e]:e)||{}))));return b({update:H}),(t,n)=>(o(),i("div",{class:a(["c-info-header",{"is-compact":e.compact}])},[s("section",x,[r(" 操作区插槽 "),l(t.$slots,"operation")]),t.$slots.operation?(o(),i("div",S)):r("v-if",!0),r(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),l(t.$slots,"patientModule",{},(()=>[c(f($),{"patient-info":e.patientInfo},{avatarInfo:p((()=>[r(" 头像区补充内容插槽 (会插入头像下方) "),l(t.$slots,"avatarInfo")])),avatar:p((()=>[r(" 头像插槽 "),l(t.$slots,"avatar")])),tags:p((()=>[r(" 标签插槽 "),l(t.$slots,"tags")])),avatarModule:p((()=>[r(" 头像信息区插槽 (包含头像, 文本, 标签) "),l(t.$slots,"avatarModule")])),_:3},8,["patient-info"])])),c(f(I),d({ref_key:"infoDescriptionRef",ref:w,"root-slot":t.$slots},t.$props),{info:p((()=>[r(" 信息描述区插槽 "),l(t.$slots,"info")])),_:3},16,["root-slot"]),s("section",z,[r(" 设置区插槽 "),l(t.$slots,"setting",{},(()=>[(o(!0),i(u,null,m(f(q),(e=>(o(),i("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(o(),v(h(e.render)))],8,j)))),128))]))])],2))}}),[["__file","InfoHeader.vue"]]);export{k as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{default as InfoDescription}from"./infoDescription/index.vue.js";export{default as PatientInfo}from"./patientInfo/index.vue.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(t+="",!p.value)return t;if(!t)return"-";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as t,openBlock as e,createBlock as l,unref as i,withCtx as o,createElementVNode as p,createVNode as n,normalizeStyle as r,createTextVNode as u,toDisplayString as a}from"vue";import{NTooltip as s,NEllipsis as f}from"naive-ui";import d from"../../../../../_virtual/plugin-vue_export-helper.js";var m=d(t({__name:"InfoEllipsis",props:{content:{type:String,default:""},tip:{type:String},contentStyle:{type:Object,default:()=>({})}},setup:t=>(d,m)=>(e(),l(i(s),{disabled:!t.tip},{trigger:o((()=>[p("section",null,[n(i(f),{style:r(t.contentStyle),tooltip:{placement:t.tip?"bottom":"top"}},{default:o((()=>{var e;return[u(a(null!=(e=t.content)?e:"-"),1)]})),_:1},8,["style","tooltip"])])])),default:o((()=>[u(" "+a(t.tip),1)])),_:1},8,["disabled"]))}),[["__file","InfoEllipsis.vue"]]);export{m as default};
|