@ibiz-template/vue3-components 0.7.41-alpha.97 → 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.
- package/dist/ibiz-markdown-editor-BxT3t2N6.js +1 -0
- package/dist/index-DY8xatG5.js +339 -0
- package/dist/{index.es-Bx7ry_G4.js → index.es-BxDgOess.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-DbBbP4qh.js +1 -0
- package/dist/map-chart-user-CfTAGaU5.js +1 -0
- package/dist/wang-editor-Ct_jRlrK.js +1 -0
- package/dist/{xlsx-util-DXx8himL.js → xlsx-util-Bi2h7Kj8.js} +2 -2
- package/es/common/high-light-code/high-light-code-util.mjs +0 -1
- package/es/common/map-chart/map-chart.css +1 -1
- package/es/common/map-chart/map-chart.mjs +9 -2
- package/es/common/map-chart-user/map-chart-user.css +1 -1
- package/es/common/map-chart-user/map-chart-user.mjs +13 -5
- package/es/common/pagination/pagination.css +1 -1
- package/es/common/pagination/pagination.mjs +42 -2
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.mjs +2 -0
- package/es/common/sort-bar/sort-bar.css +1 -1
- package/es/common/sort-bar/sort-bar.mjs +9 -1
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +42 -20
- package/es/control/calendar/calendar-util.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +86 -51
- package/es/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +13 -8
- package/es/control/calendar/components/calendar-user/calendar-user.css +1 -1
- package/es/control/calendar/components/calendar-user/calendar-user.mjs +16 -8
- package/es/control/calendar/components/calendar-user2/calendar-user2.css +1 -0
- package/es/control/calendar/components/calendar-user2/calendar-user2.mjs +214 -0
- package/es/control/calendar/components/calendar-user2/index.mjs +9 -0
- package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +10 -5
- package/es/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +26 -16
- package/es/control/calendar/components/custom-calendar/use-custom-calendar.mjs +2 -2
- package/es/control/calendar/components/interface/calendar-daily.mjs +8 -0
- package/es/control/calendar/components/interface/calendar-user.mjs +8 -0
- package/es/control/calendar/components/interface/calendar-week.mjs +8 -0
- package/es/control/calendar/components/interface/custom-calendar.mjs +8 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
- package/es/control/dashboard/dashboard.mjs +10 -3
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +11 -3
- package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +11 -3
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet.mjs +12 -3
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +20 -8
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/report-portlet/report-portlet.mjs +10 -2
- package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +10 -2
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +42 -22
- package/es/control/drbar/drbar.css +1 -1
- package/es/control/drbar/drbar.mjs +24 -14
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.mjs +36 -18
- package/es/control/drtab/flow-drtab.css +1 -1
- package/es/control/drtab/flow-drtab.mjs +21 -10
- package/es/control/form/edit-form/edit-form.css +1 -1
- package/es/control/form/form/form.mjs +12 -6
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +11 -3
- package/es/control/form/form-detail/form-button-list/form-button-list.mjs +10 -3
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +11 -3
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +18 -9
- package/es/control/form/form-detail/form-iframe/form-iframe.mjs +10 -3
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +16 -6
- package/es/control/form/form-detail/form-item/form-item.css +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +12 -5
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +19 -6
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +18 -7
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +16 -4
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +24 -7
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.mjs +16 -6
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +14 -5
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +22 -7
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +12 -4
- package/es/control/form/form-detail/form-page/form-page.mjs +16 -6
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +13 -4
- package/es/control/form/form-detail/form-tab-page/form-tab-page.mjs +10 -3
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +16 -6
- package/es/control/form/search-form/advance-search/advance-search.mjs +2 -3
- package/es/control/form/search-form/search-form.css +1 -1
- package/es/control/grid/grid/grid-control.util.mjs +1 -1
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +44 -18
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/es/control/grid/grid-column/grid-ua-column/grid-ua-column.css +1 -1
- package/es/control/grid/row-edit-popover/row-edit-popover.css +1 -1
- package/es/control/kanban/kanban.css +1 -1
- package/es/control/kanban/kanban.mjs +46 -24
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.mjs +35 -18
- package/es/control/map/map.css +1 -1
- package/es/control/map/map.mjs +23 -13
- package/es/control/medit-view-panel/medit-view-panel.css +1 -1
- package/es/control/medit-view-panel/medit-view-panel.mjs +32 -17
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/control/search-bar/search-bar.mjs +22 -10
- package/es/control/search-bar/search-groups/search-groups.css +1 -1
- package/es/control/search-bar/search-groups/search-groups.mjs +16 -6
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +94 -61
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.mjs +27 -11
- package/es/control/tree-grid/tree-grid.mjs +44 -12
- package/es/control/tree-grid-ex/tree-grid-ex.css +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +24 -7
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +29 -10
- package/es/editor/code/monaco-editor/monaco-editor.mjs +19 -5
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +10 -6
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +14 -2
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +6 -4
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +1 -1
- package/es/editor/upload/upload-editor.controller.mjs +9 -1
- package/es/editor/upload/use/use-custom-upload.mjs +62 -13
- package/es/editor/upload/use/use-iview-upload.mjs +45 -2
- package/es/index.mjs +1 -0
- package/es/locale/index.mjs +29 -1
- package/es/panel-component/panel-button/panel-button.css +1 -1
- package/es/panel-component/panel-view-header/panel-view-header.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +10 -3
- package/es/util/index.mjs +1 -0
- package/es/util/pagination/use-pagination.mjs +33 -1
- package/es/util/path-util/path-util.mjs +14 -0
- package/lib/common/high-light-code/high-light-code-util.cjs +0 -1
- package/lib/common/map-chart/map-chart.cjs +8 -1
- package/lib/common/map-chart/map-chart.css +1 -1
- package/lib/common/map-chart-user/map-chart-user.cjs +12 -4
- package/lib/common/map-chart-user/map-chart-user.css +1 -1
- package/lib/common/pagination/pagination.cjs +42 -2
- package/lib/common/pagination/pagination.css +1 -1
- package/lib/common/rawitem/rawitem.cjs +2 -0
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/common/sort-bar/sort-bar.cjs +9 -1
- package/lib/common/sort-bar/sort-bar.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +40 -18
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/calendar/calendar-util.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +85 -50
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +13 -8
- package/lib/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
- package/lib/control/calendar/components/calendar-user/calendar-user.cjs +16 -8
- package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -1
- package/lib/control/calendar/components/calendar-user2/calendar-user2.cjs +216 -0
- package/lib/control/calendar/components/calendar-user2/calendar-user2.css +1 -0
- package/lib/control/calendar/components/calendar-user2/index.cjs +14 -0
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +10 -5
- package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +26 -16
- package/lib/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
- package/lib/control/calendar/components/custom-calendar/use-custom-calendar.cjs +2 -2
- package/lib/control/calendar/components/interface/calendar-daily.cjs +8 -0
- package/lib/control/calendar/components/interface/calendar-user.cjs +8 -0
- package/lib/control/calendar/components/interface/calendar-week.cjs +8 -0
- package/lib/control/calendar/components/interface/custom-calendar.cjs +8 -0
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +9 -2
- package/lib/control/dashboard/dashboard.cjs +9 -2
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +10 -2
- package/lib/control/dashboard/portlet/container-portlet/container-portlet.cjs +10 -2
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.cjs +11 -2
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -1
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/list-portlet/list-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +19 -7
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/report-portlet/report-portlet.cjs +9 -1
- package/lib/control/dashboard/portlet/view-portlet/view-portlet.cjs +9 -1
- package/lib/control/data-view/data-view.cjs +40 -20
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.cjs +23 -13
- package/lib/control/drbar/drbar.css +1 -1
- package/lib/control/drtab/drtab.cjs +34 -16
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/drtab/flow-drtab.cjs +20 -9
- package/lib/control/drtab/flow-drtab.css +1 -1
- package/lib/control/form/edit-form/edit-form.css +1 -1
- package/lib/control/form/form/form.cjs +10 -4
- package/lib/control/form/form-detail/form-button/form-button.cjs +10 -2
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +9 -2
- package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +10 -2
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +17 -8
- package/lib/control/form/form-detail/form-iframe/form-iframe.cjs +9 -2
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +15 -5
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +11 -4
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +18 -5
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +17 -6
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.cjs +15 -3
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +23 -6
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.cjs +15 -5
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +13 -4
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +21 -6
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +11 -3
- package/lib/control/form/form-detail/form-page/form-page.cjs +15 -5
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +12 -3
- package/lib/control/form/form-detail/form-tab-page/form-tab-page.cjs +9 -2
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +15 -5
- package/lib/control/form/search-form/advance-search/advance-search.cjs +1 -2
- package/lib/control/form/search-form/search-form.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +1 -1
- package/lib/control/grid/grid/grid.cjs +42 -16
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/lib/control/grid/grid-column/grid-ua-column/grid-ua-column.css +1 -1
- package/lib/control/grid/row-edit-popover/row-edit-popover.css +1 -1
- package/lib/control/kanban/kanban.cjs +45 -23
- package/lib/control/kanban/kanban.css +1 -1
- package/lib/control/list/list.cjs +34 -17
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +21 -11
- package/lib/control/map/map.css +1 -1
- package/lib/control/medit-view-panel/medit-view-panel.cjs +31 -16
- package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
- package/lib/control/search-bar/search-bar.cjs +21 -9
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/search-bar/search-groups/search-groups.cjs +15 -5
- package/lib/control/search-bar/search-groups/search-groups.css +1 -1
- package/lib/control/toolbar/toolbar.cjs +92 -59
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +26 -10
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid/tree-grid.cjs +42 -10
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +22 -5
- package/lib/control/tree-grid-ex/tree-grid-ex.css +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +28 -9
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +19 -5
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +10 -6
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +14 -2
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +6 -4
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +1 -1
- package/lib/editor/upload/upload-editor.controller.cjs +9 -1
- package/lib/editor/upload/use/use-custom-upload.cjs +62 -13
- package/lib/editor/upload/use/use-iview-upload.cjs +45 -2
- package/lib/index.cjs +2 -0
- package/lib/locale/index.cjs +29 -1
- package/lib/panel-component/panel-button/panel-button.css +1 -1
- package/lib/panel-component/panel-view-header/panel-view-header.css +1 -1
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +9 -2
- package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/lib/util/index.cjs +2 -0
- package/lib/util/pagination/use-pagination.cjs +33 -1
- package/lib/util/path-util/path-util.cjs +16 -0
- package/package.json +5 -5
- package/dist/ibiz-markdown-editor-CQRvKzXG.js +0 -1
- package/dist/index-YyzbGEva.js +0 -339
- package/dist/map-chart-nwkjjlMK.js +0 -1
- package/dist/map-chart-user-D2lgUtGX.js +0 -1
- package/dist/wang-editor-BnRUlcfv.js +0 -1
|
@@ -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%;
|
|
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}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var vue = require('vue');
|
|
4
3
|
var dayjs = require('dayjs');
|
|
5
4
|
var ElementPlus = require('element-plus');
|
|
6
|
-
require('
|
|
5
|
+
var vue = require('vue');
|
|
7
6
|
require('../constant/index.cjs');
|
|
7
|
+
require('../util/index.cjs');
|
|
8
8
|
var util = require('../util/util.cjs');
|
|
9
9
|
var event = require('../constant/event.cjs');
|
|
10
10
|
|
|
@@ -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-
|
|
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
|
});
|
|
@@ -23,6 +23,10 @@ const ListPortlet = /* @__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 list = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
27
31
|
return item.controlType === runtime.ControlType.LIST;
|
|
28
32
|
});
|
|
@@ -40,7 +44,9 @@ const ListPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
40
44
|
});
|
|
41
45
|
return {
|
|
42
46
|
ns,
|
|
43
|
-
list
|
|
47
|
+
list,
|
|
48
|
+
semanticClass,
|
|
49
|
+
semanticStyle
|
|
44
50
|
};
|
|
45
51
|
},
|
|
46
52
|
render() {
|
|
@@ -54,6 +60,8 @@ const ListPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
60
|
"controller": this.controller,
|
|
55
61
|
"class": classArr
|
|
56
62
|
}, _isSlot(_slot = vue.h(vue.resolveComponent("IBizControlShell"), {
|
|
63
|
+
class: this.semanticClass("portlet.list", this.controller),
|
|
64
|
+
style: this.semanticStyle("portlet.list", this.controller),
|
|
57
65
|
context,
|
|
58
66
|
params,
|
|
59
67
|
modelData: this.list
|
|
@@ -20,12 +20,18 @@ const MenuPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
setup(props) {
|
|
21
21
|
var _a, _b;
|
|
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 menu = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
24
28
|
return item.controlType === runtime.ControlType.APP_MENU;
|
|
25
29
|
});
|
|
26
30
|
return {
|
|
27
31
|
ns,
|
|
28
|
-
menu
|
|
32
|
+
menu,
|
|
33
|
+
semanticClass,
|
|
34
|
+
semanticStyle
|
|
29
35
|
};
|
|
30
36
|
},
|
|
31
37
|
render() {
|
|
@@ -39,6 +45,8 @@ const MenuPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
45
|
"class": classArr
|
|
40
46
|
}, {
|
|
41
47
|
default: () => [this.menu && vue.createVNode(vue.resolveComponent("iBizAppMenuPortletControl"), {
|
|
48
|
+
"class": this.semanticClass("portlet.menu", this.controller),
|
|
49
|
+
"style": this.semanticStyle("portlet.menu", this.controller),
|
|
42
50
|
"modelData": this.menu,
|
|
43
51
|
"context": context,
|
|
44
52
|
"params": params
|
|
@@ -23,6 +23,10 @@ const PortletLayout = /* @__PURE__ */ vue.defineComponent({
|
|
|
23
23
|
const ns = vue3Util.useNamespace("portlet-layout");
|
|
24
24
|
const portletType = "portlet-".concat((_a = props.controller.model.portletType) == null ? void 0 : _a.toLowerCase());
|
|
25
25
|
const c = props.controller;
|
|
26
|
+
const {
|
|
27
|
+
semanticClass,
|
|
28
|
+
semanticStyle
|
|
29
|
+
} = vue3Util.useSemanticNode(c.dashboard);
|
|
26
30
|
const zIndex = props.controller.dashboard.state.zIndex;
|
|
27
31
|
const popperClass = vue.computed(() => {
|
|
28
32
|
const classNames = [ns.em("toolbar", "".concat(portletType, "-").concat(c.model.id))];
|
|
@@ -93,7 +97,9 @@ const PortletLayout = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
97
|
renderContent,
|
|
94
98
|
openLink,
|
|
95
99
|
clickPorlet,
|
|
96
|
-
onActionClick
|
|
100
|
+
onActionClick,
|
|
101
|
+
semanticClass,
|
|
102
|
+
semanticStyle
|
|
97
103
|
};
|
|
98
104
|
},
|
|
99
105
|
render() {
|
|
@@ -104,20 +110,24 @@ const PortletLayout = /* @__PURE__ */ vue.defineComponent({
|
|
|
104
110
|
} = this.controller;
|
|
105
111
|
const isCustom = !!(this.header || this.headerCaption || this.headerBg || this.headerAction);
|
|
106
112
|
return vue.createVNode("div", {
|
|
107
|
-
"class": [this.ns.b(), this.ns.is("no-header", !this.isShowHeader), this.ns.is("hight-light", state.hightLight)]
|
|
113
|
+
"class": [this.ns.b(), this.ns.is("no-header", !this.isShowHeader), this.ns.is("hight-light", state.hightLight), this.semanticClass("portlet")],
|
|
114
|
+
"style": this.semanticStyle("portlet")
|
|
108
115
|
}, [this.isShowHeader ? this.header ? vue.createVNode("div", {
|
|
109
116
|
"key": "header",
|
|
110
|
-
"class": [this.ns.b("header"), this.ns.is("custom", isCustom)]
|
|
117
|
+
"class": [this.ns.b("header"), this.ns.is("custom", isCustom), this.semanticClass("portlet.header")],
|
|
118
|
+
"style": this.semanticStyle("portlet.header")
|
|
111
119
|
}, [this.renderContent(this.header)]) : vue.createVNode("div", {
|
|
112
120
|
"key": "header",
|
|
113
|
-
"class": [this.ns.b("header"), this.ns.is("custom", isCustom)]
|
|
121
|
+
"class": [this.ns.b("header"), this.ns.is("custom", isCustom), this.semanticClass("portlet.header")],
|
|
122
|
+
"style": this.semanticStyle("portlet.header")
|
|
114
123
|
}, [this.headerBg && vue.createVNode("div", {
|
|
115
124
|
"class": this.ns.be("header", "bg")
|
|
116
125
|
}, [this.renderContent(this.headerBg)]), vue.createVNode("div", {
|
|
117
126
|
"class": this.ns.be("header", "left"),
|
|
118
127
|
"onClick": (event) => this.clickPorlet(event, "title")
|
|
119
128
|
}, [model.showTitleBar && (this.headerCaption ? this.renderContent(this.headerCaption) : vue.createVNode("div", {
|
|
120
|
-
"class": [this.ns.e("caption"), this.ns.is("link", !!this.linkAction)],
|
|
129
|
+
"class": [this.ns.e("caption"), this.ns.is("link", !!this.linkAction), this.semanticClass("portlet.caption")],
|
|
130
|
+
"style": this.semanticStyle("portlet.caption"),
|
|
121
131
|
"onClick": this.openLink
|
|
122
132
|
}, [vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
123
133
|
"class": this.ns.e("caption-icon"),
|
|
@@ -129,7 +139,8 @@ const PortletLayout = /* @__PURE__ */ vue.defineComponent({
|
|
|
129
139
|
"class": this.ns.be("header", "right")
|
|
130
140
|
}, [this.headerAction ? this.renderContent(this.headerAction) : model.portletType !== "ACTIONBAR" && model.uiactionGroup && vue.createVNode(vue.resolveComponent("iBizActionToolbar"), {
|
|
131
141
|
"zIndex": this.zIndex,
|
|
132
|
-
"class": this.ns.e("toolbar"),
|
|
142
|
+
"class": [this.ns.e("toolbar"), this.semanticClass("portlet.action")],
|
|
143
|
+
"style": this.semanticStyle("portlet.action"),
|
|
133
144
|
"action-details": model.uiactionGroup.uiactionGroupDetails,
|
|
134
145
|
"actions-state": state.actionGroupState,
|
|
135
146
|
"mode": model.actionGroupExtractMode === "ITEMS" ? "dropdown" : "buttons",
|
|
@@ -137,7 +148,8 @@ const PortletLayout = /* @__PURE__ */ vue.defineComponent({
|
|
|
137
148
|
"onActionClick": this.onActionClick
|
|
138
149
|
}, null)])]) : null, vue.createVNode("div", {
|
|
139
150
|
"key": "content",
|
|
140
|
-
"class": this.ns.b("content"),
|
|
151
|
+
"class": [this.ns.b("content"), this.semanticClass("portlet.content")],
|
|
152
|
+
"style": this.semanticStyle("portlet.content"),
|
|
141
153
|
"onClick": (event) => this.clickPorlet(event, "content")
|
|
142
154
|
}, [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)])]);
|
|
143
155
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-portlet-layout{--ibiz-portlet-
|
|
1
|
+
.ibiz-portlet-layout{--ibiz-portlet-bg-color:transparent;--ibiz-portlet-padding:var(--ibiz-spacing-tight);--ibiz-portlet-hight-light-color:var(--ibiz-color-warning-light-active);--ibiz-portlet-header-height:50px;--ibiz-portlet-header-padding:calc(var(--ibiz-spacing-base-tight) + 2px) var(--ibiz-spacing-base);--ibiz-portlet-header-margin:var(--ibiz-spacing-none);--ibiz-portlet-header-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-caption-max-width:300px;--ibiz-portlet-caption-font-weight:var(--ibiz-font-weight-regular);--ibiz-portlet-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-portlet-caption-color:var(--ibiz-text-color-primary);--ibiz-portlet-caption-link-color:var(--ibiz-color-link);--ibiz-portlet-caption-icon-width:4px;--ibiz-portlet-caption-icon-height:var(--ibiz-width-icon-large);--ibiz-portlet-caption-icon-color:var(--ibiz-color-primary);--ibiz-portlet-caption-icon-border-radius:var(--ibiz-border-radius-extra-small);--ibiz-portlet-content-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-content-padding:var(--ibiz-spacing-none);--ibiz-portlet-content-margin:var(--ibiz-spacing-none);width:100%;height:100%;padding:var(--ibiz-portlet-padding);background-color:var(--ibiz-portlet-bg-color)}.ibiz-portlet-layout__caption{max-width:var(--ibiz-portlet-caption-max-width);height:100%;padding:var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-base)}.ibiz-portlet-layout__caption-text{font-size:var(--ibiz-portlet-caption-font-size);font-weight:var(--ibiz-portlet-caption-font-weight);line-height:var(--ibiz-portlet-caption-font-size);color:var(--ibiz-portlet-caption-color)}.ibiz-portlet-layout__caption::before{position:absolute;top:50%;left:0;width:var(--ibiz-portlet-caption-icon-width);height:var(--ibiz-portlet-caption-icon-height);content:"";background-color:var(--ibiz-portlet-caption-icon-color);border-radius:var(--ibiz-portlet-caption-icon-border-radius);transform:translateY(-50%)}.ibiz-portlet-layout__caption.is-link{cursor:pointer}.ibiz-portlet-layout__caption.is-link:hover{color:var(--ibiz-portlet-caption-link-color)}.ibiz-portlet-layout.is-no-header>.ibiz-portlet-layout-content{height:100%}.ibiz-portlet-layout.is-hight-light{box-shadow:0 0 0 calc(var(--ibiz-portlet-padding) - 2px) var(--ibiz-color-bg-1) inset,inset 0 0 0 var(--ibiz-portlet-padding) var(--ibiz-portlet-hight-light-color)}.ibiz-portlet-layout-header{display:flex;justify-content:space-between}.ibiz-portlet-layout-header__left{position:relative}.ibiz-portlet-layout-header.is-custom{position:relative}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__left{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__right{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__bg{position:absolute;top:0;left:0;width:100%;height:100%}.ibiz-portlet-layout-header{height:var(--ibiz-portlet-header-height);padding:var(--ibiz-portlet-header-padding);margin:var(--ibiz-portlet-header-margin);background-color:var(--ibiz-portlet-header-bg-color)}.ibiz-portlet-layout-content{height:calc(100% - var(--ibiz-portlet-header-height));padding:var(--ibiz-portlet-content-padding);margin:var(--ibiz-portlet-content-margin);overflow-y:scroll;background-color:var(--ibiz-portlet-content-bg-color)}
|
|
@@ -23,6 +23,10 @@ const RawItemPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
23
23
|
var _a;
|
|
24
24
|
const c = props.controller;
|
|
25
25
|
const ns = vue3Util.useNamespace("portlet-".concat((_a = c.model.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
26
|
+
const {
|
|
27
|
+
semanticClass,
|
|
28
|
+
semanticStyle
|
|
29
|
+
} = vue3Util.useSemanticNode(props.controller.dashboard);
|
|
26
30
|
const content = vue.ref();
|
|
27
31
|
const onInit = async () => {
|
|
28
32
|
const rawItemModel = c.model.rawItem;
|
|
@@ -50,7 +54,9 @@ const RawItemPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
50
54
|
});
|
|
51
55
|
return {
|
|
52
56
|
ns,
|
|
53
|
-
content
|
|
57
|
+
content,
|
|
58
|
+
semanticClass,
|
|
59
|
+
semanticStyle
|
|
54
60
|
};
|
|
55
61
|
},
|
|
56
62
|
render() {
|
|
@@ -60,6 +66,8 @@ const RawItemPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
66
|
"controller": this.controller,
|
|
61
67
|
"class": classArr
|
|
62
68
|
}, _isSlot(_slot = vue.h(vue.resolveComponent("iBizRawItem"), {
|
|
69
|
+
class: this.semanticClass("portlet.rawitem", this.controller),
|
|
70
|
+
style: this.semanticStyle("portlet.rawitem", this.controller),
|
|
63
71
|
rawItem: this.modelData,
|
|
64
72
|
content: this.content
|
|
65
73
|
})) ? _slot : {
|
|
@@ -23,6 +23,10 @@ const ReportPortlet = /* @__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 report = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
27
31
|
return item.controlType === runtime.ControlType.REPORT_PANEL;
|
|
28
32
|
});
|
|
@@ -47,7 +51,9 @@ const ReportPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
51
|
return {
|
|
48
52
|
ns,
|
|
49
53
|
report,
|
|
50
|
-
linkAction
|
|
54
|
+
linkAction,
|
|
55
|
+
semanticClass,
|
|
56
|
+
semanticStyle
|
|
51
57
|
};
|
|
52
58
|
},
|
|
53
59
|
render() {
|
|
@@ -62,6 +68,8 @@ const ReportPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
68
|
"linkAction": this.linkAction,
|
|
63
69
|
"class": classArr
|
|
64
70
|
}, _isSlot(_slot = vue.h(vue.resolveComponent("IBizControlShell"), {
|
|
71
|
+
class: this.semanticClass("portlet.report", this.controller),
|
|
72
|
+
style: this.semanticStyle("portlet.report", this.controller),
|
|
65
73
|
context,
|
|
66
74
|
params,
|
|
67
75
|
modelData: this.report
|
|
@@ -23,6 +23,10 @@ const ViewPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
23
23
|
setup(props) {
|
|
24
24
|
var _a;
|
|
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 view = props.modelData.portletAppView;
|
|
27
31
|
let timerTag;
|
|
28
32
|
vue.onMounted(() => {
|
|
@@ -38,7 +42,9 @@ const ViewPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
42
|
});
|
|
39
43
|
return {
|
|
40
44
|
ns,
|
|
41
|
-
view
|
|
45
|
+
view,
|
|
46
|
+
semanticClass,
|
|
47
|
+
semanticStyle
|
|
42
48
|
};
|
|
43
49
|
},
|
|
44
50
|
render() {
|
|
@@ -52,6 +58,8 @@ const ViewPortlet = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
58
|
"controller": this.controller,
|
|
53
59
|
"class": classArr
|
|
54
60
|
}, _isSlot(_slot = vue.h(vue.resolveComponent("IBizViewShell"), {
|
|
61
|
+
class: this.semanticClass("portlet.view", this.controller),
|
|
62
|
+
style: this.semanticStyle("portlet.view", this.controller),
|
|
55
63
|
context,
|
|
56
64
|
params,
|
|
57
65
|
modelData: this.view
|