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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) 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-xh-oAbbH.js +76 -0
  8. package/dist/index-xh-oAbbH.js.map +1 -0
  9. package/dist/index.min.css +4 -4
  10. package/dist/index.system.min.js +1 -1
  11. package/dist/{quill-editor-ybZrwyoG.js → quill-editor-8Y2QTf1T.js} +2 -2
  12. package/dist/quill-editor-8Y2QTf1T.js.map +1 -0
  13. package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-Afg5ZCWy.js} +2 -2
  14. package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-Afg5ZCWy.js.map} +1 -1
  15. package/dist/{quill-t_EJUjVi.js → quill-sc_3kAlj.js} +2 -2
  16. package/dist/{quill-t_EJUjVi.js.map → quill-sc_3kAlj.js.map} +1 -1
  17. package/dist/tree-nburezSg.js.map +1 -1
  18. package/es/_virtual/index17.mjs +2 -2
  19. package/es/_virtual/index18.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/rawitem/rawitem.d.ts +2 -2
  35. package/es/control/app-menu/app-menu.d.ts +31 -5
  36. package/es/control/app-menu/app-menu.mjs +13 -0
  37. package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +1 -1
  38. package/es/control/app-menu/index.d.ts +6 -6
  39. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
  40. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  41. package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
  42. package/es/control/app-menu-list-view/index.d.ts +5 -5
  43. package/es/control/calendar/calendar.d.ts +46 -6
  44. package/es/control/calendar/calendar.mjs +20 -0
  45. package/es/control/calendar/index.d.ts +7 -7
  46. package/es/control/caption-bar/caption-bar.d.ts +31 -5
  47. package/es/control/caption-bar/caption-bar.mjs +13 -0
  48. package/es/control/caption-bar/index.d.ts +5 -5
  49. package/es/control/chart/chart.d.ts +45 -5
  50. package/es/control/chart/chart.mjs +20 -0
  51. package/es/control/dashboard/dashboard.d.ts +32 -6
  52. package/es/control/dashboard/dashboard.mjs +13 -0
  53. package/es/control/dashboard/index.d.ts +6 -6
  54. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.d.ts +1 -0
  55. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +1 -0
  56. package/es/control/data-view/data-view.d.ts +49 -7
  57. package/es/control/data-view/data-view.mjs +23 -3
  58. package/es/control/data-view/index.d.ts +7 -7
  59. package/es/control/drbar/drbar.controller.d.ts +1 -0
  60. package/es/control/drbar/drbar.controller.mjs +3 -0
  61. package/es/control/drbar/drbar.d.ts +45 -16
  62. package/es/control/drbar/drbar.mjs +19 -4
  63. package/es/control/drbar/index.d.ts +7 -16
  64. package/es/control/drtab/drtab.controller.d.ts +1 -0
  65. package/es/control/drtab/drtab.controller.mjs +3 -0
  66. package/es/control/drtab/drtab.d.ts +33 -7
  67. package/es/control/drtab/drtab.mjs +13 -0
  68. package/es/control/drtab/index.d.ts +7 -7
  69. package/es/control/form/edit-form/edit-form.mjs +23 -0
  70. package/es/control/form/form/form.d.ts +7 -1
  71. package/es/control/form/form/form.mjs +3 -0
  72. package/es/control/form/form/index.d.ts +1 -1
  73. package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  74. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +1 -1
  75. package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
  76. package/es/control/form/form-detail/form-item/index.d.ts +2 -2
  77. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.d.ts +1 -1
  78. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  79. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
  80. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +6 -6
  81. package/es/control/form/search-form/index.d.ts +5 -5
  82. package/es/control/form/search-form/search-form.d.ts +31 -5
  83. package/es/control/form/search-form/search-form.mjs +13 -0
  84. package/es/control/list/list/index.d.ts +7 -7
  85. package/es/control/list/list/list.d.ts +81 -7
  86. package/es/control/list/list/list.mjs +37 -0
  87. package/es/control/list/list-render-util.d.ts +1 -0
  88. package/es/control/list/md-ctrl/index.d.ts +9 -9
  89. package/es/control/list/md-ctrl/md-ctrl.d.ts +71 -9
  90. package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
  91. package/es/control/pickup-view-panel/index.d.ts +7 -7
  92. package/es/control/pickup-view-panel/pickup-view-panel.controller.d.ts +2 -0
  93. package/es/control/pickup-view-panel/pickup-view-panel.controller.mjs +3 -0
  94. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
  95. package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
  96. package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
  97. package/es/control/search-bar/filter-tree/filter-tree.d.ts +6 -6
  98. package/es/control/search-bar/index.d.ts +5 -5
  99. package/es/control/search-bar/search-bar.d.ts +31 -5
  100. package/es/control/search-bar/search-bar.mjs +13 -0
  101. package/es/control/tab-exp-panel/index.d.ts +5 -5
  102. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
  103. package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
  104. package/es/control/toolbar/index.d.ts +7 -7
  105. package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +7 -7
  106. package/es/control/toolbar/toolbar.d.ts +33 -7
  107. package/es/control/toolbar/toolbar.mjs +13 -0
  108. package/es/control/tree/tree.d.ts +48 -6
  109. package/es/control/tree/tree.mjs +21 -0
  110. package/es/control/tree-exp-bar/index.d.ts +5 -5
  111. package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
  112. package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
  113. package/es/control/wizard-panel/index.d.ts +5 -5
  114. package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
  115. package/es/control/wizard-panel/wizard-panel.mjs +13 -0
  116. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
  117. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
  118. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
  119. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
  120. package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
  121. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +18 -11
  122. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +144 -26
  123. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -11
  124. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
  125. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
  126. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +22 -10
  127. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +20 -13
  128. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
  129. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
  130. package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
  131. package/es/editor/index.mjs +7 -1
  132. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
  133. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +23 -9
  134. package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
  135. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
  136. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
  137. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
  138. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
  139. package/es/editor/span/span/span.d.ts +15 -3
  140. package/es/editor/span/span-link/span-link.d.ts +16 -8
  141. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
  142. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
  143. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
  144. package/es/editor/text-box/index.d.ts +1 -0
  145. package/es/editor/text-box/index.mjs +1 -0
  146. package/es/editor/text-box/input/input.d.ts +16 -8
  147. package/es/editor/text-box/signature/signature.css +1 -0
  148. package/es/editor/text-box/signature/signature.d.ts +104 -0
  149. package/es/editor/text-box/signature/signature.mjs +256 -0
  150. package/es/editor/text-box/text-box-editor.provider.mjs +3 -0
  151. package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
  152. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
  153. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
  154. package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
  155. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
  156. package/es/index.mjs +1 -0
  157. package/es/locale/en/index.d.ts +47 -4
  158. package/es/locale/en/index.mjs +14 -0
  159. package/es/locale/zh-CN/index.d.ts +47 -4
  160. package/es/locale/zh-CN/index.mjs +14 -0
  161. package/es/mob-app/App.mjs +19 -2
  162. package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
  163. package/es/mob-app/guard/auth-guard/auth-guard.mjs +129 -54
  164. package/es/mob-app/main.mjs +1 -0
  165. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.d.ts +13 -5
  166. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +47 -15
  167. package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
  168. package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
  169. package/es/panel-component/async-action/index.d.ts +2 -2
  170. package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
  171. package/es/panel-component/auth-sso/auth-sso.css +1 -1
  172. package/es/panel-component/auth-sso/auth-sso.d.ts +24 -1
  173. package/es/panel-component/auth-sso/auth-sso.mjs +84 -6
  174. package/es/panel-component/auth-sso/index.d.ts +7 -1
  175. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
  176. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
  177. package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
  178. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
  179. package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
  180. package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
  181. package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
  182. package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
  183. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
  184. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
  185. package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
  186. package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
  187. package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
  188. package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
  189. package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
  190. package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
  191. package/es/panel-component/panel-button/panel-button.d.ts +17 -0
  192. package/es/panel-component/panel-button/panel-button.mjs +6 -0
  193. package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
  194. package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
  195. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
  196. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
  197. package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
  198. package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
  199. package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
  200. package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
  201. package/es/panel-component/panel-carousel/index.d.ts +2 -2
  202. package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
  203. package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
  204. package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
  205. package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
  206. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
  207. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
  208. package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
  209. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
  210. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
  211. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
  212. package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
  213. package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
  214. package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
  215. package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
  216. package/es/panel-component/user-message/index.d.ts +3 -3
  217. package/es/panel-component/user-message/user-message.d.ts +8 -3
  218. package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
  219. package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
  220. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
  221. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
  222. package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +17 -0
  223. package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +6 -0
  224. package/es/panel-component/wf-action-button/index.d.ts +1 -1
  225. package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
  226. package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
  227. package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
  228. package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
  229. package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
  230. package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
  231. package/es/panel-component/wf-step-trace/index.d.ts +1 -1
  232. package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
  233. package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
  234. package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
  235. package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
  236. package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
  237. package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
  238. package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
  239. package/es/util/app-modal/app-modal-component.d.ts +2 -2
  240. package/es/util/app-util/app-util.d.ts +66 -1
  241. package/es/util/app-util/app-util.mjs +66 -0
  242. package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
  243. package/es/view/login-view/login-view.d.ts +1 -1
  244. package/es/view/portal-view/index.d.ts +7 -7
  245. package/es/view/portal-view/portal-view.d.ts +7 -7
  246. package/es/view-engine/login-view.engine.d.ts +2 -2
  247. package/es/view-engine/login-view.engine.mjs +2 -0
  248. package/es/view-engine/mob-data-view-engine.d.ts +2 -2
  249. package/es/view-engine/mob-data-view-engine.mjs +0 -1
  250. package/es/view-engine/mob-edit-view.engine.d.ts +2 -2
  251. package/es/view-engine/mob-edit-view.engine.mjs +5 -1
  252. package/es/view-engine/mob-md-view-engine.d.ts +2 -2
  253. package/es/view-engine/mob-md-view-engine.mjs +0 -1
  254. package/es/view-engine/mob-mpickup-view-engine.d.ts +20 -14
  255. package/es/view-engine/mob-mpickup-view-engine.mjs +34 -26
  256. package/es/view-engine/mob-opt-view.engine.d.ts +2 -2
  257. package/es/view-engine/mob-pickup-md-view.engine.d.ts +2 -2
  258. package/es/view-engine/mob-pickup-md-view.engine.mjs +0 -1
  259. package/es/view-engine/mob-pickup-view.engine.d.ts +9 -2
  260. package/es/view-engine/mob-pickup-view.engine.mjs +15 -1
  261. package/es/view-engine/mob-tab-search-view.engine.d.ts +2 -2
  262. package/es/view-engine/mob-tab-search-view.engine.mjs +0 -1
  263. package/es/view-engine/mob-wf-dyna-action-view.engine.d.ts +2 -2
  264. package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +0 -1
  265. package/es/view-engine/mob-wf-dyna-edit-view.engine.d.ts +2 -2
  266. package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +0 -1
  267. package/es/view-engine/mob-wf-dyna-start-view.engine.d.ts +2 -2
  268. package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +0 -1
  269. package/lib/_virtual/index17.cjs +2 -2
  270. package/lib/_virtual/index18.cjs +2 -2
  271. package/lib/common/index.cjs +1 -0
  272. package/lib/control/app-menu/app-menu.cjs +13 -0
  273. package/lib/control/calendar/calendar.cjs +20 -0
  274. package/lib/control/caption-bar/caption-bar.cjs +13 -0
  275. package/lib/control/chart/chart.cjs +20 -0
  276. package/lib/control/dashboard/dashboard.cjs +13 -0
  277. package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +1 -0
  278. package/lib/control/data-view/data-view.cjs +23 -3
  279. package/lib/control/drbar/drbar.cjs +19 -4
  280. package/lib/control/drbar/drbar.controller.cjs +3 -0
  281. package/lib/control/drtab/drtab.cjs +13 -0
  282. package/lib/control/drtab/drtab.controller.cjs +3 -0
  283. package/lib/control/form/edit-form/edit-form.cjs +23 -0
  284. package/lib/control/form/form/form.cjs +3 -0
  285. package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  286. package/lib/control/form/search-form/search-form.cjs +13 -0
  287. package/lib/control/list/list/list.cjs +37 -0
  288. package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
  289. package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
  290. package/lib/control/pickup-view-panel/pickup-view-panel.controller.cjs +3 -0
  291. package/lib/control/search-bar/search-bar.cjs +13 -0
  292. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
  293. package/lib/control/toolbar/toolbar.cjs +13 -0
  294. package/lib/control/tree/tree.cjs +21 -0
  295. package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
  296. package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
  297. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +144 -26
  298. package/lib/editor/index.cjs +7 -0
  299. package/lib/editor/text-box/index.cjs +2 -0
  300. package/lib/editor/text-box/signature/signature.cjs +258 -0
  301. package/lib/editor/text-box/signature/signature.css +1 -0
  302. package/lib/editor/text-box/text-box-editor.provider.cjs +3 -0
  303. package/lib/index.cjs +2 -0
  304. package/lib/locale/en/index.cjs +14 -0
  305. package/lib/locale/zh-CN/index.cjs +14 -0
  306. package/lib/mob-app/App.cjs +17 -0
  307. package/lib/mob-app/guard/auth-guard/auth-guard.cjs +128 -53
  308. package/lib/mob-app/main.cjs +1 -0
  309. package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +47 -15
  310. package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
  311. package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
  312. package/lib/panel-component/auth-sso/auth-sso.cjs +83 -5
  313. package/lib/panel-component/auth-sso/auth-sso.css +1 -1
  314. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
  315. package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
  316. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
  317. package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
  318. package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
  319. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
  320. package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
  321. package/lib/panel-component/panel-button/panel-button.cjs +6 -0
  322. package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
  323. package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
  324. package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
  325. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
  326. package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
  327. package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
  328. package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
  329. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
  330. package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
  331. package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
  332. package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
  333. package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
  334. package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
  335. package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
  336. package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +6 -0
  337. package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
  338. package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
  339. package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
  340. package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
  341. package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
  342. package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
  343. package/lib/util/app-util/app-util.cjs +66 -0
  344. package/lib/view-engine/login-view.engine.cjs +2 -0
  345. package/lib/view-engine/mob-data-view-engine.cjs +0 -1
  346. package/lib/view-engine/mob-edit-view.engine.cjs +5 -1
  347. package/lib/view-engine/mob-md-view-engine.cjs +0 -1
  348. package/lib/view-engine/mob-mpickup-view-engine.cjs +34 -26
  349. package/lib/view-engine/mob-pickup-md-view.engine.cjs +0 -1
  350. package/lib/view-engine/mob-pickup-view.engine.cjs +15 -1
  351. package/lib/view-engine/mob-tab-search-view.engine.cjs +0 -1
  352. package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +0 -1
  353. package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +0 -1
  354. package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +0 -1
  355. package/package.json +7 -7
  356. package/dist/index-NP0RBfWK.js.map +0 -1
  357. package/dist/index-O-XmMUt3.js.map +0 -1
  358. package/dist/index-TfgOIExu.js +0 -76
  359. package/dist/index-TfgOIExu.js.map +0 -1
  360. package/dist/quill-editor-ybZrwyoG.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tree-nburezSg.js","sources":["../src/control/tree/tree.tsx"],"sourcesContent":["import {\n useControlController,\n useNamespace,\n IBizIcon,\n} from '@ibiz-template/vue3-util';\nimport {\n computed,\n defineComponent,\n PropType,\n ref,\n VNode,\n h as vueH,\n createApp,\n App,\n onUnmounted,\n} from 'vue';\nimport { IDETree } from '@ibiz/model-core';\nimport {\n IControlProvider,\n ITreeController,\n ITreeNodeData,\n TreeController,\n} from '@ibiz-template/runtime';\nimport { debounce } from 'lodash-es';\nimport { createUUID } from 'qx-util';\nimport { VsTreeComponent } from '@ibiz-template-package/vs-tree-ex';\nimport './tree.scss';\n\nexport const TreeControl = defineComponent({\n name: 'IBizTreeControl',\n components: {\n 'vs-tree': VsTreeComponent,\n },\n props: {\n modelData: { type: Object as PropType<IDETree>, required: true },\n context: { type: Object as PropType<IContext>, required: true },\n params: { type: Object as PropType<IParams>, default: () => ({}) },\n provider: { type: Object as PropType<IControlProvider> },\n mdctrlActiveMode: { type: Number, default: 2 },\n singleSelect: { type: Boolean, default: true },\n },\n setup() {\n const c = useControlController<TreeController>(\n (...args) => new TreeController(...args),\n );\n const ns = useNamespace(`control-${c.model.controlType!.toLowerCase()}`);\n // 默认选中项\n const checkedKeys = computed(() => {\n return c.state.selectedData.map(item => item._id);\n });\n\n // 节点创建的app实例,用于组件销毁时销毁所有实例\n let vueApps: App[] = [];\n // 引用的树组件实例\n const treeRef = ref();\n // 用于树强制刷新\n const treeRefreshKey = ref(createUUID());\n\n // 快捷搜索值\n const currentVal = ref('');\n\n const uuid = createUUID();\n\n // 启用面包屑功能\n const breadcrumb = ref(true);\n\n // 创建图标节点\n const createIconNode = (customProps: IData) => {\n const iop = vueH(IBizIcon, customProps);\n const vueApp = createApp(iop);\n const dom = document.createElement('span');\n vueApp.mount(dom);\n vueApps.push(vueApp);\n return dom;\n };\n\n /**\n * 创建新的节点对象,隔离组件数据和controller数据\n * @param {ITreeNodeData[]} nodes\n * @return {*} {IData[]}\n */\n const toElNodes = (nodes: ITreeNodeData[]): IData[] => {\n return nodes.map(node => {\n const iconDom = node?._icon\n ? createIconNode({ icon: node?._icon })\n : '';\n return {\n _id: node._id,\n _uuid: node._uuid,\n _leaf: node._leaf,\n _text: node._text,\n icon: iconDom,\n _disableSelect: node._disableSelect,\n };\n });\n };\n\n /** 树展示数据 */\n const treeData = computed(() => {\n if (!c.state.isLoaded) {\n return [];\n }\n const nodes = c.model.rootVisible\n ? c.state.rootNodes\n : c.state.rootNodes.reduce<ITreeNodeData[]>((result, nodeData) => {\n if (nodeData._children) {\n return result.concat(nodeData._children);\n }\n return result;\n }, []);\n return toElNodes(nodes);\n });\n\n /**\n * 根据id查找树节点数据对象\n * @export\n * @param {string} key (数据的_uuid 或者 _id)\n * @param {ITreeController} c\n * @return {*} {(ITreeNodeData | undefined)}\n */\n function findNodeData(\n key: string,\n controller: ITreeController,\n ): ITreeNodeData | undefined {\n const find = controller.state.items.find(item => item._id === key);\n if (find) {\n return find;\n }\n return controller.state.items.find(item => item._uuid === key);\n }\n\n /**\n * 触发节点加载数据\n * @author zk\n * @date 2023-05-29 09:16:07\n * @param {IData} item\n * @param {(nodes: IData[]) => void} callback\n */\n const loadData = async (\n item: IData,\n callback: (nodes: IData[]) => void,\n ) => {\n // 没加载前拦截\n if (!c.state.isLoaded) {\n return;\n }\n\n // 加载时拦截点击事件\n let nodes: ITreeNodeData[];\n const nodeData = findNodeData(item.data._uuid, c)!;\n // 有搜索值为搜索框搜索,必须请求后台数据过滤\n if (nodeData && nodeData._children && !c.state.query) {\n ibiz.log.debug('节点展开加载-本地', nodeData);\n nodes = nodeData._children;\n } else {\n ibiz.log.debug('节点展开加载-远程', nodeData);\n nodes = await c.loadNodes(nodeData);\n }\n // 根节点搜索时,返回树展示数据,并强制刷新\n if (nodes && c.state.rootNodes.includes(nodes[0])) {\n callback(treeData.value);\n c.state.mobExpandedKey = '';\n treeRefreshKey.value = createUUID();\n return;\n }\n callback(toElNodes(nodes));\n };\n\n /**\n * 多选时选中节点变更\n *\n * @param {ITreeNodeData} nodeData\n */\n const onNodeCheck = (event: MouseEvent, opts: IData) => {\n if (c.state.singleSelect) {\n return;\n }\n const { originData } = opts;\n // 选中相关处理\n const { selectedData } = c.state;\n const nodeData = findNodeData(originData._uuid, c)!;\n // 选中里没有则添加,有则删除\n const filterArr = selectedData.filter(\n (item: IData) => item._id !== nodeData._id,\n );\n if (filterArr.length === selectedData.length) {\n c.setSelection(selectedData.concat([nodeData]));\n } else {\n c.setSelection(filterArr);\n }\n };\n\n const onNodeClick = (event: MouseEvent, opts: IData) => {\n event.stopPropagation();\n const { originData } = opts;\n if (!originData._leaf) {\n return;\n }\n onNodeCheck(event, opts);\n c.onTreeNodeClick(originData, event);\n };\n\n // 处理展开节点切换\n const handleExpandedLastKey = (data: IData) => {\n c.state.mobExpandedKey = data._uuid || '';\n };\n\n // 搜索\n const debounceSearch = debounce(async () => {\n if (treeRef.value) {\n // 获取最后展开的节点\n const breadcrumbList =\n treeRef.value?.tree?.tree?.store?.breadcrumb?.list;\n const breadcrumbListLast = breadcrumbList\n ? breadcrumbList[breadcrumbList.length - 1]\n : null;\n if (breadcrumbListLast) {\n breadcrumbListLast.childNodes = [];\n treeRef.value?.tree?.tree?.store?.nodesChange([]);\n breadcrumbListLast.loaded = false;\n breadcrumbListLast.setExpand(true);\n }\n }\n }, 500);\n\n const onInput = async (value: string): Promise<void> => {\n c.state.query = value;\n await c.load();\n };\n\n c.evt.on('onAfterRefreshParent', () => {\n debounceSearch();\n });\n\n c.evt.on('onLoadSuccess', () => {\n c.state.mobExpandedKey = '';\n treeRefreshKey.value = createUUID();\n });\n\n /**\n * 树数据格式化\n *\n * @author zk\n * @date 2023-07-03 11:07:59\n * @param {ITreeNodeData} data\n * @return {*}\n */\n const treeDataFormat = (data: ITreeNodeData) => {\n return {\n id: data._id,\n name: data._text,\n children: data._children,\n isLeaf: data._leaf,\n };\n };\n\n /**\n * 处理单选默认选中样式\n *\n * @author ljx\n * @date 2024-12-12 15:07:59\n * @param {IData} opts\n * @return {*}\n */\n const handleSingleSelect = (opts: IData) => {\n const { originData, loadingEl } = opts;\n if (checkedKeys.value.includes(originData._id) && loadingEl) {\n loadingEl.parentNode.parentNode.classList.add('selected');\n opts.store.selectedCurrent = opts;\n }\n };\n\n const renderContent = (\n h: (tag: string, opt: IData) => VNode,\n opts: IData,\n ) => {\n if (c.state.singleSelect) handleSingleSelect(opts);\n const { originData } = opts;\n if (!originData._leaf) {\n return h('div', {\n text: ibiz.i18n.t('control.tree.subordinate'),\n className: 'tree-button',\n click: (e: Event, _opts: IData) => {\n _opts.store.breadcrumb.list.push(_opts);\n _opts.setExpand(true);\n handleExpandedLastKey(originData);\n },\n });\n }\n };\n\n const customNodeClick = (event: MouseEvent, opts: IData) => {\n const { checked } = opts;\n opts.setChecked(!checked);\n onNodeClick(event, opts);\n };\n\n // vs树配置项\n const options = {\n maxHeight: '100%',\n // 继承父状态\n checkInherit: false,\n // 不能选择父节点\n nocheckParent: true,\n rootName: c.model.detreeNodes?.find(item => item.rootNode)?.name,\n renderContent,\n customNodeClick,\n };\n\n if (breadcrumb.value) {\n Object.assign(options, {\n breadcrumb: {\n el: `#breadcrumb${uuid}`,\n link: (node: IData, data: IData) => {\n const content = document.createElement('span');\n const textDom = document.createElement('span');\n textDom.innerText = data.name;\n if (data.icon instanceof HTMLElement) {\n content.appendChild(data.icon.cloneNode(true));\n }\n content.appendChild(textDom);\n content.className = `${ns.be('header', 'crumb')} ${ns.is(\n 'root',\n data._vsroot,\n )}`;\n content.onclick = () => handleExpandedLastKey.bind(this)(data);\n return content;\n },\n },\n });\n }\n\n onUnmounted(() => {\n // 卸载绘制的图标节点\n vueApps.forEach((vueApp: App) => {\n vueApp.unmount();\n });\n vueApps = [];\n });\n\n return {\n c,\n ns,\n treeRefreshKey,\n treeData,\n options,\n breadcrumb,\n checkedKeys,\n uuid,\n treeRef,\n onNodeCheck,\n onNodeClick,\n loadData,\n treeDataFormat,\n currentVal,\n onInput,\n };\n },\n render() {\n const slots: IData = {\n searchbar: () => {\n if (!this.c.enableQuickSearch) {\n return null;\n }\n return (\n <van-search\n modelValue={this.c.state.query}\n class={this.ns.b('quick-search')}\n clearable={true}\n placeholder={this.c.state.placeHolder}\n onUpdate:model-value={this.onInput}\n ></van-search>\n );\n },\n };\n const key = this.c.controlPanel ? 'tree' : 'default';\n slots[key] = () => {\n return [\n this.breadcrumb && (\n <van-sticky>\n <div\n id={`breadcrumb${this.uuid}`}\n class={[\n this.ns.b('header'),\n this.ns.is('no-root', !this.c.model.rootVisible),\n ]}\n ></div>\n </van-sticky>\n ),\n this.c.state.isCreated && this.c.state.isLoaded && (\n <vs-tree\n show-line\n ref='treeRef'\n key={this.treeRefreshKey}\n class={[this.ns.b('content')]}\n lazy={true}\n strictLeaf={true}\n options={this.options}\n show-checkbox={!this.c.state.singleSelect}\n showIcon={true}\n data={this.treeData}\n highlightCurrent={true}\n checkedKeys={this.checkedKeys}\n format={this.treeDataFormat}\n load={this.loadData}\n onCheck={this.onNodeCheck}\n ></vs-tree>\n ),\n ];\n };\n return <iBizControlBase controller={this.c}>{slots}</iBizControlBase>;\n },\n});\n\nexport default TreeControl;\n"],"names":["_isSlot","s","_isVNode","TreeControl","defineComponent","components","VsTreeComponent","props","modelData","type","required","context","params","Object","default","provider","mdctrlActiveMode","singleSelect","setup","c","_a","_b","useControlController","args","TreeController","checkedKeys","useNamespace","computed","item","vueApps","ref","treeRefreshKey","createUUID","treeRef","uuid","iop","vueH","IBizIcon","customProps","vueApp","createApp","dom","toElNodes","nodes","createIconNode","node","mount","push","iconDom","map","result","nodeData","icon","findNodeData","key","controller","find","loadData","callback","treeData","state","onNodeCheck","event","opts","originData","selectedData","filterArr","onNodeClick","debug","loadNodes","handleExpandedLastKey","data","rootNodes","mobExpandedKey","value","_e","_i","breadcrumbList","_d","_c","_b2","_a2","breadcrumbListLast","_h","_g","_f","debounceSearch","treeDataFormat","setSelection","stopPropagation","_leaf","loadingEl","renderContent","h","handleSingleSelect","e","_opts","tree","customNodeClick","onInput","checked","on","evt","breadcrumb","options","content","textDom","ns","onUnmounted","className","click","setExpand","_createVNode","_resolveComponent","slots","maxHeight","checkInherit","nocheckParent","rootName","assign","link","innerText","appendChild","exports"],"mappings":"6iBA0BqB,SAAAA,EAAAC,EAAA,CAAA,OAAA,OAAAA,GAAA,YAAA,OAAA,UAAA,SAAA,KAAAA,CAAA,IAAA,mBAAA,CAAAC,EAAAD,CAAA,CAErB,CACyB,MAAAE,EAAAC,EAAA,CACvBC,KAAAA,kBACE,WAAWC,CACZ,UAAAA,CACDC,EACEC,MAAAA,CAAaC,UAAiC,CAAEC,KAAAA,OAAgB,SAAA,EAChEC,EAAWF,QAAkC,CAAEC,KAAAA,OAAgB,SAAA,EAC/DE,EAAUH,OAAMI,CAA6BC,KAAAA,OAAqB,QAAA,KAAA,CAAA,EAClEC,EAAYN,SAAMI,CAAsC,KAAA,MACxDG,EAAoBP,iBAAY,CAAEK,KAAAA,OAAY,QAAA,CAC9CG,EAAgBR,aAAa,CAAEK,KAAAA,QAAc,QAAA,EAC9C,CACDI,EACE,OAAMC,CAGN,IAAAC,EAAQC,EACR,MAAAF,EAAAG,EAAA,IAAAC,IAAA,IAAAC,EAAA,GAAAD,CAAA,CAAA,EACME,EAAWC,EAAW,WAAOP,EAAA,MAAA,YAAA,aAAA,EAAA,EACjCM,EAA2BE,EAAA,IAC3BR,EAAA,MAAA,aAAA,IAAAS,GAAAA,EAAA,GAAA,GAEF,IAAAC,EAAA,CAAA,EACA,MAAIA,EAAmBC,IACv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,GACnB,MAAA,CAAA,KAAA,GAAA,EAAA,QAAA,EAAA,KAAA,GAAA,GAAA,UAAA,CAAA,KAAA,EAAA,MAAA,WAAA,CAAA,CACAC,EAAAA,IAAAA,CAAAA,CACAC,CAAAA,EAAAA,OAAW,MAAM,WAAc9D,KAAI,EAAC5B,gBAAqBoF,EAAOC,EAAA,SAAA,EAAA,CACnD,YAAA,GACbf,IAAAA,UACD,IAAA,KAAA,eAEGK,MAAAA,CAAU,KAAC7B,GAAO,EAAA,SAAA,CAAA,EACpB7D,KAAO0G,GACLhB,WAAY,WACQrE,KAAAA,QAClBsF,sBAAoC,EAAA,MAAA,aAClC,YACA,KAAA,cACAd,iBAAQe,GACR,YAAa,KAAA,mBACJ,KAAY,eACrB,KAAA,KAAA,SACAhB,QAAO,KAACiB,iBACD,CAAA,EAKPV,EAAcC,EAAA,iBAAA,EAAA,CAChB,WAAA,KAAA,CACF,EAAAjH,EAAAkH,CAAA,EAAAA,EAAA,CACF,QAAE,IAAA,CAAAA,CAAA,CACJ,CAAA,CAEAN,CACE,CAAA,EAAAe,EAAA,CAAA,YAAAxH,EAAA,QAAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"tree-nburezSg.js","sources":["../src/control/tree/tree.tsx"],"sourcesContent":["import {\n useControlController,\n useNamespace,\n IBizIcon,\n} from '@ibiz-template/vue3-util';\nimport {\n computed,\n defineComponent,\n PropType,\n ref,\n VNode,\n h as vueH,\n createApp,\n App,\n onUnmounted,\n} from 'vue';\nimport { IDETree } from '@ibiz/model-core';\nimport {\n IControlProvider,\n ITreeController,\n ITreeNodeData,\n TreeController,\n} from '@ibiz-template/runtime';\nimport { debounce } from 'lodash-es';\nimport { createUUID } from 'qx-util';\nimport { VsTreeComponent } from '@ibiz-template-package/vs-tree-ex';\nimport './tree.scss';\n\nexport const TreeControl = defineComponent({\n name: 'IBizTreeControl',\n components: {\n 'vs-tree': VsTreeComponent,\n },\n props: {\n /**\n * @description 树控件模型数据\n */\n modelData: { type: Object as PropType<IDETree>, required: true },\n /**\n * @description 应用上下文对象\n */\n context: { type: Object as PropType<IContext>, required: true },\n /**\n * @description 视图参数对象\n * @default {}\n */\n params: { type: Object as PropType<IParams>, default: () => ({}) },\n /**\n * @description 部件适配器\n */\n provider: { type: Object as PropType<IControlProvider> },\n /**\n * @description 部件激活模式,值为0:无激活,值为1:单击激活,值为2:双击激活\n * @default 2\n */\n mdctrlActiveMode: { type: Number, default: 2 },\n /**\n * @description 是否单选\n * @default true\n */\n singleSelect: { type: Boolean, default: true },\n },\n setup() {\n const c = useControlController<TreeController>(\n (...args) => new TreeController(...args),\n );\n const ns = useNamespace(`control-${c.model.controlType!.toLowerCase()}`);\n // 默认选中项\n const checkedKeys = computed(() => {\n return c.state.selectedData.map(item => item._id);\n });\n\n // 节点创建的app实例,用于组件销毁时销毁所有实例\n let vueApps: App[] = [];\n // 引用的树组件实例\n const treeRef = ref();\n // 用于树强制刷新\n const treeRefreshKey = ref(createUUID());\n\n // 快捷搜索值\n const currentVal = ref('');\n\n const uuid = createUUID();\n\n // 启用面包屑功能\n const breadcrumb = ref(true);\n\n // 创建图标节点\n const createIconNode = (customProps: IData) => {\n const iop = vueH(IBizIcon, customProps);\n const vueApp = createApp(iop);\n const dom = document.createElement('span');\n vueApp.mount(dom);\n vueApps.push(vueApp);\n return dom;\n };\n\n /**\n * 创建新的节点对象,隔离组件数据和controller数据\n * @param {ITreeNodeData[]} nodes\n * @return {*} {IData[]}\n */\n const toElNodes = (nodes: ITreeNodeData[]): IData[] => {\n return nodes.map(node => {\n const iconDom = node?._icon\n ? createIconNode({ icon: node?._icon })\n : '';\n return {\n _id: node._id,\n _uuid: node._uuid,\n _leaf: node._leaf,\n _text: node._text,\n icon: iconDom,\n _disableSelect: node._disableSelect,\n };\n });\n };\n\n /** 树展示数据 */\n const treeData = computed(() => {\n if (!c.state.isLoaded) {\n return [];\n }\n const nodes = c.model.rootVisible\n ? c.state.rootNodes\n : c.state.rootNodes.reduce<ITreeNodeData[]>((result, nodeData) => {\n if (nodeData._children) {\n return result.concat(nodeData._children as ITreeNodeData[]);\n }\n return result;\n }, []);\n return toElNodes(nodes as ITreeNodeData[]);\n });\n\n /**\n * 根据id查找树节点数据对象\n * @export\n * @param {string} key (数据的_uuid 或者 _id)\n * @param {ITreeController} c\n * @return {*} {(ITreeNodeData | undefined)}\n */\n function findNodeData(\n key: string,\n controller: ITreeController,\n ): ITreeNodeData | undefined {\n const find = controller.state.items.find(item => item._id === key);\n if (find) {\n return find;\n }\n return controller.state.items.find(item => item._uuid === key);\n }\n\n /**\n * 触发节点加载数据\n * @author zk\n * @date 2023-05-29 09:16:07\n * @param {IData} item\n * @param {(nodes: IData[]) => void} callback\n */\n const loadData = async (\n item: IData,\n callback: (nodes: IData[]) => void,\n ) => {\n // 没加载前拦截\n if (!c.state.isLoaded) {\n return;\n }\n\n // 加载时拦截点击事件\n let nodes: ITreeNodeData[];\n const nodeData = findNodeData(item.data._uuid, c)!;\n // 有搜索值为搜索框搜索,必须请求后台数据过滤\n if (nodeData && nodeData._children && !c.state.query) {\n ibiz.log.debug('节点展开加载-本地', nodeData);\n nodes = nodeData._children;\n } else {\n ibiz.log.debug('节点展开加载-远程', nodeData);\n nodes = await c.loadNodes(nodeData);\n }\n // 根节点搜索时,返回树展示数据,并强制刷新\n if (nodes && c.state.rootNodes.includes(nodes[0])) {\n callback(treeData.value);\n c.state.mobExpandedKey = '';\n treeRefreshKey.value = createUUID();\n return;\n }\n callback(toElNodes(nodes));\n };\n\n /**\n * 多选时选中节点变更\n *\n * @param {ITreeNodeData} nodeData\n */\n const onNodeCheck = (event: MouseEvent, opts: IData) => {\n if (c.state.singleSelect) {\n return;\n }\n const { originData } = opts;\n // 选中相关处理\n const { selectedData } = c.state;\n const nodeData = findNodeData(originData._uuid, c)!;\n // 选中里没有则添加,有则删除\n const filterArr = selectedData.filter(\n (item: IData) => item._id !== nodeData._id,\n );\n if (filterArr.length === selectedData.length) {\n c.setSelection(selectedData.concat([nodeData]));\n } else {\n c.setSelection(filterArr);\n }\n };\n\n const onNodeClick = (event: MouseEvent, opts: IData) => {\n event.stopPropagation();\n const { originData } = opts;\n if (!originData._leaf) {\n return;\n }\n onNodeCheck(event, opts);\n c.onTreeNodeClick(originData, event);\n };\n\n // 处理展开节点切换\n const handleExpandedLastKey = (data: IData) => {\n c.state.mobExpandedKey = data._uuid || '';\n };\n\n // 搜索\n const debounceSearch = debounce(async () => {\n if (treeRef.value) {\n // 获取最后展开的节点\n const breadcrumbList =\n treeRef.value?.tree?.tree?.store?.breadcrumb?.list;\n const breadcrumbListLast = breadcrumbList\n ? breadcrumbList[breadcrumbList.length - 1]\n : null;\n if (breadcrumbListLast) {\n breadcrumbListLast.childNodes = [];\n treeRef.value?.tree?.tree?.store?.nodesChange([]);\n breadcrumbListLast.loaded = false;\n breadcrumbListLast.setExpand(true);\n }\n }\n }, 500);\n\n const onInput = async (value: string): Promise<void> => {\n c.state.query = value;\n await c.load();\n };\n\n c.evt.on('onAfterRefreshParent', () => {\n debounceSearch();\n });\n\n c.evt.on('onLoadSuccess', () => {\n c.state.mobExpandedKey = '';\n treeRefreshKey.value = createUUID();\n });\n\n /**\n * 树数据格式化\n *\n * @author zk\n * @date 2023-07-03 11:07:59\n * @param {ITreeNodeData} data\n * @return {*}\n */\n const treeDataFormat = (data: ITreeNodeData) => {\n return {\n id: data._id,\n name: data._text,\n children: data._children,\n isLeaf: data._leaf,\n };\n };\n\n /**\n * 处理单选默认选中样式\n *\n * @author ljx\n * @date 2024-12-12 15:07:59\n * @param {IData} opts\n * @return {*}\n */\n const handleSingleSelect = (opts: IData) => {\n const { originData, loadingEl } = opts;\n if (checkedKeys.value.includes(originData._id) && loadingEl) {\n loadingEl.parentNode.parentNode.classList.add('selected');\n opts.store.selectedCurrent = opts;\n }\n };\n\n const renderContent = (\n h: (tag: string, opt: IData) => VNode,\n opts: IData,\n ) => {\n if (c.state.singleSelect) handleSingleSelect(opts);\n const { originData } = opts;\n if (!originData._leaf) {\n return h('div', {\n text: ibiz.i18n.t('control.tree.subordinate'),\n className: 'tree-button',\n click: (e: Event, _opts: IData) => {\n _opts.store.breadcrumb.list.push(_opts);\n _opts.setExpand(true);\n handleExpandedLastKey(originData);\n },\n });\n }\n };\n\n const customNodeClick = (event: MouseEvent, opts: IData) => {\n const { checked } = opts;\n opts.setChecked(!checked);\n onNodeClick(event, opts);\n };\n\n // vs树配置项\n const options = {\n maxHeight: '100%',\n // 继承父状态\n checkInherit: false,\n // 不能选择父节点\n nocheckParent: true,\n rootName: c.model.detreeNodes?.find(item => item.rootNode)?.name,\n renderContent,\n customNodeClick,\n };\n\n if (breadcrumb.value) {\n Object.assign(options, {\n breadcrumb: {\n el: `#breadcrumb${uuid}`,\n link: (node: IData, data: IData) => {\n const content = document.createElement('span');\n const textDom = document.createElement('span');\n textDom.innerText = data.name;\n if (data.icon instanceof HTMLElement) {\n content.appendChild(data.icon.cloneNode(true));\n }\n content.appendChild(textDom);\n content.className = `${ns.be('header', 'crumb')} ${ns.is(\n 'root',\n data._vsroot,\n )}`;\n content.onclick = () => handleExpandedLastKey.bind(this)(data);\n return content;\n },\n },\n });\n }\n\n onUnmounted(() => {\n // 卸载绘制的图标节点\n vueApps.forEach((vueApp: App) => {\n vueApp.unmount();\n });\n vueApps = [];\n });\n\n return {\n c,\n ns,\n treeRefreshKey,\n treeData,\n options,\n breadcrumb,\n checkedKeys,\n uuid,\n treeRef,\n onNodeCheck,\n onNodeClick,\n loadData,\n treeDataFormat,\n currentVal,\n onInput,\n };\n },\n render() {\n const slots: IData = {\n searchbar: () => {\n if (!this.c.enableQuickSearch) {\n return null;\n }\n return (\n <van-search\n modelValue={this.c.state.query}\n class={this.ns.b('quick-search')}\n clearable={true}\n placeholder={this.c.state.placeHolder}\n onUpdate:model-value={this.onInput}\n ></van-search>\n );\n },\n };\n const key = this.c.controlPanel ? 'tree' : 'default';\n slots[key] = () => {\n return [\n this.breadcrumb && (\n <van-sticky>\n <div\n id={`breadcrumb${this.uuid}`}\n class={[\n this.ns.b('header'),\n this.ns.is('no-root', !this.c.model.rootVisible),\n ]}\n ></div>\n </van-sticky>\n ),\n this.c.state.isCreated && this.c.state.isLoaded && (\n <vs-tree\n show-line\n ref='treeRef'\n key={this.treeRefreshKey}\n class={[this.ns.b('content')]}\n lazy={true}\n strictLeaf={true}\n options={this.options}\n show-checkbox={!this.c.state.singleSelect}\n showIcon={true}\n data={this.treeData}\n highlightCurrent={true}\n checkedKeys={this.checkedKeys}\n format={this.treeDataFormat}\n load={this.loadData}\n onCheck={this.onNodeCheck}\n ></vs-tree>\n ),\n ];\n };\n return <iBizControlBase controller={this.c}>{slots}</iBizControlBase>;\n },\n});\n\nexport default TreeControl;\n"],"names":["_isSlot","s","_isVNode","TreeControl","defineComponent","components","VsTreeComponent","props","type","required","Object","default","setup","c","_a","_b","useControlController","args","TreeController","checkedKeys","useNamespace","computed","item","vueApps","ref","treeRefreshKey","createUUID","treeRef","uuid","iop","vueH","IBizIcon","customProps","vueApp","createApp","dom","toElNodes","nodes","createIconNode","node","mount","push","iconDom","map","result","nodeData","icon","findNodeData","key","controller","find","loadData","callback","treeData","state","onNodeCheck","event","opts","originData","selectedData","filterArr","onNodeClick","debug","loadNodes","handleExpandedLastKey","data","rootNodes","mobExpandedKey","value","_e","_i","breadcrumbList","_d","_c","_b2","_a2","breadcrumbListLast","_h","_g","_f","debounceSearch","treeDataFormat","setSelection","stopPropagation","_leaf","loadingEl","renderContent","h","handleSingleSelect","e","_opts","tree","customNodeClick","onInput","checked","on","evt","breadcrumb","options","content","textDom","ns","onUnmounted","className","click","setExpand","_createVNode","_resolveComponent","slots","maxHeight","checkInherit","nocheckParent","rootName","assign","link","innerText","appendChild","exports"],"mappings":"6iBA0BqB,SAAAA,EAAAC,EAAA,CAAA,OAAA,OAAAA,GAAA,YAAA,OAAA,UAAA,SAAA,KAAAA,CAAA,IAAA,mBAAA,CAAAC,EAAAD,CAAA,CAErB,CACyB,MAAAE,EAAAC,EAAA,CACvBC,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,QAAE,IAAA,CAAAA,CAAA,CACJ,CAAA,CAEAN,CACE,CAAA,EAAAe,EAAA,CAAA,YAAAlH,EAAA,QAAAA,CAAA,CAAA"}
@@ -1,3 +1,3 @@
1
- var lodash_clonedeep = {exports: {}};
1
+ var lodash_isequal = {exports: {}};
2
2
 
3
- export { lodash_clonedeep as __module };
3
+ export { lodash_isequal as __module };
@@ -1,3 +1,3 @@
1
- var lodash_isequal = {exports: {}};
1
+ var lodash_clonedeep = {exports: {}};
2
2
 
3
- export { lodash_isequal as __module };
3
+ export { lodash_clonedeep as __module };
@@ -1,4 +1,5 @@
1
1
  import { PropType } from 'vue';
2
+ import { JSX } from 'vue/jsx-runtime';
2
3
  import { IPanelButtonList, IDEFormButtonList } from '@ibiz/model-core';
3
4
  import { IButtonContainerState } from '@ibiz-template/runtime';
4
5
  import './button-list.scss';
@@ -23,7 +23,7 @@ export declare const IBizCarousel: import("vue").DefineComponent<{
23
23
  type: PropType<(ISysImage | IIcon)[]>;
24
24
  };
25
25
  attrs: {
26
- type: PropType<IData>;
26
+ type: PropType<import("@ibiz-template/core").IApiData>;
27
27
  required: false;
28
28
  };
29
29
  }, {
@@ -49,7 +49,7 @@ export declare const IBizCarousel: import("vue").DefineComponent<{
49
49
  type: PropType<(ISysImage | IIcon)[]>;
50
50
  };
51
51
  attrs: {
52
- type: PropType<IData>;
52
+ type: PropType<import("@ibiz-template/core").IApiData>;
53
53
  required: false;
54
54
  };
55
55
  }>>, {
@@ -2,7 +2,7 @@ import { PropType, Ref } from 'vue';
2
2
  import './cropping.scss';
3
3
  export declare const IBizCropping: import("vue").DefineComponent<{
4
4
  img: {
5
- type: PropType<IData>;
5
+ type: PropType<import("@ibiz-template/core").IApiData>;
6
6
  };
7
7
  url: {
8
8
  type: StringConstructor;
@@ -19,7 +19,7 @@ export declare const IBizCropping: import("vue").DefineComponent<{
19
19
  ns: import("@ibiz-template/core").Namespace;
20
20
  cropImgUrl: import("vue").ComputedRef<string>;
21
21
  scaleNumber: Ref<number>;
22
- style: import("vue").ComputedRef<IData>;
22
+ style: import("vue").ComputedRef<import("@ibiz-template/core").IApiData>;
23
23
  uuid: string;
24
24
  imgRef: Ref<any>;
25
25
  cropContainerRef: Ref<any>;
@@ -30,10 +30,10 @@ export declare const IBizCropping: import("vue").DefineComponent<{
30
30
  onTouchStart: (event: TouchEvent) => void;
31
31
  onTouchMove: (event: TouchEvent) => void;
32
32
  onTouchEnd: (_event: TouchEvent) => void;
33
- imgMovePosition: Ref<IData>;
33
+ imgMovePosition: Ref<import("@ibiz-template/core").IApiData>;
34
34
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
35
  img: {
36
- type: PropType<IData>;
36
+ type: PropType<import("@ibiz-template/core").IApiData>;
37
37
  };
38
38
  url: {
39
39
  type: StringConstructor;
@@ -48,7 +48,7 @@ export declare const RangePicker: import("vue").DefineComponent<{
48
48
  onfocus: (tag: 'START' | 'END') => void;
49
49
  onBlur: (tag: 'START' | 'END') => void;
50
50
  onClick: (tag: 'START' | 'END') => void;
51
- renderErrorInfo: (tag: 'START' | 'END') => JSX.Element;
51
+ renderErrorInfo: (tag: 'START' | 'END') => import("vue/jsx-runtime").JSX.Element;
52
52
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
53
  value: {
54
54
  type: {
@@ -41,7 +41,7 @@ export declare const IBizDateRangeCalendar: import("vue").DefineComponent<{
41
41
  minDate: Date;
42
42
  allowSave: Ref<boolean>;
43
43
  isEditable: Ref<boolean>;
44
- formatter: (day: IData) => IData;
44
+ formatter: (day: IData) => import("@ibiz-template/core").IApiData;
45
45
  onCancel: () => void;
46
46
  calcDefaultSelect: import("vue").ComputedRef<Date | Date[] | null>;
47
47
  onSave: () => void;
@@ -51,8 +51,8 @@ export declare const IBizDateRangeCalendar: import("vue").DefineComponent<{
51
51
  formatEndDate: () => string;
52
52
  switchEdit: () => void;
53
53
  onClear: () => void;
54
- renderCalendarInput: () => JSX.Element;
55
- renderSelectRange: () => JSX.Element;
54
+ renderCalendarInput: () => import("vue/jsx-runtime").JSX.Element;
55
+ renderSelectRange: () => import("vue/jsx-runtime").JSX.Element;
56
56
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "save")[], "cancel" | "save", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
57
  type: {
58
58
  type: PropType<"range" | "single">;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import './categories.scss';
3
3
  export declare const Categories: import("vue").DefineComponent<{
4
4
  categories: {
5
- type: PropType<IData[]>;
5
+ type: PropType<import("@ibiz-template/core").IApiData[]>;
6
6
  required: true;
7
7
  default: () => never[];
8
8
  };
@@ -15,7 +15,7 @@ export declare const Categories: import("vue").DefineComponent<{
15
15
  onSelect: (category: IData) => void;
16
16
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  categories: {
18
- type: PropType<IData[]>;
18
+ type: PropType<import("@ibiz-template/core").IApiData[]>;
19
19
  required: true;
20
20
  default: () => never[];
21
21
  };
@@ -26,5 +26,5 @@ export declare const Categories: import("vue").DefineComponent<{
26
26
  }>> & {
27
27
  onSelect?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
- categories: IData[];
29
+ categories: import("@ibiz-template/core").IApiData[];
30
30
  }, {}>;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import './emoji-item.scss';
3
3
  export declare const EmojiItem: import("vue").DefineComponent<{
4
4
  emoji: {
5
- type: PropType<IData>;
5
+ type: PropType<import("@ibiz-template/core").IApiData>;
6
6
  required: true;
7
7
  default: () => void;
8
8
  };
@@ -25,7 +25,7 @@ export declare const EmojiItem: import("vue").DefineComponent<{
25
25
  onClick: () => void;
26
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  emoji: {
28
- type: PropType<IData>;
28
+ type: PropType<import("@ibiz-template/core").IApiData>;
29
29
  required: true;
30
30
  default: () => void;
31
31
  };
@@ -40,5 +40,5 @@ export declare const EmojiItem: import("vue").DefineComponent<{
40
40
  }>> & {
41
41
  onClick?: ((...args: any[]) => any) | undefined;
42
42
  }, {
43
- emoji: IData;
43
+ emoji: import("@ibiz-template/core").IApiData;
44
44
  }, {}>;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import './emoji-list.scss';
3
3
  export declare const EmojiList: import("vue").DefineComponent<{
4
4
  data: {
5
- type: PropType<IData>;
5
+ type: PropType<import("@ibiz-template/core").IApiData>;
6
6
  required: true;
7
7
  };
8
8
  emojisByRow: {
@@ -27,7 +27,7 @@ export declare const EmojiList: import("vue").DefineComponent<{
27
27
  default: string;
28
28
  };
29
29
  categories: {
30
- type: PropType<IData>;
30
+ type: PropType<import("@ibiz-template/core").IApiData>;
31
31
  required: true;
32
32
  default: () => void;
33
33
  };
@@ -36,18 +36,18 @@ export declare const EmojiList: import("vue").DefineComponent<{
36
36
  };
37
37
  }, {
38
38
  ns: import("@ibiz-template/core").Namespace;
39
- emojisRef: import("vue").Ref<IData>;
39
+ emojisRef: import("vue").Ref<import("@ibiz-template/core").IApiData>;
40
40
  gridDynamic: import("vue").ComputedRef<{
41
41
  gridTemplateColumns: string;
42
42
  }>;
43
43
  dataFiltered: import("vue").ComputedRef<any>;
44
- dataFilteredByCategory: import("vue").ComputedRef<IData>;
44
+ dataFilteredByCategory: import("vue").ComputedRef<import("@ibiz-template/core").IApiData>;
45
45
  onSelect: (emoji: IData) => void;
46
46
  setCategoryRef: (categoryName: string, el: Element) => void;
47
- renderGridEmojis: (params: IData) => "" | JSX.Element;
47
+ renderGridEmojis: (params: IData) => "" | import("vue/jsx-runtime").JSX.Element;
48
48
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "data")[], "select" | "data", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
49
  data: {
50
- type: PropType<IData>;
50
+ type: PropType<import("@ibiz-template/core").IApiData>;
51
51
  required: true;
52
52
  };
53
53
  emojisByRow: {
@@ -72,7 +72,7 @@ export declare const EmojiList: import("vue").DefineComponent<{
72
72
  default: string;
73
73
  };
74
74
  categories: {
75
- type: PropType<IData>;
75
+ type: PropType<import("@ibiz-template/core").IApiData>;
76
76
  required: true;
77
77
  default: () => void;
78
78
  };
@@ -84,7 +84,7 @@ export declare const EmojiList: import("vue").DefineComponent<{
84
84
  onData?: ((...args: any[]) => any) | undefined;
85
85
  }, {
86
86
  filter: string;
87
- categories: IData;
87
+ categories: import("@ibiz-template/core").IApiData;
88
88
  category: string;
89
89
  emojiWithBorder: boolean;
90
90
  continuousList: boolean;
@@ -58,11 +58,11 @@ export declare const IBizEmojiSelect: import("vue").DefineComponent<{
58
58
  };
59
59
  }, {
60
60
  ns: import("@ibiz-template/core").Namespace;
61
- mapEmojis: import("vue").Ref<IData>;
61
+ mapEmojis: import("vue").Ref<import("@ibiz-template/core").IApiData>;
62
62
  filterEmoji: import("vue").Ref<string>;
63
- mapCategories: import("vue").Ref<IData>;
63
+ mapCategories: import("vue").Ref<import("@ibiz-template/core").IApiData>;
64
64
  currentCategory: import("vue").Ref<string>;
65
- categoriesFiltered: import("vue").ComputedRef<IData[]>;
65
+ categoriesFiltered: import("vue").ComputedRef<import("@ibiz-template/core").IApiData[]>;
66
66
  onSearch: (term: string) => Promise<void>;
67
67
  onSelectEmoji: (emoji: IData) => Promise<void>;
68
68
  changeCategory: (category: IData) => Promise<void>;
@@ -1 +1,2 @@
1
+ import { JSX } from 'vue/jsx-runtime';
1
2
  export declare const SearchSvg: () => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { IBizViewShell, IBizIcon, IBizControlBase, IBizRouterView, IBizControlShell, IBizCodeList, IBizBadge } from '@ibiz-template/vue3-util';
1
+ import { IBizViewShell, IBizIcon, IBizControlBase, IBizRouterView, IBizControlShell, IBizCodeList, IBizBadge, IBizSignaturePad } from '@ibiz-template/vue3-util';
2
2
  import { IBizActionToolbar } from './action-toolbar/action-toolbar.mjs';
3
3
  import { IBizCarousel } from './carousel/carousel.mjs';
4
4
  import { IBizCol } from './col/col.mjs';
@@ -43,6 +43,7 @@ const IBizCommonComponents = {
43
43
  v.component(IBizMdCtrlSetting.name, IBizMdCtrlSetting);
44
44
  v.component(IBizPreviewImage.name, IBizPreviewImage);
45
45
  v.component(IBizCropping.name, IBizCropping);
46
+ v.component(IBizSignaturePad.name, IBizSignaturePad);
46
47
  }
47
48
  };
48
49
 
@@ -17,9 +17,9 @@ export declare const IBizMdCtrlSetting: import("vue").DefineComponent<{
17
17
  };
18
18
  }, {
19
19
  ns: import("@ibiz-template/core").Namespace;
20
- renderSetting: () => JSX.Element;
21
- renderPopup: () => JSX.Element;
22
- renderContent: () => JSX.Element;
20
+ renderSetting: () => import("vue/jsx-runtime").JSX.Element;
21
+ renderPopup: () => import("vue/jsx-runtime").JSX.Element;
22
+ renderContent: () => import("vue/jsx-runtime").JSX.Element;
23
23
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sortChange"[], "sortChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  listItems: {
25
25
  type: PropType<IListItem[]>;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import './preset-view-back.scss';
3
3
  export declare const IBizPresetViewBack: import("vue").DefineComponent<{
4
4
  view: {
5
- type: PropType<IData>;
5
+ type: PropType<import("@ibiz-template/core").IApiData>;
6
6
  required: true;
7
7
  };
8
8
  }, {
@@ -11,7 +11,7 @@ export declare const IBizPresetViewBack: import("vue").DefineComponent<{
11
11
  goBack: () => void;
12
12
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  view: {
14
- type: PropType<IData>;
14
+ type: PropType<import("@ibiz-template/core").IApiData>;
15
15
  required: true;
16
16
  };
17
17
  }>>, {}, {}>;
@@ -11,7 +11,7 @@ export declare const IBizPresetViewHeader: import("vue").DefineComponent<{
11
11
  ns2: import("@ibiz-template/core").Namespace;
12
12
  view: import("@ibiz-template/runtime").IViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
13
13
  captionBar: ICaptionBar | undefined;
14
- context: IContext;
14
+ context: import("@ibiz-template/core").IApiContext;
15
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  modelData: {
17
17
  type: PropType<IPanelContainer>;
@@ -15,7 +15,7 @@ export declare const IBizRawItem: import("vue").DefineComponent<{
15
15
  };
16
16
  }, {
17
17
  ns: import("@ibiz-template/core").Namespace;
18
- rawItemText: Ref<string | number | IData>;
18
+ rawItemText: Ref<string | number | import("@ibiz-template/core").IApiData>;
19
19
  playerParams: Ref<{
20
20
  id: string;
21
21
  path: string;
@@ -37,7 +37,7 @@ export declare const IBizRawItem: import("vue").DefineComponent<{
37
37
  'left-icon': string;
38
38
  }>;
39
39
  rawItemType: Ref<string>;
40
- rawItemContent: Ref<string | number | IData>;
40
+ rawItemContent: Ref<string | number | import("@ibiz-template/core").IApiData>;
41
41
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
42
  type: {
43
43
  type: StringConstructor;
@@ -3,18 +3,31 @@ import { IAppMenu } from '@ibiz/model-core';
3
3
  import { AppMenuController, IControlProvider } from '@ibiz-template/runtime';
4
4
  import './app-menu.scss';
5
5
  export declare const AppMenuControl: import("vue").DefineComponent<{
6
+ /**
7
+ * @description 菜单模型数据
8
+ */
6
9
  modelData: {
7
10
  type: PropType<IAppMenu>;
8
11
  required: true;
9
12
  };
13
+ /**
14
+ * @description 应用上下文对象
15
+ */
10
16
  context: {
11
- type: PropType<IContext>;
17
+ type: PropType<import("@ibiz-template/core").IApiContext>;
12
18
  required: true;
13
19
  };
20
+ /**
21
+ * @description 视图参数对象
22
+ * @default {}
23
+ */
14
24
  params: {
15
- type: PropType<IParams>;
25
+ type: PropType<import("@ibiz-template/core").IApiParams>;
16
26
  default: () => {};
17
27
  };
28
+ /**
29
+ * @description 部件适配器
30
+ */
18
31
  provider: {
19
32
  type: PropType<IControlProvider>;
20
33
  };
@@ -27,21 +40,34 @@ export declare const AppMenuControl: import("vue").DefineComponent<{
27
40
  onTabChange: (active: string, event?: MouseEvent, opts?: IData) => Promise<void>;
28
41
  setPopupState: (state: boolean) => void;
29
42
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ /**
44
+ * @description 菜单模型数据
45
+ */
30
46
  modelData: {
31
47
  type: PropType<IAppMenu>;
32
48
  required: true;
33
49
  };
50
+ /**
51
+ * @description 应用上下文对象
52
+ */
34
53
  context: {
35
- type: PropType<IContext>;
54
+ type: PropType<import("@ibiz-template/core").IApiContext>;
36
55
  required: true;
37
56
  };
57
+ /**
58
+ * @description 视图参数对象
59
+ * @default {}
60
+ */
38
61
  params: {
39
- type: PropType<IParams>;
62
+ type: PropType<import("@ibiz-template/core").IApiParams>;
40
63
  default: () => {};
41
64
  };
65
+ /**
66
+ * @description 部件适配器
67
+ */
42
68
  provider: {
43
69
  type: PropType<IControlProvider>;
44
70
  };
45
71
  }>>, {
46
- params: IParams;
72
+ params: import("@ibiz-template/core").IApiParams;
47
73
  }, {}>;
@@ -9,18 +9,31 @@ import './app-menu.css';
9
9
  const AppMenuControl = /* @__PURE__ */ defineComponent({
10
10
  name: "IBizAppMenuControl",
11
11
  props: {
12
+ /**
13
+ * @description 菜单模型数据
14
+ */
12
15
  modelData: {
13
16
  type: Object,
14
17
  required: true
15
18
  },
19
+ /**
20
+ * @description 应用上下文对象
21
+ */
16
22
  context: {
17
23
  type: Object,
18
24
  required: true
19
25
  },
26
+ /**
27
+ * @description 视图参数对象
28
+ * @default {}
29
+ */
20
30
  params: {
21
31
  type: Object,
22
32
  default: () => ({})
23
33
  },
34
+ /**
35
+ * @description 部件适配器
36
+ */
24
37
  provider: {
25
38
  type: Object
26
39
  }
@@ -22,7 +22,7 @@ export declare const MenuDesign: import("vue").DefineComponent<{
22
22
  ns: import("@ibiz-template/core").Namespace;
23
23
  onSave: () => Promise<void>;
24
24
  onClose: () => void;
25
- renderMenuList: (type: 'nav' | 'more') => JSX.Element;
25
+ renderMenuList: (type: 'nav' | 'more') => import("vue/jsx-runtime").JSX.Element;
26
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  controller: {
28
28
  type: PropType<AppMenuController>;
@@ -5,11 +5,11 @@ export declare const IBizAppMenuControl: import("@ibiz-template/vue3-util").Type
5
5
  required: true;
6
6
  };
7
7
  context: {
8
- type: import("vue").PropType<IContext>;
8
+ type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
9
9
  required: true;
10
10
  };
11
11
  params: {
12
- type: import("vue").PropType<IParams>;
12
+ type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
13
13
  default: () => {};
14
14
  };
15
15
  provider: {
@@ -21,7 +21,7 @@ export declare const IBizAppMenuControl: import("@ibiz-template/vue3-util").Type
21
21
  showPopup: import("vue").Ref<boolean>;
22
22
  activeName: import("vue").Ref<any>;
23
23
  controlClass: string[];
24
- onTabChange: (active: string, event?: MouseEvent | undefined, opts?: IData) => Promise<void>;
24
+ onTabChange: (active: string, event?: MouseEvent | undefined, opts?: import("@ibiz-template/core").IApiData) => Promise<void>;
25
25
  setPopupState: (state: boolean) => void;
26
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelData: {
@@ -29,17 +29,17 @@ export declare const IBizAppMenuControl: import("@ibiz-template/vue3-util").Type
29
29
  required: true;
30
30
  };
31
31
  context: {
32
- type: import("vue").PropType<IContext>;
32
+ type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
33
33
  required: true;
34
34
  };
35
35
  params: {
36
- type: import("vue").PropType<IParams>;
36
+ type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
37
37
  default: () => {};
38
38
  };
39
39
  provider: {
40
40
  type: import("vue").PropType<import("@ibiz-template/runtime").IControlProvider>;
41
41
  };
42
42
  }>>, {
43
- params: IParams;
43
+ params: import("@ibiz-template/core").IApiParams;
44
44
  }, {}>>;
45
45
  export default IBizAppMenuControl;
@@ -8,11 +8,11 @@ export declare const AppMenuIconViewControl: import("vue").DefineComponent<{
8
8
  required: true;
9
9
  };
10
10
  context: {
11
- type: PropType<IContext>;
11
+ type: PropType<import("@ibiz-template/core").IApiContext>;
12
12
  required: true;
13
13
  };
14
14
  params: {
15
- type: PropType<IParams>;
15
+ type: PropType<import("@ibiz-template/core").IApiParams>;
16
16
  default: () => {};
17
17
  };
18
18
  provider: {
@@ -29,16 +29,16 @@ export declare const AppMenuIconViewControl: import("vue").DefineComponent<{
29
29
  required: true;
30
30
  };
31
31
  context: {
32
- type: PropType<IContext>;
32
+ type: PropType<import("@ibiz-template/core").IApiContext>;
33
33
  required: true;
34
34
  };
35
35
  params: {
36
- type: PropType<IParams>;
36
+ type: PropType<import("@ibiz-template/core").IApiParams>;
37
37
  default: () => {};
38
38
  };
39
39
  provider: {
40
40
  type: PropType<IControlProvider>;
41
41
  };
42
42
  }>>, {
43
- params: IParams;
43
+ params: import("@ibiz-template/core").IApiParams;
44
44
  }, {}>;