@ibiz-template/vue3-components 0.7.38-alpha.43 → 0.7.38-alpha.56
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-C4Y8Daxm.js +1 -0
- package/dist/ibiz-markdown-editor-CKuF8KOI.js +1 -0
- package/dist/index-B79xJqXz.js +1 -0
- package/dist/index-BsxW9vZO.js +1 -0
- package/dist/index-CIQ8bnG_.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-Byqjtna-.js +1 -0
- package/dist/map-chart-user-BaQWHpFu.js +1 -0
- package/dist/wang-editor-Vd0LVyWx.js +1 -0
- package/dist/{xlsx-util-BoMFhSd9.js → xlsx-util-BApCDhEk.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.d.ts +6 -0
- package/es/common/action-toolbar/action-toolbar.mjs +12 -2
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/button-list/button-list.d.ts +3 -2
- package/es/common/button-list/button-list.mjs +102 -27
- package/es/common/control-navigation/control-navigation.mjs +2 -0
- package/es/common/cropping/cropping.css +1 -0
- package/es/common/cropping/cropping.d.ts +54 -0
- package/es/common/cropping/cropping.mjs +291 -0
- package/es/common/data-import/data-import.mjs +3 -2
- package/es/common/data-import2/data-import2.mjs +2 -3
- package/es/common/grid-setting/grid-setting.d.ts +0 -1
- package/es/common/grid-setting/grid-setting.mjs +4 -8
- package/es/common/index.mjs +8 -0
- package/es/common/map-chart/map-manager.mjs +16 -4
- package/es/common/map-chart-user/map-chart-user.css +1 -0
- package/es/common/map-chart-user/map-chart-user.d.ts +136 -0
- package/es/common/map-chart-user/map-chart-user.mjs +104 -0
- package/es/common/map-chart-user/map-chart-user.util.d.ts +39 -0
- package/es/common/map-chart-user/map-chart-user.util.mjs +206 -0
- package/es/common/map-chart-user/map-user-manager.d.ts +21 -0
- package/es/common/map-chart-user/map-user-manager.mjs +155 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +3 -3
- package/es/control/calendar/calendar-util.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +1 -1
- package/es/control/calendar/calendar.mjs +165 -16
- package/es/control/calendar/index.d.ts +1 -1
- package/es/control/chart/chart.mjs +12 -2
- package/es/control/context-menu/context-menu.d.ts +7 -1
- package/es/control/context-menu/context-menu.mjs +15 -4
- package/es/control/context-menu/index.d.ts +7 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +3 -3
- package/es/control/dashboard/dashboard-design/dashboard-design.css +1 -1
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +5 -5
- package/es/control/dashboard/dashboard-design/dashboard-design.util.mjs +2 -2
- package/es/control/data-view/data-view.d.ts +0 -1
- package/es/control/data-view/data-view.mjs +15 -9
- package/es/control/data-view/index.d.ts +0 -1
- package/es/control/drbar/drbar.controller.mjs +2 -0
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.controller.mjs +2 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +24 -11
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +6 -0
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +12 -3
- package/es/control/form/form-detail/form-item/form-item.d.ts +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +3 -2
- package/es/control/form/form-detail/form-item/index.d.ts +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +1 -1
- package/es/control/gantt/gantt.mjs +16 -3
- package/es/control/grid/grid/grid-control.util.d.ts +2 -0
- package/es/control/grid/grid/grid-control.util.mjs +82 -2
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.d.ts +2 -1
- package/es/control/grid/grid/grid.mjs +143 -10
- package/es/control/grid/grid/index.mjs +2 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +39 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.mjs +102 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.provider.d.ts +13 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.provider.mjs +21 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +37 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/index.mjs +18 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/row-edit.d.ts +13 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/row-edit.mjs +36 -0
- 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 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +6 -14
- package/es/control/grid/grid-column/grid-field-edit-column/all-edit.mjs +3 -1
- package/es/control/grid/grid-column/grid-field-edit-column/cell-edit.d.ts +1 -0
- package/es/control/grid/grid-column/grid-field-edit-column/cell-edit.mjs +17 -2
- 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-field-edit-column/grid-edit-item/grid-edit-item.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +19 -6
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +1 -1
- package/es/control/grid/grid-column/index.d.ts +1 -0
- package/es/control/grid/grid-column/index.mjs +1 -0
- package/es/control/grid/index.mjs +1 -0
- package/es/control/grid/row-edit-popover/use-row-edit-popover.mjs +1 -1
- package/es/control/index.mjs +1 -0
- package/es/control/kanban/kanban.css +1 -1
- package/es/control/kanban/kanban.mjs +15 -3
- package/es/control/list/index.d.ts +0 -1
- package/es/control/list/list.d.ts +0 -1
- package/es/control/list/list.mjs +16 -11
- package/es/control/map/map.d.ts +1 -0
- package/es/control/map/map.mjs +13 -2
- package/es/control/search-bar/filter-tree/filter-tree.mjs +3 -0
- package/es/control/toolbar/index.d.ts +13 -2
- package/es/control/toolbar/toolbar.d.ts +13 -2
- package/es/control/toolbar/toolbar.mjs +31 -12
- package/es/control/tree/el-tree-util.mjs +7 -5
- package/es/control/tree/index.d.ts +2 -5
- package/es/control/tree/tree.d.ts +2 -5
- package/es/control/tree/tree.mjs +17 -25
- package/es/control/tree-grid/tree-grid.mjs +16 -3
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/cell-edit.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.mjs +5 -5
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +1 -8
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +16 -3
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +2 -2
- package/es/editor/autocomplete/autocomplete-editor.controller.d.ts +21 -3
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +67 -2
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +6 -2
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +87 -6
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +2 -2
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +2 -2
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +2 -2
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +3 -3
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +2 -3
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +2 -2
- package/es/editor/color-picker/color-picker-editor.controller.d.ts +7 -0
- package/es/editor/color-picker/color-picker-editor.controller.mjs +22 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.css +1 -1
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +35 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.mjs +18 -3
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +2 -6
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +2 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +3 -2
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +87 -71
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +6 -2
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +89 -30
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +4 -2
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +135 -74
- 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 +6 -2
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +8 -2
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.css +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +2 -2
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +18 -5
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +2 -2
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +1 -1
- package/es/editor/data-picker/picker-editor.controller.d.ts +20 -2
- package/es/editor/data-picker/picker-editor.controller.mjs +66 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +2 -2
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +2 -2
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +2 -2
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +31 -23
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +2 -2
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +2 -2
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +18 -18
- package/es/editor/html/wang-editor/wang-editor.d.ts +2 -2
- package/es/editor/html/wang-editor/wang-editor.mjs +3 -3
- package/es/editor/index.mjs +6 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +3 -3
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.mjs +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +4 -4
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +2 -2
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +2 -2
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +3 -3
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +2 -3
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +2 -2
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +2 -2
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +2 -2
- package/es/editor/span/span/span.mjs +1 -1
- package/es/editor/span/span-link/span-link.d.ts +2 -2
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +2 -2
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +2 -2
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +2 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +2 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.d.ts +3 -3
- package/es/editor/text-box/input/input.mjs +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +2 -2
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -0
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +96 -0
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +233 -0
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +2 -2
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +2 -2
- package/es/editor/upload/index.d.ts +1 -0
- package/es/editor/upload/index.mjs +1 -0
- package/es/editor/upload/upload-editor.provider.mjs +3 -0
- package/es/editor/upload/use/use-iview-upload.mjs +2 -3
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +2 -2
- package/es/index.mjs +2 -0
- package/es/locale/en/index.d.ts +17 -0
- package/es/locale/en/index.mjs +16 -4
- package/es/locale/zh-CN/index.d.ts +17 -0
- package/es/locale/zh-CN/index.mjs +16 -4
- package/es/panel-component/coop-pos/coop-pos.css +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +4 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +3 -0
- package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +3 -2
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.css +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.mjs +6 -1
- package/es/panel-component/nav-tabs/nav-tabs.state.d.ts +2 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +4 -2
- package/es/panel-component/panel-app-title/panel-app-title.mjs +2 -0
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +2 -1
- package/es/panel-component/panel-view-content/panel-view-content.mjs +1 -0
- package/es/panel-component/user-action/user-action.mjs +36 -17
- package/es/panel-component/user-message/addin-changed/addin-changed.css +1 -0
- package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +20 -0
- package/es/panel-component/user-message/addin-changed/addin-changed.mjs +47 -0
- package/es/panel-component/user-message/addin-changed/index.d.ts +1 -0
- package/es/panel-component/user-message/addin-changed/index.mjs +3 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.css +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +2 -5
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +20 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +2 -5
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/index.d.ts +1 -0
- package/es/util/index.mjs +1 -0
- package/es/util/keydown-util/keydown-util.d.ts +21 -0
- package/es/util/keydown-util/keydown-util.mjs +35 -0
- package/es/util/notice-util/notice-util.d.ts +1 -0
- package/es/util/notice-util/notice-util.mjs +14 -0
- package/es/util/notification-util/upload-manager/upload-manager.mjs +2 -3
- package/es/util/open-view-util/open-view-util.mjs +4 -0
- package/es/view/403-view/403-view.css +1 -1
- package/es/view/403-view/403-view.mjs +1 -1
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/login-view/login-view.mjs +14 -7
- package/es/view-engine/edit-view.engine.d.ts +2 -2
- package/es/view-engine/edit-view.engine.mjs +5 -4
- package/es/view-engine/grid-view.engine.mjs +1 -5
- package/es/view-engine/index.mjs +5 -0
- package/es/view-engine/login-view.engine.mjs +5 -4
- package/es/view-engine/opt-view.engine.mjs +3 -1
- package/es/view-engine/wf-dyna-action-view.engine.mjs +1 -1
- package/es/view-engine/wf-dyna-edit-view.engine.mjs +9 -3
- package/es/view-engine/wf-dyna-start-view.engine.mjs +1 -1
- package/es/view-engine/wf-step-data-view.engine.d.ts +10 -0
- package/es/view-engine/wf-step-data-view.engine.mjs +7 -0
- package/es/web-app/App.mjs +0 -10
- package/es/web-app/attach-environment-config.mjs +2 -2
- package/es/web-app/guard/auth-guard/auth-guard.mjs +4 -4
- package/es/web-app/main.mjs +4 -0
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.d.ts +2 -1
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +14 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +12 -2
- package/lib/common/button-list/button-list.cjs +101 -26
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/control-navigation/control-navigation.cjs +2 -0
- package/lib/common/cropping/cropping.cjs +293 -0
- package/lib/common/cropping/cropping.css +1 -0
- package/lib/common/data-import/data-import.cjs +3 -2
- package/lib/common/data-import2/data-import2.cjs +1 -2
- package/lib/common/grid-setting/grid-setting.cjs +4 -8
- package/lib/common/index.cjs +8 -0
- package/lib/common/map-chart/map-manager.cjs +15 -3
- package/lib/common/map-chart-user/map-chart-user.cjs +109 -0
- package/lib/common/map-chart-user/map-chart-user.css +1 -0
- package/lib/common/map-chart-user/map-chart-user.util.cjs +218 -0
- package/lib/common/map-chart-user/map-user-manager.cjs +157 -0
- package/lib/control/app-menu/app-menu.cjs +2 -2
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/calendar/calendar-util.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +163 -14
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/chart/chart.cjs +11 -1
- package/lib/control/context-menu/context-menu.cjs +15 -4
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -2
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +5 -5
- package/lib/control/dashboard/dashboard-design/dashboard-design.css +1 -1
- package/lib/control/dashboard/dashboard-design/dashboard-design.util.cjs +2 -2
- package/lib/control/data-view/data-view.cjs +14 -8
- package/lib/control/drbar/drbar.controller.cjs +2 -0
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +2 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +24 -11
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +11 -2
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +3 -2
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +1 -1
- package/lib/control/gantt/gantt.cjs +14 -1
- package/lib/control/grid/grid/grid-control.util.cjs +81 -1
- package/lib/control/grid/grid/grid.cjs +140 -6
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid/index.cjs +2 -0
- package/lib/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.cjs +107 -0
- package/lib/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.provider.cjs +23 -0
- package/lib/control/grid/grid-column/auto-grid-field-edit-column/index.cjs +23 -0
- package/lib/control/grid/grid-column/auto-grid-field-edit-column/row-edit.cjs +38 -0
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +6 -14
- 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/all-edit.cjs +3 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/cell-edit.cjs +16 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.cjs +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-field-edit-column/grid-field-edit-column.cjs +18 -5
- package/lib/control/grid/grid-column/index.cjs +2 -0
- package/lib/control/grid/index.cjs +2 -0
- package/lib/control/grid/row-edit-popover/use-row-edit-popover.cjs +1 -1
- package/lib/control/index.cjs +104 -102
- package/lib/control/kanban/kanban.cjs +14 -2
- package/lib/control/kanban/kanban.css +1 -1
- package/lib/control/list/list.cjs +15 -10
- package/lib/control/map/map.cjs +13 -2
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +3 -0
- package/lib/control/toolbar/toolbar.cjs +31 -12
- package/lib/control/tree/el-tree-util.cjs +7 -5
- package/lib/control/tree/tree.cjs +16 -24
- package/lib/control/tree-grid/tree-grid.cjs +14 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/cell-edit.cjs +1 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.cjs +5 -5
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +1 -8
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +14 -1
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +66 -1
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +87 -6
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +1 -1
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +2 -3
- package/lib/editor/color-picker/color-picker-editor.controller.cjs +22 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.cjs +18 -3
- package/lib/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +2 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +86 -70
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +88 -29
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +134 -73
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.cjs +7 -1
- 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 +18 -5
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +1 -1
- package/lib/editor/data-picker/picker-editor.controller.cjs +65 -0
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +31 -23
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +1 -1
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +18 -18
- package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
- package/lib/editor/index.cjs +6 -0
- package/lib/editor/list-box/ibiz-list-box/ibiz-list-box.cjs +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +2 -2
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +2 -3
- package/lib/editor/span/span/span.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/input/input.cjs +1 -1
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +235 -0
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -0
- package/lib/editor/upload/index.cjs +2 -0
- package/lib/editor/upload/upload-editor.provider.cjs +3 -0
- package/lib/editor/upload/use/use-iview-upload.cjs +1 -2
- package/lib/index.cjs +136 -132
- package/lib/locale/en/index.cjs +16 -4
- package/lib/locale/zh-CN/index.cjs +16 -4
- package/lib/panel-component/coop-pos/coop-pos.css +1 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +3 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +4 -1
- package/lib/panel-component/nav-tabs/nav-tabs.cjs +6 -1
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +1 -1
- package/lib/panel-component/nav-tabs/nav-tabs.css +1 -1
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +2 -0
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +4 -2
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +2 -1
- package/lib/panel-component/panel-view-content/panel-view-content.cjs +1 -0
- package/lib/panel-component/user-action/user-action.cjs +36 -17
- package/lib/panel-component/user-message/addin-changed/addin-changed.cjs +49 -0
- package/lib/panel-component/user-message/addin-changed/addin-changed.css +1 -0
- package/lib/panel-component/user-message/addin-changed/index.cjs +7 -0
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.cjs +20 -1
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.css +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/index.cjs +2 -0
- package/lib/util/keydown-util/keydown-util.cjs +37 -0
- package/lib/util/notice-util/notice-util.cjs +14 -0
- package/lib/util/notification-util/upload-manager/upload-manager.cjs +1 -2
- package/lib/util/open-view-util/open-view-util.cjs +4 -0
- package/lib/view/403-view/403-view.cjs +1 -1
- package/lib/view/403-view/403-view.css +1 -1
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view/login-view/login-view.cjs +13 -6
- package/lib/view-engine/edit-view.engine.cjs +5 -4
- package/lib/view-engine/grid-view.engine.cjs +1 -5
- package/lib/view-engine/index.cjs +5 -0
- package/lib/view-engine/login-view.engine.cjs +5 -4
- package/lib/view-engine/opt-view.engine.cjs +3 -1
- package/lib/view-engine/wf-dyna-action-view.engine.cjs +1 -1
- package/lib/view-engine/wf-dyna-edit-view.engine.cjs +9 -3
- package/lib/view-engine/wf-dyna-start-view.engine.cjs +1 -1
- package/lib/view-engine/wf-step-data-view.engine.cjs +9 -0
- package/lib/web-app/App.cjs +0 -10
- package/lib/web-app/attach-environment-config.cjs +2 -2
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +3 -3
- package/lib/web-app/main.cjs +4 -0
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +14 -1
- package/package.json +7 -7
- package/dist/chart-NHocZH22.js +0 -1
- package/dist/ibiz-markdown-editor-BZ8j-yda.js +0 -1
- package/dist/index-BLHbMaxB.js +0 -1
- package/dist/index-D22WGUVe.js +0 -1
- package/dist/index-b76YR_Js.js +0 -4
- package/dist/map-chart-BsStf5eZ.js +0 -1
- package/dist/wang-editor-Btv6GIhJ.js +0 -1
- /package/es/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 → @ibiz-template_core@0.7.38-alpha.57_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.43_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.57_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
package/lib/control/map/map.cjs
CHANGED
|
@@ -43,6 +43,7 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
43
43
|
const c = vue3Util.useControlController((...args) => new runtime.MapController(...args));
|
|
44
44
|
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
45
45
|
const mapRef = vue.ref();
|
|
46
|
+
const mapStyle = c.model.mapStyle;
|
|
46
47
|
const mapOpts = vue.computed(() => {
|
|
47
48
|
return {
|
|
48
49
|
strAreaCode: c.state.strAreaCode,
|
|
@@ -54,17 +55,27 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
55
|
c,
|
|
55
56
|
ns,
|
|
56
57
|
mapRef,
|
|
57
|
-
mapOpts
|
|
58
|
+
mapOpts,
|
|
59
|
+
mapStyle
|
|
58
60
|
};
|
|
59
61
|
},
|
|
60
62
|
render() {
|
|
61
63
|
const {
|
|
62
64
|
state
|
|
63
65
|
} = this.c;
|
|
66
|
+
if (!state.isLoaded) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
64
69
|
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
65
70
|
"controller": this.c
|
|
66
71
|
}, {
|
|
67
|
-
default: () => [
|
|
72
|
+
default: () => [this.mapStyle === "USER" ? vue.createVNode(vue.resolveComponent("iBizMapChartUser"), {
|
|
73
|
+
"areaData": state.areaData,
|
|
74
|
+
"pointData": state.pointData,
|
|
75
|
+
"options": this.mapOpts,
|
|
76
|
+
"class": this.ns.e("map"),
|
|
77
|
+
"controller": this.c
|
|
78
|
+
}, null) : vue.createVNode(vue.resolveComponent("iBizMapChart"), {
|
|
68
79
|
"areaData": state.areaData,
|
|
69
80
|
"pointData": state.pointData,
|
|
70
81
|
"options": this.mapOpts,
|
|
@@ -430,6 +430,8 @@ const FilterTreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
430
430
|
renderFilterItems = (node) => {
|
|
431
431
|
let _slot2;
|
|
432
432
|
const itemsC = findFilterController(node);
|
|
433
|
+
if (!itemsC)
|
|
434
|
+
return;
|
|
433
435
|
if (node.simple) {
|
|
434
436
|
let _slot;
|
|
435
437
|
const child = node.children[0];
|
|
@@ -437,6 +439,7 @@ const FilterTreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
437
439
|
return;
|
|
438
440
|
}
|
|
439
441
|
return [vue.createVNode(vue.resolveComponent("el-select"), {
|
|
442
|
+
"disabled": child.disabled,
|
|
440
443
|
"model-value": itemsC.key,
|
|
441
444
|
"teleported": false,
|
|
442
445
|
"class": ns.e("field-select"),
|
|
@@ -49,6 +49,10 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
49
49
|
type: Object,
|
|
50
50
|
required: true
|
|
51
51
|
},
|
|
52
|
+
runMode: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: "RUNTIME"
|
|
55
|
+
},
|
|
52
56
|
context: {
|
|
53
57
|
type: Object,
|
|
54
58
|
required: true
|
|
@@ -65,7 +69,10 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
65
69
|
default: false
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
|
-
|
|
72
|
+
emits: ["click"],
|
|
73
|
+
setup(props, {
|
|
74
|
+
emit
|
|
75
|
+
}) {
|
|
69
76
|
var _a;
|
|
70
77
|
const c = vue3Util.useControlController((...args) => new runtime.ToolbarController(...args));
|
|
71
78
|
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
@@ -73,15 +80,23 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
80
|
const btnSize = vue.ref("default");
|
|
74
81
|
const toolbarStyle = (_a = c.model.toolbarStyle) == null ? void 0 : _a.toLowerCase();
|
|
75
82
|
const handleClick = async (item, event, params) => {
|
|
76
|
-
|
|
83
|
+
if (props.runMode === "RUNTIME") {
|
|
84
|
+
await c.onItemClick(item, event, params);
|
|
85
|
+
} else {
|
|
86
|
+
emit("click", item);
|
|
87
|
+
}
|
|
77
88
|
};
|
|
78
89
|
const handleActionClick = async (item, event, params) => {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
90
|
+
if (props.runMode === "RUNTIME") {
|
|
91
|
+
const tempItem = {};
|
|
92
|
+
Object.assign(tempItem, {
|
|
93
|
+
...item,
|
|
94
|
+
itemType: item.detailType
|
|
95
|
+
});
|
|
96
|
+
await handleClick(tempItem, event, params);
|
|
97
|
+
} else {
|
|
98
|
+
emit("click", item);
|
|
99
|
+
}
|
|
85
100
|
};
|
|
86
101
|
const renderExtraButtons = (extraButtons) => {
|
|
87
102
|
return extraButtons.map((button) => {
|
|
@@ -156,14 +171,16 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
156
171
|
}, {
|
|
157
172
|
default: () => [vue.createVNode(vue.resolveComponent("iBizRawItem"), {
|
|
158
173
|
"rawItem": item2,
|
|
159
|
-
"
|
|
174
|
+
"content": item2.rawItem.content,
|
|
175
|
+
"class": ns.b("submenu-rawitem"),
|
|
176
|
+
"onClick": (e) => handleClick(item2, e)
|
|
160
177
|
}, null)]
|
|
161
178
|
});
|
|
162
179
|
}
|
|
163
180
|
if (item2.itemType === "DEUIACTION") {
|
|
164
181
|
let _slot2;
|
|
165
182
|
const buttonType = (_b = item2.buttonStyle) == null ? void 0 : _b.toLowerCase();
|
|
166
|
-
if (actionId === "exportexcel") {
|
|
183
|
+
if (actionId === "exportexcel" || actionId === "gridview_exportaction") {
|
|
167
184
|
return vue.createVNode(exportExcel.IBizExportExcel, {
|
|
168
185
|
"class": [ns.e("menu-exportexcel"), ns.em("item", buttonType), calcCssName(item2)],
|
|
169
186
|
"mode": "menu",
|
|
@@ -358,14 +375,16 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
358
375
|
"key": itemId,
|
|
359
376
|
"class": [ns.e("item"), ns.e("item-rawitem")]
|
|
360
377
|
}, [vue.createVNode(vue.resolveComponent("iBizRawItem"), {
|
|
361
|
-
"rawItem": item
|
|
378
|
+
"rawItem": item,
|
|
379
|
+
"content": item.rawItem.content,
|
|
380
|
+
"onClick": (e) => handleClick(item, e)
|
|
362
381
|
}, null)]);
|
|
363
382
|
}
|
|
364
383
|
if (item.itemType === "DEUIACTION") {
|
|
365
384
|
let _slot8;
|
|
366
385
|
const actionId = item.uiactionId;
|
|
367
386
|
const buttonType = (_b = item.buttonStyle) == null ? void 0 : _b.toLowerCase();
|
|
368
|
-
if (actionId === "exportexcel") {
|
|
387
|
+
if (actionId === "exportexcel" || actionId === "gridview_exportaction") {
|
|
369
388
|
return vue.createVNode(exportExcel.IBizExportExcel, {
|
|
370
389
|
"class": [ns.e("item"), ns.e("item-deuiaction"), ns.em("item", buttonType), calcCssName(item)],
|
|
371
390
|
"item": item,
|
|
@@ -129,14 +129,16 @@ function findChildItems(c, modelData, curItem) {
|
|
|
129
129
|
return a.ordervalue - b.ordervalue;
|
|
130
130
|
});
|
|
131
131
|
rss.forEach((_rss) => {
|
|
132
|
-
const
|
|
132
|
+
const _children = c.state.items.filter((_item) => {
|
|
133
133
|
var _a;
|
|
134
134
|
return ((_a = _item._nodeId) == null ? void 0 : _a.toLowerCase()) === _rss.childDETreeNodeId;
|
|
135
135
|
});
|
|
136
|
-
if (
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
if (_children.length) {
|
|
137
|
+
_children.forEach((child) => {
|
|
138
|
+
const temp = lodashEs.cloneDeep(child);
|
|
139
|
+
temp._id = qxUtil.createUUID();
|
|
140
|
+
children.push(temp);
|
|
141
|
+
});
|
|
140
142
|
}
|
|
141
143
|
});
|
|
142
144
|
return children;
|
|
@@ -79,10 +79,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
79
|
required: false
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
-
|
|
83
|
-
setup(props, {
|
|
84
|
-
emit
|
|
85
|
-
}) {
|
|
82
|
+
setup(props) {
|
|
86
83
|
const c = vue3Util.useControlController((...args) => new runtime.TreeController(...args));
|
|
87
84
|
elTreeUtil.useAppTreeBase(c, props);
|
|
88
85
|
const cascadeSelect = vue.ref(false);
|
|
@@ -311,23 +308,11 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
311
308
|
const readonly = vue.computed(() => {
|
|
312
309
|
return !!(c.context.srfreadonly === true || c.context.srfreadonly === "true");
|
|
313
310
|
});
|
|
314
|
-
const onShowNavView = () => {
|
|
315
|
-
c.state.showNavView = !c.state.showNavView;
|
|
316
|
-
};
|
|
317
311
|
const onNodeClick = (nodeData, data, evt) => {
|
|
318
312
|
var _a, _b;
|
|
319
313
|
evt.stopPropagation();
|
|
320
|
-
if (
|
|
321
|
-
emit("nodeClick", {
|
|
322
|
-
nodeData,
|
|
323
|
-
evt
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
if (nodeData._disableSelect)
|
|
327
|
-
return;
|
|
328
|
-
if (forbidClick) {
|
|
314
|
+
if (nodeData._disableSelect || forbidClick)
|
|
329
315
|
return;
|
|
330
|
-
}
|
|
331
316
|
if (((_a = treeRef.value) == null ? void 0 : _a.getCurrentKey()) === nodeData._id && !readonly.value) {
|
|
332
317
|
editCurrentNodeText();
|
|
333
318
|
}
|
|
@@ -468,8 +453,16 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
468
453
|
return result;
|
|
469
454
|
};
|
|
470
455
|
const onNodeContextmenu = async (nodeData, evt) => {
|
|
456
|
+
var _a;
|
|
471
457
|
evt.preventDefault();
|
|
472
458
|
evt.stopPropagation();
|
|
459
|
+
let stopClickTag = ibiz.config.tree.contextMenuRightClickInvoke;
|
|
460
|
+
if ((_a = c.controlParams) == null ? void 0 : _a.contextmenurightclickinvoke) {
|
|
461
|
+
stopClickTag = Object.is(c.controlParams.contextmenurightclickinvoke, "true");
|
|
462
|
+
}
|
|
463
|
+
if (!stopClickTag) {
|
|
464
|
+
return;
|
|
465
|
+
}
|
|
473
466
|
const nodeModel = c.getNodeModel(nodeData._nodeId);
|
|
474
467
|
if (!(nodeModel == null ? void 0 : nodeModel.decontextMenu)) {
|
|
475
468
|
return;
|
|
@@ -506,7 +499,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
506
499
|
"nodeModel": nodeModel,
|
|
507
500
|
"nodeData": nodeData,
|
|
508
501
|
"context": c.context,
|
|
509
|
-
"
|
|
502
|
+
"actionCallBack": (detail, e) => c.doUIAction(detail.uiactionId, nodeData, e, detail.appId)
|
|
510
503
|
}, null);
|
|
511
504
|
};
|
|
512
505
|
const updateNodeExpand = (data, expanded) => {
|
|
@@ -622,7 +615,6 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
622
615
|
allowDrop,
|
|
623
616
|
allowDrag,
|
|
624
617
|
handleDrop,
|
|
625
|
-
onShowNavView,
|
|
626
618
|
onNodeTextEditBlur,
|
|
627
619
|
renderNewNode,
|
|
628
620
|
handleEditKeyDown
|
|
@@ -652,7 +644,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
652
644
|
const key = this.c.controlPanel ? "tree" : "default";
|
|
653
645
|
slots[key] = () => {
|
|
654
646
|
if (this.c.state.isLoaded && this.treeRefreshKey) {
|
|
655
|
-
return [vue.createVNode(vue.resolveComponent("el-tree"), {
|
|
647
|
+
return [vue.createVNode(vue.resolveComponent("el-tree"), vue.mergeProps({
|
|
656
648
|
"ref": "treeRef",
|
|
657
649
|
"class": this.ns.b("tree"),
|
|
658
650
|
"key": this.treeRefreshKey,
|
|
@@ -682,7 +674,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
682
674
|
"allow-drop": this.allowDrop,
|
|
683
675
|
"allow-drag": this.allowDrag,
|
|
684
676
|
"onNodeDrop": this.handleDrop
|
|
685
|
-
}, {
|
|
677
|
+
}, this.$attrs), {
|
|
686
678
|
default: ({
|
|
687
679
|
data
|
|
688
680
|
}) => {
|
|
@@ -735,16 +727,16 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
735
727
|
"class": [this.ns.b("node"), nodeData._disableSelect ? this.ns.bm("node", "disabled") : "", (_b = nodeModel.sysCss) == null ? void 0 : _b.cssName]
|
|
736
728
|
}, [content, this.renderCounter(nodeModel), this.renderContextMenu(nodeModel, nodeData)]);
|
|
737
729
|
}
|
|
738
|
-
}), this.renderNewNode(), this.c.state.enableNavView ? !this.c.state.showNavView ? vue.createVNode("ion-icon", {
|
|
730
|
+
}), this.renderNewNode(), this.c.state.enableNavView && this.c.state.showNavIcon ? !this.c.state.showNavView ? vue.createVNode("ion-icon", {
|
|
739
731
|
"class": this.ns.e("nav-icon"),
|
|
740
732
|
"title": ibiz.i18n.t("component.controlNavigation.showNav"),
|
|
741
733
|
"name": "eye-outline",
|
|
742
|
-
"onClick": this.
|
|
734
|
+
"onClick": () => this.c.onShowNavViewChange()
|
|
743
735
|
}, null) : vue.createVNode("ion-icon", {
|
|
744
736
|
"class": this.ns.e("nav-icon"),
|
|
745
737
|
"title": ibiz.i18n.t("component.controlNavigation.hiddenNav"),
|
|
746
738
|
"name": "eye-off-outline",
|
|
747
|
-
"onClick": this.
|
|
739
|
+
"onClick": () => this.c.onShowNavViewChange()
|
|
748
740
|
}, null) : null];
|
|
749
741
|
}
|
|
750
742
|
};
|
|
@@ -9,6 +9,9 @@ var grid = require('../grid/grid/grid.cjs');
|
|
|
9
9
|
var gridControl_util = require('../grid/grid/grid-control.util.cjs');
|
|
10
10
|
|
|
11
11
|
"use strict";
|
|
12
|
+
function _isSlot(s) {
|
|
13
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
14
|
+
}
|
|
12
15
|
const TreeGridControl = /* @__PURE__ */ vue.defineComponent({
|
|
13
16
|
name: "IBizTreeGridControl",
|
|
14
17
|
props: {
|
|
@@ -107,10 +110,20 @@ const TreeGridControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
107
110
|
"class": ns.b("quick-toolbar")
|
|
108
111
|
}, null);
|
|
109
112
|
}
|
|
113
|
+
const noDataSlots = {};
|
|
114
|
+
if (vue3Util.hasEmptyPanelRenderer(c)) {
|
|
115
|
+
Object.assign(noDataSlots, {
|
|
116
|
+
customRender: () => vue.createVNode(vue3Util.IBizCustomRender, {
|
|
117
|
+
"controller": c
|
|
118
|
+
}, null)
|
|
119
|
+
});
|
|
120
|
+
}
|
|
110
121
|
return vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
111
122
|
"text": c.model.emptyText,
|
|
112
123
|
"emptyTextLanguageRes": c.model.emptyTextLanguageRes
|
|
113
|
-
},
|
|
124
|
+
}, _isSlot(noDataSlots) ? noDataSlots : {
|
|
125
|
+
default: () => [noDataSlots]
|
|
126
|
+
});
|
|
114
127
|
}
|
|
115
128
|
return null;
|
|
116
129
|
};
|
|
@@ -53,7 +53,7 @@ function useCellEdit(props, componentRef) {
|
|
|
53
53
|
const onBlur = () => {
|
|
54
54
|
ibiz.log.debug("".concat(c.name, "\u5C5E\u6027\u7F16\u8F91\u5668blur\u4E8B\u4EF6"));
|
|
55
55
|
setEditable(false);
|
|
56
|
-
if (
|
|
56
|
+
if (c.treeGrid.editSaveMode === "cell-blur") {
|
|
57
57
|
c.treeGrid.save(props.row.data);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
@@ -32,9 +32,9 @@ const TreeGridExEditColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
32
32
|
const ns = vue3Util.useNamespace("tree-grid-ex-edit-column");
|
|
33
33
|
const componentRef = vue.ref();
|
|
34
34
|
const c = props.controller;
|
|
35
|
-
const rowDataChange = async (val, name) => {
|
|
35
|
+
const rowDataChange = async (val, name, ignore = false) => {
|
|
36
36
|
ibiz.log.debug("".concat(c.name, "\u503C\u53D8\u66F4"), val);
|
|
37
|
-
await c.setRowValue(props.row, val, name);
|
|
37
|
+
await c.setRowValue(props.row, val, name, ignore);
|
|
38
38
|
};
|
|
39
39
|
const useByShowMode = () => {
|
|
40
40
|
switch (c.treeGrid.editShowMode) {
|
|
@@ -82,8 +82,8 @@ const TreeGridExEditColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
82
|
return vue.createVNode(vue.resolveComponent("iBizGridEditItem"), {
|
|
83
83
|
ref: "componentRef",
|
|
84
84
|
required: !this.controller.nodeEditItem.allowEmpty,
|
|
85
|
-
overflowMode: this.controller.overflowMode,
|
|
86
|
-
class: [this.ns, this.ns.m(this.controller.overflowMode)],
|
|
85
|
+
overflowMode: this.controller.treeGrid.overflowMode,
|
|
86
|
+
class: [this.ns, this.ns.m(this.controller.treeGrid.overflowMode)],
|
|
87
87
|
...this.gridEditItemProps
|
|
88
88
|
}, {
|
|
89
89
|
default: () => [this.controller.editorProvider && vue.h(vue.resolveComponent(this.controller.editorProvider.gridEditor), {
|
|
@@ -91,7 +91,7 @@ const TreeGridExEditColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
91
91
|
value: this.fieldValue,
|
|
92
92
|
data: this.row.data,
|
|
93
93
|
controller: this.controller.editor,
|
|
94
|
-
overflowMode: this.controller.overflowMode,
|
|
94
|
+
overflowMode: this.controller.treeGrid.overflowMode,
|
|
95
95
|
onChange: this.rowDataChange,
|
|
96
96
|
onInfoTextChange: this.onInfoTextChange,
|
|
97
97
|
title: this.tooltip,
|
|
@@ -24,13 +24,6 @@ const TreeGridExFieldColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
24
24
|
},
|
|
25
25
|
setup(props) {
|
|
26
26
|
const ns = vue3Util.useNamespace("tree-grid-ex-field-column");
|
|
27
|
-
let emptyHiddenUnit = ibiz.config.grid.emptyHiddenUnit;
|
|
28
|
-
const {
|
|
29
|
-
emptyhiddenunit
|
|
30
|
-
} = props.controller.treeGrid.controlParams;
|
|
31
|
-
if (emptyhiddenunit) {
|
|
32
|
-
emptyHiddenUnit = Object.is(emptyhiddenunit, "true");
|
|
33
|
-
}
|
|
34
27
|
const fieldValue = vue.computed(() => {
|
|
35
28
|
if (props.row.data._nodeType !== "DE" && props.controller.isFirstShowColumn) {
|
|
36
29
|
return props.row.data._text;
|
|
@@ -55,7 +48,7 @@ const TreeGridExFieldColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
55
48
|
return codeListText.value;
|
|
56
49
|
}
|
|
57
50
|
let text = nodeColumnC.formatValue(fieldValue.value);
|
|
58
|
-
if (emptyHiddenUnit) {
|
|
51
|
+
if (props.controller.treeGrid.emptyHiddenUnit) {
|
|
59
52
|
if (text) {
|
|
60
53
|
text += nodeColumnC.unitName || ((_a = nodeColumnC.nodeColumn) == null ? void 0 : _a.unitName) || "";
|
|
61
54
|
}
|
|
@@ -9,6 +9,9 @@ var qxUtil = require('qx-util');
|
|
|
9
9
|
var useRowEditPopover = require('./use-row-edit-popover.cjs');
|
|
10
10
|
|
|
11
11
|
"use strict";
|
|
12
|
+
function _isSlot(s) {
|
|
13
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
14
|
+
}
|
|
12
15
|
const TreeGridExControl = /* @__PURE__ */ vue.defineComponent({
|
|
13
16
|
name: "IBizTreeGridExControl",
|
|
14
17
|
props: {
|
|
@@ -35,10 +38,20 @@ const TreeGridExControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
38
|
const {
|
|
36
39
|
isLoaded
|
|
37
40
|
} = c.state;
|
|
41
|
+
const noDataSlots = {};
|
|
42
|
+
if (vue3Util.hasEmptyPanelRenderer(c)) {
|
|
43
|
+
Object.assign(noDataSlots, {
|
|
44
|
+
customRender: () => vue.createVNode(vue3Util.IBizCustomRender, {
|
|
45
|
+
"controller": c
|
|
46
|
+
}, null)
|
|
47
|
+
});
|
|
48
|
+
}
|
|
38
49
|
return isLoaded && vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
39
50
|
"text": c.model.emptyText,
|
|
40
51
|
"emptyTextLanguageRes": c.model.emptyTextLanguageRes
|
|
41
|
-
},
|
|
52
|
+
}, _isSlot(noDataSlots) ? noDataSlots : {
|
|
53
|
+
default: () => [noDataSlots]
|
|
54
|
+
});
|
|
42
55
|
};
|
|
43
56
|
const renderColumns = vue.computed(() => {
|
|
44
57
|
const columns = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.ibiz-control-wizardpanel{--ibiz-control-wizard-panel-header-height:60px;--ibiz-control-wizard-panel-footer-height:40px;height:100%}.ibiz-control-wizardpanel__form{height:calc(100% - var(--ibiz-control-wizard-panel-footer-height));overflow:auto}.ibiz-control-wizardpanel.is-header .ibiz-control-wizardpanel__form{height:calc(100% - var(--ibiz-control-wizard-panel-footer-height) - var(--ibiz-control-wizard-panel-header-height))}.ibiz-control-wizardpanel-header{height:var(--ibiz-control-wizard-panel-header-height)}.ibiz-control-wizardpanel-footer{display:flex;align-items:center;justify-content:flex-end;height:var(--ibiz-control-wizard-panel-footer-height);padding-right:var(--ibiz-padding)}
|
|
1
|
+
@charset "UTF-8";.ibiz-control-wizardpanel{--ibiz-control-wizard-panel-header-height:60px;--ibiz-control-wizard-panel-footer-height:40px;height:100%}.ibiz-control-wizardpanel__form.ibiz-control-form{height:calc(100% - var(--ibiz-control-wizard-panel-footer-height));overflow:auto}.ibiz-control-wizardpanel.is-header .ibiz-control-wizardpanel__form{height:calc(100% - var(--ibiz-control-wizard-panel-footer-height) - var(--ibiz-control-wizard-panel-header-height))}.ibiz-control-wizardpanel-header{height:var(--ibiz-control-wizard-panel-header-height)}.ibiz-control-wizardpanel-footer{display:flex;align-items:center;justify-content:flex-end;height:var(--ibiz-control-wizard-panel-footer-height);padding-right:var(--ibiz-padding)}
|
|
@@ -46,6 +46,16 @@ class AutoCompleteEditorController extends runtime.EditorController {
|
|
|
46
46
|
* @type {IAcItemProvider}
|
|
47
47
|
*/
|
|
48
48
|
__publicField(this, "acItemProvider");
|
|
49
|
+
/**
|
|
50
|
+
* 分组行为状态
|
|
51
|
+
*/
|
|
52
|
+
__publicField(this, "groupActionState", new runtime.ButtonContainerState());
|
|
53
|
+
/**
|
|
54
|
+
* @description 自填模式行为行为组
|
|
55
|
+
* @type {IAppDEUIActionGroupDetail[]}
|
|
56
|
+
* @memberof AutoCompleteEditorController
|
|
57
|
+
*/
|
|
58
|
+
__publicField(this, "actionDetails", []);
|
|
49
59
|
}
|
|
50
60
|
async onInit() {
|
|
51
61
|
super.onInit();
|
|
@@ -86,6 +96,37 @@ class AutoCompleteEditorController extends runtime.EditorController {
|
|
|
86
96
|
}
|
|
87
97
|
}
|
|
88
98
|
}
|
|
99
|
+
if (this.model.uiactionGroup) {
|
|
100
|
+
this.actionDetails = this.model.uiactionGroup.uiactionGroupDetails || [];
|
|
101
|
+
if (this.actionDetails.length > 0) {
|
|
102
|
+
this.actionDetails.forEach((detail) => {
|
|
103
|
+
const actionid = detail.uiactionId;
|
|
104
|
+
if (actionid) {
|
|
105
|
+
const buttonState = new runtime.UIActionButtonState(
|
|
106
|
+
detail.id,
|
|
107
|
+
this.context.srfappid,
|
|
108
|
+
actionid
|
|
109
|
+
);
|
|
110
|
+
this.groupActionState.addState(detail.id, buttonState);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
await this.groupActionState.init();
|
|
114
|
+
this.actionDetails.forEach((detail) => {
|
|
115
|
+
if (detail.capLanguageRes && detail.capLanguageRes.lanResTag) {
|
|
116
|
+
detail.caption = ibiz.i18n.t(
|
|
117
|
+
detail.capLanguageRes.lanResTag,
|
|
118
|
+
detail.caption
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
if (detail.tooltipLanguageRes && detail.tooltipLanguageRes.lanResTag) {
|
|
122
|
+
detail.tooltip = ibiz.i18n.t(
|
|
123
|
+
detail.tooltipLanguageRes.lanResTag,
|
|
124
|
+
detail.tooltip
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}
|
|
89
130
|
}
|
|
90
131
|
/**
|
|
91
132
|
* 加载实体数据集数据
|
|
@@ -93,7 +134,7 @@ class AutoCompleteEditorController extends runtime.EditorController {
|
|
|
93
134
|
* @param {string} query 模糊匹配字符串
|
|
94
135
|
* @param {IData} data 表单数据
|
|
95
136
|
* @returns {*} {Promise<IHttpResponse<IData[]>>}
|
|
96
|
-
* @memberof
|
|
137
|
+
* @memberof AutoCompleteEditorController
|
|
97
138
|
*/
|
|
98
139
|
async getServiceData(query, data) {
|
|
99
140
|
const { context, params } = this.handlePublicParams(
|
|
@@ -152,6 +193,30 @@ class AutoCompleteEditorController extends runtime.EditorController {
|
|
|
152
193
|
}
|
|
153
194
|
return [];
|
|
154
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @description 分组行为项点击
|
|
198
|
+
* @param {IUIActionGroupDetail} detail
|
|
199
|
+
* @param {MouseEvent} event
|
|
200
|
+
* @return {*} {Promise<void>}
|
|
201
|
+
* @memberof AutoCompleteEditorController
|
|
202
|
+
*/
|
|
203
|
+
async onActionClick(detail, data, event) {
|
|
204
|
+
if (event) {
|
|
205
|
+
event.stopPropagation();
|
|
206
|
+
}
|
|
207
|
+
const actionId = detail.uiactionId;
|
|
208
|
+
await runtime.UIActionUtil.execAndResolved(
|
|
209
|
+
actionId,
|
|
210
|
+
{
|
|
211
|
+
context: this.context,
|
|
212
|
+
params: this.params,
|
|
213
|
+
data: [data],
|
|
214
|
+
view: this.view,
|
|
215
|
+
event
|
|
216
|
+
},
|
|
217
|
+
detail.appId
|
|
218
|
+
);
|
|
219
|
+
}
|
|
155
220
|
}
|
|
156
221
|
|
|
157
222
|
exports.AutoCompleteEditorController = AutoCompleteEditorController;
|