@ibiz-template/vue3-components 0.7.38-alpha.21 → 0.7.38-alpha.43
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/chart-NHocZH22.js +1 -0
- package/dist/ibiz-markdown-editor-BZ8j-yda.js +1 -0
- package/dist/index-BLHbMaxB.js +1 -0
- package/dist/index-D22WGUVe.js +1 -0
- package/dist/index-b76YR_Js.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-Btv6GIhJ.js +1 -0
- package/dist/{xlsx-util-BlkeQIMu.js → xlsx-util-BoMFhSd9.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +5 -0
- package/es/common/custom-theme/custom-theme-model.mjs +168 -47
- package/es/common/custom-theme/custom-theme.controller.d.ts +87 -1
- package/es/common/custom-theme/custom-theme.controller.mjs +235 -5
- package/es/common/custom-theme/custom-theme.css +1 -1
- package/es/common/custom-theme/custom-theme.d.ts +5 -3
- package/es/common/custom-theme/custom-theme.mjs +190 -26
- package/es/common/data-import2/data-import2.mjs +1 -1
- package/es/common/gantt-setting/gantt-setting.css +1 -1
- package/es/common/gantt-setting/gantt-setting.d.ts +10 -0
- package/es/common/gantt-setting/gantt-setting.mjs +23 -3
- package/es/common/grid-setting/grid-setting.d.ts +1 -0
- package/es/common/grid-setting/grid-setting.mjs +1 -1
- package/es/common/nav-split/nav-split.mjs +0 -1
- package/es/common/no-data/no-data.css +1 -1
- package/es/common/no-data/no-data.d.ts +3 -3
- package/es/common/no-data/no-data.mjs +2 -2
- package/es/common/view-message/view-message.d.ts +7 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +8 -6
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +1 -0
- package/es/control/calendar/calendar-util.d.ts +24 -0
- package/es/control/calendar/calendar-util.mjs +21 -0
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +2 -0
- package/es/control/calendar/calendar.mjs +94 -25
- package/es/control/calendar/components/calendar-user/calendar-user.css +1 -0
- package/es/control/calendar/components/calendar-user/calendar-user.d.ts +15 -0
- package/es/control/calendar/components/calendar-user/calendar-user.mjs +133 -0
- package/es/control/calendar/components/calendar-user/index.d.ts +15 -0
- package/es/control/calendar/components/calendar-user/index.mjs +9 -0
- package/es/control/calendar/components/calendar-user/use-calendar-user.d.ts +17 -0
- package/es/control/calendar/components/calendar-user/use-calendar-user.mjs +59 -0
- package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +3 -2
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +11 -0
- package/es/control/calendar/components/interface/calendar-user.d.ts +10 -0
- package/es/control/calendar/components/interface/calendar-user.mjs +20 -0
- package/es/control/calendar/components/interface/index.d.ts +1 -0
- package/es/control/calendar/components/interface/index.mjs +1 -0
- package/es/control/calendar/index.d.ts +2 -0
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/chart/chart.css +1 -1
- package/es/control/chart/chart.d.ts +1 -0
- package/es/control/chart/chart.mjs +12 -5
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +136 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +1 -0
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +38 -17
- package/es/control/dashboard/dashboard-design/dashboard-design.util.d.ts +10 -0
- package/es/control/dashboard/dashboard-design/dashboard-design.util.mjs +246 -0
- package/es/control/dashboard/dashboard.mjs +13 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +7 -3
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +8 -1
- package/es/control/drbar/drbar.controller.mjs +1 -1
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.controller.d.ts +19 -7
- package/es/control/drtab/drtab.controller.mjs +36 -9
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +35 -0
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +93 -0
- package/es/control/form/form-detail/form-item/form-item.css +1 -1
- package/es/control/form/form-detail/form-item/form-item.d.ts +1 -0
- package/es/control/form/form-detail/form-item/form-item.mjs +68 -33
- package/es/control/form/form-detail/form-item/index.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +171 -0
- package/es/control/form/search-form/index.d.ts +9 -0
- package/es/control/form/search-form/search-form.d.ts +9 -0
- package/es/control/form/search-form/search-form.mjs +4 -0
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.d.ts +1 -0
- package/es/control/gantt/gantt.mjs +79 -30
- package/es/control/gantt/index.d.ts +1 -0
- package/es/control/grid/grid/grid-control.util.d.ts +2 -0
- package/es/control/grid/grid/grid-control.util.mjs +38 -2
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +14 -4
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -0
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +21 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +1 -0
- 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/list/list.css +1 -1
- package/es/control/list/list.mjs +9 -2
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +2 -2
- package/es/control/toolbar/toolbar.mjs +24 -11
- package/es/control/tree/index.d.ts +2 -0
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +2 -0
- package/es/control/tree/tree.mjs +87 -6
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +17 -1
- package/es/control/wizard-panel/wizard-panel.mjs +3 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +3 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.css +1 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +66 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.mjs +139 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.css +1 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +56 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.mjs +178 -0
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +10 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +48 -4
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +10 -0
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +9 -2
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +12 -3
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +3 -1
- package/es/editor/data-picker/picker-editor.provider.mjs +0 -1
- package/es/editor/dropdown-list/dropdown-list-editor.controller.d.ts +6 -0
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +13 -2
- package/es/editor/dropdown-list/dropdown-list-editor.provider.mjs +3 -0
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +11 -2
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.css +1 -0
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +83 -0
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +382 -0
- package/es/editor/dropdown-list/index.d.ts +1 -0
- package/es/editor/dropdown-list/index.mjs +1 -0
- package/es/editor/html/wang-editor/wang-editor.mjs +1 -1
- package/es/editor/index.mjs +10 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -1
- package/es/editor/span/span/span.mjs +8 -2
- package/es/editor/span/span-editor.controller.d.ts +7 -0
- package/es/editor/span/span-editor.controller.mjs +10 -0
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +24 -6
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.mjs +32 -5
- package/es/editor/text-box/text-box-editor.controller.d.ts +7 -0
- package/es/editor/text-box/text-box-editor.controller.mjs +10 -0
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +2 -0
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.mjs +18 -5
- package/es/editor/upload/use/use-iview-upload.mjs +1 -1
- package/es/locale/en/index.d.ts +102 -26
- package/es/locale/en/index.mjs +79 -30
- package/es/locale/zh-CN/index.d.ts +103 -26
- package/es/locale/zh-CN/index.mjs +79 -30
- package/es/panel-component/auth-sso/auth-sso.css +1 -0
- package/es/panel-component/auth-sso/auth-sso.d.ts +26 -0
- package/es/panel-component/auth-sso/auth-sso.mjs +100 -0
- package/es/panel-component/auth-sso/auth-sso.provider.d.ts +6 -0
- package/es/panel-component/auth-sso/auth-sso.provider.mjs +21 -0
- package/es/panel-component/auth-sso/index.d.ts +23 -0
- package/es/panel-component/auth-sso/index.mjs +12 -0
- package/es/panel-component/coop-pos/coop-pos.controller.d.ts +46 -1
- package/es/panel-component/coop-pos/coop-pos.controller.mjs +92 -1
- package/es/panel-component/coop-pos/coop-pos.css +1 -1
- package/es/panel-component/coop-pos/coop-pos.d.ts +4 -1
- package/es/panel-component/coop-pos/coop-pos.mjs +23 -3
- package/es/panel-component/coop-pos/index.d.ts +3 -0
- package/es/panel-component/index.mjs +4 -1
- package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +3 -3
- package/es/panel-component/panel-app-header/panel-app-header.css +1 -1
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +2 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +1 -1
- package/es/panel-component/user-action/user-action.css +1 -1
- package/es/panel-component/user-action/user-action.mjs +1 -5
- package/es/util/app-popover/app-popover-component.mjs +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +2 -2
- package/es/util/notification-util/upload-manager/upload-manager.mjs +1 -1
- package/es/view/login-view/login-view.mjs +28 -3
- package/es/view/share-view/share-view.mjs +1 -6
- package/es/view-engine/custom-view.engine.d.ts +9 -0
- package/es/view-engine/custom-view.engine.mjs +17 -1
- package/es/view-engine/edit-view.engine.d.ts +6 -14
- package/es/view-engine/edit-view.engine.mjs +75 -148
- package/es/view-engine/index-view.engine.d.ts +7 -0
- package/es/view-engine/index-view.engine.mjs +17 -1
- package/es/view-engine/login-view.engine.mjs +11 -1
- package/es/view-engine/opt-view.engine.d.ts +1 -0
- package/es/view-engine/opt-view.engine.mjs +41 -1
- package/es/view-engine/portal-view-engine.d.ts +31 -3
- package/es/view-engine/portal-view-engine.mjs +94 -2
- package/es/view-engine/tab-search-view.engine.d.ts +9 -1
- package/es/view-engine/tab-search-view.engine.mjs +52 -2
- package/es/view-engine/tree-exp-view.engine.d.ts +14 -0
- package/es/view-engine/tree-exp-view.engine.mjs +24 -1
- package/es/web-app/attach-environment-config.mjs +5 -1
- package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +4 -0
- package/es/web-app/guard/auth-guard/auth-guard.d.ts +25 -17
- package/es/web-app/guard/auth-guard/auth-guard.mjs +52 -27
- package/es/web-app/guard/auth-guard/dyna-auth-guard.d.ts +1 -1
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +2 -1
- package/es/web-app/main.mjs +3 -1
- package/es/web-app/router/index.d.ts +3 -2
- package/es/web-app/router/index.mjs +15 -4
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.d.ts +9 -0
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +21 -0
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- package/lib/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/custom-theme/custom-theme-model.cjs +168 -47
- package/lib/common/custom-theme/custom-theme.cjs +188 -24
- package/lib/common/custom-theme/custom-theme.controller.cjs +235 -5
- package/lib/common/custom-theme/custom-theme.css +1 -1
- package/lib/common/data-import2/data-import2.cjs +1 -1
- package/lib/common/gantt-setting/gantt-setting.cjs +23 -3
- package/lib/common/gantt-setting/gantt-setting.css +1 -1
- package/lib/common/grid-setting/grid-setting.cjs +1 -1
- package/lib/common/nav-split/nav-split.cjs +0 -1
- package/lib/common/no-data/no-data.cjs +2 -2
- package/lib/common/no-data/no-data.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +8 -6
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -0
- package/lib/control/calendar/calendar-util.cjs +24 -0
- package/lib/control/calendar/calendar.cjs +94 -25
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/calendar/components/calendar-user/calendar-user.cjs +135 -0
- package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -0
- package/lib/control/calendar/components/calendar-user/index.cjs +14 -0
- package/lib/control/calendar/components/calendar-user/use-calendar-user.cjs +63 -0
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +3 -2
- package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +11 -0
- package/lib/control/calendar/components/interface/calendar-user.cjs +23 -0
- package/lib/control/calendar/components/interface/index.cjs +3 -0
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/chart/chart.cjs +12 -5
- package/lib/control/chart/chart.css +1 -1
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +10 -3
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +37 -16
- package/lib/control/dashboard/dashboard-design/dashboard-design.util.cjs +248 -0
- package/lib/control/dashboard/dashboard.cjs +13 -1
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +7 -3
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +1 -1
- package/lib/control/data-view/data-view.cjs +8 -1
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +1 -1
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +36 -9
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-item/composite-form-item/composite-form-item.cjs +98 -0
- package/lib/control/form/form-detail/form-item/form-item.cjs +67 -32
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +4 -0
- package/lib/control/gantt/gantt.cjs +78 -29
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +37 -1
- package/lib/control/grid/grid/grid.cjs +14 -4
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +21 -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/list/list.cjs +9 -2
- package/lib/control/list/list.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/toolbar.cjs +24 -11
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +87 -6
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +17 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +3 -1
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +3 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.cjs +141 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.css +1 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.cjs +180 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.css +1 -0
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +48 -4
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +10 -0
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +9 -2
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +12 -3
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.cjs +3 -1
- package/lib/editor/data-picker/picker-editor.provider.cjs +0 -1
- package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +13 -2
- package/lib/editor/dropdown-list/dropdown-list-editor.provider.cjs +3 -0
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +11 -2
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +384 -0
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.css +1 -0
- package/lib/editor/dropdown-list/index.cjs +2 -0
- package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
- package/lib/editor/index.cjs +10 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -1
- package/lib/editor/span/span/span.cjs +8 -2
- package/lib/editor/span/span-editor.controller.cjs +10 -0
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +24 -6
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +32 -5
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/text-box/text-box-editor.controller.cjs +10 -0
- package/lib/editor/upload/ibiz-image-preview/ibiz-image-preview.cjs +18 -5
- package/lib/editor/upload/use/use-iview-upload.cjs +1 -1
- package/lib/locale/en/index.cjs +79 -30
- package/lib/locale/zh-CN/index.cjs +79 -30
- package/lib/panel-component/auth-sso/auth-sso.cjs +102 -0
- package/lib/panel-component/auth-sso/auth-sso.css +1 -0
- package/lib/panel-component/auth-sso/auth-sso.provider.cjs +23 -0
- package/lib/panel-component/auth-sso/index.cjs +17 -0
- package/lib/panel-component/coop-pos/coop-pos.cjs +22 -2
- package/lib/panel-component/coop-pos/coop-pos.controller.cjs +91 -0
- package/lib/panel-component/coop-pos/coop-pos.css +1 -1
- package/lib/panel-component/index.cjs +39 -36
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +3 -3
- package/lib/panel-component/panel-app-header/panel-app-header.css +1 -1
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +2 -1
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +1 -1
- package/lib/panel-component/user-action/user-action.cjs +1 -5
- package/lib/panel-component/user-action/user-action.css +1 -1
- package/lib/util/app-popover/app-popover-component.cjs +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +2 -2
- package/lib/util/notification-util/upload-manager/upload-manager.cjs +1 -1
- package/lib/view/login-view/login-view.cjs +26 -1
- package/lib/view/share-view/share-view.cjs +0 -5
- package/lib/view-engine/custom-view.engine.cjs +16 -0
- package/lib/view-engine/edit-view.engine.cjs +74 -147
- package/lib/view-engine/index-view.engine.cjs +17 -1
- package/lib/view-engine/login-view.engine.cjs +11 -1
- package/lib/view-engine/opt-view.engine.cjs +40 -0
- package/lib/view-engine/portal-view-engine.cjs +93 -1
- package/lib/view-engine/tab-search-view.engine.cjs +52 -2
- package/lib/view-engine/tree-exp-view.engine.cjs +23 -0
- package/lib/web-app/attach-environment-config.cjs +5 -1
- package/lib/web-app/components/modal-router-shell/modal-router-shell.cjs +4 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +52 -27
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +2 -1
- package/lib/web-app/main.cjs +3 -1
- package/lib/web-app/router/index.cjs +15 -4
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +21 -0
- package/package.json +10 -10
- package/dist/chart-DPS_XpZp.js +0 -1
- package/dist/ibiz-markdown-editor-B4c6yGAW.js +0 -1
- package/dist/index-3cxXHoLs.js +0 -4
- package/dist/index-CiEIUSX9.js +0 -1
- package/dist/index-HW5stxcy.js +0 -1
- package/dist/wang-editor-BUIAd4uJ.js +0 -1
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.16_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.43_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.16_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.43_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { createUUID } from 'qx-util';
|
|
2
|
+
import { notNilEmpty, createUUID } from 'qx-util';
|
|
3
3
|
import { CoopPosState } from './coop-pos.state.mjs';
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
@@ -12,6 +12,24 @@ var __publicField = (obj, key, value) => {
|
|
|
12
12
|
class CoopPosController extends PanelItemController {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
*云系统操作者
|
|
17
|
+
*
|
|
18
|
+
* @memberof CoopPosController
|
|
19
|
+
*/
|
|
20
|
+
__publicField(this, "operator", []);
|
|
21
|
+
/**
|
|
22
|
+
* @description 自定义补充参数
|
|
23
|
+
* @type {IData}
|
|
24
|
+
* @memberof CoopPosController
|
|
25
|
+
*/
|
|
26
|
+
__publicField(this, "rawItemParams", {});
|
|
27
|
+
/**
|
|
28
|
+
* @description 显示模式
|
|
29
|
+
* @type {('avatar' | 'default')}
|
|
30
|
+
* @memberof CoopPosController
|
|
31
|
+
*/
|
|
32
|
+
__publicField(this, "showMode", "default");
|
|
15
33
|
/**
|
|
16
34
|
* 消息模式映射
|
|
17
35
|
* - 视图打开数据模式映射消息类型
|
|
@@ -29,6 +47,29 @@ class CoopPosController extends PanelItemController {
|
|
|
29
47
|
var _a;
|
|
30
48
|
return new CoopPosState((_a = this.parent) == null ? void 0 : _a.state);
|
|
31
49
|
}
|
|
50
|
+
async onInit() {
|
|
51
|
+
await super.onInit();
|
|
52
|
+
this.handleRawItemParams();
|
|
53
|
+
this.showMode = this.rawItemParams.showmode;
|
|
54
|
+
await this.getOperator();
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @description 处理自定义补充参数
|
|
58
|
+
* @protected
|
|
59
|
+
* @memberof CoopPosController
|
|
60
|
+
*/
|
|
61
|
+
handleRawItemParams() {
|
|
62
|
+
var _a;
|
|
63
|
+
let params = {};
|
|
64
|
+
const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
65
|
+
if (notNilEmpty(rawItemParams)) {
|
|
66
|
+
params = rawItemParams.reduce((param, item) => {
|
|
67
|
+
param[item.key.toLowerCase()] = item.value;
|
|
68
|
+
return param;
|
|
69
|
+
}, {});
|
|
70
|
+
}
|
|
71
|
+
Object.assign(this.rawItemParams, params);
|
|
72
|
+
}
|
|
32
73
|
/**
|
|
33
74
|
* 初始化消息模式
|
|
34
75
|
*
|
|
@@ -63,6 +104,56 @@ class CoopPosController extends PanelItemController {
|
|
|
63
104
|
}
|
|
64
105
|
this.state.alertParams = params;
|
|
65
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* @description 获取云系统操作者代码表
|
|
109
|
+
* @return {*} {Promise<void>}
|
|
110
|
+
* @memberof CoopPosController
|
|
111
|
+
*/
|
|
112
|
+
async getOperator() {
|
|
113
|
+
if (this.showMode === "avatar") {
|
|
114
|
+
const app = await ibiz.hub.getApp(this.panel.context.srfappid);
|
|
115
|
+
this.operator = await app.codeList.get(
|
|
116
|
+
"SysOperator",
|
|
117
|
+
this.panel.context,
|
|
118
|
+
this.panel.params
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @description 根据名称获取图标
|
|
124
|
+
* @param {string} name
|
|
125
|
+
* @return {*} {string}
|
|
126
|
+
* @memberof CoopPosController
|
|
127
|
+
*/
|
|
128
|
+
getIconUrlByName(name) {
|
|
129
|
+
var _a;
|
|
130
|
+
let result = "";
|
|
131
|
+
const item = this.operator.find((x) => x.text === name);
|
|
132
|
+
if (item) {
|
|
133
|
+
result = ((_a = item.data) == null ? void 0 : _a.iconurl) || "";
|
|
134
|
+
}
|
|
135
|
+
return result;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @description 获取头像下载地址
|
|
139
|
+
* @param {string} url
|
|
140
|
+
* @return {*} {string}
|
|
141
|
+
* @memberof CoopPosController
|
|
142
|
+
*/
|
|
143
|
+
getDownloadUrl(url) {
|
|
144
|
+
if (!url) {
|
|
145
|
+
return "";
|
|
146
|
+
}
|
|
147
|
+
const urlConfig = JSON.parse(url);
|
|
148
|
+
if (urlConfig.length === 0) {
|
|
149
|
+
return "";
|
|
150
|
+
}
|
|
151
|
+
const { downloadUrl } = ibiz.util.file.calcFileUpDownUrl(
|
|
152
|
+
this.panel.context,
|
|
153
|
+
this.panel.params
|
|
154
|
+
);
|
|
155
|
+
return downloadUrl.replace("%fileId%", urlConfig[0].id);
|
|
156
|
+
}
|
|
66
157
|
}
|
|
67
158
|
|
|
68
159
|
export { CoopPosController };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-coop-pos{width:100%}.ibiz-coop-pos__on-line-editing{display:flex;flex-wrap:wrap;align-items:center}.ibiz-coop-pos__on-line-editing--person{
|
|
1
|
+
.ibiz-coop-pos{width:100%}.ibiz-coop-pos__on-line-editing{display:flex;flex-wrap:wrap;align-items:center}.ibiz-coop-pos__on-line-editing--person{display:flex;align-items:center;width:24px;height:24px;margin:var(--ibiz-spacing-super-tight);font-size:var(--ibiz-font-size-small);color:var(--ibiz-color-white);cursor:pointer;border-radius:var(--ibiz-border-radius-circle)}.ibiz-coop-pos__img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
2
2
|
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
3
|
import { CoopPosController } from './coop-pos.controller';
|
|
4
4
|
import './coop-pos.scss';
|
|
@@ -25,6 +25,9 @@ export declare const CoopPos: import("vue").DefineComponent<{
|
|
|
25
25
|
ns: import("@ibiz-template/core").Namespace;
|
|
26
26
|
c: CoopPosController;
|
|
27
27
|
messages: import("vue").ComputedRef<IData[]>;
|
|
28
|
+
renderItem: (message: IData) => string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}> | null;
|
|
28
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
32
|
modelData: {
|
|
30
33
|
type: PropType<IPanelRawItem>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createVNode, resolveComponent, mergeProps } from 'vue';
|
|
1
|
+
import { defineComponent, ref, computed, createVNode, resolveComponent, mergeProps } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { CoopPosController } from './coop-pos.controller.mjs';
|
|
4
4
|
import './coop-pos.css';
|
|
@@ -19,14 +19,34 @@ const CoopPos = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
setup(props) {
|
|
20
20
|
const c = props.controller;
|
|
21
21
|
const ns = useNamespace("coop-pos");
|
|
22
|
+
const errorIcons = ref([]);
|
|
22
23
|
const messages = computed(() => {
|
|
23
24
|
const values = [...c.state.messageMap.values()];
|
|
24
25
|
return values.filter((value) => !value.action || (c.state.messageModes || []).includes(value.action));
|
|
25
26
|
});
|
|
27
|
+
const handleError = (url) => {
|
|
28
|
+
errorIcons.value.push(url);
|
|
29
|
+
};
|
|
30
|
+
const renderItem = (message) => {
|
|
31
|
+
let content = ibiz.util.text.abbreviation(message.username) || message.username;
|
|
32
|
+
if (c.showMode === "avatar") {
|
|
33
|
+
const iconurl = c.getIconUrlByName(message.username);
|
|
34
|
+
const url = c.getDownloadUrl(iconurl);
|
|
35
|
+
if (url && !errorIcons.value.includes(url)) {
|
|
36
|
+
content = createVNode("img", {
|
|
37
|
+
"class": ns.e("img"),
|
|
38
|
+
"src": url,
|
|
39
|
+
"onError": () => handleError(url)
|
|
40
|
+
}, null);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return content;
|
|
44
|
+
};
|
|
26
45
|
return {
|
|
27
46
|
ns,
|
|
28
47
|
c,
|
|
29
|
-
messages
|
|
48
|
+
messages,
|
|
49
|
+
renderItem
|
|
30
50
|
};
|
|
31
51
|
},
|
|
32
52
|
render() {
|
|
@@ -41,7 +61,7 @@ const CoopPos = /* @__PURE__ */ defineComponent({
|
|
|
41
61
|
username: message.username
|
|
42
62
|
}) : "",
|
|
43
63
|
"style": "background-color: ".concat(ibiz.util.text.stringToHexColor(message.username))
|
|
44
|
-
}, [
|
|
64
|
+
}, [this.renderItem(message)]);
|
|
45
65
|
})]) : createVNode(resolveComponent("iBizCoopAlert"), mergeProps({
|
|
46
66
|
"key": this.c.state.key
|
|
47
67
|
}, this.c.state.alertParams), null)]);
|
|
@@ -14,6 +14,9 @@ export declare const IBizCoopPos: import("@ibiz-template/vue3-util").TypeWithIns
|
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
c: CoopPosController;
|
|
16
16
|
messages: import("vue").ComputedRef<IData[]>;
|
|
17
|
+
renderItem: (message: IData) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}> | null;
|
|
17
20
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
21
|
modelData: {
|
|
19
22
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBizPanelCtrlViewPageCaption, IBizPanelContainer, IBizPanelCtrlPos, IBizScrollContainer, IBizNavPos, IBizSingleDataContainer, IBizMultiDataContainer, IBizMultiDataContainerRaw, IBizPanelField, IBizPanelRawItem, IBizGridContainer, IBizPanelTabPage, IBizPanelContainerGroup, IBizPanelContainerImage, IBizPanelItemRender, IBizTeleportPlaceholder, IBizPanelContainerTabs } from '@ibiz-template/vue3-util';
|
|
1
|
+
import { IBizPanelCtrlViewPageCaption, IBizPanelContainer, IBizPanelCtrlPos, IBizScrollContainer, IBizNavPos, IBizSingleDataContainer, IBizMultiDataContainer, IBizMultiDataContainerRaw, IBizPanelField, IBizPanelRawItem, IBizGridContainer, IBizPanelTabPage, IBizPanelContainerGroup, IBizPanelContainerImage, IBizPanelItemRender, IBizTeleportPlaceholder, IBizPanelContainerTabs, IBizAuthWxmpQrcode } from '@ibiz-template/vue3-util';
|
|
2
2
|
import { IBizAuthUserinfo } from './auth-userinfo/index.mjs';
|
|
3
3
|
import { IBizNavPosIndex } from './nav-pos-index/index.mjs';
|
|
4
4
|
import { IBizNavTabs } from './nav-tabs/index.mjs';
|
|
@@ -26,6 +26,7 @@ import { IBizDataImport } from './data-import/index.mjs';
|
|
|
26
26
|
import { IBizShortCut } from './short-cut/index.mjs';
|
|
27
27
|
import { IBizAuthCaptcha } from './auth-captcha/index.mjs';
|
|
28
28
|
import { IBizPanelButtonList } from './panel-button-list/index.mjs';
|
|
29
|
+
import { IBizAuthSso } from './auth-sso/index.mjs';
|
|
29
30
|
export { NavPosIndexState } from './nav-pos-index/nav-pos-index.state.mjs';
|
|
30
31
|
export { NavPosIndexController } from './nav-pos-index/nav-pos-index.controller.mjs';
|
|
31
32
|
export { PanelButtonController } from './panel-button/panel-button.controller.mjs';
|
|
@@ -35,6 +36,7 @@ export { SplitContainerController } from './split-container/split-container.cont
|
|
|
35
36
|
"use strict";
|
|
36
37
|
const IBizPanelComponents = {
|
|
37
38
|
install: (v) => {
|
|
39
|
+
v.use(IBizAuthSso);
|
|
38
40
|
v.use(IBizPanelCtrlViewPageCaption);
|
|
39
41
|
v.use(IBizPanelContainer);
|
|
40
42
|
v.use(IBizPanelCtrlPos);
|
|
@@ -79,6 +81,7 @@ const IBizPanelComponents = {
|
|
|
79
81
|
v.use(IBizShortCut);
|
|
80
82
|
v.use(IBizAuthCaptcha);
|
|
81
83
|
v.use(IBizPanelButtonList);
|
|
84
|
+
v.use(IBizAuthWxmpQrcode);
|
|
82
85
|
}
|
|
83
86
|
};
|
|
84
87
|
|
|
@@ -59,7 +59,7 @@ class NavTabsController extends PanelItemController {
|
|
|
59
59
|
const findItem = this.findTabItem(key);
|
|
60
60
|
if (findItem) {
|
|
61
61
|
Object.assign(findItem, reject(isNil, info));
|
|
62
|
-
this.refreshItemUI();
|
|
62
|
+
this.refreshItemUI(key);
|
|
63
63
|
} else {
|
|
64
64
|
this.state.tabItems.push({ key, ...info });
|
|
65
65
|
this.state.activeTab = this.state.currentKey;
|
|
@@ -124,7 +124,7 @@ class NavTabsController extends PanelItemController {
|
|
|
124
124
|
* @author tony001
|
|
125
125
|
* @date 2024-06-28 08:06:11
|
|
126
126
|
*/
|
|
127
|
-
refreshItemUI() {
|
|
127
|
+
refreshItemUI(key) {
|
|
128
128
|
const tempItem = {
|
|
129
129
|
key: "exampleItem",
|
|
130
130
|
caption: ""
|
|
@@ -133,7 +133,7 @@ class NavTabsController extends PanelItemController {
|
|
|
133
133
|
this.state.activeTab = tempItem.key;
|
|
134
134
|
nextTick(() => {
|
|
135
135
|
this.state.tabItems.pop();
|
|
136
|
-
this.state.activeTab =
|
|
136
|
+
this.state.activeTab = key;
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-header{--ibiz-panel-app-header-color:var(--ibiz-color-primary-text);--ibiz-panel-app-header-bg-color:var(--ibiz-color-primary);--ibiz-panel-app-header-hover-bg-color:var(--ibiz-color-primary-hover);--ibiz-panel-app-header-
|
|
1
|
+
.ibiz-panel-app-header{--ibiz-panel-app-header-color:var(--ibiz-color-primary-text);--ibiz-panel-app-header-color-1:var(--ibiz-color-text-5);--ibiz-panel-app-header-bg-color:var(--ibiz-color-primary);--ibiz-panel-app-header-bg-color-1:var(--ibiz-color-bg-5);--ibiz-panel-app-header-menu-color:var(--ibiz-color-text-menu);--ibiz-panel-app-header-hover-color:var(--ibiz-color-primary-hover-text);--ibiz-panel-app-header-hover-bg-color:var(--ibiz-color-primary-hover);--ibiz-panel-app-header-active-color:var(--ibiz-color-primary-active-text);--ibiz-panel-app-header-active-bg-color:var(--ibiz-color-primary-active);--ibiz-panel-app-header-border-color:var(--ibiz-color-border);--ibiz-panel-app-header-color-icon-0:var(--ibiz-color-icon-0);--ibiz-panel-app-header-color-icon-1:var(--ibiz-color-icon-1);--ibiz-panel-app-header-horizontal-color:var(--ibiz-color-primary-text);--ibiz-panel-app-header-horizontal-color-1:var(--ibiz-color-text-5);--ibiz-panel-app-header-horizontal-bg-color:var(--ibiz-color-primary);--ibiz-panel-app-header-horizontal-bg-color-1:var(--ibiz-color-bg-5);--ibiz-panel-app-header-horizontal-hover-color:var(--ibiz-color-primary-hover-text);--ibiz-panel-app-header-horizontal-hover-bg-color:var(--ibiz-color-primary-hover);--ibiz-panel-app-header-horizontal-active-color:var(--ibiz-color-primary-active-text);--ibiz-panel-app-header-horizontal-active-bg-color:var(--ibiz-color-primary-active);--ibiz-panel-app-header-horizontal-menu-color:var(--ibiz-color-text-menu);--ibiz-panel-app-header-horizontal-color-icon-0:var(--ibiz-color-icon-0);--ibiz-panel-app-header-horizontal-color-icon-1:var(--ibiz-color-icon-1);--ibiz-color-text-0:var(--ibiz-panel-app-header-color);--ibiz-color-text-1:var(--ibiz-panel-app-header-color);--ibiz-color-text-2:var(--ibiz-panel-app-header-color);--ibiz-color-text-3:var(--ibiz-panel-app-header-color);width:100%;height:100%;color:var(--ibiz-panel-app-header-color);background-color:var(--ibiz-panel-app-header-bg-color)}.ibiz-panel-app-header *{--ibiz-color-text-menu:var(--ibiz-panel-app-header-menu-color);--ibiz-color-primary:var(--ibiz-panel-app-header-bg-color);--ibiz-color-primary-text:var(--ibiz-panel-app-header-color);--ibiz-color-primary-hover:var(--ibiz-panel-app-header-hover-bg-color);--ibiz-color-primary-hover-text:var(--ibiz-panel-app-header-hover-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-active-bg-color);--ibiz-color-primary-active-text:var(--ibiz-panel-app-header-active-color);--ibiz-color-icon-0:var(--ibiz-panel-app-header-color-icon-0);--ibiz-color-icon-1:var(--ibiz-panel-app-header-color-icon-1);--ibiz-color-text-5:var(--ibiz-panel-app-header-color-1);--ibiz-color-bg-5:var(--ibiz-panel-app-header-bg-color-1)}.ibiz-panel-app-header * .ibiz-control-appmenu>.el-menu{--ibiz-color-primary-hover:var(--ibiz-panel-app-header-active-bg-color);--ibiz-color-primary-hover-text:var(--ibiz-panel-app-header-active-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-hover-bg-color);--ibiz-color-primary-active-text:var(--ibiz-panel-app-header-hover-color)}.ibiz-panel-app-header>.ibiz-row{height:100%}.ibiz-panel-app-header--horizontal{--ibiz-color-text-0:var(--ibiz-panel-app-header-horizontal-color);--ibiz-color-text-1:var(--ibiz-panel-app-header-horizontal-color);--ibiz-color-text-2:var(--ibiz-panel-app-header-horizontal-color);--ibiz-color-text-3:var(--ibiz-panel-app-header-horizontal-color);color:var(--ibiz-panel-app-header-horizontal-color);background-color:var(--ibiz-panel-app-header-horizontal-bg-color)}.ibiz-panel-app-header--horizontal *{--ibiz-color-text-menu:var(--ibiz-panel-app-header-horizontal-menu-color);--ibiz-color-primary:var(--ibiz-panel-app-header-horizontal-bg-color);--ibiz-color-primary-text:var(--ibiz-panel-app-header-horizontal-color);--ibiz-color-primary-hover:var(--ibiz-panel-app-header-horizontal-hover-bg-color);--ibiz-color-primary-hover-text:var(--ibiz-panel-app-header-horizontal-hover-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-horizontal-active-bg-color);--ibiz-color-primary-active-text:var(--ibiz-panel-app-header-horizontal-active-color);--ibiz-color-icon-0:var(--ibiz-panel-app-header-horizontal-color-icon-0);--ibiz-color-icon-1:var(--ibiz-panel-app-header-horizontal-color-icon-1);--ibiz-color-text-5:var(--ibiz-panel-app-header-horizontal-color-1);--ibiz-color-bg-5:var(--ibiz-panel-app-header-horizontal-bg-color-1)}.ibiz-panel-app-header--horizontal * .ibiz-control-appmenu>.el-menu{--ibiz-color-primary-hover:var(--ibiz-panel-app-header-horizontal-active-bg-color);--ibiz-color-primary-hover-text:var(--ibiz-panel-app-header-horizontal-active-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-hover-horizontal-bg-color);--ibiz-color-primary-active-text:var(--ibiz-panel-app-header-horizontal-hover-color)}
|
|
@@ -54,7 +54,8 @@ class PanelButtonListController extends PanelItemController {
|
|
|
54
54
|
const buttonState = new UIActionButtonState(
|
|
55
55
|
detail.id,
|
|
56
56
|
this.model.appId,
|
|
57
|
-
detail.uiactionId
|
|
57
|
+
detail.uiactionId,
|
|
58
|
+
detail
|
|
58
59
|
);
|
|
59
60
|
this.state.buttonsState.addState(detail.id, buttonState);
|
|
60
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-
|
|
1
|
+
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-bg-color:var(--ibiz-color-bg-5);--ibiz-panel-index-view-search-text-color:var(--ibiz-color-text-0);--ibiz-panel-index-view-search-btn-width:var(--ibiz-height-control-large);--ibiz-panel-index-view-search-placeholder-text-color:var(--ibiz-color-text-5);--ibiz-panel-index-view-search-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);width:100%;height:100%;padding:var(--ibiz-panel-index-view-search-padding)}.ibiz-panel-index-view-search .el-input__wrapper{background-color:var(--ibiz-panel-index-view-search-bg-color);box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.ibiz-panel-index-view-search .el-input__wrapper .el-input__prefix{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::-moz-placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search.is-collapse{padding:0}.ibiz-panel-index-view-search-btn{padding:0 var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-header-4)}.ibiz-panel-index-view-search-btn .el-button{width:var(--ibiz-panel-index-view-search-btn-width);padding:var(--ibiz-spacing-base-tight)}.ibiz-panel-index-view-search-btn:hover{background-color:transparent}
|
|
@@ -70,7 +70,7 @@ const SearchFormButtons = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
"onClick": this.onResetButtonClick
|
|
71
71
|
}, _isSlot(_slot2 = ibiz.i18n.t("app.reset")) ? _slot2 : {
|
|
72
72
|
default: () => [_slot2]
|
|
73
|
-
}), createVNode(resolveComponent("el-dropdown-item"), {
|
|
73
|
+
}), this.controller.searchFrom.state.enableStoredFilters && createVNode(resolveComponent("el-dropdown-item"), {
|
|
74
74
|
"onClick": this.saveFilterConfirm
|
|
75
75
|
}, _isSlot(_slot3 = ibiz.i18n.t("panelComponent.searchformButtons.saveCondition")) ? _slot3 : {
|
|
76
76
|
default: () => [_slot3]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-user-action{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-action__image{display:flex;place-items:center center;justify-content:center;width:calc(var(--ibiz-width-icon-extra-large) + 4px);height:calc(var(--ibiz-width-icon-extra-large) + 4px);margin-bottom:var(--ibiz-spacing-extra-tight);cursor:pointer}
|
|
1
|
+
.ibiz-user-action{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-action__image{display:flex;place-items:center center;justify-content:center;width:calc(var(--ibiz-width-icon-extra-large) + 4px);height:calc(var(--ibiz-width-icon-extra-large) + 4px);margin-bottom:var(--ibiz-spacing-extra-tight);cursor:pointer}.ibiz-user-action__image svg{pointer-events:none}
|
|
@@ -39,10 +39,6 @@ const UserAction = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
const onClick = async (event) => {
|
|
42
|
-
const e = {
|
|
43
|
-
...event
|
|
44
|
-
};
|
|
45
|
-
e.target = event.currentTarget;
|
|
46
42
|
const id = props.modelData.id;
|
|
47
43
|
const menuC = c.panel.view.getController("appmenu");
|
|
48
44
|
if (menuC) {
|
|
@@ -60,7 +56,7 @@ const UserAction = /* @__PURE__ */ defineComponent({
|
|
|
60
56
|
const tempParam = c.panel.params;
|
|
61
57
|
tempContext.srfappid = targetMenu.appId || ibiz.env.appId;
|
|
62
58
|
await ibiz.commands.execute(AppFuncCommand.TAG, targetMenu.appFuncId, tempContext, tempParam, {
|
|
63
|
-
event
|
|
59
|
+
event
|
|
64
60
|
});
|
|
65
61
|
}
|
|
66
62
|
}
|
|
@@ -135,7 +135,7 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b;
|
|
137
137
|
const content = createVNode("div", {
|
|
138
|
-
"class": [this.ns.b(), this.ns.is("show", this.isShow)],
|
|
138
|
+
"class": [this.ns.b(), this.ns.is("show", this.isShow), this.opts.modalClass || ""],
|
|
139
139
|
"ref": "el",
|
|
140
140
|
"style": this.customStyle,
|
|
141
141
|
"onClick": (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createApp } from 'vue';
|
|
2
2
|
import ElementPlus from 'element-plus';
|
|
3
|
-
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.38-alpha.
|
|
3
|
+
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.38-alpha.43_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
|
|
4
4
|
import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
@@ -48,7 +48,7 @@ class FullscreenUtil {
|
|
|
48
48
|
if (this.FullscreenClass) {
|
|
49
49
|
div.classList.toggle(this.FullscreenClass);
|
|
50
50
|
}
|
|
51
|
-
div.style.background = "var(--".concat(defaultNamespace, "-bg-1)");
|
|
51
|
+
div.style.background = "var(--".concat(defaultNamespace, "-color-bg-1)");
|
|
52
52
|
const content = document.createElement("div");
|
|
53
53
|
content.id = "fullscreen";
|
|
54
54
|
content.style.position = "absolute";
|
|
@@ -57,7 +57,7 @@ const IBizUploadManager = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
const data = new FormData();
|
|
58
58
|
data.append("file", item.file);
|
|
59
59
|
const headers = {
|
|
60
|
-
Authorization: "Bearer ".concat(getCookie(CoreConst.TOKEN)),
|
|
60
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(getCookie(CoreConst.TOKEN)),
|
|
61
61
|
...props.params.headers
|
|
62
62
|
};
|
|
63
63
|
const res = await ibiz.net.axios({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isVNode, defineComponent, reactive, ref, resolveComponent, onMounted, h, createVNode } from 'vue';
|
|
1
|
+
import { isVNode, defineComponent, reactive, ref, resolveComponent, computed, onMounted, h, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
|
-
import { IBizContext } from '@ibiz-template/core';
|
|
4
|
+
import { IBizContext, LoginMode } from '@ibiz-template/core';
|
|
5
5
|
import qs from 'qs';
|
|
6
6
|
import './login-view.css';
|
|
7
7
|
|
|
@@ -53,7 +53,21 @@ const LoginView = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
appTitle = model.caption;
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
+
const loginFailed = computed(() => {
|
|
57
|
+
return window.location.href.indexOf("srfthird_auth_success=false") >= 0;
|
|
58
|
+
});
|
|
56
59
|
getTitle();
|
|
60
|
+
const platform = window.navigator.userAgent.toUpperCase();
|
|
61
|
+
const thirdAuth = () => {
|
|
62
|
+
if (platform.indexOf("DINGTALK") !== -1) {
|
|
63
|
+
ibiz.thirdAuth.auth("DINGTALK", "EMBED");
|
|
64
|
+
} else if (platform.indexOf("WXWORK") !== -1) {
|
|
65
|
+
ibiz.thirdAuth.auth("WXWORK", "EMBED");
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
if (!loginFailed.value && ibiz.env.loginMode !== LoginMode.OAUTH) {
|
|
69
|
+
thirdAuth();
|
|
70
|
+
}
|
|
57
71
|
ibiz.appData = void 0;
|
|
58
72
|
ibiz.orgData = void 0;
|
|
59
73
|
const onClick = async () => {
|
|
@@ -64,7 +78,12 @@ const LoginView = /* @__PURE__ */ defineComponent({
|
|
|
64
78
|
if (bol === true) {
|
|
65
79
|
window.location.hash = ru;
|
|
66
80
|
window.history.pushState({}, "");
|
|
67
|
-
|
|
81
|
+
if (loginFailed.value) {
|
|
82
|
+
const path = window.location.href.replace("?srfthird_auth_success=false", "");
|
|
83
|
+
window.location.href = path;
|
|
84
|
+
} else {
|
|
85
|
+
window.location.reload();
|
|
86
|
+
}
|
|
68
87
|
}
|
|
69
88
|
loading.value = false;
|
|
70
89
|
}
|
|
@@ -77,6 +96,12 @@ const LoginView = /* @__PURE__ */ defineComponent({
|
|
|
77
96
|
};
|
|
78
97
|
onMounted(async () => {
|
|
79
98
|
const search = qs.parse(window.location.search.replace("?", ""));
|
|
99
|
+
if (loginFailed.value) {
|
|
100
|
+
ibiz.message.error(ibiz.i18n.t("view.loginView.thirdAuthFail"));
|
|
101
|
+
}
|
|
102
|
+
if ((platform.indexOf("DINGTALK") !== -1 || platform.indexOf("WXWORK") !== -1) && !loginFailed.value) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
80
105
|
if (search.isAnonymous === "true") {
|
|
81
106
|
const bol = await ibiz.auth.anonymousLogin();
|
|
82
107
|
if (bol === true) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isVNode, defineComponent, ref, onMounted, createVNode, resolveComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import {
|
|
3
|
+
import { useRoute } from 'vue-router';
|
|
4
4
|
import './share-view.css';
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
@@ -10,7 +10,6 @@ function _isSlot(s) {
|
|
|
10
10
|
const ShareView = /* @__PURE__ */ defineComponent({
|
|
11
11
|
setup() {
|
|
12
12
|
const ns = useNamespace("share-view");
|
|
13
|
-
const router = useRouter();
|
|
14
13
|
const route = useRoute();
|
|
15
14
|
const loading = ref(false);
|
|
16
15
|
const isMounted = ref(false);
|
|
@@ -39,12 +38,8 @@ const ShareView = /* @__PURE__ */ defineComponent({
|
|
|
39
38
|
isMounted.value = true;
|
|
40
39
|
});
|
|
41
40
|
const handleApply = async () => {
|
|
42
|
-
await ibiz.util.theme.saveCustomTheme(shareTheme.themeTag, shareTheme.themeVars);
|
|
43
|
-
router.push("/");
|
|
44
41
|
};
|
|
45
42
|
const handleCancel = () => {
|
|
46
|
-
ibiz.util.theme.resetCustomTheme();
|
|
47
|
-
router.push("/");
|
|
48
43
|
};
|
|
49
44
|
return {
|
|
50
45
|
ns,
|
|
@@ -2,4 +2,13 @@ import { IViewController, ViewEngineBase, IViewEvent, IViewState } from '@ibiz-t
|
|
|
2
2
|
import { IAppDECustomView } from '@ibiz/model-core';
|
|
3
3
|
export declare class CustomViewEngine extends ViewEngineBase {
|
|
4
4
|
protected view: IViewController<IAppDECustomView, IViewState, IViewEvent>;
|
|
5
|
+
/**
|
|
6
|
+
* 执行视图预置界面行为能力
|
|
7
|
+
*
|
|
8
|
+
* @param {string} key
|
|
9
|
+
* @param {*} args
|
|
10
|
+
* @return {*} {(Promise<IData | null | undefined>)}
|
|
11
|
+
* @memberof CustomViewEngine
|
|
12
|
+
*/
|
|
13
|
+
call(key: string, args: any): Promise<IData | null | undefined>;
|
|
5
14
|
}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
import { ViewEngineBase } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewEngineBase, SysUIActionTag } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
4
|
class CustomViewEngine extends ViewEngineBase {
|
|
5
|
+
/**
|
|
6
|
+
* 执行视图预置界面行为能力
|
|
7
|
+
*
|
|
8
|
+
* @param {string} key
|
|
9
|
+
* @param {*} args
|
|
10
|
+
* @return {*} {(Promise<IData | null | undefined>)}
|
|
11
|
+
* @memberof CustomViewEngine
|
|
12
|
+
*/
|
|
13
|
+
async call(key, args) {
|
|
14
|
+
var _a;
|
|
15
|
+
if (key === SysUIActionTag.REFRESH) {
|
|
16
|
+
await ((_a = this.viewLayoutPanel) == null ? void 0 : _a.load());
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return super.call(key, args);
|
|
20
|
+
}
|
|
5
21
|
}
|
|
6
22
|
|
|
7
23
|
export { CustomViewEngine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewController, IEditFormController, EventBase, IEditViewState, IEditViewEvent, IPanelItemCoopPosController, DEMainViewEngine } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEEditView } from '@ibiz/model-core';
|
|
3
|
-
export declare class EditViewEngine extends
|
|
3
|
+
export declare class EditViewEngine extends DEMainViewEngine {
|
|
4
4
|
/**
|
|
5
5
|
* 视图控制器
|
|
6
6
|
*
|
|
@@ -15,13 +15,6 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
15
15
|
protected view: ViewController<IAppDEEditView, IEditViewState, IEditViewEvent>;
|
|
16
16
|
get form(): IEditFormController;
|
|
17
17
|
get coopPos(): IPanelItemCoopPosController | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* 实体名称
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2024-01-31 11:05:49
|
|
22
|
-
* @type {string}
|
|
23
|
-
*/
|
|
24
|
-
deName: string;
|
|
25
18
|
protected init(): void;
|
|
26
19
|
/**
|
|
27
20
|
* 模态事件钩子
|
|
@@ -81,12 +74,11 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
81
74
|
*/
|
|
82
75
|
wfWithdraw(): Promise<void>;
|
|
83
76
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* @
|
|
87
|
-
* @return {*} {void}
|
|
77
|
+
* 执行数据标记行为
|
|
78
|
+
*
|
|
79
|
+
* @memberof EditViewEngine
|
|
88
80
|
*/
|
|
89
|
-
|
|
81
|
+
doMarkDataAction(): void;
|
|
90
82
|
/**
|
|
91
83
|
* 刷新确认
|
|
92
84
|
* @author lxm
|