cnhis-design-vue 3.2.14-release.1 → 3.2.15-beta.5

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 (356) hide show
  1. package/README.md +87 -87
  2. package/es/components/ai-chat/index.d.ts +1 -0
  3. package/es/components/ai-chat/src/Index.vue.d.ts +1 -0
  4. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  5. package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +1 -0
  6. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
  7. package/es/components/ai-chat/src/components/ChatMain.js +1 -1
  8. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +1 -1
  9. package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +1 -1
  10. package/es/components/ai-chat/style/index.css +1 -1
  11. package/es/components/audio-sdk/src/components/recording.vue2.js +1 -1
  12. package/es/components/base-search/index.d.ts +8 -3
  13. package/es/components/base-search/src/index.vue.d.ts +8 -3
  14. package/es/components/base-search/src/index.vue2.js +1 -1
  15. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  16. package/es/components/big-table/src/components/NoData.vue2.js +1 -1
  17. package/es/components/big-table/src/components/edit-form/edit-date.js +1 -1
  18. package/es/components/big-table/src/components/edit-form/edit-input.js +1 -1
  19. package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
  20. package/es/components/big-table/src/components/edit-form/edit-time.js +1 -1
  21. package/es/components/big-table/src/components/input-button.vue2.js +1 -1
  22. package/es/components/big-table/src/hooks/useNestTable.js +1 -1
  23. package/es/components/big-table/src/hooks/useTableParse.js +1 -1
  24. package/es/components/body-select/src/index.vue2.js +1 -1
  25. package/es/components/branch-notice/index.d.ts +450 -0
  26. package/es/components/branch-notice/index.js +1 -0
  27. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +427 -0
  28. package/es/components/branch-notice/src/BranchNotice.vue.js +1 -0
  29. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -0
  30. package/es/components/branch-notice/src/canstants.d.ts +8 -0
  31. package/es/components/branch-notice/src/canstants.js +1 -0
  32. package/es/components/branch-notice/src/components/NoticeItem.vue.d.ts +275 -0
  33. package/es/components/branch-notice/src/components/NoticeItem.vue.js +1 -0
  34. package/es/components/branch-notice/src/components/NoticeItem.vue2.js +1 -0
  35. package/es/components/branch-notice/src/components/NoticeItemAside.vue.d.ts +104 -0
  36. package/es/components/branch-notice/src/components/NoticeItemAside.vue.js +1 -0
  37. package/es/components/branch-notice/src/components/NoticeItemAside.vue2.js +1 -0
  38. package/es/components/branch-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
  39. package/es/components/branch-notice/src/components/NoticeOperationList.vue.js +1 -0
  40. package/es/components/branch-notice/src/components/NoticeOperationList.vue2.js +1 -0
  41. package/es/components/branch-notice/src/drawLine.d.ts +2 -0
  42. package/es/components/branch-notice/src/drawLine.js +1 -0
  43. package/es/components/branch-notice/src/hooks/useTheme.d.ts +1 -0
  44. package/es/components/branch-notice/src/hooks/useTheme.js +1 -0
  45. package/es/components/branch-notice/src/types.d.ts +32 -0
  46. package/es/components/branch-notice/src/types.js +1 -0
  47. package/es/components/branch-notice/style/index.css +1 -0
  48. package/es/components/button-print/index.d.ts +4 -0
  49. package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -0
  50. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  51. package/es/components/button-print/src/components/EditFormat.vue2.js +1 -1
  52. package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -1
  53. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
  54. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  55. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  56. package/es/components/button-print/src/components/Preview.vue2.js +1 -1
  57. package/es/components/button-print/src/utils/dialog.js +1 -1
  58. package/es/components/button-print/src/utils/print.js +1 -1
  59. package/es/components/calendar/index.d.ts +4 -4
  60. package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
  61. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +1 -1
  62. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +1 -1
  63. package/es/components/classification/index.d.ts +1 -0
  64. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  65. package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
  66. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  67. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  68. package/es/components/classification/src/index.vue.d.ts +1 -0
  69. package/es/components/classification/src/index.vue2.js +1 -1
  70. package/es/components/classification/style/index.css +1 -1
  71. package/es/components/default-page/src/constants/index.js +1 -1
  72. package/es/components/default-page/src/index.vue2.js +1 -1
  73. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -1
  74. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +1 -1
  75. package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
  76. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  77. package/es/components/expand-field/src/index.vue2.js +1 -1
  78. package/es/components/expand-field/src/utils/constant.js +1 -1
  79. package/es/components/fabric-chart/index.d.ts +23 -4
  80. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +23 -4
  81. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  82. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  83. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +13 -0
  84. package/es/components/fabric-chart/src/components/PopupTip.vue2.js +1 -1
  85. package/es/components/fabric-chart/src/components/useStyle.js +1 -1
  86. package/es/components/fabric-chart/src/constants/index.d.ts +1 -1
  87. package/es/components/fabric-chart/src/constants/index.js +1 -1
  88. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  89. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +1 -0
  90. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  91. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
  92. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  93. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +1 -0
  94. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  95. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  96. package/es/components/fabric-chart/src/hooks/index.d.ts +1 -0
  97. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  98. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  99. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  100. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +1 -1
  101. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  102. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  103. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  104. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +1 -0
  105. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  106. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +7 -1
  107. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  108. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
  109. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  110. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  111. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  112. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +1 -0
  113. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  114. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  115. package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
  116. package/es/components/fabric-chart/src/hooks/{temperature/useShadow.d.ts → useShadow.d.ts} +2 -2
  117. package/es/components/fabric-chart/src/hooks/useShadow.js +1 -0
  118. package/es/components/fabric-chart/src/interface.d.ts +3 -0
  119. package/es/components/fabric-chart/src/utils/index.d.ts +2 -1
  120. package/es/components/fabric-chart/src/utils/index.js +1 -1
  121. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  122. package/es/components/field-set/src/FieldColor.vue2.js +1 -1
  123. package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -5
  124. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  125. package/es/components/field-set/src/FieldSet.vue.d.ts +3 -3
  126. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  127. package/es/components/field-set/src/Index.vue2.js +1 -1
  128. package/es/components/field-set/src/TableStyle.vue2.js +1 -1
  129. package/es/components/field-set/src/components/condition.vue2.js +1 -1
  130. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
  131. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -1
  132. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -1
  133. package/es/components/field-set/src/components/table-row.vue.d.ts +3 -3
  134. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  135. package/es/components/field-set/src/constants/filter.d.ts +21 -12
  136. package/es/components/field-set/src/constants/filter.js +1 -1
  137. package/es/components/field-set/src/constants/index.js +1 -1
  138. package/es/components/field-set/src/types/index.d.ts +1 -1
  139. package/es/components/form-config/index.d.ts +108 -3
  140. package/es/components/form-config/src/FormConfig.vue.d.ts +108 -3
  141. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  142. package/es/components/form-config/src/components/FormConfigEventSetting.vue.js +1 -0
  143. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -0
  144. package/es/components/form-config/src/constants/index.js +1 -1
  145. package/es/components/form-config/src/hooks/useLocale.js +1 -1
  146. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  147. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  148. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  149. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
  150. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +1 -1
  151. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  152. package/es/components/form-render/src/components/renderer/date.js +1 -1
  153. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  154. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  155. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  156. package/es/components/form-render/src/components/renderer/select.js +1 -1
  157. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  158. package/es/components/form-render/src/components/renderer/text.js +1 -1
  159. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  160. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  161. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  162. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  163. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  164. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  165. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  166. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  167. package/es/components/form-render/src/hooks/usePresetScope.d.ts +1 -1
  168. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  169. package/es/components/form-render/src/utils/index.js +1 -1
  170. package/es/components/iho-chat/index.d.ts +644 -63
  171. package/es/components/iho-chat/src/Index.vue.d.ts +647 -70
  172. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  173. package/es/components/iho-chat/src/api/index.d.ts +1 -0
  174. package/es/components/iho-chat/src/api/index.js +1 -1
  175. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +32 -1
  176. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  177. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +52 -3
  178. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  179. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +52 -2
  180. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  181. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +223 -13
  182. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  183. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +83 -7
  184. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  185. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +19 -1
  186. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  187. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +49 -10
  188. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  189. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +72 -5
  190. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
  191. package/es/components/iho-chat/src/components/ContextMenu.d.ts +11 -2
  192. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  193. package/es/components/iho-chat/src/components/MessageTemplate.vue.d.ts +1 -1
  194. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +1 -1
  195. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +51 -2
  196. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  197. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +20 -2
  198. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  199. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +70 -2
  200. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  201. package/es/components/iho-chat/src/components/Video.vue.d.ts +19 -1
  202. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  203. package/es/components/iho-chat/src/constants/index.d.ts +12 -3
  204. package/es/components/iho-chat/src/constants/index.js +1 -1
  205. package/es/components/iho-chat/src/hooks/index.d.ts +2 -2
  206. package/es/components/iho-chat/src/hooks/index.js +1 -1
  207. package/es/components/iho-chat/src/hooks/useData.d.ts +94 -0
  208. package/es/components/iho-chat/src/hooks/useData.js +1 -0
  209. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
  210. package/es/components/iho-chat/src/hooks/useVideo.d.ts +19 -1
  211. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  212. package/es/components/iho-chat/src/hooks/useWebSocket.d.ts +3 -0
  213. package/es/components/iho-chat/src/hooks/useWebSocket.js +1 -0
  214. package/es/components/iho-chat/src/types/index.d.ts +0 -6
  215. package/es/components/iho-chat/src/types/index.js +1 -1
  216. package/es/components/iho-chat/src/utils/chatSock.js +1 -1
  217. package/es/components/iho-chat/src/utils/index.d.ts +2 -0
  218. package/es/components/iho-chat/src/utils/index.js +1 -1
  219. package/es/components/iho-chat/style/index.css +1 -1
  220. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
  221. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +1 -1
  222. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  223. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  224. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
  225. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  226. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  227. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  228. package/es/components/iho-table/src/utils/index.js +1 -1
  229. package/es/components/index.css +1 -1
  230. package/es/components/index.d.ts +2 -1
  231. package/es/components/index.js +1 -1
  232. package/es/components/info-header/src/components/patientInfo/index.vue2.js +1 -1
  233. package/es/components/keyboard/src/Keyboard.vue2.js +1 -1
  234. package/es/components/keyboard/src/components/NumberPanel.vue2.js +1 -1
  235. package/es/components/map/src/Map.vue2.js +1 -1
  236. package/es/components/picture-clipper/src/PictureClipper.vue2.js +1 -1
  237. package/es/components/quick-search/index.d.ts +3 -1
  238. package/es/components/quick-search/src/index.vue.d.ts +3 -1
  239. package/es/components/quick-search/src/index.vue2.js +1 -1
  240. package/es/components/quick-search/style/index.css +1 -1
  241. package/es/components/recommend-search/src/components/BaseSearch.js +1 -1
  242. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +1 -1
  243. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +1 -1
  244. package/es/components/scale-view/index.d.ts +31 -0
  245. package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
  246. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  247. package/es/components/scale-view/src/components/NoData.vue2.js +1 -1
  248. package/es/components/scale-view/src/components/composables/choose-common.js +1 -1
  249. package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
  250. package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +9 -0
  251. package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
  252. package/es/components/scale-view/src/components/formitem/r-input.d.ts +9 -0
  253. package/es/components/scale-view/src/components/formitem/r-input.js +1 -1
  254. package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
  255. package/es/components/scale-view/src/components/formitem/r-radio.d.ts +9 -0
  256. package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
  257. package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
  258. package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
  259. package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
  260. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  261. package/es/components/scale-view/src/hooks/scaleview-methods.js +1 -1
  262. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
  263. package/es/components/scale-view/src/hooks/scaleview-props.js +1 -1
  264. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  265. package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -1
  266. package/es/components/scale-view/src/hooks/use-component.d.ts +72 -0
  267. package/es/components/scale-view/style/index.css +1 -1
  268. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
  269. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  270. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  271. package/es/components/select-label/src/components/label-classify.vue2.js +1 -1
  272. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +1 -1
  273. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -1
  274. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +1 -1
  275. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  276. package/es/components/select-person/src/SelectPersonType.vue2.js +1 -1
  277. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +1 -1
  278. package/es/components/select-person/src/index.vue2.js +1 -1
  279. package/es/components/slider-tree/src/index.vue2.js +1 -1
  280. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
  281. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
  282. package/es/components/table-export-field/src/index.vue2.js +1 -1
  283. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -1
  284. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -1
  285. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -1
  286. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  287. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  288. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  289. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +1 -1
  290. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +1 -1
  291. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +1 -1
  292. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +1 -1
  293. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
  294. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -1
  295. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -1
  296. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  297. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  298. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +1 -1
  299. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +1 -1
  300. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  301. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  302. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -1
  303. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +1 -1
  304. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +3 -1
  305. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  306. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  307. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  308. package/es/components/template-render/src/components/index.d.ts +23 -23
  309. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +1 -1
  310. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +1 -1
  311. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +1 -1
  312. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
  313. package/es/env.d.ts +25 -25
  314. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  315. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  316. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  317. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  318. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  319. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  320. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  321. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  322. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  323. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  324. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  325. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  326. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  327. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  328. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  329. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  330. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  331. package/es/shared/assets/img/failure.png.js +1 -1
  332. package/es/shared/assets/img/logo.png.js +1 -1
  333. package/es/shared/assets/img/no-permission.png.js +1 -1
  334. package/es/shared/assets/img/nodata.png.js +1 -1
  335. package/es/shared/assets/img/notfound.png.js +1 -1
  336. package/es/shared/assets/img/qr.png.js +1 -1
  337. package/es/shared/assets/img/success.png.js +1 -1
  338. package/es/shared/assets/img/table_style_2.png.js +1 -1
  339. package/es/shared/assets/img/video.png.js +1 -1
  340. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  341. package/es/shared/assets/img/xb_big.png.js +1 -1
  342. package/es/shared/assets/img/xb_small.png.js +1 -1
  343. package/es/shared/package.json.js +1 -1
  344. package/package.json +2 -2
  345. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  346. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  347. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  348. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  349. package/es/components/fabric-chart/src/hooks/temperature/useShadow.js +0 -1
  350. package/es/components/iho-chat/src/hooks/useSession.d.ts +0 -12
  351. package/es/components/iho-chat/src/hooks/useSession.js +0 -1
  352. package/es/components/iho-chat/src/hooks/useState.d.ts +0 -18
  353. package/es/components/iho-chat/src/hooks/useState.js +0 -1
  354. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  355. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  356. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -0,0 +1,275 @@
1
+ import { PropType } from 'vue';
2
+ import { parseRender, parseTitle } from '../../../../components/step-notice/src/utils';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ 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
+ }>>;
29
+ required: true;
30
+ };
31
+ }, {
32
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
33
+ item: {
34
+ type: PropType<Partial<{
35
+ header: string | import("../../../../shared/types").AnyFn;
36
+ type: "warning" | "normal" | "primary";
37
+ icon: import("../../../../shared/types").AnyFn | "warning";
38
+ topText: (string | import("../../../../shared/types").AnyFn)[];
39
+ footerText: string | import("../../../../shared/types").AnyFn;
40
+ content: string | import("../../../../shared/types").AnyFn;
41
+ subContent: string | import("../../../../shared/types").AnyFn;
42
+ noticeList: Partial<{
43
+ header: string | import("../../../../shared/types").AnyFn;
44
+ content: string | import("../../../../shared/types").AnyFn;
45
+ subContent: string | import("../../../../shared/types").AnyFn;
46
+ }>[];
47
+ operationList: Partial<Partial<{
48
+ header: string | import("../../../../shared/types").AnyFn;
49
+ content: string | import("../../../../shared/types").AnyFn;
50
+ subContent: string | import("../../../../shared/types").AnyFn;
51
+ }> & {
52
+ type: "warning" | "primary";
53
+ subHeader: string | import("../../../../shared/types").AnyFn;
54
+ remark: string | import("../../../../shared/types").AnyFn;
55
+ }>[];
56
+ children?: Partial<any>[][] | undefined;
57
+ }>>;
58
+ required: true;
59
+ };
60
+ }>> & {}>>;
61
+ itemRef: import("vue").Ref<Partial<{
62
+ header: string | import("../../../../shared/types").AnyFn;
63
+ type: "warning" | "normal" | "primary";
64
+ icon: import("../../../../shared/types").AnyFn | "warning";
65
+ topText: (string | import("../../../../shared/types").AnyFn)[];
66
+ footerText: string | import("../../../../shared/types").AnyFn;
67
+ content: string | import("../../../../shared/types").AnyFn;
68
+ subContent: string | import("../../../../shared/types").AnyFn;
69
+ noticeList: Partial<{
70
+ header: string | import("../../../../shared/types").AnyFn;
71
+ content: string | import("../../../../shared/types").AnyFn;
72
+ subContent: string | import("../../../../shared/types").AnyFn;
73
+ }>[];
74
+ operationList: Partial<Partial<{
75
+ header: string | import("../../../../shared/types").AnyFn;
76
+ content: string | import("../../../../shared/types").AnyFn;
77
+ subContent: string | import("../../../../shared/types").AnyFn;
78
+ }> & {
79
+ type: "warning" | "primary";
80
+ subHeader: string | import("../../../../shared/types").AnyFn;
81
+ remark: string | import("../../../../shared/types").AnyFn;
82
+ }>[];
83
+ children?: Partial<any>[][] | undefined;
84
+ }>>;
85
+ classList: import("vue").ComputedRef<string[]>;
86
+ frontStyle: import("vue").ComputedRef<{
87
+ minHeight: string;
88
+ }>;
89
+ popperDisabled: import("vue").ComputedRef<boolean>;
90
+ renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
91
+ [key: string]: any;
92
+ }> | import("../../../../shared/types").AnyFn | null;
93
+ NoticeItemAside: import("vue").DefineComponent<{
94
+ item: {
95
+ type: PropType<Partial<{
96
+ header: string | import("../../../../shared/types").AnyFn;
97
+ type: "warning" | "normal" | "primary";
98
+ icon: import("../../../../shared/types").AnyFn | "warning";
99
+ topText: (string | import("../../../../shared/types").AnyFn)[];
100
+ footerText: string | import("../../../../shared/types").AnyFn;
101
+ content: string | import("../../../../shared/types").AnyFn;
102
+ subContent: string | import("../../../../shared/types").AnyFn;
103
+ noticeList: Partial<{
104
+ header: string | import("../../../../shared/types").AnyFn;
105
+ content: string | import("../../../../shared/types").AnyFn;
106
+ subContent: string | import("../../../../shared/types").AnyFn;
107
+ }>[];
108
+ operationList: Partial<Partial<{
109
+ header: string | import("../../../../shared/types").AnyFn;
110
+ content: string | import("../../../../shared/types").AnyFn;
111
+ subContent: string | import("../../../../shared/types").AnyFn;
112
+ }> & {
113
+ type: "warning" | "primary";
114
+ subHeader: string | import("../../../../shared/types").AnyFn;
115
+ remark: string | import("../../../../shared/types").AnyFn;
116
+ }>[];
117
+ children?: Partial<any>[][] | undefined;
118
+ }>>;
119
+ required: true;
120
+ };
121
+ }, {
122
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
123
+ item: {
124
+ type: PropType<Partial<{
125
+ header: string | import("../../../../shared/types").AnyFn;
126
+ type: "warning" | "normal" | "primary";
127
+ icon: import("../../../../shared/types").AnyFn | "warning";
128
+ topText: (string | import("../../../../shared/types").AnyFn)[];
129
+ footerText: string | import("../../../../shared/types").AnyFn;
130
+ content: string | import("../../../../shared/types").AnyFn;
131
+ subContent: string | import("../../../../shared/types").AnyFn;
132
+ noticeList: Partial<{
133
+ header: string | import("../../../../shared/types").AnyFn;
134
+ content: string | import("../../../../shared/types").AnyFn;
135
+ subContent: string | import("../../../../shared/types").AnyFn;
136
+ }>[];
137
+ operationList: Partial<Partial<{
138
+ header: string | import("../../../../shared/types").AnyFn;
139
+ content: string | import("../../../../shared/types").AnyFn;
140
+ subContent: string | import("../../../../shared/types").AnyFn;
141
+ }> & {
142
+ type: "warning" | "primary";
143
+ subHeader: string | import("../../../../shared/types").AnyFn;
144
+ remark: string | import("../../../../shared/types").AnyFn;
145
+ }>[];
146
+ children?: Partial<any>[][] | undefined;
147
+ }>>;
148
+ required: true;
149
+ };
150
+ }>> & {}>>;
151
+ getPositionInList: (index: number) => "center" | "first" | "last";
152
+ placementMap: {
153
+ first: string;
154
+ center: string;
155
+ last: string;
156
+ };
157
+ getPlacement: (index: number) => string;
158
+ getAsideClassList: (noticeItem: Partial<{
159
+ header: string | import("../../../../shared/types").AnyFn;
160
+ content: string | import("../../../../shared/types").AnyFn;
161
+ subContent: string | import("../../../../shared/types").AnyFn;
162
+ }>, index: number) => (string | {
163
+ 'is-active': string | import("../../../../shared/types").AnyFn | undefined;
164
+ })[];
165
+ theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
166
+ NPopover: any;
167
+ parseRender: typeof parseRender;
168
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
169
+ item: {
170
+ type: PropType<Partial<{
171
+ header: string | import("../../../../shared/types").AnyFn;
172
+ type: "warning" | "normal" | "primary";
173
+ icon: import("../../../../shared/types").AnyFn | "warning";
174
+ topText: (string | import("../../../../shared/types").AnyFn)[];
175
+ footerText: string | import("../../../../shared/types").AnyFn;
176
+ content: string | import("../../../../shared/types").AnyFn;
177
+ subContent: string | import("../../../../shared/types").AnyFn;
178
+ noticeList: Partial<{
179
+ header: string | import("../../../../shared/types").AnyFn;
180
+ content: string | import("../../../../shared/types").AnyFn;
181
+ subContent: string | import("../../../../shared/types").AnyFn;
182
+ }>[];
183
+ operationList: Partial<Partial<{
184
+ header: string | import("../../../../shared/types").AnyFn;
185
+ content: string | import("../../../../shared/types").AnyFn;
186
+ subContent: string | import("../../../../shared/types").AnyFn;
187
+ }> & {
188
+ type: "warning" | "primary";
189
+ subHeader: string | import("../../../../shared/types").AnyFn;
190
+ remark: string | import("../../../../shared/types").AnyFn;
191
+ }>[];
192
+ children?: Partial<any>[][] | undefined;
193
+ }>>;
194
+ required: true;
195
+ };
196
+ }>>, {}>;
197
+ NoticeOperationList: import("vue").DefineComponent<{
198
+ operationList: {
199
+ type: PropType<Partial<Partial<{
200
+ header: string | import("../../../../shared/types").AnyFn;
201
+ content: string | import("../../../../shared/types").AnyFn;
202
+ subContent: string | import("../../../../shared/types").AnyFn;
203
+ }> & {
204
+ type: "warning" | "primary";
205
+ subHeader: string | import("../../../../shared/types").AnyFn;
206
+ remark: string | import("../../../../shared/types").AnyFn;
207
+ }>[] | undefined>;
208
+ required: true;
209
+ };
210
+ }, {
211
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
212
+ operationList: {
213
+ type: PropType<Partial<Partial<{
214
+ header: string | import("../../../../shared/types").AnyFn;
215
+ content: string | import("../../../../shared/types").AnyFn;
216
+ subContent: string | import("../../../../shared/types").AnyFn;
217
+ }> & {
218
+ type: "warning" | "primary";
219
+ subHeader: string | import("../../../../shared/types").AnyFn;
220
+ remark: string | import("../../../../shared/types").AnyFn;
221
+ }>[] | undefined>;
222
+ required: true;
223
+ };
224
+ }>> & {}>>;
225
+ theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
226
+ 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<{}>>, {}>;
227
+ 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<{}>>, {}>;
228
+ parseRender: typeof parseRender;
229
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
230
+ operationList: {
231
+ type: PropType<Partial<Partial<{
232
+ header: string | import("../../../../shared/types").AnyFn;
233
+ content: string | import("../../../../shared/types").AnyFn;
234
+ subContent: string | import("../../../../shared/types").AnyFn;
235
+ }> & {
236
+ type: "warning" | "primary";
237
+ subHeader: string | import("../../../../shared/types").AnyFn;
238
+ remark: string | import("../../../../shared/types").AnyFn;
239
+ }>[] | undefined>;
240
+ required: true;
241
+ };
242
+ }>>, {}>;
243
+ NPopover: any;
244
+ parseRender: typeof parseRender;
245
+ parseTitle: typeof parseTitle;
246
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
247
+ item: {
248
+ type: PropType<Partial<{
249
+ header: string | import("../../../../shared/types").AnyFn;
250
+ type: "warning" | "normal" | "primary";
251
+ icon: import("../../../../shared/types").AnyFn | "warning";
252
+ topText: (string | import("../../../../shared/types").AnyFn)[];
253
+ footerText: string | import("../../../../shared/types").AnyFn;
254
+ content: string | import("../../../../shared/types").AnyFn;
255
+ subContent: string | import("../../../../shared/types").AnyFn;
256
+ noticeList: Partial<{
257
+ header: string | import("../../../../shared/types").AnyFn;
258
+ content: string | import("../../../../shared/types").AnyFn;
259
+ subContent: string | import("../../../../shared/types").AnyFn;
260
+ }>[];
261
+ operationList: Partial<Partial<{
262
+ header: string | import("../../../../shared/types").AnyFn;
263
+ content: string | import("../../../../shared/types").AnyFn;
264
+ subContent: string | import("../../../../shared/types").AnyFn;
265
+ }> & {
266
+ type: "warning" | "primary";
267
+ subHeader: string | import("../../../../shared/types").AnyFn;
268
+ remark: string | import("../../../../shared/types").AnyFn;
269
+ }>[];
270
+ children?: Partial<any>[][] | undefined;
271
+ }>>;
272
+ required: true;
273
+ };
274
+ }>>, {}>;
275
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./NoticeItem.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","NoticeItem.vue"]]);export{r as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as t,toRef as e,computed as i,openBlock as n,createElementBlock as o,normalizeClass as r,unref as a,createVNode as s,withCtx as c,createElementVNode as l,createBlock as m,resolveDynamicComponent as u,Fragment as p,renderList as v,createCommentVNode as _,normalizeStyle as h,h as d}from"vue";import{AlertCircle as b}from"@vicons/ionicons5";import f from"./NoticeItemAside.vue.js";import y from"./NoticeOperationList.vue.js";import{NPopover as g}from"naive-ui";import{parseRender as x,parseTitle as k}from"../../../step-notice/src/utils.js";const C={class:"branch-notice__itemWrapper"},F={class:"branch-notice__icon"},T={key:0,class:"branch-notice__itemHeader"},w=["title"],j={key:0,class:"branch-notice__itemFrontContent"},L=["title"],H=["title"],N={key:1,class:"branch-notice__itemFooter"};var I=t({__name:"NoticeItem",props:{item:{type:Object,required:!0}},setup(t){const I=e(t,"item"),O=i((()=>[`branch-notice__item--${I.value.type||"primary"}`])),q=i((()=>({minHeight:"74px"}))),A=i((()=>{var t,e;return!(null==(e=null==(t=I.value)?void 0:t.operationList)?void 0:e.length)}));function S(){var t;const e=null==(t=I.value)?void 0:t.icon;return e?"warning"===e?d(b,{class:"branch-notice__icon--warning"}):e:null}return(e,i)=>{var d;return n(),o("section",{class:r(a(O)),style:{width:"100%",height:"100%"}},[s(a(g),{disabled:a(A),"keep-alive-on-hover":"",placement:"bottom-start",animated:!1,"show-arrow":!1},{trigger:c((()=>{var e;return[l("section",C,[l("span",F,[(n(),m(u(S)))]),(null==(e=t.item.topText)?void 0:e.length)?(n(),o("section",T,[(n(!0),o(p,null,v(t.item.topText,((t,e)=>(n(),o("span",{key:e},[(n(),m(u(a(x)(t))))])))),128))])):_("v-if",!0),l("section",{class:"branch-notice__itemFront",style:h(a(q))},[l("header",{class:"branch-notice__itemFrontHeader",title:a(k)(t.item.header)},[(n(),m(u(a(x)(t.item.header))))],8,w),t.item.content||t.item.subContent?(n(),o("section",j,[l("div",{class:"branch-notice__itemFrontContentText",title:a(k)(t.item.content)},[(n(),m(u(a(x)(t.item.content))))],8,L),l("div",{class:"branch-notice__itemFrontContentSubText",title:a(k)(t.item.subContent)},[(n(),m(u(a(x)(t.item.subContent))))],8,H)])):_("v-if",!0)],4),t.item.footerText?(n(),o("footer",N,[(n(),m(u(a(x)(t.item.footerText))))])):_("v-if",!0)])]})),default:c((()=>[s(y,{"operation-list":t.item.operationList},null,8,["operation-list"])])),_:1},8,["disabled"]),(null==(d=t.item.noticeList)?void 0:d.length)?(n(),m(f,{key:0,item:t.item},null,8,["item"])):_("v-if",!0)],2)}}});export{I as default};
@@ -0,0 +1,104 @@
1
+ import { PropType } from 'vue';
2
+ import { BranchNotice } from '../../../../components/branch-notice';
3
+ import { parseRender } from '../../../../components/step-notice/src/utils';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ item: {
6
+ type: PropType<Partial<{
7
+ header: string | import("../../../../shared/types").AnyFn;
8
+ type: "warning" | "normal" | "primary";
9
+ icon: import("../../../../shared/types").AnyFn | "warning";
10
+ topText: (string | import("../../../../shared/types").AnyFn)[];
11
+ footerText: string | import("../../../../shared/types").AnyFn;
12
+ content: string | import("../../../../shared/types").AnyFn;
13
+ subContent: string | import("../../../../shared/types").AnyFn;
14
+ noticeList: Partial<{
15
+ header: string | import("../../../../shared/types").AnyFn;
16
+ content: string | import("../../../../shared/types").AnyFn;
17
+ subContent: string | import("../../../../shared/types").AnyFn;
18
+ }>[];
19
+ operationList: Partial<Partial<{
20
+ header: string | import("../../../../shared/types").AnyFn;
21
+ content: string | import("../../../../shared/types").AnyFn;
22
+ subContent: string | import("../../../../shared/types").AnyFn;
23
+ }> & {
24
+ type: "warning" | "primary";
25
+ subHeader: string | import("../../../../shared/types").AnyFn;
26
+ remark: string | import("../../../../shared/types").AnyFn;
27
+ }>[];
28
+ children?: Partial<any>[][] | undefined;
29
+ }>>;
30
+ required: true;
31
+ };
32
+ }, {
33
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
34
+ item: {
35
+ type: PropType<Partial<{
36
+ header: string | import("../../../../shared/types").AnyFn;
37
+ type: "warning" | "normal" | "primary";
38
+ icon: import("../../../../shared/types").AnyFn | "warning";
39
+ topText: (string | import("../../../../shared/types").AnyFn)[];
40
+ footerText: string | import("../../../../shared/types").AnyFn;
41
+ content: string | import("../../../../shared/types").AnyFn;
42
+ subContent: string | import("../../../../shared/types").AnyFn;
43
+ noticeList: Partial<{
44
+ header: string | import("../../../../shared/types").AnyFn;
45
+ content: string | import("../../../../shared/types").AnyFn;
46
+ subContent: string | import("../../../../shared/types").AnyFn;
47
+ }>[];
48
+ operationList: Partial<Partial<{
49
+ header: string | import("../../../../shared/types").AnyFn;
50
+ content: string | import("../../../../shared/types").AnyFn;
51
+ subContent: string | import("../../../../shared/types").AnyFn;
52
+ }> & {
53
+ type: "warning" | "primary";
54
+ subHeader: string | import("../../../../shared/types").AnyFn;
55
+ remark: string | import("../../../../shared/types").AnyFn;
56
+ }>[];
57
+ children?: Partial<any>[][] | undefined;
58
+ }>>;
59
+ required: true;
60
+ };
61
+ }>> & {}>>;
62
+ getPositionInList: (index: number) => "center" | "first" | "last";
63
+ placementMap: {
64
+ first: string;
65
+ center: string;
66
+ last: string;
67
+ };
68
+ getPlacement: (index: number) => string;
69
+ getAsideClassList: (noticeItem: BranchNotice.NoticeItem, index: number) => (string | {
70
+ 'is-active': string | import("../../../../shared/types").AnyFn | undefined;
71
+ })[];
72
+ theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
73
+ NPopover: any;
74
+ parseRender: typeof parseRender;
75
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
76
+ item: {
77
+ type: PropType<Partial<{
78
+ header: string | import("../../../../shared/types").AnyFn;
79
+ type: "warning" | "normal" | "primary";
80
+ icon: import("../../../../shared/types").AnyFn | "warning";
81
+ topText: (string | import("../../../../shared/types").AnyFn)[];
82
+ footerText: string | import("../../../../shared/types").AnyFn;
83
+ content: string | import("../../../../shared/types").AnyFn;
84
+ subContent: string | import("../../../../shared/types").AnyFn;
85
+ noticeList: Partial<{
86
+ header: string | import("../../../../shared/types").AnyFn;
87
+ content: string | import("../../../../shared/types").AnyFn;
88
+ subContent: string | import("../../../../shared/types").AnyFn;
89
+ }>[];
90
+ operationList: Partial<Partial<{
91
+ header: string | import("../../../../shared/types").AnyFn;
92
+ content: string | import("../../../../shared/types").AnyFn;
93
+ subContent: string | import("../../../../shared/types").AnyFn;
94
+ }> & {
95
+ type: "warning" | "primary";
96
+ subHeader: string | import("../../../../shared/types").AnyFn;
97
+ remark: string | import("../../../../shared/types").AnyFn;
98
+ }>[];
99
+ children?: Partial<any>[][] | undefined;
100
+ }>>;
101
+ required: true;
102
+ };
103
+ }>>, {}>;
104
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./NoticeItemAside.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var i=t(e,[["__file","NoticeItemAside.vue"]]);export{i as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,openBlock as t,createElementBlock as n,Fragment as i,renderList as r,createBlock as o,unref as s,withCtx as c,createElementVNode as l,normalizeClass as a,normalizeStyle as m,resolveDynamicComponent as u,createCommentVNode as p}from"vue";import{NPopover as d}from"naive-ui";import{useBranchNoticeTheme as h}from"../hooks/useTheme.js";import{parseRender as f}from"../../../step-notice/src/utils.js";const _={class:"branch-notice__itemAside"},b=l("i",{class:"branch-notice__itemAsidePopperBridge"},null,-1);var v=e({__name:"NoticeItemAside",props:{item:{type:Object,required:!0}},setup(e){const v=e;function g(e){return 1===v.item.noticeList.length?"center":0===e?"first":e<v.item.noticeList.length-1?"center":"last"}const A={first:"right-start",center:"right-center",last:"right-end"};function k(e){return A[g(e)]}function y(e,t){return[`branch-notice__itemAsideElement--${g(t)}`,{"is-active":e.content||e.subContent}]}const j=h();return(h,v)=>(t(),n("section",_,[(t(!0),n(i,null,r(e.item.noticeList,((e,r)=>(t(),o(s(d),{raw:"","keep-alive-on-hover":"",placement:k(r),animated:!1,"show-arrow":!1,key:r},{trigger:c((()=>[l("div",{class:a(["branch-notice__itemAsideElement",...y(e,r)])},null,2)])),default:c((()=>[l("div",{class:a(["branch-notice__itemAsidePopper",...y(e,r)]),style:m(s(j))},[l("header",null,[(t(),o(u(s(f)(e.header))))]),e.content||e.subContent?(t(),n(i,{key:0},[l("section",null,[(t(),o(u(s(f)(e.content))))]),l("footer",null,[(t(),o(u(s(f)(e.subContent))))])],64)):p("v-if",!0),b],6)])),_:2},1032,["placement"])))),128))]))}});export{v as default};
@@ -0,0 +1,49 @@
1
+ import { PropType } from 'vue';
2
+ import { parseRender } from '../../../../components/step-notice/src/utils';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ operationList: {
5
+ type: PropType<Partial<Partial<{
6
+ header: string | import("../../../../shared/types").AnyFn;
7
+ content: string | import("../../../../shared/types").AnyFn;
8
+ subContent: string | import("../../../../shared/types").AnyFn;
9
+ }> & {
10
+ type: "warning" | "primary";
11
+ subHeader: string | import("../../../../shared/types").AnyFn;
12
+ remark: string | import("../../../../shared/types").AnyFn;
13
+ }>[] | undefined>;
14
+ required: true;
15
+ };
16
+ }, {
17
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
+ operationList: {
19
+ type: PropType<Partial<Partial<{
20
+ header: string | import("../../../../shared/types").AnyFn;
21
+ content: string | import("../../../../shared/types").AnyFn;
22
+ subContent: string | import("../../../../shared/types").AnyFn;
23
+ }> & {
24
+ type: "warning" | "primary";
25
+ subHeader: string | import("../../../../shared/types").AnyFn;
26
+ remark: string | import("../../../../shared/types").AnyFn;
27
+ }>[] | undefined>;
28
+ required: true;
29
+ };
30
+ }>> & {}>>;
31
+ theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
32
+ 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<{}>>, {}>;
33
+ 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<{}>>, {}>;
34
+ parseRender: typeof parseRender;
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ operationList: {
37
+ type: PropType<Partial<Partial<{
38
+ header: string | import("../../../../shared/types").AnyFn;
39
+ content: string | import("../../../../shared/types").AnyFn;
40
+ subContent: string | import("../../../../shared/types").AnyFn;
41
+ }> & {
42
+ type: "warning" | "primary";
43
+ subHeader: string | import("../../../../shared/types").AnyFn;
44
+ remark: string | import("../../../../shared/types").AnyFn;
45
+ }>[] | undefined>;
46
+ required: true;
47
+ };
48
+ }>>, {}>;
49
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./NoticeOperationList.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var i=t(e,[["__file","NoticeOperationList.vue"]]);export{i as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,openBlock as t,createElementBlock as r,normalizeStyle as n,unref as i,Fragment as o,renderList as a,normalizeClass as c,createElementVNode as s,createBlock as m,resolveDynamicComponent as p}from"vue";import{CloseCircle as _,CheckmarkCircle as b}from"@vicons/ionicons5";import{useBranchNoticeTheme as h}from"../hooks/useTheme.js";import{parseRender as l}from"../../../step-notice/src/utils.js";const d={class:"branch-notice__itemOperationItemHeaderWrapper"},I={class:"branch-notice__itemOperationItemHeader"},O={class:"branch-notice__itemOperationItemSubHeader"},u={class:"branch-notice__itemOperationItemContentWrapper"},y={class:"branch-notice__itemOperationItemContent"},v={class:"branch-notice__itemOperationItemSubContent"},f={class:"branch-notice__itemOperationItemRemark"};var k=e({__name:"NoticeOperationList",props:{operationList:{type:Array,required:!0}},setup(e){const k=h();return(h,H)=>(t(),r("section",{class:"branch-notice__itemOperationWrapper",style:n(i(k))},[(t(!0),r(o,null,a(e.operationList,((e,n)=>(t(),r("section",{key:n,class:c(["branch-notice__itemOperationItem",`branch-notice__itemOperationItem--${e.type||"primary"}`])},[s("header",d,["warning"===e.type?(t(),m(i(_),{key:0,class:"branch-notice__itemOperationItemHeaderIcon"})):(t(),m(i(b),{key:1,class:"branch-notice__itemOperationItemHeaderIcon"})),s("div",I,[(t(),m(p(i(l)(e.header))))]),s("div",O,[(t(),m(p(i(l)(e.subHeader))))])]),s("section",u,[s("div",y,[(t(),m(p(i(l)(e.content))))]),s("div",v,[(t(),m(p(i(l)(e.subContent))))])]),s("footer",f,[(t(),m(p(i(l)(e.remark))))])],2)))),128))],4))}});export{k as default};
@@ -0,0 +1,2 @@
1
+ import { BranchNotice } from '../../../components/branch-notice';
2
+ export declare function lineToNextCard(card1: BranchNotice.PositionedItem, card2: BranchNotice.PositionedItem, content?: string): BranchNotice.PositionedItem[];
@@ -0,0 +1 @@
1
+ import{widthAppend as t}from"../../../shared/utils/index.js";import{BRANCH_NOTICE_CONSTANTS as e}from"./canstants.js";function _(_,x,c=""){const i=_.x<x.x?"left":_.x>x.x?"right":"center",D=_.y<x.y?"top":_.y>x.y?"bottom":"center";let h=[];switch(!0){case"center"===i&&"center"===D:h=[{x:0,y:0,class:"branch-notice__line"}];break;case"left"===i&&"center"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:`${e.CARD_X_SPACE}px`,height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}}];break;case"center"===i&&"top"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:`${e.CARD_Y_SPACE}px`,left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT}px`}}];break;case"right"===i&&"top"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_Y_SPACE/2+"px",left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:`${_.x-x.x+e.LINE_WIDTH}px`,height:t(e.LINE_WIDTH),left:`${x.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT+e.CARD_Y_SPACE/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_Y_SPACE/2+"px",left:`${x.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT+e.CARD_Y_SPACE/2}px`}}];break;case"right"===i&&"center"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:`${e.CARD_X_SPACE}px`,height:t(e.LINE_WIDTH),left:`${_.x}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}}];break;case"right"===i&&"bottom"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_Y_SPACE/2+"px",left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:_.x-x.x+"px",height:t(e.LINE_WIDTH),left:`${x.x+e.CARD_WIDTH/2}px`,top:_.y-e.CARD_Y_SPACE/2+"px"}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_Y_SPACE/2+"px",left:`${x.x+e.CARD_WIDTH/2}px`,top:_.y-e.CARD_Y_SPACE/2+"px"}}];break;case"center"===i&&"bottom"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:`${e.CARD_Y_SPACE}px`,left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y}px`}}];break;case"left"===i&&"top"===D:h=[{x:0,y:0,class:"branch-notice__line",style:{width:e.CARD_X_SPACE/2+"px",height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:x.y-_.y+"px",left:`${_.x+e.CARD_WIDTH+e.CARD_X_SPACE/2}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:e.CARD_X_SPACE/2+"px",height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH+e.CARD_X_SPACE/2}px`,top:`${x.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,class:"branch-notice__branchIndex",style:{}}]}return h}export{_ as lineToNextCard};
@@ -0,0 +1 @@
1
+ export declare function useBranchNoticeTheme(): import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
@@ -0,0 +1 @@
1
+ import{useTheme as e}from"../../../../shared/hooks/useTheme.js";import"vue";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"naive-ui";import"../../../../shared/hooks/useScrollLoading.js";function c(){return e({"--branch-notice-primary":"#2563f4","--branch-notice-primary-light":"rgb(225, 232, 252)","--branch-notice-warning":"#ff0000","--branch-notice-warning-light":"#ffcbcb","--branch-notice-normal":"#a9a9a9","--branch-notice-normal-light":"#e6e6e6","--branch-notice-not-accepted-0":"#cccccc","--branch-notice-not-accepted-1":"#b2b2b2","--branch-notice-not-accepted-2":"#7f7f7f","--branch-notice-accepted-0":"#ff7700","--branch-notice-accepted-1":"#dc0000","--branch-notice-accepted-2":"#9f0000"})}export{c as useBranchNoticeTheme};
@@ -0,0 +1,32 @@
1
+ import { AnyFn } from '../../../shared/types';
2
+ export declare namespace BranchNotice {
3
+ type NoticeItem = Partial<{
4
+ header: string | AnyFn;
5
+ content: string | AnyFn;
6
+ subContent: string | AnyFn;
7
+ }>;
8
+ type OperationItem = Partial<NoticeItem & {
9
+ type: 'primary' | 'warning';
10
+ subHeader: string | AnyFn;
11
+ remark: string | AnyFn;
12
+ }>;
13
+ type Item = Partial<{
14
+ header: string | AnyFn;
15
+ type: 'normal' | 'primary' | 'warning';
16
+ icon: 'warning' | AnyFn;
17
+ topText: (string | AnyFn)[];
18
+ footerText: string | AnyFn;
19
+ content: string | AnyFn;
20
+ subContent: string | AnyFn;
21
+ noticeList: NoticeItem[];
22
+ operationList: OperationItem[];
23
+ children?: Item[][];
24
+ }>;
25
+ type PositionedItem = {
26
+ item?: Item;
27
+ class?: string | string[] | Record<string, boolean>;
28
+ style?: Record<string, string>;
29
+ x: number;
30
+ y: number;
31
+ };
32
+ }
@@ -0,0 +1 @@
1
+ .branch-notice__item{color:#333;font-size:12px;font-weight:500;position:absolute}.branch-notice__itemContent{line-height:17px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-notice__line{background:#bfc6ca;position:absolute}.branch-notice__icon{height:20px;position:absolute;width:20px;z-index:20}.branch-notice__icon--warning{background:radial-gradient(circle,#fff 0,#fff 50%,transparent 0,transparent 100%);border-radius:50%;color:var(--branch-notice-warning)}.branch-notice__group{align-items:center;display:flex;gap:16px;justify-content:space-between}.branch-notice__group:not(:last-of-type){margin-bottom:calc(var(--branch-notice-col-space)*1px)}.branch-notice__placeholder{width:140px}.branch-notice__item .branch-notice__itemWrapper:hover{border-radius:8px;box-shadow:0 4px 12px 0 hsla(0,0%,69%,.5);transform:translateY(-4px);transition:transform .3s ease}.branch-notice__item .branch-notice__itemWrapper:hover .branch-notice__itemAside{transform:translateY(calc(-50% + 4px))}.branch-notice__item--normal{border-radius:8px}.branch-notice__item--normal .branch-notice__itemFront{background:var(--branch-notice-normal-light);border-color:var(--branch-notice-normal-light);color:#000}.branch-notice__item--normal .branch-notice__itemFooter{background:var(--branch-notice-normal);color:#fff}.branch-notice__item--primary{border-radius:8px}.branch-notice__item--primary .branch-notice__itemFront{background:var(--branch-notice-primary);border-color:var(--branch-notice-primary);color:#fff}.branch-notice__item--primary .branch-notice__itemFooter{background:var(--branch-notice-primary-light);color:var(--branch-notice-primary)}.branch-notice__item--warning{border-radius:8px}.branch-notice__item--warning .branch-notice__itemFront{background:var(--branch-notice-warning-light);border-color:var(--branch-notice-warning);color:#000}.branch-notice__item--warning .branch-notice__itemFooter{background:var(--branch-notice-warning);color:#fff}.branch-notice__itemFront{align-items:center;border-radius:8px;border-style:solid;border-width:1px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-evenly;position:relative;z-index:10}.branch-notice__itemFrontHeader{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;font-weight:500;overflow:hidden;padding:2px 8px;text-overflow:ellipsis;word-break:break-all}.branch-notice__itemFrontContent{align-items:center;background:#fff;border-radius:4px;display:flex;flex-direction:column;justify-content:space-evenly;margin-bottom:8px;max-height:42px;min-height:26px;padding:2px 0;width:94px}.branch-notice__itemFrontContentText{color:#000}.branch-notice__itemFrontContentSubText,.branch-notice__itemFrontContentText{box-sizing:border-box;max-width:100%;overflow:hidden;padding:0 4px;text-overflow:ellipsis;white-space:nowrap}.branch-notice__itemFrontContentSubText{color:rgba(0,0,0,.5);font-size:12px}.branch-notice__itemFooter{border-radius:8px;box-sizing:border-box;font-size:12px;height:40px;line-height:22px;margin-top:-18px;max-width:100%;overflow:hidden;padding:18px 4px 0;position:relative;text-overflow:ellipsis;white-space:nowrap;z-index:5}.branch-notice__itemFooter.is-active{text-align:center}.branch-notice__itemAside{border-radius:0 4px 4px 0;display:flex;flex-direction:column;overflow:hidden;position:absolute;right:-8px;top:50%;transform:translateY(-50%);width:8px;z-index:20}.branch-notice__itemAsidePopper{align-items:flex-start;border-radius:8px!important;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-evenly;min-height:44px;min-width:120px;padding:4px 13px;position:relative}.branch-notice__itemAsidePopper:not(.is-active){align-items:center}.branch-notice__itemAsidePopper footer{font-size:12px}.branch-notice__itemAsidePopperBridge{background:inherit;height:20px;left:-12px;position:absolute;width:20px}.branch-notice__itemAsideElement{height:20px;width:100%}.branch-notice__itemAsideElement--first{background:var(--branch-notice-not-accepted-0)}.branch-notice__itemAsideElement--first .branch-notice__itemAsidePopperBridge{top:0}.branch-notice__itemAsideElement--first.is-active{background:var(--branch-notice-accepted-0);color:#fff}.branch-notice__itemAsideElement--center{background:var(--branch-notice-not-accepted-1)}.branch-notice__itemAsideElement--center .branch-notice__itemAsidePopperBridge{top:50%;transform:translateY(-50%)}.branch-notice__itemAsideElement--center.is-active{background:var(--branch-notice-accepted-1);color:#fff}.branch-notice__itemAsideElement--last{background:var(--branch-notice-not-accepted-2);color:#fff}.branch-notice__itemAsideElement--last .branch-notice__itemAsidePopperBridge{bottom:0}.branch-notice__itemAsideElement--last.is-active{background:var(--branch-notice-accepted-2)}.branch-notice__itemHeader{background:var(--branch-notice-warning);border-radius:4px 4px 0 0;color:#fff;display:flex;flex-wrap:nowrap;font-size:12px;justify-content:space-between;left:50%;line-height:1;padding:5px 7px 3px;position:absolute;top:-20px;transform:translateX(-50%);width:98px;z-index:30}.branch-notice__itemOperationWrapper{display:flex;flex-direction:column;gap:8px;min-width:210px}.branch-notice__itemOperationItem{border-radius:4px;margin:0 -4px;padding:8px;word-break:break-all}.branch-notice__itemOperationItemSubHeader{font-size:12px}.branch-notice__itemOperationItemHeader{flex:1;font-size:14px;font-weight:700}.branch-notice__itemOperationItemHeaderIcon{height:20px;width:20px}.branch-notice__itemOperationItemHeaderWrapper{align-items:center;display:flex;gap:4px;justify-content:space-between}.branch-notice__itemOperationItemSubContent{color:rgba(0,0,0,.5);font-size:12px}.branch-notice__itemOperationItemContent{box-sizing:border-box;display:flex;flex:1;font-size:14px;max-width:100%;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.branch-notice__itemOperationItemContentWrapper{align-items:center;display:flex;gap:4px;justify-content:space-between}.branch-notice__itemOperationItem--primary .branch-notice__itemOperationItemHeader,.branch-notice__itemOperationItem--primary .branch-notice__itemOperationItemHeaderIcon{color:var(--branch-notice-primary)}.branch-notice__itemOperationItem--primary.branch-notice__itemOperationItem{background:var(--branch-notice-primary-light)}.branch-notice__itemOperationItem--warning .branch-notice__itemOperationItemHeader,.branch-notice__itemOperationItem--warning .branch-notice__itemOperationItemHeaderIcon{color:var(--branch-notice-warning)}.branch-notice__itemOperationItem--warning.branch-notice__itemOperationItem{background:var(--branch-notice-warning-light)}
@@ -335,6 +335,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
335
335
  outerPrintKeys: never[];
336
336
  defaultFormatId: string;
337
337
  shortcut: {};
338
+ buttonProps: {};
338
339
  };
339
340
  };
340
341
  svrUpdateIp: {
@@ -452,6 +453,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
452
453
  outerPrintKeys: never[];
453
454
  defaultFormatId: string;
454
455
  shortcut: {};
456
+ buttonProps: {};
455
457
  };
456
458
  };
457
459
  svrUpdateIp: {
@@ -479,6 +481,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
479
481
  defaultPrintFormatId: import("vue").ComputedRef<any>;
480
482
  isPrintAllType: import("vue").ComputedRef<any>;
481
483
  shortcutSettings: import("vue").ComputedRef<any>;
484
+ buttonProps: import("vue").ComputedRef<any>;
482
485
  printAllShortcut: import("vue").ComputedRef<any>;
483
486
  showSettingItems: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
484
487
  isSelectedAll: import("vue").WritableComputedRef<boolean>;
@@ -821,6 +824,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
821
824
  outerPrintKeys: never[];
822
825
  defaultFormatId: string;
823
826
  shortcut: {};
827
+ buttonProps: {};
824
828
  };
825
829
  };
826
830
  svrUpdateIp: {
@@ -341,6 +341,7 @@ declare const _default: import("vue").DefineComponent<{
341
341
  outerPrintKeys: never[];
342
342
  defaultFormatId: string;
343
343
  shortcut: {};
344
+ buttonProps: {};
344
345
  };
345
346
  };
346
347
  svrUpdateIp: {
@@ -458,6 +459,7 @@ declare const _default: import("vue").DefineComponent<{
458
459
  outerPrintKeys: never[];
459
460
  defaultFormatId: string;
460
461
  shortcut: {};
462
+ buttonProps: {};
461
463
  };
462
464
  };
463
465
  svrUpdateIp: {
@@ -485,6 +487,7 @@ declare const _default: import("vue").DefineComponent<{
485
487
  defaultPrintFormatId: import("vue").ComputedRef<any>;
486
488
  isPrintAllType: import("vue").ComputedRef<any>;
487
489
  shortcutSettings: import("vue").ComputedRef<any>;
490
+ buttonProps: import("vue").ComputedRef<any>;
488
491
  printAllShortcut: import("vue").ComputedRef<any>;
489
492
  showSettingItems: import("vue").ComputedRef<AnyObject[]>;
490
493
  isSelectedAll: import("vue").WritableComputedRef<boolean>;
@@ -827,6 +830,7 @@ declare const _default: import("vue").DefineComponent<{
827
830
  outerPrintKeys: never[];
828
831
  defaultFormatId: string;
829
832
  shortcut: {};
833
+ buttonProps: {};
830
834
  };
831
835
  };
832
836
  svrUpdateIp: {
@@ -1 +1 @@
1
- import{defineComponent as t,useAttrs as e,ref as r,computed as n,provide as o,openBlock as i,createBlock as p,resolveDynamicComponent as a,unref as u,mergeProps as s,withCtx as l,createCommentVNode as d,renderSlot as y,normalizeProps as f,guardReactiveProps as m}from"vue";import{InjectionButtonPrintEmits as c}from"./constants/index.js";import g from"./components/NewPrintComponent.vue.js";import P from"./components/OldPrintComponent.vue.js";var v=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:"打印",type:String},printText:{default:"直接打印",type:String},previewText:{default:"打印预览",type:String},pdfLoadText:{default:"下载pdf",type:String},formatEditText:{default:"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:"请选中需要打印的数据",type:String},noDefaultFormatMsg:{default:"获取打印格式失败,请联系管理员!",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0},hideButtons:{type:Array,default:()=>[]},printCopies:{type:Number},printCustomProps:{type:Object,default:()=>({})},resolution:{type:Number},placement:{type:String,default:"bottom-start"},newPrintSetting:{type:Object,default:()=>({})},svrUpdateIp:{type:String}},emits:["success","error","cancel","clickoutside","saveOuterPrint"],setup(t,{expose:v,emit:S}){const b=t,x=e(),j=r(),F=n((()=>{var t;return(null==(t=Object.keys(b.newPrintSetting))?void 0:t.length)>0?g:P})),O=n((()=>Object.assign({},b,x)));o(c,(function(t,...e){S(t,...e)}));return v({directPrint:async()=>{var t;null==(t=j.value)||t.directPrint()}}),(t,e)=>(i(),p(a(u(F)),s({ref_key:"printComponentRef",ref:j},u(O)),{button:l((e=>[d(" 自定义按钮样式 "),y(t.$slots,"button",f(m(e)))])),_:3},16))}});export{v as default};
1
+ import{defineComponent as t,useAttrs as e,ref as n,computed as r,provide as o,openBlock as i,createBlock as a,resolveDynamicComponent as l,unref as u,mergeProps as d,withCtx as p,createCommentVNode as s,renderSlot as y,normalizeProps as g,guardReactiveProps as f}from"vue";import{InjectionButtonPrintEmits as c}from"./constants/index.js";import m from"./components/NewPrintComponent.vue.js";import w from"./components/OldPrintComponent.vue.js";var v,P,S,b,C,B,x=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:(null==(v=window.getLanguageByCode)?void 0:v.call(window,"10010.1.478"))||"打印",type:String},printText:{default:(null==(P=window.getLanguageByCode)?void 0:P.call(window,"10010.1.479"))||"直接打印",type:String},previewText:{default:(null==(S=window.getLanguageByCode)?void 0:S.call(window,"10010.1.480"))||"打印预览",type:String},pdfLoadText:{default:(null==(b=window.getLanguageByCode)?void 0:b.call(window,"10010.1.481"))||"下载pdf",type:String},formatEditText:{default:(null==(C=window.getLanguageByCode)?void 0:C.call(window,"10010.1.482"))||"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:(null==(B=window.getLanguageByCode)?void 0:B.call(window,"10010.1.483"))||"请选中需要打印的数据",type:String},noDefaultFormatMsg:{default:"获取打印格式失败,请联系管理员!",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0},hideButtons:{type:Array,default:()=>[]},printCopies:{type:Number},printCustomProps:{type:Object,default:()=>({})},resolution:{type:Number},placement:{type:String,default:"bottom-start"},newPrintSetting:{type:Object,default:()=>({})},svrUpdateIp:{type:String}},emits:["success","error","cancel","clickoutside","saveOuterPrint"],setup(t,{expose:v,emit:P}){const S=t,b=e(),C=n(),B=r((()=>{var t;return(null==(t=Object.keys(S.newPrintSetting))?void 0:t.length)>0?m:w})),x=r((()=>Object.assign({},S,b)));o(c,(function(t,...e){P(t,...e)}));return v({directPrint:async()=>{var t;null==(t=C.value)||t.directPrint()}}),(t,e)=>(i(),a(l(u(B)),d({ref_key:"printComponentRef",ref:C},u(x)),{button:p((e=>[s(" 自定义按钮样式 "),y(t.$slots,"button",g(f(e)))])),_:3},16))}});export{x as default};