cnhis-design-vue 3.2.2-beta.2 → 3.2.2-beta.20

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 (334) hide show
  1. package/es/components/biunique-chat/index.d.ts +838 -563
  2. package/es/components/biunique-chat/index.js +1 -1
  3. package/es/components/biunique-chat/src/Index.vue.d.ts +1301 -0
  4. package/es/components/biunique-chat/src/Index.vue.js +1 -0
  5. package/es/components/biunique-chat/src/Index.vue2.js +1 -0
  6. package/es/components/biunique-chat/src/api/index.d.ts +2 -5
  7. package/es/components/biunique-chat/src/api/index.js +1 -1
  8. package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +241 -0
  9. package/es/components/biunique-chat/src/components/ChatFile.vue.js +1 -0
  10. package/es/components/biunique-chat/src/components/ChatFile.vue2.js +1 -0
  11. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +10 -6
  12. package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +1 -1
  13. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +639 -0
  14. package/es/components/biunique-chat/src/components/ChatHeader.vue2.js +1 -1
  15. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +143 -5
  16. package/es/components/biunique-chat/src/components/ChatMain.vue2.js +1 -1
  17. package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +101 -0
  18. package/es/components/biunique-chat/src/components/ChatRecord.vue.js +1 -0
  19. package/es/components/biunique-chat/src/components/ChatRecord.vue2.js +1 -0
  20. package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +246 -0
  21. package/es/components/biunique-chat/src/components/ChatSet.vue.js +1 -0
  22. package/es/components/biunique-chat/src/components/ChatSet.vue2.js +1 -0
  23. package/es/components/biunique-chat/src/components/MessageTemplate.vue.d.ts +81 -0
  24. package/es/components/biunique-chat/src/components/MessageTemplate.vue.js +1 -0
  25. package/es/components/biunique-chat/src/components/MessageTemplate.vue2.js +1 -0
  26. package/es/components/biunique-chat/src/components/PersonProfile.vue.d.ts +59 -0
  27. package/es/components/biunique-chat/src/components/PersonProfile.vue.js +1 -0
  28. package/es/components/biunique-chat/src/components/PersonProfile.vue2.js +1 -0
  29. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +20 -28
  30. package/es/components/biunique-chat/src/components/SiderList.vue2.js +1 -1
  31. package/es/components/biunique-chat/src/constants/index.d.ts +20 -0
  32. package/es/components/biunique-chat/src/constants/index.js +1 -0
  33. package/es/components/biunique-chat/src/hooks/useState.d.ts +7 -0
  34. package/es/components/biunique-chat/src/hooks/useState.js +1 -0
  35. package/es/components/biunique-chat/src/types/index.d.ts +10 -0
  36. package/es/components/biunique-chat/src/types/index.js +1 -0
  37. package/es/components/biunique-chat/src/utils/emoji.d.ts +2 -0
  38. package/es/components/biunique-chat/src/utils/emoji.js +1 -0
  39. package/es/components/biunique-chat/src/utils/index.d.ts +8 -0
  40. package/es/components/biunique-chat/src/utils/index.js +1 -0
  41. package/es/components/biunique-chat/style/iconfont.ttf +0 -0
  42. package/es/components/biunique-chat/style/index.css +1 -1
  43. package/es/components/button-print/src/utils/print.d.ts +1 -0
  44. package/es/components/button-print/src/utils/print.js +1 -1
  45. package/es/components/callback/src/components/dialog/drawer.vue2.js +1 -1
  46. package/es/components/callback/src/components/dialog/modal.vue2.js +1 -1
  47. package/es/components/callback/src/components/render/popupMaps.d.ts +26 -2
  48. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +26 -7
  49. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  50. package/es/components/card-reader-sdk/src/types/index.d.ts +4 -1
  51. package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.d.ts +17 -0
  52. package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.js +1 -0
  53. package/es/components/editor/index.d.ts +6 -0
  54. package/es/components/editor/src/Editor.d.ts +6 -0
  55. package/es/components/editor/src/Editor.js +1 -1
  56. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -1
  57. package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
  58. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  59. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  60. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  61. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  62. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  63. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  64. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  65. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  66. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  67. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  68. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -0
  69. package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
  70. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  71. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  72. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
  73. package/es/components/form-config/index.d.ts +66 -4
  74. package/es/components/form-config/src/FormConfig.vue.d.ts +66 -4
  75. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +24 -2
  76. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +33 -2
  77. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  78. package/es/components/form-render/index.d.ts +24 -2
  79. package/es/components/form-render/src/FormRender.vue.d.ts +24 -2
  80. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  81. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +24 -2
  82. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  83. package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
  84. package/es/components/form-render/src/constants/index.d.ts +1 -0
  85. package/es/components/form-render/src/constants/index.js +1 -1
  86. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +6 -0
  87. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  88. package/es/components/form-render/src/hooks/useFormEvent.d.ts +2 -1
  89. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  90. package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +3 -4
  91. package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -1
  92. package/es/components/form-render/src/types/index.d.ts +3 -0
  93. package/es/components/form-render/style/index.css +1 -1
  94. package/es/components/iho-table/index.d.ts +2 -0
  95. package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -0
  96. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  97. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -2
  98. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -0
  99. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  100. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  101. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  102. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +5 -0
  103. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -1
  104. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -1
  105. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -1
  106. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.d.ts +1 -0
  107. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -0
  108. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -1
  109. package/es/components/iho-table/src/types/index.d.ts +1 -0
  110. package/es/components/iho-table/src/utils/index.d.ts +1 -1
  111. package/es/components/iho-table/src/utils/index.js +1 -1
  112. package/es/components/iho-table/style/index.css +1 -1
  113. package/es/components/index.css +1 -1
  114. package/es/components/index.js +1 -1
  115. package/es/components/info-header/index.d.ts +63 -4
  116. package/es/components/info-header/src/InfoHeader.vue.d.ts +63 -4
  117. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +3 -0
  118. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -0
  119. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +27 -2
  120. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +24 -2
  121. package/es/components/shortcut-setter/index.d.ts +24 -2
  122. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +24 -2
  123. package/es/components/step-notice/index.d.ts +1 -0
  124. package/es/components/step-notice/src/StepNotice.vue.d.ts +2 -0
  125. package/es/components/step-notice/src/StepNotice.vue2.js +1 -1
  126. package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -1
  127. package/es/components/step-notice/style/index.css +1 -1
  128. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
  129. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
  130. package/es/shared/assets/img/emoji/emotion_001.png.js +1 -0
  131. package/es/shared/assets/img/emoji/emotion_002.png.js +1 -0
  132. package/es/shared/assets/img/emoji/emotion_003.png.js +1 -0
  133. package/es/shared/assets/img/emoji/emotion_004.png.js +1 -0
  134. package/es/shared/assets/img/emoji/emotion_005.png.js +1 -0
  135. package/es/shared/assets/img/emoji/emotion_006.png.js +1 -0
  136. package/es/shared/assets/img/emoji/emotion_007.png.js +1 -0
  137. package/es/shared/assets/img/emoji/emotion_008.png.js +1 -0
  138. package/es/shared/assets/img/emoji/emotion_009.png.js +1 -0
  139. package/es/shared/assets/img/emoji/emotion_010.png.js +1 -0
  140. package/es/shared/assets/img/emoji/emotion_011.png.js +1 -0
  141. package/es/shared/assets/img/emoji/emotion_012.png.js +1 -0
  142. package/es/shared/assets/img/emoji/emotion_013.png.js +1 -0
  143. package/es/shared/assets/img/emoji/emotion_014.png.js +1 -0
  144. package/es/shared/assets/img/emoji/emotion_015.png.js +1 -0
  145. package/es/shared/assets/img/emoji/emotion_016.png.js +1 -0
  146. package/es/shared/assets/img/emoji/emotion_017.png.js +1 -0
  147. package/es/shared/assets/img/emoji/emotion_018.png.js +1 -0
  148. package/es/shared/assets/img/emoji/emotion_019.png.js +1 -0
  149. package/es/shared/assets/img/emoji/emotion_020.png.js +1 -0
  150. package/es/shared/assets/img/emoji/emotion_021.png.js +1 -0
  151. package/es/shared/assets/img/emoji/emotion_022.png.js +1 -0
  152. package/es/shared/assets/img/emoji/emotion_023.png.js +1 -0
  153. package/es/shared/assets/img/emoji/emotion_024.png.js +1 -0
  154. package/es/shared/assets/img/emoji/emotion_025.png.js +1 -0
  155. package/es/shared/assets/img/emoji/emotion_026.png.js +1 -0
  156. package/es/shared/assets/img/emoji/emotion_027.png.js +1 -0
  157. package/es/shared/assets/img/emoji/emotion_028.png.js +1 -0
  158. package/es/shared/assets/img/emoji/emotion_029.png.js +1 -0
  159. package/es/shared/assets/img/emoji/emotion_030.png.js +1 -0
  160. package/es/shared/assets/img/emoji/emotion_031.png.js +1 -0
  161. package/es/shared/assets/img/emoji/emotion_032.png.js +1 -0
  162. package/es/shared/assets/img/emoji/emotion_033.png.js +1 -0
  163. package/es/shared/assets/img/emoji/emotion_034.png.js +1 -0
  164. package/es/shared/assets/img/emoji/emotion_035.png.js +1 -0
  165. package/es/shared/assets/img/emoji/emotion_036.png.js +1 -0
  166. package/es/shared/assets/img/emoji/emotion_037.png.js +1 -0
  167. package/es/shared/assets/img/emoji/emotion_038.png.js +1 -0
  168. package/es/shared/assets/img/emoji/emotion_039.png.js +1 -0
  169. package/es/shared/assets/img/emoji/emotion_040.png.js +1 -0
  170. package/es/shared/assets/img/emoji/emotion_041.png.js +1 -0
  171. package/es/shared/assets/img/emoji/emotion_042.png.js +1 -0
  172. package/es/shared/assets/img/emoji/emotion_043.png.js +1 -0
  173. package/es/shared/assets/img/emoji/emotion_044.png.js +1 -0
  174. package/es/shared/assets/img/emoji/emotion_045.png.js +1 -0
  175. package/es/shared/assets/img/emoji/emotion_046.png.js +1 -0
  176. package/es/shared/assets/img/emoji/emotion_047.png.js +1 -0
  177. package/es/shared/assets/img/emoji/emotion_048.png.js +1 -0
  178. package/es/shared/assets/img/emoji/emotion_049.png.js +1 -0
  179. package/es/shared/assets/img/emoji/emotion_050.png.js +1 -0
  180. package/es/shared/assets/img/emoji/emotion_051.png.js +1 -0
  181. package/es/shared/assets/img/emoji/emotion_052.png.js +1 -0
  182. package/es/shared/assets/img/emoji/emotion_053.png.js +1 -0
  183. package/es/shared/assets/img/emoji/emotion_054.png.js +1 -0
  184. package/es/shared/assets/img/emoji/emotion_055.png.js +1 -0
  185. package/es/shared/assets/img/emoji/emotion_056.png.js +1 -0
  186. package/es/shared/assets/img/emoji/emotion_057.png.js +1 -0
  187. package/es/shared/assets/img/emoji/emotion_058.png.js +1 -0
  188. package/es/shared/assets/img/emoji/emotion_059.png.js +1 -0
  189. package/es/shared/assets/img/emoji/emotion_060.png.js +1 -0
  190. package/es/shared/assets/img/emoji/emotion_061.png.js +1 -0
  191. package/es/shared/assets/img/emoji/emotion_062.png.js +1 -0
  192. package/es/shared/assets/img/emoji/emotion_063.png.js +1 -0
  193. package/es/shared/assets/img/emoji/emotion_064.png.js +1 -0
  194. package/es/shared/assets/img/emoji/emotion_065.png.js +1 -0
  195. package/es/shared/assets/img/emoji/emotion_066.png.js +1 -0
  196. package/es/shared/assets/img/emoji/emotion_067.png.js +1 -0
  197. package/es/shared/assets/img/emoji/emotion_068.png.js +1 -0
  198. package/es/shared/assets/img/emoji/emotion_069.png.js +1 -0
  199. package/es/shared/assets/img/emoji/emotion_070.png.js +1 -0
  200. package/es/shared/assets/img/emoji/emotion_071.png.js +1 -0
  201. package/es/shared/assets/img/emoji/emotion_072.png.js +1 -0
  202. package/es/shared/assets/img/emoji/emotion_073.png.js +1 -0
  203. package/es/shared/assets/img/emoji/emotion_074.png.js +1 -0
  204. package/es/shared/assets/img/emoji/emotion_075.png.js +1 -0
  205. package/es/shared/assets/img/emoji/emotion_076.png.js +1 -0
  206. package/es/shared/assets/img/emoji/emotion_077.png.js +1 -0
  207. package/es/shared/assets/img/emoji/emotion_078.png.js +1 -0
  208. package/es/shared/assets/img/emoji/emotion_079.png.js +1 -0
  209. package/es/shared/assets/img/emoji/emotion_080.png.js +1 -0
  210. package/es/shared/assets/img/emoji/emotion_081.png.js +1 -0
  211. package/es/shared/assets/img/emoji/emotion_082.png.js +1 -0
  212. package/es/shared/assets/img/emoji/emotion_083.png.js +1 -0
  213. package/es/shared/assets/img/emoji/emotion_084.png.js +1 -0
  214. package/es/shared/assets/img/emoji/emotion_085.png.js +1 -0
  215. package/es/shared/assets/img/emoji/emotion_086.png.js +1 -0
  216. package/es/shared/assets/img/emoji/emotion_087.png.js +1 -0
  217. package/es/shared/assets/img/emoji/emotion_088.png.js +1 -0
  218. package/es/shared/assets/img/emoji/emotion_089.png.js +1 -0
  219. package/es/shared/assets/img/emoji/emotion_090.png.js +1 -0
  220. package/es/shared/assets/img/emoji/emotion_091.png.js +1 -0
  221. package/es/shared/assets/img/emoji/emotion_092.png.js +1 -0
  222. package/es/shared/assets/img/emoji/emotion_093.png.js +1 -0
  223. package/es/shared/assets/img/emoji/emotion_094.png.js +1 -0
  224. package/es/shared/assets/img/emoji/emotion_095.png.js +1 -0
  225. package/es/shared/assets/img/emoji/emotion_096.png.js +1 -0
  226. package/es/shared/assets/img/emoji/emotion_097.png.js +1 -0
  227. package/es/shared/assets/img/emoji/emotion_098.png.js +1 -0
  228. package/es/shared/assets/img/emoji/emotion_099.png.js +1 -0
  229. package/es/shared/assets/img/emoji/emotion_100.png.js +1 -0
  230. package/es/shared/assets/img/emoji/emotion_101.png.js +1 -0
  231. package/es/shared/assets/img/emoji/emotion_102.png.js +1 -0
  232. package/es/shared/assets/img/emoji/emotion_103.png.js +1 -0
  233. package/es/shared/assets/img/emoji/emotion_104.png.js +1 -0
  234. package/es/shared/assets/img/emoji/emotion_105.png.js +1 -0
  235. package/es/shared/assets/img/emoji/emotion_106.png.js +1 -0
  236. package/es/shared/assets/img/emoji/emotion_107.png.js +1 -0
  237. package/es/shared/assets/img/emoji/emotion_108.png.js +1 -0
  238. package/es/shared/assets/img/emoji/emotion_109.png.js +1 -0
  239. package/es/shared/assets/img/emoji/emotion_110.png.js +1 -0
  240. package/es/shared/assets/img/emoji/emotion_111.png.js +1 -0
  241. package/es/shared/assets/img/emoji/emotion_112.png.js +1 -0
  242. package/es/shared/assets/img/emoji/emotion_113.png.js +1 -0
  243. package/es/shared/assets/img/emoji/emotion_114.png.js +1 -0
  244. package/es/shared/assets/img/emoji/emotion_115.png.js +1 -0
  245. package/es/shared/assets/img/emoji/emotion_116.png.js +1 -0
  246. package/es/shared/assets/img/emoji/emotion_117.png.js +1 -0
  247. package/es/shared/assets/img/emoji/emotion_118.png.js +1 -0
  248. package/es/shared/assets/img/emoji/emotion_119.png.js +1 -0
  249. package/es/shared/assets/img/emoji/emotion_120.png.js +1 -0
  250. package/es/shared/assets/img/emoji/emotion_121.png.js +1 -0
  251. package/es/shared/assets/img/emoji/emotion_122.png.js +1 -0
  252. package/es/shared/assets/img/emoji/emotion_123.png.js +1 -0
  253. package/es/shared/assets/img/emoji/emotion_124.png.js +1 -0
  254. package/es/shared/assets/img/emoji/emotion_125.png.js +1 -0
  255. package/es/shared/assets/img/emoji/emotion_126.png.js +1 -0
  256. package/es/shared/assets/img/emoji/emotion_127.png.js +1 -0
  257. package/es/shared/assets/img/emoji/emotion_128.png.js +1 -0
  258. package/es/shared/assets/img/emoji/emotion_129.png.js +1 -0
  259. package/es/shared/assets/img/emoji/emotion_130.png.js +1 -0
  260. package/es/shared/assets/img/emoji/emotion_131.png.js +1 -0
  261. package/es/shared/assets/img/emoji/emotion_132.png.js +1 -0
  262. package/es/shared/assets/img/emoji/emotion_133.png.js +1 -0
  263. package/es/shared/assets/img/emoji/emotion_134.png.js +1 -0
  264. package/es/shared/assets/img/emoji/emotion_135.png.js +1 -0
  265. package/es/shared/assets/img/emoji/emotion_136.png.js +1 -0
  266. package/es/shared/assets/img/emoji/emotion_137.png.js +1 -0
  267. package/es/shared/assets/img/emoji/emotion_138.png.js +1 -0
  268. package/es/shared/assets/img/emoji/emotion_139.png.js +1 -0
  269. package/es/shared/assets/img/emoji/emotion_140.png.js +1 -0
  270. package/es/shared/assets/img/emoji/emotion_141.png.js +1 -0
  271. package/es/shared/assets/img/emoji/emotion_142.png.js +1 -0
  272. package/es/shared/assets/img/emoji/emotion_143.png.js +1 -0
  273. package/es/shared/assets/img/emoji/emotion_144.png.js +1 -0
  274. package/es/shared/assets/img/emoji/emotion_145.png.js +1 -0
  275. package/es/shared/assets/img/emoji/emotion_146.png.js +1 -0
  276. package/es/shared/assets/img/emoji/emotion_147.png.js +1 -0
  277. package/es/shared/assets/img/emoji/emotion_148.png.js +1 -0
  278. package/es/shared/assets/img/emoji/emotion_149.png.js +1 -0
  279. package/es/shared/assets/img/emoji/emotion_150.png.js +1 -0
  280. package/es/shared/assets/img/emoji/emotion_151.png.js +1 -0
  281. package/es/shared/assets/img/emoji/emotion_152.png.js +1 -0
  282. package/es/shared/assets/img/emoji/emotion_153.png.js +1 -0
  283. package/es/shared/assets/img/emoji/emotion_154.png.js +1 -0
  284. package/es/shared/assets/img/emoji/emotion_155.png.js +1 -0
  285. package/es/shared/assets/img/emoji/emotion_156.png.js +1 -0
  286. package/es/shared/assets/img/emoji/emotion_157.png.js +1 -0
  287. package/es/shared/assets/img/emoji/emotion_158.png.js +1 -0
  288. package/es/shared/assets/img/emoji/emotion_159.png.js +1 -0
  289. package/es/shared/assets/img/emoji/emotion_160.png.js +1 -0
  290. package/es/shared/assets/img/emoji/emotion_161.png.js +1 -0
  291. package/es/shared/assets/img/emoji/emotion_162.png.js +1 -0
  292. package/es/shared/assets/img/emoji/emotion_163.png.js +1 -0
  293. package/es/shared/assets/img/emoji/emotion_164.png.js +1 -0
  294. package/es/shared/assets/img/emoji/emotion_165.png.js +1 -0
  295. package/es/shared/assets/img/emoji/emotion_166.png.js +1 -0
  296. package/es/shared/assets/img/emoji/emotion_167.png.js +1 -0
  297. package/es/shared/assets/img/emoji/emotion_168.png.js +1 -0
  298. package/es/shared/assets/img/emoji/emotion_169.png.js +1 -0
  299. package/es/shared/assets/img/emoji/emotion_170.png.js +1 -0
  300. package/es/shared/assets/img/emoji/emotion_171.png.js +1 -0
  301. package/es/shared/assets/img/emoji/emotion_172.png.js +1 -0
  302. package/es/shared/assets/img/emoji/emotion_173.png.js +1 -0
  303. package/es/shared/assets/img/emoji/emotion_174.png.js +1 -0
  304. package/es/shared/assets/img/emoji/emotion_175.png.js +1 -0
  305. package/es/shared/assets/img/emoji/emotion_176.png.js +1 -0
  306. package/es/shared/assets/img/emoji/emotion_177.png.js +1 -0
  307. package/es/shared/assets/img/emoji/emotion_178.png.js +1 -0
  308. package/es/shared/assets/img/emoji/emotion_179.png.js +1 -0
  309. package/es/shared/assets/img/emoji/emotion_180.png.js +1 -0
  310. package/es/shared/assets/img/emoji/emotion_181.png.js +1 -0
  311. package/es/shared/assets/img/emoji/emotion_182.png.js +1 -0
  312. package/es/shared/assets/img/emoji/emotion_183.png.js +1 -0
  313. package/es/shared/assets/img/emoji/emotion_184.png.js +1 -0
  314. package/es/shared/assets/img/emoji/emotion_185.png.js +1 -0
  315. package/es/shared/assets/img/emoji/emotion_186.png.js +1 -0
  316. package/es/shared/assets/img/emoji/emotion_187.png.js +1 -0
  317. package/es/shared/assets/img/emoji/emotion_188.png.js +1 -0
  318. package/es/shared/assets/img/emoji/emotion_189.png.js +1 -0
  319. package/es/shared/assets/img/emoji/emotion_190.png.js +1 -0
  320. package/es/shared/assets/img/emoji/emotion_191.png.js +1 -0
  321. package/es/shared/assets/img/emoji/emotion_192.png.js +1 -0
  322. package/es/shared/assets/img/emoji/emotion_193.png.js +1 -0
  323. package/es/shared/assets/img/emoji/emotion_194.png.js +1 -0
  324. package/es/shared/assets/img/emoji/emotion_195.png.js +1 -0
  325. package/es/shared/assets/img/emoji/emotion_196.png.js +1 -0
  326. package/es/shared/hooks/index.js +1 -1
  327. package/es/shared/hooks/useTheme.d.ts +1 -0
  328. package/es/shared/hooks/useTheme.js +1 -1
  329. package/es/shared/package.json.js +1 -1
  330. package/es/shared/utils/index.js +1 -1
  331. package/package.json +2 -2
  332. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +0 -1005
  333. package/es/components/biunique-chat/src/BiuniqueChat.vue.js +0 -1
  334. package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +0 -1
@@ -1,13 +1,151 @@
1
1
  import { AnyObject } from '../../../../shared/types';
2
+ import { MESSAGE_TYPE } from '../constants';
2
3
  declare const _default: import("vue").DefineComponent<{}, {
3
- state: AnyObject;
4
- setMsgList: Function;
5
- setIsAppendMsg: Function;
6
4
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
5
+ state: AnyObject;
6
+ setMsgList: (list?: AnyObject[]) => void;
7
+ page: number;
7
8
  getHistoryRecord: () => Promise<void>;
8
- accessSession: (lastSessionId: string) => Promise<void>;
9
- isNeedShowTime: (item: AnyObject, index: number) => boolean;
9
+ accessSession: () => Promise<void>;
10
+ showSystemMsg: (item: AnyObject) => boolean;
11
+ needShowTime: (item: AnyObject, index: number) => boolean;
10
12
  setScrollToButtom: () => Promise<void>;
13
+ getIntervalMsgTime: (time: string) => string;
11
14
  NAvatar: any;
15
+ PersonProfile: import("vue").DefineComponent<{
16
+ userInfo: {
17
+ type: import("vue").PropType<AnyObject>;
18
+ required: true;
19
+ };
20
+ }, {
21
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
22
+ userInfo: {
23
+ type: import("vue").PropType<AnyObject>;
24
+ required: true;
25
+ };
26
+ }>> & {}>>;
27
+ showLargeAvatar: import("vue").Ref<boolean>;
28
+ showPhone: import("vue").Ref<boolean>;
29
+ personInfo: import("vue").ComputedRef<({
30
+ label: string;
31
+ content: string;
32
+ key?: undefined;
33
+ } | {
34
+ label: string;
35
+ content: string;
36
+ key: string;
37
+ })[]>;
38
+ getContent: (info: AnyObject) => any;
39
+ onFinish: (options: {
40
+ file: import("naive-ui").UploadFileInfo;
41
+ }) => void;
42
+ onChange: (options: {
43
+ file: import("naive-ui").UploadFileInfo;
44
+ }) => void;
45
+ NAvatar: any;
46
+ NPopover: any;
47
+ NButton: any;
48
+ NIcon: any;
49
+ NUpload: any;
50
+ NUploadTrigger: import("vue").DefineComponent<{
51
+ abstract: BooleanConstructor;
52
+ }, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ abstract: BooleanConstructor;
56
+ }>>, {
57
+ abstract: boolean;
58
+ }>;
59
+ ChatbubbleEllipses: 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<{}>>, {}>;
60
+ Close: 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<{}>>, {}>;
61
+ Camera: 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<{}>>, {}>;
62
+ EyeOutline: 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<{}>>, {}>;
63
+ EyeOffOutline: 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<{}>>, {}>;
64
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
65
+ userInfo: {
66
+ type: import("vue").PropType<AnyObject>;
67
+ required: true;
68
+ };
69
+ }>>, {}>;
70
+ MessageTemplate: import("vue").DefineComponent<{
71
+ data: {
72
+ type: import("vue").PropType<AnyObject>;
73
+ required: true;
74
+ };
75
+ }, {
76
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
77
+ data: {
78
+ type: import("vue").PropType<AnyObject>;
79
+ required: true;
80
+ };
81
+ }>> & {
82
+ "onTemplate-click"?: ((...args: any[]) => any) | undefined;
83
+ }>>;
84
+ emit: (event: "template-click", ...args: any[]) => void;
85
+ setting: import("vue").ComputedRef<any>;
86
+ serverSetting: import("vue").ComputedRef<any>;
87
+ topRightButton: import("vue").ComputedRef<any>;
88
+ contentList: import("vue").ComputedRef<any>;
89
+ toolbarButton: import("vue").ComputedRef<any>;
90
+ bottomButton: import("vue").ComputedRef<any>;
91
+ contentParams: import("vue").ComputedRef<any>;
92
+ getSystemMsgContent: () => any;
93
+ handleTemplateClick: (data: AnyObject) => void;
94
+ NButton: any;
95
+ NIcon: any;
96
+ ChevronForwardOutline: 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<{}>>, {}>;
97
+ AlertCircleSharp: 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<{}>>, {}>;
98
+ SvgIcon: import("vue").DefineComponent<{
99
+ iconClass: {
100
+ type: StringConstructor;
101
+ required: true;
102
+ default: string;
103
+ };
104
+ title: {
105
+ type: StringConstructor;
106
+ required: false;
107
+ default: string;
108
+ };
109
+ className: {
110
+ type: StringConstructor;
111
+ required: false;
112
+ };
113
+ }, {
114
+ props: {
115
+ iconClass: string;
116
+ title: string;
117
+ className?: string | undefined;
118
+ };
119
+ iconName: import("vue").ComputedRef<string>;
120
+ svgClass: import("vue").ComputedRef<string>;
121
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
122
+ iconClass: {
123
+ type: StringConstructor;
124
+ required: true;
125
+ default: string;
126
+ };
127
+ title: {
128
+ type: StringConstructor;
129
+ required: false;
130
+ default: string;
131
+ };
132
+ className: {
133
+ type: StringConstructor;
134
+ required: false;
135
+ };
136
+ }>>, {
137
+ title: string;
138
+ iconClass: string;
139
+ }>;
140
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "template-click"[], "template-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
141
+ data: {
142
+ type: import("vue").PropType<AnyObject>;
143
+ required: true;
144
+ };
145
+ }>> & {
146
+ "onTemplate-click"?: ((...args: any[]) => any) | undefined;
147
+ }, {}>;
148
+ images: any[];
149
+ MESSAGE_TYPE: typeof MESSAGE_TYPE;
12
150
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
13
151
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,inject as s,ref as n,nextTick as t,watch as i,openBlock as r,createElementBlock as o,Fragment as a,renderList as l,unref as c,toDisplayString as u,createCommentVNode as m,createVNode as d,withCtx as f,createTextVNode as g,createElementVNode as v}from"vue";import{NAvatar as p}from"naive-ui";import{useInfiniteScroll as _}from"@vueuse/core";import{getHistoryRecordApi as y,accessSessionApi as L}from"../api/index.js";const M={key:0,class:"time"},I={key:1,class:"message-box left"},T={class:"content"},h=["innerHTML"],k={key:2,class:"message-box right"},H={class:"content"},w=["innerHTML"];var x=e({__name:"ChatMain",setup(e){const x=s("state"),A=s("setMsgList"),S=s("setIsAppendMsg"),b=n();async function z(){var e,s;try{const n=null==(s=null==(e=x.msgList)?void 0:e[0])?void 0:s.id,t=await y({mergeType:1,sessionId:x.currentSessionId,from:x.userInfo.username,source:2,id:n});if(!Array.isArray(t))return;if(n&&0===t.length)return console.log("没有更多消息了");A(n?[...t,...x.msgList]:t),n||j()}catch(e){console.log(e)}}function N(e,s){return+(e.createdTime||Date.now())-+(0==s?0:x.msgList[s-1].createdTime)>18e4}async function j(){var e,s,n;await t();const i=null!=(s=null==(e=b.value)?void 0:e.scrollHeight)?s:0;null==(n=b.value)||n.scrollTo({top:i})}return _(b,(()=>{z()}),{distance:20,direction:"top"}),i((()=>x.currentSessionId),((e,s)=>{e&&(!async function(e){await L({sessionId:x.currentSessionId,lastSessionId:e,from:x.userInfo.username})}(s),z())}),{immediate:!0}),i((()=>x.isAppendMsg),(e=>{e&&(A([...x.msgList,x.currentMsg]),S(!1),j())}),{immediate:!0}),(e,s)=>(r(),o("div",{class:"chat-main",ref_key:"chatMainRef",ref:b},[(r(!0),o(a,null,l(c(x).msgList,((e,s)=>(r(),o("div",{class:"message-item",key:s},[N(e,s)?(r(),o("p",M,u(e.__time),1)):m("v-if",!0),e.__left?(r(),o("div",I,[d(c(p),{round:"",size:"large"},{default:f((()=>[g(u(e.fromName.slice(-2)),1)])),_:2},1024),v("div",T,[v("p",{innerHTML:e.__content},null,8,h)])])):(r(),o("div",k,[v("div",H,[v("p",{innerHTML:e.__content},null,8,w)]),d(c(p),{round:"",size:"large"},{default:f((()=>[g(u(e.fromName.slice(-2)),1)])),_:2},1024)]))])))),128))],512))}});export{x as default};
1
+ import{defineComponent as e,ref as t,nextTick as s,watch as n,openBlock as i,createElementBlock as r,Fragment as o,renderList as a,unref as m,normalizeClass as c,toDisplayString as l,createCommentVNode as u,createBlock as d,mergeProps as f,createElementVNode as p,createVNode as g,withCtx as y}from"vue";import{NAvatar as v}from"naive-ui";import{useInfiniteScroll as T}from"@vueuse/core";import{isToday as M,format as h,isYesterday as H}from"date-fns";import{getHistoryRecordApi as L}from"../api/index.js";import{useState as _}from"../hooks/useState.js";import{isNumber as k}from"lodash-es";import E from"./PersonProfile.vue.js";import j from"./MessageTemplate.vue.js";import{images as A}from"../utils/emoji.js";import{MESSAGE_TYPE as w}from"../constants/index.js";const D={key:0,class:"time"},I={class:"message-box"},P=["data-time"],x=["innerHTML"],K=["src"];var F=e({__name:"ChatMain",setup(e){const F=t(),{state:J,setMsgList:O}=_();let R=1;async function Y(){try{const e=await L({sessionKey:J.sessionKey,page:R});if(console.log("getHistoryRecord",e),!Array.isArray(e))return;if(0===e.length)return console.log("没有更多消息了");O(R>1?[...e,...J.msgList]:e),1===R&&z()}catch(e){console.log(e)}}function $(e){var t;const{chatMessageType:s,msgTemplate:n}=e.content;return s===w.TEMPLATE&&2==(null==(t=null==n?void 0:n.setting)?void 0:t.style.id)}function b(e,t){var s;const n=k(e.sendTime)?e.sendTime:Date.parse(e.sendTime),i=null==(s=J.msgList[t-1])?void 0:s.sendTime;return n-(0===t?0:k(i)?i:Date.parse(i))>3e5}async function z(){var e,t,n;await s();const i=null!=(t=null==(e=F.value)?void 0:e.scrollHeight)?t:0;null==(n=F.value)||n.scrollTo({top:i})}function C(e){const t=new Date(e),s=Date.now()-t.getTime();if(s<6e4)return"刚刚";if(s<36e5)return Math.ceil(s/1e4/60)+"分钟前";if(M(t))return"今天 "+h(t,"HH:mm");if(H(t))return"昨天 "+h(t,"HH:mm");{const e=t.getFullYear(),s=(new Date).getFullYear();return h(t,e<s?"yyyy年M月d日 HH:mm":"M月d日 HH:mm")}}return T(F,(()=>{R++,Y()}),{distance:20,direction:"top"}),n((()=>J.sessionKey),(e=>{e&&(R=1,Y())}),{immediate:!0}),n((()=>J.isAppendMsg),(e=>{e&&(O([...J.msgList,J.currentMsg]),J.isAppendMsg=!1,z())}),{immediate:!0}),(e,t)=>(i(),r("div",{class:"chat-main",ref_key:"chatMainRef",ref:F},[(i(!0),r(o,null,a(m(J).msgList,((t,s)=>(i(),r("div",{class:c(["message-item",{"message-item--mine":t.sender==m(J).userInfo.id}]),key:s},[b(t,s)?(i(),r("p",D,l(C(t.sendTime)),1)):u("v-if",!0),$(t)?(i(),d(j,f({key:1,data:t},e.$attrs),null,16,["data"])):u("v-if",!0),p("div",I,[g(E,{"user-info":t.sender==m(J).userInfo.id?m(J).userInfo:t},{trigger:y((()=>[g(m(v),{round:"",size:38,src:t.senderAvatar},null,8,["src"])])),_:2},1032,["user-info"]),t.content?(i(),r("div",{key:0,class:c(["content",{emoji:t.content.chatMessageType===m(w).EMOJI},{template:t.content.chatMessageType===m(w).TEMPLATE}]),"data-time":t.__time},[t.content.chatMessageType===m(w).TEXT?(i(),r("pre",{key:0,innerHTML:t.__content},null,8,x)):u("v-if",!0),t.content.chatMessageType===m(w).EMOJI?(i(),r("img",{key:1,src:m(A)[t.__content]},null,8,K)):u("v-if",!0),t.content.chatMessageType===m(w).TEMPLATE?(i(),d(j,f({key:2,data:t},e.$attrs),null,16,["data"])):u("v-if",!0)],10,P)):u("v-if",!0)])],2)))),128))],512))}});export{F as default};
@@ -0,0 +1,101 @@
1
+ import { PropType } from 'vue';
2
+ import { AnyObject } from '../../../../shared/types';
3
+ declare const _default: import("vue").DefineComponent<{}, {
4
+ tagColor: {
5
+ color: string;
6
+ textColor: string;
7
+ };
8
+ state: AnyObject;
9
+ options: {
10
+ label: any;
11
+ value: any;
12
+ avatar: any;
13
+ }[];
14
+ user: import("vue").Ref<never[]>;
15
+ startTime: import("vue").Ref<any>;
16
+ endTime: import("vue").Ref<any>;
17
+ getPrefixCondition: () => (JSX.Element | null)[];
18
+ renderLabel: (option: AnyObject) => JSX.Element;
19
+ NModal: any;
20
+ NTag: any;
21
+ NInput: any;
22
+ NSelect: any;
23
+ NAvatar: any;
24
+ NPopover: any;
25
+ DatePicker: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
26
+ updateUnchangedValue: {
27
+ type: BooleanConstructor;
28
+ };
29
+ onConfirm: {
30
+ type: FunctionConstructor;
31
+ };
32
+ formattedValue: {
33
+ type: PropType<(string | [string, string]) | null | undefined>;
34
+ };
35
+ placeholder: {
36
+ type: StringConstructor;
37
+ };
38
+ allowedInvalidValue: {
39
+ type: StringConstructor;
40
+ };
41
+ }, {
42
+ attrs: {
43
+ [x: string]: unknown;
44
+ };
45
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
46
+ updateUnchangedValue: {
47
+ type: BooleanConstructor;
48
+ };
49
+ onConfirm: {
50
+ type: FunctionConstructor;
51
+ };
52
+ formattedValue: {
53
+ type: PropType<(string | [string, string]) | null | undefined>;
54
+ };
55
+ placeholder: {
56
+ type: StringConstructor;
57
+ };
58
+ allowedInvalidValue: {
59
+ type: StringConstructor;
60
+ };
61
+ }>> & {
62
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
63
+ }>>;
64
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
65
+ datePickerRef: import("vue").Ref<AnyObject | null>;
66
+ panelInstRef: import("vue").Ref<null>;
67
+ placeholderRef: import("vue").Ref<any>;
68
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
69
+ isDateTime: import("vue").ComputedRef<boolean>;
70
+ formatRef: import("vue").ComputedRef<string>;
71
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
72
+ focus: () => any;
73
+ blur: () => any;
74
+ handleConfirm: (target: HTMLInputElement) => void;
75
+ onUpdateShow: (show: boolean) => Promise<void>;
76
+ onConfirm: (...args: any[]) => Promise<void>;
77
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
78
+ NDatePicker: any;
79
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
+ updateUnchangedValue: {
81
+ type: BooleanConstructor;
82
+ };
83
+ onConfirm: {
84
+ type: FunctionConstructor;
85
+ };
86
+ formattedValue: {
87
+ type: PropType<(string | [string, string]) | null | undefined>;
88
+ };
89
+ placeholder: {
90
+ type: StringConstructor;
91
+ };
92
+ allowedInvalidValue: {
93
+ type: StringConstructor;
94
+ };
95
+ }>> & {
96
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
97
+ }, {
98
+ updateUnchangedValue: boolean;
99
+ }>>;
100
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
101
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./ChatRecord.vue2.js";import r from"../../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","ChatRecord.vue"]]);export{o as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as l,openBlock as a,createBlock as t,unref as r,withCtx as s,createElementVNode as o,createVNode as n,resolveDynamicComponent as i,withDirectives as c,createTextVNode as u,toDisplayString as d,vShow as v,Fragment as m}from"vue";import{NModal as p,NInput as f,NAvatar as g,NSelect as b,NPopover as _,NTag as h,NIcon as x}from"naive-ui";import{SearchOutline as y}from"@vicons/ionicons5";import{useState as w}from"../hooks/useState.js";import I from"../../../date-picker/index.js";const k={class:"c-chat-dialog__content c-chat-record-wrapper"},S={class:"chat-record-box"},z={class:"chat-record-box__content"},U={class:"content-item"},j=o("div",{class:"msg-box"},[o("div",{class:"name-and-time"},[o("span",null,"大傻子(质控部)"),o("span",null,"今天14:30")]),o("div",{class:"content"},[o("p",{innerHTML:"内容内容"})])],-1),C={class:"content-item"},H=o("div",{class:"msg-box"},[o("div",{class:"name-and-time"},[o("span",null,"大傻子2号(质控部)"),o("span",null,"今天14:30")]),o("div",{class:"content"},[o("p",{innerHTML:"内容内容叭叭叭"})])],-1),L={class:"chat-record-box__filter"},M=o("span",{class:"filter-title"},"添加筛选条件",-1),T={class:"filter-item"},R=o("span",{class:"label"},"成员:",-1),q={class:"filter-item"},A=o("span",{class:"label"},"日期:",-1),B={class:"time-target"},D={class:"time-target__item"},E=o("span",null,"开始:",-1),F={class:"time-target__item"},G=o("span",null,"结束:",-1);var J=e({__name:"ChatRecord",setup(e){const J={color:"#fff",textColor:"#666"},{state:K}=w(),N=[{label:K.userInfo.name,value:K.userInfo.id,avatar:K.userInfo.avatar},{label:K.currentSessionItem.name,value:K.currentSessionItem.receiver,avatar:K.currentSessionItem.avatar}],O=l([]),P=l(),Q=l();function V(e){return n(m,null,[n("div",{style:"display: flex;align-items: center"},[n(g,{src:e.avatar,round:!0,size:"small"},null),n("span",{style:"margin-left: 10px"},[e.label])])])}return(e,l)=>(a(),t(r(p),{preset:"dialog",title:"聊天记录","show-icon":!1,class:"c-chat-dialog"},{default:s((()=>[o("div",k,[n(r(f),{placeholder:"搜索文件"},{prefix:s((()=>[(a(),t(i((()=>[n(x,{component:y,color:"#6666"},null),O.value.length>0?n(h,{closable:!0,bordered:!1,color:J,style:"margin-left: 10px"},{default:()=>[u("成员: "),O.value.length>1?O.value.length+"人":O.value[0]]}):null,P.value?n(h,{closable:!0,bordered:!1,color:J,style:"margin-left: 10px"},{default:()=>[u("起始时间: "),P.value]}):null,Q.value?n(h,{closable:!0,bordered:!1,color:J,style:"margin-left: 10px"},{default:()=>[u("结束时间: "),Q.value]}):null]))))])),_:1}),o("div",S,[o("div",z,[o("div",U,[n(r(g),{round:"",size:38}),j]),o("div",C,[n(r(g),{round:"",size:38}),H])]),o("div",L,[M,o("div",T,[R,n(r(b),{value:O.value,"onUpdate:value":l[0]||(l[0]=e=>O.value=e),multiple:"","max-tag-count":1,"render-label":V,options:N},null,8,["value"])]),o("div",q,[A,o("div",B,[n(r(_),{trigger:"click","show-arrow":!1},{trigger:s((()=>[o("div",D,[E,c(n(r(h),{bordered:!1,color:J,closable:""},{default:s((()=>[u(d(P.value),1)])),_:1},512),[[v,P.value]])])])),default:s((()=>[n(r(I),{"formatted-value":P.value,"onUpdate:formatted-value":l[1]||(l[1]=e=>P.value=e),type:"date",panel:"",clearable:""},null,8,["formatted-value"])])),_:1}),n(r(_),{trigger:"click","show-arrow":!1},{trigger:s((()=>[o("div",F,[G,c(n(r(h),{bordered:!1,color:J,closable:""},{default:s((()=>[u(d(Q.value),1)])),_:1},512),[[v,Q.value]])])])),default:s((()=>[n(r(I),{"formatted-value":Q.value,"onUpdate:formatted-value":l[2]||(l[2]=e=>Q.value=e),type:"date",panel:"",clearable:""},null,8,["formatted-value"])])),_:1})])])])])])])),_:1}))}});export{J as default};
@@ -0,0 +1,246 @@
1
+ import { PropType } from 'vue';
2
+ import { AnyObject } from '../../../../shared/types';
3
+ declare const _default: import("vue").DefineComponent<{}, {
4
+ state: AnyObject;
5
+ setCurrentSessionItem: (item: AnyObject) => void;
6
+ handleTopping: (value: boolean) => Promise<void>;
7
+ NDrawer: any;
8
+ NDrawerContent: import("vue").DefineComponent<{
9
+ title: {
10
+ type: StringConstructor;
11
+ };
12
+ headerStyle: PropType<string | import("vue").CSSProperties>;
13
+ footerStyle: PropType<string | import("vue").CSSProperties>;
14
+ bodyStyle: PropType<string | import("vue").CSSProperties>;
15
+ bodyContentStyle: PropType<string | import("vue").CSSProperties>;
16
+ nativeScrollbar: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ scrollbarProps: PropType<import("naive-ui/es/_internal").ScrollbarProps>;
21
+ closable: BooleanConstructor;
22
+ }, {
23
+ handleCloseClick: () => void;
24
+ mergedTheme: import("vue").Ref<{
25
+ common: {
26
+ baseColor: string;
27
+ primaryColor: string;
28
+ primaryColorHover: string;
29
+ primaryColorPressed: string;
30
+ primaryColorSuppl: string;
31
+ infoColor: string;
32
+ infoColorHover: string;
33
+ infoColorPressed: string;
34
+ infoColorSuppl: string;
35
+ successColor: string;
36
+ successColorHover: string;
37
+ successColorPressed: string;
38
+ successColorSuppl: string;
39
+ warningColor: string;
40
+ warningColorHover: string;
41
+ warningColorPressed: string;
42
+ warningColorSuppl: string;
43
+ errorColor: string;
44
+ errorColorHover: string;
45
+ errorColorPressed: string;
46
+ errorColorSuppl: string;
47
+ textColorBase: string;
48
+ textColor1: string;
49
+ textColor2: string;
50
+ textColor3: string;
51
+ textColorDisabled: string;
52
+ placeholderColor: string;
53
+ placeholderColorDisabled: string;
54
+ iconColor: string;
55
+ iconColorHover: string;
56
+ iconColorPressed: string;
57
+ iconColorDisabled: string;
58
+ opacity1: string;
59
+ opacity2: string;
60
+ opacity3: string;
61
+ opacity4: string;
62
+ opacity5: string;
63
+ dividerColor: string;
64
+ borderColor: string;
65
+ closeIconColor: string;
66
+ closeIconColorHover: string;
67
+ closeIconColorPressed: string;
68
+ closeColorHover: string;
69
+ closeColorPressed: string;
70
+ clearColor: string;
71
+ clearColorHover: string;
72
+ clearColorPressed: string;
73
+ scrollbarColor: string;
74
+ scrollbarColorHover: string;
75
+ scrollbarWidth: string;
76
+ scrollbarHeight: string;
77
+ scrollbarBorderRadius: string;
78
+ progressRailColor: string;
79
+ railColor: string;
80
+ popoverColor: string;
81
+ tableColor: string;
82
+ cardColor: string;
83
+ modalColor: string;
84
+ bodyColor: string;
85
+ tagColor: string;
86
+ avatarColor: string;
87
+ invertedColor: string;
88
+ inputColor: string;
89
+ codeColor: string;
90
+ tabColor: string;
91
+ actionColor: string;
92
+ tableHeaderColor: string;
93
+ hoverColor: string;
94
+ tableColorHover: string;
95
+ tableColorStriped: string;
96
+ pressedColor: string;
97
+ opacityDisabled: string;
98
+ inputColorDisabled: string;
99
+ buttonColor2: string;
100
+ buttonColor2Hover: string;
101
+ buttonColor2Pressed: string;
102
+ boxShadow1: string;
103
+ boxShadow2: string;
104
+ boxShadow3: string;
105
+ fontFamily: string;
106
+ fontFamilyMono: string;
107
+ fontWeight: string;
108
+ fontWeightStrong: string;
109
+ cubicBezierEaseInOut: string;
110
+ cubicBezierEaseOut: string;
111
+ cubicBezierEaseIn: string;
112
+ borderRadius: string;
113
+ borderRadiusSmall: string;
114
+ fontSize: string;
115
+ fontSizeMini: string;
116
+ fontSizeTiny: string;
117
+ fontSizeSmall: string;
118
+ fontSizeMedium: string;
119
+ fontSizeLarge: string;
120
+ fontSizeHuge: string;
121
+ lineHeight: string;
122
+ heightMini: string;
123
+ heightTiny: string;
124
+ heightSmall: string;
125
+ heightMedium: string;
126
+ heightLarge: string;
127
+ heightHuge: string;
128
+ name: "common";
129
+ };
130
+ self: {
131
+ bodyPadding: string;
132
+ headerPadding: string;
133
+ footerPadding: string;
134
+ color: string;
135
+ textColor: string;
136
+ titleTextColor: string;
137
+ titleFontSize: string;
138
+ titleFontWeight: string;
139
+ boxShadow: string;
140
+ lineHeight: string;
141
+ headerBorderBottom: string;
142
+ footerBorderTop: string;
143
+ closeIconColor: string;
144
+ closeIconColorHover: string;
145
+ closeIconColorPressed: string;
146
+ closeSize: string;
147
+ closeIconSize: string;
148
+ closeColorHover: string;
149
+ closeColorPressed: string;
150
+ closeBorderRadius: string;
151
+ resizableTriggerColorHover: string;
152
+ };
153
+ peers: {
154
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
155
+ color: string;
156
+ colorHover: string;
157
+ }, any>;
158
+ };
159
+ peerOverrides: {
160
+ Scrollbar?: {
161
+ peers?: {
162
+ [x: string]: any;
163
+ } | undefined;
164
+ } | undefined;
165
+ };
166
+ }>;
167
+ mergedClsPrefix: import("vue").Ref<string>;
168
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
169
+ title: {
170
+ type: StringConstructor;
171
+ };
172
+ headerStyle: PropType<string | import("vue").CSSProperties>;
173
+ footerStyle: PropType<string | import("vue").CSSProperties>;
174
+ bodyStyle: PropType<string | import("vue").CSSProperties>;
175
+ bodyContentStyle: PropType<string | import("vue").CSSProperties>;
176
+ nativeScrollbar: {
177
+ type: BooleanConstructor;
178
+ default: boolean;
179
+ };
180
+ scrollbarProps: PropType<import("naive-ui/es/_internal").ScrollbarProps>;
181
+ closable: BooleanConstructor;
182
+ }>>, {
183
+ closable: boolean;
184
+ nativeScrollbar: boolean;
185
+ }>;
186
+ NAvatar: any;
187
+ NIcon: any;
188
+ NSwitch: any;
189
+ ChevronForwardOutline: 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<{}>>, {}>;
190
+ PersonProfile: import("vue").DefineComponent<{
191
+ userInfo: {
192
+ type: PropType<AnyObject>;
193
+ required: true;
194
+ };
195
+ }, {
196
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
197
+ userInfo: {
198
+ type: PropType<AnyObject>;
199
+ required: true;
200
+ };
201
+ }>> & {}>>;
202
+ showLargeAvatar: import("vue").Ref<boolean>;
203
+ showPhone: import("vue").Ref<boolean>;
204
+ personInfo: import("vue").ComputedRef<({
205
+ label: string;
206
+ content: string;
207
+ key?: undefined;
208
+ } | {
209
+ label: string;
210
+ content: string;
211
+ key: string;
212
+ })[]>;
213
+ getContent: (info: AnyObject) => any;
214
+ onFinish: (options: {
215
+ file: import("naive-ui").UploadFileInfo;
216
+ }) => void;
217
+ onChange: (options: {
218
+ file: import("naive-ui").UploadFileInfo;
219
+ }) => void;
220
+ NAvatar: any;
221
+ NPopover: any;
222
+ NButton: any;
223
+ NIcon: any;
224
+ NUpload: any;
225
+ NUploadTrigger: import("vue").DefineComponent<{
226
+ abstract: BooleanConstructor;
227
+ }, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
228
+ [key: string]: any;
229
+ }>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
230
+ abstract: BooleanConstructor;
231
+ }>>, {
232
+ abstract: boolean;
233
+ }>;
234
+ ChatbubbleEllipses: 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<{}>>, {}>;
235
+ Close: 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<{}>>, {}>;
236
+ Camera: 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<{}>>, {}>;
237
+ EyeOutline: 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<{}>>, {}>;
238
+ EyeOffOutline: 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<{}>>, {}>;
239
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
240
+ userInfo: {
241
+ type: PropType<AnyObject>;
242
+ required: true;
243
+ };
244
+ }>>, {}>;
245
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
246
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./ChatSet.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","ChatSet.vue"]]);export{r as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,openBlock as s,createBlock as t,unref as o,withCtx as n,createVNode as i,createElementVNode as r,toDisplayString as a}from"vue";import{NDrawer as u,NDrawerContent as l,NAvatar as c,NIcon as p,NSwitch as m}from"naive-ui";import{ChevronForwardOutline as f}from"@vicons/ionicons5";import{useState as d}from"../hooks/useState.js";import v from"./PersonProfile.vue.js";import{toppingSessionApi as g}from"../api/index.js";const h={class:"chat-set-wrapper"},_={class:"item user-info"},I={class:"item"},S=r("span",{class:"label"},"置顶聊天",-1);var y=e({__name:"ChatSet",setup(e){const{state:y,setCurrentSessionItem:b}=d();async function j(e){try{await g({sessionKey:y.currentSessionItem.sessionKey,id:y.currentSessionItem.id,topping:e}),b({topping:e}),y.isChangeSession=!0}catch(e){console.log(e)}}return(e,d)=>(s(),t(o(u),{width:320,"trap-focus":!1,"block-scroll":!1,to:".c-biunique-chat"},{default:n((()=>[i(o(l),{title:"聊天设置"},{default:n((()=>[r("div",h,[i(v,{"user-info":o(y).userInfo},{trigger:n((()=>[r("div",_,[i(o(c),{round:"",size:40,src:o(y).currentSessionItem.avatar},null,8,["src"]),r("span",null,a(o(y).userInfo.name),1),i(o(p),{size:24,component:o(f),class:"item__right"},null,8,["component"])])])),_:1},8,["user-info"]),r("div",I,[S,i(o(m),{value:o(y).userInfo.topping,"onUpdate:value":[d[0]||(d[0]=e=>o(y).userInfo.topping=e),j],class:"item__right"},null,8,["value"])])])])),_:1})])),_:1}))}});export{y as default};
@@ -0,0 +1,81 @@
1
+ import { PropType } from 'vue';
2
+ import { AnyObject } from '../../../../shared/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ data: {
5
+ type: PropType<AnyObject>;
6
+ required: true;
7
+ };
8
+ }, {
9
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
10
+ data: {
11
+ type: PropType<AnyObject>;
12
+ required: true;
13
+ };
14
+ }>> & {
15
+ "onTemplate-click"?: ((...args: any[]) => any) | undefined;
16
+ }>>;
17
+ emit: (event: "template-click", ...args: any[]) => void;
18
+ setting: import("vue").ComputedRef<any>;
19
+ serverSetting: import("vue").ComputedRef<any>;
20
+ topRightButton: import("vue").ComputedRef<any>;
21
+ contentList: import("vue").ComputedRef<any>;
22
+ toolbarButton: import("vue").ComputedRef<any>;
23
+ bottomButton: import("vue").ComputedRef<any>;
24
+ contentParams: import("vue").ComputedRef<any>;
25
+ getSystemMsgContent: () => any;
26
+ handleTemplateClick: (data: AnyObject) => void;
27
+ NButton: any;
28
+ NIcon: any;
29
+ ChevronForwardOutline: 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<{}>>, {}>;
30
+ AlertCircleSharp: 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<{}>>, {}>;
31
+ SvgIcon: import("vue").DefineComponent<{
32
+ iconClass: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ default: string;
36
+ };
37
+ title: {
38
+ type: StringConstructor;
39
+ required: false;
40
+ default: string;
41
+ };
42
+ className: {
43
+ type: StringConstructor;
44
+ required: false;
45
+ };
46
+ }, {
47
+ props: {
48
+ iconClass: string;
49
+ title: string;
50
+ className?: string | undefined;
51
+ };
52
+ iconName: import("vue").ComputedRef<string>;
53
+ svgClass: import("vue").ComputedRef<string>;
54
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ iconClass: {
56
+ type: StringConstructor;
57
+ required: true;
58
+ default: string;
59
+ };
60
+ title: {
61
+ type: StringConstructor;
62
+ required: false;
63
+ default: string;
64
+ };
65
+ className: {
66
+ type: StringConstructor;
67
+ required: false;
68
+ };
69
+ }>>, {
70
+ title: string;
71
+ iconClass: string;
72
+ }>;
73
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "template-click"[], "template-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ data: {
75
+ type: PropType<AnyObject>;
76
+ required: true;
77
+ };
78
+ }>> & {
79
+ "onTemplate-click"?: ((...args: any[]) => any) | undefined;
80
+ }, {}>;
81
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./MessageTemplate.vue2.js";import r from"../../../../_virtual/_plugin-vue_export-helper.js";var a=r(e,[["__file","MessageTemplate.vue"]]);export{a as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,openBlock as l,createElementBlock as s,Fragment as a,unref as i,createElementVNode as o,toDisplayString as n,withModifiers as c,createBlock as m,createCommentVNode as p,renderList as r,withCtx as d,createTextVNode as u,createVNode as v}from"vue";import{NIcon as f,NButton as y}from"naive-ui";import{ChevronForwardOutline as g,AlertCircleSharp as k}from"@vicons/ionicons5";import _ from"../../../../shared/components/SvgIcon/SvgIcon.vue.js";const b={class:"default-msg-template__header"},h={class:"title"},C={class:"default-msg-template__body"},T=["src"],j={class:"template-content"},M={key:0,class:"default-msg-template__btn-group"},S=o("i",{class:"chat--iconfont chat--icon-more"},null,-1),x={key:1,class:"describe-msg-template"},B={class:"describe-msg-template__header"},H={class:"describe-msg-template__body"},I={class:"title"},L={class:"txt"},q=o("div",{class:"describe-msg-template__footer"},[u(" 展开全部 "),o("i",{class:"chat--iconfont chat--icon-more"})],-1),z={key:2,class:"system-msg-template"},O=["innerHTML"],P=["onClick"];var R=e({__name:"MessageTemplate",props:{data:{type:Object,required:!0}},emits:["template-click"],setup(e,{emit:R}){const w=e,A=t((()=>w.data.content.msgTemplate.setting)),D=t((()=>A.value.serverSetting)),E=t((()=>(D.value.topRightButton||[])[0])),F=t((()=>(A.value.content||"").split("##").filter((e=>e)))),G=t((()=>D.value.toolbar_button)),J=t((()=>(D.value.bottomButton||[])[0])),K=t((()=>A.value.contentParams));function N(e){R("template-click",e,w.data)}return(e,t)=>(l(),s(a,null,[1==i(A).style.id?(l(),s("div",{key:0,class:"default-msg-template",onClick:t[2]||(t[2]=()=>N(i(D)))},[o("div",b,[o("span",h,n(i(A).title),1),i(E)?(l(),s("span",{key:0,class:"btn",onClick:t[0]||(t[0]=c((()=>N(i(E))),["stop"]))},n(i(E).title),1)):i(D).address?(l(),m(i(f),{key:1,component:i(g),color:"#969696"},null,8,["component"])):p("v-if",!0)]),o("div",C,[i(A).style.icon?(l(),m(i(_),{key:0,class:"logo","icon-class":i(A).style.icon},null,8,["icon-class"])):i(A).style.image?(l(),s("img",{key:1,class:"logo",src:i(A).style.image},null,8,T)):p("v-if",!0),o("div",j,[(l(!0),s(a,null,r(i(F),(e=>(l(),s("div",{key:e},n(e),1)))),128))])]),i(G)?(l(),s("div",M,[(l(!0),s(a,null,r(i(G),((e,t)=>(l(),m(i(y),{type:"primary",round:"",ghost:"",onClick:c((()=>N(e)),["stop"]),key:t},{default:d((()=>[u(n(e.title),1)])),_:2},1032,["onClick"])))),128))])):p("v-if",!0),i(J)?(l(),s("div",{key:1,class:"default-msg-template__footer",onClick:t[1]||(t[1]=c((()=>N(i(J))),["stop"]))},[u(n(i(J).title)+" ",1),S])):p("v-if",!0)])):p("v-if",!0),3==i(A).style.id?(l(),s("div",x,[o("div",B,n(i(A).title),1),o("div",H,[(l(!0),s(a,null,r(i(K),((e,t)=>(l(),s(a,{key:t},[o("div",I,n(e.p_name),1),o("div",L,n(e.p_value),1)],64)))),128))]),q])):p("v-if",!0),2==i(A).style.id?(l(),s("div",z,[v(i(f),{component:i(k),color:"#ffc200",size:18},null,8,["component"]),o("span",{innerHTML:F.value.join("<br>")},null,8,O),(l(!0),s(a,null,r(i(G),((e,t)=>(l(),s("span",{class:"btn",onClick:()=>N(e),key:t},n(e.title),9,P)))),128))])):p("v-if",!0)],64))}});export{R as default};