@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.11

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 (389) hide show
  1. package/dist/chart-GD7RhhzY.js.map +1 -1
  2. package/dist/ibiz-markdown-editor-KT8uap_I.js.map +1 -1
  3. package/dist/{index-O-XmMUt3.js → index-JSf84k9b.js} +2 -2
  4. package/dist/index-JSf84k9b.js.map +1 -0
  5. package/dist/{index-NP0RBfWK.js → index-OsiEgFnw.js} +2 -2
  6. package/dist/index-OsiEgFnw.js.map +1 -0
  7. package/dist/index-q0SBDv6c.js +76 -0
  8. package/dist/index-q0SBDv6c.js.map +1 -0
  9. package/dist/index.min.css +9 -9
  10. package/dist/index.system.min.js +1 -1
  11. package/dist/{quill-editor-ybZrwyoG.js → quill-editor-5QOfComp.js} +2 -2
  12. package/dist/quill-editor-5QOfComp.js.map +1 -0
  13. package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-65f3RVj0.js} +2 -2
  14. package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-65f3RVj0.js.map} +1 -1
  15. package/dist/{quill-t_EJUjVi.js → quill-sraxwYmv.js} +2 -2
  16. package/dist/{quill-t_EJUjVi.js.map → quill-sraxwYmv.js.map} +1 -1
  17. package/dist/tree-nburezSg.js.map +1 -1
  18. package/es/_virtual/index12.mjs +2 -2
  19. package/es/_virtual/index13.mjs +2 -2
  20. package/es/common/button-list/button-list.d.ts +1 -0
  21. package/es/common/carousel/carousel.d.ts +2 -2
  22. package/es/common/cropping/cropping.d.ts +4 -4
  23. package/es/common/date-range-picker/components/range-picker/range-picker.d.ts +1 -1
  24. package/es/common/date-range-picker/date-range-picker.d.ts +3 -3
  25. package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
  26. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
  27. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +8 -8
  28. package/es/common/emoji-select/emoji-select.d.ts +3 -3
  29. package/es/common/emoji-select/icons/search.d.ts +1 -0
  30. package/es/common/index.mjs +2 -1
  31. package/es/common/md-ctrl-setting/md-ctrl-setting.d.ts +3 -3
  32. package/es/common/preset-view-back/preset-view-back.d.ts +2 -2
  33. package/es/common/preset-view-header/preset-view-header.d.ts +1 -1
  34. package/es/common/preset-view-header/preset-view-header.mjs +3 -0
  35. package/es/common/rawitem/rawitem.d.ts +2 -2
  36. package/es/control/app-menu/app-menu.d.ts +31 -5
  37. package/es/control/app-menu/app-menu.mjs +13 -0
  38. package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +1 -1
  39. package/es/control/app-menu/index.d.ts +6 -6
  40. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
  41. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  42. package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
  43. package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
  44. package/es/control/app-menu-list-view/app-menu-list-view.mjs +57 -32
  45. package/es/control/app-menu-list-view/index.d.ts +5 -5
  46. package/es/control/calendar/calendar.d.ts +46 -6
  47. package/es/control/calendar/calendar.mjs +20 -0
  48. package/es/control/calendar/index.d.ts +7 -7
  49. package/es/control/caption-bar/caption-bar.d.ts +31 -5
  50. package/es/control/caption-bar/caption-bar.mjs +13 -0
  51. package/es/control/caption-bar/index.d.ts +5 -5
  52. package/es/control/chart/chart.d.ts +45 -5
  53. package/es/control/chart/chart.mjs +20 -0
  54. package/es/control/dashboard/dashboard.d.ts +32 -6
  55. package/es/control/dashboard/dashboard.mjs +13 -0
  56. package/es/control/dashboard/index.d.ts +6 -6
  57. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.d.ts +1 -0
  58. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +1 -0
  59. package/es/control/data-view/data-view.d.ts +49 -7
  60. package/es/control/data-view/data-view.mjs +23 -3
  61. package/es/control/data-view/index.d.ts +7 -7
  62. package/es/control/drbar/drbar.controller.d.ts +1 -0
  63. package/es/control/drbar/drbar.controller.mjs +3 -0
  64. package/es/control/drbar/drbar.d.ts +45 -16
  65. package/es/control/drbar/drbar.mjs +19 -4
  66. package/es/control/drbar/index.d.ts +7 -16
  67. package/es/control/drtab/drtab.controller.d.ts +1 -0
  68. package/es/control/drtab/drtab.controller.mjs +3 -0
  69. package/es/control/drtab/drtab.d.ts +33 -7
  70. package/es/control/drtab/drtab.mjs +13 -0
  71. package/es/control/drtab/index.d.ts +7 -7
  72. package/es/control/form/edit-form/edit-form.mjs +44 -0
  73. package/es/control/form/form/form.d.ts +7 -1
  74. package/es/control/form/form/form.mjs +3 -0
  75. package/es/control/form/form/index.d.ts +1 -1
  76. package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  77. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +1 -1
  78. package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
  79. package/es/control/form/form-detail/form-item/index.d.ts +2 -2
  80. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.d.ts +1 -1
  81. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +4 -1
  82. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  83. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -0
  84. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +9 -3
  85. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +4 -0
  86. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +6 -6
  87. package/es/control/form/search-form/index.d.ts +5 -5
  88. package/es/control/form/search-form/search-form.d.ts +31 -5
  89. package/es/control/form/search-form/search-form.mjs +13 -0
  90. package/es/control/list/list/index.d.ts +7 -7
  91. package/es/control/list/list/list.d.ts +81 -7
  92. package/es/control/list/list/list.mjs +37 -0
  93. package/es/control/list/list-render-util.d.ts +1 -0
  94. package/es/control/list/md-ctrl/index.d.ts +9 -9
  95. package/es/control/list/md-ctrl/md-ctrl.d.ts +71 -9
  96. package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
  97. package/es/control/pickup-view-panel/index.d.ts +7 -7
  98. package/es/control/pickup-view-panel/pickup-view-panel.controller.d.ts +2 -0
  99. package/es/control/pickup-view-panel/pickup-view-panel.controller.mjs +3 -0
  100. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
  101. package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
  102. package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
  103. package/es/control/search-bar/filter-tree/filter-tree.d.ts +6 -6
  104. package/es/control/search-bar/index.d.ts +5 -5
  105. package/es/control/search-bar/search-bar.d.ts +31 -5
  106. package/es/control/search-bar/search-bar.mjs +13 -0
  107. package/es/control/tab-exp-panel/index.d.ts +5 -5
  108. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
  109. package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
  110. package/es/control/toolbar/index.d.ts +7 -7
  111. package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +7 -7
  112. package/es/control/toolbar/toolbar.d.ts +33 -7
  113. package/es/control/toolbar/toolbar.mjs +13 -0
  114. package/es/control/tree/tree.d.ts +48 -6
  115. package/es/control/tree/tree.mjs +21 -0
  116. package/es/control/tree-exp-bar/index.d.ts +5 -5
  117. package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
  118. package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
  119. package/es/control/wizard-panel/index.d.ts +5 -5
  120. package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
  121. package/es/control/wizard-panel/wizard-panel.mjs +13 -0
  122. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
  123. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
  124. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
  125. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
  126. package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
  127. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +18 -11
  128. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +144 -26
  129. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -11
  130. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
  131. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
  132. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +22 -10
  133. package/es/editor/dropdown-list/dropdown-list-editor.provider.mjs +3 -0
  134. package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -0
  135. package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.d.ts +84 -0
  136. package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.mjs +142 -0
  137. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +20 -13
  138. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
  139. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
  140. package/es/editor/dropdown-list/index.d.ts +1 -0
  141. package/es/editor/dropdown-list/index.mjs +1 -0
  142. package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
  143. package/es/editor/index.mjs +17 -1
  144. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
  145. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +23 -9
  146. package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
  147. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
  148. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
  149. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
  150. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
  151. package/es/editor/span/span/span.d.ts +15 -3
  152. package/es/editor/span/span-link/span-link.d.ts +16 -8
  153. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
  154. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
  155. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
  156. package/es/editor/text-box/index.d.ts +1 -0
  157. package/es/editor/text-box/index.mjs +1 -0
  158. package/es/editor/text-box/input/input.css +1 -1
  159. package/es/editor/text-box/input/input.d.ts +19 -8
  160. package/es/editor/text-box/input/input.mjs +24 -2
  161. package/es/editor/text-box/signature/signature.css +1 -0
  162. package/es/editor/text-box/signature/signature.d.ts +104 -0
  163. package/es/editor/text-box/signature/signature.mjs +270 -0
  164. package/es/editor/text-box/text-box-editor.provider.mjs +3 -0
  165. package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
  166. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
  167. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
  168. package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
  169. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
  170. package/es/index.mjs +2 -0
  171. package/es/locale/en/index.d.ts +47 -4
  172. package/es/locale/en/index.mjs +14 -0
  173. package/es/locale/zh-CN/index.d.ts +47 -4
  174. package/es/locale/zh-CN/index.mjs +14 -0
  175. package/es/mob-app/App.mjs +19 -2
  176. package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
  177. package/es/mob-app/guard/auth-guard/auth-guard.mjs +141 -55
  178. package/es/mob-app/main.mjs +1 -0
  179. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.d.ts +13 -5
  180. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +50 -15
  181. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
  182. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
  183. package/es/panel-component/async-action/index.d.ts +2 -2
  184. package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
  185. package/es/panel-component/auth-sso/auth-sso.css +1 -1
  186. package/es/panel-component/auth-sso/auth-sso.d.ts +24 -1
  187. package/es/panel-component/auth-sso/auth-sso.mjs +84 -6
  188. package/es/panel-component/auth-sso/index.d.ts +7 -1
  189. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
  190. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
  191. package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
  192. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
  193. package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
  194. package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
  195. package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
  196. package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
  197. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
  198. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
  199. package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
  200. package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
  201. package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
  202. package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
  203. package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
  204. package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
  205. package/es/panel-component/panel-button/panel-button.d.ts +17 -0
  206. package/es/panel-component/panel-button/panel-button.mjs +6 -0
  207. package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
  208. package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
  209. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
  210. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
  211. package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
  212. package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
  213. package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
  214. package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
  215. package/es/panel-component/panel-carousel/index.d.ts +2 -2
  216. package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
  217. package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
  218. package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
  219. package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
  220. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
  221. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
  222. package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
  223. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
  224. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
  225. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
  226. package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
  227. package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
  228. package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
  229. package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
  230. package/es/panel-component/user-message/index.d.ts +3 -3
  231. package/es/panel-component/user-message/user-message.d.ts +8 -3
  232. package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
  233. package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
  234. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
  235. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
  236. package/es/panel-component/view-header-panel-container/index.d.ts +1 -0
  237. package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +18 -0
  238. package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +22 -1
  239. package/es/panel-component/wf-action-button/index.d.ts +1 -1
  240. package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
  241. package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
  242. package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
  243. package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
  244. package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
  245. package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
  246. package/es/panel-component/wf-step-trace/index.d.ts +1 -1
  247. package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
  248. package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
  249. package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
  250. package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
  251. package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
  252. package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
  253. package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
  254. package/es/util/app-modal/app-modal-component.d.ts +2 -2
  255. package/es/util/app-util/app-util.d.ts +66 -1
  256. package/es/util/app-util/app-util.mjs +66 -0
  257. package/es/util/open-view-util/open-view-util.mjs +6 -6
  258. package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
  259. package/es/view/login-view/login-view.d.ts +1 -1
  260. package/es/view/portal-view/index.d.ts +7 -7
  261. package/es/view/portal-view/portal-view.d.ts +7 -7
  262. package/es/view-engine/login-view.engine.d.ts +2 -2
  263. package/es/view-engine/login-view.engine.mjs +2 -0
  264. package/es/view-engine/mob-data-view-engine.d.ts +2 -2
  265. package/es/view-engine/mob-data-view-engine.mjs +0 -1
  266. package/es/view-engine/mob-edit-view.engine.d.ts +2 -2
  267. package/es/view-engine/mob-edit-view.engine.mjs +5 -1
  268. package/es/view-engine/mob-md-view-engine.d.ts +2 -2
  269. package/es/view-engine/mob-md-view-engine.mjs +0 -1
  270. package/es/view-engine/mob-mpickup-view-engine.d.ts +20 -14
  271. package/es/view-engine/mob-mpickup-view-engine.mjs +34 -26
  272. package/es/view-engine/mob-opt-view.engine.d.ts +2 -2
  273. package/es/view-engine/mob-pickup-md-view.engine.d.ts +2 -2
  274. package/es/view-engine/mob-pickup-md-view.engine.mjs +0 -1
  275. package/es/view-engine/mob-pickup-view.engine.d.ts +9 -2
  276. package/es/view-engine/mob-pickup-view.engine.mjs +15 -1
  277. package/es/view-engine/mob-tab-search-view.engine.d.ts +2 -2
  278. package/es/view-engine/mob-tab-search-view.engine.mjs +0 -1
  279. package/es/view-engine/mob-wf-dyna-action-view.engine.d.ts +2 -2
  280. package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +0 -1
  281. package/es/view-engine/mob-wf-dyna-edit-view.engine.d.ts +2 -2
  282. package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +0 -1
  283. package/es/view-engine/mob-wf-dyna-start-view.engine.d.ts +2 -2
  284. package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +0 -1
  285. package/lib/_virtual/index12.cjs +2 -2
  286. package/lib/_virtual/index13.cjs +2 -2
  287. package/lib/common/index.cjs +1 -0
  288. package/lib/common/preset-view-header/preset-view-header.cjs +3 -0
  289. package/lib/control/app-menu/app-menu.cjs +13 -0
  290. package/lib/control/app-menu-list-view/app-menu-list-view.cjs +56 -31
  291. package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
  292. package/lib/control/calendar/calendar.cjs +20 -0
  293. package/lib/control/caption-bar/caption-bar.cjs +13 -0
  294. package/lib/control/chart/chart.cjs +20 -0
  295. package/lib/control/dashboard/dashboard.cjs +13 -0
  296. package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +1 -0
  297. package/lib/control/data-view/data-view.cjs +23 -3
  298. package/lib/control/drbar/drbar.cjs +19 -4
  299. package/lib/control/drbar/drbar.controller.cjs +3 -0
  300. package/lib/control/drtab/drtab.cjs +13 -0
  301. package/lib/control/drtab/drtab.controller.cjs +3 -0
  302. package/lib/control/form/edit-form/edit-form.cjs +44 -0
  303. package/lib/control/form/form/form.cjs +3 -0
  304. package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  305. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +4 -1
  306. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
  307. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +4 -0
  308. package/lib/control/form/search-form/search-form.cjs +13 -0
  309. package/lib/control/list/list/list.cjs +37 -0
  310. package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
  311. package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
  312. package/lib/control/pickup-view-panel/pickup-view-panel.controller.cjs +3 -0
  313. package/lib/control/search-bar/search-bar.cjs +13 -0
  314. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
  315. package/lib/control/toolbar/toolbar.cjs +13 -0
  316. package/lib/control/tree/tree.cjs +21 -0
  317. package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
  318. package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
  319. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +144 -26
  320. package/lib/editor/dropdown-list/dropdown-list-editor.provider.cjs +3 -0
  321. package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.cjs +144 -0
  322. package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -0
  323. package/lib/editor/dropdown-list/index.cjs +2 -0
  324. package/lib/editor/index.cjs +18 -0
  325. package/lib/editor/text-box/index.cjs +2 -0
  326. package/lib/editor/text-box/input/input.cjs +24 -2
  327. package/lib/editor/text-box/input/input.css +1 -1
  328. package/lib/editor/text-box/signature/signature.cjs +272 -0
  329. package/lib/editor/text-box/signature/signature.css +1 -0
  330. package/lib/editor/text-box/text-box-editor.provider.cjs +3 -0
  331. package/lib/index.cjs +4 -0
  332. package/lib/locale/en/index.cjs +14 -0
  333. package/lib/locale/zh-CN/index.cjs +14 -0
  334. package/lib/mob-app/App.cjs +17 -0
  335. package/lib/mob-app/guard/auth-guard/auth-guard.cjs +140 -54
  336. package/lib/mob-app/main.cjs +1 -0
  337. package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +50 -15
  338. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
  339. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
  340. package/lib/panel-component/auth-sso/auth-sso.cjs +83 -5
  341. package/lib/panel-component/auth-sso/auth-sso.css +1 -1
  342. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
  343. package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
  344. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
  345. package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
  346. package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
  347. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
  348. package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
  349. package/lib/panel-component/panel-button/panel-button.cjs +6 -0
  350. package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
  351. package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
  352. package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
  353. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
  354. package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
  355. package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
  356. package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
  357. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
  358. package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
  359. package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
  360. package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
  361. package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
  362. package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
  363. package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
  364. package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +22 -1
  365. package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
  366. package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
  367. package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
  368. package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
  369. package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
  370. package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
  371. package/lib/util/app-util/app-util.cjs +66 -0
  372. package/lib/util/open-view-util/open-view-util.cjs +6 -6
  373. package/lib/view-engine/login-view.engine.cjs +2 -0
  374. package/lib/view-engine/mob-data-view-engine.cjs +0 -1
  375. package/lib/view-engine/mob-edit-view.engine.cjs +5 -1
  376. package/lib/view-engine/mob-md-view-engine.cjs +0 -1
  377. package/lib/view-engine/mob-mpickup-view-engine.cjs +34 -26
  378. package/lib/view-engine/mob-pickup-md-view.engine.cjs +0 -1
  379. package/lib/view-engine/mob-pickup-view.engine.cjs +15 -1
  380. package/lib/view-engine/mob-tab-search-view.engine.cjs +0 -1
  381. package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +0 -1
  382. package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +0 -1
  383. package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +0 -1
  384. package/package.json +8 -8
  385. package/dist/index-NP0RBfWK.js.map +0 -1
  386. package/dist/index-O-XmMUt3.js.map +0 -1
  387. package/dist/index-TfgOIExu.js +0 -76
  388. package/dist/index-TfgOIExu.js.map +0 -1
  389. package/dist/quill-editor-ybZrwyoG.js.map +0 -1
@@ -1,2 +1,2 @@
1
- System.register(["./index-TfgOIExu.js","@ibiz-template/core","@ibiz-template/model-helper","ramda","@ibiz-template/vue3-util","@ibiz-template/devtool","vue","vant","lodash-es","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","qs","vue-i18n"],function(i){"use strict";return{setters:[function(r){i({AppMenuProvider:r.A,AppUtil:r.bQ,AuthGuardHooks:r.bZ,CalendarProvider:r.ax,CaptionBarProvider:r.a7,CascaderEditorController:r.aE,CascaderEditorProvider:r.aF,CheckBoxEditorController:r.aH,CheckBoxEditorProvider:r.aI,CheckBoxListEditorController:r.aK,CheckBoxListEditorProvider:r.aL,ColorPickerEditorController:r.bB,ColorPickerEditorProvider:r.bC,ConfirmUtil:r.bP,ContainerPortlet:r.am,ContainerPortletProvider:r.al,DRTabController:r.ac,DRTabProvider:r.ab,DashboardProvider:r.ai,DataPickerEditorProvider:r.aQ,DataViewControlProvider:r.ag,DatePickerEditorController:r.aS,DatePickerEditorProvider:r.aT,DateRangeEditorController:r.aV,DateRangeEditorProvider:r.aW,DropDownListEditorController:r.aZ,DropDownListEditorProvider:r.a_,FileUploaderEditorProvider:r.bz,FormButtonProvider:r.D,FormDRUIPartProvider:r.G,FormGroupPanelProvider:r.F,FormItemProvider:r.w,FormMDCtrl:r.W,FormMDCtrlForm:r.V,FormMDCtrlMD:r.U,FormMDCtrlProvider:r.R,FormMDCtrlRepeater:r.T,FormPageProvider:r.B,FormRawItemProvider:r.J,FormTabPageProvider:r.O,FormTabPanelProvider:r.L,FullscreenUtil:r.bS,HtmlEditorController:r.b1,HtmlEditorProvider:r.b2,IBizAppMenuControl:r.n,IBizAppMenuIconViewControl:r.o,IBizAppMenuListViewControl:r.p,IBizCalendarControl:r.aw,IBizCaptionBarControl:r.a6,IBizCascader:r.aD,IBizChartControl:r.av,IBizCheckbox:r.aG,IBizCheckboxList:r.aJ,IBizCol:r.a,IBizColorPicker:r.bA,IBizCommonComponents:r.I,IBizCommonRightIcon:r.bE,IBizContainerPortlet:r.ak,IBizDRBarControl:r.aA,IBizDRTabControl:r.aa,IBizDashboardControl:r.ah,IBizDataMPicker:r.bD,IBizDataViewControl:r.af,IBizDatePicker:r.aR,IBizDateRangePicker:r.aU,IBizDropdown:r.aX,IBizEditFormControl:r.Y,IBizEditor:r.aC,IBizEditorCarousel:r.bw,IBizEmojiPicker:r.aY,IBizFileUpload:r.bt,IBizFormButton:r.C,IBizFormButtonList:r.X,IBizFormControl:r.Z,IBizFormDRUIPart:r.E,IBizFormGroupPanel:r.u,IBizFormItem:r.v,IBizFormItemContainer:r.x,IBizFormMDCtrl:r.P,IBizFormPage:r.y,IBizFormPageItem:r.z,IBizFormRawItem:r.H,IBizFormTabPage:r.N,IBizFormTabPanel:r.K,IBizImageCropping:r.bx,IBizImageSelect:r.bv,IBizImageUpload:r.bu,IBizInput:r.bp,IBizInputNumber:r.bq,IBizKeepAlive:r.e,IBizListControl:r.a1,IBizListPortlet:r.at,IBizMDCtrlControl:r.l,IBizMPicker:r.aN,IBizMenuPortlet:r.ao,IBizNumberRangePicker:r.b3,IBizPanelComponents:r.aB,IBizPicker:r.aM,IBizPickerSelectView:r.aO,IBizPickupViewPanelControl:r._,IBizRadio:r.b6,IBizRate:r.b9,IBizRow:r.b,IBizSearchBarControl:r.a8,IBizSearchFormControl:r.r,IBizSlider:r.bc,IBizSpan:r.bf,IBizSpanLink:r.bg,IBizStepper:r.bj,IBizSwitch:r.bm,IBizTabExpPanelControl:r.a3,IBizToolbarControl:r.a5,IBizTreeControl:r.ad,IBizTreeExpBarControl:r.az,IBizViewEngine:r.bH,IBizViewPortlet:r.ar,IBizWizardPanelControl:r.ay,ListPortlet:r.au,ListProvider:r.a2,LoadingUtil:r.bI,LoginView:r.bG,MDCtrlContainer:r.Q,MDCtrlProvider:r.m,MarkDownEditorController:r.a$,MarkDownEditorProvider:r.b0,MenuPortlet:r.aq,MenuPortletProvider:r.ap,MessageUtil:r.bJ,ModalUtil:r.bK,MoveType:r.M,NotificationUtil:r.bL,NumberRangeEditorController:r.b4,NumberRangeEditorProvider:r.b5,OpenViewUtil:r.bM,OverlayController:r.bN,PickerEditorController:r.aP,PickupViewPanelController:r.a0,PickupViewPanelProvider:r.$,PortletLayout:r.an,PortletPartState:r.aj,QrcodeUtil:r.bU,RadioButtonListEditorController:r.b7,RadioButtonListEditorProvider:r.b8,RateEditorController:r.ba,RateEditorProvider:r.bb,SearchBarProvider:r.a9,SearchFormProvider:r.t,ShapeFlags:r.S,SliderEditorController:r.bd,SliderEditorProvider:r.be,SpanEditorController:r.bh,SpanEditorProvider:r.bi,StepperEditorController:r.bk,StepperEditorProvider:r.bl,SwitchEditorController:r.bn,SwitchEditorProvider:r.bo,TabExpPanelProvider:r.a4,TextBoxEditorController:r.br,TextBoxEditorProvider:r.bs,TreeProvider:r.ae,UploadEditorController:r.by,View404:r.bF,ViewPortlet:r.as,calcUniqueKey:r.bW,convertBtnType:r.bV,devtoolsComponentAdded:r.k,i18n:r.i,invokeArrayFns:r.h,invokeVNodeHook:r.j,isAsyncWrapper:r.f,isKeepAlive:r.d,loadingDirective:r.bO,queuePostRenderEffect:r.q,runApp:r.bY,setTransitionHooks:r.s,usePagination:r.bR,usePopstateListener:r.bT,useViewStack:r.bX})},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}});
1
+ System.register(["./index-q0SBDv6c.js","@ibiz-template/core","@ibiz-template/model-helper","ramda","@ibiz-template/vue3-util","@ibiz-template/devtool","vue","vant","lodash-es","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","qs","vue-i18n"],function(i){"use strict";return{setters:[function(r){i({AppMenuProvider:r.A,AppUtil:r.bS,AuthGuardHooks:r.b$,CalendarProvider:r.ax,CaptionBarProvider:r.a7,CascaderEditorController:r.aE,CascaderEditorProvider:r.aF,CheckBoxEditorController:r.aH,CheckBoxEditorProvider:r.aI,CheckBoxListEditorController:r.aK,CheckBoxListEditorProvider:r.aL,ColorPickerEditorController:r.bD,ColorPickerEditorProvider:r.bE,ConfirmUtil:r.bR,ContainerPortlet:r.am,ContainerPortletProvider:r.al,DRTabController:r.ac,DRTabProvider:r.ab,DashboardProvider:r.ai,DataPickerEditorProvider:r.aQ,DataViewControlProvider:r.ag,DatePickerEditorController:r.aS,DatePickerEditorProvider:r.aT,DateRangeEditorController:r.aV,DateRangeEditorProvider:r.aW,DropDownListEditorController:r.a_,DropDownListEditorProvider:r.a$,FileUploaderEditorProvider:r.bB,FormButtonProvider:r.D,FormDRUIPartProvider:r.G,FormGroupPanelProvider:r.F,FormItemProvider:r.w,FormMDCtrl:r.W,FormMDCtrlForm:r.V,FormMDCtrlMD:r.U,FormMDCtrlProvider:r.R,FormMDCtrlRepeater:r.T,FormPageProvider:r.B,FormRawItemProvider:r.J,FormTabPageProvider:r.O,FormTabPanelProvider:r.L,FullscreenUtil:r.bU,HtmlEditorController:r.b2,HtmlEditorProvider:r.b3,IBizAppMenuControl:r.n,IBizAppMenuIconViewControl:r.o,IBizAppMenuListViewControl:r.p,IBizCalendarControl:r.aw,IBizCaptionBarControl:r.a6,IBizCascader:r.aD,IBizCascaderDropdown:r.aZ,IBizChartControl:r.av,IBizCheckbox:r.aG,IBizCheckboxList:r.aJ,IBizCol:r.a,IBizColorPicker:r.bC,IBizCommonComponents:r.I,IBizCommonRightIcon:r.bG,IBizContainerPortlet:r.ak,IBizDRBarControl:r.aA,IBizDRTabControl:r.aa,IBizDashboardControl:r.ah,IBizDataMPicker:r.bF,IBizDataViewControl:r.af,IBizDatePicker:r.aR,IBizDateRangePicker:r.aU,IBizDropdown:r.aX,IBizEditFormControl:r.Y,IBizEditor:r.aC,IBizEditorCarousel:r.by,IBizEmojiPicker:r.aY,IBizFileUpload:r.bv,IBizFormButton:r.C,IBizFormButtonList:r.X,IBizFormControl:r.Z,IBizFormDRUIPart:r.E,IBizFormGroupPanel:r.u,IBizFormItem:r.v,IBizFormItemContainer:r.x,IBizFormMDCtrl:r.P,IBizFormPage:r.y,IBizFormPageItem:r.z,IBizFormRawItem:r.H,IBizFormTabPage:r.N,IBizFormTabPanel:r.K,IBizImageCropping:r.bz,IBizImageSelect:r.bx,IBizImageUpload:r.bw,IBizInput:r.bq,IBizInputNumber:r.br,IBizKeepAlive:r.e,IBizListControl:r.a1,IBizListPortlet:r.at,IBizMDCtrlControl:r.l,IBizMPicker:r.aN,IBizMenuPortlet:r.ao,IBizNumberRangePicker:r.b4,IBizPanelComponents:r.aB,IBizPicker:r.aM,IBizPickerSelectView:r.aO,IBizPickupViewPanelControl:r._,IBizRadio:r.b7,IBizRate:r.ba,IBizRow:r.b,IBizSearchBarControl:r.a8,IBizSearchFormControl:r.r,IBizSignature:r.bs,IBizSlider:r.bd,IBizSpan:r.bg,IBizSpanLink:r.bh,IBizStepper:r.bk,IBizSwitch:r.bn,IBizTabExpPanelControl:r.a3,IBizToolbarControl:r.a5,IBizTreeControl:r.ad,IBizTreeExpBarControl:r.az,IBizViewEngine:r.bJ,IBizViewPortlet:r.ar,IBizWizardPanelControl:r.ay,ListPortlet:r.au,ListProvider:r.a2,LoadingUtil:r.bK,LoginView:r.bI,MDCtrlContainer:r.Q,MDCtrlProvider:r.m,MarkDownEditorController:r.b0,MarkDownEditorProvider:r.b1,MenuPortlet:r.aq,MenuPortletProvider:r.ap,MessageUtil:r.bL,ModalUtil:r.bM,MoveType:r.M,NotificationUtil:r.bN,NumberRangeEditorController:r.b5,NumberRangeEditorProvider:r.b6,OpenViewUtil:r.bO,OverlayController:r.bP,PickerEditorController:r.aP,PickupViewPanelController:r.a0,PickupViewPanelProvider:r.$,PortletLayout:r.an,PortletPartState:r.aj,QrcodeUtil:r.bW,RadioButtonListEditorController:r.b8,RadioButtonListEditorProvider:r.b9,RateEditorController:r.bb,RateEditorProvider:r.bc,SearchBarProvider:r.a9,SearchFormProvider:r.t,ShapeFlags:r.S,SliderEditorController:r.be,SliderEditorProvider:r.bf,SpanEditorController:r.bi,SpanEditorProvider:r.bj,StepperEditorController:r.bl,StepperEditorProvider:r.bm,SwitchEditorController:r.bo,SwitchEditorProvider:r.bp,TabExpPanelProvider:r.a4,TextBoxEditorController:r.bt,TextBoxEditorProvider:r.bu,TreeProvider:r.ae,UploadEditorController:r.bA,View404:r.bH,ViewPortlet:r.as,calcUniqueKey:r.bY,convertBtnType:r.bX,devtoolsComponentAdded:r.k,i18n:r.i,invokeArrayFns:r.h,invokeVNodeHook:r.j,isAsyncWrapper:r.f,isKeepAlive:r.d,loadingDirective:r.bQ,queuePostRenderEffect:r.q,runApp:r.b_,setTransitionHooks:r.s,usePagination:r.bT,usePopstateListener:r.bV,useViewStack:r.bZ})},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}});
2
2
  //# sourceMappingURL=index.system.min.js.map
@@ -1,2 +1,2 @@
1
- System.register(["vue","@ibiz-template/vue3-util","./quill-t_EJUjVi.js","@ibiz-template/core","lodash-es","./index-TfgOIExu.js","vant","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","ramda","qs","vue-i18n","@ibiz-template/devtool","@ibiz-template/model-helper"],function(B){"use strict";var C,a,h,n,u,y,z,w,x,T,E,U,k,H;return{setters:[function(t){C=t.defineComponent,a=t.ref,h=t.watch,n=t.createVNode,u=t.resolveComponent,y=t.isVNode,z=t.nextTick},function(t){w=t.getHtmlProps,x=t.getEditorEmits,T=t.useNamespace},function(t){E=t.Q},function(t){U=t.getAppCookie,k=t.CoreConst,H=t.base64ToBlob},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){function t(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!y(e)}const I=B("default",C({name:"IBizQuill",props:w(),emits:x(),setup(e,{emit:r}){const d=T("quill"),l=e.controller,m=a(null),q=ibiz.i18n.getLang();let i=null;const L=a({[`${ibiz.env.tokenHeader}Authorization`]:`${ibiz.env.tokenPrefix}Bearer ${U(k.TOKEN)}`}),M=a(""),N=a(""),b=a(!1),g=a(!1),f=a(""),O=a(!0),P=o=>{const s=o.ops.find(c=>c.insert&&c.insert.image);if(s)return s.insert.image},j=()=>l.valueMode==="text"?i.getText():i.getSemanticHTML(),Q=async o=>{const s=H(o),c=await ibiz.util.file.fileUpload(M.value,s,L.value),p=N.value.replace("%fileId%",c.fileid),v=j();f.value=v.replace(o,p)},V=()=>{if(!m.value)return;const o=l.showToolbar?"snow":"bubble";i=new E(m.value,{theme:o,modules:l.modules,readOnly:e.disabled||e.readonly,placeholder:l.placeHolder}),i.on("text-change",(s,c,p)=>{if(p==="user"){const v=P(s);if(v&&l.imageMode==="file"){Q(v);return}f.value=j()}}),l.valueMode==="text"&&i.setText(e.value||"")};return h(()=>[e.disabled,e.readonly],()=>{i&&(e.disabled||e.readonly?i.enable(!1):i.enable())},{immediate:!0}),h(()=>e.data,o=>{if(o){const s=ibiz.util.file.calcFileUpDownUrl(l.context,l.params,o,l.editorParams);M.value=s.uploadUrl,N.value=s.downloadUrl}},{immediate:!0,deep:!0}),h(()=>e.value,()=>{!i||!e.value||(f.value=e.value,l.valueMode==="text"?i.setText(e.value):(g.value=!0,z(()=>{g.value=!1})))},{immediate:!0}),{ns:d,c:l,lang:q,editing:b,updating:g,editorRef:m,isCollapse:O,handleEdit:()=>{i||V()},handleCancel:()=>{b.value=!1},handleConfirm:()=>{r("change",f.value),b.value=!1}}},render(){let e,r;return n("div",{class:[this.ns.b(),this.disabled?this.ns.m("disabled"):"",this.readonly?this.ns.m("readonly"):"",this.ns.m(this.lang.toLowerCase())]},[!this.updating&&n(u("iBizQuillPreview"),{value:this.value,controller:this.controller,disabled:this.disabled,readonly:this.readonly,showCollapse:this.c.showCollapse,defaultHeight:this.c.defaultHeight,isCollapse:this.isCollapse,onEdit:()=>{this.editing=!0},onCollapse:d=>{this.isCollapse=d}},null),n(u("van-action-sheet"),{show:this.editing,"onUpdate:show":d=>this.editing=d,teleport:"body",class:[this.ns.e("popup"),this.ns.m(this.lang.toLowerCase())],onOpened:this.handleEdit},{default:()=>[n("div",{class:this.ns.e("content")},[n("div",{ref:"editorRef"},[this.controller.valueMode==="html"?n("div",{innerHTML:this.value},null):null])]),n("div",{class:this.ns.e("footer")},[n(u("van-button"),{class:this.ns.e("cancel"),onClick:this.handleCancel},t(e=ibiz.i18n.t("editor.common.cancel"))?e:{default:()=>[e]}),n(u("van-button"),{class:this.ns.e("confirm"),onClick:this.handleConfirm,type:"primary"},t(r=ibiz.i18n.t("editor.common.confirm"))?r:{default:()=>[r]})])]})])}}))}}});
2
- //# sourceMappingURL=quill-editor-ybZrwyoG.js.map
1
+ System.register(["vue","@ibiz-template/vue3-util","./quill-sraxwYmv.js","@ibiz-template/core","lodash-es","./index-q0SBDv6c.js","vant","ramda","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","qs","vue-i18n","@ibiz-template/devtool","@ibiz-template/model-helper"],function(B){"use strict";var C,a,h,n,u,y,z,w,x,T,E,U,k,H;return{setters:[function(t){C=t.defineComponent,a=t.ref,h=t.watch,n=t.createVNode,u=t.resolveComponent,y=t.isVNode,z=t.nextTick},function(t){w=t.getHtmlProps,x=t.getEditorEmits,T=t.useNamespace},function(t){E=t.Q},function(t){U=t.getAppCookie,k=t.CoreConst,H=t.base64ToBlob},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){function t(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!y(e)}const I=B("default",C({name:"IBizQuill",props:w(),emits:x(),setup(e,{emit:r}){const d=T("quill"),l=e.controller,m=a(null),q=ibiz.i18n.getLang();let i=null;const L=a({[`${ibiz.env.tokenHeader}Authorization`]:`${ibiz.env.tokenPrefix}Bearer ${U(k.TOKEN)}`}),M=a(""),N=a(""),b=a(!1),g=a(!1),f=a(""),O=a(!0),P=o=>{const s=o.ops.find(c=>c.insert&&c.insert.image);if(s)return s.insert.image},j=()=>l.valueMode==="text"?i.getText():i.getSemanticHTML(),Q=async o=>{const s=H(o),c=await ibiz.util.file.fileUpload(M.value,s,L.value),p=N.value.replace("%fileId%",c.fileid),v=j();f.value=v.replace(o,p)},V=()=>{if(!m.value)return;const o=l.showToolbar?"snow":"bubble";i=new E(m.value,{theme:o,modules:l.modules,readOnly:e.disabled||e.readonly,placeholder:l.placeHolder}),i.on("text-change",(s,c,p)=>{if(p==="user"){const v=P(s);if(v&&l.imageMode==="file"){Q(v);return}f.value=j()}}),l.valueMode==="text"&&i.setText(e.value||"")};return h(()=>[e.disabled,e.readonly],()=>{i&&(e.disabled||e.readonly?i.enable(!1):i.enable())},{immediate:!0}),h(()=>e.data,o=>{if(o){const s=ibiz.util.file.calcFileUpDownUrl(l.context,l.params,o,l.editorParams);M.value=s.uploadUrl,N.value=s.downloadUrl}},{immediate:!0,deep:!0}),h(()=>e.value,()=>{!i||!e.value||(f.value=e.value,l.valueMode==="text"?i.setText(e.value):(g.value=!0,z(()=>{g.value=!1})))},{immediate:!0}),{ns:d,c:l,lang:q,editing:b,updating:g,editorRef:m,isCollapse:O,handleEdit:()=>{i||V()},handleCancel:()=>{b.value=!1},handleConfirm:()=>{r("change",f.value),b.value=!1}}},render(){let e,r;return n("div",{class:[this.ns.b(),this.disabled?this.ns.m("disabled"):"",this.readonly?this.ns.m("readonly"):"",this.ns.m(this.lang.toLowerCase())]},[!this.updating&&n(u("iBizQuillPreview"),{value:this.value,controller:this.controller,disabled:this.disabled,readonly:this.readonly,showCollapse:this.c.showCollapse,defaultHeight:this.c.defaultHeight,isCollapse:this.isCollapse,onEdit:()=>{this.editing=!0},onCollapse:d=>{this.isCollapse=d}},null),n(u("van-action-sheet"),{show:this.editing,"onUpdate:show":d=>this.editing=d,teleport:"body",class:[this.ns.e("popup"),this.ns.m(this.lang.toLowerCase())],onOpened:this.handleEdit},{default:()=>[n("div",{class:this.ns.e("content")},[n("div",{ref:"editorRef"},[this.controller.valueMode==="html"?n("div",{innerHTML:this.value},null):null])]),n("div",{class:this.ns.e("footer")},[n(u("van-button"),{class:this.ns.e("cancel"),onClick:this.handleCancel},t(e=ibiz.i18n.t("editor.common.cancel"))?e:{default:()=>[e]}),n(u("van-button"),{class:this.ns.e("confirm"),onClick:this.handleConfirm,type:"primary"},t(r=ibiz.i18n.t("editor.common.confirm"))?r:{default:()=>[r]})])]})])}}))}}});
2
+ //# sourceMappingURL=quill-editor-5QOfComp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quill-editor-5QOfComp.js","sources":["../src/editor/html/quill-editor/quill-editor.tsx"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nimport { defineComponent, nextTick, Ref, ref, watch } from 'vue';\nimport {\n getHtmlProps,\n getEditorEmits,\n useNamespace,\n} from '@ibiz-template/vue3-util';\nimport 'quill/dist/quill.core.css';\nimport 'quill/dist/quill.snow.css';\nimport 'quill/dist/quill.bubble.css';\nimport Quill from 'quill';\nimport { Delta } from 'quill/core';\nimport { base64ToBlob, CoreConst, getAppCookie } from '@ibiz-template/core';\nimport { HtmlEditorController } from '../html-editor.controller';\nimport './quill-editor.scss';\n\n/**\n * 移动端HTML编辑框\n * @primary\n * @description 基于Quill深度定制可扩展的富文本编辑器,集成文件/图片上传、实时预览及样式配置功能,提供完整的富媒体编辑解决方案。支持编辑器类型包含:`移动端HTML编辑框`\n * @editorparams {name:uploadParams,parameterType:IData,defaultvalue:{},description:上传参数}\n * @editorparams {name:exportParams,parameterType:IData,defaultvalue:{},description:下载参数}\n * @editorparams {name:SHOWTOOLBAR,parameterType:boolean,defaultvalue:true,description:显示工具栏}\n * @editorparams {name:VALUEMODE,parameterType:'text' | 'html',defaultvalue:html,description:值模式,暂时只支持html模式}\n * @editorparams {name:IMAGEMODE,parameterType:'base64' | 'file',defaultvalue:'file',description:图片模式}\n * @editorparams {name:MODULES,parameterType:IData,description:quill配置}\n * @editorparams {name:DEFAULTHEIGHT,parameterType:number,defaultvalue:200,description:收缩时的高度}\n * @editorparams {name:SHOWCOLLAPSE,parameterType:boolean,defaultvalue:true,description:是否显示伸缩按钮}\n * @ignoreprops autoFocus | overflowMode\n * @ignoreemits infoTextChange | enter\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst IBizQuill: any = defineComponent({\n name: 'IBizQuill',\n props: getHtmlProps<HtmlEditorController>(),\n emits: getEditorEmits(),\n setup(props, { emit }) {\n const ns = useNamespace('quill');\n const c: HtmlEditorController = props.controller;\n\n const editorRef = ref(null);\n\n const lang = ibiz.i18n.getLang();\n\n // 编辑器对象\n let quill: Quill | null = null;\n\n // 请求头\n const headers: Ref<IData> = ref({\n [`${ibiz.env.tokenHeader}Authorization`]: `${\n ibiz.env.tokenPrefix\n }Bearer ${getAppCookie(CoreConst.TOKEN)}`,\n });\n\n // 上传文件路径\n const uploadUrl: Ref<string> = ref('');\n\n // 下载文件路径\n const downloadUrl: Ref<string> = ref('');\n\n // 编辑状态\n const editing: Ref<boolean> = ref(false);\n\n // 更新中\n const updating: Ref<boolean> = ref(false);\n\n // 临时数据\n const tempValue: Ref<string> = ref('');\n\n // 是否完全展开\n const isCollapse: Ref<boolean> = ref(true);\n\n const getImage = (delta: Delta) => {\n const item = delta.ops.find(x => x.insert && (x.insert as IData).image);\n if (item) {\n return (item.insert as IData).image;\n }\n };\n\n const getValue = () => {\n if (c.valueMode === 'text') {\n return quill!.getText();\n }\n return quill!.getSemanticHTML();\n };\n\n // 处理图片上传(文件模式)\n const handleUpload = async (image: string) => {\n const blob = base64ToBlob(image);\n const file = await ibiz.util.file.fileUpload(\n uploadUrl.value,\n blob,\n headers.value,\n );\n const url = downloadUrl.value.replace('%fileId%', file.fileid);\n const value = getValue();\n tempValue.value = value.replace(image, url);\n };\n\n const init = () => {\n if (!editorRef.value) {\n return;\n }\n const theme = c.showToolbar ? 'snow' : 'bubble';\n quill = new Quill(editorRef.value, {\n theme,\n modules: c.modules,\n readOnly: props.disabled || props.readonly,\n placeholder: c.placeHolder,\n });\n quill.on('text-change', (delta, oldDelta, source) => {\n if (source === 'user') {\n const image = getImage(delta);\n if (image && c.imageMode === 'file') {\n handleUpload(image);\n return;\n }\n tempValue.value = getValue();\n }\n });\n if (c.valueMode === 'text') {\n quill.setText(props.value || '');\n }\n };\n\n watch(\n () => [props.disabled, props.readonly],\n () => {\n if (!quill) {\n return;\n }\n if (props.disabled || props.readonly) {\n quill.enable(false);\n } else {\n quill.enable();\n }\n },\n { immediate: true },\n );\n\n // data响应式变更基础路径\n watch(\n () => props.data,\n newVal => {\n if (newVal) {\n const urls = ibiz.util.file.calcFileUpDownUrl(\n c.context,\n c.params,\n newVal,\n c.editorParams,\n );\n uploadUrl.value = urls.uploadUrl;\n downloadUrl.value = urls.downloadUrl;\n }\n },\n { immediate: true, deep: true },\n );\n\n watch(\n () => props.value,\n () => {\n if (!quill || !props.value) {\n return;\n }\n tempValue.value = props.value;\n if (c.valueMode === 'text') {\n quill.setText(props.value);\n } else {\n updating.value = true;\n nextTick(() => {\n updating.value = false;\n });\n }\n },\n { immediate: true },\n );\n\n // 展开编辑\n const handleEdit = () => {\n if (!quill) {\n init();\n }\n };\n\n // 取消编辑\n const handleCancel = () => {\n editing.value = false;\n };\n\n // 确认编辑\n const handleConfirm = () => {\n emit('change', tempValue.value);\n editing.value = false;\n };\n\n return {\n ns,\n c,\n lang,\n editing,\n updating,\n editorRef,\n isCollapse,\n handleEdit,\n handleCancel,\n handleConfirm,\n };\n },\n render() {\n return (\n <div\n class={[\n this.ns.b(),\n this.disabled ? this.ns.m('disabled') : '',\n this.readonly ? this.ns.m('readonly') : '',\n this.ns.m(this.lang.toLowerCase()),\n ]}\n >\n {!this.updating && (\n <iBizQuillPreview\n value={this.value}\n controller={this.controller}\n disabled={this.disabled}\n readonly={this.readonly}\n showCollapse={this.c.showCollapse}\n defaultHeight={this.c.defaultHeight}\n isCollapse={this.isCollapse}\n onEdit={() => {\n this.editing = true;\n }}\n onCollapse={(val: boolean) => {\n this.isCollapse = val;\n }}\n />\n )}\n <van-action-sheet\n v-model:show={this.editing}\n teleport='body'\n class={[this.ns.e('popup'), this.ns.m(this.lang.toLowerCase())]}\n onOpened={this.handleEdit}\n >\n <div class={this.ns.e('content')}>\n <div ref='editorRef'>\n {this.controller.valueMode === 'html' ? (\n <div v-html={this.value}></div>\n ) : null}\n </div>\n </div>\n <div class={this.ns.e('footer')}>\n <van-button class={this.ns.e('cancel')} onClick={this.handleCancel}>\n {ibiz.i18n.t('editor.common.cancel')}\n </van-button>\n <van-button\n class={this.ns.e('confirm')}\n onClick={this.handleConfirm}\n type='primary'\n >\n {ibiz.i18n.t('editor.common.confirm')}\n </van-button>\n </div>\n </van-action-sheet>\n </div>\n );\n },\n});\n\nexport default IBizQuill;\n"],"names":["s","_isVNode","IBizQuill","exports","defineComponent","getHtmlProps","getEditorEmits","props","emit","ns","useNamespace","c","editorRef","ref","lang","quill","headers","getAppCookie","CoreConst","uploadUrl","downloadUrl","updating","tempValue","isCollapse","delta","item","image","tokenHeader","file","blob","value","getValue","url","init","theme","source","getImage","ops","valueMode","watch","ibiz","newVal","Quill","urls","readOnly","nextTick","editing","immediate","deep","_slot","_slot2","_createVNode","_resolveComponent","handleEdit","val","$event","handle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A,CACKS,QAAG,IAAA,CAAAT,CAAA,CAAAD,CAAAA,CAAAA,CAAAA,CAAAA,CACP,CAAA,CAAA,CAAA,EAOK,CAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- System.register(["vue","@ibiz-template/vue3-util","./quill-t_EJUjVi.js","lodash-es","./index-TfgOIExu.js","vant","@ibiz-template/core","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","ramda","qs","vue-i18n","@ibiz-template/devtool","@ibiz-template/model-helper"],function(k){"use strict";var v,s,p,f,m,l,r,g,C,w;return{setters:[function(e){v=e.defineComponent,s=e.ref,p=e.onMounted,f=e.nextTick,m=e.watch,l=e.createVNode,r=e.resolveComponent},function(e){g=e.getHtmlProps,C=e.useNamespace},function(e){w=e.Q},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const e=k("default",v({name:"IBizQuillPreview",props:{...g(),showCollapse:{type:Boolean},defaultHeight:{type:Number,default:200},isCollapse:{type:Boolean,default:!1}},setup(t,{emit:b}){const H=C("quill-preview"),c=t.controller,i=s(null),B=ibiz.i18n.getLang();let x=null;const h=s(""),o=s("auto"),u=s(!1),I=()=>{i.value&&(x=new w(i.value,{theme:"bubble",modules:c.modules,readOnly:!0,placeholder:c.placeHolder}),c.valueMode==="text"&&x.setText(t.value||""))},d=()=>{if(t.isCollapse&&i.value){const n=i.value.offsetHeight;n<t.defaultHeight?(o.value=`${n}px`,u.value=!1):(o.value=`${t.defaultHeight}px`,u.value=!0)}},P=n=>{if(!n)return;const a=n.querySelectorAll("img");let y=0;a.forEach(z=>{z.addEventListener("load",()=>{const T=z.offsetHeight;y+=T,y>t.defaultHeight&&(o.value=`${t.defaultHeight}px`,u.value=!0)})})};p(()=>{I(),f(()=>{d(),P(i.value)})});const q=()=>{b("edit")},M=()=>{h.value=""},N=n=>{const a=n.target;a&&a.tagName==="IMG"&&(h.value=a.src)},L=()=>{b("collapse",!t.isCollapse),d()},Q=()=>l("div",{class:H.b("collapse-btn"),onClick:L},[l("span",null,[t.isCollapse?ibiz.i18n.t("editor.html.expand"):ibiz.i18n.t("editor.html.collapse")]),t.isCollapse&&l("ion-icon",{name:"caret-down-outline"},null),!t.isCollapse&&l("ion-icon",{name:"caret-up-outline"},null)]);return m(()=>t.value,()=>{d()},{immediate:!0}),{ns:H,lang:B,editorRef:i,previewImage:h,collapseHeight:o,showCollapseBtn:u,handleClick:q,handleContentClick:N,handlePreviewClose:M,renderCollapseBtn:Q}},render(){return l("div",{class:[this.ns.b(),this.disabled?this.ns.m("disabled"):"",this.readonly?this.ns.m("readonly"):"",this.ns.m(this.lang.toLowerCase()),this.showCollapse?this.ns.m("show-collapse"):"",this.ns.is("collapse",this.isCollapse)],style:`--default-height: ${this.collapseHeight}`},[l("div",{ref:"editorRef",onClick:this.handleContentClick},[this.controller.valueMode==="html"?l("div",{innerHTML:this.value},null):null]),!this.readonly&&!this.disabled?l("div",{onClick:this.handleClick,class:this.ns.e("edit")},[l("ion-icon",{name:"create-outline"},null)]):null,this.showCollapse&&this.showCollapseBtn&&this.renderCollapseBtn(),l(r("van-popup"),{class:this.ns.e("image-popup"),show:!!this.previewImage,"close-on-popstate":!0,onClose:this.handlePreviewClose},{default:()=>[l(r("iBizPreviewImage"),{url:this.previewImage},null)]})])}}))}}});
2
- //# sourceMappingURL=quill-editor-preview-G9EjDfQE.js.map
1
+ System.register(["vue","@ibiz-template/vue3-util","./quill-sraxwYmv.js","lodash-es","./index-q0SBDv6c.js","vant","@ibiz-template/core","ramda","@ibiz-template/runtime","@floating-ui/dom","vue-router","pinia","qx-util","dayjs","vuedraggable","qs","vue-i18n","@ibiz-template/devtool","@ibiz-template/model-helper"],function(k){"use strict";var v,s,p,f,m,l,r,g,C,w;return{setters:[function(e){v=e.defineComponent,s=e.ref,p=e.onMounted,f=e.nextTick,m=e.watch,l=e.createVNode,r=e.resolveComponent},function(e){g=e.getHtmlProps,C=e.useNamespace},function(e){w=e.Q},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const e=k("default",v({name:"IBizQuillPreview",props:{...g(),showCollapse:{type:Boolean},defaultHeight:{type:Number,default:200},isCollapse:{type:Boolean,default:!1}},setup(t,{emit:b}){const H=C("quill-preview"),c=t.controller,i=s(null),B=ibiz.i18n.getLang();let x=null;const h=s(""),o=s("auto"),u=s(!1),I=()=>{i.value&&(x=new w(i.value,{theme:"bubble",modules:c.modules,readOnly:!0,placeholder:c.placeHolder}),c.valueMode==="text"&&x.setText(t.value||""))},d=()=>{if(t.isCollapse&&i.value){const n=i.value.offsetHeight;n<t.defaultHeight?(o.value=`${n}px`,u.value=!1):(o.value=`${t.defaultHeight}px`,u.value=!0)}},P=n=>{if(!n)return;const a=n.querySelectorAll("img");let y=0;a.forEach(z=>{z.addEventListener("load",()=>{const T=z.offsetHeight;y+=T,y>t.defaultHeight&&(o.value=`${t.defaultHeight}px`,u.value=!0)})})};p(()=>{I(),f(()=>{d(),P(i.value)})});const q=()=>{b("edit")},M=()=>{h.value=""},N=n=>{const a=n.target;a&&a.tagName==="IMG"&&(h.value=a.src)},L=()=>{b("collapse",!t.isCollapse),d()},Q=()=>l("div",{class:H.b("collapse-btn"),onClick:L},[l("span",null,[t.isCollapse?ibiz.i18n.t("editor.html.expand"):ibiz.i18n.t("editor.html.collapse")]),t.isCollapse&&l("ion-icon",{name:"caret-down-outline"},null),!t.isCollapse&&l("ion-icon",{name:"caret-up-outline"},null)]);return m(()=>t.value,()=>{d()},{immediate:!0}),{ns:H,lang:B,editorRef:i,previewImage:h,collapseHeight:o,showCollapseBtn:u,handleClick:q,handleContentClick:N,handlePreviewClose:M,renderCollapseBtn:Q}},render(){return l("div",{class:[this.ns.b(),this.disabled?this.ns.m("disabled"):"",this.readonly?this.ns.m("readonly"):"",this.ns.m(this.lang.toLowerCase()),this.showCollapse?this.ns.m("show-collapse"):"",this.ns.is("collapse",this.isCollapse)],style:`--default-height: ${this.collapseHeight}`},[l("div",{ref:"editorRef",onClick:this.handleContentClick},[this.controller.valueMode==="html"?l("div",{innerHTML:this.value},null):null]),!this.readonly&&!this.disabled?l("div",{onClick:this.handleClick,class:this.ns.e("edit")},[l("ion-icon",{name:"create-outline"},null)]):null,this.showCollapse&&this.showCollapseBtn&&this.renderCollapseBtn(),l(r("van-popup"),{class:this.ns.e("image-popup"),show:!!this.previewImage,"close-on-popstate":!0,onClose:this.handlePreviewClose},{default:()=>[l(r("iBizPreviewImage"),{url:this.previewImage},null)]})])}}))}}});
2
+ //# sourceMappingURL=quill-editor-preview-65f3RVj0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quill-editor-preview-G9EjDfQE.js","sources":["../src/editor/html/quill-editor-preview/quill-editor-preview.tsx"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nimport { defineComponent, nextTick, onMounted, ref, watch } from 'vue';\nimport { getHtmlProps, useNamespace } from '@ibiz-template/vue3-util';\nimport Quill from 'quill';\nimport { HtmlEditorController } from '../html-editor.controller';\nimport './quill-editor-preview.scss';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst IBizQuillPreview: any = defineComponent({\n name: 'IBizQuillPreview',\n props: {\n ...getHtmlProps<HtmlEditorController>(),\n showCollapse: {\n type: Boolean,\n },\n defaultHeight: {\n type: Number,\n default: 200,\n },\n isCollapse: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, { emit }) {\n const ns = useNamespace('quill-preview');\n const c: HtmlEditorController = props.controller;\n\n const editorRef = ref(null);\n\n const lang = ibiz.i18n.getLang();\n\n // 编辑器对象\n let quill: Quill | null = null;\n\n // 预览图片路径\n const previewImage = ref('');\n\n // 伸缩内容高度\n const collapseHeight = ref('auto');\n\n // 显示伸缩按钮\n const showCollapseBtn = ref(false);\n\n const init = () => {\n if (!editorRef.value) {\n return;\n }\n quill = new Quill(editorRef.value, {\n theme: 'bubble',\n modules: c.modules,\n readOnly: true,\n placeholder: c.placeHolder,\n });\n if (c.valueMode === 'text') {\n quill.setText(props.value || '');\n }\n };\n\n // 重置伸缩高度\n const resetCollapseHeight = () => {\n if (props.isCollapse && editorRef.value) {\n // 收缩时\n const height = (editorRef.value as HTMLElement).offsetHeight;\n // 内容高度低于设置的默认高度时,拿内容高度作为伸缩高度\n if (height < props.defaultHeight) {\n collapseHeight.value = `${height}px`;\n showCollapseBtn.value = false;\n } else {\n collapseHeight.value = `${props.defaultHeight}px`;\n showCollapseBtn.value = true;\n }\n }\n };\n\n // 监听img加载情况\n const watchHtmlImages = (container: HTMLElement | null) => {\n if (!container) return;\n const images = container.querySelectorAll('img');\n let totalHieght = 0;\n images.forEach(image => {\n image.addEventListener('load', () => {\n const height = image.offsetHeight;\n totalHieght += height;\n if (totalHieght > props.defaultHeight) {\n collapseHeight.value = `${props.defaultHeight}px`;\n showCollapseBtn.value = true;\n }\n });\n });\n };\n\n onMounted(() => {\n init();\n nextTick(() => {\n resetCollapseHeight();\n watchHtmlImages(editorRef.value);\n });\n });\n\n const handleClick = () => {\n emit('edit');\n };\n\n const handlePreviewClose = () => {\n previewImage.value = '';\n };\n\n const handleContentClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n if (target && target.tagName === 'IMG') {\n previewImage.value = (target as IData).src;\n }\n };\n\n // 点击伸缩按钮\n const onClick = () => {\n // isCollapse.value = !isCollapse.value;\n emit('collapse', !props.isCollapse);\n resetCollapseHeight();\n };\n\n // 绘制伸缩按钮\n const renderCollapseBtn = () => {\n return (\n <div class={ns.b('collapse-btn')} onClick={onClick}>\n <span>\n {props.isCollapse\n ? ibiz.i18n.t('editor.html.expand')\n : ibiz.i18n.t('editor.html.collapse')}\n </span>\n {props.isCollapse && <ion-icon name='caret-down-outline'></ion-icon>}\n {!props.isCollapse && <ion-icon name='caret-up-outline'></ion-icon>}\n </div>\n );\n };\n\n watch(\n () => props.value,\n () => {\n resetCollapseHeight();\n },\n {\n immediate: true,\n },\n );\n\n return {\n ns,\n lang,\n editorRef,\n previewImage,\n collapseHeight,\n showCollapseBtn,\n handleClick,\n handleContentClick,\n handlePreviewClose,\n renderCollapseBtn,\n };\n },\n render() {\n return (\n <div\n class={[\n this.ns.b(),\n this.disabled ? this.ns.m('disabled') : '',\n this.readonly ? this.ns.m('readonly') : '',\n this.ns.m(this.lang.toLowerCase()),\n this.showCollapse ? this.ns.m('show-collapse') : '',\n this.ns.is('collapse', this.isCollapse),\n ]}\n style={`--default-height: ${this.collapseHeight}`}\n >\n <div ref='editorRef' onClick={this.handleContentClick}>\n {this.controller.valueMode === 'html' ? (\n <div v-html={this.value}></div>\n ) : null}\n </div>\n {!this.readonly && !this.disabled ? (\n <div onClick={this.handleClick} class={this.ns.e('edit')}>\n <ion-icon name='create-outline'></ion-icon>\n </div>\n ) : null}\n {this.showCollapse && this.showCollapseBtn && this.renderCollapseBtn()}\n <van-popup\n class={this.ns.e('image-popup')}\n show={!!this.previewImage}\n close-on-popstate={true}\n onClose={this.handlePreviewClose}\n >\n <iBizPreviewImage url={this.previewImage}></iBizPreviewImage>\n </van-popup>\n </div>\n );\n },\n});\n\nexport default IBizQuillPreview;\n"],"names":["IBizQuillPreview","name","props","getHtmlProps","showCollapse","type","Boolean","defaultHeight","default","isCollapse","emit","setup","ns","ref","c","quill","lang","getLang","showCollapseBtn","init","editorRef","value","theme","modules","height","readOnly","collapseHeight","placeHolder","resetCollapseHeight","container","images","totalHieght","image","onMounted","watchHtmlImages","nextTick","previewImage","handleContentClick","event","target","renderCollapseBtn","_createVNode","handlePreviewClose","watch","onClick","handleClick","immediate","_resolveComponent","render"],"mappings":"0qBAOA,KAAA,mBACMA,MAAAA,CACJC,KAAwB,EACxBC,aAAO,CACFC,KAAAA,OACHC,EACEC,cAAMC,CACP,KAAA,OACDC,QAAAA,GACEF,EACAG,WAAS,CACV,KAAA,QACDC,QAAY,EACVJ,CACAG,EACF,MAAAN,EAAA,CACD,KAAAQ,GACIC,CAAUD,MAAAA,EAAAA,EAAAA,eAAAA,EAAQ,EAAAR,EAAA,WACfU,EAAiBC,EAAA,MACjBC,EA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A,CACXV,MAAkB,KAAA,GAAA,EAAA,aAAA,EAClBK,KAAkB,CAAA,CAAA,KAAA,aAClBF,oBAAAA,GACD,QAAA,KAAA,oBACF,CACDQ,QAAS,IAAA,CAAAP,EAAAM,EAAA,kBAAA,EAAA,CACP,IAAA,KAAA,YAAA,EAAA,IAAA,CAAA,GASK,CACO,CAAyC,CAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"quill-editor-preview-65f3RVj0.js","sources":["../src/editor/html/quill-editor-preview/quill-editor-preview.tsx"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nimport { defineComponent, nextTick, onMounted, ref, watch } from 'vue';\nimport { getHtmlProps, useNamespace } from '@ibiz-template/vue3-util';\nimport Quill from 'quill';\nimport { HtmlEditorController } from '../html-editor.controller';\nimport './quill-editor-preview.scss';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst IBizQuillPreview: any = defineComponent({\n name: 'IBizQuillPreview',\n props: {\n ...getHtmlProps<HtmlEditorController>(),\n showCollapse: {\n type: Boolean,\n },\n defaultHeight: {\n type: Number,\n default: 200,\n },\n isCollapse: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, { emit }) {\n const ns = useNamespace('quill-preview');\n const c: HtmlEditorController = props.controller;\n\n const editorRef = ref(null);\n\n const lang = ibiz.i18n.getLang();\n\n // 编辑器对象\n let quill: Quill | null = null;\n\n // 预览图片路径\n const previewImage = ref('');\n\n // 伸缩内容高度\n const collapseHeight = ref('auto');\n\n // 显示伸缩按钮\n const showCollapseBtn = ref(false);\n\n const init = () => {\n if (!editorRef.value) {\n return;\n }\n quill = new Quill(editorRef.value, {\n theme: 'bubble',\n modules: c.modules,\n readOnly: true,\n placeholder: c.placeHolder,\n });\n if (c.valueMode === 'text') {\n quill.setText(props.value || '');\n }\n };\n\n // 重置伸缩高度\n const resetCollapseHeight = () => {\n if (props.isCollapse && editorRef.value) {\n // 收缩时\n const height = (editorRef.value as HTMLElement).offsetHeight;\n // 内容高度低于设置的默认高度时,拿内容高度作为伸缩高度\n if (height < props.defaultHeight) {\n collapseHeight.value = `${height}px`;\n showCollapseBtn.value = false;\n } else {\n collapseHeight.value = `${props.defaultHeight}px`;\n showCollapseBtn.value = true;\n }\n }\n };\n\n // 监听img加载情况\n const watchHtmlImages = (container: HTMLElement | null) => {\n if (!container) return;\n const images = container.querySelectorAll('img');\n let totalHieght = 0;\n images.forEach(image => {\n image.addEventListener('load', () => {\n const height = image.offsetHeight;\n totalHieght += height;\n if (totalHieght > props.defaultHeight) {\n collapseHeight.value = `${props.defaultHeight}px`;\n showCollapseBtn.value = true;\n }\n });\n });\n };\n\n onMounted(() => {\n init();\n nextTick(() => {\n resetCollapseHeight();\n watchHtmlImages(editorRef.value);\n });\n });\n\n const handleClick = () => {\n emit('edit');\n };\n\n const handlePreviewClose = () => {\n previewImage.value = '';\n };\n\n const handleContentClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n if (target && target.tagName === 'IMG') {\n previewImage.value = (target as IData).src;\n }\n };\n\n // 点击伸缩按钮\n const onClick = () => {\n // isCollapse.value = !isCollapse.value;\n emit('collapse', !props.isCollapse);\n resetCollapseHeight();\n };\n\n // 绘制伸缩按钮\n const renderCollapseBtn = () => {\n return (\n <div class={ns.b('collapse-btn')} onClick={onClick}>\n <span>\n {props.isCollapse\n ? ibiz.i18n.t('editor.html.expand')\n : ibiz.i18n.t('editor.html.collapse')}\n </span>\n {props.isCollapse && <ion-icon name='caret-down-outline'></ion-icon>}\n {!props.isCollapse && <ion-icon name='caret-up-outline'></ion-icon>}\n </div>\n );\n };\n\n watch(\n () => props.value,\n () => {\n resetCollapseHeight();\n },\n {\n immediate: true,\n },\n );\n\n return {\n ns,\n lang,\n editorRef,\n previewImage,\n collapseHeight,\n showCollapseBtn,\n handleClick,\n handleContentClick,\n handlePreviewClose,\n renderCollapseBtn,\n };\n },\n render() {\n return (\n <div\n class={[\n this.ns.b(),\n this.disabled ? this.ns.m('disabled') : '',\n this.readonly ? this.ns.m('readonly') : '',\n this.ns.m(this.lang.toLowerCase()),\n this.showCollapse ? this.ns.m('show-collapse') : '',\n this.ns.is('collapse', this.isCollapse),\n ]}\n style={`--default-height: ${this.collapseHeight}`}\n >\n <div ref='editorRef' onClick={this.handleContentClick}>\n {this.controller.valueMode === 'html' ? (\n <div v-html={this.value}></div>\n ) : null}\n </div>\n {!this.readonly && !this.disabled ? (\n <div onClick={this.handleClick} class={this.ns.e('edit')}>\n <ion-icon name='create-outline'></ion-icon>\n </div>\n ) : null}\n {this.showCollapse && this.showCollapseBtn && this.renderCollapseBtn()}\n <van-popup\n class={this.ns.e('image-popup')}\n show={!!this.previewImage}\n close-on-popstate={true}\n onClose={this.handlePreviewClose}\n >\n <iBizPreviewImage url={this.previewImage}></iBizPreviewImage>\n </van-popup>\n </div>\n );\n },\n});\n\nexport default IBizQuillPreview;\n"],"names":["IBizQuillPreview","name","props","getHtmlProps","showCollapse","type","Boolean","defaultHeight","default","isCollapse","emit","setup","ns","ref","c","quill","lang","getLang","showCollapseBtn","init","editorRef","value","theme","modules","height","readOnly","collapseHeight","placeHolder","resetCollapseHeight","container","images","totalHieght","image","onMounted","watchHtmlImages","nextTick","previewImage","handleContentClick","event","target","renderCollapseBtn","_createVNode","handlePreviewClose","watch","onClick","handleClick","immediate","_resolveComponent","render"],"mappings":"0qBAOA,KAAA,mBACMA,MAAAA,CACJC,KAAwB,EACxBC,aAAO,CACFC,KAAAA,OACHC,EACEC,cAAMC,CACP,KAAA,OACDC,QAAAA,GACEF,EACAG,WAAS,CACV,KAAA,QACDC,QAAY,EACVJ,CACAG,EACF,MAAAN,EAAA,CACD,KAAAQ,GACIC,CAAUD,MAAAA,EAAAA,EAAAA,eAAAA,EAAQ,EAAAR,EAAA,WACfU,EAAiBC,EAAA,MACjBC,EAA+B,KAAW,KAAA,QAAA,EAEhD,IAAAC,EAAe,KAEf,MAAMC,IAAiBC,EAAAA,cAEvBC,EAAAL,EAAA,EAAA,EACIE,EAA0B,IAAA,4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