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

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 (270) 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-komJV5bQ.js +76 -0
  4. package/dist/index-komJV5bQ.js.map +1 -0
  5. package/dist/index.min.css +3 -3
  6. package/dist/index.system.min.js +1 -1
  7. package/dist/{quill-t_EJUjVi.js → quill-O7hIDmrl.js} +2 -2
  8. package/dist/{quill-t_EJUjVi.js.map → quill-O7hIDmrl.js.map} +1 -1
  9. package/dist/{quill-editor-ybZrwyoG.js → quill-editor-BMC0diFC.js} +2 -2
  10. package/dist/quill-editor-BMC0diFC.js.map +1 -0
  11. package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-Dui7L0ne.js} +2 -2
  12. package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-Dui7L0ne.js.map} +1 -1
  13. package/dist/tree-nburezSg.js.map +1 -1
  14. package/es/_virtual/index12.mjs +2 -2
  15. package/es/_virtual/index13.mjs +2 -2
  16. package/es/common/carousel/carousel.d.ts +2 -2
  17. package/es/common/cropping/cropping.d.ts +4 -4
  18. package/es/common/date-range-picker/date-range-picker.d.ts +1 -1
  19. package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
  20. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
  21. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
  22. package/es/common/emoji-select/emoji-select.d.ts +3 -3
  23. package/es/common/preset-view-back/preset-view-back.d.ts +2 -2
  24. package/es/common/preset-view-header/preset-view-header.d.ts +1 -1
  25. package/es/common/rawitem/rawitem.d.ts +2 -2
  26. package/es/control/app-menu/app-menu.d.ts +31 -5
  27. package/es/control/app-menu/app-menu.mjs +13 -0
  28. package/es/control/app-menu/index.d.ts +6 -6
  29. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
  30. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  31. package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
  32. package/es/control/app-menu-list-view/index.d.ts +5 -5
  33. package/es/control/calendar/calendar.d.ts +46 -6
  34. package/es/control/calendar/calendar.mjs +20 -0
  35. package/es/control/calendar/index.d.ts +7 -7
  36. package/es/control/caption-bar/caption-bar.d.ts +31 -5
  37. package/es/control/caption-bar/caption-bar.mjs +13 -0
  38. package/es/control/caption-bar/index.d.ts +5 -5
  39. package/es/control/chart/chart.d.ts +45 -5
  40. package/es/control/chart/chart.mjs +20 -0
  41. package/es/control/dashboard/dashboard.d.ts +32 -6
  42. package/es/control/dashboard/dashboard.mjs +13 -0
  43. package/es/control/dashboard/index.d.ts +6 -6
  44. package/es/control/data-view/data-view.d.ts +47 -5
  45. package/es/control/data-view/data-view.mjs +21 -0
  46. package/es/control/data-view/index.d.ts +5 -5
  47. package/es/control/drbar/drbar.d.ts +43 -14
  48. package/es/control/drbar/drbar.mjs +19 -4
  49. package/es/control/drbar/index.d.ts +5 -14
  50. package/es/control/drtab/drtab.d.ts +31 -5
  51. package/es/control/drtab/drtab.mjs +13 -0
  52. package/es/control/drtab/index.d.ts +5 -5
  53. package/es/control/form/edit-form/edit-form.mjs +23 -0
  54. package/es/control/form/form/form.d.ts +7 -1
  55. package/es/control/form/form/form.mjs +3 -0
  56. package/es/control/form/form/index.d.ts +1 -1
  57. package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
  58. package/es/control/form/form-detail/form-item/index.d.ts +2 -2
  59. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  60. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
  61. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
  62. package/es/control/form/search-form/index.d.ts +5 -5
  63. package/es/control/form/search-form/search-form.d.ts +31 -5
  64. package/es/control/form/search-form/search-form.mjs +13 -0
  65. package/es/control/list/list/index.d.ts +5 -5
  66. package/es/control/list/list/list.d.ts +79 -5
  67. package/es/control/list/list/list.mjs +37 -0
  68. package/es/control/list/md-ctrl/index.d.ts +7 -7
  69. package/es/control/list/md-ctrl/md-ctrl.d.ts +69 -7
  70. package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
  71. package/es/control/pickup-view-panel/index.d.ts +7 -7
  72. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
  73. package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
  74. package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
  75. package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
  76. package/es/control/search-bar/index.d.ts +5 -5
  77. package/es/control/search-bar/search-bar.d.ts +31 -5
  78. package/es/control/search-bar/search-bar.mjs +13 -0
  79. package/es/control/tab-exp-panel/index.d.ts +5 -5
  80. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
  81. package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
  82. package/es/control/toolbar/index.d.ts +5 -5
  83. package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +6 -6
  84. package/es/control/toolbar/toolbar.d.ts +31 -5
  85. package/es/control/toolbar/toolbar.mjs +13 -0
  86. package/es/control/tree/tree.d.ts +48 -6
  87. package/es/control/tree/tree.mjs +21 -0
  88. package/es/control/tree-exp-bar/index.d.ts +5 -5
  89. package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
  90. package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
  91. package/es/control/wizard-panel/index.d.ts +5 -5
  92. package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
  93. package/es/control/wizard-panel/wizard-panel.mjs +13 -0
  94. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
  95. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
  96. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
  97. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
  98. package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
  99. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +17 -10
  100. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +16 -9
  101. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
  102. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
  103. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +20 -8
  104. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +18 -11
  105. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
  106. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +15 -8
  107. package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
  108. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
  109. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +22 -8
  110. package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
  111. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
  112. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
  113. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
  114. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
  115. package/es/editor/span/span/span.d.ts +15 -3
  116. package/es/editor/span/span-link/span-link.d.ts +16 -8
  117. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
  118. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
  119. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
  120. package/es/editor/text-box/input/input.d.ts +16 -8
  121. package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
  122. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
  123. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
  124. package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
  125. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
  126. package/es/locale/en/index.d.ts +20 -0
  127. package/es/locale/zh-CN/index.d.ts +20 -0
  128. package/es/mob-app/App.mjs +2 -1
  129. package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
  130. package/es/mob-app/guard/auth-guard/auth-guard.mjs +46 -53
  131. package/es/mob-app/main.mjs +1 -0
  132. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
  133. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
  134. package/es/panel-component/async-action/index.d.ts +2 -2
  135. package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
  136. package/es/panel-component/auth-sso/auth-sso.d.ts +18 -0
  137. package/es/panel-component/auth-sso/auth-sso.mjs +6 -0
  138. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
  139. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
  140. package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
  141. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
  142. package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
  143. package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
  144. package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
  145. package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
  146. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
  147. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
  148. package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
  149. package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
  150. package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
  151. package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
  152. package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
  153. package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
  154. package/es/panel-component/panel-button/panel-button.d.ts +17 -0
  155. package/es/panel-component/panel-button/panel-button.mjs +6 -0
  156. package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
  157. package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
  158. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
  159. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
  160. package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
  161. package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
  162. package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
  163. package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
  164. package/es/panel-component/panel-carousel/index.d.ts +2 -2
  165. package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
  166. package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
  167. package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
  168. package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
  169. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
  170. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
  171. package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
  172. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
  173. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
  174. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
  175. package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
  176. package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
  177. package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
  178. package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
  179. package/es/panel-component/user-message/index.d.ts +2 -2
  180. package/es/panel-component/user-message/user-message.d.ts +7 -2
  181. package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
  182. package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
  183. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
  184. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
  185. package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +17 -0
  186. package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +6 -0
  187. package/es/panel-component/wf-action-button/index.d.ts +1 -1
  188. package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
  189. package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
  190. package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
  191. package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
  192. package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
  193. package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
  194. package/es/panel-component/wf-step-trace/index.d.ts +1 -1
  195. package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
  196. package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
  197. package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
  198. package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
  199. package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
  200. package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
  201. package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
  202. package/es/util/app-modal/app-modal-component.d.ts +2 -2
  203. package/es/util/app-util/app-util.d.ts +7 -0
  204. package/es/util/app-util/app-util.mjs +11 -0
  205. package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
  206. package/es/view/login-view/login-view.d.ts +1 -1
  207. package/es/view/portal-view/index.d.ts +7 -7
  208. package/es/view/portal-view/portal-view.d.ts +7 -7
  209. package/lib/_virtual/index12.cjs +2 -2
  210. package/lib/_virtual/index13.cjs +2 -2
  211. package/lib/control/app-menu/app-menu.cjs +13 -0
  212. package/lib/control/calendar/calendar.cjs +20 -0
  213. package/lib/control/caption-bar/caption-bar.cjs +13 -0
  214. package/lib/control/chart/chart.cjs +20 -0
  215. package/lib/control/dashboard/dashboard.cjs +13 -0
  216. package/lib/control/data-view/data-view.cjs +21 -0
  217. package/lib/control/drbar/drbar.cjs +19 -4
  218. package/lib/control/drtab/drtab.cjs +13 -0
  219. package/lib/control/form/edit-form/edit-form.cjs +23 -0
  220. package/lib/control/form/form/form.cjs +3 -0
  221. package/lib/control/form/search-form/search-form.cjs +13 -0
  222. package/lib/control/list/list/list.cjs +37 -0
  223. package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
  224. package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
  225. package/lib/control/search-bar/search-bar.cjs +13 -0
  226. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
  227. package/lib/control/toolbar/toolbar.cjs +13 -0
  228. package/lib/control/tree/tree.cjs +21 -0
  229. package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
  230. package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
  231. package/lib/mob-app/App.cjs +1 -0
  232. package/lib/mob-app/guard/auth-guard/auth-guard.cjs +46 -53
  233. package/lib/mob-app/main.cjs +1 -0
  234. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
  235. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
  236. package/lib/panel-component/auth-sso/auth-sso.cjs +6 -0
  237. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
  238. package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
  239. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
  240. package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
  241. package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
  242. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
  243. package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
  244. package/lib/panel-component/panel-button/panel-button.cjs +6 -0
  245. package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
  246. package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
  247. package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
  248. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
  249. package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
  250. package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
  251. package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
  252. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
  253. package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
  254. package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
  255. package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
  256. package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
  257. package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
  258. package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
  259. package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +6 -0
  260. package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
  261. package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
  262. package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
  263. package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
  264. package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
  265. package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
  266. package/lib/util/app-util/app-util.cjs +11 -0
  267. package/package.json +7 -7
  268. package/dist/index-TfgOIExu.js +0 -76
  269. package/dist/index-TfgOIExu.js.map +0 -1
  270. package/dist/quill-editor-ybZrwyoG.js.map +0 -1
@@ -1,10 +1,24 @@
1
1
  import { Ref } from 'vue';
2
2
  import './ibiz-image-cropping.scss';
3
3
  import { UploadEditorController } from '../upload-editor.controller';
4
+ /**
5
+ * 图片裁剪上传(扩展)
6
+ * @primary
7
+ * @description 使用van-uploader组件和van-popup组件,用于对指定的图片进行裁剪,并根据裁剪内容生成新的图片后将其进行上传。基于`移动端图片控件(单项)`编辑器扩展,编辑器样式代码名称为:CROPPING
8
+ * @editorparams {name:multiple,parameterType:boolean,description:是否支持多选文件}
9
+ * @editorparams {name:accept,parameterType:string,description:允许上传的文件类型}
10
+ * @editorparams {name:STOPPROPAGATION,parameterType:boolean,description:是否阻止默认点击}
11
+ * @editorparams {name:cropWidth,parameterType:number,description:裁剪宽度}
12
+ * @editorparams {name:cropHeight,parameterType:number,description:裁剪高度}
13
+ * @editorparams {name:uploadParams,parameterType:IData,description:上传参数}
14
+ * @editorparams {name:exportParams,parameterType:IData,description:下载参数}
15
+ * @ignoreprops autoFocus | overflowMode
16
+ * @ignoreemits blur | focus | enter | infoTextChange
17
+ */
4
18
  export declare const IBizImageCropping: import("vue").DefineComponent<{
5
19
  value: StringConstructor;
6
20
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
7
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
21
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
8
22
  disabled: {
9
23
  type: BooleanConstructor;
10
24
  };
@@ -32,30 +46,30 @@ export declare const IBizImageCropping: import("vue").DefineComponent<{
32
46
  url?: string | undefined;
33
47
  }[]>;
34
48
  limit: import("vue").ComputedRef<1 | 9999>;
35
- headers: Ref<IData>;
49
+ headers: Ref<import("@ibiz-template/core").IApiData>;
36
50
  uploadUrl: Ref<string>;
37
51
  result: boolean;
38
52
  beforeUpload: () => void;
39
- onRemove: (file: IData) => void;
53
+ onRemove: (file: import("@ibiz-template/core").IApiData) => void;
40
54
  onPreview: (_file: IData) => void;
41
55
  cropReadedFile: (file: IData) => void;
42
- onDownload: (file: IData) => void;
56
+ onDownload: (file: import("@ibiz-template/core").IApiData) => void;
43
57
  onClick: (file: IData, event: MouseEvent) => void;
44
58
  show: Ref<boolean>;
45
- tempFile: Ref<IData | undefined>;
59
+ tempFile: Ref<import("@ibiz-template/core").IApiData | undefined>;
46
60
  cropImgUrl: import("vue").ComputedRef<any>;
47
- cropRect: IData;
61
+ cropRect: import("@ibiz-template/core").IApiData;
48
62
  cropChange: (url: string) => void;
49
63
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
64
  change: (_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => boolean;
51
- blur: (_event?: IData | undefined) => boolean;
52
- focus: (_event?: IData | undefined) => boolean;
53
- enter: (_event?: IData | undefined) => boolean;
65
+ blur: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
66
+ focus: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
67
+ enter: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
54
68
  infoTextChange: (_text: string) => boolean;
55
69
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
70
  value: StringConstructor;
57
71
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
58
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
72
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
59
73
  disabled: {
60
74
  type: BooleanConstructor;
61
75
  };
@@ -75,11 +89,11 @@ export declare const IBizImageCropping: import("vue").DefineComponent<{
75
89
  required: boolean;
76
90
  };
77
91
  }>> & {
78
- onFocus?: ((_event?: IData | undefined) => any) | undefined;
79
- onBlur?: ((_event?: IData | undefined) => any) | undefined;
92
+ onFocus?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
93
+ onBlur?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
80
94
  onChange?: ((_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => any) | undefined;
81
95
  onInfoTextChange?: ((_text: string) => any) | undefined;
82
- onEnter?: ((_event?: IData | undefined) => any) | undefined;
96
+ onEnter?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
83
97
  }, {
84
98
  disabled: boolean;
85
99
  readonly: boolean;
@@ -1,9 +1,19 @@
1
1
  import './ibiz-image-select.scss';
2
2
  import { UploadEditorController } from '../upload-editor.controller';
3
+ /**
4
+ * 移动端图片控件(单项、直接内容)
5
+ * @primary
6
+ * @description 使用van-uploader组件,用于选择图片并可以进行预览。支持编辑器类型包含:`移动端图片控件(单项、直接内容)`
7
+ * @editorparams {name:STOPPROPAGATION,parameterType:boolean,description:是否阻止默认点击}
8
+ * @editorparams {name:uploadParams,parameterType:IData,description:上传参数}
9
+ * @editorparams {name:exportParams,parameterType:IData,description:下载参数}
10
+ * @ignoreprops autoFocus | overflowMode
11
+ * @ignoreemits blur | focus | enter | infoTextChange
12
+ */
3
13
  export declare const IBizImageSelect: import("vue").DefineComponent<{
4
14
  value: StringConstructor;
5
15
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
6
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
16
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
7
17
  disabled: {
8
18
  type: BooleanConstructor;
9
19
  };
@@ -36,14 +46,14 @@ export declare const IBizImageSelect: import("vue").DefineComponent<{
36
46
  onClick: (file: IData, event: MouseEvent) => void;
37
47
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
48
  change: (_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => boolean;
39
- blur: (_event?: IData | undefined) => boolean;
40
- focus: (_event?: IData | undefined) => boolean;
41
- enter: (_event?: IData | undefined) => boolean;
49
+ blur: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
50
+ focus: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
51
+ enter: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
42
52
  infoTextChange: (_text: string) => boolean;
43
53
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
54
  value: StringConstructor;
45
55
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
46
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
56
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
47
57
  disabled: {
48
58
  type: BooleanConstructor;
49
59
  };
@@ -63,11 +73,11 @@ export declare const IBizImageSelect: import("vue").DefineComponent<{
63
73
  required: boolean;
64
74
  };
65
75
  }>> & {
66
- onFocus?: ((_event?: IData | undefined) => any) | undefined;
67
- onBlur?: ((_event?: IData | undefined) => any) | undefined;
76
+ onFocus?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
77
+ onBlur?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
68
78
  onChange?: ((_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => any) | undefined;
69
79
  onInfoTextChange?: ((_text: string) => any) | undefined;
70
- onEnter?: ((_event?: IData | undefined) => any) | undefined;
80
+ onEnter?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
71
81
  }, {
72
82
  disabled: boolean;
73
83
  readonly: boolean;
@@ -1,9 +1,21 @@
1
1
  import './ibiz-image-upload.scss';
2
2
  import { UploadEditorController } from '../upload-editor.controller';
3
+ /**
4
+ * 移动端图片控件
5
+ * @primary
6
+ * @description 使用van-uploader组件,用于对指定的图片文件类型进行上传。支持编辑器类型包含:`移动端图片控件(单项)`、`移动端图片控件(多项)`
7
+ * @editorparams {name:multiple,parameterType:boolean,description:是否支持多选文件,van-uploader组件的multiple属性}
8
+ * @editorparams {name:accept,parameterType:string,description:允许上传的文件类型,van-uploader组件的multiple属性}
9
+ * @editorparams {name:STOPPROPAGATION,parameterType:boolean,description:是否阻止默认点击}
10
+ * @editorparams {name:uploadParams,parameterType:IData,description:上传参数}
11
+ * @editorparams {name:exportParams,parameterType:IData,description:下载参数}
12
+ * @ignoreprops autoFocus | overflowMode
13
+ * @ignoreemits blur | focus | enter | infoTextChange
14
+ */
3
15
  export declare const IBizImageUpload: import("vue").DefineComponent<{
4
16
  value: StringConstructor;
5
17
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
6
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
18
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
7
19
  disabled: {
8
20
  type: BooleanConstructor;
9
21
  };
@@ -31,25 +43,25 @@ export declare const IBizImageUpload: import("vue").DefineComponent<{
31
43
  url?: string | undefined;
32
44
  }[]>;
33
45
  limit: import("vue").ComputedRef<1 | 9999>;
34
- headers: import("vue").Ref<IData>;
46
+ headers: import("vue").Ref<import("@ibiz-template/core").IApiData>;
35
47
  uploadUrl: import("vue").Ref<string>;
36
48
  result: boolean;
37
49
  beforeUpload: () => void;
38
- onRemove: (file: IData) => void;
50
+ onRemove: (file: import("@ibiz-template/core").IApiData) => void;
39
51
  onPreview: (_file: IData) => void;
40
- afterRead: (file: IData | IData[]) => Promise<void>;
41
- onDownload: (file: IData) => void;
52
+ afterRead: (file: import("@ibiz-template/core").IApiData | import("@ibiz-template/core").IApiData[]) => Promise<void>;
53
+ onDownload: (file: import("@ibiz-template/core").IApiData) => void;
42
54
  onClick: (file: IData, event: MouseEvent) => void;
43
55
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
56
  change: (_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => boolean;
45
- blur: (_event?: IData | undefined) => boolean;
46
- focus: (_event?: IData | undefined) => boolean;
47
- enter: (_event?: IData | undefined) => boolean;
57
+ blur: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
58
+ focus: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
59
+ enter: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
48
60
  infoTextChange: (_text: string) => boolean;
49
61
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
62
  value: StringConstructor;
51
63
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<UploadEditorController>, undefined, undefined>;
52
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
64
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
53
65
  disabled: {
54
66
  type: BooleanConstructor;
55
67
  };
@@ -69,11 +81,11 @@ export declare const IBizImageUpload: import("vue").DefineComponent<{
69
81
  required: boolean;
70
82
  };
71
83
  }>> & {
72
- onFocus?: ((_event?: IData | undefined) => any) | undefined;
73
- onBlur?: ((_event?: IData | undefined) => any) | undefined;
84
+ onFocus?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
85
+ onBlur?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
74
86
  onChange?: ((_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => any) | undefined;
75
87
  onInfoTextChange?: ((_text: string) => any) | undefined;
76
- onEnter?: ((_event?: IData | undefined) => any) | undefined;
88
+ onEnter?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
77
89
  }, {
78
90
  disabled: boolean;
79
91
  readonly: boolean;
@@ -102,6 +102,7 @@ declare const _default: {
102
102
  runtime: {
103
103
  common: {
104
104
  unrealized: string;
105
+ noExplanation: string;
105
106
  };
106
107
  command: {
107
108
  app: {
@@ -131,8 +132,10 @@ declare const _default: {
131
132
  noChange: string;
132
133
  firstComplete: string;
133
134
  noMoveDataCconfig: string;
135
+ exportRequestFailed: string;
134
136
  changeGroupError: string;
135
137
  computeMoveMetaError: string;
138
+ unclassified: string;
136
139
  };
137
140
  editor: {
138
141
  editorNoConfigured: string;
@@ -241,6 +244,7 @@ declare const _default: {
241
244
  groupedOn: string;
242
245
  adjustmentsGroup: string;
243
246
  noAllowReorder: string;
247
+ invalidSortType: string;
244
248
  };
245
249
  meditViewPanel: {
246
250
  DraftNew: string;
@@ -315,7 +319,11 @@ declare const _default: {
315
319
  objectNameField: string;
316
320
  };
317
321
  valueRule: {
322
+ maxLength: string;
323
+ minLength: string;
318
324
  length: string;
325
+ maxValue: string;
326
+ minValue: string;
319
327
  };
320
328
  viewMsg: {
321
329
  message: string;
@@ -336,6 +344,11 @@ declare const _default: {
336
344
  resetSuccess: string;
337
345
  resetError: string;
338
346
  };
347
+ util: {
348
+ quarter: string;
349
+ month: string;
350
+ week: string;
351
+ };
339
352
  };
340
353
  };
341
354
  deLogic: {
@@ -346,6 +359,7 @@ declare const _default: {
346
359
  sourceDataMissingConditionValue: string;
347
360
  noSupportedTime: string;
348
361
  entityLogicalConnection: string;
362
+ entityLogicalContainsConnection: string;
349
363
  comparisonCondition: string;
350
364
  comparisonValue: string;
351
365
  compareResults: string;
@@ -558,6 +572,11 @@ declare const _default: {
558
572
  oauthOpenAccessIdError: string;
559
573
  noImplemented: string;
560
574
  };
575
+ dataException: string;
576
+ noSortField: string;
577
+ noDragElementId: string;
578
+ noTargetElementId: string;
579
+ noMoveTypeField: string;
561
580
  };
562
581
  uiAction: {
563
582
  noEntityOrBehavior: string;
@@ -586,6 +605,7 @@ declare const _default: {
586
605
  sourceDataObjectAttribute: string;
587
606
  currentTime: string;
588
607
  interfaceConnectionConditionalTypeName: string;
608
+ interfaceConnectionConditionalContains: string;
589
609
  asynchronousTermination: string;
590
610
  asynchronousRejection: string;
591
611
  exceptionHandling: string;
@@ -102,6 +102,7 @@ declare const _default: {
102
102
  runtime: {
103
103
  common: {
104
104
  unrealized: string;
105
+ noExplanation: string;
105
106
  };
106
107
  command: {
107
108
  app: {
@@ -131,8 +132,10 @@ declare const _default: {
131
132
  noChange: string;
132
133
  firstComplete: string;
133
134
  noMoveDataCconfig: string;
135
+ exportRequestFailed: string;
134
136
  changeGroupError: string;
135
137
  computeMoveMetaError: string;
138
+ unclassified: string;
136
139
  };
137
140
  editor: {
138
141
  editorNoConfigured: string;
@@ -241,6 +244,7 @@ declare const _default: {
241
244
  groupedOn: string;
242
245
  adjustmentsGroup: string;
243
246
  noAllowReorder: string;
247
+ invalidSortType: string;
244
248
  };
245
249
  meditViewPanel: {
246
250
  DraftNew: string;
@@ -315,7 +319,11 @@ declare const _default: {
315
319
  objectNameField: string;
316
320
  };
317
321
  valueRule: {
322
+ maxLength: string;
323
+ minLength: string;
318
324
  length: string;
325
+ maxValue: string;
326
+ minValue: string;
319
327
  };
320
328
  viewMsg: {
321
329
  message: string;
@@ -336,6 +344,11 @@ declare const _default: {
336
344
  resetSuccess: string;
337
345
  resetError: string;
338
346
  };
347
+ util: {
348
+ quarter: string;
349
+ month: string;
350
+ week: string;
351
+ };
339
352
  };
340
353
  };
341
354
  deLogic: {
@@ -346,6 +359,7 @@ declare const _default: {
346
359
  sourceDataMissingConditionValue: string;
347
360
  noSupportedTime: string;
348
361
  entityLogicalConnection: string;
362
+ entityLogicalContainsConnection: string;
349
363
  comparisonCondition: string;
350
364
  comparisonValue: string;
351
365
  compareResults: string;
@@ -557,6 +571,11 @@ declare const _default: {
557
571
  oauthOpenAccessIdError: string;
558
572
  noImplemented: string;
559
573
  };
574
+ dataException: string;
575
+ noSortField: string;
576
+ noDragElementId: string;
577
+ noTargetElementId: string;
578
+ noMoveTypeField: string;
560
579
  };
561
580
  uiAction: {
562
581
  noEntityOrBehavior: string;
@@ -585,6 +604,7 @@ declare const _default: {
585
604
  sourceDataObjectAttribute: string;
586
605
  currentTime: string;
587
606
  interfaceConnectionConditionalTypeName: string;
607
+ interfaceConnectionConditionalContains: string;
588
608
  asynchronousTermination: string;
589
609
  asynchronousRejection: string;
590
610
  exceptionHandling: string;
@@ -1,5 +1,5 @@
1
1
  import { ref, onUnmounted, resolveComponent, createVNode, defineComponent } from 'vue';
2
- import { routerCallback } from '@ibiz-template/vue3-util';
2
+ import { AppHooks, routerCallback } from '@ibiz-template/vue3-util';
3
3
  import { ViewMode, Modal } from '@ibiz-template/runtime';
4
4
  import '../util/index.mjs';
5
5
  import './App.css';
@@ -22,6 +22,7 @@ var App = /* @__PURE__ */ defineComponent({
22
22
  onUnmounted(() => {
23
23
  off("onBeforeStackChange", onViewStackChange);
24
24
  ibiz.platform.destroyed();
25
+ AppHooks.destoryApp.call(null);
25
26
  });
26
27
  const viewModals = /* @__PURE__ */ new Map();
27
28
  const getViewModal = (key) => {
@@ -18,10 +18,10 @@ export declare const RouterShell: import("vue").DefineComponent<{
18
18
  height?: number | undefined;
19
19
  appDataEntityId?: string | undefined;
20
20
  redirectView?: boolean | undefined;
21
- modalOption?: IData | undefined;
21
+ modalOption?: import("@ibiz-template/core").IApiData | undefined;
22
22
  } | undefined;
23
- context?: IParams | undefined;
24
- params?: IParams | undefined;
23
+ context?: import("@ibiz-template/core").IApiParams | undefined;
24
+ params?: import("@ibiz-template/core").IApiParams | undefined;
25
25
  srfnav?: string | undefined;
26
26
  }>;
27
27
  isLoaded: import("vue").Ref<boolean>;
@@ -1,4 +1,3 @@
1
- import { CoreConst, getAppCookie, setAppCookie } from '@ibiz-template/core';
2
1
  import { ModelHelper } from '@ibiz-template/model-helper';
3
2
  import { mergeDeepRight } from 'ramda';
4
3
  import { AppHooks } from '@ibiz-template/vue3-util';
@@ -7,8 +6,13 @@ import { i18n } from '../../../locale/index.mjs';
7
6
  import { AuthGuardHooks } from '../auth-guard-hooks.mjs';
8
7
 
9
8
  "use strict";
10
- async function loadAppData() {
11
- const res = await ibiz.net.get("/appdata");
9
+ async function loadAppData(context) {
10
+ let res;
11
+ if (context && Object.keys(context).length > 0) {
12
+ res = await ibiz.net.get("/appdata", context);
13
+ } else {
14
+ res = await ibiz.net.get("/appdata");
15
+ }
12
16
  if (res.ok) {
13
17
  ibiz.appData = res.data;
14
18
  updateDevToolConfig();
@@ -24,24 +28,6 @@ async function loadOrgData() {
24
28
  }
25
29
  }
26
30
  }
27
- function setRefreshToken() {
28
- const token = getAppCookie(CoreConst.TOKEN);
29
- const expirein = getAppCookie(CoreConst.TOKEN_EXPIRES);
30
- if (token && expirein) {
31
- let wait = Number(expirein) - (/* @__PURE__ */ new Date()).getTime();
32
- const early = 5 * 60 * 1e3;
33
- wait = wait > early ? wait - early : 0;
34
- setTimeout(async () => {
35
- const res = await ibiz.net.get(`/uaa/refreshtoken2`);
36
- if (res.ok) {
37
- setAppCookie(CoreConst.TOKEN, res.data.token, 0);
38
- const expiredDate = (/* @__PURE__ */ new Date()).getTime() + (res.data.expirein || 7199) * 1e3;
39
- setAppCookie(CoreConst.TOKEN_EXPIRES, `${expiredDate}`, 0);
40
- }
41
- setRefreshToken();
42
- }, wait);
43
- }
44
- }
45
31
  async function loadTheme() {
46
32
  const app = ibiz.hub.getApp();
47
33
  const uiThemes = app.model.appUIThemes || [];
@@ -63,7 +49,33 @@ async function loadTheme() {
63
49
  }
64
50
  }
65
51
  let helper;
66
- async function initModel(appContext, permission = true) {
52
+ async function initEnvironment() {
53
+ if (helper) {
54
+ const app = await helper.getAppModel();
55
+ const userParam = app.userParam;
56
+ if (userParam) {
57
+ Object.keys(userParam).forEach((key) => {
58
+ const value = ibiz.util.rawValue.format(userParam[key]);
59
+ const keys = key.split(".");
60
+ let currentObj = ibiz.env;
61
+ for (let i = 0; i < keys.length; i++) {
62
+ const k = keys[i];
63
+ if (i === keys.length - 1) {
64
+ currentObj[k] = value;
65
+ } else {
66
+ currentObj[k] = currentObj[k] || {};
67
+ currentObj = currentObj[k];
68
+ }
69
+ }
70
+ });
71
+ if (ibiz.env.globalConfig) {
72
+ ibiz.config = mergeDeepRight(ibiz.config, ibiz.env.globalConfig);
73
+ }
74
+ ibiz.log.setLevel(ibiz.env.logLevel);
75
+ }
76
+ }
77
+ }
78
+ async function initModel(context, permission = true) {
67
79
  if (!helper) {
68
80
  helper = new ModelHelper(
69
81
  async (url) => {
@@ -79,10 +91,12 @@ async function initModel(appContext, permission = true) {
79
91
  return res.data;
80
92
  },
81
93
  ibiz.env.appId,
82
- appContext,
94
+ context,
83
95
  permission
84
96
  );
85
97
  const app = await ibiz.hub.getAppAsync(ibiz.env.appId);
98
+ await initEnvironment();
99
+ await AppHooks.initedApp.call({ context, app });
86
100
  const appModel = app.model;
87
101
  ibiz.env.isMob = appModel.mobileApp === true;
88
102
  if (ibiz.env.isEnableMultiLan) {
@@ -98,6 +112,8 @@ async function initModel(appContext, permission = true) {
98
112
  const module = await import('@ibiz-template/mob-theme');
99
113
  const theme = module.default || module;
100
114
  AppHooks.useComponent.callSync(null, theme);
115
+ if (ibiz.config.theme)
116
+ ibiz.util.theme.setTheme(ibiz.config.theme);
101
117
  if (appModel.appUIThemes) {
102
118
  await loadTheme();
103
119
  }
@@ -106,41 +122,18 @@ async function initModel(appContext, permission = true) {
106
122
  }
107
123
  }
108
124
  }
109
- async function initEnvironment() {
110
- if (helper) {
111
- const app = await helper.getAppModel();
112
- const userParam = app.userParam;
113
- if (userParam) {
114
- Object.keys(userParam).forEach((key) => {
115
- const value = ibiz.util.rawValue.format(userParam[key]);
116
- const keys = key.split(".");
117
- let currentObj = ibiz.env;
118
- for (let i = 0; i < keys.length; i++) {
119
- const k = keys[i];
120
- if (i === keys.length - 1) {
121
- currentObj[k] = value;
122
- } else {
123
- currentObj[k] = currentObj[k] || {};
124
- currentObj = currentObj[k];
125
- }
126
- }
127
- });
128
- if (ibiz.env.globalConfig) {
129
- ibiz.config = mergeDeepRight(ibiz.config, ibiz.env.globalConfig);
130
- }
131
- }
132
- }
133
- }
134
- async function appInit(appContext) {
125
+ async function appInit(context) {
126
+ await AppHooks.beforeInitApp.call({ context });
135
127
  await AuthGuardHooks.beforeAuth.call(null, null);
136
128
  if (ibiz.env.isSaaSMode === true) {
137
129
  await loadOrgData();
138
130
  }
139
- await loadAppData();
131
+ await loadAppData(context);
140
132
  await AuthGuardHooks.afterAuth.call(null, null);
141
- await initModel(appContext);
142
- await initEnvironment();
143
- setRefreshToken();
133
+ await AppHooks.authedApp.call({ context });
134
+ await initModel(context);
135
+ await ibiz.auth.extendLogin(context);
136
+ await ibiz.hub.notice.init();
144
137
  }
145
138
  async function AuthGuard(appContext, permission = true) {
146
139
  if (permission) {
@@ -31,6 +31,7 @@ async function runApp(plugins) {
31
31
  });
32
32
  install();
33
33
  install$1();
34
+ AppHooks.appResorceInited.call(ibiz.hub);
34
35
  ibiz.plugin = new PluginFactory();
35
36
  ibiz.util.error.register(new UnauthorizedHandler());
36
37
  const app = createVueApp(App);
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/index12.mjs';
2
+ import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/index13.mjs';
3
3
 
4
4
  var frameTalkClientPc = frameTalkClientPc$1.exports;
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __exports as middlewares } from '../../../../../../../../_virtual/index13.mjs';
2
+ import { __exports as middlewares } from '../../../../../../../../_virtual/index12.mjs';
3
3
  import '../../../../../../../../_virtual/bridge.mjs';
4
4
  import { __require as requireRetry } from './retry.mjs';
5
5
  import '../../../../../../../../_virtual/dealParamsAndResult.mjs';
@@ -1,7 +1,7 @@
1
1
  export declare const IBizMobAsyncAction: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
2
2
  value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
3
3
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("./mob-async-action.controller").MobAsyncActionController>, undefined, undefined>;
4
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
4
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
5
5
  disabled: {
6
6
  type: BooleanConstructor;
7
7
  };
@@ -26,7 +26,7 @@ export declare const IBizMobAsyncAction: import("@ibiz-template/vue3-util").Type
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
  value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
28
28
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("./mob-async-action.controller").MobAsyncActionController>, undefined, undefined>;
29
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
29
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
30
30
  disabled: {
31
31
  type: BooleanConstructor;
32
32
  };
@@ -1,9 +1,14 @@
1
1
  import { MobAsyncActionController } from './mob-async-action.controller';
2
2
  import './mob-async-action.scss';
3
+ /**
4
+ * 后台作业组件
5
+ * @primary
6
+ * @description 用于在一些需要后台异步操作(如上传导入文件)的场景下,对异步操作过程和结果进行通知。
7
+ */
3
8
  export declare const MobAsyncAction: import("vue").DefineComponent<{
4
9
  value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
5
10
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<MobAsyncActionController>, undefined, undefined>;
6
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
11
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
7
12
  disabled: {
8
13
  type: BooleanConstructor;
9
14
  };
@@ -28,7 +33,7 @@ export declare const MobAsyncAction: import("vue").DefineComponent<{
28
33
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
34
  value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
30
35
  controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<MobAsyncActionController>, undefined, undefined>;
31
- data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
36
+ data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
32
37
  disabled: {
33
38
  type: BooleanConstructor;
34
39
  };
@@ -2,11 +2,23 @@ import { PropType } from 'vue';
2
2
  import { PanelItemController } from '@ibiz-template/runtime';
3
3
  import { IPanelRawItem } from '@ibiz/model-core';
4
4
  import './auth-sso.scss';
5
+ /**
6
+ * 第三方登录
7
+ * @primary
8
+ * @description 提供了钉钉和企业微信的第三方授权登录功能入口。
9
+ *
10
+ */
5
11
  export declare const AuthSso: import("vue").DefineComponent<{
12
+ /**
13
+ * @description 第三方登录组件模型数据
14
+ */
6
15
  modelData: {
7
16
  type: PropType<IPanelRawItem>;
8
17
  required: true;
9
18
  };
19
+ /**
20
+ * @description 第三方登录组件控制器
21
+ */
10
22
  controller: {
11
23
  type: typeof PanelItemController;
12
24
  required: true;
@@ -15,10 +27,16 @@ export declare const AuthSso: import("vue").DefineComponent<{
15
27
  ns: import("@ibiz-template/core").Namespace;
16
28
  handleThridLogin: (type: string) => void;
17
29
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ /**
31
+ * @description 第三方登录组件模型数据
32
+ */
18
33
  modelData: {
19
34
  type: PropType<IPanelRawItem>;
20
35
  required: true;
21
36
  };
37
+ /**
38
+ * @description 第三方登录组件控制器
39
+ */
22
40
  controller: {
23
41
  type: typeof PanelItemController;
24
42
  required: true;