@ibiz-template/vue3-components 0.7.27 → 0.7.28-alpha.1

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 (252) hide show
  1. package/dist/chart-4KHwhatb.js +1 -0
  2. package/dist/index-5ZDQNjel.js +4 -0
  3. package/dist/{index-0TO7mjm5.js → index-HNRMy1_g.js} +1 -1
  4. package/dist/{index-g6o3vQXo.js → index-xa8K5AHD.js} +1 -1
  5. package/dist/index.min.css +1 -1
  6. package/dist/index.system.min.js +1 -1
  7. package/dist/wang-editor-YqnK5uQU.js +1 -0
  8. package/dist/{xlsx-util-qdXxbg2A.js → xlsx-util-nDELbrGS.js} +1 -1
  9. package/es/common/action-toolbar/action-toolbar.mjs +4 -3
  10. package/es/common/custom-theme/custom-theme.mjs +3 -2
  11. package/es/common/data-import2/data-import2.mjs +2 -5
  12. package/es/common/emoji-select/components/categories/categories.mjs +2 -1
  13. package/es/common/extend-action-timeline/extend-action-timeline.mjs +3 -2
  14. package/es/common/grid-setting/grid-setting.mjs +2 -1
  15. package/es/common/index.mjs +2 -0
  16. package/es/common/pagination/pagination.mjs +2 -1
  17. package/es/common/quick-edit/quick-edit.css +1 -0
  18. package/es/common/quick-edit/quick-edit.d.ts +38 -0
  19. package/es/common/quick-edit/quick-edit.mjs +116 -0
  20. package/es/common/rawitem/rawitem.mjs +2 -1
  21. package/es/control/app-menu/app-menu.mjs +2 -2
  22. package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +2 -2
  23. package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +3 -2
  24. package/es/control/calendar/calendar.mjs +2 -1
  25. package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +2 -1
  26. package/es/control/calendar/components/calendar-week/calendar-week.mjs +2 -1
  27. package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +3 -2
  28. package/es/control/chart/chart.mjs +8 -0
  29. package/es/control/context-menu/context-menu.mjs +4 -3
  30. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +0 -1
  31. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +2 -1
  32. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +5 -4
  33. package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.mjs +3 -2
  34. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +2 -1
  35. package/es/control/drtab/drtab-control.util.mjs +1 -1
  36. package/es/control/drtab/drtab.mjs +2 -1
  37. package/es/control/form/form-detail/form-button/form-button.mjs +2 -1
  38. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
  39. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
  40. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +2 -1
  41. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +2 -1
  42. package/es/control/grid/grid/grid-control.util.d.ts +0 -2
  43. package/es/control/grid/grid/grid-control.util.mjs +9 -72
  44. package/es/control/grid/grid/grid.css +1 -1
  45. package/es/control/grid/grid/grid.d.ts +0 -2
  46. package/es/control/grid/grid/grid.mjs +1 -7
  47. package/es/control/grid/grid/index.d.ts +0 -2
  48. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +3 -2
  49. package/es/control/grid/row-edit-popover/row-edit-popover.d.ts +1 -1
  50. package/es/control/kanban/kanban.mjs +2 -2
  51. package/es/control/list/list.mjs +2 -1
  52. package/es/control/report-panel/report-panel.mjs +5 -0
  53. package/es/control/search-bar/filter-tree/filter-tree.d.ts +1 -1
  54. package/es/control/search-bar/search-bar.mjs +3 -2
  55. package/es/control/search-bar/search-groups/search-groups.mjs +6 -6
  56. package/es/control/toolbar/export-excel/export-excel.mjs +3 -2
  57. package/es/control/toolbar/short-cut-button/short-cut-button.mjs +2 -4
  58. package/es/control/toolbar/toolbar.css +1 -1
  59. package/es/control/toolbar/toolbar.mjs +150 -13
  60. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +3 -2
  61. package/es/control/wizard-panel/wizard-panel.mjs +2 -1
  62. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
  63. package/es/editor/array/ibiz-array/ibiz-array.mjs +12 -3
  64. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -1
  65. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -1
  66. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -1
  67. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +2 -1
  68. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -4
  69. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +1 -1
  70. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +2 -9
  71. package/es/editor/html/html-editor.controller.d.ts +88 -0
  72. package/es/editor/html/html-editor.controller.mjs +169 -6
  73. package/es/editor/html/wang-editor/component/emoji/emoji.css +1 -0
  74. package/es/editor/html/wang-editor/component/emoji/emoji.d.ts +17 -0
  75. package/es/editor/html/wang-editor/component/emoji/emoji.mjs +42 -0
  76. package/es/editor/html/wang-editor/component/index.d.ts +1 -0
  77. package/es/editor/html/wang-editor/component/index.mjs +3 -0
  78. package/es/editor/html/wang-editor/element/emoji.d.ts +7 -0
  79. package/es/editor/html/wang-editor/element/emoji.mjs +22 -0
  80. package/es/editor/html/wang-editor/element/index.d.ts +1 -0
  81. package/es/editor/html/wang-editor/element/index.mjs +3 -0
  82. package/es/editor/html/wang-editor/index.d.ts +4 -0
  83. package/es/editor/html/wang-editor/index.mjs +11 -0
  84. package/es/editor/html/wang-editor/module/ai-module.d.ts +67 -0
  85. package/es/editor/html/wang-editor/module/ai-module.mjs +76 -0
  86. package/es/editor/html/wang-editor/module/emoji-module.d.ts +7 -0
  87. package/es/editor/html/wang-editor/module/emoji-module.mjs +125 -0
  88. package/es/editor/html/wang-editor/module/index.d.ts +2 -0
  89. package/es/editor/html/wang-editor/module/index.mjs +4 -0
  90. package/es/editor/html/wang-editor/plugin/index.d.ts +1 -0
  91. package/es/editor/html/wang-editor/plugin/index.mjs +3 -0
  92. package/es/editor/html/wang-editor/plugin/plugin.d.ts +7 -0
  93. package/es/editor/html/wang-editor/plugin/plugin.mjs +23 -0
  94. package/es/editor/html/wang-editor/wang-editor.css +1 -1
  95. package/es/editor/html/wang-editor/wang-editor.mjs +7 -7
  96. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
  97. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +10 -3
  98. package/es/editor/span/span/span.mjs +2 -2
  99. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
  100. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +5 -2
  101. package/es/editor/text-box/input/input.d.ts +1 -0
  102. package/es/editor/text-box/input/input.mjs +17 -4
  103. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +2 -1
  104. package/es/index.mjs +1 -0
  105. package/es/locale/en/index.d.ts +1 -0
  106. package/es/locale/en/index.mjs +2 -1
  107. package/es/locale/zh-CN/index.d.ts +1 -0
  108. package/es/locale/zh-CN/index.mjs +2 -1
  109. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/h.mjs +89 -0
  110. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/helpers/attachto.mjs +47 -0
  111. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/hooks.mjs +1 -0
  112. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/htmldomapi.mjs +115 -0
  113. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/index.mjs +18 -0
  114. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/init.mjs +376 -0
  115. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/is.mjs +9 -0
  116. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/jsx.mjs +64 -0
  117. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/attributes.mjs +59 -0
  118. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/class.mjs +28 -0
  119. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/dataset.mjs +42 -0
  120. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/eventlisteners.mjs +85 -0
  121. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/props.mjs +24 -0
  122. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/style.mjs +115 -0
  123. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/thunk.mjs +52 -0
  124. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/tovnode.mjs +62 -0
  125. package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/vnode.mjs +6 -0
  126. package/es/panel-component/auth-captcha/auth-captcha.mjs +2 -1
  127. package/es/panel-component/panel-button/panel-button.mjs +2 -1
  128. package/es/panel-component/short-cut/short-cut.mjs +2 -2
  129. package/es/panel-component/user-action/user-action.mjs +2 -1
  130. package/es/panel-component/user-message/async-action/async-action/async-action.mjs +2 -1
  131. package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +2 -1
  132. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.d.ts +1 -0
  133. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +10 -4
  134. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.d.ts +1 -0
  135. package/es/panel-component/user-message/user-message.mjs +3 -2
  136. package/es/util/index.d.ts +1 -0
  137. package/es/util/index.mjs +1 -0
  138. package/es/util/notification-util/notification-util.mjs +3 -1
  139. package/es/util/wang-editor-util/wang-editor-util.d.ts +11 -0
  140. package/es/util/wang-editor-util/wang-editor-util.mjs +12 -0
  141. package/lib/common/action-toolbar/action-toolbar.cjs +4 -3
  142. package/lib/common/custom-theme/custom-theme.cjs +3 -2
  143. package/lib/common/data-import2/data-import2.cjs +1 -4
  144. package/lib/common/emoji-select/components/categories/categories.cjs +2 -1
  145. package/lib/common/extend-action-timeline/extend-action-timeline.cjs +3 -2
  146. package/lib/common/grid-setting/grid-setting.cjs +2 -1
  147. package/lib/common/index.cjs +2 -0
  148. package/lib/common/pagination/pagination.cjs +2 -1
  149. package/lib/common/quick-edit/quick-edit.cjs +118 -0
  150. package/lib/common/quick-edit/quick-edit.css +1 -0
  151. package/lib/common/rawitem/rawitem.cjs +2 -1
  152. package/lib/control/app-menu/app-menu.cjs +1 -1
  153. package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
  154. package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +3 -2
  155. package/lib/control/calendar/calendar.cjs +2 -1
  156. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +2 -1
  157. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +2 -1
  158. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +3 -2
  159. package/lib/control/chart/chart.cjs +8 -0
  160. package/lib/control/context-menu/context-menu.cjs +4 -3
  161. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -1
  162. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +5 -4
  163. package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.cjs +3 -2
  164. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +2 -1
  165. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  166. package/lib/control/drtab/drtab.cjs +2 -1
  167. package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
  168. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +3 -2
  169. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
  170. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +2 -1
  171. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +2 -1
  172. package/lib/control/grid/grid/grid-control.util.cjs +9 -72
  173. package/lib/control/grid/grid/grid.cjs +1 -7
  174. package/lib/control/grid/grid/grid.css +1 -1
  175. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +3 -2
  176. package/lib/control/kanban/kanban.cjs +1 -1
  177. package/lib/control/list/list.cjs +2 -1
  178. package/lib/control/report-panel/report-panel.cjs +5 -0
  179. package/lib/control/search-bar/search-bar.cjs +3 -2
  180. package/lib/control/search-bar/search-groups/search-groups.cjs +5 -5
  181. package/lib/control/toolbar/export-excel/export-excel.cjs +3 -2
  182. package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +2 -4
  183. package/lib/control/toolbar/toolbar.cjs +150 -13
  184. package/lib/control/toolbar/toolbar.css +1 -1
  185. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +3 -2
  186. package/lib/control/wizard-panel/wizard-panel.cjs +2 -1
  187. package/lib/editor/array/ibiz-array/ibiz-array.cjs +12 -3
  188. package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +2 -1
  189. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -1
  190. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -1
  191. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +2 -1
  192. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -4
  193. package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +1 -8
  194. package/lib/editor/html/html-editor.controller.cjs +169 -6
  195. package/lib/editor/html/wang-editor/component/emoji/emoji.cjs +44 -0
  196. package/lib/editor/html/wang-editor/component/emoji/emoji.css +1 -0
  197. package/lib/editor/html/wang-editor/component/index.cjs +7 -0
  198. package/lib/editor/html/wang-editor/element/emoji.cjs +24 -0
  199. package/lib/editor/html/wang-editor/element/index.cjs +7 -0
  200. package/lib/editor/html/wang-editor/index.cjs +19 -0
  201. package/lib/editor/html/wang-editor/module/ai-module.cjs +78 -0
  202. package/lib/editor/html/wang-editor/module/emoji-module.cjs +127 -0
  203. package/lib/editor/html/wang-editor/module/index.cjs +9 -0
  204. package/lib/editor/html/wang-editor/plugin/index.cjs +7 -0
  205. package/lib/editor/html/wang-editor/plugin/plugin.cjs +25 -0
  206. package/lib/editor/html/wang-editor/wang-editor.cjs +7 -7
  207. package/lib/editor/html/wang-editor/wang-editor.css +1 -1
  208. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +10 -3
  209. package/lib/editor/span/span/span.cjs +1 -1
  210. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +5 -2
  211. package/lib/editor/text-box/input/input.cjs +16 -3
  212. package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +2 -1
  213. package/lib/index.cjs +2 -0
  214. package/lib/locale/en/index.cjs +2 -1
  215. package/lib/locale/zh-CN/index.cjs +2 -1
  216. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/h.cjs +93 -0
  217. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/helpers/attachto.cjs +49 -0
  218. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/hooks.cjs +2 -0
  219. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/htmldomapi.cjs +117 -0
  220. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/index.cjs +42 -0
  221. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/init.cjs +378 -0
  222. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/is.cjs +12 -0
  223. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/jsx.cjs +67 -0
  224. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/attributes.cjs +61 -0
  225. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/class.cjs +30 -0
  226. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/dataset.cjs +44 -0
  227. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/eventlisteners.cjs +87 -0
  228. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/props.cjs +26 -0
  229. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/style.cjs +117 -0
  230. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/thunk.cjs +54 -0
  231. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/tovnode.cjs +64 -0
  232. package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/vnode.cjs +8 -0
  233. package/lib/panel-component/auth-captcha/auth-captcha.cjs +2 -1
  234. package/lib/panel-component/panel-button/panel-button.cjs +2 -1
  235. package/lib/panel-component/short-cut/short-cut.cjs +1 -1
  236. package/lib/panel-component/user-action/user-action.cjs +2 -1
  237. package/lib/panel-component/user-message/async-action/async-action/async-action.cjs +2 -1
  238. package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +2 -1
  239. package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.cjs +9 -3
  240. package/lib/panel-component/user-message/user-message.cjs +3 -2
  241. package/lib/util/index.cjs +2 -0
  242. package/lib/util/notification-util/notification-util.cjs +3 -1
  243. package/lib/util/wang-editor-util/wang-editor-util.cjs +14 -0
  244. package/package.json +7 -6
  245. package/dist/chart-HuCq_rW2.js +0 -1
  246. package/dist/index-Dq21zXhV.js +0 -4
  247. package/dist/wang-editor-XpJH4SXt.js +0 -1
  248. package/es/editor/html/wang-editor/ai/ai-modules.d.ts +0 -10
  249. package/es/editor/html/wang-editor/ai/ai-modules.mjs +0 -32
  250. package/lib/editor/html/wang-editor/ai/ai-modules.cjs +0 -34
  251. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.27_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  252. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.27_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -1 +1 @@
1
- System.register(["./index-Dq21zXhV.js","@ibiz-template/model-helper","@ibiz-template/vue3-util","vue","@ibiz-template/runtime","qx-util","dayjs","ramda","qs","@ibiz-template/core","vuedraggable","vue-router","lodash-es","@floating-ui/dom","element-plus","interactjs","axios","dayjs/plugin/customParseFormat","@wangeditor/editor","vue-i18n"],(function(i){"use strict";return{setters:[function(t){i({ActionBarPortlet:t.al,AppRouter:t.bb,AppUtil:t.b8,AuthGuard:t.b9,ChartPortlet:t.ad,ConfirmUtil:t.b1,ContainerPortlet:t.a6,DRBarController:t.a1,DRTabController:t.a3,DataViewControlProvider:t.P,DataViewEngine:t.aW,DoingNotice:t.D,ErrorView:t.aS,GridViewEngine:t.aU,HtmlPortlet:t.aj,IBizActionBarPortlet:t.ak,IBizActionToolbar:t.d,IBizAppMenuControl:t.j,IBizAppMenuIconViewControl:t.k,IBizAuthUserinfo:t.ay,IBizCalendarControl:t.ao,IBizCalendarExpBarControl:t.X,IBizCaptionBarControl:t.N,IBizChartControl:t._,IBizChartExpBarControl:t.Y,IBizChartPortlet:t.ac,IBizCol:t.a,IBizCommonComponents:t.I,IBizContainerPortlet:t.a5,IBizContextMenuControl:t.aw,IBizDRBarControl:t.a0,IBizDRTabControl:t.a2,IBizDashboardControl:t.a4,IBizDataViewControl:t.O,IBizDataViewExpBarControl:t.W,IBizEditFormControl:t.K,IBizEditor:t.aM,IBizFormButton:t.C,IBizFormControl:t.L,IBizFormDRUIPart:t.E,IBizFormGroupPanel:t.x,IBizFormItem:t.y,IBizFormItemContainer:t.z,IBizFormMDCtrl:t.F,IBizFormPage:t.A,IBizFormPageItem:t.B,IBizFormRawItem:t.G,IBizFormTabPage:t.J,IBizFormTabPanel:t.H,IBizGanttControl:t.av,IBizGridControl:t.l,IBizGridExpBarControl:t.V,IBizGridFieldColumn:t.q,IBizGridFieldEditColumn:t.s,IBizGridGroupColumn:t.t,IBizGridUAColumn:t.r,IBizHtmlPortlet:t.ai,IBizIndexActions:t.aK,IBizKanbanControl:t.ap,IBizListControl:t.v,IBizListExpBarControl:t.U,IBizListPortlet:t.ag,IBizMEditViewPanelControl:t.as,IBizMapControl:t.at,IBizMenuPortlet:t.aa,IBizNavPosIndex:t.aB,IBizPanelAppTitle:t.aE,IBizPanelButton:t.aC,IBizPanelComponents:t.ax,IBizPanelIndexViewSearch:t.aJ,IBizPanelTabPanel:t.aG,IBizPickupViewPanelControl:t.R,IBizRawItem:t.e,IBizRawItemPortlet:t.ae,IBizReportPanelControl:t.au,IBizReportPortlet:t.am,IBizRow:t.b,IBizSearchBarControl:t.Z,IBizSearchFormControl:t.w,IBizSortBar:t.h,IBizSplit:t.f,IBizSplitContainer:t.aI,IBizSplitTrigger:t.g,IBizSubAppRefView:t.aR,IBizTabExpPanelControl:t.S,IBizToolbarControl:t.M,IBizTreeControl:t.Q,IBizTreeExpBarControl:t.T,IBizTreeGridControl:t.ar,IBizTreeGridExControl:t.aq,IBizUserAction:t.aL,IBizViewEngine:t.aT,IBizViewPortlet:t.a8,IBizWFStepTraceView:t.aQ,IBizWizardPanelControl:t.$,IndexViewEngine:t.aV,ListPortlet:t.ah,LoadingUtil:t.a_,LoginView:t.aP,MenuPortlet:t.ab,MessageUtil:t.a$,ModalUtil:t.b0,NavPosIndexController:t.aA,NavPosIndexState:t.az,NoticeUtil:t.b6,NotificationUtil:t.b2,OpenViewUtil:t.b3,OptViewEngine:t.aX,OverlayController:t.b4,PanelAppTitleController:t.aF,PanelButtonController:t.aD,PortletLayout:t.a7,RawItemPortlet:t.af,RenderUtil:t.b7,ReportPortlet:t.an,SplitContainerController:t.aH,TabExpViewEngine:t.aY,TreeExpViewEngine:t.aZ,View403:t.aO,View404:t.aN,ViewPortlet:t.a9,i18n:t.i,runApp:t.ba,useAppGridBase:t.n,useAppGridPagination:t.m,useGridDraggable:t.p,useGridHeaderStyle:t.o,useITableEvent:t.u,usePagination:t.b5})},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}}));
1
+ System.register(["./index-5ZDQNjel.js","@ibiz-template/model-helper","@ibiz-template/vue3-util","vue","@ibiz-template/core","@ibiz-template/runtime","qx-util","dayjs","ramda","qs","vuedraggable","vue-router","lodash-es","@floating-ui/dom","element-plus","interactjs","axios","dayjs/plugin/customParseFormat","@wangeditor/editor","vue-i18n"],(function(i){"use strict";return{setters:[function(t){i({ActionBarPortlet:t.al,AppRouter:t.bc,AppUtil:t.b8,AuthGuard:t.ba,ChartPortlet:t.ad,ConfirmUtil:t.b1,ContainerPortlet:t.a6,DRBarController:t.a1,DRTabController:t.a3,DataViewControlProvider:t.P,DataViewEngine:t.aW,DoingNotice:t.D,ErrorView:t.aS,GridViewEngine:t.aU,HtmlPortlet:t.aj,IBizActionBarPortlet:t.ak,IBizActionToolbar:t.d,IBizAppMenuControl:t.j,IBizAppMenuIconViewControl:t.k,IBizAuthUserinfo:t.ay,IBizCalendarControl:t.ao,IBizCalendarExpBarControl:t.X,IBizCaptionBarControl:t.N,IBizChartControl:t._,IBizChartExpBarControl:t.Y,IBizChartPortlet:t.ac,IBizCol:t.a,IBizCommonComponents:t.I,IBizContainerPortlet:t.a5,IBizContextMenuControl:t.aw,IBizDRBarControl:t.a0,IBizDRTabControl:t.a2,IBizDashboardControl:t.a4,IBizDataViewControl:t.O,IBizDataViewExpBarControl:t.W,IBizEditFormControl:t.K,IBizEditor:t.aM,IBizFormButton:t.C,IBizFormControl:t.L,IBizFormDRUIPart:t.E,IBizFormGroupPanel:t.x,IBizFormItem:t.y,IBizFormItemContainer:t.z,IBizFormMDCtrl:t.F,IBizFormPage:t.A,IBizFormPageItem:t.B,IBizFormRawItem:t.G,IBizFormTabPage:t.J,IBizFormTabPanel:t.H,IBizGanttControl:t.av,IBizGridControl:t.l,IBizGridExpBarControl:t.V,IBizGridFieldColumn:t.q,IBizGridFieldEditColumn:t.s,IBizGridGroupColumn:t.t,IBizGridUAColumn:t.r,IBizHtmlPortlet:t.ai,IBizIndexActions:t.aK,IBizKanbanControl:t.ap,IBizListControl:t.v,IBizListExpBarControl:t.U,IBizListPortlet:t.ag,IBizMEditViewPanelControl:t.as,IBizMapControl:t.at,IBizMenuPortlet:t.aa,IBizNavPosIndex:t.aB,IBizPanelAppTitle:t.aE,IBizPanelButton:t.aC,IBizPanelComponents:t.ax,IBizPanelIndexViewSearch:t.aJ,IBizPanelTabPanel:t.aG,IBizPickupViewPanelControl:t.R,IBizRawItem:t.e,IBizRawItemPortlet:t.ae,IBizReportPanelControl:t.au,IBizReportPortlet:t.am,IBizRow:t.b,IBizSearchBarControl:t.Z,IBizSearchFormControl:t.w,IBizSortBar:t.h,IBizSplit:t.f,IBizSplitContainer:t.aI,IBizSplitTrigger:t.g,IBizSubAppRefView:t.aR,IBizTabExpPanelControl:t.S,IBizToolbarControl:t.M,IBizTreeControl:t.Q,IBizTreeExpBarControl:t.T,IBizTreeGridControl:t.ar,IBizTreeGridExControl:t.aq,IBizUserAction:t.aL,IBizViewEngine:t.aT,IBizViewPortlet:t.a8,IBizWFStepTraceView:t.aQ,IBizWizardPanelControl:t.$,IndexViewEngine:t.aV,ListPortlet:t.ah,LoadingUtil:t.a_,LoginView:t.aP,MenuPortlet:t.ab,MessageUtil:t.a$,ModalUtil:t.b0,NavPosIndexController:t.aA,NavPosIndexState:t.az,NoticeUtil:t.b6,NotificationUtil:t.b2,OpenViewUtil:t.b3,OptViewEngine:t.aX,OverlayController:t.b4,PanelAppTitleController:t.aF,PanelButtonController:t.aD,PortletLayout:t.a7,RawItemPortlet:t.af,RenderUtil:t.b7,ReportPortlet:t.an,SplitContainerController:t.aH,TabExpViewEngine:t.aY,TreeExpViewEngine:t.aZ,View403:t.aO,View404:t.aN,ViewPortlet:t.a9,i18n:t.i,parseHtml:t.b9,runApp:t.bb,useAppGridBase:t.n,useAppGridPagination:t.m,useGridDraggable:t.p,useGridHeaderStyle:t.o,useITableEvent:t.u,usePagination:t.b5})},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}}));
@@ -0,0 +1 @@
1
+ System.register(["vue","@wangeditor/editor-for-vue","qx-util","ramda","@ibiz-template/vue3-util","@ibiz-template/core","element-plus"],(function(e,t){"use strict";var a,l,n,o,s,i,r,c,u,d,v,m,h,f,g,p,b,C,S,y,E;return{setters:[function(e){a=e.defineComponent,l=e.ref,n=e.shallowRef,o=e.watch,s=e.onBeforeUnmount,i=e.onMounted,r=e.nextTick,c=e.onUnmounted,u=e.createVNode,d=e.resolveComponent},function(e){v=e.Toolbar,m=e.Editor},function(e){h=e.getCookie,f=e.createUUID},function(e){g=e.isNil},function(e){p=e.getHtmlProps,b=e.getEditorEmits,C=e.useNamespace},function(e){S=e.CoreConst,y=e.awaitTimeout},function(e){E=e.ElMessageBox}],execute:function(){e("default",a({name:"IBizHtml",props:p(),emits:b(),setup(e,{emit:a}){const d=C("html"),p=e.controller,b=l(),F=l({});let T=null,k=0;const U=l(),w=n(),A=l(""),x=l({Authorization:"Bearer ".concat(h(S.TOKEN))}),z=l(""),B=l(""),H=l(!0),N=l(!1),O=l(!1),P=l(!1),L=l(!1),R=p.model;R.editorParams&&(R.editorParams.enableEdit&&(N.value=!0,O.value=!0,H.value=p.toBoolean(R.editorParams.enableEdit)&&!e.readonly&&!e.disabled),R.editorParams.enableFullScreen&&(P.value=p.toBoolean(R.editorParams.enableFullScreen))),e.readonly&&(N.value=!1,O.value=!0),o((()=>e.data),(e=>{if(e){const t=ibiz.util.file.calcFileUpDownUrl(p.context,p.params,e,p.editorParams);z.value=t.uploadUrl,B.value=t.downloadUrl}}),{immediate:!0,deep:!0});const D=(e,t)=>{if(t)return!0},I=e=>e,M={excludeKeys:["group-video","emotion"],insertKeys:{index:60,keys:p.chatCompletion?["emoji","|","aichart"]:["emoji"]}},V={placeholder:p.placeHolder,readOnly:N.value?O.value:e.readonly,MENU_CONF:{uploadImage:{server:z.value,fieldName:"file",maxFileSize:10485760,maxNumberOfFiles:10,allowedFileTypes:[],headers:x.value,withCredentials:!0,onBeforeUpload:e=>e,onProgress(e){console.log("progress",e)},onSuccess(e,t){console.log("".concat(e.name," 上传成功"),t)},onFailed(e,t){console.log("".concat(e.name," 上传失败"),t)},onError(e,t,a){console.log("".concat(e.name," 上传出错"),t,a)},async customInsert(e,t){t(B.value.replace("%fileId%",e.id),e.filename,"")}},insertLink:{checkLink:D,parseLinkUrl:I},editLink:{checkLink:D,parseLinkUrl:I}}};let K;s((()=>{const e=w.value;null!=e&&e.destroy()}));const j=e=>{w.value=e,p.onCreated(w.value),e.setHtml(A.value),e.on("aiClick",(()=>{(async()=>{var e;if(p.deService){const l=await t.import("@ibiz-template-plugin/ai-chat"),n=l.chat||l.default.chat;K=n;const o=n.create({question:async e=>{var t;const a=f();return await(null==(t=p.deService)?void 0:t.aiChatSse((e=>{if(ibiz.log.info("aiChatSse",e),20===e.actionstate&&e.actionresult)o.addMessage({messageid:a,state:e.actionstate,type:"DEFAULT",role:"ASSISTANT",content:e.actionresult});else if(30===e.actionstate&&e.actionresult){const t=JSON.parse(e.actionresult).choices;t&&t.length>0&&o.replaceMessage({messageid:a,state:e.actionstate,type:"DEFAULT",role:"ASSISTANT",content:t[0].content||""})}else 40===e.actionstate&&o.replaceMessage({messageid:a,state:e.actionstate,type:"ERROR",role:"ASSISTANT",content:e.actionresult})}),p.context,{},{messages:e})),o.addMessage({messageid:a,state:10,type:"DEFAULT",role:"ASSISTANT",content:""}),!0},action:(e,t)=>{"backfill"===e&&(N.value?A.value=t.content:a("change",t.content))}}),s=await(null==(e=p.deService)?void 0:e.aiChatHistory(p.context,{}));s.data&&Array.isArray(s.data)&&s.data.forEach((e=>{const t={messageid:f(),state:30,type:"DEFAULT",role:e.role,content:e.content};o.addMessage(t)}))}})()}))},q=t=>{const l=t.getHtml(),n="<p><br></p>"===l?"":l;n===e.value||""===n&&g(e.value)||!N.value&&t.isFocused()&&a("change",n)},J=e=>{},_=e=>{a("focus")},G=e=>{a("blur")},Q=(e,t)=>{alert("【".concat(ibiz.i18n.t("editor.html.wangEditor.customTips"),"】").concat(t," - ").concat(e))},W=(e,t,a)=>{a(!0)},X=()=>{const e=w.value;null!=e&&e.disable()},Y=()=>{const e=w.value;null!=e&&e.enable()};i((()=>{o((()=>e.value),((t,a)=>{t===a||"string"!=typeof e.value&&null!=t||r(null==t?()=>{A.value=""}:()=>{A.value=t})}),{immediate:!0}),o((()=>e.disabled),((e,t)=>{e!==t&&(!0===e?X():Y())}),{immediate:!0})}));const Z=()=>{O.value=!O.value,O.value?X():(Y(),w.value.focus(),(()=>{var t,a;if(e.value){const l=e.value.indexOf("</p>");if(l>=0){const e=null==(t=w.value.selection.anchor)?void 0:t.offset,n=null==(a=w.value.selection.anchor)?void 0:a.path;0===e&&n.length>0&&0===n[0]&&w.value.move(l-3)}}})())},$=()=>{L.value=!L.value,r((()=>{O.value?X():(Y(),w.value.focus())}))};return i((()=>{y(0,(()=>{if(b.value&&U.value){const e=b.value.offsetHeight;T=new ResizeObserver((t=>{const a=t[0].contentRect.height;if(a!==k){const l={height:"".concat(e-t[0].contentRect.height+(0!==a?300:0),"px")};F.value=d.cssVarBlock(l),k=a}})),T.observe(U.value.selector)}}))})),c((()=>{p.onDestroyed(),T&&T.disconnect(),K&&K.close()})),{ns:d,editorRef:w,mode:"default",valueHtml:A,toolbarConfig:M,editorConfig:V,handleCreated:j,handleChange:q,handleDestroyed:J,handleFocus:_,handleBlur:G,customAlert:Q,customPaste:W,insertText:e=>{const t=w.value;null!=t&&t.insertText(e)},printHtml:()=>{const e=w.value;null!=e&&console.log(e.getHtml())},disable:X,enable:Y,renderHeaserToolbar:()=>N.value||P.value?u("div",{class:d.b("custom-toolbar")},[N.value&&H.value&&O.value?u("i",{class:"fa fa-edit","aria-hidden":"true",onClick:()=>Z()},null):null,P.value?L.value?u("i",{class:"fa fa-compress","aria-hidden":"true",onClick:()=>$()},null):u("i",{class:"fa fa-expand","aria-hidden":"true",onClick:()=>$()},null):null]):null,renderEditorContent:()=>u("div",{class:d.b("content"),ref:"htmlContent",style:F.value},[u(v,{ref:"toolbarRef",editor:w.value,"default-config":M,mode:"default",class:d.b("toolbar")},null),u(m,{class:[d.b("editor"),d.is("readonly",O.value)],modelValue:A.value,"onUpdate:modelValue":e=>A.value=e,"default-config":V,mode:"default",onOnCreated:j,onOnChange:q,onOnDestroyed:J,onOnFocus:_,onOnBlur:G,oncustomAlert:Q,oncustomPaste:W},null)]),renderFooter:()=>N.value?u("div",{class:[d.b("footer"),{[d.b("footer-dialog")]:L.value}]},[u("div",{class:d.be("footer","cancel"),onClick:()=>{e.value!==A.value?E({title:ibiz.i18n.t("editor.common.confirmCancel"),type:"warning",customClass:d.b("message"),message:u("div",{class:d.be("message","message-content")},[u("p",null,[ibiz.i18n.t("editor.common.confirmCancelPrompt")]),u("p",{class:d.bem("message","message-content","message-tip")},[ibiz.i18n.t("editor.common.cancelEditPrompt")])]),showCancelButton:!0,cancelButtonClass:d.be("message","message-cancel"),confirmButtonClass:d.be("message","message-comfire")}).then((()=>{A.value=e.value||"",Z()})).catch((()=>{w.value.focus()})):Z()}},[ibiz.i18n.t("app.cancel")]),u("div",{class:d.be("footer","save"),onClick:()=>(()=>{O.value=!0,w.value.disable();const e=A.value;a("change",e),L.value&&(L.value=!1)})()},[ibiz.i18n.t("app.save")])]):null,htmlContent:b,hasEnableEdit:N,cssVars:F,toolbarRef:U,isFullScreen:L,readonlyState:O,changeFullScreenState:$}},render(){return this.isFullScreen?u(d("el-dialog"),{modelValue:this.isFullScreen,"onUpdate:modelValue":e=>this.isFullScreen=e,width:"80%",top:"10vh",class:this.ns.b("dialog-full-screen"),onClose:()=>this.changeFullScreenState()},{default:()=>[u("div",{class:[this.ns.b(),{[this.ns.b("editor-readonly")]:this.readonlyState}]},[this.renderHeaserToolbar(),this.renderEditorContent(),this.hasEnableEdit&&!this.readonlyState?this.renderFooter():null])]}):u("div",{class:[this.ns.b(),{[this.ns.b("editor-readonly")]:this.readonlyState},this.ns.is("show-ai",!0)]},[this.renderHeaserToolbar(),this.renderEditorContent(),this.hasEnableEdit&&!this.readonlyState?this.renderFooter():null])}}))}}}));