@ibiz-template/mob-vue3-components 0.7.41-alpha.19-lts.1 → 0.7.41-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/dist/ibiz-markdown-editor-DMe7ZdYW.js +2 -0
  2. package/dist/{ibiz-markdown-editor-CpFrKPxk.js.map → ibiz-markdown-editor-DMe7ZdYW.js.map} +1 -1
  3. package/dist/index-B0eDJ8A4.js +2 -0
  4. package/dist/index-B0eDJ8A4.js.map +1 -0
  5. package/dist/index-FB2X3Nyy.js +76 -0
  6. package/dist/index-FB2X3Nyy.js.map +1 -0
  7. package/dist/index-nqcMxJEO.js +2 -0
  8. package/dist/index-nqcMxJEO.js.map +1 -0
  9. package/dist/index.min.css +9 -9
  10. package/dist/index.system.min.js +1 -1
  11. package/dist/{quill-D6plcM_s.js → quill-COWm2ioZ.js} +2 -2
  12. package/dist/{quill-D6plcM_s.js.map → quill-COWm2ioZ.js.map} +1 -1
  13. package/dist/quill-editor-BwfQqajZ.js +2 -0
  14. package/dist/{quill-editor-CFx5M8uu.js.map → quill-editor-BwfQqajZ.js.map} +1 -1
  15. package/dist/quill-editor-preview-Bj3EE5LD.js +2 -0
  16. package/dist/{quill-editor-preview-CfbC0J-Z.js.map → quill-editor-preview-Bj3EE5LD.js.map} +1 -1
  17. package/dist/tree-CgxZzCGY.js +2 -0
  18. package/dist/tree-CgxZzCGY.js.map +1 -0
  19. package/es/_virtual/index15.mjs +3 -1
  20. package/es/_virtual/index16.mjs +1 -1
  21. package/es/_virtual/index17.mjs +1 -3
  22. package/es/_virtual/isBetween.mjs +3 -0
  23. package/es/common/action-group/action-group.mjs +4 -4
  24. package/es/common/action-toolbar/action-toolbar.mjs +1 -1
  25. package/es/common/add-btn/add-btn-event.mjs +10 -0
  26. package/es/common/add-btn/add-btn.css +1 -0
  27. package/es/common/add-btn/add-btn.mjs +39 -0
  28. package/es/common/add-more/add-more.css +1 -0
  29. package/es/common/add-more/add-more.mjs +29 -0
  30. package/es/common/button-list/button-list.css +1 -1
  31. package/es/common/button-list/button-list.mjs +2 -2
  32. package/es/common/carousel/carousel.css +1 -1
  33. package/es/common/carousel/carousel.mjs +2 -2
  34. package/es/common/cropping/cropping.css +1 -1
  35. package/es/common/date-range-picker/date-range-picker.mjs +2 -2
  36. package/es/common/emoji-select/components/categories/categories.css +1 -1
  37. package/es/common/emoji-select/components/category-label/category-label.css +1 -1
  38. package/es/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
  39. package/es/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
  40. package/es/common/emoji-select/emoji-select.css +1 -1
  41. package/es/common/float-button/float-button.css +1 -0
  42. package/es/common/float-button/float-button.mjs +63 -0
  43. package/es/common/index.mjs +21 -3
  44. package/es/common/info-item/info-item.css +1 -0
  45. package/es/common/info-item/info-item.mjs +92 -0
  46. package/es/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
  47. package/es/common/md-advaned-searchform/md-advaned-searchform.mjs +98 -0
  48. package/es/common/md-sort-setting/md-sort-setting.css +1 -0
  49. package/es/common/md-sort-setting/md-sort-setting.mjs +168 -0
  50. package/es/common/preset-view-back/preset-view-back.mjs +5 -4
  51. package/es/common/rawitem/rawitem.css +1 -1
  52. package/es/common/rawitem/rawitem.mjs +57 -11
  53. package/es/common/split/split.css +1 -0
  54. package/es/common/split/split.mjs +187 -0
  55. package/es/common/split-trigger/split-trigger.css +1 -0
  56. package/es/common/split-trigger/split-trigger.mjs +36 -0
  57. package/es/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
  58. package/es/common/tab-layout/tab-default-layout/tab-default-layout.mjs +77 -0
  59. package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
  60. package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.mjs +64 -0
  61. package/es/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
  62. package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +80 -0
  63. package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
  64. package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.mjs +56 -0
  65. package/es/common/tab-layout/tab-layout-util.mjs +34 -0
  66. package/es/common/tab-layout/tab-layout.css +1 -0
  67. package/es/common/tab-layout/tab-layout.mjs +60 -0
  68. package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
  69. package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.mjs +59 -0
  70. package/es/common/view-message/view-message.css +1 -0
  71. package/es/common/view-message/view-message.mjs +131 -0
  72. package/es/control/app-menu/app-menu.css +1 -1
  73. package/es/control/app-menu/app-menu.mjs +36 -42
  74. package/es/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
  75. package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +85 -71
  76. package/es/control/app-menu/menu-render-util.mjs +30 -0
  77. package/es/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
  78. package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +101 -41
  79. package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
  80. package/es/control/app-menu-list-view/app-menu-list-view.mjs +71 -42
  81. package/es/control/calendar/calendar.css +1 -1
  82. package/es/control/calendar/calendar.mjs +127 -54
  83. package/es/control/caption-bar/caption-bar.css +1 -1
  84. package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
  85. package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.mjs +80 -0
  86. package/es/control/dashboard/dashboard.css +1 -1
  87. package/es/control/dashboard/dashboard.mjs +79 -26
  88. package/es/control/dashboard/index.mjs +13 -2
  89. package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +47 -0
  90. package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.mjs +21 -0
  91. package/es/control/dashboard/portlet/actionbar-portlet/index.mjs +15 -0
  92. package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +64 -0
  93. package/es/control/dashboard/portlet/chart-portlet/chart-portlet.provider.mjs +21 -0
  94. package/es/control/dashboard/portlet/chart-portlet/index.mjs +12 -0
  95. package/es/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
  96. package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +39 -0
  97. package/es/control/dashboard/portlet/html-portlet/html-portlet.provider.mjs +21 -0
  98. package/es/control/dashboard/portlet/html-portlet/index.mjs +12 -0
  99. package/es/control/dashboard/portlet/index.mjs +8 -2
  100. package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +2 -3
  101. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  102. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +16 -3
  103. package/es/control/dashboard/portlet/rawitem-portlet/index.mjs +15 -0
  104. package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +44 -0
  105. package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.mjs +21 -0
  106. package/es/control/data-view/data-view.css +1 -1
  107. package/es/control/data-view/data-view.mjs +53 -85
  108. package/es/control/drbar/drbar.controller.mjs +4 -2
  109. package/es/control/drtab/drtab.controller.mjs +41 -5
  110. package/es/control/drtab/drtab.css +1 -1
  111. package/es/control/drtab/drtab.mjs +30 -104
  112. package/es/control/form/edit-form/edit-form.css +1 -1
  113. package/es/control/form/edit-form/edit-form.mjs +26 -4
  114. package/es/control/form/form/form.mjs +7 -1
  115. package/es/control/form/form-detail/form-button/form-button.css +1 -1
  116. package/es/control/form/form-detail/form-button/form-button.mjs +1 -1
  117. package/es/control/form/form-detail/form-button-list/form-button-list.css +1 -1
  118. package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  119. package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +20 -4
  120. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  121. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +17 -13
  122. package/es/control/form/form-detail/form-item/form-item.css +1 -1
  123. package/es/control/form/form-detail/form-item/form-item.mjs +2 -1
  124. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
  125. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  126. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +22 -46
  127. package/es/control/form/form-detail/form-page/form-page.css +1 -1
  128. package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  129. package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +2 -1
  130. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  131. package/es/control/form/search-form/search-form.css +1 -1
  132. package/es/control/form/search-form/search-form.mjs +34 -15
  133. package/es/control/index.mjs +8 -1
  134. package/es/control/list/list/list.mjs +2 -1
  135. package/es/control/list/md-ctrl/md-ctrl.css +1 -1
  136. package/es/control/list/md-ctrl/md-ctrl.mjs +50 -97
  137. package/es/control/search-bar/filter-tree/filter-tree.mjs +5 -10
  138. package/es/control/search-bar/search-bar.css +1 -1
  139. package/es/control/search-bar/search-bar.mjs +309 -10
  140. package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
  141. package/es/control/tab-exp-panel/tab-exp-panel.mjs +37 -37
  142. package/es/control/toolbar/float-toolbar/float-toolbar.css +1 -0
  143. package/es/control/toolbar/float-toolbar/float-toolbar.mjs +89 -0
  144. package/es/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
  145. package/es/control/toolbar/toolbar-group-list/toolbar-group-list.mjs +77 -0
  146. package/es/control/toolbar/toolbar-render-util.mjs +233 -0
  147. package/es/control/toolbar/toolbar.css +1 -1
  148. package/es/control/toolbar/toolbar.mjs +151 -159
  149. package/es/control/tree/tree.css +1 -1
  150. package/es/control/tree/tree.mjs +182 -54
  151. package/es/control/tree-exp-bar/render-util.mjs +4 -3
  152. package/es/control/tree-exp-bar/tree-exp-bar.css +1 -1
  153. package/es/control/wizard-panel/wizard-panel.css +1 -1
  154. package/es/control/wizard-panel/wizard-panel.mjs +35 -18
  155. package/es/editor/array/array-editor.controller.mjs +7 -0
  156. package/es/editor/array/array-editor.provider.mjs +22 -0
  157. package/es/editor/array/ibiz-array/ibiz-array.css +1 -0
  158. package/es/editor/array/ibiz-array/ibiz-array.mjs +163 -0
  159. package/es/editor/array/index.mjs +5 -0
  160. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
  161. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
  162. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
  163. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +2 -2
  164. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
  165. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +2 -2
  166. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
  167. package/es/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
  168. package/es/editor/common/right-icon/right-icon.css +1 -1
  169. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
  170. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +27 -29
  171. package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
  172. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +1 -1
  173. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  174. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
  175. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
  176. package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
  177. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  178. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +3 -1
  179. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
  180. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +12 -3
  181. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
  182. package/es/editor/html/quill-editor/quill-editor.css +1 -1
  183. package/es/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
  184. package/es/editor/index.mjs +23 -4
  185. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
  186. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +7 -1
  187. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  188. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +2 -1
  189. package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
  190. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
  191. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +2 -2
  192. package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
  193. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  194. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +2 -2
  195. package/es/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
  196. package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +2 -2
  197. package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  198. package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
  199. package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +3 -3
  200. package/es/editor/span/span/span.css +1 -1
  201. package/es/editor/span/span/span.mjs +5 -4
  202. package/es/editor/span/span-link/span-link.css +1 -1
  203. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
  204. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +2 -2
  205. package/es/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
  206. package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +2 -2
  207. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
  208. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +2 -2
  209. package/es/editor/text-box/input/input.css +1 -1
  210. package/es/editor/text-box/input/input.mjs +2 -2
  211. package/es/editor/text-box/signature/signature.css +1 -1
  212. package/es/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
  213. package/es/editor/upload/ibiz-carousel/ibiz-carousel.mjs +3 -0
  214. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
  215. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
  216. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
  217. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +19 -6
  218. package/es/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
  219. package/es/editor/upload/ibiz-image-select/ibiz-image-select.mjs +2 -2
  220. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
  221. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +2 -2
  222. package/es/editor/upload/upload-editor.provider.mjs +1 -0
  223. package/es/index.mjs +13 -1
  224. package/es/locale/en/index.mjs +20 -5
  225. package/es/locale/zh-CN/index.mjs +21 -7
  226. package/es/mob-app/guard/auth-guard/auth-guard.mjs +11 -5
  227. package/es/mob-app/main.mjs +10 -1
  228. package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.mjs +13 -0
  229. package/es/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.mjs +1 -1
  230. package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.mjs +1 -1
  231. package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.mjs +1 -1
  232. package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  233. package/es/panel-component/index.mjs +12 -1
  234. package/es/panel-component/panel-button/panel-button.css +1 -1
  235. package/es/panel-component/panel-button/panel-button.mjs +2 -3
  236. package/es/panel-component/setting-container/index.mjs +18 -0
  237. package/es/panel-component/setting-container/setting-container.controller.mjs +68 -0
  238. package/es/panel-component/setting-container/setting-container.css +1 -0
  239. package/es/panel-component/setting-container/setting-container.mjs +137 -0
  240. package/es/panel-component/setting-container/setting-container.provider.mjs +21 -0
  241. package/es/panel-component/split-container/index.mjs +23 -0
  242. package/es/panel-component/split-container/split-container.controller.mjs +110 -0
  243. package/es/panel-component/split-container/split-container.css +1 -0
  244. package/es/panel-component/split-container/split-container.mjs +58 -0
  245. package/es/panel-component/split-container/split-container.provider.mjs +21 -0
  246. package/es/panel-component/split-container/split-container.state.mjs +28 -0
  247. package/es/panel-component/user-message/user-message.css +1 -1
  248. package/es/panel-component/user-message/user-message.mjs +7 -3
  249. package/es/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
  250. package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +12 -1
  251. package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
  252. package/es/panel-component/view-message/index.mjs +15 -0
  253. package/es/panel-component/view-message/view-message.mjs +52 -0
  254. package/es/panel-component/view-message/view-message.provider.mjs +21 -0
  255. package/es/panel-component/view-msg-pos/index.mjs +16 -0
  256. package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +46 -0
  257. package/es/panel-component/view-msg-pos/view-msg-pos.mjs +56 -0
  258. package/es/panel-component/view-msg-pos/view-msg-pos.provider.mjs +21 -0
  259. package/es/util/app-drawer/app-drawer-component.mjs +3 -3
  260. package/es/util/button-util/button-util.mjs +21 -2
  261. package/es/util/index.mjs +1 -0
  262. package/es/util/list-util/list-render-util.mjs +261 -0
  263. package/es/util/modal-util/modal-util.mjs +44 -2
  264. package/es/util/store/view-stack/view-stack.mjs +3 -4
  265. package/es/view-engine/index.mjs +4 -0
  266. package/es/view-engine/mob-edit-view.engine.mjs +12 -0
  267. package/es/view-engine/mob-edit-view3.engine.mjs +51 -0
  268. package/es/view-engine/mob-mpickup-view-engine.mjs +1 -2
  269. package/es/view-engine/mob-pickup-tree-view.engine.mjs +4 -2
  270. package/es/view-engine/mob-tab-exp-view.engine.mjs +134 -1
  271. package/es/view-engine/mob-tab-search-view.engine.mjs +1 -28
  272. package/es/view-engine/mob-tree-exp-view.engine.mjs +19 -1
  273. package/es/view-engine/mob-wizard-view-engine.mjs +19 -1
  274. package/lib/_virtual/index15.cjs +2 -6
  275. package/lib/_virtual/index16.cjs +2 -2
  276. package/lib/_virtual/index17.cjs +6 -2
  277. package/lib/_virtual/isBetween.cjs +5 -0
  278. package/lib/common/action-group/action-group.cjs +4 -4
  279. package/lib/common/action-toolbar/action-toolbar.cjs +1 -1
  280. package/lib/common/add-btn/add-btn-event.cjs +12 -0
  281. package/lib/common/add-btn/add-btn.cjs +41 -0
  282. package/lib/common/add-btn/add-btn.css +1 -0
  283. package/lib/common/add-more/add-more.cjs +31 -0
  284. package/lib/common/add-more/add-more.css +1 -0
  285. package/lib/common/button-list/button-list.cjs +2 -2
  286. package/lib/common/button-list/button-list.css +1 -1
  287. package/lib/common/carousel/carousel.cjs +1 -1
  288. package/lib/common/carousel/carousel.css +1 -1
  289. package/lib/common/cropping/cropping.css +1 -1
  290. package/lib/common/date-range-picker/date-range-picker.cjs +1 -1
  291. package/lib/common/emoji-select/components/categories/categories.css +1 -1
  292. package/lib/common/emoji-select/components/category-label/category-label.css +1 -1
  293. package/lib/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
  294. package/lib/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
  295. package/lib/common/emoji-select/emoji-select.css +1 -1
  296. package/lib/common/float-button/float-button.cjs +65 -0
  297. package/lib/common/float-button/float-button.css +1 -0
  298. package/lib/common/index.cjs +24 -2
  299. package/lib/common/info-item/info-item.cjs +94 -0
  300. package/lib/common/info-item/info-item.css +1 -0
  301. package/lib/common/md-advaned-searchform/md-advaned-searchform.cjs +100 -0
  302. package/lib/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
  303. package/lib/common/md-sort-setting/md-sort-setting.cjs +170 -0
  304. package/lib/common/md-sort-setting/md-sort-setting.css +1 -0
  305. package/lib/common/preset-view-back/preset-view-back.cjs +5 -4
  306. package/lib/common/rawitem/rawitem.cjs +57 -11
  307. package/lib/common/rawitem/rawitem.css +1 -1
  308. package/lib/common/split/split.cjs +189 -0
  309. package/lib/common/split/split.css +1 -0
  310. package/lib/common/split-trigger/split-trigger.cjs +38 -0
  311. package/lib/common/split-trigger/split-trigger.css +1 -0
  312. package/lib/common/tab-layout/tab-default-layout/tab-default-layout.cjs +79 -0
  313. package/lib/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
  314. package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.cjs +66 -0
  315. package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
  316. package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +82 -0
  317. package/lib/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
  318. package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.cjs +58 -0
  319. package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
  320. package/lib/common/tab-layout/tab-layout-util.cjs +38 -0
  321. package/lib/common/tab-layout/tab-layout.cjs +62 -0
  322. package/lib/common/tab-layout/tab-layout.css +1 -0
  323. package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.cjs +61 -0
  324. package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
  325. package/lib/common/view-message/view-message.cjs +133 -0
  326. package/lib/common/view-message/view-message.css +1 -0
  327. package/lib/control/app-menu/app-menu.cjs +35 -41
  328. package/lib/control/app-menu/app-menu.css +1 -1
  329. package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +84 -70
  330. package/lib/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
  331. package/lib/control/app-menu/menu-render-util.cjs +33 -0
  332. package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +99 -39
  333. package/lib/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
  334. package/lib/control/app-menu-list-view/app-menu-list-view.cjs +70 -41
  335. package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
  336. package/lib/control/calendar/calendar.cjs +126 -53
  337. package/lib/control/calendar/calendar.css +1 -1
  338. package/lib/control/caption-bar/caption-bar.css +1 -1
  339. package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.cjs +82 -0
  340. package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
  341. package/lib/control/dashboard/dashboard.cjs +77 -24
  342. package/lib/control/dashboard/dashboard.css +1 -1
  343. package/lib/control/dashboard/index.cjs +20 -2
  344. package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +49 -0
  345. package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.cjs +23 -0
  346. package/lib/control/dashboard/portlet/actionbar-portlet/index.cjs +21 -0
  347. package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +66 -0
  348. package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.provider.cjs +23 -0
  349. package/lib/control/dashboard/portlet/chart-portlet/index.cjs +18 -0
  350. package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +41 -0
  351. package/lib/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
  352. package/lib/control/dashboard/portlet/html-portlet/html-portlet.provider.cjs +23 -0
  353. package/lib/control/dashboard/portlet/html-portlet/index.cjs +18 -0
  354. package/lib/control/dashboard/portlet/index.cjs +16 -3
  355. package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +2 -3
  356. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +15 -2
  357. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  358. package/lib/control/dashboard/portlet/rawitem-portlet/index.cjs +21 -0
  359. package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +46 -0
  360. package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.cjs +23 -0
  361. package/lib/control/data-view/data-view.cjs +52 -84
  362. package/lib/control/data-view/data-view.css +1 -1
  363. package/lib/control/drbar/drbar.controller.cjs +4 -2
  364. package/lib/control/drtab/drtab.cjs +29 -103
  365. package/lib/control/drtab/drtab.controller.cjs +41 -5
  366. package/lib/control/drtab/drtab.css +1 -1
  367. package/lib/control/form/edit-form/edit-form.cjs +25 -3
  368. package/lib/control/form/edit-form/edit-form.css +1 -1
  369. package/lib/control/form/form/form.cjs +7 -1
  370. package/lib/control/form/form-detail/form-button/form-button.cjs +1 -1
  371. package/lib/control/form/form-detail/form-button/form-button.css +1 -1
  372. package/lib/control/form/form-detail/form-button-list/form-button-list.css +1 -1
  373. package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +20 -4
  374. package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  375. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +17 -13
  376. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  377. package/lib/control/form/form-detail/form-item/form-item.cjs +2 -1
  378. package/lib/control/form/form-detail/form-item/form-item.css +1 -1
  379. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
  380. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +21 -45
  381. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  382. package/lib/control/form/form-detail/form-page/form-page.css +1 -1
  383. package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +2 -1
  384. package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  385. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  386. package/lib/control/form/search-form/search-form.cjs +34 -15
  387. package/lib/control/form/search-form/search-form.css +1 -1
  388. package/lib/control/index.cjs +26 -12
  389. package/lib/control/list/list/list.cjs +2 -1
  390. package/lib/control/list/md-ctrl/md-ctrl.cjs +49 -96
  391. package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
  392. package/lib/control/search-bar/filter-tree/filter-tree.cjs +4 -9
  393. package/lib/control/search-bar/search-bar.cjs +306 -7
  394. package/lib/control/search-bar/search-bar.css +1 -1
  395. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +36 -36
  396. package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
  397. package/lib/control/toolbar/float-toolbar/float-toolbar.cjs +91 -0
  398. package/lib/control/toolbar/float-toolbar/float-toolbar.css +1 -0
  399. package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.cjs +79 -0
  400. package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
  401. package/lib/control/toolbar/toolbar-render-util.cjs +238 -0
  402. package/lib/control/toolbar/toolbar.cjs +149 -157
  403. package/lib/control/toolbar/toolbar.css +1 -1
  404. package/lib/control/tree/tree.cjs +179 -51
  405. package/lib/control/tree/tree.css +1 -1
  406. package/lib/control/tree-exp-bar/render-util.cjs +4 -3
  407. package/lib/control/tree-exp-bar/tree-exp-bar.css +1 -1
  408. package/lib/control/wizard-panel/wizard-panel.cjs +35 -18
  409. package/lib/control/wizard-panel/wizard-panel.css +1 -1
  410. package/lib/editor/array/array-editor.controller.cjs +9 -0
  411. package/lib/editor/array/array-editor.provider.cjs +24 -0
  412. package/lib/editor/array/ibiz-array/ibiz-array.cjs +165 -0
  413. package/lib/editor/array/ibiz-array/ibiz-array.css +1 -0
  414. package/lib/editor/array/index.cjs +11 -0
  415. package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
  416. package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
  417. package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.cjs +1 -1
  418. package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
  419. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
  420. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
  421. package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
  422. package/lib/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
  423. package/lib/editor/common/right-icon/right-icon.css +1 -1
  424. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +26 -28
  425. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
  426. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +1 -1
  427. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
  428. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  429. package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
  430. package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
  431. package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
  432. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +3 -1
  433. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  434. package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +11 -2
  435. package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
  436. package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
  437. package/lib/editor/html/quill-editor/quill-editor.css +1 -1
  438. package/lib/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
  439. package/lib/editor/index.cjs +23 -4
  440. package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +7 -1
  441. package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
  442. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +2 -1
  443. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  444. package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
  445. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +2 -2
  446. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
  447. package/lib/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
  448. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +1 -1
  449. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  450. package/lib/editor/rate/ibiz-rate/ibiz-rate.cjs +1 -1
  451. package/lib/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
  452. package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  453. package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
  454. package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
  455. package/lib/editor/span/span/span.cjs +5 -4
  456. package/lib/editor/span/span/span.css +1 -1
  457. package/lib/editor/span/span-link/span-link.css +1 -1
  458. package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
  459. package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
  460. package/lib/editor/switch/ibiz-switch/ibiz-switch.cjs +1 -1
  461. package/lib/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
  462. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
  463. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
  464. package/lib/editor/text-box/input/input.cjs +1 -1
  465. package/lib/editor/text-box/input/input.css +1 -1
  466. package/lib/editor/text-box/signature/signature.css +1 -1
  467. package/lib/editor/upload/ibiz-carousel/ibiz-carousel.cjs +3 -0
  468. package/lib/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
  469. package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
  470. package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
  471. package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +18 -5
  472. package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
  473. package/lib/editor/upload/ibiz-image-select/ibiz-image-select.cjs +1 -1
  474. package/lib/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
  475. package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +1 -1
  476. package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
  477. package/lib/editor/upload/upload-editor.provider.cjs +1 -0
  478. package/lib/index.cjs +42 -18
  479. package/lib/locale/en/index.cjs +20 -5
  480. package/lib/locale/zh-CN/index.cjs +21 -7
  481. package/lib/mob-app/guard/auth-guard/auth-guard.cjs +11 -5
  482. package/lib/mob-app/main.cjs +9 -0
  483. package/lib/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.cjs +17 -0
  484. package/lib/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.cjs +1 -1
  485. package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.cjs +1 -1
  486. package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.cjs +1 -1
  487. package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  488. package/lib/panel-component/index.cjs +45 -34
  489. package/lib/panel-component/panel-button/panel-button.cjs +2 -3
  490. package/lib/panel-component/panel-button/panel-button.css +1 -1
  491. package/lib/panel-component/setting-container/index.cjs +23 -0
  492. package/lib/panel-component/setting-container/setting-container.cjs +139 -0
  493. package/lib/panel-component/setting-container/setting-container.controller.cjs +70 -0
  494. package/lib/panel-component/setting-container/setting-container.css +1 -0
  495. package/lib/panel-component/setting-container/setting-container.provider.cjs +23 -0
  496. package/lib/panel-component/split-container/index.cjs +29 -0
  497. package/lib/panel-component/split-container/split-container.cjs +60 -0
  498. package/lib/panel-component/split-container/split-container.controller.cjs +112 -0
  499. package/lib/panel-component/split-container/split-container.css +1 -0
  500. package/lib/panel-component/split-container/split-container.provider.cjs +23 -0
  501. package/lib/panel-component/split-container/split-container.state.cjs +30 -0
  502. package/lib/panel-component/user-message/user-message.cjs +7 -3
  503. package/lib/panel-component/user-message/user-message.css +1 -1
  504. package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +12 -1
  505. package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
  506. package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
  507. package/lib/panel-component/view-message/index.cjs +20 -0
  508. package/lib/panel-component/view-message/view-message.cjs +54 -0
  509. package/lib/panel-component/view-message/view-message.provider.cjs +23 -0
  510. package/lib/panel-component/view-msg-pos/index.cjs +22 -0
  511. package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +58 -0
  512. package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +48 -0
  513. package/lib/panel-component/view-msg-pos/view-msg-pos.provider.cjs +23 -0
  514. package/lib/util/app-drawer/app-drawer-component.cjs +2 -2
  515. package/lib/util/button-util/button-util.cjs +21 -2
  516. package/lib/util/index.cjs +2 -0
  517. package/lib/util/list-util/list-render-util.cjs +263 -0
  518. package/lib/util/modal-util/modal-util.cjs +44 -2
  519. package/lib/util/store/view-stack/view-stack.cjs +3 -4
  520. package/lib/view-engine/index.cjs +4 -0
  521. package/lib/view-engine/mob-edit-view.engine.cjs +12 -0
  522. package/lib/view-engine/mob-edit-view3.engine.cjs +51 -0
  523. package/lib/view-engine/mob-mpickup-view-engine.cjs +1 -2
  524. package/lib/view-engine/mob-pickup-tree-view.engine.cjs +4 -2
  525. package/lib/view-engine/mob-tab-exp-view.engine.cjs +133 -0
  526. package/lib/view-engine/mob-tab-search-view.engine.cjs +1 -28
  527. package/lib/view-engine/mob-tree-exp-view.engine.cjs +18 -0
  528. package/lib/view-engine/mob-wizard-view-engine.cjs +18 -0
  529. package/package.json +9 -8
  530. package/dist/ibiz-markdown-editor-CpFrKPxk.js +0 -2
  531. package/dist/index-BVvXyRE6.js +0 -2
  532. package/dist/index-BVvXyRE6.js.map +0 -1
  533. package/dist/index-BwPgclp0.js +0 -2
  534. package/dist/index-BwPgclp0.js.map +0 -1
  535. package/dist/index-CVQ7iBA3.js +0 -76
  536. package/dist/index-CVQ7iBA3.js.map +0 -1
  537. package/dist/quill-editor-CFx5M8uu.js +0 -2
  538. package/dist/quill-editor-preview-CfbC0J-Z.js +0 -2
  539. package/dist/tree-CGwysqdR.js +0 -2
  540. package/dist/tree-CGwysqdR.js.map +0 -1
  541. package/es/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
  542. package/es/common/md-ctrl-setting/md-ctrl-setting.mjs +0 -199
  543. package/es/control/dashboard/portlet/portlet-part/index.mjs +0 -3
  544. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +0 -50
  545. package/es/control/list/list-render-util.mjs +0 -130
  546. package/es/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
  547. package/es/control/toolbar/popper-toolbar/popper-toolbar.mjs +0 -157
  548. package/lib/common/md-ctrl-setting/md-ctrl-setting.cjs +0 -201
  549. package/lib/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
  550. package/lib/control/dashboard/portlet/portlet-part/index.cjs +0 -7
  551. package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +0 -52
  552. package/lib/control/list/list-render-util.cjs +0 -132
  553. package/lib/control/toolbar/popper-toolbar/popper-toolbar.cjs +0 -159
  554. package/lib/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
@@ -0,0 +1,189 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ require('./split.css');
6
+
7
+ "use strict";
8
+ const IBizSplit = /* @__PURE__ */ vue.defineComponent({
9
+ name: "IBizSplit",
10
+ props: {
11
+ modelValue: {
12
+ type: [Number, String],
13
+ default: 0.5
14
+ },
15
+ mode: {
16
+ validator: (value) => {
17
+ return ["horizontal", "vertical"].includes(value);
18
+ },
19
+ default: "horizontal"
20
+ },
21
+ min: {
22
+ type: [Number, String],
23
+ default: "30px"
24
+ },
25
+ max: {
26
+ type: [Number, String],
27
+ default: "30px"
28
+ }
29
+ },
30
+ emits: ["update:modelValue", "on-move-start", "on-moving", "on-move-end"],
31
+ setup(props, {
32
+ emit
33
+ }) {
34
+ const ns = vue3Util.useNamespace("split");
35
+ const outerWrapper = vue.ref(null);
36
+ const offset = vue.ref(0);
37
+ const oldOffset = vue.ref(0);
38
+ const isMoving = vue.ref(false);
39
+ const computedMin = vue.ref(0);
40
+ const computedMax = vue.ref(0);
41
+ const currentValue = vue.ref(0.5);
42
+ const initOffset = vue.ref(0);
43
+ const wrapperClasses = vue.computed(() => [ns.b("wrapper"), ns.is("no-select", isMoving.value)]);
44
+ const paneClasses = vue.computed(() => [ns.b("pane"), isMoving.value ? ns.bm("pane", "moving") : ""]);
45
+ const isHorizontal = vue.computed(() => props.mode === "horizontal");
46
+ const anotherOffset = vue.computed(() => 100 - offset.value);
47
+ const valueIsPx = vue.computed(() => typeof props.modelValue === "string");
48
+ const offsetSize = vue.computed(() => isHorizontal.value ? "offsetWidth" : "offsetHeight");
49
+ const px2percent = (numerator, denominator) => {
50
+ return parseFloat(numerator) / parseFloat(denominator);
51
+ };
52
+ const getComputedThresholdValue = (type) => {
53
+ const size = outerWrapper.value[offsetSize.value];
54
+ if (valueIsPx.value) {
55
+ return typeof props[type] === "string" ? props[type] : size * props[type];
56
+ }
57
+ return typeof props[type] === "string" ? px2percent(props[type], size) : props[type];
58
+ };
59
+ const getMax = (value1, value2) => {
60
+ if (valueIsPx.value)
61
+ return `${Math.max(parseFloat(value1), parseFloat(value2))}px`;
62
+ return Math.max(value1, value2);
63
+ };
64
+ const getAnotherOffset = (value) => {
65
+ let res = 0;
66
+ if (valueIsPx.value)
67
+ res = `${outerWrapper.value[offsetSize.value] - parseFloat(value)}px`;
68
+ else
69
+ res = 1 - value;
70
+ return res;
71
+ };
72
+ const handleMove = (e) => {
73
+ if (!isMoving.value)
74
+ return false;
75
+ const pageOffset = isHorizontal.value ? e.pageX : e.pageY;
76
+ const moveOffset = pageOffset - initOffset.value;
77
+ const outerWidth = outerWrapper.value[offsetSize.value];
78
+ let value = valueIsPx.value ? `${parseFloat(oldOffset.value) + moveOffset}px` : px2percent(outerWidth * oldOffset.value + moveOffset, outerWidth);
79
+ const anotherValue = getAnotherOffset(value);
80
+ if (parseFloat(value) <= parseFloat(computedMin.value)) {
81
+ value = getMax(value, computedMin.value);
82
+ }
83
+ if (parseFloat(anotherValue) <= parseFloat(computedMax.value)) {
84
+ value = getAnotherOffset(getMax(anotherValue, computedMax.value));
85
+ }
86
+ emit("update:modelValue", value);
87
+ emit("on-moving", e);
88
+ };
89
+ const handleUp = () => {
90
+ isMoving.value = false;
91
+ emit("on-move-end");
92
+ };
93
+ const handleMousedown = (e) => {
94
+ initOffset.value = isHorizontal.value ? e.pageX : e.pageY;
95
+ oldOffset.value = props.modelValue;
96
+ isMoving.value = true;
97
+ emit("on-move-start");
98
+ };
99
+ const computeOffset = () => {
100
+ vue.nextTick(() => {
101
+ computedMin.value = getComputedThresholdValue("min");
102
+ computedMax.value = getComputedThresholdValue("max");
103
+ offset.value = (valueIsPx.value ? px2percent(props.modelValue, outerWrapper.value[offsetSize.value]) : props.modelValue) * 1e4 / 100;
104
+ });
105
+ };
106
+ vue.watch(() => props.modelValue, (val) => {
107
+ if (val !== currentValue.value) {
108
+ currentValue.value = val;
109
+ computeOffset();
110
+ }
111
+ });
112
+ vue.onMounted(() => {
113
+ vue.nextTick(() => {
114
+ computeOffset();
115
+ });
116
+ document.addEventListener("pointermove", handleMove);
117
+ document.addEventListener("pointerup", handleUp);
118
+ document.addEventListener("pointercancel", handleUp);
119
+ window.addEventListener("resize", computeOffset);
120
+ });
121
+ vue.onBeforeUnmount(() => {
122
+ window.removeEventListener("resize", computeOffset);
123
+ document.removeEventListener("pointermove", handleMove);
124
+ document.removeEventListener("pointerup", handleUp);
125
+ document.removeEventListener("pointercancel", handleUp);
126
+ });
127
+ return {
128
+ ns,
129
+ outerWrapper,
130
+ offset,
131
+ wrapperClasses,
132
+ paneClasses,
133
+ isHorizontal,
134
+ anotherOffset,
135
+ handleMousedown
136
+ };
137
+ },
138
+ render() {
139
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
140
+ return vue.createVNode("div", {
141
+ "class": this.wrapperClasses,
142
+ "ref": "outerWrapper"
143
+ }, [this.isHorizontal ? vue.createVNode("div", {
144
+ "class": this.ns.m("horizontal")
145
+ }, [vue.createVNode("div", {
146
+ "style": {
147
+ width: `${this.offset}%`
148
+ },
149
+ "class": [this.paneClasses, this.ns.bm("pane", "left")]
150
+ }, [(_b = (_a = this.$slots).left) == null ? void 0 : _b.call(_a)]), vue.createVNode("div", {
151
+ "style": {
152
+ left: `${this.offset}%`
153
+ },
154
+ "class": this.ns.b("trigger-con"),
155
+ "tabindex": 0,
156
+ "onPointerdown": (e) => this.handleMousedown(e)
157
+ }, [((_d = (_c = this.$slots).trigger) == null ? void 0 : _d.call(_c)) || vue.createVNode(vue.resolveComponent("iBizSplitTrigger"), {
158
+ "mode": "vertical"
159
+ }, null)]), vue.createVNode("div", {
160
+ "style": {
161
+ width: `${this.anotherOffset}%`
162
+ },
163
+ "class": [this.paneClasses, this.ns.bm("pane", "right")]
164
+ }, [(_f = (_e = this.$slots).right) == null ? void 0 : _f.call(_e)])]) : vue.createVNode("div", {
165
+ "class": this.ns.m("vertical")
166
+ }, [vue.createVNode("div", {
167
+ "style": {
168
+ bottom: `${this.anotherOffset}%`
169
+ },
170
+ "class": [this.paneClasses, this.ns.bm("pane", "top")]
171
+ }, [(_h = (_g = this.$slots).top) == null ? void 0 : _h.call(_g)]), vue.createVNode("div", {
172
+ "style": {
173
+ top: `${this.offset}%`
174
+ },
175
+ "class": this.ns.b("trigger-con"),
176
+ "tabindex": 0,
177
+ "onPointerdown": (e) => this.handleMousedown(e)
178
+ }, [((_j = (_i = this.$slots).trigger) == null ? void 0 : _j.call(_i)) || vue.createVNode(vue.resolveComponent("iBizSplitTrigger"), {
179
+ "mode": "horizontal"
180
+ }, null)]), vue.createVNode("div", {
181
+ "style": {
182
+ top: `${this.offset}%`
183
+ },
184
+ "class": [this.paneClasses, this.ns.bm("pane", "bottom")]
185
+ }, [(_l = (_k = this.$slots).bottom) == null ? void 0 : _l.call(_k)])])]);
186
+ }
187
+ });
188
+
189
+ exports.IBizSplit = IBizSplit;
@@ -0,0 +1 @@
1
+ .ibiz-split-wrapper{--ibiz-split-wrapper-trigger-width:6px;position:relative;width:100%;height:100%}.ibiz-split-wrapper.is-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ibiz-split-pane{position:absolute}.ibiz-split-pane--left{top:0;bottom:0;left:0;overflow:hidden}.ibiz-split-pane--right{top:0;right:0;bottom:0;overflow:hidden}.ibiz-split-pane--top{top:0;right:0;left:0;overflow:hidden}.ibiz-split-pane--bottom{right:0;bottom:0;left:0;overflow:hidden}.ibiz-split-pane--moving{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ibiz-split-trigger-con{position:absolute;z-index:10;width:6px;transform:translate(-50%,-50%);touch-action:none}.ibiz-split--horizontal{display:flex;height:100%}.ibiz-split--horizontal .ibiz-split-trigger-con{top:50%;height:100%}.ibiz-split--horizontal .ibiz-split-pane{position:unset}.ibiz-split--horizontal .ibiz-split-pane--right{padding-left:var(--ibiz-split-wrapper-trigger-width)}.ibiz-split--vertical .ibiz-split-trigger-con{left:50%;width:100%;height:0}.ibiz-split--vertical .ibiz-split-pane{position:absolute}.ibiz-split--vertical .ibiz-split-pane--bottom{padding-top:var(--ibiz-split-wrapper-trigger-width)}.ibiz-split--vertical .ibiz-split--horizontal .ibiz-split-trigger-con{top:50%;height:100%}.ibiz-split--vertical .ibiz-split--horizontal .ibiz-split-pane{position:unset}.ibiz-split--vertical .ibiz-split--horizontal .ibiz-split-pane--right{padding-left:var(--ibiz-split-wrapper-trigger-width)}.ibiz-split--horizontal .ibiz-split--vertical .ibiz-split-trigger-con{left:50%;width:100%;height:0}.ibiz-split--horizontal .ibiz-split--vertical .ibiz-split-pane{position:absolute}.ibiz-split--horizontal .ibiz-split--vertical .ibiz-split-pane--bottom{padding-top:var(--ibiz-split-wrapper-trigger-width)}
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ require('./split-trigger.css');
6
+
7
+ "use strict";
8
+ const IBizSplitTrigger = /* @__PURE__ */ vue.defineComponent({
9
+ name: "IBizSplitTrigger",
10
+ props: {
11
+ mode: String
12
+ },
13
+ setup(prop) {
14
+ const ns = vue3Util.useNamespace("split-trigger");
15
+ const isVertical = vue.computed(() => prop.mode === "vertical");
16
+ const classes = vue.computed(() => [ns.b(), isVertical.value ? ns.m("vertical") : ns.m("horizontal")]);
17
+ const barConClasses = vue.computed(() => [ns.b("bar-con"), isVertical.value ? ns.bm("bar-con", "vertical") : ns.bm("bar-con", "horizontal")]);
18
+ const items = Array(8).fill(0);
19
+ return {
20
+ ns,
21
+ classes,
22
+ barConClasses,
23
+ items
24
+ };
25
+ },
26
+ render() {
27
+ return vue.createVNode("div", {
28
+ "class": this.classes
29
+ }, [vue.createVNode("div", {
30
+ "class": this.barConClasses
31
+ }, [this.items.map((_item, i) => vue.createVNode("i", {
32
+ "class": this.ns.b("bar"),
33
+ "key": `trigger-${i}`
34
+ }, null))])]);
35
+ }
36
+ });
37
+
38
+ exports.IBizSplitTrigger = IBizSplitTrigger;
@@ -0,0 +1 @@
1
+ .ibiz-split-trigger{--ibiz-split-trigger-trigger-bar-background:var(--ibiz-color-border);--ibiz-split-trigger-trigger-width:6px;--ibiz-split-trigger-trigger-bar-width:4px;--ibiz-split-trigger-trigger-bar-offset:calc(var(trigger-width) - var(trigger-bar-width) / 2);--ibiz-split-trigger-trigger-bar-interval:3px;--ibiz-split-trigger-trigger-bar-weight:1px;--ibiz-split-trigger-trigger-bar-con-height:calc(var(trigger-bar-weight) + var(trigger-bar-interval) * 8);border:1px solid var(--ibiz-color-border)}.ibiz-split-trigger--vertical{width:var(--ibiz-split-trigger-trigger-width);height:100%;cursor:col-resize;border-top:none;border-bottom:none}.ibiz-split-trigger--vertical .ibiz-split-trigger-bar{float:left;width:var(--ibiz-split-trigger-trigger-bar-width);height:1px;margin-top:var(--ibiz-split-trigger-trigger-bar-interval);background:var(--ibiz-split-trigger-trigger-bar-background)}.ibiz-split-trigger--horizontal{width:100%;height:var(--ibiz-split-trigger-trigger-width);cursor:row-resize;border-right:none;border-left:none}.ibiz-split-trigger--horizontal .ibiz-split-trigger-bar{float:left;width:1px;height:var(--ibiz-split-trigger-trigger-bar-width);margin-right:var(--ibiz-split-trigger-trigger-bar-interval);background:var(--ibiz-split-trigger-trigger-bar-background)}.ibiz-split-trigger-bar-con{position:absolute;overflow:hidden}.ibiz-split-trigger-bar-con--vertical{top:50%;left:var(--ibiz-split-trigger-trigger-bar-offset);height:var(--ibiz-split-trigger-trigger-bar-con-height);transform:translate(0,-50%)}.ibiz-split-trigger-bar-con--horizontal{top:var(--ibiz-split-trigger-trigger-bar-offset);left:50%;width:var(--ibiz-split-trigger-trigger-bar-con-height);transform:translate(-50%,0)}
@@ -0,0 +1,79 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ var tabLayoutUtil = require('../tab-layout-util.cjs');
6
+ require('./tab-default-layout.css');
7
+
8
+ "use strict";
9
+ function _isSlot(s) {
10
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
11
+ }
12
+ const TabDefaultLayout = /* @__PURE__ */ vue.defineComponent({
13
+ name: "IBizTabDefaultLayout",
14
+ props: tabLayoutUtil.layoutProps,
15
+ emits: tabLayoutUtil.layoutEmits,
16
+ setup(_props, {
17
+ emit
18
+ }) {
19
+ const ns = vue3Util.useNamespace("tab-default-layout");
20
+ const {
21
+ onTabChange
22
+ } = tabLayoutUtil.useLayoutRender(emit);
23
+ return {
24
+ ns,
25
+ onTabChange
26
+ };
27
+ },
28
+ render() {
29
+ let _slot;
30
+ let content = vue.createVNode(vue.resolveComponent("van-tabs"), {
31
+ "active": this.activeName,
32
+ "onChange": this.onTabChange
33
+ }, _isSlot(_slot = this.tabPages.map((tab) => {
34
+ if (tab.isHidden)
35
+ return;
36
+ return vue.createVNode(vue.resolveComponent("van-tab"), {
37
+ "name": tab.id
38
+ }, {
39
+ title: () => vue.createVNode(vue.resolveComponent("iBizInfoItem"), {
40
+ "class": this.ns.e("tab-item"),
41
+ "label": tab.text,
42
+ "icon": tab.icon,
43
+ "badge": tab.counter
44
+ }, null)
45
+ });
46
+ })) ? _slot : {
47
+ default: () => [_slot]
48
+ });
49
+ if (this.layoutMode === "bottom") {
50
+ let _slot2;
51
+ content = vue.createVNode(vue.resolveComponent("van-tabbar"), {
52
+ "fixed": false,
53
+ "modelValue": this.activeName,
54
+ "onChange": this.onTabChange
55
+ }, _isSlot(_slot2 = this.tabPages.map((tab) => {
56
+ if (tab.isHidden)
57
+ return;
58
+ return vue.createVNode(vue.resolveComponent("van-tabbar-item"), {
59
+ "name": tab.id
60
+ }, {
61
+ default: () => vue.createVNode(vue.resolveComponent("iBizInfoItem"), {
62
+ "class": this.ns.e("tab-item"),
63
+ "label": tab.text,
64
+ "icon": tab.icon,
65
+ "badge": tab.counter,
66
+ "layoutMode": "vertical"
67
+ }, null)
68
+ });
69
+ })) ? _slot2 : {
70
+ default: () => [_slot2]
71
+ });
72
+ }
73
+ return vue.createVNode("div", {
74
+ "class": [this.ns.b(), this.ns.is(this.layoutMode, !!this.layoutMode)]
75
+ }, [content]);
76
+ }
77
+ });
78
+
79
+ exports.TabDefaultLayout = TabDefaultLayout;
@@ -0,0 +1 @@
1
+ .ibiz-tab-default-layout{--ibiz-tab-default-layout-color-border:var(--ibiz-color-border);--ibiz-tab-default-layout-height:3.125rem;--ibiz-tab-default-layout-font-tab-font-size:var(--ibiz-tab-layout-font-tab-font-size)}.ibiz-tab-default-layout__tab-item{font-size:var(--ibiz-tab-default-layout-font-tab-font-size)}.ibiz-tab-default-layout.is-top .van-tabs--line .van-tabs__wrap{height:var(--ibiz-tab-default-layout-height)}.ibiz-tab-default-layout.is-top .van-tab__text{overflow:unset}.ibiz-tab-default-layout.is-bottom .van-tabbar{height:var(--ibiz-tab-default-layout-height);border-top:1px solid var(--ibiz-tab-default-layout-color-border)}.ibiz-tab-default-layout.is-bottom .van-tabs__line{display:none}
@@ -0,0 +1,66 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ var tabLayoutUtil = require('../tab-layout-util.cjs');
6
+ require('./tab-dropdown-list-content.css');
7
+
8
+ "use strict";
9
+ const TabDropdownListContent = /* @__PURE__ */ vue.defineComponent({
10
+ name: "IBizTabDropdownListContent",
11
+ props: {
12
+ modal: {
13
+ type: Object
14
+ },
15
+ ...tabLayoutUtil.layoutProps
16
+ },
17
+ setup(props) {
18
+ const ns = vue3Util.useNamespace("tab-dropdown-list-content");
19
+ const handleItemClick = (activeName) => {
20
+ var _a;
21
+ (_a = props.modal) == null ? void 0 : _a.dismiss({
22
+ ok: true,
23
+ data: [{
24
+ activeName
25
+ }]
26
+ });
27
+ };
28
+ const handleClose = () => {
29
+ var _a;
30
+ (_a = props.modal) == null ? void 0 : _a.dismiss();
31
+ };
32
+ const handleClick = (e) => {
33
+ e.stopPropagation();
34
+ e.preventDefault();
35
+ };
36
+ return {
37
+ ns,
38
+ handleClick,
39
+ handleClose,
40
+ handleItemClick
41
+ };
42
+ },
43
+ render() {
44
+ return vue.createVNode("div", {
45
+ "class": [this.ns.b()],
46
+ "onClick": this.handleClick
47
+ }, [vue.createVNode("div", {
48
+ "class": this.ns.e("modal"),
49
+ "onClick": this.handleClose
50
+ }, null), vue.createVNode("div", {
51
+ "class": this.ns.e("wrapper")
52
+ }, [this.tabPages.map((tab) => {
53
+ if (tab.isHidden)
54
+ return;
55
+ return vue.createVNode("div", {
56
+ "class": [this.ns.e("item"), this.ns.is("active", tab.id === this.activeName)],
57
+ "onClick": () => this.handleItemClick(tab.id)
58
+ }, [vue.createVNode(vue.resolveComponent("iBizInfoItem"), {
59
+ "label": tab.text,
60
+ "icon": tab.icon
61
+ }, null)]);
62
+ })])]);
63
+ }
64
+ });
65
+
66
+ exports.TabDropdownListContent = TabDropdownListContent;
@@ -0,0 +1 @@
1
+ .ibiz-tab-dropdown-list-content{--ibiz-tab-dropdown-list-content-color-item-text:var(--ibiz-tab-dropdown-color-text);--ibiz-tab-dropdown-list-content-color-item-text-active:var(--ibiz-tab-dropdown-color-text-active);--ibiz-tab-dropdown-list-content-color-wrapper-bg:var(--ibiz-color-bg-1);--ibiz-tab-dropdown-list-content-width:5.625rem;--ibiz-tab-dropdown-list-content-height-item:var(--ibiz-height-control-default);--ibiz-tab-dropdown-list-content-spacing-wrapper-padding:var(--ibiz-spacing-extra-tight) 0;--ibiz-tab-dropdown-list-content-spacing-item-padding:0 var(--ibiz-spacing-tight);--ibiz-tab-dropdown-list-content-radius-circle:var(--ibiz-border-radius-medium);--ibiz-tab-dropdown-list-content-font-item-font-size:var(--ibiz-tab-dropdown-font-size);--ibiz-tab-dropdown-list-content-right-offset:var(--ibiz-spacing-tight);--ibiz-tab-dropdown-list-content-box-shadow:var(--ibiz-shadow-elevated);width:var(--ibiz-tab-dropdown-list-content-width);padding-right:var(--ibiz-tab-dropdown-list-content-right-offset)}.ibiz-tab-dropdown-list-content__wrapper{position:relative;z-index:2;display:flex;flex-direction:column;padding:var(--ibiz-tab-dropdown-list-content-spacing-wrapper-padding);background-color:var(--ibiz-tab-dropdown-list-content-color-wrapper-bg);border-radius:var(--ibiz-tab-dropdown-list-content-radius-circle);box-shadow:var(--ibiz-shadow-elevated)}.ibiz-tab-dropdown-list-content__item{padding:var(--ibiz-tab-dropdown-list-content-spacing-item-padding);font-size:var(--ibiz-tab-dropdown-list-content-font-item-font-size);color:var(--ibiz-tab-dropdown-list-content-color-item-text);white-space:nowrap}.ibiz-tab-dropdown-list-content__item .ibiz-info-item{width:100%;min-height:var(--ibiz-tab-dropdown-list-content-height-item)}.ibiz-tab-dropdown-list-content__item .ibiz-info-item__label{overflow:hidden;text-overflow:ellipsis}.ibiz-tab-dropdown-list-content__item.is-active{color:var(--ibiz-tab-dropdown-list-content-color-item-text-active)}.ibiz-tab-dropdown-list-content__modal{position:fixed;top:0;left:0;z-index:1;width:100vw;height:100vh}
@@ -0,0 +1,82 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ var tabLayoutUtil = require('../tab-layout-util.cjs');
6
+ var tabDropdownListContent = require('./tab-dropdown-list-content.cjs');
7
+ require('./tab-dropdown.css');
8
+
9
+ "use strict";
10
+ const TabDropdown = /* @__PURE__ */ vue.defineComponent({
11
+ name: "IBizTabDropdown",
12
+ props: tabLayoutUtil.layoutProps,
13
+ emits: tabLayoutUtil.layoutEmits,
14
+ setup(props, {
15
+ emit
16
+ }) {
17
+ const ns = vue3Util.useNamespace("tab-dropdown");
18
+ const tabDropdownRef = vue.ref();
19
+ const activeTab = vue.computed(() => {
20
+ return props.tabPages.find((tab) => tab.id === props.activeName);
21
+ });
22
+ const {
23
+ onTabChange
24
+ } = tabLayoutUtil.useLayoutRender(emit);
25
+ let floatOverlay;
26
+ const onFloatBtnClick = async (_event, _currentTarget) => {
27
+ var _a, _b;
28
+ if (floatOverlay) {
29
+ floatOverlay.dismiss();
30
+ floatOverlay = void 0;
31
+ return;
32
+ }
33
+ floatOverlay = ibiz.overlay.createPopover((modal) => {
34
+ return vue.h(tabDropdownListContent.TabDropdownListContent, {
35
+ modal,
36
+ tabPages: props.tabPages,
37
+ activeName: props.activeName,
38
+ layoutMode: props.layoutMode
39
+ });
40
+ }, {}, {
41
+ width: "auto",
42
+ height: "auto",
43
+ noArrow: true,
44
+ autoClose: true,
45
+ placement: "bottom-end",
46
+ modalClass: `${ns.e("list-modal")}`,
47
+ appendTo: (_a = tabDropdownRef.value) == null ? void 0 : _a.$el
48
+ });
49
+ floatOverlay.present(_currentTarget);
50
+ const res = await floatOverlay.onWillDismiss();
51
+ const activeKey = (_b = res == null ? void 0 : res.data[0]) == null ? void 0 : _b.activeName;
52
+ if (activeKey) {
53
+ onTabChange(activeKey);
54
+ }
55
+ floatOverlay = void 0;
56
+ };
57
+ return {
58
+ ns,
59
+ tabDropdownRef,
60
+ activeTab,
61
+ onFloatBtnClick
62
+ };
63
+ },
64
+ render() {
65
+ return vue.createVNode(vue.resolveComponent("iBizFloatButton"), {
66
+ "ref": "tabDropdownRef",
67
+ "class": this.ns.b(),
68
+ "align": "RIGHTSTART",
69
+ "onClick": this.onFloatBtnClick
70
+ }, {
71
+ default: () => {
72
+ var _a, _b;
73
+ return [vue.createVNode(vue.resolveComponent("iBizInfoItem"), {
74
+ "label": (_a = this.activeTab) == null ? void 0 : _a.text,
75
+ "icon": (_b = this.activeTab) == null ? void 0 : _b.icon
76
+ }, null)];
77
+ }
78
+ });
79
+ }
80
+ });
81
+
82
+ exports.TabDropdown = TabDropdown;
@@ -0,0 +1 @@
1
+ .ibiz-tab-dropdown{--ibiz-tab-dropdown-color-text:var(--ibiz-tab-layout-color-tab-text);--ibiz-tab-dropdown-color-text-active:var(--ibiz-tab-layout-color-tab-text-active);--ibiz-tab-dropdown-width-min-width:2.5rem;--ibiz-tab-dropdown-width-max-width:5rem;--ibiz-tab-dropdown-spacing-padding:var(--ibiz-spacing-tight);--ibiz-tab-dropdown-font-size:var(--ibiz-tab-layout-font-tab-font-size)}.ibiz-tab-dropdown__list-modal{--ibiz-tab-dropdown-color-text:var(--ibiz-tab-layout-color-tab-text);--ibiz-tab-dropdown-color-text-active:var(--ibiz-tab-layout-color-tab-text-active);--ibiz-tab-dropdown-width-min-width:2.5rem;--ibiz-tab-dropdown-width-max-width:5rem;--ibiz-tab-dropdown-spacing-padding:var(--ibiz-spacing-tight);--ibiz-tab-dropdown-font-size:var(--ibiz-tab-layout-font-tab-font-size);background-color:unset;border:unset;box-shadow:unset}.ibiz-tab-dropdown.ibiz-float-button{--ibiz-float-button-width:auto;--ibiz-float-button-font-text-font-size:var(--ibiz-tab-dropdown-font-size);--ibiz-float-button-spacing-right-padding:var(--ibiz-tab-dropdown-spacing-padding);min-width:var(--ibiz-tab-dropdown-width-min-width);max-width:var(--ibiz-tab-dropdown-width-max-width)}.ibiz-tab-dropdown.ibiz-float-button .ibiz-info-item{width:100%}.ibiz-tab-dropdown.ibiz-float-button .ibiz-info-item__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ var tabLayoutUtil = require('../tab-layout-util.cjs');
6
+ require('./tab-flow-layout.css');
7
+
8
+ "use strict";
9
+ function _isSlot(s) {
10
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
11
+ }
12
+ const TabFlowLayout = /* @__PURE__ */ vue.defineComponent({
13
+ name: "IBizTabFlowLayout",
14
+ props: tabLayoutUtil.layoutProps,
15
+ emits: tabLayoutUtil.layoutEmits,
16
+ setup(props, {
17
+ emit
18
+ }) {
19
+ const ns = vue3Util.useNamespace("tab-flow-layout");
20
+ return {
21
+ ns
22
+ };
23
+ },
24
+ render() {
25
+ let _slot;
26
+ const indexList = this.tabPages.map((_tab) => _tab.text);
27
+ return vue.createVNode(vue.resolveComponent("van-index-bar"), {
28
+ "class": [this.ns.b(), this.ns.is(this.layoutMode, !!this.layoutMode)],
29
+ "sticky": false,
30
+ "index-list": indexList
31
+ }, _isSlot(_slot = this.tabPages.map((tab) => {
32
+ var _a, _b;
33
+ return vue.createVNode("div", {
34
+ "class": this.ns.e("group")
35
+ }, [vue.createVNode(vue.resolveComponent("van-index-anchor"), {
36
+ "index": tab.text
37
+ }, {
38
+ default: () => [this.layoutMode === "flow_noheader" ? vue.createVNode("div", {
39
+ "class": this.ns.e("group-header-ph")
40
+ }, null) : vue.createVNode("div", {
41
+ "class": this.ns.e("group-header")
42
+ }, [vue.createVNode(vue.resolveComponent("iBizInfoItem"), {
43
+ "class": this.ns.em("group-header", "content"),
44
+ "label": tab.text,
45
+ "icon": tab.icon,
46
+ "badgeFloat": false,
47
+ "badge": tab.counter
48
+ }, null)])]
49
+ }), vue.createVNode("div", {
50
+ "class": this.ns.e("group-content")
51
+ }, [(_b = (_a = this.$slots).groupContent) == null ? void 0 : _b.call(_a, tab)])]);
52
+ })) ? _slot : {
53
+ default: () => [_slot]
54
+ });
55
+ }
56
+ });
57
+
58
+ exports.TabFlowLayout = TabFlowLayout;
@@ -0,0 +1 @@
1
+ .ibiz-tab-flow-layout{--ibiz-tab-flow-layout-color-group-header-text:var(--ibiz-tab-layout-color-tab-text);--ibiz-tab-flow-layout-color-group-header-bg:var(--ibiz-color-bg-0);--ibiz-tab-flow-layout-color-group-noheader-bg:var(--ibiz-color-bg-0);--ibiz-tab-flow-layout-height-group-header-content-min-height:var(--ibiz-height-control-default);--ibiz-tab-flow-layout-spacing-group-header-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-tab-flow-layout-spacing-group-header-ph-padding:var(--ibiz-spacing-tight);--ibiz-tab-flow-layout-font-group-header-font-size:var(--ibiz-tab-layout-font-tab-font-size)}.ibiz-tab-flow-layout__group-header{padding:var(--ibiz-tab-flow-layout-spacing-group-header-padding);font-size:var(--ibiz-tab-flow-layout-font-group-header-font-size);color:var(--ibiz-tab-flow-layout-color-group-header-text);background-color:var(--ibiz-tab-flow-layout-color-group-header-bg)}.ibiz-tab-flow-layout__group-header--content{min-height:var(--ibiz-tab-flow-layout-height-group-header-content-min-height)}.ibiz-tab-flow-layout .van-index-anchor{padding:0}.ibiz-tab-flow-layout.is-flow_noheader .ibiz-tab-flow-layout__group-header-ph{padding:var(--ibiz-tab-flow-layout-spacing-group-header-ph-padding);background-color:var(--ibiz-tab-flow-layout-color-group-noheader-bg)}
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ "use strict";
4
+ const layoutProps = {
5
+ // 分页绘制数据集合
6
+ tabPages: {
7
+ type: Array,
8
+ default: () => []
9
+ },
10
+ // 分页标识激活名称
11
+ activeName: {
12
+ type: String,
13
+ default: ""
14
+ },
15
+ // 布局模式
16
+ layoutMode: {
17
+ type: String,
18
+ default: "top"
19
+ }
20
+ };
21
+ const layoutEmits = {
22
+ /**
23
+ * @description 分页标识变更事件
24
+ */
25
+ tabChange: (_tabTag) => true
26
+ };
27
+ function useLayoutRender(emit) {
28
+ const onTabChange = (_tabTag) => {
29
+ emit("tabChange", _tabTag);
30
+ };
31
+ return {
32
+ onTabChange
33
+ };
34
+ }
35
+
36
+ exports.layoutEmits = layoutEmits;
37
+ exports.layoutProps = layoutProps;
38
+ exports.useLayoutRender = useLayoutRender;
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ var tabLayoutUtil = require('./tab-layout-util.cjs');
6
+ var tabFlowLayout = require('./tab-flow-layout/tab-flow-layout.cjs');
7
+ var tabSidebarLayout = require('./tab-sidebar-layout/tab-sidebar-layout.cjs');
8
+ var tabDefaultLayout = require('./tab-default-layout/tab-default-layout.cjs');
9
+ var tabDropdown = require('./tab-dropdown/tab-dropdown.cjs');
10
+ require('./tab-layout.css');
11
+
12
+ "use strict";
13
+ function _isSlot(s) {
14
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
15
+ }
16
+ const IBizTabLayout = /* @__PURE__ */ vue.defineComponent({
17
+ name: "IBizTabLayout",
18
+ props: tabLayoutUtil.layoutProps,
19
+ emits: tabLayoutUtil.layoutEmits,
20
+ setup(_props, {
21
+ emit
22
+ }) {
23
+ const ns = vue3Util.useNamespace("tab-layout");
24
+ const {
25
+ onTabChange
26
+ } = tabLayoutUtil.useLayoutRender(emit);
27
+ return {
28
+ ns,
29
+ onTabChange
30
+ };
31
+ },
32
+ render() {
33
+ const attrs = {
34
+ tabPages: this.tabPages,
35
+ activeName: this.activeName,
36
+ layoutMode: this.layoutMode,
37
+ onTabChange: this.onTabChange
38
+ };
39
+ let content = vue.createVNode(tabDefaultLayout.TabDefaultLayout, attrs, null);
40
+ if (this.layoutMode === "flow" || this.layoutMode === "flow_noheader") {
41
+ const slots = {};
42
+ if (this.$slots.groupContent)
43
+ Object.assign(slots, {
44
+ groupContent: this.$slots.groupContent
45
+ });
46
+ content = vue.createVNode(tabFlowLayout.TabFlowLayout, attrs, _isSlot(slots) ? slots : {
47
+ default: () => [slots]
48
+ });
49
+ }
50
+ if (["left", "right"].includes(this.layoutMode)) {
51
+ content = vue.createVNode(tabSidebarLayout.TabSidebarLayout, attrs, null);
52
+ }
53
+ if (["top_dropdownlist"].includes(this.layoutMode)) {
54
+ content = vue.createVNode(tabDropdown.TabDropdown, attrs, null);
55
+ }
56
+ return vue.createVNode("div", {
57
+ "class": this.ns.b()
58
+ }, [content]);
59
+ }
60
+ });
61
+
62
+ exports.IBizTabLayout = IBizTabLayout;
@@ -0,0 +1 @@
1
+ .ibiz-tab-layout{--ibiz-tab-layout-color-tab-text:var(--ibiz-color-text-0);--ibiz-tab-layout-color-tab-text-active:var(--ibiz-color-primary);--ibiz-tab-layout-font-tab-font-size:var(--ibiz-font-size-regular);width:100%;height:100%}