cnhis-design-vue 3.1.9-beta.3 → 3.1.9-beta.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.
Files changed (103) hide show
  1. package/README.md +22 -22
  2. package/es/packages/big-table/index.d.ts +2 -0
  3. package/es/packages/big-table/src/BigTable.vue.d.ts +6 -17
  4. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +12 -64
  5. package/es/packages/big-table/style/index.less +557 -557
  6. package/es/packages/bpmn-workflow/style/index.less +29 -29
  7. package/es/packages/button-print/index.d.ts +21 -4
  8. package/es/packages/button-print/src/ButtonPrint.vue.d.ts +21 -4
  9. package/es/packages/button-print/src/components/IdentityVerification.vue.d.ts +8 -2
  10. package/es/packages/button-print/src/utils/print.es.min.mjs +179 -179
  11. package/es/packages/button-print/style/index.less +30 -30
  12. package/es/packages/chunk-upload/index.d.ts +8 -2
  13. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +11 -6
  14. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +9 -3
  15. package/es/packages/chunk-upload/style/index.less +394 -394
  16. package/es/packages/drag-layout/index.d.ts +20 -4
  17. package/es/packages/drag-layout/src/DragFormRightItem.vue.d.ts +12 -2
  18. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +22 -7
  19. package/es/packages/drag-layout/style/index.less +208 -208
  20. package/es/packages/field-set/index.d.ts +22 -6
  21. package/es/packages/field-set/index.mjs +2 -2
  22. package/es/packages/field-set/src/FieldSet.vue.d.ts +5171 -2473
  23. package/es/packages/field-set/src/FieldSet.vue_vue_type_script_setup_true_lang.mjs +11 -319
  24. package/es/packages/field-set/src/NewFieldSet.vue.d.ts +11 -3
  25. package/es/packages/field-set/src/OldFieldSet.mjs +4 -0
  26. package/es/packages/field-set/src/OldFieldSet.vue.d.ts +2610 -0
  27. package/es/packages/field-set/src/OldFieldSet.vue_vue_type_script_setup_true_lang.mjs +330 -0
  28. package/es/packages/field-set/style/index.less +157 -157
  29. package/es/packages/form-render/index.d.ts +264 -0
  30. package/es/packages/form-render/src/FormRender.vue.d.ts +264 -0
  31. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.mjs +21 -17
  32. package/es/packages/form-render/src/components/cascader.mjs +1 -1
  33. package/es/packages/form-render/src/components/select.mjs +40 -27
  34. package/es/packages/form-table/index.d.ts +28 -4
  35. package/es/packages/form-table/src/FormTable.vue.d.ts +28 -4
  36. package/es/packages/form-table/src/components/index.d.ts +28 -4
  37. package/es/packages/form-table/src/components/table-age.vue.d.ts +2 -0
  38. package/es/packages/form-table/src/components/table-digital.vue.d.ts +2 -0
  39. package/es/packages/form-table/src/components/table-input-password.vue.d.ts +2 -0
  40. package/es/packages/form-table/src/components/table-input.vue.d.ts +2 -0
  41. package/es/packages/form-table/src/components/table-search-more.vue.d.ts +8 -2
  42. package/es/packages/form-table/src/components/table-search.vue.d.ts +8 -2
  43. package/es/packages/form-table/src/components/table-textarea.vue.d.ts +2 -0
  44. package/es/packages/form-table/src/components/text-over-tooltip.vue.d.ts +2 -0
  45. package/es/packages/form-table/src/hooks/useDateType.mjs +1 -1
  46. package/es/packages/form-table/src/hooks/useSearch.mjs +1 -1
  47. package/es/packages/form-table/style/index.less +301 -301
  48. package/es/packages/grid/style/index.less +12 -12
  49. package/es/packages/index.css +27 -23
  50. package/es/packages/index.less +2451 -2448
  51. package/es/packages/info-header/index.d.ts +20 -4
  52. package/es/packages/info-header/src/HiddenContent.vue.d.ts +29 -13
  53. package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.mjs +6 -4
  54. package/es/packages/info-header/src/InfoHeader.vue.d.ts +20 -4
  55. package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.mjs +10 -5
  56. package/es/packages/info-header/style/index.css +0 -3
  57. package/es/packages/info-header/style/index.less +36 -40
  58. package/es/packages/map/index.d.ts +8 -2
  59. package/es/packages/map/src/Map.vue.d.ts +8 -2
  60. package/es/packages/map/style/index.less +59 -59
  61. package/es/packages/scale-view/index.d.ts +17 -4
  62. package/es/packages/scale-view/src/ScaleView.vue.d.ts +17 -4
  63. package/es/packages/scale-view/src/ScaleView.vue_vue_type_script_setup_true_lang.mjs +9 -2
  64. package/es/packages/scale-view/src/components/EvaluatePage.vue.d.ts +8 -2
  65. package/es/packages/scale-view/src/components/formitem/r-address.mjs +1 -1
  66. package/es/packages/scale-view/src/components/formitem/r-checkbox.mjs +10 -4
  67. package/es/packages/scale-view/src/components/formitem/r-collection.mjs +0 -1
  68. package/es/packages/scale-view/src/components/formitem/r-datetime.mjs +19 -10
  69. package/es/packages/scale-view/src/components/formitem/r-input.mjs +1 -1
  70. package/es/packages/scale-view/src/components/formitem/r-map.mjs +2 -1
  71. package/es/packages/scale-view/src/components/formitem/r-radio.mjs +10 -4
  72. package/es/packages/scale-view/src/components/formitem/r-select.mjs +6 -1
  73. package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +2 -0
  74. package/es/packages/scale-view/src/hooks/scaleview-computed.mjs +7 -7
  75. package/es/packages/scale-view/src/hooks/scaleview-init.mjs +4 -3
  76. package/es/packages/scale-view/src/hooks/scaleview-validate.mjs +85 -64
  77. package/es/packages/scale-view/src/hooks/use-component.d.ts +18 -4
  78. package/es/packages/scale-view/style/index.css +27 -20
  79. package/es/packages/scale-view/style/index.less +308 -301
  80. package/es/packages/select-label/index.d.ts +20 -4
  81. package/es/packages/select-label/src/LabelFormContent.vue.d.ts +10 -2
  82. package/es/packages/select-label/src/LabelFormContent.vue_vue_type_script_setup_true_lang.mjs +1 -1
  83. package/es/packages/select-label/src/SelectLabel.vue.d.ts +15 -11
  84. package/es/packages/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.mjs +1 -1
  85. package/es/packages/select-label/src/components/label-classify.vue.d.ts +10 -2
  86. package/es/packages/select-label/style/index.less +151 -151
  87. package/es/packages/select-person/index.d.ts +8 -2
  88. package/es/packages/select-person/src/SelectPerson.vue.d.ts +18 -14
  89. package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +16 -2
  90. package/es/packages/select-person/style/index.less +229 -229
  91. package/es/packages/time-line/index.d.ts +8 -2
  92. package/es/packages/time-line/src/TimeLine.vue.d.ts +8 -2
  93. package/es/packages/time-line/style/index.less +34 -34
  94. package/es/src/components/SelectPage/SelectPage.vue.d.ts +8 -2
  95. package/es/src/components/TextOverTooltip/TextOverTooltip.vue.d.ts +2 -0
  96. package/es/src/utils/utilExpand.mjs +46 -46
  97. package/global.d.ts +8 -8
  98. package/package.json +5 -3
  99. package/yarn-error.log +103 -8659
  100. package/es/packages/field-set/src/Index.mjs +0 -4
  101. package/es/packages/field-set/src/Index.vue_vue_type_script_setup_true_lang.mjs +0 -25
  102. package/es/packages/field-set/src/index.vue_vue_type_script_setup_true_lang2.mjs +0 -25
  103. package/es/packages/field-set/src/index2.mjs +0 -4
@@ -85,8 +85,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
85
85
  default: number;
86
86
  };
87
87
  }>> & {
88
- onFieldSet?: ((...args: any[]) => any) | undefined;
89
88
  onOpenPatientInfo?: ((...args: any[]) => any) | undefined;
89
+ onFieldSet?: ((...args: any[]) => any) | undefined;
90
90
  "onUpdate:compact"?: ((...args: any[]) => any) | undefined;
91
91
  }>>;
92
92
  emit: (event: "openPatientInfo" | "fieldSet" | "update:compact", ...args: any[]) => void;
@@ -97,7 +97,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
97
97
  color: string;
98
98
  textColor: string;
99
99
  };
100
- getEllipsisStyle: (index: number) => import("vue").CSSProperties;
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
- maxWidth: import("vue").ComputedRef<string>;
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<{
@@ -1827,8 +1843,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
1827
1843
  default: number;
1828
1844
  };
1829
1845
  }>> & {
1830
- onFieldSet?: ((...args: any[]) => any) | undefined;
1831
1846
  onOpenPatientInfo?: ((...args: any[]) => any) | undefined;
1847
+ onFieldSet?: ((...args: any[]) => any) | undefined;
1832
1848
  "onUpdate:compact"?: ((...args: any[]) => any) | undefined;
1833
1849
  }, {
1834
1850
  separator: string;
@@ -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
- maxWidth: import("vue").ComputedRef<string>;
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: import("vue").PropType<"click">;
31
- readonly lineClamp: import("vue").PropType<string | number>;
41
+ readonly expandTrigger: PropType<"click">;
42
+ readonly lineClamp: PropType<string | number>;
32
43
  readonly tooltip: {
33
- readonly type: import("vue").PropType<boolean | import("naive-ui").PopoverProps>;
44
+ readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
34
45
  readonly default: true;
35
46
  };
36
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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: import("vue").PropType<"click">;
272
- readonly lineClamp: import("vue").PropType<string | number>;
282
+ readonly expandTrigger: PropType<"click">;
283
+ readonly lineClamp: PropType<string | number>;
273
284
  readonly tooltip: {
274
- readonly type: import("vue").PropType<boolean | import("naive-ui").PopoverProps>;
285
+ readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
275
286
  readonly default: true;
276
287
  };
277
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
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 maxWidth = computed(() => {
22
+ const parsedContentStyle = computed(() => {
22
23
  if (!props.width)
23
24
  return "";
24
- return props.width - 40 + "px";
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({ maxWidth: unref(maxWidth) })
46
+ style: normalizeStyle(unref(parsedContentStyle))
45
47
  }, {
46
48
  default: withCtx(() => [
47
49
  createTextVNode(toDisplayString(unref(displayContent)), 1)
@@ -86,8 +86,8 @@ declare const _default: import("vue").DefineComponent<{
86
86
  default: number;
87
87
  };
88
88
  }>> & {
89
- onFieldSet?: ((...args: any[]) => any) | undefined;
90
89
  onOpenPatientInfo?: ((...args: any[]) => any) | undefined;
90
+ onFieldSet?: ((...args: any[]) => any) | undefined;
91
91
  "onUpdate:compact"?: ((...args: any[]) => any) | undefined;
92
92
  }>>;
93
93
  emit: (event: "openPatientInfo" | "fieldSet" | "update:compact", ...args: any[]) => void;
@@ -98,7 +98,8 @@ declare const _default: import("vue").DefineComponent<{
98
98
  color: string;
99
99
  textColor: string;
100
100
  };
101
- getEllipsisStyle: (index: number) => CSSProperties;
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
- maxWidth: import("vue").ComputedRef<string>;
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<{
@@ -1828,8 +1844,8 @@ declare const _default: import("vue").DefineComponent<{
1828
1844
  default: number;
1829
1845
  };
1830
1846
  }>> & {
1831
- onFieldSet?: ((...args: any[]) => any) | undefined;
1832
1847
  onOpenPatientInfo?: ((...args: any[]) => any) | undefined;
1848
+ onFieldSet?: ((...args: any[]) => any) | undefined;
1833
1849
  "onUpdate:compact"?: ((...args: any[]) => any) | undefined;
1834
1850
  }, {
1835
1851
  separator: string;
@@ -62,9 +62,12 @@ var script = /* @__PURE__ */ defineComponent({
62
62
  textColor: type === "warning" ? "#ffffff" : "#2563F4"
63
63
  };
64
64
  }
65
- function getEllipsisStyle(index) {
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,40 +1,40 @@
1
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
- }
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
38
 
39
39
 
40
40
  display: flex;
@@ -100,10 +100,6 @@
100
100
  max-width: calc(var(--column-width) * 1px);
101
101
  }
102
102
 
103
- .n-descriptions-table-content__content {
104
- font-weight: 700;
105
- }
106
-
107
103
  .n-descriptions-table-content__label {
108
104
  display: inline-block;
109
105
  }
@@ -100,7 +100,10 @@ declare const Map: SFCWithInstall<import("vue").DefineComponent<{
100
100
  readonly default: true;
101
101
  };
102
102
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
103
- readonly nativeFocusBehavior: BooleanConstructor;
103
+ readonly nativeFocusBehavior: {
104
+ readonly type: BooleanConstructor;
105
+ readonly default: boolean;
106
+ };
104
107
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
105
108
  heightTiny: string;
106
109
  heightSmall: string;
@@ -814,7 +817,10 @@ declare const Map: SFCWithInstall<import("vue").DefineComponent<{
814
817
  readonly default: true;
815
818
  };
816
819
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
817
- readonly nativeFocusBehavior: BooleanConstructor;
820
+ readonly nativeFocusBehavior: {
821
+ readonly type: BooleanConstructor;
822
+ readonly default: boolean;
823
+ };
818
824
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
819
825
  heightTiny: string;
820
826
  heightSmall: string;
@@ -100,7 +100,10 @@ declare const _default: import("vue").DefineComponent<{
100
100
  readonly default: true;
101
101
  };
102
102
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
103
- readonly nativeFocusBehavior: BooleanConstructor;
103
+ readonly nativeFocusBehavior: {
104
+ readonly type: BooleanConstructor;
105
+ readonly default: boolean;
106
+ };
104
107
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
105
108
  heightTiny: string;
106
109
  heightSmall: string;
@@ -814,7 +817,10 @@ declare const _default: import("vue").DefineComponent<{
814
817
  readonly default: true;
815
818
  };
816
819
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
817
- readonly nativeFocusBehavior: BooleanConstructor;
820
+ readonly nativeFocusBehavior: {
821
+ readonly type: BooleanConstructor;
822
+ readonly default: boolean;
823
+ };
818
824
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
819
825
  heightTiny: string;
820
826
  heightSmall: string;
@@ -1,60 +1,60 @@
1
- .c-map {
2
- width: 100%;
3
- min-height: 500px;
4
- height: 100%;
5
- overflow: hidden;
6
- text-align: left;
7
- ul,li {
8
- list-style: none;
9
- margin: 0;
10
- padding: 0;
11
- }
12
- #map-core {
13
- width: 100%;
14
- height: 250px;
15
- }
16
- .search-container {
17
- margin-top: 20px;
18
- height: 40px;
19
- .map-input-search {
20
- display: flex;
21
- .n-input {
22
- height: 32px;
23
- line-height: 32px;
24
- border-top-right-radius: 0;
25
- border-bottom-right-radius: 0;
26
- }
27
- .input-addon {
28
- height: 32px;
29
- line-height: 32px;
30
- .n-button {
31
- height: 100%;
32
- padding: 0 16px;
33
- border-top-left-radius: 0;
34
- border-bottom-left-radius: 0;
35
- }
36
- }
37
- }
38
- }
39
- .address-list {
40
- height: calc(100% - 75px);
41
- overflow-y: auto;
42
- .address-item {
43
- height: 60px;
44
- cursor: pointer;
45
- padding-top: 10px;
46
- .title {
47
- font-size: 16px;
48
- }
49
- span {
50
- font-size: 12px;
51
- color: #b9b9b9;
52
- }
53
- &:first-child {
54
- height: 57px;
55
- padding-top: 20px;
56
- line-height: 40px;
57
- }
58
- }
59
- }
1
+ .c-map {
2
+ width: 100%;
3
+ min-height: 500px;
4
+ height: 100%;
5
+ overflow: hidden;
6
+ text-align: left;
7
+ ul,li {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+ #map-core {
13
+ width: 100%;
14
+ height: 250px;
15
+ }
16
+ .search-container {
17
+ margin-top: 20px;
18
+ height: 40px;
19
+ .map-input-search {
20
+ display: flex;
21
+ .n-input {
22
+ height: 32px;
23
+ line-height: 32px;
24
+ border-top-right-radius: 0;
25
+ border-bottom-right-radius: 0;
26
+ }
27
+ .input-addon {
28
+ height: 32px;
29
+ line-height: 32px;
30
+ .n-button {
31
+ height: 100%;
32
+ padding: 0 16px;
33
+ border-top-left-radius: 0;
34
+ border-bottom-left-radius: 0;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ .address-list {
40
+ height: calc(100% - 75px);
41
+ overflow-y: auto;
42
+ .address-item {
43
+ height: 60px;
44
+ cursor: pointer;
45
+ padding-top: 10px;
46
+ .title {
47
+ font-size: 16px;
48
+ }
49
+ span {
50
+ font-size: 12px;
51
+ color: #b9b9b9;
52
+ }
53
+ &:first-child {
54
+ height: 57px;
55
+ padding-top: 20px;
56
+ line-height: 40px;
57
+ }
58
+ }
59
+ }
60
60
  }
@@ -249,6 +249,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
249
249
  confirmSubmit: (message: any) => void;
250
250
  onSubmitForm: () => void;
251
251
  cancel: () => void;
252
+ getScaleData: () => any;
252
253
  isCollection: (e: string) => boolean;
253
254
  NoData: import("vue").DefineComponent<{
254
255
  noDataTip: {
@@ -613,7 +614,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
613
614
  readonly default: true;
614
615
  };
615
616
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
616
- readonly nativeFocusBehavior: BooleanConstructor;
617
+ readonly nativeFocusBehavior: {
618
+ readonly type: BooleanConstructor;
619
+ readonly default: boolean;
620
+ };
617
621
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
618
622
  heightTiny: string;
619
623
  heightSmall: string;
@@ -1327,7 +1331,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
1327
1331
  readonly default: true;
1328
1332
  };
1329
1333
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
1330
- readonly nativeFocusBehavior: BooleanConstructor;
1334
+ readonly nativeFocusBehavior: {
1335
+ readonly type: BooleanConstructor;
1336
+ readonly default: boolean;
1337
+ };
1331
1338
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
1332
1339
  heightTiny: string;
1333
1340
  heightSmall: string;
@@ -2131,7 +2138,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
2131
2138
  readonly default: true;
2132
2139
  };
2133
2140
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
2134
- readonly nativeFocusBehavior: BooleanConstructor;
2141
+ readonly nativeFocusBehavior: {
2142
+ readonly type: BooleanConstructor;
2143
+ readonly default: boolean;
2144
+ };
2135
2145
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
2136
2146
  heightTiny: string;
2137
2147
  heightSmall: string;
@@ -2845,7 +2855,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
2845
2855
  readonly default: true;
2846
2856
  };
2847
2857
  readonly onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
2848
- readonly nativeFocusBehavior: BooleanConstructor;
2858
+ readonly nativeFocusBehavior: {
2859
+ readonly type: BooleanConstructor;
2860
+ readonly default: boolean;
2861
+ };
2849
2862
  readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Button", {
2850
2863
  heightTiny: string;
2851
2864
  heightSmall: string;