@ibiz-template/vue3-components 0.7.39 → 0.7.40

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 (734) hide show
  1. package/dist/chart-GgAfcR6o.js +1 -0
  2. package/dist/ibiz-markdown-editor--ivCvp3a.js +1 -0
  3. package/dist/index-8ZkS4CI0.js +1 -0
  4. package/dist/index-WNFQFxQd.js +1 -0
  5. package/dist/index-azhHVxuV.js +4 -0
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.system.min.js +1 -1
  8. package/dist/map-chart-HL7emT5a.js +1 -0
  9. package/dist/map-chart-user-bTKfT7VH.js +1 -0
  10. package/dist/wang-editor-f_OOMd4x.js +1 -0
  11. package/dist/{xlsx-util-qRiaKYpk.js → xlsx-util-3T0fByLw.js} +1 -1
  12. package/es/_virtual/index.mjs +3 -0
  13. package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +9 -9
  14. package/es/common/anchor-container/anchor-container.d.ts +12 -12
  15. package/es/common/carousel/carousel.d.ts +1 -1
  16. package/es/common/carousel-card/carousel-card.d.ts +3 -3
  17. package/es/common/control-navigation/control-navigation.d.ts +3 -0
  18. package/es/common/control-navigation/control-navigation.mjs +21 -2
  19. package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +1 -1
  20. package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +2 -2
  21. package/es/common/control-navigation/provider/index.mjs +5 -4
  22. package/es/common/control-navigation/provider/map-navigation.provider.d.ts +17 -0
  23. package/es/common/control-navigation/provider/map-navigation.provider.mjs +50 -0
  24. package/es/common/control-navigation/provider/navigation-base.provider.d.ts +2 -2
  25. package/es/common/control-navigation/provider/navigation-base.provider.mjs +9 -4
  26. package/es/common/cropping/cropping.d.ts +3 -3
  27. package/es/common/custom-filter-condition/custom-filter-condition.d.ts +12 -12
  28. package/es/common/data-import/data-import.d.ts +4 -4
  29. package/es/common/data-import2/data-import2.d.ts +5 -5
  30. package/es/common/data-import2-select/data-import2-select.d.ts +2 -2
  31. package/es/common/data-import2-table/data-import2-table.d.ts +2 -2
  32. package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
  33. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
  34. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
  35. package/es/common/emoji-select/emoji-select.d.ts +3 -3
  36. package/es/common/extend-action-timeline/extend-action-timeline.d.ts +3 -3
  37. package/es/common/map-chart/map-chart.mjs +2 -6
  38. package/es/common/map-chart/map-chart.util.mjs +1 -1
  39. package/es/common/map-chart-user/map-chart-user.util.mjs +3 -2
  40. package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
  41. package/es/common/map-chart-user/map-user-manager.mjs +2 -2
  42. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +4 -4
  43. package/es/common/pql-editor/pql-editor.d.ts +4 -4
  44. package/es/common/quick-edit/quick-edit.d.ts +4 -4
  45. package/es/common/rawitem/rawitem.d.ts +2 -2
  46. package/es/common/view-message/view-message.d.ts +6 -6
  47. package/es/control/app-menu/app-menu.css +1 -1
  48. package/es/control/app-menu/app-menu.d.ts +58 -12
  49. package/es/control/app-menu/app-menu.mjs +33 -6
  50. package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
  51. package/es/control/app-menu/index.d.ts +21 -13
  52. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +43 -5
  53. package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +19 -0
  54. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  55. package/es/control/calendar/calendar.d.ts +54 -7
  56. package/es/control/calendar/calendar.mjs +26 -1
  57. package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
  58. package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +6 -2
  59. package/es/control/calendar/components/calendar-daily/index.d.ts +6 -6
  60. package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +1 -1
  61. package/es/control/calendar/components/calendar-daily/use-calendar-daily.mjs +1 -1
  62. package/es/control/calendar/components/calendar-user/calendar-user.d.ts +6 -6
  63. package/es/control/calendar/components/calendar-user/index.d.ts +6 -6
  64. package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -6
  65. package/es/control/calendar/components/calendar-week/calendar-week.mjs +6 -1
  66. package/es/control/calendar/components/calendar-week/index.d.ts +6 -6
  67. package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +4 -4
  68. package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +6 -6
  69. package/es/control/calendar/components/custom-calendar/index.d.ts +6 -6
  70. package/es/control/calendar/components/interface/calendar-daily.d.ts +3 -3
  71. package/es/control/calendar/components/interface/calendar-user.d.ts +3 -3
  72. package/es/control/calendar/components/interface/calendar-week.d.ts +3 -3
  73. package/es/control/calendar/components/interface/custom-calendar.d.ts +3 -3
  74. package/es/control/calendar/components/util/util.d.ts +2 -2
  75. package/es/control/calendar/index.d.ts +9 -8
  76. package/es/control/caption-bar/caption-bar.d.ts +31 -5
  77. package/es/control/caption-bar/caption-bar.mjs +13 -0
  78. package/es/control/caption-bar/index.d.ts +5 -5
  79. package/es/control/chart/chart.d.ts +65 -13
  80. package/es/control/chart/chart.mjs +36 -1
  81. package/es/control/context-menu/context-menu.d.ts +59 -5
  82. package/es/control/context-menu/context-menu.mjs +27 -6
  83. package/es/control/context-menu/index.d.ts +5 -5
  84. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21366
  85. package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
  86. package/es/control/dashboard/dashboard.d.ts +32 -6
  87. package/es/control/dashboard/dashboard.mjs +13 -0
  88. package/es/control/dashboard/index.d.ts +7 -7
  89. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +6 -6
  90. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +6 -6
  91. package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.d.ts +5 -5
  92. package/es/control/data-view/data-view.d.ts +80 -34
  93. package/es/control/data-view/data-view.mjs +114 -52
  94. package/es/control/data-view/index.d.ts +23 -23
  95. package/es/control/drbar/drbar.d.ts +51 -5
  96. package/es/control/drbar/drbar.mjs +23 -0
  97. package/es/control/drbar/index.d.ts +5 -5
  98. package/es/control/drtab/drtab-control.util.mjs +1 -1
  99. package/es/control/drtab/drtab.d.ts +35 -8
  100. package/es/control/drtab/drtab.mjs +26 -0
  101. package/es/control/drtab/flow-drtab.css +1 -0
  102. package/es/control/drtab/flow-drtab.d.ts +77 -0
  103. package/es/control/drtab/flow-drtab.mjs +144 -0
  104. package/es/control/drtab/index.d.ts +9 -8
  105. package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +45 -5
  106. package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.mjs +20 -0
  107. package/es/control/exp-bar/calendar-exp-bar/index.d.ts +5 -5
  108. package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.d.ts +45 -5
  109. package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.mjs +20 -0
  110. package/es/control/exp-bar/chart-exp-bar/index.d.ts +5 -5
  111. package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.d.ts +45 -5
  112. package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.mjs +20 -0
  113. package/es/control/exp-bar/data-view-exp-bar/index.d.ts +5 -5
  114. package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.d.ts +45 -5
  115. package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.mjs +20 -0
  116. package/es/control/exp-bar/grid-exp-bar/index.d.ts +5 -5
  117. package/es/control/exp-bar/list-exp-bar/index.d.ts +5 -5
  118. package/es/control/exp-bar/list-exp-bar/list-exp-bar.d.ts +45 -5
  119. package/es/control/exp-bar/list-exp-bar/list-exp-bar.mjs +20 -0
  120. package/es/control/exp-bar/tree-exp-bar/index.d.ts +5 -5
  121. package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.d.ts +51 -5
  122. package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +23 -0
  123. package/es/control/form/edit-form/edit-form.mjs +23 -0
  124. package/es/control/form/form/form.d.ts +8 -2
  125. package/es/control/form/form/form.mjs +10 -4
  126. package/es/control/form/form/index.d.ts +2 -2
  127. package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +2 -2
  128. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  129. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
  130. package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
  131. package/es/control/form/form-detail/form-item/index.d.ts +2 -2
  132. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +1 -0
  133. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +2 -19002
  134. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  135. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
  136. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
  137. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.d.ts +4 -4
  138. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.d.ts +1 -1
  139. package/es/control/form/form-detail/form-tab-panel/index.d.ts +2 -2
  140. package/es/control/form/search-form/advance-search/advance-search.css +1 -0
  141. package/es/control/form/search-form/advance-search/advance-search.d.ts +24 -0
  142. package/es/control/form/search-form/advance-search/advance-search.mjs +105 -0
  143. package/es/control/form/search-form/index.d.ts +7 -7
  144. package/es/control/form/search-form/search-form.d.ts +53 -7
  145. package/es/control/form/search-form/search-form.mjs +40 -1
  146. package/es/control/gantt/gantt.css +1 -1
  147. package/es/control/gantt/gantt.d.ts +53 -7
  148. package/es/control/gantt/gantt.mjs +24 -0
  149. package/es/control/gantt/index.d.ts +8 -8
  150. package/es/control/grid/grid/grid-control.util.d.ts +2 -2
  151. package/es/control/grid/grid/grid-control.util.mjs +171 -69
  152. package/es/control/grid/grid/grid.css +1 -1
  153. package/es/control/grid/grid/grid.d.ts +107 -58
  154. package/es/control/grid/grid/grid.mjs +129 -44
  155. package/es/control/grid/grid/index.d.ts +48 -47
  156. package/es/control/grid/grid/index.mjs +2 -0
  157. package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +4 -4
  158. package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +4 -4
  159. package/es/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -0
  160. package/es/control/grid/grid-column/grid-column-header/grid-column-header.d.ts +36 -0
  161. package/es/control/grid/grid-column/grid-column-header/grid-column-header.mjs +142 -0
  162. package/es/control/grid/grid-column/grid-column-header/index.d.ts +33 -0
  163. package/es/control/grid/grid-column/grid-column-header/index.mjs +12 -0
  164. package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
  165. package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.d.ts +65 -0
  166. package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.mjs +125 -0
  167. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.d.ts +28 -0
  168. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.mjs +131 -0
  169. package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +2 -1
  170. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +11 -2
  171. package/es/control/grid/grid-column/grid-field-column/index.d.ts +3 -2
  172. package/es/control/grid/grid-column/grid-field-column/index.mjs +3 -1
  173. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +4 -4
  174. package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +4 -4
  175. package/es/control/grid/grid-column/index.d.ts +1 -0
  176. package/es/control/grid/grid-column/index.mjs +1 -0
  177. package/es/control/grid/index.mjs +1 -0
  178. package/es/control/index.d.ts +1 -0
  179. package/es/control/index.mjs +2 -0
  180. package/es/control/kanban/index.d.ts +5 -5
  181. package/es/control/kanban/kanban.d.ts +51 -5
  182. package/es/control/kanban/kanban.mjs +23 -0
  183. package/es/control/list/index.d.ts +14 -14
  184. package/es/control/list/list.css +1 -1
  185. package/es/control/list/list.d.ts +64 -36
  186. package/es/control/list/list.mjs +75 -27
  187. package/es/control/map/map.css +1 -1
  188. package/es/control/map/map.d.ts +54 -6
  189. package/es/control/map/map.mjs +59 -23
  190. package/es/control/medit-view-panel/index.d.ts +5 -5
  191. package/es/control/medit-view-panel/medit-view-panel.css +1 -1
  192. package/es/control/medit-view-panel/medit-view-panel.d.ts +25 -5
  193. package/es/control/medit-view-panel/medit-view-panel.mjs +10 -0
  194. package/es/control/pickup-view-panel/index.d.ts +5 -5
  195. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +43 -15
  196. package/es/control/pickup-view-panel/pickup-view-panel.mjs +19 -5
  197. package/es/control/report-panel/report-panel.d.ts +39 -5
  198. package/es/control/report-panel/report-panel.mjs +17 -0
  199. package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
  200. package/es/control/search-bar/index.d.ts +5 -5
  201. package/es/control/search-bar/search-bar.css +1 -1
  202. package/es/control/search-bar/search-bar.d.ts +31 -5
  203. package/es/control/search-bar/search-bar.mjs +14 -1
  204. package/es/control/search-bar/search-groups/search-groups.d.ts +6 -6
  205. package/es/control/tab-exp-panel/index.d.ts +5 -5
  206. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
  207. package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
  208. package/es/control/toolbar/index.d.ts +6 -6
  209. package/es/control/toolbar/toolbar.css +1 -1
  210. package/es/control/toolbar/toolbar.d.ts +45 -5
  211. package/es/control/toolbar/toolbar.mjs +27 -7
  212. package/es/control/tree/index.d.ts +16 -14
  213. package/es/control/tree/tree.css +1 -1
  214. package/es/control/tree/tree.d.ts +100 -48
  215. package/es/control/tree/tree.mjs +73 -14
  216. package/es/control/tree-grid/index.d.ts +24 -24
  217. package/es/control/tree-grid/tree-grid.d.ts +83 -35
  218. package/es/control/tree-grid/tree-grid.mjs +30 -6
  219. package/es/control/tree-grid-ex/index.d.ts +11 -11
  220. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +2 -2
  221. package/es/control/tree-grid-ex/tree-grid-ex.d.ts +33 -7
  222. package/es/control/tree-grid-ex/tree-grid-ex.mjs +21 -0
  223. package/es/control/view-panel/index.d.ts +40 -0
  224. package/es/control/view-panel/index.mjs +18 -0
  225. package/es/control/view-panel/view-panel.css +1 -0
  226. package/es/control/view-panel/view-panel.d.ts +69 -0
  227. package/es/control/view-panel/view-panel.mjs +72 -0
  228. package/es/control/view-panel/view-panel.provider.d.ts +10 -0
  229. package/es/control/view-panel/view-panel.provider.mjs +14 -0
  230. package/es/control/wizard-panel/index.d.ts +5 -5
  231. package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
  232. package/es/control/wizard-panel/wizard-panel.mjs +16 -1
  233. package/es/editor/array/ibiz-array/ibiz-array.d.ts +27 -10
  234. package/es/editor/array/ibiz-array/ibiz-array.mjs +1 -1
  235. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +19 -10
  236. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -1
  237. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +17 -10
  238. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +2 -2
  239. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +28 -15
  240. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
  241. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +18 -8
  242. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +19 -9
  243. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +1 -1
  244. package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
  245. package/es/editor/code/monaco-editor/monaco-editor.d.ts +23 -8
  246. package/es/editor/code/monaco-editor/monaco-editor.mjs +16 -20
  247. package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +1 -1
  248. package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +1 -1
  249. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +25 -11
  250. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
  251. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +19 -11
  252. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +1 -1
  253. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -10
  254. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -3
  255. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
  256. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +19 -10
  257. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +27 -6
  258. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +20 -9
  259. package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +18 -9
  260. package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +1 -1
  261. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  262. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +23 -13
  263. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +4 -3
  264. package/es/editor/date-picker/date-picker-editor.controller.mjs +3 -3
  265. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +16 -9
  266. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +1 -1
  267. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +20 -9
  268. package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +49 -9
  269. package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +3 -8
  270. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  271. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +25 -11
  272. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +24 -6
  273. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
  274. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +33 -19
  275. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +38 -28
  276. package/es/editor/html/wang-editor/wang-editor.d.ts +23 -8
  277. package/es/editor/html/wang-editor/wang-editor.mjs +5 -5
  278. package/es/editor/index.mjs +11 -0
  279. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +18 -9
  280. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
  281. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.d.ts +11 -0
  282. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +364 -0
  283. package/es/editor/map-picker/index.d.ts +3 -0
  284. package/es/editor/map-picker/index.mjs +5 -0
  285. package/es/editor/map-picker/map-picker-editor.controller.d.ts +10 -0
  286. package/es/editor/map-picker/map-picker-editor.controller.mjs +7 -0
  287. package/es/editor/map-picker/map-picker-editor.provider.d.ts +14 -0
  288. package/es/editor/map-picker/map-picker-editor.provider.mjs +22 -0
  289. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  290. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
  291. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +42 -22
  292. package/es/editor/not-supported-editor/not-supported-editor.d.ts +2 -2
  293. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +22 -9
  294. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +1 -1
  295. package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +16 -8
  296. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  297. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +21 -9
  298. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +20 -2
  299. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +43 -10
  300. package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  301. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +19 -8
  302. package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
  303. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +28 -8
  304. package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +2 -2
  305. package/es/editor/span/span/span.d.ts +15 -3
  306. package/es/editor/span/span-link/span-link.d.ts +16 -8
  307. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
  308. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +18 -9
  309. package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
  310. package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.d.ts +68 -0
  311. package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.mjs +70 -0
  312. package/es/editor/switch/index.d.ts +1 -0
  313. package/es/editor/switch/index.mjs +1 -0
  314. package/es/editor/switch/switch-editor.provider.d.ts +1 -0
  315. package/es/editor/switch/switch-editor.provider.mjs +5 -1
  316. package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +16 -8
  317. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +21 -8
  318. package/es/editor/text-box/input/input.css +1 -1
  319. package/es/editor/text-box/input/input.d.ts +25 -9
  320. package/es/editor/text-box/input/input.mjs +4 -4
  321. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +28 -14
  322. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
  323. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +31 -16
  324. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +1 -1
  325. package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +17 -8
  326. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +27 -13
  327. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +17 -9
  328. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
  329. package/es/ibiz-vue3.mjs +2 -0
  330. package/es/index.d.ts +1 -0
  331. package/es/index.mjs +4 -0
  332. package/es/locale/en/index.d.ts +28 -2
  333. package/es/locale/en/index.mjs +17 -4
  334. package/es/locale/zh-CN/index.d.ts +28 -2
  335. package/es/locale/zh-CN/index.mjs +17 -4
  336. package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +23 -0
  337. package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.39_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +53 -81
  338. package/es/panel-component/app-switch/app-switch.controller.d.ts +116 -0
  339. package/es/panel-component/app-switch/app-switch.controller.mjs +276 -0
  340. package/es/panel-component/app-switch/app-switch.css +1 -0
  341. package/es/panel-component/app-switch/app-switch.d.ts +46 -0
  342. package/es/panel-component/app-switch/app-switch.mjs +74 -0
  343. package/es/panel-component/app-switch/app-switch.provider.d.ts +7 -0
  344. package/es/panel-component/app-switch/app-switch.provider.mjs +21 -0
  345. package/es/panel-component/app-switch/app-switch.state.d.ts +23 -0
  346. package/es/panel-component/app-switch/app-switch.state.mjs +30 -0
  347. package/es/panel-component/app-switch/index.d.ts +3 -0
  348. package/es/panel-component/app-switch/index.mjs +18 -0
  349. package/es/panel-component/auth-captcha/auth-captcha.controller.d.ts +5 -6
  350. package/es/panel-component/auth-captcha/auth-captcha.controller.mjs +2 -2
  351. package/es/panel-component/auth-captcha/auth-captcha.d.ts +17 -0
  352. package/es/panel-component/auth-captcha/auth-captcha.mjs +6 -0
  353. package/es/panel-component/auth-captcha/auth-captcha.state.d.ts +13 -11
  354. package/es/panel-component/auth-captcha/auth-captcha.state.mjs +11 -10
  355. package/es/panel-component/auth-sso/auth-sso.d.ts +17 -0
  356. package/es/panel-component/auth-sso/auth-sso.mjs +6 -0
  357. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +17 -0
  358. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
  359. package/es/panel-component/coop-pos/coop-pos.controller.d.ts +8 -0
  360. package/es/panel-component/coop-pos/coop-pos.controller.mjs +2 -0
  361. package/es/panel-component/coop-pos/coop-pos.d.ts +24 -9
  362. package/es/panel-component/coop-pos/coop-pos.mjs +6 -0
  363. package/es/panel-component/coop-pos/coop-pos.state.d.ts +14 -8
  364. package/es/panel-component/coop-pos/coop-pos.state.mjs +7 -8
  365. package/es/panel-component/coop-pos/index.d.ts +2 -2
  366. package/es/panel-component/data-import/data-import-shell.d.ts +17 -0
  367. package/es/panel-component/data-import/data-import-shell.mjs +6 -0
  368. package/es/panel-component/global-search/global-search.controller.d.ts +172 -0
  369. package/es/panel-component/global-search/global-search.controller.mjs +343 -0
  370. package/es/panel-component/global-search/global-search.css +1 -0
  371. package/es/panel-component/global-search/global-search.d.ts +58 -0
  372. package/es/panel-component/global-search/global-search.mjs +247 -0
  373. package/es/panel-component/global-search/global-search.provider.d.ts +14 -0
  374. package/es/panel-component/global-search/global-search.provider.mjs +21 -0
  375. package/es/panel-component/global-search/global-search.state.d.ts +75 -0
  376. package/es/panel-component/global-search/global-search.state.mjs +51 -0
  377. package/es/panel-component/global-search/index.d.ts +33 -0
  378. package/es/panel-component/global-search/index.mjs +15 -0
  379. package/es/panel-component/global-search/virtual-list/virtual-list.css +1 -0
  380. package/es/panel-component/global-search/virtual-list/virtual-list.d.ts +89 -0
  381. package/es/panel-component/global-search/virtual-list/virtual-list.mjs +121 -0
  382. package/es/panel-component/index-actions/index-actions.d.ts +18 -0
  383. package/es/panel-component/index-actions/index-actions.mjs +6 -0
  384. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
  385. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +78 -0
  386. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  387. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +43 -0
  388. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +80 -0
  389. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
  390. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
  391. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
  392. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
  393. package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
  394. package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
  395. package/es/panel-component/index.mjs +6 -0
  396. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +13 -7
  397. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +13 -7
  398. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +20 -0
  399. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +6 -0
  400. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +2 -1
  401. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +2 -1
  402. package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +55 -59
  403. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +56 -57
  404. package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
  405. package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
  406. package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +14 -17
  407. package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +13 -13
  408. package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +33 -24
  409. package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +35 -25
  410. package/es/panel-component/nav-tabs/nav-tabs.d.ts +17 -0
  411. package/es/panel-component/nav-tabs/nav-tabs.mjs +9 -1
  412. package/es/panel-component/nav-tabs/nav-tabs.state.d.ts +37 -12
  413. package/es/panel-component/nav-tabs/nav-tabs.state.mjs +6 -12
  414. package/es/panel-component/panel-app-header/panel-app-header.d.ts +17 -0
  415. package/es/panel-component/panel-app-header/panel-app-header.mjs +6 -0
  416. package/es/panel-component/panel-app-login-view/panel-app-login-view.d.ts +17 -0
  417. package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +6 -0
  418. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +6 -5
  419. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +4 -3
  420. package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
  421. package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
  422. package/es/panel-component/panel-app-title/panel-app-title.mjs +42 -19
  423. package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +18 -31
  424. package/es/panel-component/panel-app-title/panel-app-title.state.mjs +17 -27
  425. package/es/panel-component/panel-button/panel-button.controller.d.ts +15 -5
  426. package/es/panel-component/panel-button/panel-button.controller.mjs +14 -3
  427. package/es/panel-component/panel-button/panel-button.d.ts +17 -0
  428. package/es/panel-component/panel-button/panel-button.mjs +6 -0
  429. package/es/panel-component/panel-button/panel-button.state.d.ts +5 -6
  430. package/es/panel-component/panel-button/panel-button.state.mjs +5 -6
  431. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
  432. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
  433. package/es/panel-component/panel-button-list/panel-button-list.d.ts +19 -0
  434. package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
  435. package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
  436. package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
  437. package/es/panel-component/panel-exp-header/panel-exp-header.d.ts +17 -0
  438. package/es/panel-component/panel-exp-header/panel-exp-header.mjs +6 -0
  439. package/es/panel-component/panel-index-view-search/panel-index-view-search.d.ts +17 -0
  440. package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +6 -0
  441. package/es/panel-component/panel-remember-me/panel-remember-me.d.ts +17 -0
  442. package/es/panel-component/panel-remember-me/panel-remember-me.mjs +6 -0
  443. package/es/panel-component/panel-static-carousel/panel-static-carousel.d.ts +20 -0
  444. package/es/panel-component/panel-static-carousel/panel-static-carousel.mjs +6 -0
  445. package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
  446. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +3 -4
  447. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +3 -4
  448. package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
  449. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
  450. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +3 -4
  451. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +3 -4
  452. package/es/panel-component/panel-view-content/panel-view-content.d.ts +19 -0
  453. package/es/panel-component/panel-view-content/panel-view-content.mjs +6 -0
  454. package/es/panel-component/panel-view-header/panel-view-header.d.ts +17 -0
  455. package/es/panel-component/panel-view-header/panel-view-header.mjs +6 -0
  456. package/es/panel-component/searchform-buttons/index.d.ts +2 -1
  457. package/es/panel-component/searchform-buttons/searchform-buttons.controller.d.ts +19 -10
  458. package/es/panel-component/searchform-buttons/searchform-buttons.controller.mjs +23 -10
  459. package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
  460. package/es/panel-component/searchform-buttons/searchform-buttons.d.ts +19 -1
  461. package/es/panel-component/searchform-buttons/searchform-buttons.mjs +17 -3
  462. package/es/panel-component/short-cut/index.d.ts +2 -2
  463. package/es/panel-component/short-cut/short-cut.d.ts +18 -1
  464. package/es/panel-component/short-cut/short-cut.mjs +6 -0
  465. package/es/panel-component/split-container/split-container.controller.d.ts +11 -12
  466. package/es/panel-component/split-container/split-container.controller.mjs +9 -10
  467. package/es/panel-component/split-container/split-container.d.ts +17 -0
  468. package/es/panel-component/split-container/split-container.mjs +6 -0
  469. package/es/panel-component/split-container/split-container.state.d.ts +4 -8
  470. package/es/panel-component/split-container/split-container.state.mjs +4 -8
  471. package/es/panel-component/user-action/user-action.d.ts +20 -0
  472. package/es/panel-component/user-action/user-action.mjs +6 -0
  473. package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +2 -2
  474. package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +1 -1
  475. package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +1 -1
  476. package/es/panel-component/user-message/user-message.css +1 -1
  477. package/es/panel-component/user-message/user-message.d.ts +17 -0
  478. package/es/panel-component/user-message/user-message.mjs +7 -1
  479. package/es/panel-component/view-message/view-message.d.ts +19 -0
  480. package/es/panel-component/view-message/view-message.mjs +6 -0
  481. package/es/panel-component/view-msg-pos/view-msg-pos.controller.d.ts +2 -4
  482. package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +2 -4
  483. package/es/panel-component/view-msg-pos/view-msg-pos.d.ts +18 -0
  484. package/es/panel-component/view-msg-pos/view-msg-pos.mjs +6 -0
  485. package/es/util/app-modal/app-modal-component.d.ts +1 -1
  486. package/es/util/app-util/app-util.d.ts +7 -0
  487. package/es/util/app-util/app-util.mjs +14 -4
  488. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  489. package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
  490. package/es/util/open-view-util/open-view-util.mjs +2 -0
  491. package/es/view/403-view/403-view.mjs +1 -1
  492. package/es/view/404-view/404-view.mjs +1 -1
  493. package/es/view/share-view/share-view.d.ts +1 -1
  494. package/es/view/sub-app-ref-view/index.d.ts +7 -7
  495. package/es/view/sub-app-ref-view/sub-app-ref-view.d.ts +7 -7
  496. package/es/view/wf-step-trace-view/index.d.ts +7 -7
  497. package/es/view/wf-step-trace-view/wf-step-trace-view.d.ts +7 -7
  498. package/es/view-engine/index.d.ts +1 -0
  499. package/es/view-engine/index.mjs +6 -1
  500. package/es/view-engine/md-custom-view.engine.d.ts +81 -0
  501. package/es/view-engine/md-custom-view.engine.mjs +206 -0
  502. package/es/view-engine/tab-exp-view.engine.mjs +7 -2
  503. package/es/web-app/App.mjs +2 -0
  504. package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
  505. package/es/web-app/guard/auth-guard/auth-guard.mjs +41 -3
  506. package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
  507. package/es/web-app/main.mjs +1 -0
  508. package/lib/_virtual/index.cjs +5 -0
  509. package/lib/common/control-navigation/control-navigation.cjs +20 -1
  510. package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +2 -2
  511. package/lib/common/control-navigation/provider/index.cjs +5 -4
  512. package/lib/common/control-navigation/provider/map-navigation.provider.cjs +52 -0
  513. package/lib/common/control-navigation/provider/navigation-base.provider.cjs +9 -4
  514. package/lib/common/map-chart/map-chart.cjs +2 -6
  515. package/lib/common/map-chart/map-chart.util.cjs +1 -1
  516. package/lib/common/map-chart-user/map-chart-user.util.cjs +3 -2
  517. package/lib/common/map-chart-user/map-user-manager.cjs +2 -2
  518. package/lib/control/app-menu/app-menu.cjs +33 -6
  519. package/lib/control/app-menu/app-menu.css +1 -1
  520. package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +19 -0
  521. package/lib/control/calendar/calendar.cjs +26 -1
  522. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +6 -2
  523. package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +1 -1
  524. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +6 -1
  525. package/lib/control/caption-bar/caption-bar.cjs +13 -0
  526. package/lib/control/chart/chart.cjs +36 -1
  527. package/lib/control/context-menu/context-menu.cjs +27 -6
  528. package/lib/control/dashboard/dashboard.cjs +13 -0
  529. package/lib/control/data-view/data-view.cjs +112 -50
  530. package/lib/control/drbar/drbar.cjs +23 -0
  531. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  532. package/lib/control/drtab/drtab.cjs +26 -0
  533. package/lib/control/drtab/flow-drtab.cjs +146 -0
  534. package/lib/control/drtab/flow-drtab.css +1 -0
  535. package/lib/control/exp-bar/calendar-exp-bar/calendar-exp-bar.cjs +20 -0
  536. package/lib/control/exp-bar/chart-exp-bar/chart-exp-bar.cjs +20 -0
  537. package/lib/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.cjs +20 -0
  538. package/lib/control/exp-bar/grid-exp-bar/grid-exp-bar.cjs +20 -0
  539. package/lib/control/exp-bar/list-exp-bar/list-exp-bar.cjs +20 -0
  540. package/lib/control/exp-bar/tree-exp-bar/tree-exp-bar.cjs +23 -0
  541. package/lib/control/form/edit-form/edit-form.cjs +23 -0
  542. package/lib/control/form/form/form.cjs +10 -4
  543. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +2 -1
  544. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  545. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +1 -0
  546. package/lib/control/form/search-form/advance-search/advance-search.cjs +107 -0
  547. package/lib/control/form/search-form/advance-search/advance-search.css +1 -0
  548. package/lib/control/form/search-form/search-form.cjs +39 -0
  549. package/lib/control/gantt/gantt.cjs +24 -0
  550. package/lib/control/gantt/gantt.css +1 -1
  551. package/lib/control/grid/grid/grid-control.util.cjs +169 -67
  552. package/lib/control/grid/grid/grid.cjs +129 -44
  553. package/lib/control/grid/grid/grid.css +1 -1
  554. package/lib/control/grid/grid/index.cjs +8 -6
  555. package/lib/control/grid/grid-column/grid-column-header/grid-column-header.cjs +144 -0
  556. package/lib/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -0
  557. package/lib/control/grid/grid-column/grid-column-header/index.cjs +17 -0
  558. package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.cjs +127 -0
  559. package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
  560. package/lib/control/grid/grid-column/grid-field-column/attachment-column/file-util.cjs +134 -0
  561. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +11 -2
  562. package/lib/control/grid/grid-column/grid-field-column/index.cjs +3 -1
  563. package/lib/control/grid/grid-column/index.cjs +2 -0
  564. package/lib/control/grid/index.cjs +2 -0
  565. package/lib/control/index.cjs +106 -102
  566. package/lib/control/kanban/kanban.cjs +23 -0
  567. package/lib/control/list/list.cjs +75 -27
  568. package/lib/control/list/list.css +1 -1
  569. package/lib/control/map/map.cjs +59 -23
  570. package/lib/control/map/map.css +1 -1
  571. package/lib/control/medit-view-panel/medit-view-panel.cjs +10 -0
  572. package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
  573. package/lib/control/pickup-view-panel/pickup-view-panel.cjs +19 -5
  574. package/lib/control/report-panel/report-panel.cjs +17 -0
  575. package/lib/control/search-bar/search-bar.cjs +14 -1
  576. package/lib/control/search-bar/search-bar.css +1 -1
  577. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
  578. package/lib/control/toolbar/toolbar.cjs +27 -7
  579. package/lib/control/toolbar/toolbar.css +1 -1
  580. package/lib/control/tree/tree.cjs +73 -14
  581. package/lib/control/tree/tree.css +1 -1
  582. package/lib/control/tree-grid/tree-grid.cjs +30 -6
  583. package/lib/control/tree-grid-ex/tree-grid-ex.cjs +21 -0
  584. package/lib/control/view-panel/index.cjs +23 -0
  585. package/lib/control/view-panel/view-panel.cjs +74 -0
  586. package/lib/control/view-panel/view-panel.css +1 -0
  587. package/lib/control/view-panel/view-panel.provider.cjs +16 -0
  588. package/lib/control/wizard-panel/wizard-panel.cjs +16 -1
  589. package/lib/editor/array/ibiz-array/ibiz-array.cjs +1 -1
  590. package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -1
  591. package/lib/editor/carousel/ibiz-carousel/ibiz-carousel.cjs +1 -1
  592. package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
  593. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
  594. package/lib/editor/code/monaco-editor/monaco-editor.cjs +16 -20
  595. package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
  596. package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
  597. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +1 -1
  598. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -3
  599. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +26 -5
  600. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
  601. package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.cjs +1 -1
  602. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +4 -3
  603. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  604. package/lib/editor/date-picker/date-picker-editor.controller.cjs +3 -3
  605. package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +1 -1
  606. package/lib/editor/date-range-select/date-range-select-picker/date-range-select.cjs +2 -7
  607. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +24 -6
  608. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  609. package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +37 -27
  610. package/lib/editor/html/wang-editor/wang-editor.cjs +5 -5
  611. package/lib/editor/index.cjs +11 -0
  612. package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +366 -0
  613. package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
  614. package/lib/editor/map-picker/index.cjs +11 -0
  615. package/lib/editor/map-picker/map-picker-editor.controller.cjs +9 -0
  616. package/lib/editor/map-picker/map-picker-editor.provider.cjs +24 -0
  617. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +42 -22
  618. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  619. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +1 -1
  620. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +20 -2
  621. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  622. package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +5 -1
  623. package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  624. package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
  625. package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.cjs +72 -0
  626. package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
  627. package/lib/editor/switch/index.cjs +2 -0
  628. package/lib/editor/switch/switch-editor.provider.cjs +5 -1
  629. package/lib/editor/text-box/input/input.cjs +4 -4
  630. package/lib/editor/text-box/input/input.css +1 -1
  631. package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
  632. package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +1 -1
  633. package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +1 -1
  634. package/lib/ibiz-vue3.cjs +4 -2
  635. package/lib/index.cjs +140 -132
  636. package/lib/locale/en/index.cjs +17 -4
  637. package/lib/locale/zh-CN/index.cjs +17 -4
  638. package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +27 -0
  639. package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.39_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +53 -81
  640. package/lib/panel-component/app-switch/app-switch.cjs +76 -0
  641. package/lib/panel-component/app-switch/app-switch.controller.cjs +278 -0
  642. package/lib/panel-component/app-switch/app-switch.css +1 -0
  643. package/lib/panel-component/app-switch/app-switch.provider.cjs +23 -0
  644. package/lib/panel-component/app-switch/app-switch.state.cjs +32 -0
  645. package/lib/panel-component/app-switch/index.cjs +23 -0
  646. package/lib/panel-component/auth-captcha/auth-captcha.cjs +6 -0
  647. package/lib/panel-component/auth-captcha/auth-captcha.controller.cjs +2 -2
  648. package/lib/panel-component/auth-captcha/auth-captcha.state.cjs +11 -10
  649. package/lib/panel-component/auth-sso/auth-sso.cjs +6 -0
  650. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
  651. package/lib/panel-component/coop-pos/coop-pos.cjs +6 -0
  652. package/lib/panel-component/coop-pos/coop-pos.controller.cjs +2 -0
  653. package/lib/panel-component/coop-pos/coop-pos.state.cjs +7 -8
  654. package/lib/panel-component/data-import/data-import-shell.cjs +6 -0
  655. package/lib/panel-component/global-search/global-search.cjs +249 -0
  656. package/lib/panel-component/global-search/global-search.controller.cjs +345 -0
  657. package/lib/panel-component/global-search/global-search.css +1 -0
  658. package/lib/panel-component/global-search/global-search.provider.cjs +23 -0
  659. package/lib/panel-component/global-search/global-search.state.cjs +53 -0
  660. package/lib/panel-component/global-search/index.cjs +20 -0
  661. package/lib/panel-component/global-search/virtual-list/virtual-list.cjs +123 -0
  662. package/lib/panel-component/global-search/virtual-list/virtual-list.css +1 -0
  663. package/lib/panel-component/index-actions/index-actions.cjs +6 -0
  664. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +82 -0
  665. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +80 -0
  666. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  667. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
  668. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
  669. package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
  670. package/lib/panel-component/index.cjs +44 -38
  671. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +6 -0
  672. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +13 -7
  673. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +2 -1
  674. package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
  675. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +56 -57
  676. package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +13 -13
  677. package/lib/panel-component/nav-tabs/nav-tabs.cjs +9 -1
  678. package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +35 -25
  679. package/lib/panel-component/nav-tabs/nav-tabs.state.cjs +6 -12
  680. package/lib/panel-component/panel-app-header/panel-app-header.cjs +6 -0
  681. package/lib/panel-component/panel-app-login-view/panel-app-login-view.cjs +6 -0
  682. package/lib/panel-component/panel-app-title/panel-app-title.cjs +42 -19
  683. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +4 -3
  684. package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
  685. package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +17 -27
  686. package/lib/panel-component/panel-button/panel-button.cjs +6 -0
  687. package/lib/panel-component/panel-button/panel-button.controller.cjs +14 -3
  688. package/lib/panel-component/panel-button/panel-button.state.cjs +5 -6
  689. package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
  690. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
  691. package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
  692. package/lib/panel-component/panel-exp-header/panel-exp-header.cjs +6 -0
  693. package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +6 -0
  694. package/lib/panel-component/panel-remember-me/panel-remember-me.cjs +6 -0
  695. package/lib/panel-component/panel-static-carousel/panel-static-carousel.cjs +6 -0
  696. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
  697. package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +3 -4
  698. package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +3 -4
  699. package/lib/panel-component/panel-view-content/panel-view-content.cjs +6 -0
  700. package/lib/panel-component/panel-view-header/panel-view-header.cjs +6 -0
  701. package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +17 -3
  702. package/lib/panel-component/searchform-buttons/searchform-buttons.controller.cjs +23 -10
  703. package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
  704. package/lib/panel-component/short-cut/short-cut.cjs +6 -0
  705. package/lib/panel-component/split-container/split-container.cjs +6 -0
  706. package/lib/panel-component/split-container/split-container.controller.cjs +9 -10
  707. package/lib/panel-component/split-container/split-container.state.cjs +4 -8
  708. package/lib/panel-component/user-action/user-action.cjs +6 -0
  709. package/lib/panel-component/user-message/user-message.cjs +7 -1
  710. package/lib/panel-component/user-message/user-message.css +1 -1
  711. package/lib/panel-component/view-message/view-message.cjs +6 -0
  712. package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +6 -0
  713. package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +2 -4
  714. package/lib/util/app-util/app-util.cjs +13 -3
  715. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  716. package/lib/util/open-view-util/open-view-util.cjs +2 -0
  717. package/lib/view/403-view/403-view.cjs +1 -1
  718. package/lib/view/404-view/404-view.cjs +1 -1
  719. package/lib/view-engine/index.cjs +6 -0
  720. package/lib/view-engine/md-custom-view.engine.cjs +208 -0
  721. package/lib/view-engine/tab-exp-view.engine.cjs +7 -2
  722. package/lib/web-app/App.cjs +2 -0
  723. package/lib/web-app/guard/auth-guard/auth-guard.cjs +40 -2
  724. package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
  725. package/lib/web-app/main.cjs +1 -0
  726. package/package.json +13 -12
  727. package/dist/chart-WOVYJZdX.js +0 -1
  728. package/dist/ibiz-markdown-editor-6LwfUyrp.js +0 -1
  729. package/dist/index-AFjh74yw.js +0 -4
  730. package/dist/index-JACr82NV.js +0 -1
  731. package/dist/index-rzZcg_Jf.js +0 -1
  732. package/dist/map-chart-eydeBW7e.js +0 -1
  733. package/dist/map-chart-user-3inZInah.js +0 -1
  734. package/dist/wang-editor-fgIF44E-.js +0 -1
@@ -3,21 +3,21 @@
3
3
  const defaultNamespace = 'ibiz';
4
4
  const statePrefix = 'is-';
5
5
  /**
6
- * css bem 命名规则拼接
6
+ * @description 拼接css bem命名
7
+ * @param {string} namespace 命名空间
8
+ * @param {string} block 块
9
+ * @param {string} [blockSuffix] 块后缀
10
+ * @param {string} [element] 元素
11
+ * @param {string} [modifier] 修饰符
12
+ * @example
13
+ * ```typescript
7
14
  * _bem('ibiz', 'layout') => ibiz-layout
8
15
  * _bem('ibiz', 'layout', '', 'title') => ibiz-layout__title
9
16
  * _bem('ibiz', 'layout', '', '', 'right') => ibiz-layout--right
10
17
  * _bem('ibiz', 'layout', '', 'title', 'right') => ibiz-layout__title--right
11
18
  * _bem('ibiz', 'layout', 'header', 'title', 'right') => ibiz-layout-header__title--right
12
- *
13
- * @author chitanda
14
- * @date 2022-09-06 11:09:42
15
- * @param {string} namespace 命名空间
16
- * @param {string} block 块
17
- * @param {string} blockSuffix 块后缀
18
- * @param {string} element 元素
19
- * @param {string} modifier 修饰符
20
- * @return {*} {string}
19
+ * ```
20
+ * @returns {*} {string}
21
21
  */
22
22
  function _bem(namespace, block, blockSuffix, element, modifier) {
23
23
  let cls = `${namespace}-${block}`;
@@ -33,68 +33,54 @@ function _bem(namespace, block, blockSuffix, element, modifier) {
33
33
  return cls;
34
34
  }
35
35
  /**
36
- * 全局样式处理命名空间
37
- *
38
- * @author chitanda
39
- * @date 2022-09-06 11:09:50
36
+ * @description 全局样式处理命名空间
40
37
  * @export
41
38
  * @class Namespace
42
39
  */
43
40
  class Namespace {
44
41
  /**
45
42
  * Creates an instance of Namespace.
46
- *
47
- * @author chitanda
48
- * @date 2022-09-06 12:09:12
49
43
  * @param {string} block 当前命名空间的根模块,例如组件的名称
50
44
  * @param {string} [namespace] 指定命名空间,未指定使用默认值 ibiz
45
+ * @memberof Namespace
51
46
  */
52
47
  constructor(block, namespace) {
53
48
  this.block = block;
54
49
  this.namespace = namespace || defaultNamespace;
55
50
  }
56
51
  /**
57
- * namespace-block
58
- * namespace-block-blockSuffix
59
- *
60
- * @author chitanda
61
- * @date 2022-09-06 12:09:08
52
+ * @description namespace-block、namespace-block-blockSuffix
62
53
  * @param {string} [blockSuffix='']
63
- * @return {*} {string}
54
+ * @returns {*} {string}
55
+ * @memberof Namespace
64
56
  */
65
57
  b(blockSuffix = '') {
66
58
  return _bem(this.namespace, this.block, blockSuffix, '', '');
67
59
  }
68
60
  /**
69
- * namespace-block__element
70
- *
71
- * @author chitanda
72
- * @date 2022-09-06 12:09:48
61
+ * @description namespace-block__element
73
62
  * @param {string} [element]
74
- * @return {*} {string}
63
+ * @returns {*} {string}
64
+ * @memberof Namespace
75
65
  */
76
66
  e(element) {
77
67
  return element ? _bem(this.namespace, this.block, '', element, '') : '';
78
68
  }
79
69
  /**
80
- * namespace-block--modifier
81
- *
82
- * @author chitanda
83
- * @date 2022-09-06 12:09:37
70
+ * @description namespace-block--modifier
84
71
  * @param {string} [modifier]
85
- * @return {*} {string}
72
+ * @returns {*} {string}
73
+ * @memberof Namespace
86
74
  */
87
75
  m(modifier) {
88
76
  return modifier ? _bem(this.namespace, this.block, '', '', modifier) : '';
89
77
  }
90
78
  /**
91
- * namespace-block-blockSuffix__element
92
- *
93
- * @author chitanda
94
- * @date 2022-09-06 12:09:52
79
+ * @description namespace-block-blockSuffix__element
95
80
  * @param {string} [blockSuffix]
96
81
  * @param {string} [element]
97
- * @return {*} {string}
82
+ * @returns {*} {string}
83
+ * @memberof Namespace
98
84
  */
99
85
  be(blockSuffix, element) {
100
86
  return blockSuffix && element
@@ -102,13 +88,11 @@ class Namespace {
102
88
  : '';
103
89
  }
104
90
  /**
105
- * namespace-block__element--modifier
106
- *
107
- * @author chitanda
108
- * @date 2022-09-06 12:09:19
91
+ * @description namespace-block__element--modifier
109
92
  * @param {string} [element]
110
93
  * @param {string} [modifier]
111
- * @return {*} {string}
94
+ * @returns {*} {string}
95
+ * @memberof Namespace
112
96
  */
113
97
  em(element, modifier) {
114
98
  return element && modifier
@@ -116,13 +100,11 @@ class Namespace {
116
100
  : '';
117
101
  }
118
102
  /**
119
- * namespace-block-blockSuffix--modifier
120
- *
121
- * @author chitanda
122
- * @date 2022-09-06 12:09:59
103
+ * @description namespace-block-blockSuffix--modifier
123
104
  * @param {string} [blockSuffix]
124
105
  * @param {string} [modifier]
125
- * @return {*} {string}
106
+ * @returns {*} {string}
107
+ * @memberof Namespace
126
108
  */
127
109
  bm(blockSuffix, modifier) {
128
110
  return blockSuffix && modifier
@@ -130,14 +112,12 @@ class Namespace {
130
112
  : '';
131
113
  }
132
114
  /**
133
- * namespace-block-blockSuffix__element--modifier
134
- *
135
- * @author chitanda
136
- * @date 2022-09-06 12:09:37
115
+ * @description namespace-block-blockSuffix__element--modifier
137
116
  * @param {string} [blockSuffix]
138
117
  * @param {string} [element]
139
118
  * @param {string} [modifier]
140
- * @return {*} {string}
119
+ * @returns {*} {string}
120
+ * @memberof Namespace
141
121
  */
142
122
  bem(blockSuffix, element, modifier) {
143
123
  return blockSuffix && element && modifier
@@ -145,27 +125,25 @@ class Namespace {
145
125
  : '';
146
126
  }
147
127
  /**
148
- * 返回状态 class
149
- *
150
- * is('loading', false) => '';
151
- * is('loading', true) => 'is-loading';
152
- *
153
- * @author chitanda
154
- * @date 2022-09-06 12:09:57
128
+ * @description 返回状态类
155
129
  * @param {string} name
156
130
  * @param {boolean} [state]
157
- * @return {*} {string}
131
+ * @example
132
+ * ```typescript
133
+ * is('loading', false) => '';
134
+ * is('loading', true) => 'is-loading';
135
+ * ```
136
+ * @returns {*} {string}
137
+ * @memberof Namespace
158
138
  */
159
139
  is(name, state) {
160
140
  return name && state ? `${statePrefix}${name}` : '';
161
141
  }
162
142
  /**
163
- * 生成使用到的 css 变量 style 对象
164
- *
165
- * @author chitanda
166
- * @date 2022-09-06 15:09:41
143
+ * @description 生成使用到的 css 变量 style 对象
167
144
  * @param {Record<string, string>} object
168
- * @return {*} {Record<string, string>}
145
+ * @returns {*} {Record<string, string>}
146
+ * @memberof Namespace
169
147
  */
170
148
  cssVar(object) {
171
149
  const styles = {};
@@ -177,12 +155,10 @@ class Namespace {
177
155
  return styles;
178
156
  }
179
157
  /**
180
- * 生成使用到的 css block 变量 style 对象
181
- *
182
- * @author chitanda
183
- * @date 2022-09-06 15:09:03
158
+ * @description 生成使用到的 css block 变量 style 对象
184
159
  * @param {Record<string, string>} object
185
- * @return {*} {Record<string, string>}
160
+ * @returns {*} {Record<string, string>}
161
+ * @memberof Namespace
186
162
  */
187
163
  cssVarBlock(object) {
188
164
  const styles = {};
@@ -194,23 +170,19 @@ class Namespace {
194
170
  return styles;
195
171
  }
196
172
  /**
197
- * 生成 css var 变量名称
198
- *
199
- * @author chitanda
200
- * @date 2022-09-06 15:09:21
173
+ * @description 生成 css var 变量名称
201
174
  * @param {string} name
202
- * @return {*} {string}
175
+ * @returns {*} {string}
176
+ * @memberof Namespace
203
177
  */
204
178
  cssVarName(name) {
205
179
  return `--${this.namespace}-${name}`;
206
180
  }
207
181
  /**
208
- * 生成块 css var 变量名称
209
- *
210
- * @author chitanda
211
- * @date 2022-09-06 15:09:35
182
+ * @description 生成块 css var 变量名称
212
183
  * @param {string} name
213
- * @return {*} {string}
184
+ * @returns {*} {string}
185
+ * @memberof Namespace
214
186
  */
215
187
  cssVarBlockName(name) {
216
188
  return `--${this.namespace}-${this.block}-${name}`;
@@ -0,0 +1,76 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vueRouter = require('vue-router');
5
+ var core = require('@ibiz-template/core');
6
+ var vue3Util = require('@ibiz-template/vue3-util');
7
+ var appSwitch_controller = require('./app-switch.controller.cjs');
8
+ require('./app-switch.css');
9
+
10
+ "use strict";
11
+ const AppSwitch = /* @__PURE__ */ vue.defineComponent({
12
+ name: "IBizAppSwitch",
13
+ props: {
14
+ /**
15
+ * @description 应用切换器模型数据
16
+ */
17
+ modelData: {
18
+ type: Object,
19
+ required: true
20
+ },
21
+ /**
22
+ * @description 应用切换器控制器
23
+ */
24
+ controller: {
25
+ type: appSwitch_controller.AppSwitchController,
26
+ required: true
27
+ }
28
+ },
29
+ setup(props) {
30
+ const ns = vue3Util.useNamespace("app-switch");
31
+ const {
32
+ state
33
+ } = props.controller;
34
+ const router = vueRouter.useRouter();
35
+ const handleClick = (id) => {
36
+ props.controller.switchMicroApp(id, router);
37
+ };
38
+ return {
39
+ ns,
40
+ state,
41
+ handleClick
42
+ };
43
+ },
44
+ render() {
45
+ if (!this.state.visible) {
46
+ return null;
47
+ }
48
+ return vue.createVNode(vue.resolveComponent("el-dropdown"), {
49
+ "class": this.ns.b(),
50
+ "trigger": "click",
51
+ "onCommand": (command) => this.handleClick(command)
52
+ }, {
53
+ default: () => vue.createVNode("span", {
54
+ "class": this.ns.e("icon")
55
+ }, [vue.createVNode("i", {
56
+ "class": "fa fa-th",
57
+ "aria-hidden": "true"
58
+ }, null)]),
59
+ dropdown: () => vue.createVNode(vue.resolveComponent("el-dropdown-menu"), {
60
+ "class": [this.ns.e("dropdown")]
61
+ }, {
62
+ default: () => [this.state.items.length > 0 ? this.state.items.map((item) => {
63
+ return vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
64
+ "class": [this.ns.e("item"), this.ns.is("active", this.state.activeMicroAppId === item.id)],
65
+ "title": core.showTitle(item.caption),
66
+ "command": item.id
67
+ }, {
68
+ default: () => [item.caption]
69
+ });
70
+ }) : vue.createVNode(vue.resolveComponent("iBizNoData"), null, null)]
71
+ })
72
+ });
73
+ }
74
+ });
75
+
76
+ exports.AppSwitch = AppSwitch;
@@ -0,0 +1,278 @@
1
+ 'use strict';
2
+
3
+ var qxUtil = require('qx-util');
4
+ var runtime = require('@ibiz-template/runtime');
5
+ var vue3Util = require('@ibiz-template/vue3-util');
6
+ var appSwitch_state = require('./app-switch.state.cjs');
7
+
8
+ "use strict";
9
+ var __defProp = Object.defineProperty;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __publicField = (obj, key, value) => {
12
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
13
+ return value;
14
+ };
15
+ class AppSwitchController extends runtime.PanelItemController {
16
+ constructor() {
17
+ super(...arguments);
18
+ /**
19
+ * @description 自定义补充参数
20
+ * @protected
21
+ * @type {IData}
22
+ * @memberof AppSwitchController
23
+ */
24
+ __publicField(this, "rawItemParams", {});
25
+ /**
26
+ * @description 应用功能组件服务
27
+ * @protected
28
+ * @type {(UtilService | undefined)}
29
+ * @memberof AppSwitchController
30
+ */
31
+ __publicField(this, "util");
32
+ /**
33
+ * @description 数据来源
34
+ * @type {('UTIL' | 'REFAPP')} 功能组件服务 | 引用子应用集
35
+ * @memberof AppSwitchController
36
+ */
37
+ __publicField(this, "sourceType", "REFAPP");
38
+ }
39
+ /**
40
+ * @description 获取当前视图
41
+ * @readonly
42
+ * @type {IViewController}
43
+ * @memberof AppSwitchController
44
+ */
45
+ get view() {
46
+ return this.panel.view;
47
+ }
48
+ /**
49
+ * @description 上下文对象
50
+ * @readonly
51
+ * @type {IContext}
52
+ * @memberof AppSwitchController
53
+ */
54
+ get context() {
55
+ return this.panel.context;
56
+ }
57
+ /**
58
+ * @description 创建状态对象
59
+ * @protected
60
+ * @returns {*} {AppSwitchState}
61
+ * @memberof AppSwitchController
62
+ */
63
+ createState() {
64
+ var _a;
65
+ return new appSwitch_state.AppSwitchState((_a = this.parent) == null ? void 0 : _a.state);
66
+ }
67
+ /**
68
+ * @description 初始化
69
+ * @protected
70
+ * @returns {*} {Promise<void>}
71
+ * @memberof AppSwitchController
72
+ */
73
+ async onInit() {
74
+ await super.onInit();
75
+ this.handleRawItemParams();
76
+ this.state.visible = this.view.model.appSwitchMode === 1;
77
+ if (!this.state.visible)
78
+ return;
79
+ this.state.items = await this.loadAllApps();
80
+ this.initActiveMicroAppId();
81
+ }
82
+ /**
83
+ * @description 处理自定义补充参数
84
+ * @protected
85
+ * @memberof AppSwitchController
86
+ */
87
+ handleRawItemParams() {
88
+ var _a;
89
+ let params = {};
90
+ const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
91
+ if (qxUtil.notNilEmpty(rawItemParams)) {
92
+ params = rawItemParams.reduce((param, item) => {
93
+ param[item.key.toLowerCase()] = item.value;
94
+ return param;
95
+ }, {});
96
+ }
97
+ Object.assign(this.rawItemParams, params);
98
+ this.sourceType = this.rawItemParams.sourcetype || "REFAPP";
99
+ }
100
+ /**
101
+ * @description 加载所有应用
102
+ * @exposedoc
103
+ * @public
104
+ * @returns {*} {Promise<IApiMicroApp[]>}
105
+ * @memberof AppSwitchController
106
+ */
107
+ async loadAllApps() {
108
+ if (this.sourceType === "UTIL") {
109
+ return this.loadAppsWithUtil();
110
+ }
111
+ return this.loadAppsWithRefApp();
112
+ }
113
+ /**
114
+ * @description 初始化当前激活的应用标识
115
+ * @protected
116
+ * @memberof AppSwitchController
117
+ */
118
+ initActiveMicroAppId() {
119
+ if (this.view && this.state.items.length > 0) {
120
+ const activeMicroApp = this.state.items.find(
121
+ (item) => {
122
+ var _a;
123
+ return item.indexViewName === ((_a = this.view.model.codeName) == null ? void 0 : _a.toLowerCase());
124
+ }
125
+ );
126
+ if (activeMicroApp) {
127
+ this.setActiveMicroAppId(activeMicroApp.id);
128
+ }
129
+ }
130
+ }
131
+ /**
132
+ * @description 设置当前激活的应用标识
133
+ * @exposedoc
134
+ * @param {string} key
135
+ * @memberof AppSwitchController
136
+ */
137
+ setActiveMicroAppId(key) {
138
+ ibiz.hub.activeMicroAppId = key;
139
+ this.state.activeMicroAppId = key;
140
+ }
141
+ /**
142
+ * @description 加载应用(功能组件方式)
143
+ * @protected
144
+ * @returns {*} {Promise<IApiMicroApp[]>}
145
+ * @memberof AppSwitchController
146
+ */
147
+ async loadAppsWithUtil() {
148
+ const result = [];
149
+ if (!this.util) {
150
+ const app = ibiz.hub.getApp(this.context.srfappid);
151
+ const hubAppUtil = app.getAppUtil("HUBAPP", "CUSTOM");
152
+ if (!hubAppUtil) {
153
+ return result;
154
+ }
155
+ this.util = new runtime.UtilService(hubAppUtil);
156
+ }
157
+ const data = await this.util.load("", this.context, this.panel.params);
158
+ if (!data || data.length === 0) {
159
+ return result;
160
+ }
161
+ for (let i = 0; i < data.length; i++) {
162
+ result.push({
163
+ // 应用标识@首页视图标识
164
+ id: "".concat(data[i].id, "@").concat(data[i].indexViewName.toLowerCase()),
165
+ dataId: data[i].dataId,
166
+ caption: data[i].caption,
167
+ indexViewName: data[i].indexViewName.toLowerCase(),
168
+ order: data[i].order
169
+ });
170
+ }
171
+ return result.sort((a, b) => a.order - b.order);
172
+ }
173
+ /**
174
+ * @description 加载应用(引用应用集方式)
175
+ * @protected
176
+ * @returns {*} {Promise<IApiMicroApp[]>}
177
+ * @memberof AppSwitchController
178
+ */
179
+ async loadAppsWithRefApp() {
180
+ var _a, _b, _c, _d;
181
+ const result = [];
182
+ const defaultApp = ibiz.hub.getApp();
183
+ if (!defaultApp) {
184
+ return result;
185
+ }
186
+ const defaultAppModel = ibiz.hub.getAppSourceModel(defaultApp.appId);
187
+ const allAppIndexViews = (_b = (_a = defaultAppModel.cache) == null ? void 0 : _a.getPSAppViews) == null ? void 0 : _b.filter(
188
+ (appView) => {
189
+ return appView.viewType === "APPINDEXVIEW";
190
+ }
191
+ );
192
+ if (allAppIndexViews && allAppIndexViews.length > 0) {
193
+ for (let i = 0; i < allAppIndexViews.length; i++) {
194
+ const appIndexView = allAppIndexViews[i];
195
+ result.push({
196
+ // 应用标识@首页视图标识
197
+ id: "".concat(appIndexView.appId, "@").concat(appIndexView.codeName.toLowerCase()),
198
+ caption: appIndexView.title || appIndexView.caption,
199
+ indexViewName: appIndexView.codeName.toLowerCase(),
200
+ order: 100 * (i + 1)
201
+ });
202
+ }
203
+ }
204
+ const allSubAppRefs = defaultAppModel.getAllPSSubAppRefs;
205
+ if (!allSubAppRefs || allSubAppRefs.length === 0) {
206
+ return result;
207
+ }
208
+ for (let i = 0; i < allSubAppRefs.length; i++) {
209
+ const subAppRef = allSubAppRefs[i];
210
+ if (subAppRef.appMode && subAppRef.appMode === "CLOUDHUBSUBAPP") {
211
+ const subApp = await ibiz.hub.getAppAsync(subAppRef.id);
212
+ const subAppModel = ibiz.hub.getAppSourceModel(subApp.appId);
213
+ const allSubAppIndexViews = (_d = (_c = subAppModel.cache) == null ? void 0 : _c.getPSAppViews) == null ? void 0 : _d.filter(
214
+ (appView) => {
215
+ return appView.viewType === "APPINDEXVIEW";
216
+ }
217
+ );
218
+ if (allSubAppIndexViews && allSubAppIndexViews.length > 0) {
219
+ for (let j = 0; j < allSubAppIndexViews.length; j++) {
220
+ const subAppIndexView = allSubAppIndexViews[j];
221
+ result.push({
222
+ // 应用标识@首页视图标识
223
+ id: "".concat(subAppIndexView.appId, "@").concat(subAppIndexView.codeName.toLowerCase()),
224
+ caption: subAppIndexView.title || subAppIndexView.caption,
225
+ indexViewName: subAppIndexView.codeName.toLowerCase(),
226
+ order: 100 * (result.length + 1)
227
+ });
228
+ }
229
+ }
230
+ }
231
+ }
232
+ return result.sort((a, b) => a.order - b.order);
233
+ }
234
+ /**
235
+ * @description 切换应用
236
+ * @exposedoc
237
+ * @param {string} key
238
+ * @param {Router} router
239
+ * @returns {*} {Promise<void>}
240
+ * @memberof AppSwitchController
241
+ */
242
+ async switchMicroApp(key, router) {
243
+ if (key === this.state.activeMicroAppId) {
244
+ return;
245
+ }
246
+ let tempKey = key;
247
+ if (key.indexOf("@") !== -1) {
248
+ tempKey = key.split("@")[0];
249
+ }
250
+ if (tempKey !== ibiz.env.appId) {
251
+ await ibiz.hub.getAppAsync(tempKey);
252
+ }
253
+ const targetAppModel = ibiz.hub.getAppSourceModel(tempKey);
254
+ if (targetAppModel.getDefaultPSAppIndexView) {
255
+ const view = targetAppModel.getDefaultPSAppIndexView;
256
+ if (targetAppModel.caption) {
257
+ ibiz.env.AppTitle = targetAppModel.caption;
258
+ } else {
259
+ const views = targetAppModel.cache.getPSAppViews;
260
+ const indexView = views.find(
261
+ (viewItem) => viewItem.dynaModelFilePath === view.path
262
+ );
263
+ if (indexView) {
264
+ ibiz.env.AppTitle = indexView.caption;
265
+ }
266
+ }
267
+ }
268
+ this.setActiveMicroAppId(key);
269
+ const currentIndex = this.state.items.findIndex((item) => item.id === key);
270
+ const routePath = vue3Util.route2routePath(router.currentRoute.value);
271
+ routePath.pathNodes = routePath.pathNodes.slice(0, 1);
272
+ routePath.pathNodes[0].viewName = this.state.items[currentIndex].indexViewName;
273
+ const url = vue3Util.routePath2string(routePath);
274
+ router.push(url);
275
+ }
276
+ }
277
+
278
+ exports.AppSwitchController = AppSwitchController;
@@ -0,0 +1 @@
1
+ .ibiz-app-switch{--ibiz-app-switch-icon-width:36px;--ibiz-app-switch-icon-height:36px;--ibiz-app-switch-icon-padding:0 var(--ibiz-spacing-tight);--ibiz-app-switch-icon-font-size:var(--ibiz-font-size-header-2);--ibiz-app-switch-icon-color:var(--ibiz-color-text-0);--ibiz-app-switch-dropdown-min-width:250px;--ibiz-app-switch-dropdown-item-height:40px}.ibiz-app-switch__icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-app-switch-icon-width);height:var(--ibiz-app-switch-icon-height);padding:var(--ibiz-app-switch-icon-padding);font-size:var(--ibiz-app-switch-icon-font-size);color:var(--ibiz-app-switch-icon-color);cursor:pointer}.ibiz-app-switch__dropdown{--ibiz-app-switch-icon-width:36px;--ibiz-app-switch-icon-height:36px;--ibiz-app-switch-icon-padding:0 var(--ibiz-spacing-tight);--ibiz-app-switch-icon-font-size:var(--ibiz-font-size-header-2);--ibiz-app-switch-icon-color:var(--ibiz-color-text-0);--ibiz-app-switch-dropdown-min-width:250px;--ibiz-app-switch-dropdown-item-height:40px;min-width:var(--ibiz-app-switch-dropdown-min-width)}.ibiz-app-switch__item{display:flex;align-items:center;justify-content:flex-start;width:100%;height:var(--ibiz-app-switch-dropdown-item-height);font-size:var(--ibiz-font-size-regular);white-space:nowrap}.ibiz-app-switch__item.is-active{background-color:var(--ibiz-color-primary-active)!important}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var appSwitch_controller = require('./app-switch.controller.cjs');
4
+
5
+ "use strict";
6
+ var __defProp = Object.defineProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __publicField = (obj, key, value) => {
9
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
+ return value;
11
+ };
12
+ class AppSwitchProvider {
13
+ constructor() {
14
+ __publicField(this, "component", "IBizAppSwitch");
15
+ }
16
+ async createController(panelItem, panel, parent) {
17
+ const c = new appSwitch_controller.AppSwitchController(panelItem, panel, parent);
18
+ await c.init();
19
+ return c;
20
+ }
21
+ }
22
+
23
+ exports.AppSwitchProvider = AppSwitchProvider;
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ var runtime = require('@ibiz-template/runtime');
4
+
5
+ "use strict";
6
+ var __defProp = Object.defineProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __publicField = (obj, key, value) => {
9
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
+ return value;
11
+ };
12
+ class AppSwitchState extends runtime.PanelItemState {
13
+ constructor() {
14
+ super(...arguments);
15
+ /**
16
+ * @description 激活微应用标识
17
+ * @exposedoc
18
+ * @type {string}
19
+ * @memberof AppSwitchState
20
+ */
21
+ __publicField(this, "activeMicroAppId", "");
22
+ /**
23
+ * @description 微应用列表数据
24
+ * @exposedoc
25
+ * @type {IApiMicroApp[]}
26
+ * @memberof AppSwitchState
27
+ */
28
+ __publicField(this, "items", []);
29
+ }
30
+ }
31
+
32
+ exports.AppSwitchState = AppSwitchState;
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('@ibiz-template/runtime');
6
+ var vue3Util = require('@ibiz-template/vue3-util');
7
+ var appSwitch = require('./app-switch.cjs');
8
+ var appSwitch_provider = require('./app-switch.provider.cjs');
9
+
10
+ "use strict";
11
+ const IBizAppSwitch = vue3Util.withInstall(
12
+ appSwitch.AppSwitch,
13
+ function(v) {
14
+ v.component(appSwitch.AppSwitch.name, appSwitch.AppSwitch);
15
+ runtime.registerPanelItemProvider(
16
+ "RAWITEM_APP_SWITCH",
17
+ () => new appSwitch_provider.AppSwitchProvider()
18
+ );
19
+ }
20
+ );
21
+
22
+ exports.IBizAppSwitch = IBizAppSwitch;
23
+ exports.default = IBizAppSwitch;