cnhis-design-vue 3.1.9-beta.1 → 3.1.9-beta.4
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 +22 -22
- package/es/packages/big-table/index.d.ts +1 -1
- package/es/packages/big-table/src/BigTable.vue.d.ts +1 -1
- package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +3 -1
- package/es/packages/big-table/style/index.less +557 -557
- package/es/packages/bpmn-workflow/style/index.less +29 -29
- package/es/packages/button-print/style/index.less +30 -30
- package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +4 -6
- package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +0 -3
- package/es/packages/chunk-upload/style/index.less +394 -394
- package/es/packages/drag-layout/src/DragLayout.vue.d.ts +5 -8
- package/es/packages/drag-layout/style/index.less +208 -208
- package/es/packages/field-set/style/index.less +157 -157
- package/es/packages/form-render/index.d.ts +267 -3
- package/es/packages/form-render/index.mjs +2 -0
- package/es/packages/form-render/src/FormRender.vue.d.ts +267 -3
- package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.mjs +39 -25
- package/es/packages/form-render/src/components/cascader.d.ts +6 -2
- package/es/packages/form-render/src/components/cascader.mjs +12 -6
- package/es/packages/form-render/src/components/select.d.ts +12 -2
- package/es/packages/form-render/src/components/select.mjs +65 -29
- package/es/packages/form-render/src/constants/index.d.ts +4 -1
- package/es/packages/form-render/src/constants/index.mjs +3 -1
- package/es/packages/form-render/src/hooks/index.d.ts +11 -9
- package/es/packages/form-render/src/hooks/index.mjs +2 -0
- package/es/packages/form-render/src/hooks/useAsyncQueue.d.ts +13 -33
- package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -3
- package/es/packages/form-render/src/hooks/useBusinessBinding.mjs +15 -15
- package/es/packages/form-render/src/hooks/useChangeContext.d.ts +11 -0
- package/es/packages/form-render/src/hooks/useChangeContext.mjs +21 -0
- package/es/packages/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/packages/form-render/src/hooks/useFormField.mjs +7 -1
- package/es/packages/form-render/src/hooks/useFormItemDeps.d.ts +8 -0
- package/es/packages/form-render/src/hooks/useFormItemDeps.mjs +29 -0
- package/es/packages/form-render/src/types/index.d.ts +16 -6
- package/es/packages/form-render/src/utils/index.d.ts +5 -3
- package/es/packages/form-render/src/utils/index.mjs +13 -1
- package/es/packages/form-table/style/index.less +301 -301
- package/es/packages/grid/style/index.less +12 -12
- package/es/packages/index.css +0 -3
- package/es/packages/index.less +2941 -2945
- package/es/packages/index.mjs +2 -0
- package/es/packages/info-header/index.d.ts +18 -2
- package/es/packages/info-header/src/HiddenContent.vue.d.ts +29 -13
- package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.mjs +6 -4
- package/es/packages/info-header/src/InfoHeader.vue.d.ts +18 -2
- package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.mjs +10 -5
- package/es/packages/info-header/style/index.css +0 -3
- package/es/packages/info-header/style/index.less +149 -153
- package/es/packages/map/style/index.less +59 -59
- package/es/packages/scale-view/style/index.less +748 -748
- package/es/packages/select-label/src/LabelFormContent.vue.d.ts +0 -3
- package/es/packages/select-label/style/index.less +151 -151
- package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/packages/select-person/style/index.less +229 -229
- package/es/packages/time-line/style/index.less +34 -34
- package/es/src/types/index.d.ts +1 -0
- package/es/src/utils/anime.mjs +1 -1
- package/global.d.ts +8 -8
- package/package.json +1 -1
- package/yarn-error.log +8659 -103
package/es/packages/index.mjs
CHANGED
|
@@ -39,6 +39,8 @@ export { useFieldVisitor } from './form-render/src/hooks/useFieldVisitor.mjs';
|
|
|
39
39
|
export { useTypeNormalize } from './form-render/src/hooks/useTypeNormalize.mjs';
|
|
40
40
|
export { useFormValidator } from './form-render/src/hooks/useFormValidator.mjs';
|
|
41
41
|
export { BusinessCollector, useBusinessBinding } from './form-render/src/hooks/useBusinessBinding.mjs';
|
|
42
|
+
export { ContextCollector, useChangeContext } from './form-render/src/hooks/useChangeContext.mjs';
|
|
43
|
+
export { FormItemDepsCollector, useFormItemDeps } from './form-render/src/hooks/useFormItemDeps.mjs';
|
|
42
44
|
|
|
43
45
|
const components = {
|
|
44
46
|
CGrid: Grid,
|
|
@@ -97,7 +97,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
97
97
|
color: string;
|
|
98
98
|
textColor: string;
|
|
99
99
|
};
|
|
100
|
-
|
|
100
|
+
getDescriptionItemStyle: ({ bold, contentStyle }?: import("cnhis-design-vue/es/src/types").AnyObject) => import("vue").CSSProperties;
|
|
101
|
+
getEllipsisStyle: (index: number, { bold, contentStyle }?: import("cnhis-design-vue/es/src/types").AnyObject) => import("vue").CSSProperties;
|
|
101
102
|
needHidden: (item: import("cnhis-design-vue/es/src/types").AnyObject) => boolean;
|
|
102
103
|
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
103
104
|
columnNum: import("vue").Ref<number>;
|
|
@@ -1430,6 +1431,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1430
1431
|
width: {
|
|
1431
1432
|
type: NumberConstructor;
|
|
1432
1433
|
};
|
|
1434
|
+
contentStyle: {
|
|
1435
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
1436
|
+
default: () => {};
|
|
1437
|
+
};
|
|
1433
1438
|
}, {
|
|
1434
1439
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1435
1440
|
content: {
|
|
@@ -1439,6 +1444,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1439
1444
|
width: {
|
|
1440
1445
|
type: NumberConstructor;
|
|
1441
1446
|
};
|
|
1447
|
+
contentStyle: {
|
|
1448
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
1449
|
+
default: () => {};
|
|
1450
|
+
};
|
|
1442
1451
|
}>> & {
|
|
1443
1452
|
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1444
1453
|
}>>;
|
|
@@ -1448,7 +1457,9 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1448
1457
|
maxWidth: string;
|
|
1449
1458
|
width: string;
|
|
1450
1459
|
}>;
|
|
1451
|
-
|
|
1460
|
+
parsedContentStyle: import("vue").ComputedRef<"" | (import("vue").CSSProperties & {
|
|
1461
|
+
maxWidth: string;
|
|
1462
|
+
})>;
|
|
1452
1463
|
displayContent: import("vue").ComputedRef<string>;
|
|
1453
1464
|
NEllipsis: import("vue").DefineComponent<{
|
|
1454
1465
|
readonly expandTrigger: import("vue").PropType<"click">;
|
|
@@ -1781,7 +1792,12 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1781
1792
|
width: {
|
|
1782
1793
|
type: NumberConstructor;
|
|
1783
1794
|
};
|
|
1795
|
+
contentStyle: {
|
|
1796
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
1797
|
+
default: () => {};
|
|
1798
|
+
};
|
|
1784
1799
|
}>>, {
|
|
1800
|
+
contentStyle: import("vue").CSSProperties;
|
|
1785
1801
|
content: string;
|
|
1786
1802
|
}>;
|
|
1787
1803
|
}, 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<{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties, PropType } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
content: {
|
|
3
4
|
type: StringConstructor;
|
|
@@ -6,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
7
|
width: {
|
|
7
8
|
type: NumberConstructor;
|
|
8
9
|
};
|
|
10
|
+
contentStyle: {
|
|
11
|
+
type: PropType<CSSProperties>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
9
14
|
}, {
|
|
10
15
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
16
|
content: {
|
|
@@ -15,6 +20,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
20
|
width: {
|
|
16
21
|
type: NumberConstructor;
|
|
17
22
|
};
|
|
23
|
+
contentStyle: {
|
|
24
|
+
type: PropType<CSSProperties>;
|
|
25
|
+
default: () => {};
|
|
26
|
+
};
|
|
18
27
|
}>> & {
|
|
19
28
|
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
20
29
|
}>>;
|
|
@@ -24,16 +33,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
33
|
maxWidth: string;
|
|
25
34
|
width: string;
|
|
26
35
|
}>;
|
|
27
|
-
|
|
36
|
+
parsedContentStyle: import("vue").ComputedRef<"" | (CSSProperties & {
|
|
37
|
+
maxWidth: string;
|
|
38
|
+
})>;
|
|
28
39
|
displayContent: import("vue").ComputedRef<string>;
|
|
29
40
|
NEllipsis: import("vue").DefineComponent<{
|
|
30
|
-
readonly expandTrigger:
|
|
31
|
-
readonly lineClamp:
|
|
41
|
+
readonly expandTrigger: PropType<"click">;
|
|
42
|
+
readonly lineClamp: PropType<string | number>;
|
|
32
43
|
readonly tooltip: {
|
|
33
|
-
readonly type:
|
|
44
|
+
readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
|
|
34
45
|
readonly default: true;
|
|
35
46
|
};
|
|
36
|
-
readonly theme:
|
|
47
|
+
readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
37
48
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
38
49
|
borderRadius: string;
|
|
39
50
|
boxShadow: string;
|
|
@@ -57,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
68
|
}, any>;
|
|
58
69
|
}>;
|
|
59
70
|
}>>;
|
|
60
|
-
readonly themeOverrides:
|
|
71
|
+
readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
61
72
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
62
73
|
borderRadius: string;
|
|
63
74
|
boxShadow: string;
|
|
@@ -81,7 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
92
|
}, any>;
|
|
82
93
|
}>;
|
|
83
94
|
}>>>;
|
|
84
|
-
readonly builtinThemeOverrides:
|
|
95
|
+
readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
85
96
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
86
97
|
borderRadius: string;
|
|
87
98
|
boxShadow: string;
|
|
@@ -268,13 +279,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
279
|
renderTrigger: () => JSX.Element;
|
|
269
280
|
getTooltipDisabled: () => boolean;
|
|
270
281
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
|
-
readonly expandTrigger:
|
|
272
|
-
readonly lineClamp:
|
|
282
|
+
readonly expandTrigger: PropType<"click">;
|
|
283
|
+
readonly lineClamp: PropType<string | number>;
|
|
273
284
|
readonly tooltip: {
|
|
274
|
-
readonly type:
|
|
285
|
+
readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
|
|
275
286
|
readonly default: true;
|
|
276
287
|
};
|
|
277
|
-
readonly theme:
|
|
288
|
+
readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
278
289
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
279
290
|
borderRadius: string;
|
|
280
291
|
boxShadow: string;
|
|
@@ -298,7 +309,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
298
309
|
}, any>;
|
|
299
310
|
}>;
|
|
300
311
|
}>>;
|
|
301
|
-
readonly themeOverrides:
|
|
312
|
+
readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
302
313
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
303
314
|
borderRadius: string;
|
|
304
315
|
boxShadow: string;
|
|
@@ -322,7 +333,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
322
333
|
}, any>;
|
|
323
334
|
}>;
|
|
324
335
|
}>>>;
|
|
325
|
-
readonly builtinThemeOverrides:
|
|
336
|
+
readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
|
|
326
337
|
Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
|
|
327
338
|
borderRadius: string;
|
|
328
339
|
boxShadow: string;
|
|
@@ -357,7 +368,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
357
368
|
width: {
|
|
358
369
|
type: NumberConstructor;
|
|
359
370
|
};
|
|
371
|
+
contentStyle: {
|
|
372
|
+
type: PropType<CSSProperties>;
|
|
373
|
+
default: () => {};
|
|
374
|
+
};
|
|
360
375
|
}>>, {
|
|
376
|
+
contentStyle: CSSProperties;
|
|
361
377
|
content: string;
|
|
362
378
|
}>;
|
|
363
379
|
export default _default;
|
|
@@ -6,7 +6,8 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
6
6
|
__name: "HiddenContent",
|
|
7
7
|
props: {
|
|
8
8
|
content: { type: String, default: "" },
|
|
9
|
-
width: { type: Number }
|
|
9
|
+
width: { type: Number },
|
|
10
|
+
contentStyle: { type: Object, default: () => ({}) }
|
|
10
11
|
},
|
|
11
12
|
setup(__props) {
|
|
12
13
|
const props = __props;
|
|
@@ -18,10 +19,11 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
18
19
|
const width = props.width + "px";
|
|
19
20
|
return { maxWidth: width, width };
|
|
20
21
|
});
|
|
21
|
-
const
|
|
22
|
+
const parsedContentStyle = computed(() => {
|
|
22
23
|
if (!props.width)
|
|
23
24
|
return "";
|
|
24
|
-
|
|
25
|
+
const maxWidth = props.width - 40 + "px";
|
|
26
|
+
return Object.assign({}, props.contentStyle, { maxWidth });
|
|
25
27
|
});
|
|
26
28
|
const displayContent = computed(() => {
|
|
27
29
|
const { content } = props;
|
|
@@ -41,7 +43,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
41
43
|
}, [
|
|
42
44
|
createElementVNode("div", _hoisted_1, [
|
|
43
45
|
createVNode(unref(NEllipsis), {
|
|
44
|
-
style: normalizeStyle(
|
|
46
|
+
style: normalizeStyle(unref(parsedContentStyle))
|
|
45
47
|
}, {
|
|
46
48
|
default: withCtx(() => [
|
|
47
49
|
createTextVNode(toDisplayString(unref(displayContent)), 1)
|
|
@@ -98,7 +98,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
98
|
color: string;
|
|
99
99
|
textColor: string;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
getDescriptionItemStyle: ({ bold, contentStyle }?: AnyObject) => CSSProperties;
|
|
102
|
+
getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => CSSProperties;
|
|
102
103
|
needHidden: (item: AnyObject) => boolean;
|
|
103
104
|
infoRef: import("vue").Ref<HTMLElement | undefined>;
|
|
104
105
|
columnNum: import("vue").Ref<number>;
|
|
@@ -1431,6 +1432,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1431
1432
|
width: {
|
|
1432
1433
|
type: NumberConstructor;
|
|
1433
1434
|
};
|
|
1435
|
+
contentStyle: {
|
|
1436
|
+
type: PropType<CSSProperties>;
|
|
1437
|
+
default: () => {};
|
|
1438
|
+
};
|
|
1434
1439
|
}, {
|
|
1435
1440
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1436
1441
|
content: {
|
|
@@ -1440,6 +1445,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1440
1445
|
width: {
|
|
1441
1446
|
type: NumberConstructor;
|
|
1442
1447
|
};
|
|
1448
|
+
contentStyle: {
|
|
1449
|
+
type: PropType<CSSProperties>;
|
|
1450
|
+
default: () => {};
|
|
1451
|
+
};
|
|
1443
1452
|
}>> & {
|
|
1444
1453
|
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1445
1454
|
}>>;
|
|
@@ -1449,7 +1458,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1449
1458
|
maxWidth: string;
|
|
1450
1459
|
width: string;
|
|
1451
1460
|
}>;
|
|
1452
|
-
|
|
1461
|
+
parsedContentStyle: import("vue").ComputedRef<"" | (CSSProperties & {
|
|
1462
|
+
maxWidth: string;
|
|
1463
|
+
})>;
|
|
1453
1464
|
displayContent: import("vue").ComputedRef<string>;
|
|
1454
1465
|
NEllipsis: import("vue").DefineComponent<{
|
|
1455
1466
|
readonly expandTrigger: PropType<"click">;
|
|
@@ -1782,7 +1793,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1782
1793
|
width: {
|
|
1783
1794
|
type: NumberConstructor;
|
|
1784
1795
|
};
|
|
1796
|
+
contentStyle: {
|
|
1797
|
+
type: PropType<CSSProperties>;
|
|
1798
|
+
default: () => {};
|
|
1799
|
+
};
|
|
1785
1800
|
}>>, {
|
|
1801
|
+
contentStyle: CSSProperties;
|
|
1786
1802
|
content: string;
|
|
1787
1803
|
}>;
|
|
1788
1804
|
}, 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<{
|
|
@@ -62,9 +62,12 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
textColor: type === "warning" ? "#ffffff" : "#2563F4"
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function getDescriptionItemStyle({ bold = true, contentStyle = {} } = {}) {
|
|
66
|
+
return { fontWeight: bold ? 700 : 500, ...contentStyle };
|
|
67
|
+
}
|
|
68
|
+
function getEllipsisStyle(index, { bold = true, contentStyle = {} } = {}) {
|
|
66
69
|
const width = descriptionWidthList.value[index] + "px";
|
|
67
|
-
return { width, maxWidth: width };
|
|
70
|
+
return { width, maxWidth: width, fontWeight: bold ? 700 : 500, ...contentStyle };
|
|
68
71
|
}
|
|
69
72
|
function needHidden(item) {
|
|
70
73
|
return ["\u7535\u8BDD", "\u8EAB\u4EFD\u8BC1"].some((key) => {
|
|
@@ -162,14 +165,16 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
162
165
|
renderer: item.slot,
|
|
163
166
|
"root-slots": _ctx.$slots,
|
|
164
167
|
item,
|
|
168
|
+
style: normalizeStyle(getDescriptionItemStyle(item)),
|
|
165
169
|
width: descriptionWidthList.value[index]
|
|
166
|
-
}, null, 8, ["renderer", "root-slots", "item", "width"])) : needHidden(item) ? (openBlock(), createBlock(script$1, {
|
|
170
|
+
}, null, 8, ["renderer", "root-slots", "item", "style", "width"])) : needHidden(item) ? (openBlock(), createBlock(script$1, {
|
|
167
171
|
key: 1,
|
|
168
172
|
content: item[__props.valueField],
|
|
173
|
+
"content-style": getDescriptionItemStyle(item),
|
|
169
174
|
width: descriptionWidthList.value[index]
|
|
170
|
-
}, null, 8, ["content", "width"])) : (openBlock(), createBlock(unref(NEllipsis), {
|
|
175
|
+
}, null, 8, ["content", "content-style", "width"])) : (openBlock(), createBlock(unref(NEllipsis), {
|
|
171
176
|
key: 2,
|
|
172
|
-
style: normalizeStyle(getEllipsisStyle(index))
|
|
177
|
+
style: normalizeStyle(getEllipsisStyle(index, item))
|
|
173
178
|
}, {
|
|
174
179
|
default: withCtx(() => {
|
|
175
180
|
var _a;
|
|
@@ -80,9 +80,6 @@
|
|
|
80
80
|
vertical-align: middle !important;
|
|
81
81
|
max-width: calc(var(--column-width) * 1px);
|
|
82
82
|
}
|
|
83
|
-
.c-info-header__info .n-descriptions-table-content__content {
|
|
84
|
-
font-weight: 700;
|
|
85
|
-
}
|
|
86
83
|
.c-info-header__info .n-descriptions-table-content__label {
|
|
87
84
|
display: inline-block;
|
|
88
85
|
}
|
|
@@ -1,153 +1,149 @@
|
|
|
1
|
-
.c-info-header {
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: "iconfont"; /* Project id 3468756 */
|
|
4
|
-
src: url('./iconfont.ttf?t=1655348824139') format('truetype');
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.iconfont {
|
|
8
|
-
font-family: "iconfont" !important;
|
|
9
|
-
font-size: 16px;
|
|
10
|
-
font-style: normal;
|
|
11
|
-
-webkit-font-smoothing: antialiased;
|
|
12
|
-
-moz-osx-font-smoothing: grayscale;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.icon-double_up:before {
|
|
16
|
-
content: "\e8c3";
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.icon-guanbi-yanjing:before {
|
|
20
|
-
content: "\e6e3";
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.icon-faxian-yanjing:before {
|
|
24
|
-
content: "\e6de";
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.icon-bianji:before {
|
|
28
|
-
content: "\e600";
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.icon-setting:before {
|
|
32
|
-
content: "\e785";
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.icon-double_down:before {
|
|
36
|
-
content: "\e8c2";
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
gap: 18px;
|
|
44
|
-
padding: 16px;
|
|
45
|
-
box-shadow: 0 2px 4px 0 rgba(176, 176, 176, 0.46);
|
|
46
|
-
background: white;
|
|
47
|
-
|
|
48
|
-
&__operation {
|
|
49
|
-
//
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&__divider {
|
|
53
|
-
width: 1px;
|
|
54
|
-
background: #d5d5d566;
|
|
55
|
-
align-self: stretch;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__patient {
|
|
59
|
-
display: flex;
|
|
60
|
-
gap: 12px;
|
|
61
|
-
margin-right: 34px;
|
|
62
|
-
|
|
63
|
-
&Header {
|
|
64
|
-
display: flex;
|
|
65
|
-
vertical-align: bottom;
|
|
66
|
-
align-items: baseline;
|
|
67
|
-
gap: 6px;
|
|
68
|
-
|
|
69
|
-
&--name {
|
|
70
|
-
font-size: 20px;
|
|
71
|
-
font-weight: 700;
|
|
72
|
-
margin-right: 6px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.n-tag {
|
|
76
|
-
align-self: flex-start;
|
|
77
|
-
border-radius: 4px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__info {
|
|
83
|
-
flex: 1;
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-wrap: wrap;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
justify-content: flex-start;
|
|
88
|
-
height: calc(var(--row-height) * var(--row-num) * 1px);
|
|
89
|
-
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
|
|
92
|
-
td {
|
|
93
|
-
text-align: left;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.n-descriptions-table-content {
|
|
97
|
-
padding-bottom: 0 !important;
|
|
98
|
-
height: calc(var(--row-height) * 1px);
|
|
99
|
-
vertical-align: middle !important;
|
|
100
|
-
max-width: calc(var(--column-width) * 1px);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.n-descriptions-table-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
text-decoration: none !important;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
.c-info-header {
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "iconfont"; /* Project id 3468756 */
|
|
4
|
+
src: url('./iconfont.ttf?t=1655348824139') format('truetype');
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.iconfont {
|
|
8
|
+
font-family: "iconfont" !important;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
-moz-osx-font-smoothing: grayscale;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.icon-double_up:before {
|
|
16
|
+
content: "\e8c3";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.icon-guanbi-yanjing:before {
|
|
20
|
+
content: "\e6e3";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.icon-faxian-yanjing:before {
|
|
24
|
+
content: "\e6de";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.icon-bianji:before {
|
|
28
|
+
content: "\e600";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.icon-setting:before {
|
|
32
|
+
content: "\e785";
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.icon-double_down:before {
|
|
36
|
+
content: "\e8c2";
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
gap: 18px;
|
|
44
|
+
padding: 16px;
|
|
45
|
+
box-shadow: 0 2px 4px 0 rgba(176, 176, 176, 0.46);
|
|
46
|
+
background: white;
|
|
47
|
+
|
|
48
|
+
&__operation {
|
|
49
|
+
//
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__divider {
|
|
53
|
+
width: 1px;
|
|
54
|
+
background: #d5d5d566;
|
|
55
|
+
align-self: stretch;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__patient {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 12px;
|
|
61
|
+
margin-right: 34px;
|
|
62
|
+
|
|
63
|
+
&Header {
|
|
64
|
+
display: flex;
|
|
65
|
+
vertical-align: bottom;
|
|
66
|
+
align-items: baseline;
|
|
67
|
+
gap: 6px;
|
|
68
|
+
|
|
69
|
+
&--name {
|
|
70
|
+
font-size: 20px;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
margin-right: 6px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.n-tag {
|
|
76
|
+
align-self: flex-start;
|
|
77
|
+
border-radius: 4px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__info {
|
|
83
|
+
flex: 1;
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-wrap: wrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
justify-content: flex-start;
|
|
88
|
+
height: calc(var(--row-height) * var(--row-num) * 1px);
|
|
89
|
+
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
|
|
92
|
+
td {
|
|
93
|
+
text-align: left;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.n-descriptions-table-content {
|
|
97
|
+
padding-bottom: 0 !important;
|
|
98
|
+
height: calc(var(--row-height) * 1px);
|
|
99
|
+
vertical-align: middle !important;
|
|
100
|
+
max-width: calc(var(--column-width) * 1px);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.n-descriptions-table-content__label {
|
|
104
|
+
display: inline-block;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__setting {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-self: flex-start;
|
|
111
|
+
gap: 8px;
|
|
112
|
+
|
|
113
|
+
&Icon {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.iconfont {
|
|
118
|
+
font-size: 20px;
|
|
119
|
+
color: black;
|
|
120
|
+
display: inline-block;
|
|
121
|
+
transition: all .2s ease-in-out;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.is-compact {
|
|
126
|
+
[compact-hidden] {
|
|
127
|
+
display: none !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.icon-double_down {
|
|
131
|
+
transform: rotate(180deg);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__hidden {
|
|
136
|
+
display: inline-flex;
|
|
137
|
+
vertical-align: middle;
|
|
138
|
+
align-items: center;
|
|
139
|
+
gap: 8px;
|
|
140
|
+
font-size: 14px;
|
|
141
|
+
|
|
142
|
+
&--icon {
|
|
143
|
+
color: inherit !important;
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
text-decoration: none !important;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|