@ibiz-template/vue3-components 0.7.41-alpha.98 → 0.7.41-alpha.99

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 (268) hide show
  1. package/dist/ibiz-markdown-editor-BxT3t2N6.js +1 -0
  2. package/dist/index-DY8xatG5.js +339 -0
  3. package/dist/{index.es-STEFwkv3.js → index.es-BxDgOess.js} +1 -1
  4. package/dist/index.min.css +1 -1
  5. package/dist/index.system.min.js +1 -1
  6. package/dist/map-chart-DbBbP4qh.js +1 -0
  7. package/dist/map-chart-user-CfTAGaU5.js +1 -0
  8. package/dist/{wang-editor-Dchfm22O.js → wang-editor-Ct_jRlrK.js} +1 -1
  9. package/dist/{xlsx-util-D-uPcLFr.js → xlsx-util-Bi2h7Kj8.js} +1 -1
  10. package/es/common/high-light-code/high-light-code-util.mjs +0 -1
  11. package/es/common/map-chart/map-chart.css +1 -1
  12. package/es/common/map-chart/map-chart.mjs +9 -2
  13. package/es/common/map-chart-user/map-chart-user.css +1 -1
  14. package/es/common/map-chart-user/map-chart-user.mjs +13 -5
  15. package/es/common/pagination/pagination.css +1 -1
  16. package/es/common/pagination/pagination.mjs +39 -3
  17. package/es/common/rawitem/rawitem.css +1 -1
  18. package/es/common/sort-bar/sort-bar.css +1 -1
  19. package/es/common/sort-bar/sort-bar.mjs +9 -1
  20. package/es/control/app-menu/app-menu.css +1 -1
  21. package/es/control/app-menu/app-menu.mjs +42 -20
  22. package/es/control/calendar/calendar.css +1 -1
  23. package/es/control/calendar/calendar.mjs +34 -13
  24. package/es/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
  25. package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +13 -8
  26. package/es/control/calendar/components/calendar-user/calendar-user.css +1 -1
  27. package/es/control/calendar/components/calendar-user/calendar-user.mjs +16 -8
  28. package/es/control/calendar/components/calendar-user2/calendar-user2.css +1 -0
  29. package/es/control/calendar/components/{calendar-flatten/calendar-flatten.mjs → calendar-user2/calendar-user2.mjs} +27 -13
  30. package/es/control/calendar/components/calendar-user2/index.mjs +9 -0
  31. package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
  32. package/es/control/calendar/components/calendar-week/calendar-week.mjs +10 -5
  33. package/es/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
  34. package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +25 -15
  35. package/es/control/calendar/components/interface/calendar-daily.mjs +8 -0
  36. package/es/control/calendar/components/interface/calendar-user.mjs +8 -0
  37. package/es/control/calendar/components/interface/calendar-week.mjs +8 -0
  38. package/es/control/calendar/components/interface/custom-calendar.mjs +8 -0
  39. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
  40. package/es/control/dashboard/dashboard.mjs +10 -3
  41. package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +10 -2
  42. package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +11 -3
  43. package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +11 -3
  44. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -1
  45. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.mjs +12 -3
  46. package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +10 -2
  47. package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +10 -2
  48. package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +10 -2
  49. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  50. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +20 -8
  51. package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +10 -2
  52. package/es/control/dashboard/portlet/report-portlet/report-portlet.mjs +10 -2
  53. package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +10 -2
  54. package/es/control/data-view/data-view.css +1 -1
  55. package/es/control/data-view/data-view.mjs +42 -22
  56. package/es/control/drbar/drbar.css +1 -1
  57. package/es/control/drbar/drbar.mjs +24 -14
  58. package/es/control/drtab/drtab.css +1 -1
  59. package/es/control/drtab/drtab.mjs +36 -18
  60. package/es/control/drtab/flow-drtab.css +1 -1
  61. package/es/control/drtab/flow-drtab.mjs +21 -10
  62. package/es/control/form/edit-form/edit-form.css +1 -1
  63. package/es/control/form/form/form.mjs +12 -6
  64. package/es/control/form/form-detail/form-button/form-button.css +1 -1
  65. package/es/control/form/form-detail/form-button/form-button.mjs +11 -3
  66. package/es/control/form/form-detail/form-button-list/form-button-list.mjs +10 -3
  67. package/es/control/form/form-detail/form-druipart/form-druipart.mjs +11 -3
  68. package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +18 -9
  69. package/es/control/form/form-detail/form-iframe/form-iframe.mjs +10 -3
  70. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  71. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +16 -6
  72. package/es/control/form/form-detail/form-item/form-item.css +1 -1
  73. package/es/control/form/form-detail/form-item/form-item.mjs +12 -5
  74. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +1 -1
  75. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +19 -6
  76. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
  77. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +18 -7
  78. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +16 -4
  79. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
  80. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +24 -7
  81. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.mjs +16 -6
  82. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -0
  83. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
  84. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
  85. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +14 -5
  86. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  87. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +22 -7
  88. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +12 -4
  89. package/es/control/form/form-detail/form-page/form-page.mjs +16 -6
  90. package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +13 -4
  91. package/es/control/form/form-detail/form-tab-page/form-tab-page.mjs +10 -3
  92. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +16 -6
  93. package/es/control/form/search-form/advance-search/advance-search.mjs +2 -3
  94. package/es/control/form/search-form/search-form.css +1 -1
  95. package/es/control/grid/grid/grid.css +1 -1
  96. package/es/control/grid/grid/grid.mjs +15 -11
  97. package/es/control/kanban/kanban.css +1 -1
  98. package/es/control/kanban/kanban.mjs +46 -24
  99. package/es/control/list/list.css +1 -1
  100. package/es/control/list/list.mjs +35 -18
  101. package/es/control/map/map.css +1 -1
  102. package/es/control/map/map.mjs +23 -13
  103. package/es/control/medit-view-panel/medit-view-panel.css +1 -1
  104. package/es/control/medit-view-panel/medit-view-panel.mjs +32 -17
  105. package/es/control/search-bar/search-bar.css +1 -1
  106. package/es/control/search-bar/search-bar.mjs +22 -10
  107. package/es/control/search-bar/search-groups/search-groups.css +1 -1
  108. package/es/control/search-bar/search-groups/search-groups.mjs +16 -6
  109. package/es/control/toolbar/toolbar.css +1 -1
  110. package/es/control/toolbar/toolbar.mjs +94 -61
  111. package/es/control/tree/tree.css +1 -1
  112. package/es/control/tree/tree.mjs +27 -11
  113. package/es/control/tree-grid/tree-grid.mjs +44 -12
  114. package/es/control/tree-grid-ex/tree-grid-ex.css +1 -1
  115. package/es/control/tree-grid-ex/tree-grid-ex.mjs +24 -7
  116. package/es/control/wizard-panel/wizard-panel.css +1 -1
  117. package/es/control/wizard-panel/wizard-panel.mjs +29 -10
  118. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +10 -6
  119. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  120. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +14 -2
  121. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +6 -4
  122. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +1 -1
  123. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +1 -1
  124. package/es/editor/upload/upload-editor.controller.mjs +9 -1
  125. package/es/editor/upload/use/use-custom-upload.mjs +62 -13
  126. package/es/editor/upload/use/use-iview-upload.mjs +45 -2
  127. package/es/index.mjs +1 -0
  128. package/es/panel-component/panel-button/panel-button.css +1 -1
  129. package/es/panel-component/panel-view-header/panel-view-header.css +1 -1
  130. package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
  131. package/es/panel-component/searchform-buttons/searchform-buttons.mjs +10 -3
  132. package/es/util/index.mjs +1 -0
  133. package/es/util/pagination/use-pagination.mjs +33 -1
  134. package/es/util/path-util/path-util.mjs +14 -0
  135. package/lib/common/high-light-code/high-light-code-util.cjs +0 -1
  136. package/lib/common/map-chart/map-chart.cjs +8 -1
  137. package/lib/common/map-chart/map-chart.css +1 -1
  138. package/lib/common/map-chart-user/map-chart-user.cjs +12 -4
  139. package/lib/common/map-chart-user/map-chart-user.css +1 -1
  140. package/lib/common/pagination/pagination.cjs +39 -3
  141. package/lib/common/pagination/pagination.css +1 -1
  142. package/lib/common/rawitem/rawitem.css +1 -1
  143. package/lib/common/sort-bar/sort-bar.cjs +9 -1
  144. package/lib/common/sort-bar/sort-bar.css +1 -1
  145. package/lib/control/app-menu/app-menu.cjs +40 -18
  146. package/lib/control/app-menu/app-menu.css +1 -1
  147. package/lib/control/calendar/calendar.cjs +33 -12
  148. package/lib/control/calendar/calendar.css +1 -1
  149. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +13 -8
  150. package/lib/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
  151. package/lib/control/calendar/components/calendar-user/calendar-user.cjs +16 -8
  152. package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -1
  153. package/lib/control/calendar/components/{calendar-flatten/calendar-flatten.cjs → calendar-user2/calendar-user2.cjs} +27 -13
  154. package/lib/control/calendar/components/calendar-user2/calendar-user2.css +1 -0
  155. package/lib/control/calendar/components/calendar-user2/index.cjs +14 -0
  156. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +10 -5
  157. package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
  158. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +25 -15
  159. package/lib/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
  160. package/lib/control/calendar/components/interface/calendar-daily.cjs +8 -0
  161. package/lib/control/calendar/components/interface/calendar-user.cjs +8 -0
  162. package/lib/control/calendar/components/interface/calendar-week.cjs +8 -0
  163. package/lib/control/calendar/components/interface/custom-calendar.cjs +8 -0
  164. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +9 -2
  165. package/lib/control/dashboard/dashboard.cjs +9 -2
  166. package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +9 -1
  167. package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +10 -2
  168. package/lib/control/dashboard/portlet/container-portlet/container-portlet.cjs +10 -2
  169. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.cjs +11 -2
  170. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -1
  171. package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +9 -1
  172. package/lib/control/dashboard/portlet/list-portlet/list-portlet.cjs +9 -1
  173. package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +9 -1
  174. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +19 -7
  175. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  176. package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +9 -1
  177. package/lib/control/dashboard/portlet/report-portlet/report-portlet.cjs +9 -1
  178. package/lib/control/dashboard/portlet/view-portlet/view-portlet.cjs +9 -1
  179. package/lib/control/data-view/data-view.cjs +40 -20
  180. package/lib/control/data-view/data-view.css +1 -1
  181. package/lib/control/drbar/drbar.cjs +23 -13
  182. package/lib/control/drbar/drbar.css +1 -1
  183. package/lib/control/drtab/drtab.cjs +34 -16
  184. package/lib/control/drtab/drtab.css +1 -1
  185. package/lib/control/drtab/flow-drtab.cjs +20 -9
  186. package/lib/control/drtab/flow-drtab.css +1 -1
  187. package/lib/control/form/edit-form/edit-form.css +1 -1
  188. package/lib/control/form/form/form.cjs +10 -4
  189. package/lib/control/form/form-detail/form-button/form-button.cjs +10 -2
  190. package/lib/control/form/form-detail/form-button/form-button.css +1 -1
  191. package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +9 -2
  192. package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +10 -2
  193. package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +17 -8
  194. package/lib/control/form/form-detail/form-iframe/form-iframe.cjs +9 -2
  195. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +15 -5
  196. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  197. package/lib/control/form/form-detail/form-item/form-item.cjs +11 -4
  198. package/lib/control/form/form-detail/form-item/form-item.css +1 -1
  199. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +18 -5
  200. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +1 -1
  201. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +17 -6
  202. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
  203. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.cjs +15 -3
  204. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +23 -6
  205. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
  206. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.cjs +15 -5
  207. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
  208. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
  209. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +13 -4
  210. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
  211. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +21 -6
  212. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  213. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +11 -3
  214. package/lib/control/form/form-detail/form-page/form-page.cjs +15 -5
  215. package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +12 -3
  216. package/lib/control/form/form-detail/form-tab-page/form-tab-page.cjs +9 -2
  217. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +15 -5
  218. package/lib/control/form/search-form/advance-search/advance-search.cjs +1 -2
  219. package/lib/control/form/search-form/search-form.css +1 -1
  220. package/lib/control/grid/grid/grid.cjs +14 -10
  221. package/lib/control/grid/grid/grid.css +1 -1
  222. package/lib/control/kanban/kanban.cjs +45 -23
  223. package/lib/control/kanban/kanban.css +1 -1
  224. package/lib/control/list/list.cjs +34 -17
  225. package/lib/control/list/list.css +1 -1
  226. package/lib/control/map/map.cjs +21 -11
  227. package/lib/control/map/map.css +1 -1
  228. package/lib/control/medit-view-panel/medit-view-panel.cjs +31 -16
  229. package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
  230. package/lib/control/search-bar/search-bar.cjs +21 -9
  231. package/lib/control/search-bar/search-bar.css +1 -1
  232. package/lib/control/search-bar/search-groups/search-groups.cjs +15 -5
  233. package/lib/control/search-bar/search-groups/search-groups.css +1 -1
  234. package/lib/control/toolbar/toolbar.cjs +92 -59
  235. package/lib/control/toolbar/toolbar.css +1 -1
  236. package/lib/control/tree/tree.cjs +26 -10
  237. package/lib/control/tree/tree.css +1 -1
  238. package/lib/control/tree-grid/tree-grid.cjs +42 -10
  239. package/lib/control/tree-grid-ex/tree-grid-ex.cjs +22 -5
  240. package/lib/control/tree-grid-ex/tree-grid-ex.css +1 -1
  241. package/lib/control/wizard-panel/wizard-panel.cjs +28 -9
  242. package/lib/control/wizard-panel/wizard-panel.css +1 -1
  243. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +10 -6
  244. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +14 -2
  245. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  246. package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +6 -4
  247. package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +1 -1
  248. package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +1 -1
  249. package/lib/editor/upload/upload-editor.controller.cjs +9 -1
  250. package/lib/editor/upload/use/use-custom-upload.cjs +62 -13
  251. package/lib/editor/upload/use/use-iview-upload.cjs +45 -2
  252. package/lib/index.cjs +2 -0
  253. package/lib/panel-component/panel-button/panel-button.css +1 -1
  254. package/lib/panel-component/panel-view-header/panel-view-header.css +1 -1
  255. package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +9 -2
  256. package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
  257. package/lib/util/index.cjs +2 -0
  258. package/lib/util/pagination/use-pagination.cjs +33 -1
  259. package/lib/util/path-util/path-util.cjs +16 -0
  260. package/package.json +4 -4
  261. package/dist/ibiz-markdown-editor-CQRvKzXG.js +0 -1
  262. package/dist/index-DSNJCnK2.js +0 -339
  263. package/dist/map-chart-nwkjjlMK.js +0 -1
  264. package/dist/map-chart-user-D2lgUtGX.js +0 -1
  265. package/es/control/calendar/components/calendar-flatten/calendar-flatten.css +0 -1
  266. package/es/control/calendar/components/calendar-flatten/index.mjs +0 -9
  267. package/lib/control/calendar/components/calendar-flatten/calendar-flatten.css +0 -1
  268. package/lib/control/calendar/components/calendar-flatten/index.cjs +0 -14
@@ -1 +1 @@
1
- .ibiz-calendar-user{--ibiz-calendar-user-cell-min-height:60px;--ibiz-calendar-user-cell-min-width:114px;--ibiz-calendar-user-head-cell-min-width:75px;display:flex;flex-direction:column;width:calc(100% - var(--ibiz-spacing-base) - var(--ibiz-spacing-base));height:calc(100% - var(--ibiz-spacing-base) - var(--ibiz-spacing-base));margin:var(--ibiz-spacing-base);overflow:auto hidden}.ibiz-calendar-user__row{display:flex}.ibiz-calendar-user__cell{display:flex;flex:1;align-items:center;justify-content:center;min-height:var(--ibiz-calendar-user-cell-min-height);padding:0 var(--ibiz-spacing-base);border-bottom:1px solid var(--ibiz-color-tertiary);border-left:1px solid var(--ibiz-color-tertiary)}.ibiz-calendar-user__cell:first-child{min-width:var(--ibiz-calendar-user-head-cell-min-width)}.ibiz-calendar-user__cell:not(:first-child){min-width:var(--ibiz-calendar-user-cell-min-width)}.ibiz-calendar-user__cell:last-child{border-right:1px solid var(--ibiz-color-tertiary)}.ibiz-calendar-user__cell .ibiz-control-calendar-item{height:auto}.ibiz-calendar-user__cell .ibiz-control-calendar-item.is-active{color:var(--ibiz-color-primary-text);background-color:var(--ibiz-color-primary)}.ibiz-calendar-user__cell--top{border-top:1px solid var(--ibiz-color-tertiary)}.ibiz-calendar-user__black{width:100%;height:100%}.ibiz-calendar-user__custom-user-popover{max-height:300px;overflow:auto}.ibiz-calendar-user__custom-user-popover .ibiz-control-calendar-item{height:auto}.ibiz-calendar-user__custom-user-popover .ibiz-control-calendar-item.is-active{color:var(--ibiz-color-primary-text);background-color:var(--ibiz-color-primary)}.ibiz-calendar-user__more{flex-shrink:0;padding-left:var(--ibiz-spacing-tight);overflow:hidden;font-size:var(--ibiz-font-size-small);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:var(--ibiz-spacing-extra-tight)}.ibiz-calendar-user__more:hover{background-color:var(--ibiz-control-calendar-hover-bg-color)}.ibiz-calendar-user__header{flex-shrink:0;width:100%;min-width:-moz-fit-content;min-width:fit-content;overflow:hidden scroll}.ibiz-calendar-user__body{flex:1;width:100%;min-width:-moz-fit-content;min-width:fit-content;overflow:hidden scroll}
1
+ .ibiz-calendar-user{--ibiz-control-calendar-user-margin:var(--ibiz-spacing-base);--ibiz-control-calendar-user-cell-min-height:60px;--ibiz-control-calendar-user-cell-min-width:114px;--ibiz-control-calendar-user-cell-head-min-width:75px;--ibiz-control-calendar-user-cell-border-color:var(--ibiz-color-tertiary);--ibiz-control-calendar-user-cell-padding:var(--ibiz-spacing-none) var(--ibiz-spacing-base);--ibiz-control-calendar-user-item-active-color:var(--ibiz-color-primary-text);--ibiz-control-calendar-user-item-active-bg-color:var(--ibiz-color-primary);display:flex;flex-direction:column;width:calc(100% - var(--ibiz-control-calendar-user-margin) * 2);height:calc(100% - var(--ibiz-control-calendar-user-margin) * 2);margin:var(--ibiz-control-calendar-user-margin);overflow:auto hidden}.ibiz-calendar-user__row{display:flex}.ibiz-calendar-user__cell{display:flex;flex:1;align-items:center;justify-content:center;min-height:var(--ibiz-control-calendar-user-cell-min-height);padding:var(--ibiz-control-calendar-user-cell-padding);border-bottom:1px solid var(--ibiz-control-calendar-user-cell-border-color);border-left:1px solid var(--ibiz-control-calendar-user-cell-border-color)}.ibiz-calendar-user__cell:first-child{min-width:var(--ibiz-control-calendar-user-cell-head-min-width)}.ibiz-calendar-user__cell:not(:first-child){min-width:var(--ibiz-control-calendar-user-cell-min-width)}.ibiz-calendar-user__cell:last-child{border-right:1px solid var(--ibiz-control-calendar-user-cell-border-color)}.ibiz-calendar-user__cell--top{border-top:1px solid var(--ibiz-control-calendar-user-cell-border-color)}.ibiz-calendar-user__black{width:100%;height:100%}.ibiz-calendar-user__custom-user-popover{max-height:300px;overflow:auto}.ibiz-calendar-user .ibiz-control-calendar-item{height:auto}.ibiz-calendar-user .ibiz-control-calendar-item.is-active{color:var(--ibiz-control-calendar-user-item-active-color);background-color:var(--ibiz-control-calendar-user-item-active-bg-color)}.ibiz-calendar-user__more{flex-shrink:0;padding-left:var(--ibiz-spacing-tight);overflow:hidden;font-size:var(--ibiz-control-calendar-more-font-size);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:var(--ibiz-control-calendar-more-border-radius)}.ibiz-calendar-user__more:hover{background-color:var(--ibiz-control-calendar-more-hover-bg-color)}.ibiz-calendar-user__header{flex-shrink:0;width:100%;min-width:-moz-fit-content;min-width:fit-content;overflow:hidden scroll}.ibiz-calendar-user__body{flex:1;width:100%;min-width:-moz-fit-content;min-width:fit-content;overflow:hidden scroll}
@@ -4,12 +4,12 @@ var vue = require('vue');
4
4
  var dayjs = require('dayjs');
5
5
  var vue3Util = require('@ibiz-template/vue3-util');
6
6
  var quarterOfYear = require('dayjs/plugin/quarterOfYear');
7
- require('./calendar-flatten.css');
7
+ require('./calendar-user2.css');
8
8
 
9
9
  "use strict";
10
10
  dayjs.extend(quarterOfYear);
11
- const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
12
- name: "CalendarFlatten",
11
+ const CalendarUser2 = /* @__PURE__ */ vue.defineComponent({
12
+ name: "CalendarUser2",
13
13
  props: {
14
14
  title: {
15
15
  type: String,
@@ -27,6 +27,14 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
27
27
  required: true,
28
28
  type: Array,
29
29
  validator: (range) => range.length === 2
30
+ },
31
+ semanticClass: {
32
+ type: Function,
33
+ required: true
34
+ },
35
+ semanticStyle: {
36
+ type: Function,
37
+ required: true
30
38
  }
31
39
  },
32
40
  emits: {
@@ -36,7 +44,7 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
36
44
  setup(props, {
37
45
  emit
38
46
  }) {
39
- const ns = vue3Util.useNamespace("calendar-flatten");
47
+ const ns = vue3Util.useNamespace("calendar-user2");
40
48
  const range = vue.computed({
41
49
  get() {
42
50
  return props.timeRange;
@@ -108,24 +116,28 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
108
116
  },
109
117
  render() {
110
118
  return vue.createVNode("div", {
111
- "class": this.ns.b()
119
+ "style": this.semanticStyle("user2"),
120
+ "class": [this.ns.b(), this.semanticClass("user2")]
112
121
  }, [vue.createVNode("div", {
113
- "class": this.ns.e("header")
122
+ "class": [this.ns.e("header"), this.semanticClass("user2.header")],
123
+ "style": this.semanticStyle("user2.header")
114
124
  }, [vue.createVNode("div", {
115
125
  "class": this.ns.em("header", "left")
116
126
  }, [this.title]), vue.createVNode("div", {
117
- "class": this.ns.em("header", "centre")
127
+ "class": [this.ns.em("header", "legend"), this.semanticStyle("legend")],
128
+ "style": this.semanticStyle("legend")
118
129
  }, [this.legends.length > 1 && this.legends.map((legend) => {
119
130
  return vue.createVNode("div", {
120
- "class": this.ns.e("legend"),
131
+ "class": [this.ns.e("legend-item"), this.semanticStyle("legend.item")],
132
+ "style": this.semanticStyle("legend.item"),
121
133
  "onClick": () => this.$emit("legendClick", legend)
122
134
  }, [vue.createVNode("div", {
123
- "class": this.ns.em("legend", "dot"),
135
+ "class": this.ns.em("legend-item", "dot"),
124
136
  "style": {
125
137
  backgroundColor: legend.isShow ? legend == null ? void 0 : legend.bkcolor : "var(".concat(this.ns.cssVarName("color-disabled-bg"), ")")
126
138
  }
127
139
  }, null), vue.createVNode("div", {
128
- "class": this.ns.em("legend", "text")
140
+ "class": this.ns.em("legend-item", "text")
129
141
  }, [legend.name])]);
130
142
  })]), vue.createVNode("div", {
131
143
  "class": this.ns.em("header", "right")
@@ -136,7 +148,8 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
136
148
  "onUpdate:modelValue": ($event) => this.range = $event,
137
149
  "class": this.ns.e("data-picker")
138
150
  }, null)])]), vue.createVNode("div", {
139
- "class": this.ns.e("body")
151
+ "class": [this.ns.e("body"), this.semanticClass("user2.body")],
152
+ "style": this.semanticStyle("user2.body")
140
153
  }, [this.months.map((month) => {
141
154
  return vue.createVNode(vue.resolveComponent("el-calendar"), {
142
155
  "modelValue": month,
@@ -186,8 +199,9 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
186
199
  }, [marks.map((mark) => {
187
200
  if (mark.isShow)
188
201
  return vue.createVNode("div", {
189
- "class": this.ns.e("dot"),
202
+ "class": [this.ns.e("dot"), this.semanticClass("dot")],
190
203
  "style": {
204
+ ...this.semanticStyle("dot"),
191
205
  backgroundColor: mark.bkcolor
192
206
  }
193
207
  }, null);
@@ -199,4 +213,4 @@ const CalendarFlatten = /* @__PURE__ */ vue.defineComponent({
199
213
  }
200
214
  });
201
215
 
202
- exports.CalendarFlatten = CalendarFlatten;
216
+ exports.CalendarUser2 = CalendarUser2;
@@ -0,0 +1 @@
1
+ .ibiz-calendar-user2{--ibiz-control-calendar-user2-gap:var(--ibiz-spacing-tight);--ibiz-control-calendar-user2-padding:var(--ibiz-spacing-tight);--ibiz-control-calendar-user2-border-color:var(--ibiz-control-calendar-border-color);--ibiz-control-calendar-user2-dot-small-size:4px;--ibiz-control-calendar-user2-dot-default-size:16px;--ibiz-control-calendar-user2-dot-border-radius:50%;--ibiz-control-calendar-user2-cell-size:50px;--ibiz-control-calendar-user2-cell-padding:var(--ibiz-spacing-none);display:flex;flex-direction:column;gap:var(--ibiz-control-calendar-user2-gap);width:100%;height:100%}.ibiz-calendar-user2__header{display:flex;flex-shrink:0;align-items:center;padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);border-bottom:1px solid var(--ibiz-control-calendar-user2-border-color)}.ibiz-calendar-user2__header--left{flex-shrink:0;min-width:300px}.ibiz-calendar-user2__header--legend{display:flex;flex-grow:1;gap:var(--ibiz-control-calendar-user2-gap);align-items:center;justify-content:center}.ibiz-calendar-user2__header--right{flex-shrink:0}.ibiz-calendar-user2__body{display:flex;flex-grow:1;flex-wrap:wrap;gap:var(--ibiz-control-calendar-user2-gap);overflow:auto}.ibiz-calendar-user2__month-calendar{width:366px;border:1px solid var(--ibiz-control-calendar-user2-border-color)}.ibiz-calendar-user2__month-calendar .el-calendar__header{display:flex;justify-content:center}.ibiz-calendar-user2__month-calendar .el-calendar__body{padding:var(--ibiz-control-calendar-user2-padding)}.ibiz-calendar-user2__month-calendar .el-calendar-table .el-calendar-day{width:var(--ibiz-control-calendar-user2-cell-size);height:var(--ibiz-control-calendar-user2-cell-size);padding:var(--ibiz-control-calendar-user2-cell-none)}.ibiz-calendar-user2__month-calendar .el-calendar-table td.is-selected{background-color:transparent}.ibiz-calendar-user2__date{display:flex;flex-direction:column;gap:var(--ibiz-spacing-extra-tight);align-items:center;justify-content:center;width:100%;height:100%;padding:4px}.ibiz-calendar-user2__date--day{flex-shrink:0}.ibiz-calendar-user2__date--mark{display:flex;flex-grow:1;flex-wrap:wrap;gap:var(--ibiz-spacing-extra-tight);justify-content:center;overflow:hidden}.ibiz-calendar-user2__dot{width:var(--ibiz-control-calendar-user2-dot-small-size);height:var(--ibiz-control-calendar-user2-dot-small-size);border-radius:var(--ibiz-control-calendar-user2-dot-border-radius)}.ibiz-calendar-user2__legend-item{display:flex;gap:var(--ibiz-control-calendar-legend-gap);align-items:center;cursor:pointer}.ibiz-calendar-user2__legend-item--dot{width:var(--ibiz-control-calendar-user2-dot-default-size);height:var(--ibiz-control-calendar-user2-dot-default-size);border-radius:var(--ibiz-control-calendar-user2-dot-border-radius)}.ibiz-calendar-user2__popover{max-height:300px;overflow:auto;--ibiz-control-calendar-user2-item-active-color:var(--ibiz-color-primary-text);--ibiz-control-calendar-user2-item-active-bg-color:var(--ibiz-color-primary)}.ibiz-calendar-user2__event .ibiz-control-calendar-item{width:126px;height:auto}.ibiz-calendar-user2__event .ibiz-control-calendar-item.is-active{color:var(--ibiz-control-calendar-user2-item-active-color);background-color:var(--ibiz-control-calendar-user2-item-active-bg-color)}
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue3Util = require('@ibiz-template/vue3-util');
6
+ var calendarUser2 = require('./calendar-user2.cjs');
7
+
8
+ "use strict";
9
+ const IBizCalendarUser2 = vue3Util.withInstall(calendarUser2.CalendarUser2, (v) => {
10
+ v.component(calendarUser2.CalendarUser2.name, calendarUser2.CalendarUser2);
11
+ });
12
+
13
+ exports.IBizCalendarUser2 = IBizCalendarUser2;
14
+ exports.default = IBizCalendarUser2;
@@ -122,8 +122,11 @@ const CalendarWeek = /* @__PURE__ */ vue.defineComponent({
122
122
  const component = renderPopoverContent(event);
123
123
  return vue.createVNode("div", {
124
124
  "key": index,
125
- "class": [ns.em(classEName, "event-box")],
126
- "style": eventBoxStyle
125
+ "class": [ns.em(classEName, "event-box"), props.semanticClass("week.".concat(location === "header" ? "header.item" : "body.item"))],
126
+ "style": {
127
+ ...eventBoxStyle,
128
+ ...props.semanticStyle("week.".concat(location === "header" ? "header.item" : "body.item"))
129
+ }
127
130
  }, [vue.createVNode("button", {
128
131
  "class": [ns.em(classEName, "event-content"), ns.is("selected-event", !!event.isSelectedEvent), event.classname],
129
132
  "onClick": () => {
@@ -154,7 +157,8 @@ const CalendarWeek = /* @__PURE__ */ vue.defineComponent({
154
157
  };
155
158
  const renderHeader = () => {
156
159
  return vue.createVNode("div", {
157
- "class": [ns.e("header")],
160
+ "style": props.semanticStyle("week.header"),
161
+ "class": [ns.e("header"), props.semanticClass("week.header")],
158
162
  "ref": (el) => {
159
163
  resizableHand.value = el;
160
164
  }
@@ -206,8 +210,9 @@ const CalendarWeek = /* @__PURE__ */ vue.defineComponent({
206
210
  };
207
211
  const renderContent = () => {
208
212
  return vue.createVNode("div", {
209
- "class": [ns.e("scroll-area")],
210
- "onMousemove": contentMousemove
213
+ "onMousemove": contentMousemove,
214
+ "style": props.semanticStyle("week.body"),
215
+ "class": [ns.e("scroll-area"), props.semanticClass("week.body")]
211
216
  }, [vue.createVNode("div", {
212
217
  "class": ns.e("time-pane")
213
218
  }, [vue.createVNode("div", {
@@ -1 +1 @@
1
- .ibiz-calendar-week{display:flex;flex:1;flex-direction:column;width:100%;height:100%;overflow:hidden}.ibiz-calendar-week__header{position:relative;z-index:100;display:flex;flex-direction:column;width:100%;height:150px;min-height:150px}.ibiz-calendar-week__header--date-cell-first{width:90px;max-width:90px;height:100%;border-right:1px solid var(--ibiz-color-border);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__header--event-cell-first{display:flex;align-items:center;justify-content:center;width:90px;max-width:90px;height:100%;padding-left:40px;border-right:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__header--dates{display:flex;justify-content:space-between;width:calc(100% - 7px);height:96px}.ibiz-calendar-week__header--date-cell{display:flex;flex:1;flex-direction:column;align-items:center;border-right:1px solid var(--ibiz-color-border);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__header--date-week{width:100%;height:26px;margin-top:6px;text-align:center}.ibiz-calendar-week__header--date-day{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-top:6px;font-weight:600;border:none;border-radius:50%}.ibiz-calendar-week__header--date-day.is-today{color:var(--ibiz-color-primary-text);background:var(--ibiz-color-primary)}.ibiz-calendar-week__header--events{display:flex;flex:1;width:100%;height:30px;overflow:hidden;position:relative}.ibiz-calendar-week__header--event-container{width:calc(100% - 97px);height:100%;overflow-y:auto;overflow-x:hidden}.ibiz-calendar-week__header--event-container::-webkit-scrollbar{display:none}.ibiz-calendar-week__header--container-scroll{display:flex;height:auto}.ibiz-calendar-week__header--event-cell{position:relative;top:0;left:0;flex:1;width:100%;height:auto}.ibiz-calendar-week__header--event-cell::after{content:"";display:block;position:absolute;top:0;right:0;width:1px;height:var(--ibiz-calendar-week-header-event-scroll-real-height);border-right:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__header--event-box{position:absolute;display:flex;min-width:32px}.ibiz-calendar-week__header--event-box:has(.ibiz-calendar-week__header--check){min-width:50px}.ibiz-calendar-week__header--event-content{position:relative;z-index:2;width:100%;height:100%;min-height:22px;cursor:pointer;background-color:var(--ibiz-color-primary);border:none;outline:0}.ibiz-calendar-week__header--event-content.is-selected-event{padding-right:20px}.ibiz-calendar-week__header--event-summary{width:100%;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-calendar-week__header--resizable-handle{position:absolute;bottom:-6px;display:flex;align-items:center;width:calc(100% - 7px);height:10px;cursor:row-resize}.ibiz-calendar-week__header--resize-line{width:100%;height:1px;background-color:var(--ibiz-color-border)}.ibiz-calendar-week__header--check{position:absolute;top:50%;right:6px;color:var(--ibiz-color-primary);transform:translate(0,-50%)}.ibiz-calendar-week__scroll-area{flex:1;overflow:hidden scroll}.ibiz-calendar-week__time-pane{position:relative;display:flex;flex:1 1 0%;width:calc(100% - 3px);height:auto}.ibiz-calendar-week__time-pane--time-labels{position:sticky;left:0;width:90px;min-width:90px;padding:27px 0 27px 40px;border-right:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__time-pane--time-label{height:22px;margin-top:38px;line-height:22px;text-align:left}.ibiz-calendar-week__time-pane--time-label:nth-child(1){height:22px;margin-top:22px}.ibiz-calendar-week__time-pane--time-columns{position:relative;flex:1;padding-bottom:60px;border-right:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__time-pane--time-column{height:60px;border-top:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__time-pane--time-column:nth-child(1){border-top:none}.ibiz-calendar-week__time-pane--time-column-last{border-bottom:1px solid var(--ibiz-color-border)}.ibiz-calendar-week__time-pane--event-timed-container{position:absolute;top:0;width:100%;height:100%;overflow:hidden}.ibiz-calendar-week__time-pane--container-scroll{position:relative;top:0;width:100%;height:100%;overflow:auto;overflow:hidden}.ibiz-calendar-week__time-pane--event-box{position:absolute;width:auto;height:auto;padding:0 2px}.ibiz-calendar-week__time-pane--event-content{position:relative;z-index:3;width:100%;height:100%;padding:8px;overflow:hidden;line-height:100%;text-align:left;cursor:pointer;border:none;outline:0}.ibiz-calendar-week__time-pane--event-content.is-selected-event{border:1px solid var(--ibiz-color-primary)}.ibiz-calendar-week__time-pane--event-summary{width:100%;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-calendar-week__time-pane--event-summary>span{margin-right:4px}.ibiz-calendar-week__event-popover{width:auto;height:auto;padding:0}.ibiz-calendar-week__event-popover.ibiz-popover{position:absolute;z-index:110;padding:var(--ibiz-spacing-tight);background:var(--ibiz-color-bg-1);border:none;box-shadow:var(--ibiz-shadow-elevated)}.ibiz-calendar-week__event-popover:has(.ibiz-control-calendar-item-default){display:none!important}.ibiz-calendar-week__event-popover--body{width:auto;height:auto;overflow:hidden}.ibiz-calendar-week__event-popover--scroll{width:auto;min-width:200px;height:auto;max-height:80%;overflow:auto;pointer-events:none}.ibiz-calendar-week__event-popover--scroll .ibiz-control-calendar-item:last-child{margin-bottom:0}.ibiz-calendar-week__event-popover--scroll .ibiz-control-calendar-item.is-active{background-color:transparent;border-color:transparent}.ibiz-calendar-week-scroll-bar{position:absolute;top:var(--ibiz-calendar-week-header-event-scroll-bar-thumb-top);right:0;z-index:10;width:4px;height:100%;border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-calendar-week-scroll-bar__thumb{width:4px;height:var(--ibiz-calendar-week-header-event-scroll-bar-thumb-height);cursor:pointer;background-color:var(--ibiz-color-fill-2);border-radius:var(--ibiz-border-radius-extra-small)}
1
+ .ibiz-calendar-week{--ibiz-control-calendar-week-tody-text-color:var(--ibiz-color-primary-text);--ibiz-control-calendar-week-tody-bg-color:var(--ibiz-color-primary);--ibiz-control-calendar-week-item-bg-color:var(--ibiz-color-primary);--ibiz-control-calendar-week-item-active-border-color:var(--ibiz-color-primary);--ibiz-control-calendar-week-scroll-width:4px;--ibiz-control-calendar-week-scroll-border-radius:var(--ibiz-border-radius-extra-small);--ibiz-control-calendar-week-scroll-bg-color:var(--ibiz-color-fill-2);display:flex;flex:1;flex-direction:column;width:100%;height:100%;overflow:hidden}.ibiz-calendar-week__header{position:relative;z-index:100;display:flex;flex-direction:column;width:100%;height:150px;min-height:150px}.ibiz-calendar-week__header--date-cell-first{width:90px;max-width:90px;height:100%;border-right:1px solid var(--ibiz-control-calendar-week-border-color);border-bottom:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__header--event-cell-first{display:flex;align-items:center;justify-content:center;width:90px;max-width:90px;height:100%;padding-left:40px;border-right:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__header--dates{display:flex;justify-content:space-between;width:calc(100% - 7px);height:96px}.ibiz-calendar-week__header--date-cell{display:flex;flex:1;flex-direction:column;align-items:center;border-right:1px solid var(--ibiz-control-calendar-week-border-color);border-bottom:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__header--date-week{width:100%;height:26px;margin-top:6px;text-align:center}.ibiz-calendar-week__header--date-day{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-top:6px;font-weight:600;border:none;border-radius:50%}.ibiz-calendar-week__header--date-day.is-today{color:var(--ibiz-control-calendar-week-tody-text-color);background-color:var(--ibiz-control-calendar-week-tody-bg-color)}.ibiz-calendar-week__header--events{position:relative;display:flex;flex:1;width:100%;height:30px;overflow:hidden}.ibiz-calendar-week__header--event-container{width:calc(100% - 97px);height:100%;overflow:hidden auto}.ibiz-calendar-week__header--event-container::-webkit-scrollbar{display:none}.ibiz-calendar-week__header--container-scroll{display:flex;height:auto}.ibiz-calendar-week__header--event-cell{position:relative;top:0;left:0;flex:1;width:100%;height:auto}.ibiz-calendar-week__header--event-cell::after{position:absolute;top:0;right:0;display:block;width:1px;height:var(--ibiz-calendar-week-header-event-scroll-real-height);content:"";border-right:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__header--event-box{position:absolute;display:flex;min-width:32px}.ibiz-calendar-week__header--event-box:has(.ibiz-calendar-week__header--check){min-width:50px}.ibiz-calendar-week__header--event-content{position:relative;z-index:2;width:100%;height:100%;min-height:22px;cursor:pointer;background-color:var(--ibiz-control-calendar-week-item-bg-color);border:none;outline:0}.ibiz-calendar-week__header--event-content.is-selected-event{padding-right:20px}.ibiz-calendar-week__header--event-summary{width:100%;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-calendar-week__header--resizable-handle{position:absolute;bottom:-6px;display:flex;align-items:center;width:calc(100% - 7px);height:10px;cursor:row-resize}.ibiz-calendar-week__header--resize-line{width:100%;height:1px;background-color:var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__header--check{position:absolute;top:50%;right:6px;color:var(--ibiz-control-calendar-week-active-color);transform:translate(0,-50%)}.ibiz-calendar-week__scroll-area{flex:1;overflow:hidden scroll}.ibiz-calendar-week__time-pane{position:relative;display:flex;flex:1 1 0%;width:calc(100% - 3px);height:auto}.ibiz-calendar-week__time-pane--time-labels{position:sticky;left:0;width:90px;min-width:90px;padding:27px 0 27px 40px;border-right:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__time-pane--time-label{height:22px;margin-top:38px;line-height:22px;text-align:left}.ibiz-calendar-week__time-pane--time-label:nth-child(1){height:22px;margin-top:22px}.ibiz-calendar-week__time-pane--time-columns{position:relative;flex:1;padding-bottom:60px;border-right:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__time-pane--time-column{height:60px;border-top:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__time-pane--time-column:nth-child(1){border-top:none}.ibiz-calendar-week__time-pane--time-column-last{border-bottom:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-calendar-week__time-pane--event-timed-container{position:absolute;top:0;width:100%;height:100%;overflow:hidden}.ibiz-calendar-week__time-pane--container-scroll{position:relative;top:0;width:100%;height:100%;overflow:auto;overflow:hidden}.ibiz-calendar-week__time-pane--event-box{position:absolute;width:auto;height:auto;padding:0 2px}.ibiz-calendar-week__time-pane--event-content{position:relative;z-index:3;width:100%;height:100%;padding:8px;overflow:hidden;line-height:100%;text-align:left;cursor:pointer;border:none;outline:0}.ibiz-calendar-week__time-pane--event-content.is-selected-event{border:1px solid var(--ibiz-control-calendar-week-item-active-border-color)}.ibiz-calendar-week__time-pane--event-summary{width:100%;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-calendar-week__time-pane--event-summary>span{margin-right:4px}.ibiz-calendar-week__event-popover{width:auto;height:auto;padding:0}.ibiz-calendar-week__event-popover.ibiz-popover{position:absolute;z-index:110;padding:var(--ibiz-spacing-tight);background:var(--ibiz-color-bg-1);border:none;box-shadow:var(--ibiz-shadow-elevated)}.ibiz-calendar-week__event-popover:has(.ibiz-control-calendar-item-default){display:none!important}.ibiz-calendar-week__event-popover--body{width:auto;height:auto;overflow:hidden}.ibiz-calendar-week__event-popover--scroll{width:auto;min-width:200px;height:auto;max-height:80%;overflow:auto;pointer-events:none}.ibiz-calendar-week__event-popover--scroll .ibiz-control-calendar-item:last-child{margin-bottom:0}.ibiz-calendar-week__event-popover--scroll .ibiz-control-calendar-item.is-active{background-color:transparent;border-color:transparent}.ibiz-calendar-week-scroll-bar{position:absolute;top:var(--ibiz-calendar-week-header-event-scroll-bar-thumb-top);right:0;z-index:10;width:var(--ibiz-control-calendar-week-scroll-width);height:100%;border-radius:var(--ibiz-control-calendar-week-scroll-border-radius)}.ibiz-calendar-week-scroll-bar__thumb{width:var(--ibiz-control-calendar-week-scroll-width);height:var(--ibiz-calendar-week-header-event-scroll-bar-thumb-height);cursor:pointer;background-color:var(--ibiz-control-calendar-week-scroll-bg-color);border-radius:var(--ibiz-control-calendar-week-scroll-border-radius)}
@@ -43,9 +43,10 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
43
43
  const renderWeek = () => {
44
44
  var _a;
45
45
  return vue.createVNode("div", {
46
- "class": [ns.e("calendar-week")]
46
+ "class": [ns.e("calendar-week"), props.semanticClass("week")],
47
+ "style": props.semanticStyle("week")
47
48
  }, [(slots == null ? void 0 : slots.header) ? vue.createVNode("div", {
48
- "class": [ns.em("calendar-month", "header")]
49
+ "class": [ns.em("calendar-week", "header")]
49
50
  }, [(_a = slots == null ? void 0 : slots.header) == null ? void 0 : _a.call(slots, {
50
51
  date: dayjs(realSelectedDay.value).format("YYYY-MM-DD"),
51
52
  legends: legends.value
@@ -79,6 +80,8 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
79
80
  "placeholder": "\u9009\u62E9\u65E5\u671F",
80
81
  "shortcuts": shortcuts
81
82
  }, null)])])]), vue.createVNode(index.IBizCalendarWeek, {
83
+ "semanticClass": props.semanticClass,
84
+ "semanticStyle": props.semanticStyle,
82
85
  "selected-day": realSelectedDay.value,
83
86
  "showDetail": props.showDetail,
84
87
  "events": events.value,
@@ -93,35 +96,36 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
93
96
  const renderDay = () => {
94
97
  var _a;
95
98
  return vue.createVNode("div", {
96
- "class": [ns.e("calendar-week")]
99
+ "class": [ns.e("calendar-day"), props.semanticClass("day")],
100
+ "style": props.semanticStyle("day")
97
101
  }, [(slots == null ? void 0 : slots.header) ? vue.createVNode("div", {
98
- "class": [ns.em("calendar-month", "header")]
102
+ "class": [ns.em("calendar-day", "header")]
99
103
  }, [(_a = slots == null ? void 0 : slots.header) == null ? void 0 : _a.call(slots, {
100
104
  date: dayjs(realSelectedDay.value).format("YYYY-MM-DD"),
101
105
  legends: legends.value
102
106
  })]) : vue.createVNode("div", {
103
- "class": [ns.em("calendar-week", "header")]
107
+ "class": [ns.em("calendar-day", "header")]
104
108
  }, [vue.createVNode("div", {
105
- "class": ns.em("calendar-week", "header-top")
109
+ "class": ns.em("calendar-day", "header-top")
106
110
  }, [vue.createVNode("div", {
107
- "class": ns.em("calendar-week", "title")
111
+ "class": ns.em("calendar-day", "title")
108
112
  }, [props.calendarTitle || ibiz.i18n.t("control.calendar.title")]), vue.createVNode("div", {
109
- "class": ns.em("calendar-week", "legend")
113
+ "class": ns.em("calendar-day", "legend")
110
114
  }, [legends.value.length > 1 && legends.value.map((item) => {
111
115
  return vue.createVNode("div", {
112
- "class": ns.em("calendar-week", "legend-item"),
116
+ "class": ns.em("calendar-day", "legend-item"),
113
117
  "onClick": () => selectLegend(item)
114
118
  }, [vue.createVNode("div", {
115
- "class": ns.em("calendar-week", "legend-item-tip"),
119
+ "class": ns.em("calendar-day", "legend-item-tip"),
116
120
  "style": {
117
121
  background: item.isShow ? item.bkcolor : "var(".concat(ns.cssVarName("color-disabled-bg"), ")")
118
122
  }
119
123
  }, null), vue.createVNode("div", {
120
- "class": ns.em("calendar-week", "legend-item-text"),
124
+ "class": ns.em("calendar-day", "legend-item-text"),
121
125
  "title": core.showTitle(item.name)
122
126
  }, [item.name])]);
123
127
  })]), vue.createVNode("div", {
124
- "class": ns.em("calendar-week", "select-time")
128
+ "class": ns.em("calendar-day", "select-time")
125
129
  }, [vue.createVNode(vue.resolveComponent("el-date-picker"), {
126
130
  "modelValue": realSelectedDay.value,
127
131
  "onUpdate:modelValue": ($event) => realSelectedDay.value = $event,
@@ -129,8 +133,10 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
129
133
  "placeholder": ibiz.i18n.t("control.calendar.calendardaily.selectdate"),
130
134
  "shortcuts": shortcuts
131
135
  }, null)])]), vue.createVNode("div", {
132
- "class": ns.em("calendar-week", "text-secondary")
136
+ "class": ns.em("calendar-day", "text-secondary")
133
137
  }, [curWeek.value])]), vue.createVNode(index$1.IBizCalendarDaily, {
138
+ "semanticClass": props.semanticClass,
139
+ "semanticStyle": props.semanticStyle,
134
140
  "selected-day": realSelectedDay.value,
135
141
  "controller": props.controller,
136
142
  "showDetail": props.showDetail,
@@ -146,7 +152,8 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
146
152
  const renderUser = () => {
147
153
  const weekRange = useCustomCalendar.calcCurrentWeekRange(new Date(realSelectedDay.value));
148
154
  return vue.createVNode("div", {
149
- "class": [ns.e("calendar-user")]
155
+ "class": [ns.e("calendar-user"), props.semanticClass("user")],
156
+ "style": props.semanticStyle("user")
150
157
  }, [vue.createVNode("div", {
151
158
  "class": [ns.e("calendar-user-header")]
152
159
  }, [vue.createVNode("div", {
@@ -165,6 +172,8 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
165
172
  "placeholder": ibiz.i18n.t("control.calendar.calendarUser.selectWeekRange"),
166
173
  "format": ibiz.i18n.t("control.calendar.calendarUser.weekFormat")
167
174
  }, null)])]), vue.createVNode(index$2.IBizCalendarUser, {
175
+ "semanticClass": props.semanticClass,
176
+ "semanticStyle": props.semanticStyle,
168
177
  "selected-day": realSelectedDay.value,
169
178
  "events": events.value,
170
179
  "onEventClick": (value) => handleEVentClick(value),
@@ -194,7 +203,8 @@ const CustomCalendar = /* @__PURE__ */ vue.defineComponent({
194
203
  },
195
204
  render() {
196
205
  return vue.createVNode("div", {
197
- "class": [this.ns.b()]
206
+ "style": this.semanticStyle("content"),
207
+ "class": [this.ns.b(), this.semanticClass("content")]
198
208
  }, [this.renderContent()]);
199
209
  }
200
210
  });
@@ -1 +1 @@
1
- .ibiz-custom-calendar{width:100%;height:100%}.ibiz-custom-calendar__calendar-day{display:flex;flex-direction:column;width:100%;min-width:380px;height:100%;min-height:900px;border:1px solid var(--ibiz-color-border)}.ibiz-custom-calendar__calendar-day--header{padding:0 40px;border-bottom:1px solid var(--ibiz-color-border)}.ibiz-custom-calendar__calendar-day--header-top{display:flex;align-items:center;justify-content:space-between;height:70px}.ibiz-custom-calendar__calendar-day--title{min-width:80px;font-size:20px}.ibiz-custom-calendar__calendar-day--text-secondary{height:56px;line-height:56px;text-align:left}.ibiz-custom-calendar__calendar-day--select-time{width:130px;height:32px}.ibiz-custom-calendar__calendar-day--select-time .el-input__suffix{display:none}.ibiz-custom-calendar__calendar-day--legend{display:flex;flex-grow:1;align-items:center;justify-content:center;height:100%;overflow:auto}.ibiz-custom-calendar__calendar-day--legend-item{display:flex;align-items:center;width:auto;height:auto;padding:0 var(--ibiz-spacing-tight);line-height:1em;cursor:pointer}.ibiz-custom-calendar__calendar-day--legend-item-tip{display:inline-block;width:1.5em;height:.9em;margin-right:var(--ibiz-spacing-extra-tight);border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-custom-calendar__calendar-day--legend-item-text{display:inline-block;width:auto;max-width:100px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-custom-calendar__calendar-week{display:flex;flex-direction:column;width:100%;min-width:380px;height:100%;border:1px solid var(--ibiz-color-border)}.ibiz-custom-calendar__calendar-week--header{padding:0 40px;border-bottom:1px solid var(--ibiz-color-border)}.ibiz-custom-calendar__calendar-week--header-top{display:flex;align-items:center;justify-content:space-between;height:70px}.ibiz-custom-calendar__calendar-week--title{min-width:80px;font-size:20px}.ibiz-custom-calendar__calendar-week--text-secondary{height:56px;line-height:56px;text-align:left}.ibiz-custom-calendar__calendar-week--select-time{width:130px;height:32px}.ibiz-custom-calendar__calendar-week--select-time .el-input__suffix{display:none}.ibiz-custom-calendar__calendar-week--legend{display:flex;flex-grow:1;align-items:center;justify-content:center;height:100%;overflow:auto}.ibiz-custom-calendar__calendar-week--legend-item{display:flex;align-items:center;width:auto;height:auto;padding:0 var(--ibiz-spacing-tight);line-height:1em;cursor:pointer}.ibiz-custom-calendar__calendar-week--legend-item-tip{display:inline-block;width:1.5em;height:.9em;margin-right:var(--ibiz-spacing-extra-tight);border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-custom-calendar__calendar-week--legend-item-text{display:inline-block;width:auto;max-width:100px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-custom-calendar__calendar-month{display:flex;flex-direction:column;width:100%;height:100%}.ibiz-custom-calendar__calendar-month--body{flex-grow:1;width:100%;height:calc(100% - 58px)}.ibiz-custom-calendar__calendar-month--legend{display:flex;align-items:center;justify-content:center;width:auto;height:100%}.ibiz-custom-calendar__calendar-month--legend-item{display:flex;align-items:center;width:auto;height:auto;padding:0 var(--ibiz-spacing-tight);line-height:1em;cursor:pointer}.ibiz-custom-calendar__calendar-month--legend-item-tip{display:inline-block;width:1.5em;height:.9em;margin-right:var(--ibiz-spacing-extra-tight);border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-custom-calendar__calendar-month--legend-item-text{display:inline-block;width:auto;max-width:100px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-custom-calendar__calendar-month--header{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;padding:12px 20px;border-bottom:1px solid var(--ibiz-color-border)}.ibiz-custom-calendar__calendar-month--button-group{display:flex;align-items:center;justify-content:space-between;width:388px}.ibiz-custom-calendar__header--title{min-width:120px}.ibiz-custom-calendar__calendar-user{display:flex;flex-direction:column;height:100%}.ibiz-custom-calendar__calendar-user-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 var(--ibiz-spacing-base)}.ibiz-custom-calendar__calendar-user-header--right .el-date-editor.el-date-editor--week.el-input{width:250px}.ibiz-custom-calendar .el-date-editor.el-input,.ibiz-custom-calendar .el-date-editor.el-input__wrapper{width:130px;height:32px}
1
+ .ibiz-custom-calendar{width:100%;height:100%}.ibiz-custom-calendar__calendar-day{--ibiz-control-calendar-day-active-color:var(--ibiz-color-primary);--ibiz-control-calendar-day-border-color:var(--ibiz-control-calendar-border-color);display:flex;flex-direction:column;width:100%;min-width:380px;height:100%;border:1px solid var(--ibiz-control-calendar-day-border-color)}.ibiz-custom-calendar__calendar-day--header{padding:0 40px;border-bottom:1px solid var(--ibiz-control-calendar-day-border-color)}.ibiz-custom-calendar__calendar-day--header-top{display:flex;align-items:center;justify-content:space-between;height:70px}.ibiz-custom-calendar__calendar-day--title{min-width:80px;font-size:20px}.ibiz-custom-calendar__calendar-day--text-secondary{height:56px;line-height:56px;text-align:left}.ibiz-custom-calendar__calendar-day--select-time{width:130px;height:32px}.ibiz-custom-calendar__calendar-day--select-time .el-input__suffix{display:none}.ibiz-custom-calendar__calendar-day--legend{display:flex;flex-grow:1;align-items:center;justify-content:center;height:100%;overflow:auto}.ibiz-custom-calendar__calendar-day--legend-item{display:flex;align-items:center;width:auto;height:auto;padding:0 var(--ibiz-spacing-tight);line-height:1em;cursor:pointer}.ibiz-custom-calendar__calendar-day--legend-item-tip{display:inline-block;width:1.5em;height:.9em;margin-right:var(--ibiz-spacing-extra-tight);border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-custom-calendar__calendar-day--legend-item-text{display:inline-block;width:auto;max-width:100px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-custom-calendar__calendar-week{--ibiz-control-calendar-week-active-color:var(--ibiz-color-primary);--ibiz-control-calendar-week-border-color:var(--ibiz-control-calendar-border-color);display:flex;flex-direction:column;width:100%;min-width:380px;height:100%;border:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-custom-calendar__calendar-week--header{padding:0 40px;border-bottom:1px solid var(--ibiz-control-calendar-week-border-color)}.ibiz-custom-calendar__calendar-week--header-top{display:flex;align-items:center;justify-content:space-between;height:70px}.ibiz-custom-calendar__calendar-week--title{min-width:80px;font-size:20px}.ibiz-custom-calendar__calendar-week--select-time{width:130px;height:32px}.ibiz-custom-calendar__calendar-week--select-time .el-input__suffix{display:none}.ibiz-custom-calendar__calendar-week--legend{display:flex;flex-grow:1;align-items:center;justify-content:center;height:100%;overflow:auto}.ibiz-custom-calendar__calendar-week--legend-item{display:flex;align-items:center;width:auto;height:auto;padding:0 var(--ibiz-spacing-tight);line-height:1em;cursor:pointer}.ibiz-custom-calendar__calendar-week--legend-item-tip{display:inline-block;width:1.5em;height:.9em;margin-right:var(--ibiz-spacing-extra-tight);border-radius:var(--ibiz-border-radius-extra-small)}.ibiz-custom-calendar__calendar-week--legend-item-text{display:inline-block;width:auto;max-width:100px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ibiz-custom-calendar__calendar-user{display:flex;flex-direction:column;height:100%}.ibiz-custom-calendar__calendar-user-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 var(--ibiz-spacing-base)}.ibiz-custom-calendar__calendar-user-header--right .el-date-editor.el-date-editor--week.el-input{width:250px}.ibiz-custom-calendar .el-date-editor.el-input,.ibiz-custom-calendar .el-date-editor.el-input__wrapper{width:130px;height:32px}
@@ -26,6 +26,14 @@ const calendarDailyProps = util.handleProps({
26
26
  showDetail: {
27
27
  type: Boolean,
28
28
  default: false
29
+ },
30
+ semanticClass: {
31
+ type: Function,
32
+ required: true
33
+ },
34
+ semanticStyle: {
35
+ type: Function,
36
+ required: true
29
37
  }
30
38
  });
31
39
  const calendarDailyEmits = {
@@ -12,6 +12,14 @@ const calendarUserProps = util.handleProps({
12
12
  events: {
13
13
  type: Array,
14
14
  default: []
15
+ },
16
+ semanticClass: {
17
+ type: Function,
18
+ required: true
19
+ },
20
+ semanticStyle: {
21
+ type: Function,
22
+ required: true
15
23
  }
16
24
  });
17
25
  const calendarUserEmits = {
@@ -26,6 +26,14 @@ const calendarWeekProps = util.handleProps({
26
26
  },
27
27
  selectedData: {
28
28
  type: Object
29
+ },
30
+ semanticClass: {
31
+ type: Function,
32
+ required: true
33
+ },
34
+ semanticStyle: {
35
+ type: Function,
36
+ required: true
29
37
  }
30
38
  });
31
39
  const calendarWeekEmits = {
@@ -61,6 +61,14 @@ const customCalendarProps = util.handleProps({
61
61
  */
62
62
  selectedData: {
63
63
  type: Object
64
+ },
65
+ semanticClass: {
66
+ type: Function,
67
+ required: true
68
+ },
69
+ semanticStyle: {
70
+ type: Function,
71
+ required: true
64
72
  }
65
73
  });
66
74
  const customCalendarEmits = {
@@ -23,6 +23,10 @@ const CustomDashboardContainer = /* @__PURE__ */ vue.defineComponent({
23
23
  emit
24
24
  }) {
25
25
  const ns = vue3Util.useNamespace("custom-dashboard-container");
26
+ const {
27
+ semanticClass,
28
+ semanticStyle
29
+ } = vue3Util.useSemanticNode(props.dashboard);
26
30
  const customDashboard = new runtime.CustomDashboardController(props.modelData, props.dashboard);
27
31
  props.dashboard.setCustomDashboard(customDashboard);
28
32
  const customC = vue.reactive(customDashboard);
@@ -152,7 +156,9 @@ const CustomDashboardContainer = /* @__PURE__ */ vue.defineComponent({
152
156
  onSaved,
153
157
  onReset,
154
158
  clickCollapse,
155
- openFilterDesign
159
+ openFilterDesign,
160
+ semanticClass,
161
+ semanticStyle
156
162
  };
157
163
  },
158
164
  render() {
@@ -160,7 +166,8 @@ const CustomDashboardContainer = /* @__PURE__ */ vue.defineComponent({
160
166
  return vue.withDirectives(vue.createVNode("div", {
161
167
  "class": [this.ns.b()]
162
168
  }, [this.customC.showDesignBtn ? vue.createVNode("div", {
163
- "class": this.ns.b("build-btn")
169
+ "class": [this.ns.b("build-btn"), this.semanticClass("custom")],
170
+ "style": this.semanticStyle("custom")
164
171
  }, [this.showTypeDir ? vue.createVNode("div", null, [this.showFilter ? vue.createVNode(vue.resolveComponent("el-button"), {
165
172
  "class": this.ns.b("deisgn-btn"),
166
173
  "title": ibiz.i18n.t("control.dashboard.customDashboardContainer.newFilter"),
@@ -77,6 +77,10 @@ const DashboardControl = /* @__PURE__ */ vue.defineComponent({
77
77
  setup() {
78
78
  const c = vue3Util.useControlController((...args) => new runtime.DashboardController(...args));
79
79
  vue3Util.useControlPopoverzIndex(c);
80
+ const {
81
+ semanticClass,
82
+ semanticStyle
83
+ } = vue3Util.useSemanticNode(c);
80
84
  const vue$1 = vue.getCurrentInstance().proxy;
81
85
  const customModelDatas = vue.ref([]);
82
86
  const anchorList = vue.ref([]);
@@ -158,7 +162,9 @@ const DashboardControl = /* @__PURE__ */ vue.defineComponent({
158
162
  anchorList,
159
163
  dashboardRef,
160
164
  calcNavBarConfig,
161
- handleCustomModelChange
165
+ handleCustomModelChange,
166
+ semanticClass,
167
+ semanticStyle
162
168
  };
163
169
  },
164
170
  render() {
@@ -227,7 +233,8 @@ const DashboardControl = /* @__PURE__ */ vue.defineComponent({
227
233
  }
228
234
  return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
229
235
  "controller": this.c,
230
- "class": [this.ns.b()]
236
+ "class": [this.ns.b(), this.semanticClass("root")],
237
+ "style": this.semanticStyle("root")
231
238
  }, {
232
239
  default: () => [state.isCreated && content]
233
240
  });
@@ -20,6 +20,10 @@ const ActionBarPortlet = /* @__PURE__ */ vue.defineComponent({
20
20
  setup(props) {
21
21
  var _a;
22
22
  const ns = vue3Util.useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
23
+ const {
24
+ semanticClass,
25
+ semanticStyle
26
+ } = vue3Util.useSemanticNode(props.controller.dashboard);
23
27
  const zIndex = props.controller.dashboard.state.zIndex;
24
28
  const onActionClick = async (detail, event) => {
25
29
  await props.controller.onActionClick(detail, event);
@@ -27,7 +31,9 @@ const ActionBarPortlet = /* @__PURE__ */ vue.defineComponent({
27
31
  return {
28
32
  ns,
29
33
  zIndex,
30
- onActionClick
34
+ onActionClick,
35
+ semanticClass,
36
+ semanticStyle
31
37
  };
32
38
  },
33
39
  render() {
@@ -37,6 +43,8 @@ const ActionBarPortlet = /* @__PURE__ */ vue.defineComponent({
37
43
  "class": classArr
38
44
  }, {
39
45
  default: () => [this.modelData.uiactionGroup && vue.createVNode(vue.resolveComponent("iBizActionToolbar"), {
46
+ "class": this.semanticClass("portlet.actionbar", this.controller),
47
+ "style": this.semanticStyle("portlet.actionbar", this.controller),
40
48
  "zIndex": this.zIndex,
41
49
  "action-details": this.modelData.uiactionGroup.uiactionGroupDetails,
42
50
  "actions-state": this.controller.state.actionGroupState,
@@ -23,6 +23,10 @@ const ChartPortlet = /* @__PURE__ */ vue.defineComponent({
23
23
  setup(props) {
24
24
  var _a, _b;
25
25
  const ns = vue3Util.useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
26
+ const {
27
+ semanticClass,
28
+ semanticStyle
29
+ } = vue3Util.useSemanticNode(props.controller.dashboard);
26
30
  const chart = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
27
31
  return item.controlType === runtime.ControlType.CHART;
28
32
  });
@@ -40,7 +44,9 @@ const ChartPortlet = /* @__PURE__ */ vue.defineComponent({
40
44
  });
41
45
  return {
42
46
  ns,
43
- chart
47
+ chart,
48
+ semanticClass,
49
+ semanticStyle
44
50
  };
45
51
  },
46
52
  render() {
@@ -56,7 +62,9 @@ const ChartPortlet = /* @__PURE__ */ vue.defineComponent({
56
62
  }, _isSlot(_slot = vue.h(vue.resolveComponent("IBizControlShell"), {
57
63
  context,
58
64
  params,
59
- modelData: this.chart
65
+ modelData: this.chart,
66
+ class: this.semanticClass("portlet.chart", this.controller),
67
+ style: this.semanticStyle("portlet.chart", this.controller)
60
68
  })) ? _slot : {
61
69
  default: () => [_slot]
62
70
  });
@@ -24,8 +24,14 @@ const ContainerPortlet = /* @__PURE__ */ vue.defineComponent({
24
24
  setup(props) {
25
25
  var _a;
26
26
  const ns = vue3Util.useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
27
+ const {
28
+ semanticClass,
29
+ semanticStyle
30
+ } = vue3Util.useSemanticNode(props.controller.dashboard);
27
31
  return {
28
- ns
32
+ ns,
33
+ semanticClass,
34
+ semanticStyle
29
35
  };
30
36
  },
31
37
  render() {
@@ -33,7 +39,9 @@ const ContainerPortlet = /* @__PURE__ */ vue.defineComponent({
33
39
  let _slot;
34
40
  const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
35
41
  const content = vue.createVNode(vue.resolveComponent("iBizRow"), {
36
- "layout": this.modelData.layout
42
+ "layout": this.modelData.layout,
43
+ "class": this.semanticClass("portlet.container", this.controller),
44
+ "style": this.semanticStyle("portlet.container", this.controller)
37
45
  }, _isSlot(_slot = defaultSlots.map((slot) => {
38
46
  const props = slot.props;
39
47
  if (!props || !props.controller) {
@@ -26,6 +26,10 @@ const FilterPortlet = /* @__PURE__ */ vue.defineComponent({
26
26
  var _a;
27
27
  const c = props.controller;
28
28
  const ns = vue3Util.useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
29
+ const {
30
+ semanticClass,
31
+ semanticStyle
32
+ } = vue3Util.useSemanticNode(props.controller.dashboard);
29
33
  const handleReset = () => {
30
34
  c.resetFilter();
31
35
  };
@@ -59,7 +63,9 @@ const FilterPortlet = /* @__PURE__ */ vue.defineComponent({
59
63
  ns,
60
64
  handleReset,
61
65
  handleSearch,
62
- renderFilter
66
+ renderFilter,
67
+ semanticClass,
68
+ semanticStyle
63
69
  };
64
70
  },
65
71
  render() {
@@ -70,6 +76,9 @@ const FilterPortlet = /* @__PURE__ */ vue.defineComponent({
70
76
  "class": classArr
71
77
  }, {
72
78
  default: () => [vue.createVNode("div", {
79
+ "class": this.semanticClass("portlet.filter"),
80
+ "style": this.semanticStyle("portlet.filter")
81
+ }, [vue.createVNode("div", {
73
82
  "class": this.ns.e("left")
74
83
  }, [this.renderFilter()]), vue.createVNode("div", {
75
84
  "class": this.ns.e("right")
@@ -81,7 +90,7 @@ const FilterPortlet = /* @__PURE__ */ vue.defineComponent({
81
90
  "onClick": this.handleSearch
82
91
  }, _isSlot(_slot2 = ibiz.i18n.t("app.search")) ? _slot2 : {
83
92
  default: () => [_slot2]
84
- })])]
93
+ })])])]
85
94
  });
86
95
  }
87
96
  });
@@ -1 +1 @@
1
- .ibiz-portlet-filter__left{display:flex;flex-wrap:wrap;overflow:auto}.ibiz-portlet-filter__right{display:flex;align-items:flex-end;padding:var(--ibiz-spacing-base-tight)}.ibiz-portlet-filter .ibiz-portlet-layout-content{display:flex;justify-content:space-between}
1
+ .ibiz-portlet-filter{--ibiz-portlet-filter-button-padding:var(--ibiz-spacing-base-tight)}.ibiz-portlet-filter__left{display:flex;flex-wrap:wrap;overflow:auto}.ibiz-portlet-filter__right{display:flex;align-items:flex-end;padding:var(--ibiz-portlet-filter-button-padding)}.ibiz-portlet-filter .ibiz-portlet-layout-content>div{display:flex;justify-content:space-between}
@@ -21,8 +21,14 @@ const HtmlPortlet = /* @__PURE__ */ vue.defineComponent({
21
21
  setup(props) {
22
22
  var _a;
23
23
  const ns = vue3Util.useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
24
+ const {
25
+ semanticClass,
26
+ semanticStyle
27
+ } = vue3Util.useSemanticNode(props.controller.dashboard);
24
28
  return {
25
- ns
29
+ ns,
30
+ semanticClass,
31
+ semanticStyle
26
32
  };
27
33
  },
28
34
  render() {
@@ -32,6 +38,8 @@ const HtmlPortlet = /* @__PURE__ */ vue.defineComponent({
32
38
  "class": classArr
33
39
  }, {
34
40
  default: () => [vue.createVNode("iframe", {
41
+ "class": this.semanticClass("portlet.html", this.controller),
42
+ "style": this.semanticStyle("portlet.html", this.controller),
35
43
  "src": this.modelData.pageUrl
36
44
  }, null)]
37
45
  });