@ibiz-template/vue3-components 0.7.38-alpha.12 → 0.7.38-alpha.31
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-BZ8j-yda.js +1 -0
- package/dist/{index-B_Fo_3Rt.js → index-CnCC-cC2.js} +1 -1
- package/dist/index-Q4QqDXYJ.js +4 -0
- package/dist/{index-BvI3oZGL.js → index-X3QXftIl.js} +1 -1
- 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-XDKOLzzW.js → xlsx-util-DbA3TyD9.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +6 -3
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
- package/es/common/control-navigation/control-navigation.css +1 -0
- package/es/common/control-navigation/control-navigation.d.ts +32 -0
- package/es/common/control-navigation/control-navigation.mjs +116 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +17 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +55 -0
- package/es/common/control-navigation/provider/index.d.ts +10 -0
- package/es/common/control-navigation/provider/index.mjs +17 -0
- package/es/common/control-navigation/provider/navigation-base.provider.d.ts +84 -0
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +142 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.d.ts +30 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.mjs +81 -0
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +2 -0
- package/es/common/custom-theme/custom-theme-model.mjs +5 -13
- package/es/common/data-import2/data-import2.mjs +1 -1
- package/es/common/gantt-setting/gantt-setting.css +1 -0
- package/es/common/gantt-setting/gantt-setting.d.ts +63 -0
- package/es/common/gantt-setting/gantt-setting.mjs +237 -0
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.d.ts +3 -1
- package/es/common/grid-setting/grid-setting.mjs +21 -5
- package/es/common/index.mjs +6 -0
- package/es/common/nav-split/nav-split.css +1 -0
- package/es/common/nav-split/nav-split.d.ts +57 -0
- package/es/common/nav-split/nav-split.mjs +209 -0
- package/es/common/pql-editor/utils/index.mjs +30 -40
- package/es/common/split/split.css +1 -1
- package/es/common/view-message/view-message.d.ts +2 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +3 -0
- package/es/control/app-menu/app-menu.mjs +62 -22
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +12 -3
- package/es/control/app-menu/index.d.ts +3 -0
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +12 -1
- package/es/control/calendar/calendar.mjs +42 -10
- package/es/control/calendar/index.d.ts +12 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +54 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +2 -1
- 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 +9 -4
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +1 -0
- package/es/control/data-view/data-view.mjs +21 -3
- package/es/control/data-view/index.d.ts +1 -0
- package/es/control/drbar/drbar.controller.mjs +2 -2
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.controller.d.ts +28 -8
- package/es/control/drtab/drtab.controller.mjs +62 -11
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.d.ts +3 -1
- package/es/control/drtab/drtab.mjs +68 -9
- package/es/control/drtab/index.d.ts +3 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +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 +21 -2
- 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 +104 -0
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +1 -1
- 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 +3 -4
- package/es/control/gantt/gantt.mjs +158 -52
- package/es/control/gantt/index.d.ts +3 -4
- package/es/control/grid/grid/grid-control.util.d.ts +2 -0
- package/es/control/grid/grid/grid-control.util.mjs +40 -4
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +86 -73
- 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/list/index.d.ts +1 -0
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +1 -0
- package/es/control/list/list.mjs +23 -5
- package/es/control/map/map.d.ts +9 -0
- package/es/control/map/map.mjs +4 -0
- package/es/control/search-bar/search-groups/search-groups.mjs +2 -2
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/toolbar/toolbar.mjs +3 -0
- package/es/control/tree/el-tree-util.d.ts +39 -1
- package/es/control/tree/el-tree-util.mjs +70 -2
- package/es/control/tree/index.d.ts +16 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +16 -14
- package/es/control/tree/tree.mjs +60 -31
- 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/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +3 -8
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +22 -23
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +1 -0
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +3 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +8 -2
- package/es/editor/html/wang-editor/wang-editor.mjs +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -1
- package/es/editor/span/span/span.mjs +7 -1
- 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/use/use-iview-upload.mjs +1 -1
- package/es/locale/en/index.d.ts +33 -0
- package/es/locale/en/index.mjs +27 -2
- package/es/locale/zh-CN/index.d.ts +33 -0
- package/es/locale/zh-CN/index.mjs +27 -2
- 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/auth-userinfo/auth-userinfo.css +1 -1
- 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-actions/index-actions.css +1 -1
- package/es/panel-component/index.mjs +4 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +8 -31
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +1 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +7 -2
- 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-title/index.mjs +4 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +8 -0
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.mjs +112 -108
- 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/util/app-popover/app-popover-component.mjs +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +2 -2
- package/es/util/notification-util/notification-util.d.ts +10 -1
- package/es/util/notification-util/notification-util.mjs +36 -0
- package/es/util/notification-util/upload-manager/file-type.d.ts +8 -0
- package/es/util/notification-util/upload-manager/file-type.mjs +207 -0
- package/es/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +64 -0
- package/es/util/notification-util/upload-manager/upload-manager.mjs +159 -0
- package/es/util/pagination/use-pagination.mjs +5 -4
- package/es/view/login-view/login-view.mjs +18 -0
- package/es/view-engine/edit-view.engine.mjs +14 -0
- package/es/view-engine/login-view.engine.mjs +1 -0
- 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/tab-exp-view.engine.d.ts +9 -0
- package/es/view-engine/tab-exp-view.engine.mjs +20 -1
- 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/web-app/attach-environment-config.mjs +5 -1
- package/es/web-app/guard/auth-guard/auth-guard.d.ts +21 -14
- package/es/web-app/guard/auth-guard/auth-guard.mjs +26 -19
- 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/lib/common/action-toolbar/action-toolbar.cjs +6 -3
- 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/control-navigation/control-navigation.cjs +118 -0
- package/lib/common/control-navigation/control-navigation.css +1 -0
- package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +57 -0
- package/lib/common/control-navigation/provider/index.cjs +19 -0
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +144 -0
- package/lib/common/control-navigation/provider/tree-navigation.provider.cjs +83 -0
- package/lib/common/custom-theme/custom-theme-model.cjs +5 -13
- package/lib/common/data-import2/data-import2.cjs +1 -1
- package/lib/common/gantt-setting/gantt-setting.cjs +239 -0
- package/lib/common/gantt-setting/gantt-setting.css +1 -0
- package/lib/common/grid-setting/grid-setting.cjs +21 -5
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/common/index.cjs +6 -0
- package/lib/common/nav-split/nav-split.cjs +211 -0
- package/lib/common/nav-split/nav-split.css +1 -0
- package/lib/common/pql-editor/utils/index.cjs +30 -40
- package/lib/common/split/split.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +60 -20
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +11 -2
- package/lib/control/calendar/calendar.cjs +42 -10
- package/lib/control/calendar/calendar.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 +2 -1
- package/lib/control/dashboard/dashboard.cjs +13 -1
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +9 -4
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
- package/lib/control/data-view/data-view.cjs +21 -3
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +2 -2
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +67 -8
- package/lib/control/drtab/drtab.controller.cjs +62 -11
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +20 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +4 -0
- package/lib/control/gantt/gantt.cjs +156 -50
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +39 -3
- package/lib/control/grid/grid/grid.cjs +86 -73
- 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/list/list.cjs +23 -5
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +4 -0
- package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/toolbar.cjs +3 -0
- package/lib/control/tree/el-tree-util.cjs +70 -0
- package/lib/control/tree/tree.cjs +58 -29
- 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/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.cjs +21 -22
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +1 -0
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +3 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +8 -2
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -1
- package/lib/editor/span/span/span.cjs +7 -1
- 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/use/use-iview-upload.cjs +1 -1
- package/lib/locale/en/index.cjs +27 -2
- package/lib/locale/zh-CN/index.cjs +27 -2
- 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/auth-userinfo/auth-userinfo.css +1 -1
- 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-actions/index-actions.css +1 -1
- package/lib/panel-component/index.cjs +39 -36
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +7 -30
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +1 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +7 -2
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +3 -3
- package/lib/panel-component/panel-app-title/index.cjs +4 -0
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +112 -108
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +8 -0
- package/lib/panel-component/panel-app-title/panel-app-title.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/util/app-popover/app-popover-component.cjs +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +2 -2
- package/lib/util/notification-util/notification-util.cjs +36 -0
- package/lib/util/notification-util/upload-manager/file-type.cjs +209 -0
- package/lib/util/notification-util/upload-manager/upload-manager.cjs +161 -0
- package/lib/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/lib/util/pagination/use-pagination.cjs +5 -4
- package/lib/view/login-view/login-view.cjs +18 -0
- package/lib/view-engine/edit-view.engine.cjs +14 -0
- package/lib/view-engine/login-view.engine.cjs +1 -0
- package/lib/view-engine/opt-view.engine.cjs +40 -0
- package/lib/view-engine/tab-exp-view.engine.cjs +19 -0
- package/lib/view-engine/tab-search-view.engine.cjs +52 -2
- package/lib/web-app/attach-environment-config.cjs +5 -1
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +26 -19
- 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/package.json +11 -11
- package/dist/ibiz-markdown-editor-B4c6yGAW.js +0 -1
- package/dist/index-VQ3FT6ih.js +0 -4
- package/dist/wang-editor-BUIAd4uJ.js +0 -1
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_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.32_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.35-alpha.1_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.32_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
|
@@ -298,6 +298,7 @@ export declare const IBizCustomFilterCondition: import("vue").DefineComponent<{
|
|
|
298
298
|
mobilePanel?: boolean | undefined;
|
|
299
299
|
controlStyle?: string | undefined;
|
|
300
300
|
controlType?: string | undefined;
|
|
301
|
+
dynaSysMode?: number | undefined;
|
|
301
302
|
height?: number | undefined;
|
|
302
303
|
logicName?: string | undefined;
|
|
303
304
|
appDataEntityId?: string | undefined;
|
|
@@ -724,6 +725,7 @@ export declare const IBizCustomFilterCondition: import("vue").DefineComponent<{
|
|
|
724
725
|
codeName?: string | undefined;
|
|
725
726
|
controlStyle?: string | undefined;
|
|
726
727
|
controlType?: string | undefined;
|
|
728
|
+
dynaSysMode?: number | undefined;
|
|
727
729
|
height?: number | undefined;
|
|
728
730
|
logicName?: string | undefined;
|
|
729
731
|
appDataEntityId?: string | undefined;
|
|
@@ -384,17 +384,9 @@ const predefineThemeVars = [
|
|
|
384
384
|
className: "ibiz-panel-app-header"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
label: "\
|
|
387
|
+
label: "\u9009\u4E2D\u8272",
|
|
388
388
|
value: "--ibiz-panel-app-header-horizontal-hover-bg-color",
|
|
389
389
|
defaultValue: "--ibiz-color-primary-hover",
|
|
390
|
-
labelLang: "topHoverBgColor",
|
|
391
|
-
descLang: "topHoverBgColorDesc",
|
|
392
|
-
className: "ibiz-panel-app-header"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
label: "\u9009\u4E2D\u8272",
|
|
396
|
-
value: "--ibiz-panel-app-header-horizontal-select-bg-color",
|
|
397
|
-
defaultValue: "--ibiz-color-primary-active",
|
|
398
390
|
labelLang: "topSelectBgColor",
|
|
399
391
|
descLang: "topSelectBgColorDesc",
|
|
400
392
|
className: "ibiz-panel-app-header"
|
|
@@ -423,16 +415,16 @@ const predefineThemeVars = [
|
|
|
423
415
|
},
|
|
424
416
|
{
|
|
425
417
|
label: "\u60AC\u6D6E\u8272",
|
|
426
|
-
value: "--ibiz-panel-app-header-
|
|
427
|
-
defaultValue: "--ibiz-color-primary-
|
|
418
|
+
value: "--ibiz-panel-app-header-select-bg-color",
|
|
419
|
+
defaultValue: "--ibiz-color-primary-active",
|
|
428
420
|
labelLang: "sidebarHoverBgColor",
|
|
429
421
|
descLang: "sidebarHoverBgColorDesc",
|
|
430
422
|
className: "ibiz-panel-app-header"
|
|
431
423
|
},
|
|
432
424
|
{
|
|
433
425
|
label: "\u9009\u4E2D\u8272",
|
|
434
|
-
value: "--ibiz-panel-app-header-
|
|
435
|
-
defaultValue: "--ibiz-color-primary-
|
|
426
|
+
value: "--ibiz-panel-app-header-hover-bg-color",
|
|
427
|
+
defaultValue: "--ibiz-color-primary-hover",
|
|
436
428
|
labelLang: "sidebarSelectBgColor",
|
|
437
429
|
descLang: "sidebarSelectBgColorDesc",
|
|
438
430
|
className: "ibiz-panel-app-header"
|
|
@@ -236,7 +236,7 @@ const DataImport2 = /* @__PURE__ */ defineComponent({
|
|
|
236
236
|
columnMappingListQuery();
|
|
237
237
|
});
|
|
238
238
|
const headers = ref({
|
|
239
|
-
Authorization: "Bearer ".concat(getCookie(CoreConst.TOKEN))
|
|
239
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(getCookie(CoreConst.TOKEN))
|
|
240
240
|
});
|
|
241
241
|
const UploadUrl = computed(() => {
|
|
242
242
|
let uploadFileUrl;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-gantt-setting{--ibiz-gantt-setting-width:85vw;--ibiz-gantt-setting-max-width:980px;--ibiz-gantt-setting-max-height:85vh;--ibiz-gantt-setting-header-height:56px;--ibiz-gantt-setting-list-height:360px;--ibiz-gantt-setting-disabled-opacity:0.5;display:flex;flex-direction:column;width:var(--ibiz-gantt-setting-width);max-width:var(--ibiz-gantt-setting-width);max-height:var(--ibiz-gantt-setting-max-height)}.ibiz-gantt-setting__header{width:100%;height:var(--ibiz-gantt-setting-header-height);padding:0 var(--ibiz-spacing-extra-loose);font-size:var(--ibiz-font-size-header-5);line-height:var(--ibiz-gantt-setting-header-height)}.ibiz-gantt-setting__content{display:flex;flex:1;justify-content:space-between;width:100%;padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-extra-loose) var(--ibiz-spacing-base)}.ibiz-gantt-setting__content--optional{flex:0 0 calc(50% - var(--ibiz-spacing-base));width:0}.ibiz-gantt-setting__content--selected{flex:0 0 calc(50% - var(--ibiz-spacing-base));width:0}.ibiz-gantt-setting__bottom{display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--ibiz-spacing-base) var(--ibiz-spacing-extra-loose)}.ibiz-gantt-setting__bottom--btn-right{display:flex;align-items:center}.ibiz-gantt-setting-search-list{width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ibiz-gantt-setting-search-list__caption{margin-bottom:var(--ibiz-spacing-tight)}.ibiz-gantt-setting-search-list__content{border:1px solid var(--ibiz-color-border);border-radius:var(--ibiz-border-radius-small)}.ibiz-gantt-setting-search-list__search{padding:0 var(--ibiz-spacing-base-loose);margin:var(--ibiz-spacing-tight) 0}.ibiz-gantt-setting-search-list__search svg{fill:var(--ibiz-color-disabled-text)}.ibiz-gantt-setting-search-list__list{--ibiz-gantt-setting-width:85vw;--ibiz-gantt-setting-max-width:980px;--ibiz-gantt-setting-max-height:85vh;--ibiz-gantt-setting-header-height:56px;--ibiz-gantt-setting-list-height:360px;--ibiz-gantt-setting-disabled-opacity:0.5;height:var(--ibiz-gantt-setting-list-height);padding-bottom:var(--ibiz-spacing-tight);overflow-y:auto}.ibiz-gantt-setting-list-item{--ibiz-gantt-setting-width:85vw;--ibiz-gantt-setting-max-width:980px;--ibiz-gantt-setting-max-height:85vh;--ibiz-gantt-setting-header-height:56px;--ibiz-gantt-setting-list-height:360px;--ibiz-gantt-setting-disabled-opacity:0.5;display:flex;align-items:center;width:100%;height:var(--ibiz-spacing-extra-loose);padding:0 var(--ibiz-spacing-base-loose);overflow:hidden;cursor:pointer}.ibiz-gantt-setting-list-item:hover{background-color:var(--ibiz-color-fill-2)}.ibiz-gantt-setting-list-item__caption{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-gantt-setting-list-item__end-icon{display:flex;align-items:center;justify-content:center;cursor:pointers}.ibiz-gantt-setting-list-item__end-icon svg{fill:var(--ibiz-color-primary)}.ibiz-gantt-setting-list-item__end-icon--close{width:100%;height:100%}.ibiz-gantt-setting-list-item__end-icon--close svg{fill:var(--ibiz-color-text-3)}.ibiz-gantt-setting-list-item__end-icon--close svg:hover{fill:var(--ibiz-color-primary)}.ibiz-gantt-setting-list-item.is-optional .ibiz-gantt-setting-list-item__end-icon{cursor:pointers}.ibiz-gantt-setting-list-item.is-optional .ibiz-gantt-setting-list-item__end-icon svg{fill:var(--ibiz-color-primary)}.ibiz-gantt-setting-list-item.is-disabled{cursor:not-allowed;background:0 0;opacity:var(--ibiz-gantt-setting-disabled-opacity)}.ibiz-gantt-setting-list-item.is-filter-item{display:none}@media (width >= 992px){.ibiz-gantt-setting{--ibiz-gantt-setting-width:85vw;--ibiz-gantt-setting-max-width:980px;--ibiz-gantt-setting-max-height:85vh;--ibiz-gantt-setting-header-height:56px;--ibiz-gantt-setting-list-height:360px;--ibiz-gantt-setting-disabled-opacity:0.5;max-width:var(--ibiz-gantt-setting-max-width)}}@media (height <= 768px){.ibiz-gantt-setting-search-list{display:flex;flex-direction:column;height:100%}.ibiz-gantt-setting-search-list__content{display:flex;flex:1;flex-direction:column;height:100%}.ibiz-gantt-setting-search-list__list{display:flex;flex:1;flex-direction:column;height:100%}}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IModal, IColumnState } from '@ibiz-template/runtime';
|
|
3
|
+
import './gantt-setting.scss';
|
|
4
|
+
type ListType = 'optional' | 'selected';
|
|
5
|
+
export declare const IBizGanttSetting: import("vue").DefineComponent<{
|
|
6
|
+
modal: {
|
|
7
|
+
type: PropType<IModal>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
columnStates: {
|
|
11
|
+
type: PropType<IColumnState[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
mustShowColumns: {
|
|
15
|
+
type: PropType<string[]>;
|
|
16
|
+
required: true;
|
|
17
|
+
default: () => string[];
|
|
18
|
+
};
|
|
19
|
+
limitsize: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
25
|
+
optionalInput: import("vue").Ref<string>;
|
|
26
|
+
selectedInput: import("vue").Ref<string>;
|
|
27
|
+
states: import("vue").Ref<{
|
|
28
|
+
key: string;
|
|
29
|
+
caption: string;
|
|
30
|
+
hidden: boolean;
|
|
31
|
+
hideMode: number;
|
|
32
|
+
uaColumn: boolean;
|
|
33
|
+
fixed?: "left" | "right" | undefined;
|
|
34
|
+
adaptive?: boolean | undefined;
|
|
35
|
+
columnWidth?: number | undefined;
|
|
36
|
+
}[]>;
|
|
37
|
+
renderSearchList: (listData?: IColumnState[], type?: ListType) => JSX.Element;
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
onConfirm: () => void;
|
|
40
|
+
onResultDefault: () => void;
|
|
41
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
modal: {
|
|
43
|
+
type: PropType<IModal>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
columnStates: {
|
|
47
|
+
type: PropType<IColumnState[]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
mustShowColumns: {
|
|
51
|
+
type: PropType<string[]>;
|
|
52
|
+
required: true;
|
|
53
|
+
default: () => string[];
|
|
54
|
+
};
|
|
55
|
+
limitsize: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
}>> & {}, {
|
|
60
|
+
mustShowColumns: string[];
|
|
61
|
+
limitsize: number;
|
|
62
|
+
}, {}>;
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { isVNode, createVNode, defineComponent, ref, watch, resolveComponent } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { clone } from 'ramda';
|
|
4
|
+
import './gantt-setting.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function _isSlot(s) {
|
|
8
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
+
}
|
|
10
|
+
const selectedIcon = () => createVNode("svg", {
|
|
11
|
+
"viewBox": "0 0 16 16",
|
|
12
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
13
|
+
"height": "1em",
|
|
14
|
+
"width": "1em",
|
|
15
|
+
"focusable": "false"
|
|
16
|
+
}, [createVNode("g", {
|
|
17
|
+
"stroke-width": "1",
|
|
18
|
+
"fill-rule": "evenodd"
|
|
19
|
+
}, [createVNode("path", {
|
|
20
|
+
"d": "M6.012 11.201L1.313 6.832l-.817.879 5.54 5.15 9.304-9.163-.842-.855z"
|
|
21
|
+
}, null)])]);
|
|
22
|
+
const closeIcon = () => createVNode("svg", {
|
|
23
|
+
"viewBox": "0 0 16 16",
|
|
24
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
25
|
+
"height": "1em",
|
|
26
|
+
"width": "1em",
|
|
27
|
+
"focusable": "false"
|
|
28
|
+
}, [createVNode("g", {
|
|
29
|
+
"stroke-width": "1",
|
|
30
|
+
"fill-rule": "evenodd"
|
|
31
|
+
}, [createVNode("path", {
|
|
32
|
+
"d": "M7.456 7.456V-.115h1.2v7.571h7.572v1.2H8.656v7.572h-1.2V8.656H-.115v-1.2h7.571z",
|
|
33
|
+
"transform": "rotate(45 8.056 8.056)"
|
|
34
|
+
}, null)])]);
|
|
35
|
+
const searchIcon = () => createVNode("svg", {
|
|
36
|
+
"viewBox": "0 0 16 16",
|
|
37
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
38
|
+
"height": "1em",
|
|
39
|
+
"width": "1em",
|
|
40
|
+
"focusable": "false"
|
|
41
|
+
}, [createVNode("g", {
|
|
42
|
+
"stroke-width": "1",
|
|
43
|
+
"fill-rule": "evenodd"
|
|
44
|
+
}, [createVNode("path", {
|
|
45
|
+
"d": "M6.751 12.303A5.557 5.557 0 0 1 1.2 6.751C1.2 3.691 3.69 1.2 6.751 1.2a5.558 5.558 0 0 1 5.551 5.551 5.557 5.557 0 0 1-5.551 5.552M6.751 0a6.751 6.751 0 1 0 4.309 11.949l3.855 3.855a.6.6 0 1 0 .849-.849l-3.854-3.853A6.751 6.751 0 0 0 6.751 0"
|
|
46
|
+
}, null)])]);
|
|
47
|
+
const IBizGanttSetting = /* @__PURE__ */ defineComponent({
|
|
48
|
+
name: "IBizGanttSetting",
|
|
49
|
+
props: {
|
|
50
|
+
modal: {
|
|
51
|
+
type: Object,
|
|
52
|
+
required: true
|
|
53
|
+
},
|
|
54
|
+
// 表格列状态数组
|
|
55
|
+
columnStates: {
|
|
56
|
+
type: Object,
|
|
57
|
+
required: true
|
|
58
|
+
},
|
|
59
|
+
// 必须显示的列
|
|
60
|
+
mustShowColumns: {
|
|
61
|
+
type: Array,
|
|
62
|
+
required: true,
|
|
63
|
+
default: () => ["sn", "name"]
|
|
64
|
+
},
|
|
65
|
+
// 最多显示多少列,默认值为0,表示无限制
|
|
66
|
+
limitsize: {
|
|
67
|
+
type: Number,
|
|
68
|
+
default: 0
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
emits: [],
|
|
72
|
+
setup(props) {
|
|
73
|
+
const ns = useNamespace("gantt-setting");
|
|
74
|
+
const optionalInput = ref("");
|
|
75
|
+
const selectedInput = ref("");
|
|
76
|
+
const states = ref([]);
|
|
77
|
+
const calcMustShowColumn = (item) => {
|
|
78
|
+
return props.mustShowColumns.some((item2) => item.key === item2);
|
|
79
|
+
};
|
|
80
|
+
const initData = () => {
|
|
81
|
+
states.value = clone(props.columnStates);
|
|
82
|
+
};
|
|
83
|
+
watch(() => props.columnStates, () => {
|
|
84
|
+
initData();
|
|
85
|
+
}, {
|
|
86
|
+
immediate: true,
|
|
87
|
+
deep: true
|
|
88
|
+
});
|
|
89
|
+
const onListItemClose = (e, item) => {
|
|
90
|
+
e.stopPropagation();
|
|
91
|
+
Object.assign(item, {
|
|
92
|
+
hidden: !item.hidden
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
const onListItemClick = (item) => {
|
|
96
|
+
if (props.limitsize > 0 && item.hidden) {
|
|
97
|
+
const columns = states.value.filter((_item) => {
|
|
98
|
+
const must = calcMustShowColumn(_item);
|
|
99
|
+
return !must && !_item.hidden;
|
|
100
|
+
});
|
|
101
|
+
if (columns && columns.length >= props.limitsize) {
|
|
102
|
+
ibiz.message.warning(ibiz.i18n.t("component.ganttSetting.reachedMaximum"));
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
Object.assign(item, {
|
|
107
|
+
hidden: !item.hidden
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
const onClose = () => {
|
|
111
|
+
props.modal.dismiss();
|
|
112
|
+
};
|
|
113
|
+
const onConfirm = () => {
|
|
114
|
+
const modalData = {
|
|
115
|
+
ok: true,
|
|
116
|
+
data: states.value
|
|
117
|
+
};
|
|
118
|
+
props.modal.dismiss(modalData);
|
|
119
|
+
};
|
|
120
|
+
const onResultDefault = () => {
|
|
121
|
+
initData();
|
|
122
|
+
};
|
|
123
|
+
const renderLeftSearch = () => {
|
|
124
|
+
return createVNode(resolveComponent("el-input"), {
|
|
125
|
+
"placeholder": ibiz.i18n.t("app.search"),
|
|
126
|
+
"modelValue": optionalInput.value,
|
|
127
|
+
"onUpdate:modelValue": ($event) => optionalInput.value = $event,
|
|
128
|
+
"clearable": true
|
|
129
|
+
}, {
|
|
130
|
+
prefix: () => searchIcon()
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
const renderRightSearch = () => {
|
|
134
|
+
return createVNode(resolveComponent("el-input"), {
|
|
135
|
+
"placeholder": ibiz.i18n.t("app.search"),
|
|
136
|
+
"modelValue": selectedInput.value,
|
|
137
|
+
"onUpdate:modelValue": ($event) => selectedInput.value = $event,
|
|
138
|
+
"clearable": true
|
|
139
|
+
}, {
|
|
140
|
+
prefix: () => searchIcon()
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
const renderListItem = (item, type = "optional") => {
|
|
144
|
+
const caption = item.caption || "";
|
|
145
|
+
const isOptional = type === "optional";
|
|
146
|
+
const isMust = calcMustShowColumn(item);
|
|
147
|
+
if (!isOptional && item.hidden && !isMust) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
const isSelectedShow = isOptional && states.value.some((item2) => item.key === item2.key && !item.hidden);
|
|
151
|
+
const searchVal = isOptional ? optionalInput.value : selectedInput.value;
|
|
152
|
+
const isFilterItem = !caption.includes(searchVal);
|
|
153
|
+
return createVNode("div", {
|
|
154
|
+
"class": [ns.b("list-item"), ns.is("disabled", isMust && isOptional), ns.is("filter-item", isFilterItem)],
|
|
155
|
+
"onClick": () => isOptional && !isMust && onListItemClick(item)
|
|
156
|
+
}, [createVNode("div", {
|
|
157
|
+
"class": ns.be("list-item", "caption")
|
|
158
|
+
}, [caption]), createVNode("div", {
|
|
159
|
+
"class": [ns.be("list-item", "end-icon")]
|
|
160
|
+
}, [(isSelectedShow || isOptional && isMust) && selectedIcon(), !isOptional && !isMust && createVNode("div", {
|
|
161
|
+
"class": ns.bem("list-item", "end-icon", "close"),
|
|
162
|
+
"onClick": (e) => onListItemClose(e, item)
|
|
163
|
+
}, [closeIcon()])])]);
|
|
164
|
+
};
|
|
165
|
+
const renderSearchList = (listData = [], type = "optional") => {
|
|
166
|
+
const isOptional = type === "optional";
|
|
167
|
+
const searchVal = isOptional ? optionalInput.value : selectedInput.value;
|
|
168
|
+
let values = [];
|
|
169
|
+
listData.forEach((item) => {
|
|
170
|
+
var _a;
|
|
171
|
+
return ((_a = item.caption) == null ? void 0 : _a.includes(searchVal)) && values.push(item);
|
|
172
|
+
});
|
|
173
|
+
const lengthNum = isOptional ? values.length : listData.filter((item) => !item.hidden).length;
|
|
174
|
+
const caption = isOptional ? ibiz.i18n.t("component.ganttSetting.optionalAttribute") : ibiz.i18n.t("component.ganttSetting.selectedAttribute");
|
|
175
|
+
const limitsizeLag = ibiz.i18n.t("component.ganttSetting.limitsize", {
|
|
176
|
+
max: props.limitsize + props.mustShowColumns.length
|
|
177
|
+
});
|
|
178
|
+
return createVNode("div", {
|
|
179
|
+
"class": ns.b("search-list")
|
|
180
|
+
}, [createVNode("div", {
|
|
181
|
+
"class": ns.be("search-list", "caption")
|
|
182
|
+
}, ["".concat(caption, " \xB7 ").concat(lengthNum, " ").concat(!isOptional && props.limitsize > 0 ? "(".concat(limitsizeLag, ")") : "")]), createVNode("div", {
|
|
183
|
+
"class": ns.be("search-list", "content")
|
|
184
|
+
}, [createVNode("div", {
|
|
185
|
+
"class": ns.be("search-list", "search")
|
|
186
|
+
}, [isOptional ? renderLeftSearch() : renderRightSearch()]), createVNode("div", {
|
|
187
|
+
"class": ns.be("search-list", "list")
|
|
188
|
+
}, [values.map((item) => {
|
|
189
|
+
return renderListItem(item, type);
|
|
190
|
+
})])])]);
|
|
191
|
+
};
|
|
192
|
+
return {
|
|
193
|
+
ns,
|
|
194
|
+
optionalInput,
|
|
195
|
+
selectedInput,
|
|
196
|
+
states,
|
|
197
|
+
renderSearchList,
|
|
198
|
+
onClose,
|
|
199
|
+
onConfirm,
|
|
200
|
+
onResultDefault
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
render() {
|
|
204
|
+
let _slot, _slot2, _slot3;
|
|
205
|
+
return createVNode("div", {
|
|
206
|
+
"class": [this.ns.b()]
|
|
207
|
+
}, [createVNode("div", {
|
|
208
|
+
"class": [this.ns.e("header")]
|
|
209
|
+
}, [ibiz.i18n.t("component.ganttSetting.headerCaption")]), createVNode("div", {
|
|
210
|
+
"class": [this.ns.e("content")]
|
|
211
|
+
}, [createVNode("div", {
|
|
212
|
+
"class": [this.ns.em("content", "optional")]
|
|
213
|
+
}, [this.renderSearchList(this.states, "optional")]), createVNode("div", {
|
|
214
|
+
"class": [this.ns.em("content", "selected")]
|
|
215
|
+
}, [this.renderSearchList(this.states, "selected")])]), createVNode("div", {
|
|
216
|
+
"class": [this.ns.e("bottom")]
|
|
217
|
+
}, [createVNode(resolveComponent("el-button"), {
|
|
218
|
+
"type": "text",
|
|
219
|
+
"onClick": this.onResultDefault
|
|
220
|
+
}, _isSlot(_slot = ibiz.i18n.t("component.ganttSetting.resultDefault")) ? _slot : {
|
|
221
|
+
default: () => [_slot]
|
|
222
|
+
}), createVNode("div", {
|
|
223
|
+
"class": [this.ns.em("bottom", "btn-right")]
|
|
224
|
+
}, [createVNode(resolveComponent("el-button"), {
|
|
225
|
+
"type": "text",
|
|
226
|
+
"onClick": this.onClose
|
|
227
|
+
}, _isSlot(_slot2 = ibiz.i18n.t("app.cancel")) ? _slot2 : {
|
|
228
|
+
default: () => [_slot2]
|
|
229
|
+
}), createVNode(resolveComponent("el-button"), {
|
|
230
|
+
"onClick": this.onConfirm
|
|
231
|
+
}, _isSlot(_slot3 = ibiz.i18n.t("app.confirm")) ? _slot3 : {
|
|
232
|
+
default: () => [_slot3]
|
|
233
|
+
})])])]);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
export { IBizGanttSetting };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-grid-setting-column-states{width:100%;max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state ion-icon{display:inline-block;width:var(--ibiz-font-size-small);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-drag-icon{color:var(--ibiz-color-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-enable-icon{color:var(--ibiz-color-success)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-disable-icon{display:none;color:var(--ibiz-color-danger)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-state-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-enable-icon{display:none}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-disable-icon{display:block}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-state-caption{color:var(--ibiz-color-disabled-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state-ghost{background-color:var(--ibiz-color-primary-light-default);opacity:.5}.ibiz-grid-setting-set-icon{color:var(--ibiz-color-primary);cursor:pointer}
|
|
1
|
+
.ibiz-grid-setting-column-states{width:100%;max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state ion-icon{display:inline-block;width:var(--ibiz-font-size-small);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-drag-icon{color:var(--ibiz-color-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-enable-icon{color:var(--ibiz-color-success)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-disable-icon{display:none;color:var(--ibiz-color-danger)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-state-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-enable-icon{display:none}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-disable-icon{display:block}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-state-caption{color:var(--ibiz-color-disabled-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state-ghost{background-color:var(--ibiz-color-primary-light-default);opacity:.5}.ibiz-grid-setting-set-icon{color:var(--ibiz-color-primary);cursor:pointer}.ibiz-grid-setting__nav-icon{cursor:pointer;color:var(--ibiz-color-primary);padding-left:var(--ibiz-spacing-tight)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import './grid-setting.scss';
|
|
3
2
|
import { GridController, IColumnState } from '@ibiz-template/runtime';
|
|
3
|
+
import './grid-setting.scss';
|
|
4
4
|
export declare const IBizGridSetting: import("vue").DefineComponent<{
|
|
5
5
|
columnStates: {
|
|
6
6
|
type: PropType<IColumnState[]>;
|
|
@@ -21,10 +21,12 @@ export declare const IBizGridSetting: import("vue").DefineComponent<{
|
|
|
21
21
|
uaColumn: boolean;
|
|
22
22
|
fixed?: "left" | "right" | undefined;
|
|
23
23
|
adaptive?: boolean | undefined;
|
|
24
|
+
columnWidth?: number | undefined;
|
|
24
25
|
}[]>;
|
|
25
26
|
isDraggable: import("vue").ComputedRef<boolean>;
|
|
26
27
|
handleClick: (dragColumnState: IColumnState) => void;
|
|
27
28
|
onDragChange: (evt: IData) => Promise<void>;
|
|
29
|
+
onShowNavView: () => void;
|
|
28
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
31
|
columnStates: {
|
|
30
32
|
type: PropType<IColumnState[]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, createVNode, resolveComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import './grid-setting.css';
|
|
4
3
|
import draggable from 'vuedraggable';
|
|
5
4
|
import { showTitle } from '@ibiz-template/core';
|
|
5
|
+
import './grid-setting.css';
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
@@ -31,7 +31,7 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
});
|
|
32
32
|
});
|
|
33
33
|
const isDraggable = computed(() => {
|
|
34
|
-
return
|
|
34
|
+
return false;
|
|
35
35
|
});
|
|
36
36
|
const handleClick = (dragColumnState) => {
|
|
37
37
|
const columnState = c.state.columnStates.find((state) => {
|
|
@@ -49,17 +49,23 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
c.changeColumnStateSort(movedDragColumnState.key, newIndex, oldIndex);
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
+
const onShowNavView = () => {
|
|
53
|
+
c.state.showNavView = !c.state.showNavView;
|
|
54
|
+
};
|
|
52
55
|
return {
|
|
53
56
|
ns,
|
|
54
57
|
c,
|
|
55
58
|
dragColumnStates,
|
|
56
59
|
isDraggable,
|
|
57
60
|
handleClick,
|
|
58
|
-
onDragChange
|
|
61
|
+
onDragChange,
|
|
62
|
+
onShowNavView
|
|
59
63
|
};
|
|
60
64
|
},
|
|
61
65
|
render() {
|
|
62
|
-
return createVNode(
|
|
66
|
+
return createVNode("div", {
|
|
67
|
+
"class": this.ns.b()
|
|
68
|
+
}, [createVNode(resolveComponent("el-popover"), {
|
|
63
69
|
"placement": "right-start",
|
|
64
70
|
"trigger": "click",
|
|
65
71
|
"width": "auto"
|
|
@@ -115,7 +121,17 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
|
115
121
|
}
|
|
116
122
|
});
|
|
117
123
|
}
|
|
118
|
-
})
|
|
124
|
+
}), this.c.state.enableNavView ? !this.c.state.showNavView ? createVNode("ion-icon", {
|
|
125
|
+
"class": this.ns.e("nav-icon"),
|
|
126
|
+
"title": ibiz.i18n.t("component.controlNavigation.showNav"),
|
|
127
|
+
"name": "eye-outline",
|
|
128
|
+
"onClick": this.onShowNavView
|
|
129
|
+
}, null) : createVNode("ion-icon", {
|
|
130
|
+
"class": this.ns.e("nav-icon"),
|
|
131
|
+
"title": ibiz.i18n.t("component.controlNavigation.hiddenNav"),
|
|
132
|
+
"name": "eye-off-outline",
|
|
133
|
+
"onClick": this.onShowNavView
|
|
134
|
+
}, null) : null]);
|
|
119
135
|
}
|
|
120
136
|
});
|
|
121
137
|
|
package/es/common/index.mjs
CHANGED
|
@@ -28,6 +28,9 @@ import { IBizPqlEditor } from './pql-editor/pql-editor.mjs';
|
|
|
28
28
|
import { IBizCustomFilterCondition } from './custom-filter-condition/custom-filter-condition.mjs';
|
|
29
29
|
import { IBizAnchorContainer } from './anchor-container/anchor-container.mjs';
|
|
30
30
|
import { IBizButtonList } from './button-list/button-list.mjs';
|
|
31
|
+
import { IBizControlNavigation } from './control-navigation/control-navigation.mjs';
|
|
32
|
+
import { IBizGanttSetting } from './gantt-setting/gantt-setting.mjs';
|
|
33
|
+
import { IBizNavSplit } from './nav-split/nav-split.mjs';
|
|
31
34
|
|
|
32
35
|
"use strict";
|
|
33
36
|
const IBizCommonComponents = {
|
|
@@ -73,6 +76,9 @@ const IBizCommonComponents = {
|
|
|
73
76
|
v.component(IBizCustomFilterCondition.name, IBizCustomFilterCondition);
|
|
74
77
|
v.component(IBizAnchorContainer.name, IBizAnchorContainer);
|
|
75
78
|
v.component(IBizButtonList.name, IBizButtonList);
|
|
79
|
+
v.component(IBizControlNavigation.name, IBizControlNavigation);
|
|
80
|
+
v.component(IBizGanttSetting.name, IBizGanttSetting);
|
|
81
|
+
v.component(IBizNavSplit.name, IBizNavSplit);
|
|
76
82
|
}
|
|
77
83
|
};
|
|
78
84
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-nav-split-wrapper{position:relative;width:100%;height:100%}.ibiz-nav-split-wrapper.is-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ibiz-nav-split--horizontal{display:flex;height:100%}.ibiz-nav-split--horizontal .ibiz-nav-split-trigger-con{top:50%;width:0;height:100%}.ibiz-nav-split--horizontal .ibiz-nav-split-pane{position:unset}.ibiz-nav-split--horizontal .ibiz-nav-split-pane--right{padding-left:6px}.ibiz-nav-split--vertical .ibiz-nav-split-trigger-con{left:50%;width:100%;height:0}.ibiz-nav-split--vertical .ibiz-nav-split-pane{position:absolute}.ibiz-nav-split--vertical .ibiz-nav-split-pane--bottom{padding-top:6px}.ibiz-nav-split-pane{position:absolute}.ibiz-nav-split-pane--left{top:0;bottom:0;left:0;overflow:hidden}.ibiz-nav-split-pane--right{top:0;right:0;bottom:0;overflow:hidden}.ibiz-nav-split-pane--top{top:0;right:0;left:0;overflow:hidden}.ibiz-nav-split-pane--bottom{right:0;bottom:0;left:0;overflow:hidden}.ibiz-nav-split-pane--moving{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ibiz-nav-split-trigger-con{position:absolute;z-index:10;transform:translate(-50%,-50%)}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import './nav-split.scss';
|
|
3
|
+
export declare const IBizNavSplit: import("vue").DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
mode: {
|
|
9
|
+
validator: (value: string) => boolean;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
min: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
max: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
22
|
+
outerWrapper: Ref<HTMLDivElement | null>;
|
|
23
|
+
offset: Ref<number>;
|
|
24
|
+
wrapperClasses: import("vue").ComputedRef<string[]>;
|
|
25
|
+
paneClasses: import("vue").ComputedRef<string[]>;
|
|
26
|
+
isHorizontal: import("vue").ComputedRef<boolean>;
|
|
27
|
+
anotherOffset: import("vue").ComputedRef<number>;
|
|
28
|
+
handleMousedown: (e: MouseEvent) => void;
|
|
29
|
+
handleMove: (e: MouseEvent) => void;
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-move-start" | "on-moving" | "on-move-end")[], "update:modelValue" | "on-move-start" | "on-moving" | "on-move-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
mode: {
|
|
36
|
+
validator: (value: string) => boolean;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
min: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
max: {
|
|
44
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onOn-move-start"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
"onOn-moving"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onOn-move-end"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
mode: string;
|
|
54
|
+
modelValue: string | number;
|
|
55
|
+
max: string | number;
|
|
56
|
+
min: string | number;
|
|
57
|
+
}, {}>;
|