cnhis-design-vue 3.2.15-beta.2 → 3.2.15-beta.8

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 (187) hide show
  1. package/README.md +87 -87
  2. package/es/components/ai-chat/src/components/ChatMain.js +1 -1
  3. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +1 -1
  4. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  5. package/es/components/branch-notice/index.d.ts +393 -6
  6. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +369 -6
  7. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
  8. package/es/components/branch-notice/src/canstants.d.ts +2 -1
  9. package/es/components/branch-notice/src/canstants.js +1 -1
  10. package/es/components/branch-notice/src/components/NoticeItem.vue.d.ts +168 -44
  11. package/es/components/branch-notice/src/components/NoticeItem.vue.js +1 -0
  12. package/es/components/branch-notice/src/components/NoticeItem.vue2.js +1 -0
  13. package/es/components/branch-notice/src/components/NoticeItemAside.vue.d.ts +74 -5
  14. package/es/components/branch-notice/src/components/NoticeItemAside.vue.js +1 -0
  15. package/es/components/branch-notice/src/components/NoticeItemAside.vue2.js +1 -0
  16. package/es/components/branch-notice/src/components/NoticeOperationList.vue.js +1 -0
  17. package/es/components/branch-notice/src/components/NoticeOperationList.vue2.js +1 -0
  18. package/es/components/branch-notice/src/drawLine.js +1 -1
  19. package/es/components/branch-notice/src/hooks/useTheme.d.ts +1 -0
  20. package/es/components/branch-notice/src/hooks/useTheme.js +1 -0
  21. package/es/components/branch-notice/src/types.d.ts +22 -4
  22. package/es/components/branch-notice/style/index.css +1 -1
  23. package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -1
  24. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  25. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  26. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  27. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  28. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -1
  29. package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
  30. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  31. package/es/components/expand-field/src/index.vue2.js +1 -1
  32. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  38. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  39. package/es/components/fabric-chart/src/hooks/index.d.ts +1 -0
  40. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  41. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  42. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  43. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  44. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  45. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  46. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  48. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  50. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  53. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  55. package/es/components/fabric-chart/src/hooks/{temperature/useShadow.d.ts → useShadow.d.ts} +2 -2
  56. package/es/components/fabric-chart/src/hooks/useShadow.js +1 -0
  57. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  58. package/es/components/fabric-chart/src/utils/index.js +1 -1
  59. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  60. package/es/components/field-set/src/FieldColor.vue2.js +1 -1
  61. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  62. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  63. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  64. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  65. package/es/components/field-set/src/TableStyle.vue2.js +1 -1
  66. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -1
  67. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -1
  68. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  69. package/es/components/field-set/src/constants/filter.js +1 -1
  70. package/es/components/field-set/src/constants/index.js +1 -1
  71. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  72. package/es/components/form-config/src/hooks/useLocale.js +1 -1
  73. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  74. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  75. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  76. package/es/components/form-render/src/components/renderer/date.js +1 -1
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  78. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  79. package/es/components/form-render/src/components/renderer/select.js +1 -1
  80. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  81. package/es/components/form-render/src/components/renderer/text.js +1 -1
  82. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  83. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  84. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  85. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  86. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  87. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  88. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  89. package/es/components/form-render/src/utils/index.js +1 -1
  90. package/es/components/iho-chat/index.d.ts +261 -27
  91. package/es/components/iho-chat/src/Index.vue.d.ts +261 -27
  92. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  93. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +1 -0
  94. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  95. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +2 -0
  96. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  97. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +2 -0
  98. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +11 -2
  99. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +4 -1
  100. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  101. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -0
  102. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +34 -34
  103. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  104. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +4 -1
  105. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  106. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +2 -0
  107. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  108. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +2 -1
  109. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  110. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +203 -4
  111. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  112. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -0
  113. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  114. package/es/components/iho-chat/src/components/userItemRender.d.ts +18 -0
  115. package/es/components/iho-chat/src/components/userItemRender.js +1 -0
  116. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  117. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  118. package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -0
  119. package/es/components/iho-chat/src/hooks/useWebSocket.js +1 -1
  120. package/es/components/iho-chat/src/types/index.d.ts +2 -0
  121. package/es/components/iho-chat/src/utils/index.js +1 -1
  122. package/es/components/iho-chat/style/index.css +1 -1
  123. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +1 -1
  124. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  125. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
  126. package/es/components/index.css +1 -1
  127. package/es/components/info-header/src/components/patientInfo/index.vue2.js +1 -1
  128. package/es/components/keyboard/src/components/NumberPanel.vue2.js +1 -1
  129. package/es/components/map/src/Map.vue2.js +1 -1
  130. package/es/components/quick-search/src/index.vue2.js +1 -1
  131. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  132. package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
  133. package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
  134. package/es/components/scale-view/src/hooks/scaleview-methods.js +1 -1
  135. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  136. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  137. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -1
  138. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
  139. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
  140. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -1
  141. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -1
  142. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  143. package/es/components/template-render/src/components/index.d.ts +23 -23
  144. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +1 -1
  145. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +1 -1
  146. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
  147. package/es/env.d.ts +25 -25
  148. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  149. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  150. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  151. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  152. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  153. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  154. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  155. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  156. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  157. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  158. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  159. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  160. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  161. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  162. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  163. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  164. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  165. package/es/shared/assets/img/failure.png.js +1 -1
  166. package/es/shared/assets/img/logo.png.js +1 -1
  167. package/es/shared/assets/img/no-permission.png.js +1 -1
  168. package/es/shared/assets/img/nodata.png.js +1 -1
  169. package/es/shared/assets/img/notfound.png.js +1 -1
  170. package/es/shared/assets/img/qr.png.js +1 -1
  171. package/es/shared/assets/img/success.png.js +1 -1
  172. package/es/shared/assets/img/table_style_2.png.js +1 -1
  173. package/es/shared/assets/img/video.png.js +1 -1
  174. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  175. package/es/shared/assets/img/xb_big.png.js +1 -1
  176. package/es/shared/assets/img/xb_small.png.js +1 -1
  177. package/es/shared/hooks/useLevelSearchCascader.js +1 -1
  178. package/es/shared/package.json.js +1 -1
  179. package/package.json +2 -2
  180. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  181. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  182. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  183. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  184. package/es/components/fabric-chart/src/hooks/temperature/useShadow.js +0 -1
  185. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  186. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  187. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1,9 +1,31 @@
1
- import { arrayed } from '../../../shared/utils';
2
1
  import { PropType } from 'vue';
3
2
  import { BranchNotice } from '../../../components/branch-notice/src/types';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  items: {
6
- type: PropType<BranchNotice.Item[]>;
5
+ type: PropType<Partial<{
6
+ header: string | import("../../../shared/types").AnyFn;
7
+ type: "warning" | "normal" | "primary";
8
+ icon: import("../../../shared/types").AnyFn | "warning";
9
+ topText: (string | import("../../../shared/types").AnyFn)[];
10
+ footerText: string | import("../../../shared/types").AnyFn;
11
+ content: string | import("../../../shared/types").AnyFn;
12
+ subContent: string | import("../../../shared/types").AnyFn;
13
+ noticeList: Partial<{
14
+ header: string | import("../../../shared/types").AnyFn;
15
+ content: string | import("../../../shared/types").AnyFn;
16
+ subContent: string | import("../../../shared/types").AnyFn;
17
+ }>[];
18
+ operationList: Partial<Partial<{
19
+ header: string | import("../../../shared/types").AnyFn;
20
+ content: string | import("../../../shared/types").AnyFn;
21
+ subContent: string | import("../../../shared/types").AnyFn;
22
+ }> & {
23
+ type: "warning" | "primary";
24
+ subHeader: string | import("../../../shared/types").AnyFn;
25
+ remark: string | import("../../../shared/types").AnyFn;
26
+ }>[];
27
+ children?: Partial<any>[][] | undefined;
28
+ }>[]>;
7
29
  default: () => never[];
8
30
  };
9
31
  rowCapacity: {
@@ -15,9 +37,33 @@ declare const _default: import("vue").DefineComponent<{
15
37
  default: number;
16
38
  };
17
39
  }, {
40
+ theme: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
18
41
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
19
42
  items: {
20
- type: PropType<BranchNotice.Item[]>;
43
+ type: PropType<Partial<{
44
+ header: string | import("../../../shared/types").AnyFn;
45
+ type: "warning" | "normal" | "primary";
46
+ icon: import("../../../shared/types").AnyFn | "warning";
47
+ topText: (string | import("../../../shared/types").AnyFn)[];
48
+ footerText: string | import("../../../shared/types").AnyFn;
49
+ content: string | import("../../../shared/types").AnyFn;
50
+ subContent: string | import("../../../shared/types").AnyFn;
51
+ noticeList: Partial<{
52
+ header: string | import("../../../shared/types").AnyFn;
53
+ content: string | import("../../../shared/types").AnyFn;
54
+ subContent: string | import("../../../shared/types").AnyFn;
55
+ }>[];
56
+ operationList: Partial<Partial<{
57
+ header: string | import("../../../shared/types").AnyFn;
58
+ content: string | import("../../../shared/types").AnyFn;
59
+ subContent: string | import("../../../shared/types").AnyFn;
60
+ }> & {
61
+ type: "warning" | "primary";
62
+ subHeader: string | import("../../../shared/types").AnyFn;
63
+ remark: string | import("../../../shared/types").AnyFn;
64
+ }>[];
65
+ children?: Partial<any>[][] | undefined;
66
+ }>[]>;
21
67
  default: () => never[];
22
68
  };
23
69
  rowCapacity: {
@@ -42,10 +88,304 @@ declare const _default: import("vue").DefineComponent<{
42
88
  width: string;
43
89
  height: string;
44
90
  }>;
45
- arrayed: typeof arrayed;
91
+ NoticeItem: import("vue").DefineComponent<{
92
+ item: {
93
+ type: PropType<Partial<{
94
+ header: string | import("../../../shared/types").AnyFn;
95
+ type: "warning" | "normal" | "primary";
96
+ icon: import("../../../shared/types").AnyFn | "warning";
97
+ topText: (string | import("../../../shared/types").AnyFn)[];
98
+ footerText: string | import("../../../shared/types").AnyFn;
99
+ content: string | import("../../../shared/types").AnyFn;
100
+ subContent: string | import("../../../shared/types").AnyFn;
101
+ noticeList: Partial<{
102
+ header: string | import("../../../shared/types").AnyFn;
103
+ content: string | import("../../../shared/types").AnyFn;
104
+ subContent: string | import("../../../shared/types").AnyFn;
105
+ }>[];
106
+ operationList: Partial<Partial<{
107
+ header: string | import("../../../shared/types").AnyFn;
108
+ content: string | import("../../../shared/types").AnyFn;
109
+ subContent: string | import("../../../shared/types").AnyFn;
110
+ }> & {
111
+ type: "warning" | "primary";
112
+ subHeader: string | import("../../../shared/types").AnyFn;
113
+ remark: string | import("../../../shared/types").AnyFn;
114
+ }>[];
115
+ children?: Partial<any>[][] | undefined;
116
+ }>>;
117
+ required: true;
118
+ };
119
+ }, {
120
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
121
+ item: {
122
+ type: PropType<Partial<{
123
+ header: string | import("../../../shared/types").AnyFn;
124
+ type: "warning" | "normal" | "primary";
125
+ icon: import("../../../shared/types").AnyFn | "warning";
126
+ topText: (string | import("../../../shared/types").AnyFn)[];
127
+ footerText: string | import("../../../shared/types").AnyFn;
128
+ content: string | import("../../../shared/types").AnyFn;
129
+ subContent: string | import("../../../shared/types").AnyFn;
130
+ noticeList: Partial<{
131
+ header: string | import("../../../shared/types").AnyFn;
132
+ content: string | import("../../../shared/types").AnyFn;
133
+ subContent: string | import("../../../shared/types").AnyFn;
134
+ }>[];
135
+ operationList: Partial<Partial<{
136
+ header: string | import("../../../shared/types").AnyFn;
137
+ content: string | import("../../../shared/types").AnyFn;
138
+ subContent: string | import("../../../shared/types").AnyFn;
139
+ }> & {
140
+ type: "warning" | "primary";
141
+ subHeader: string | import("../../../shared/types").AnyFn;
142
+ remark: string | import("../../../shared/types").AnyFn;
143
+ }>[];
144
+ children?: Partial<any>[][] | undefined;
145
+ }>>;
146
+ required: true;
147
+ };
148
+ }>> & {}>>;
149
+ itemRef: import("vue").Ref<Partial<{
150
+ header: string | import("../../../shared/types").AnyFn;
151
+ type: "warning" | "normal" | "primary";
152
+ icon: import("../../../shared/types").AnyFn | "warning";
153
+ topText: (string | import("../../../shared/types").AnyFn)[];
154
+ footerText: string | import("../../../shared/types").AnyFn;
155
+ content: string | import("../../../shared/types").AnyFn;
156
+ subContent: string | import("../../../shared/types").AnyFn;
157
+ noticeList: Partial<{
158
+ header: string | import("../../../shared/types").AnyFn;
159
+ content: string | import("../../../shared/types").AnyFn;
160
+ subContent: string | import("../../../shared/types").AnyFn;
161
+ }>[];
162
+ operationList: Partial<Partial<{
163
+ header: string | import("../../../shared/types").AnyFn;
164
+ content: string | import("../../../shared/types").AnyFn;
165
+ subContent: string | import("../../../shared/types").AnyFn;
166
+ }> & {
167
+ type: "warning" | "primary";
168
+ subHeader: string | import("../../../shared/types").AnyFn;
169
+ remark: string | import("../../../shared/types").AnyFn;
170
+ }>[];
171
+ children?: Partial<any>[][] | undefined;
172
+ }>>;
173
+ classList: import("vue").ComputedRef<string[]>;
174
+ frontStyle: import("vue").ComputedRef<{
175
+ minHeight: string;
176
+ }>;
177
+ popperDisabled: import("vue").ComputedRef<boolean>;
178
+ renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
179
+ [key: string]: any;
180
+ }> | import("../../../shared/types").AnyFn | null;
181
+ NoticeItemAside: import("vue").DefineComponent<{
182
+ item: {
183
+ type: PropType<Partial<{
184
+ header: string | import("../../../shared/types").AnyFn;
185
+ type: "warning" | "normal" | "primary";
186
+ icon: import("../../../shared/types").AnyFn | "warning";
187
+ topText: (string | import("../../../shared/types").AnyFn)[];
188
+ footerText: string | import("../../../shared/types").AnyFn;
189
+ content: string | import("../../../shared/types").AnyFn;
190
+ subContent: string | import("../../../shared/types").AnyFn;
191
+ noticeList: Partial<{
192
+ header: string | import("../../../shared/types").AnyFn;
193
+ content: string | import("../../../shared/types").AnyFn;
194
+ subContent: string | import("../../../shared/types").AnyFn;
195
+ }>[];
196
+ operationList: Partial<Partial<{
197
+ header: string | import("../../../shared/types").AnyFn;
198
+ content: string | import("../../../shared/types").AnyFn;
199
+ subContent: string | import("../../../shared/types").AnyFn;
200
+ }> & {
201
+ type: "warning" | "primary";
202
+ subHeader: string | import("../../../shared/types").AnyFn;
203
+ remark: string | import("../../../shared/types").AnyFn;
204
+ }>[];
205
+ children?: Partial<any>[][] | undefined;
206
+ }>>;
207
+ required: true;
208
+ };
209
+ }, {
210
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
211
+ item: {
212
+ type: PropType<Partial<{
213
+ header: string | import("../../../shared/types").AnyFn;
214
+ type: "warning" | "normal" | "primary";
215
+ icon: import("../../../shared/types").AnyFn | "warning";
216
+ topText: (string | import("../../../shared/types").AnyFn)[];
217
+ footerText: string | import("../../../shared/types").AnyFn;
218
+ content: string | import("../../../shared/types").AnyFn;
219
+ subContent: string | import("../../../shared/types").AnyFn;
220
+ noticeList: Partial<{
221
+ header: string | import("../../../shared/types").AnyFn;
222
+ content: string | import("../../../shared/types").AnyFn;
223
+ subContent: string | import("../../../shared/types").AnyFn;
224
+ }>[];
225
+ operationList: Partial<Partial<{
226
+ header: string | import("../../../shared/types").AnyFn;
227
+ content: string | import("../../../shared/types").AnyFn;
228
+ subContent: string | import("../../../shared/types").AnyFn;
229
+ }> & {
230
+ type: "warning" | "primary";
231
+ subHeader: string | import("../../../shared/types").AnyFn;
232
+ remark: string | import("../../../shared/types").AnyFn;
233
+ }>[];
234
+ children?: Partial<any>[][] | undefined;
235
+ }>>;
236
+ required: true;
237
+ };
238
+ }>> & {}>>;
239
+ getPositionInList: (index: number) => "center" | "first" | "last";
240
+ placementMap: {
241
+ first: string;
242
+ center: string;
243
+ last: string;
244
+ };
245
+ getPlacement: (index: number) => string;
246
+ getAsideClassList: (noticeItem: Partial<{
247
+ header: string | import("../../../shared/types").AnyFn;
248
+ content: string | import("../../../shared/types").AnyFn;
249
+ subContent: string | import("../../../shared/types").AnyFn;
250
+ }>, index: number) => (string | {
251
+ 'is-active': string | import("../../../shared/types").AnyFn | undefined;
252
+ })[];
253
+ theme: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
254
+ NPopover: any;
255
+ parseRender: typeof import("../../step-notice/src/utils").parseRender;
256
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
257
+ item: {
258
+ type: PropType<Partial<{
259
+ header: string | import("../../../shared/types").AnyFn;
260
+ type: "warning" | "normal" | "primary";
261
+ icon: import("../../../shared/types").AnyFn | "warning";
262
+ topText: (string | import("../../../shared/types").AnyFn)[];
263
+ footerText: string | import("../../../shared/types").AnyFn;
264
+ content: string | import("../../../shared/types").AnyFn;
265
+ subContent: string | import("../../../shared/types").AnyFn;
266
+ noticeList: Partial<{
267
+ header: string | import("../../../shared/types").AnyFn;
268
+ content: string | import("../../../shared/types").AnyFn;
269
+ subContent: string | import("../../../shared/types").AnyFn;
270
+ }>[];
271
+ operationList: Partial<Partial<{
272
+ header: string | import("../../../shared/types").AnyFn;
273
+ content: string | import("../../../shared/types").AnyFn;
274
+ subContent: string | import("../../../shared/types").AnyFn;
275
+ }> & {
276
+ type: "warning" | "primary";
277
+ subHeader: string | import("../../../shared/types").AnyFn;
278
+ remark: string | import("../../../shared/types").AnyFn;
279
+ }>[];
280
+ children?: Partial<any>[][] | undefined;
281
+ }>>;
282
+ required: true;
283
+ };
284
+ }>>, {}>;
285
+ NoticeOperationList: import("vue").DefineComponent<{
286
+ operationList: {
287
+ type: PropType<Partial<Partial<{
288
+ header: string | import("../../../shared/types").AnyFn;
289
+ content: string | import("../../../shared/types").AnyFn;
290
+ subContent: string | import("../../../shared/types").AnyFn;
291
+ }> & {
292
+ type: "warning" | "primary";
293
+ subHeader: string | import("../../../shared/types").AnyFn;
294
+ remark: string | import("../../../shared/types").AnyFn;
295
+ }>[] | undefined>;
296
+ required: true;
297
+ };
298
+ }, {
299
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
300
+ operationList: {
301
+ type: PropType<Partial<Partial<{
302
+ header: string | import("../../../shared/types").AnyFn;
303
+ content: string | import("../../../shared/types").AnyFn;
304
+ subContent: string | import("../../../shared/types").AnyFn;
305
+ }> & {
306
+ type: "warning" | "primary";
307
+ subHeader: string | import("../../../shared/types").AnyFn;
308
+ remark: string | import("../../../shared/types").AnyFn;
309
+ }>[] | undefined>;
310
+ required: true;
311
+ };
312
+ }>> & {}>>;
313
+ theme: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
314
+ CheckmarkCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
315
+ CloseCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
316
+ parseRender: typeof import("../../step-notice/src/utils").parseRender;
317
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
318
+ operationList: {
319
+ type: PropType<Partial<Partial<{
320
+ header: string | import("../../../shared/types").AnyFn;
321
+ content: string | import("../../../shared/types").AnyFn;
322
+ subContent: string | import("../../../shared/types").AnyFn;
323
+ }> & {
324
+ type: "warning" | "primary";
325
+ subHeader: string | import("../../../shared/types").AnyFn;
326
+ remark: string | import("../../../shared/types").AnyFn;
327
+ }>[] | undefined>;
328
+ required: true;
329
+ };
330
+ }>>, {}>;
331
+ NPopover: any;
332
+ parseRender: typeof import("../../step-notice/src/utils").parseRender;
333
+ parseTitle: typeof import("../../step-notice/src/utils").parseTitle;
334
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
335
+ item: {
336
+ type: PropType<Partial<{
337
+ header: string | import("../../../shared/types").AnyFn;
338
+ type: "warning" | "normal" | "primary";
339
+ icon: import("../../../shared/types").AnyFn | "warning";
340
+ topText: (string | import("../../../shared/types").AnyFn)[];
341
+ footerText: string | import("../../../shared/types").AnyFn;
342
+ content: string | import("../../../shared/types").AnyFn;
343
+ subContent: string | import("../../../shared/types").AnyFn;
344
+ noticeList: Partial<{
345
+ header: string | import("../../../shared/types").AnyFn;
346
+ content: string | import("../../../shared/types").AnyFn;
347
+ subContent: string | import("../../../shared/types").AnyFn;
348
+ }>[];
349
+ operationList: Partial<Partial<{
350
+ header: string | import("../../../shared/types").AnyFn;
351
+ content: string | import("../../../shared/types").AnyFn;
352
+ subContent: string | import("../../../shared/types").AnyFn;
353
+ }> & {
354
+ type: "warning" | "primary";
355
+ subHeader: string | import("../../../shared/types").AnyFn;
356
+ remark: string | import("../../../shared/types").AnyFn;
357
+ }>[];
358
+ children?: Partial<any>[][] | undefined;
359
+ }>>;
360
+ required: true;
361
+ };
362
+ }>>, {}>;
46
363
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
364
  items: {
48
- type: PropType<BranchNotice.Item[]>;
365
+ type: PropType<Partial<{
366
+ header: string | import("../../../shared/types").AnyFn;
367
+ type: "warning" | "normal" | "primary";
368
+ icon: import("../../../shared/types").AnyFn | "warning";
369
+ topText: (string | import("../../../shared/types").AnyFn)[];
370
+ footerText: string | import("../../../shared/types").AnyFn;
371
+ content: string | import("../../../shared/types").AnyFn;
372
+ subContent: string | import("../../../shared/types").AnyFn;
373
+ noticeList: Partial<{
374
+ header: string | import("../../../shared/types").AnyFn;
375
+ content: string | import("../../../shared/types").AnyFn;
376
+ subContent: string | import("../../../shared/types").AnyFn;
377
+ }>[];
378
+ operationList: Partial<Partial<{
379
+ header: string | import("../../../shared/types").AnyFn;
380
+ content: string | import("../../../shared/types").AnyFn;
381
+ subContent: string | import("../../../shared/types").AnyFn;
382
+ }> & {
383
+ type: "warning" | "primary";
384
+ subHeader: string | import("../../../shared/types").AnyFn;
385
+ remark: string | import("../../../shared/types").AnyFn;
386
+ }>[];
387
+ children?: Partial<any>[][] | undefined;
388
+ }>[]>;
49
389
  default: () => never[];
50
390
  };
51
391
  rowCapacity: {
@@ -57,7 +397,30 @@ declare const _default: import("vue").DefineComponent<{
57
397
  default: number;
58
398
  };
59
399
  }>>, {
60
- items: BranchNotice.Item[];
400
+ items: Partial<{
401
+ header: string | import("../../../shared/types").AnyFn;
402
+ type: "warning" | "normal" | "primary";
403
+ icon: import("../../../shared/types").AnyFn | "warning";
404
+ topText: (string | import("../../../shared/types").AnyFn)[];
405
+ footerText: string | import("../../../shared/types").AnyFn;
406
+ content: string | import("../../../shared/types").AnyFn;
407
+ subContent: string | import("../../../shared/types").AnyFn;
408
+ noticeList: Partial<{
409
+ header: string | import("../../../shared/types").AnyFn;
410
+ content: string | import("../../../shared/types").AnyFn;
411
+ subContent: string | import("../../../shared/types").AnyFn;
412
+ }>[];
413
+ operationList: Partial<Partial<{
414
+ header: string | import("../../../shared/types").AnyFn;
415
+ content: string | import("../../../shared/types").AnyFn;
416
+ subContent: string | import("../../../shared/types").AnyFn;
417
+ }> & {
418
+ type: "warning" | "primary";
419
+ subHeader: string | import("../../../shared/types").AnyFn;
420
+ remark: string | import("../../../shared/types").AnyFn;
421
+ }>[];
422
+ children?: Partial<any>[][] | undefined;
423
+ }>[];
61
424
  rowCapacity: number;
62
425
  colSpace: string | number;
63
426
  }>;
@@ -1 +1 @@
1
- import{defineComponent as t,computed as e,openBlock as r,createElementBlock as a,normalizeStyle as n,unref as o,Fragment as l,renderList as i,normalizeClass as s,toDisplayString as c}from"vue";import{widthAppend as p,arrayed as h}from"../../../shared/utils/index.js";import{isEmpty as u,last as m}from"lodash-es";import{BRANCH_NOTICE_CONSTANTS as _}from"./canstants.js";import{lineToNextCard as y}from"./drawLine.js";const C={class:"branch-notice__itemContent"};var f=t({__name:"BranchNotice",props:{items:{type:Array,default:()=>[]},rowCapacity:{type:Number,default:7},colSpace:{type:[Number,String],default:125}},setup(t){const f=t;const d=e((()=>function(t){var e,r;let a=!u(null!=(r=null==(e=m(t))?void 0:e.children)?r:[]);const n=[];let o=null;if(t.forEach(((t,e)=>{const r=Math.floor(e/f.rowCapacity),a=e%f.rowCapacity*(_.CARD_WIDTH+_.CARD_SPACE),l=r*(_.CARD_HEIGHT+_.CARD_SPACE),i={item:t,x:a,y:l,class:`branch-notice__item branch-notice__item--${t.type||"primary"}`,style:A(a,l)};o&&n.push(...y(o,i)),n.push(o=i)})),a){const e=m(t).children;let r=0;const a=f.rowCapacity-t.length;e.forEach(((e,l)=>{Math.ceil(e.length/a);const i=e.reduce(((t,e,r)=>{const n=Math.floor(r/a);return t[n]||(t[n]=[]),t[n].push(e),t}),[]);let s=null;i.forEach(((e,a)=>{e.forEach(((e,l)=>{const i=(l+t.length)*(_.CARD_WIDTH+_.CARD_SPACE),c=r*(_.CARD_HEIGHT+_.CARD_SPACE),p={item:e,x:i,y:c,class:`branch-notice__item branch-notice__item--${e.type||"primary"}`,style:A(i,c)};0===a&&0===l&&n.push(...y(o,p)),s&&n.push(...y(s,p)),n.push(s=p)})),r+=1}))}))}return n}(f.items))),A=(t,e)=>({width:`${_.CARD_WIDTH}px`,height:`${_.CARD_HEIGHT}px`,left:`${t}px`,top:`${e}px`}),D=e((()=>({position:"relative",width:p(110+Math.max(...d.value.map((t=>t.x)))),height:p(74+Math.max(...d.value.map((t=>t.y))))})));return(t,e)=>(r(),a("section",{style:n(o(D))},[(r(!0),a(l,null,i(o(d),(t=>{var e,p;return r(),a("div",{style:n(t.style),class:s(t.class)},[(r(!0),a(l,null,i(o(h)(null!=(p=null==(e=t.item)?void 0:e.content)?p:[]),(t=>(r(),a("p",C,c(t),1)))),256))],6)})),256))],4))}});export{f as default};
1
+ import{defineComponent as t,computed as e,openBlock as o,createElementBlock as s,normalizeStyle as r,unref as a,Fragment as i,renderList as l,normalizeClass as n,createBlock as c,createCommentVNode as m}from"vue";import{widthAppend as p}from"../../../shared/utils/index.js";import{isEmpty as h,last as u}from"lodash-es";import{BRANCH_NOTICE_CONSTANTS as f}from"./canstants.js";import{lineToNextCard as _}from"./drawLine.js";import{useBranchNoticeTheme as C}from"./hooks/useTheme.js";import y from"./components/NoticeItem.vue.js";var d=t({__name:"BranchNotice",props:{items:{type:Array,default:()=>[]},rowCapacity:{type:Number,default:7},colSpace:{type:[Number,String],default:125}},setup(t){const d=t,A=C();const D=e((()=>function(t){var e,o;let s=!h(null!=(o=null==(e=u(t))?void 0:e.children)?o:[]);const r=[];let a=null;if(t.forEach(((t,e)=>{const o=Math.floor(e/d.rowCapacity),s=e%d.rowCapacity*(f.CARD_WIDTH+f.CARD_X_SPACE),i=o*(f.CARD_HEIGHT+f.CARD_Y_SPACE),l={item:t,x:s,y:i,class:"branch-notice__item",style:v(s,i)};a&&r.push(..._(a,l)),r.push(a=l)})),s){const e=u(t).children;let o=0;const s=d.rowCapacity-t.length;e.forEach(((e,i)=>{Math.ceil(e.length/s);const l=e.reduce(((t,e,o)=>{const r=Math.floor(o/s);return t[r]||(t[r]=[]),t[r].push(e),t}),[]);let n=null;l.forEach(((e,s)=>{e.forEach(((e,i)=>{const l=(i+t.length)*(f.CARD_WIDTH+f.CARD_X_SPACE),c=o*(f.CARD_HEIGHT+f.CARD_Y_SPACE),m={item:e,x:l,y:c,class:"branch-notice__item",style:v(l,c)};0===s&&0===i&&r.push(..._(a,m)),n&&r.push(..._(n,m)),r.push(n=m)})),o+=1}))}))}return r}(d.items))),v=(t,e)=>({width:`${f.CARD_WIDTH}px`,height:`${f.CARD_HEIGHT}px`,left:`${t}px`,top:`${e}px`}),x=e((()=>({position:"relative",width:p(110+Math.max(...D.value.map((t=>t.x)))),height:p(74+Math.max(...D.value.map((t=>t.y)))),...A.value})));return(t,e)=>(o(),s("section",{style:r(a(x))},[(o(!0),s(i,null,l(a(D),(t=>(o(),s("div",{style:r(t.style),class:n(t.class)},[t.item?(o(),c(y,{key:0,item:t.item},null,8,["item"])):m("v-if",!0)],6)))),256))],4))}});export{d as default};
@@ -1,7 +1,8 @@
1
1
  export declare const BRANCH_NOTICE_CONSTANTS: {
2
2
  CARD_WIDTH: number;
3
3
  CARD_HEIGHT: number;
4
- CARD_SPACE: number;
4
+ CARD_X_SPACE: number;
5
+ CARD_Y_SPACE: number;
5
6
  BRANCH_POINT_RADIUS: number;
6
7
  LINE_WIDTH: number;
7
8
  };
@@ -1 +1 @@
1
- const A={CARD_WIDTH:110,CARD_HEIGHT:74,CARD_SPACE:40,BRANCH_POINT_RADIUS:8,LINE_WIDTH:4};export{A as BRANCH_NOTICE_CONSTANTS};
1
+ const _={CARD_WIDTH:110,CARD_HEIGHT:74,CARD_X_SPACE:40,CARD_Y_SPACE:60,BRANCH_POINT_RADIUS:8,LINE_WIDTH:4};export{_ as BRANCH_NOTICE_CONSTANTS};