@ibiz-template/vue3-components 0.5.7-alpha.1 → 0.5.7-alpha.10
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-anJxfRF1.js +1 -0
- package/dist/index-8pQf0lTW.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-R2mUYWuB.js +1 -0
- package/dist/{xlsx-util-6wbyBRUE.js → xlsx-util-aDtEp2Iw.js} +1 -1
- package/es/common/data-import2/data-import2.mjs +7 -1
- package/es/common/doing-notice/doing-notice.css +1 -0
- package/es/{panel-component/user-message/internal-message/internal-message-default/internal-message-default.d.ts → common/doing-notice/doing-notice.d.ts} +10 -8
- package/es/common/doing-notice/doing-notice.mjs +38 -0
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.mjs +23 -4
- package/es/common/index.d.ts +1 -0
- package/es/common/index.mjs +3 -1
- package/es/common/view-message/view-message.css +1 -0
- package/es/common/view-message/view-message.d.ts +1 -0
- package/es/common/view-message/view-message.mjs +2 -0
- package/es/control/calendar/calendar.mjs +1 -1
- package/es/control/context-menu/context-menu.css +1 -1
- package/es/control/context-menu/context-menu.mjs +8 -2
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +236 -0
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -0
- package/es/control/data-view/data-view.mjs +3 -2
- package/es/control/drbar/drbar.controller.d.ts +8 -1
- package/es/control/drbar/drbar.controller.mjs +17 -6
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +2 -1
- package/es/control/form/form-detail/form-item/form-item.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +2124 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.d.ts +1 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +11 -4
- package/es/control/form/form-detail/form-rawitem/index.d.ts +1 -0
- package/es/control/grid/grid/grid-control.util.mjs +4 -0
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +1 -4
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.d.ts +5 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.mjs +3 -1
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +45 -14
- package/es/control/search-bar/filter-tree/filter-tree.mjs +55 -22
- package/es/control/search-bar/search-bar.mjs +9 -3
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +32 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.mjs +4 -3
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
- package/es/editor/array/ibiz-array/ibiz-array.mjs +10 -3
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -0
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +2 -0
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +10 -2
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -0
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +10 -3
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -0
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +10 -3
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +6 -1
- 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.mjs +46 -38
- 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 +1 -0
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +10 -3
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +3 -5
- package/es/editor/html/html-editor.controller.d.ts +0 -26
- package/es/editor/html/html-editor.controller.mjs +1 -64
- package/es/editor/html/wang-editor/wang-editor.css +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -0
- package/es/editor/html/wang-editor/wang-editor.mjs +5 -3
- package/es/editor/index.mjs +8 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.css +1 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.mjs +10 -3
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +5 -17
- package/es/editor/markdown/markdown-editor.controller.d.ts +0 -26
- package/es/editor/markdown/markdown-editor.controller.mjs +2 -64
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -0
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +9 -2
- package/es/editor/rate/ibiz-rate/ibiz-rate.css +1 -0
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +2 -0
- package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +11 -3
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -0
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +10 -3
- package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -0
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +10 -3
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/span/span/span.d.ts +3 -0
- package/es/editor/span/span/span.mjs +10 -3
- package/es/editor/span/span-link/span-link.css +1 -1
- package/es/editor/span/span-link/span-link.d.ts +1 -0
- package/es/editor/span/span-link/span-link.mjs +10 -3
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -0
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +2 -0
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +11 -3
- package/es/editor/switch/ibiz-switch/ibiz-switch.css +1 -0
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +2 -0
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +11 -3
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.css +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -0
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.mjs +10 -3
- 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 +2 -2
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.mjs +4 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -0
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +9 -2
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.css +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -0
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.mjs +10 -3
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -0
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +9 -2
- package/es/editor/upload/upload-editor.controller.d.ts +0 -26
- package/es/editor/upload/upload-editor.controller.mjs +2 -64
- package/es/editor/upload/use/use-ibiz-upload.mjs +6 -1
- package/es/editor/upload/use/use-iview-upload.mjs +7 -2
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.controller.d.ts +46 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.controller.mjs +93 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.css +1 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +81 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +187 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.provider.d.ts +17 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.provider.mjs +22 -0
- package/es/editor/user/ibiz-searchcond-edit/index.d.ts +3 -0
- package/es/editor/user/ibiz-searchcond-edit/index.mjs +5 -0
- package/es/editor/user/index.d.ts +1 -0
- package/es/editor/user/index.mjs +6 -0
- package/es/index.d.ts +0 -1
- package/es/index.mjs +2 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/index.mjs +2 -0
- package/es/panel-component/panel-app-login-view/index.d.ts +1 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
- package/es/panel-component/panel-app-login-view/panel-app-login-view.d.ts +1 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +18 -1
- package/es/panel-component/panel-button/index.d.ts +3 -0
- package/es/panel-component/panel-button/panel-button.d.ts +3 -0
- package/es/panel-component/panel-button/panel-button.mjs +15 -4
- package/es/panel-component/user-message/async-action/async-action/async-action.d.ts +18 -4
- package/es/panel-component/user-message/async-action/async-action/async-action.mjs +34 -15
- package/es/panel-component/user-message/async-action/async-action/async-action.provider.d.ts +35 -2
- package/es/panel-component/user-message/async-action/async-action/async-action.provider.mjs +9 -2
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.d.ts +11 -51
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +22 -44
- package/es/panel-component/user-message/index.d.ts +1 -0
- package/es/panel-component/user-message/index.mjs +3 -9
- package/es/panel-component/user-message/internal-message/common/index.d.ts +3 -0
- package/es/panel-component/user-message/internal-message/common/index.mjs +5 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.css +1 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.d.ts +104 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +99 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.css +1 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.d.ts +29 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.mjs +81 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.provider.d.ts +19 -0
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.provider.mjs +66 -0
- package/es/panel-component/user-message/internal-message/index.d.ts +2 -2
- package/es/panel-component/user-message/internal-message/index.mjs +28 -2
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.css +1 -0
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.d.ts +29 -0
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +42 -0
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.d.ts +30 -0
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.mjs +30 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.css +1 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +40 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +90 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +41 -0
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.mjs +30 -0
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.d.ts +12 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +23 -37
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.d.ts +1 -0
- package/es/panel-component/user-message/user-message.mjs +16 -3
- package/es/panel-component/view-message/index.d.ts +24 -0
- package/es/panel-component/view-message/index.mjs +15 -0
- package/es/panel-component/view-message/view-message.d.ts +26 -0
- package/es/panel-component/view-message/view-message.mjs +46 -0
- package/es/panel-component/view-message/view-message.provider.d.ts +15 -0
- package/{lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.cjs → es/panel-component/view-message/view-message.provider.mjs} +8 -6
- package/es/util/app-drawer/app-drawer-component.mjs +17 -18
- package/es/util/app-modal/app-modal-component.mjs +23 -17
- package/es/util/app-popover/app-popover-component.d.ts +4 -2
- package/es/util/app-popover/app-popover-component.mjs +31 -4
- package/es/util/index.d.ts +1 -0
- package/es/util/index.mjs +1 -0
- package/es/util/notice-util/notice-util.d.ts +13 -0
- package/es/util/notice-util/notice-util.mjs +62 -0
- package/es/util/notification-util/notification-util.mjs +1 -0
- package/es/util/open-view-util/open-view-util.d.ts +10 -9
- package/es/util/open-view-util/open-view-util.mjs +22 -10
- package/es/util/overlay-controller/overlay-controller.d.ts +3 -2
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/404-view/404-view.d.ts +1 -1
- package/es/view/404-view/404-view.mjs +6 -5
- package/es/view-engine/edit-view.engine.d.ts +14 -0
- package/es/view-engine/edit-view.engine.mjs +90 -0
- package/es/view-engine/report-view.engine.d.ts +19 -0
- package/es/view-engine/report-view.engine.mjs +37 -10
- package/es/view-engine/tab-exp-view.engine.mjs +3 -3
- package/lib/common/data-import2/data-import2.cjs +7 -1
- package/lib/common/doing-notice/doing-notice.cjs +40 -0
- package/lib/common/doing-notice/doing-notice.css +1 -0
- package/lib/common/grid-setting/grid-setting.cjs +23 -4
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/common/index.cjs +3 -0
- package/lib/common/view-message/view-message.cjs +2 -0
- package/lib/common/view-message/view-message.css +1 -0
- package/lib/control/calendar/calendar.cjs +1 -1
- package/lib/control/context-menu/context-menu.cjs +8 -2
- package/lib/control/context-menu/context-menu.css +1 -1
- package/lib/control/data-view/data-view.cjs +3 -2
- package/lib/control/drbar/drbar.controller.cjs +17 -6
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +10 -3
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +4 -0
- package/lib/control/grid/grid/grid.cjs +1 -4
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/lib/control/search-bar/filter-mode-select/filter-mode-select.cjs +3 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +54 -21
- package/lib/control/search-bar/search-bar.cjs +9 -3
- package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +31 -0
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.cjs +4 -3
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +9 -2
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.cjs +10 -2
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -0
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +9 -2
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +9 -2
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +6 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +45 -37
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.cjs +9 -2
- 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.css +1 -1
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +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 +3 -5
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/html/html-editor.controller.cjs +0 -63
- package/lib/editor/html/wang-editor/wang-editor.cjs +7 -5
- package/lib/editor/html/wang-editor/wang-editor.css +1 -1
- package/lib/editor/index.cjs +8 -0
- package/lib/editor/list-box/ibiz-list-box/ibiz-list-box.cjs +9 -2
- package/lib/editor/list-box/ibiz-list-box/ibiz-list-box.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +5 -17
- package/lib/editor/markdown/markdown-editor.controller.cjs +0 -62
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +9 -2
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/rate/ibiz-rate/ibiz-rate.cjs +10 -2
- package/lib/editor/rate/ibiz-rate/ibiz-rate.css +1 -0
- package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +9 -2
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +9 -2
- package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/lib/editor/span/span/span.cjs +9 -2
- package/lib/editor/span/span/span.css +1 -1
- package/lib/editor/span/span-link/span-link.cjs +9 -2
- package/lib/editor/span/span-link/span-link.css +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +10 -2
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -0
- package/lib/editor/switch/ibiz-switch/ibiz-switch.cjs +10 -2
- package/lib/editor/switch/ibiz-switch/ibiz-switch.css +1 -0
- package/lib/editor/text-box/ibiz-input-ip/ibiz-input-ip.cjs +9 -2
- package/lib/editor/text-box/ibiz-input-ip/ibiz-input-ip.css +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +2 -2
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +4 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +9 -2
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/lib/editor/upload/ibiz-image-preview/ibiz-image-preview.cjs +9 -2
- package/lib/editor/upload/ibiz-image-preview/ibiz-image-preview.css +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +9 -2
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/editor/upload/upload-editor.controller.cjs +0 -62
- package/lib/editor/upload/use/use-ibiz-upload.cjs +6 -1
- package/lib/editor/upload/use/use-iview-upload.cjs +7 -2
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +189 -0
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.controller.cjs +95 -0
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.css +1 -0
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.provider.cjs +24 -0
- package/lib/editor/user/ibiz-searchcond-edit/index.cjs +11 -0
- package/lib/editor/user/index.cjs +12 -0
- package/lib/index.cjs +185 -183
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/index.cjs +2 -0
- package/lib/panel-component/panel-app-login-view/panel-app-login-view.cjs +18 -1
- package/lib/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
- package/lib/panel-component/panel-button/panel-button.cjs +14 -3
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +2 -2
- package/lib/panel-component/user-message/async-action/async-action/async-action.cjs +34 -15
- package/lib/panel-component/user-message/async-action/async-action/async-action.provider.cjs +9 -2
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.cjs +20 -42
- package/lib/panel-component/user-message/index.cjs +2 -8
- package/lib/panel-component/user-message/internal-message/common/index.cjs +11 -0
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +101 -0
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.css +1 -0
- package/lib/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.cjs +83 -0
- package/lib/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.css +1 -0
- package/lib/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.provider.cjs +68 -0
- package/lib/panel-component/user-message/internal-message/index.cjs +27 -4
- package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.cjs +44 -0
- package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.css +1 -0
- package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.cjs +32 -0
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.cjs +92 -0
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.css +1 -0
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.cjs +32 -0
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.cjs +22 -36
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -1
- package/lib/panel-component/user-message/user-message.cjs +14 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/panel-component/view-message/index.cjs +20 -0
- package/lib/panel-component/view-message/view-message.cjs +48 -0
- package/{es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.mjs → lib/panel-component/view-message/view-message.provider.cjs} +11 -5
- package/lib/util/app-drawer/app-drawer-component.cjs +16 -17
- package/lib/util/app-modal/app-modal-component.cjs +22 -16
- package/lib/util/app-popover/app-popover-component.cjs +30 -3
- package/lib/util/confirm-util/confirm-util.cjs +5 -5
- package/lib/util/index.cjs +2 -0
- package/lib/util/loading-util/loading-util.cjs +2 -2
- package/lib/util/message-util/message-util.cjs +5 -5
- package/lib/util/modal-util/modal-util.cjs +6 -6
- package/lib/util/notice-util/notice-util.cjs +64 -0
- package/lib/util/notification-util/notification-util.cjs +3 -2
- package/lib/util/open-view-util/open-view-util.cjs +22 -10
- package/lib/view/404-view/404-view.cjs +6 -5
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view-engine/edit-view.engine.cjs +90 -0
- package/lib/view-engine/report-view.engine.cjs +36 -9
- package/lib/view-engine/tab-exp-view.engine.cjs +2 -2
- package/package.json +6 -6
- package/dist/ibiz-markdown-editor-RaswfMqH.js +0 -1
- package/dist/index-I2x-n5Oy.js +0 -2
- package/dist/wang-editor-5l8qks2j.js +0 -1
- package/es/devtool/devtool-action.css +0 -1
- package/es/devtool/devtool-action.d.ts +0 -26
- package/es/devtool/devtool-action.mjs +0 -219
- package/es/devtool/index.d.ts +0 -50
- package/es/devtool/index.mjs +0 -81
- package/es/devtool/interface/devtool-event.d.ts +0 -12
- package/es/devtool/interface/devtool-event.mjs +0 -1
- package/es/devtool/interface/devtool-view.d.ts +0 -15
- package/es/devtool/interface/devtool-view.mjs +0 -1
- package/es/node_modules/.pnpm/element-plus@2.4.2_vue@3.3.8/node_modules/element-plus/dist/locale/zh-cn.mjs +0 -131
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.css +0 -1
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.mjs +0 -82
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.d.ts +0 -6
- package/lib/devtool/devtool-action.cjs +0 -221
- package/lib/devtool/devtool-action.css +0 -1
- package/lib/devtool/index.cjs +0 -84
- package/lib/devtool/interface/devtool-event.cjs +0 -3
- package/lib/devtool/interface/devtool-view.cjs +0 -3
- package/lib/node_modules/.pnpm/element-plus@2.4.2_vue@3.3.8/node_modules/element-plus/dist/locale/zh-cn.cjs +0 -135
- package/lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.cjs +0 -84
- package/lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.css +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
4
|
+
export declare const ViewMessage: import("vue").DefineComponent<{
|
|
5
|
+
modelData: {
|
|
6
|
+
type: PropType<IPanelRawItem>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
controller: {
|
|
10
|
+
type: typeof PanelItemController;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
+
c: PanelItemController<import("@ibiz/model-core").IPanelItem>;
|
|
16
|
+
view: import("@ibiz-template/runtime").IViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
modelData: {
|
|
19
|
+
type: PropType<IPanelRawItem>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
controller: {
|
|
23
|
+
type: typeof PanelItemController;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useNamespace, useCtx } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
const ViewMessage = /* @__PURE__ */ defineComponent({
|
|
7
|
+
name: "IBizViewMessage",
|
|
8
|
+
props: {
|
|
9
|
+
modelData: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
controller: {
|
|
14
|
+
type: PanelItemController,
|
|
15
|
+
required: true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(props) {
|
|
19
|
+
const ns = useNamespace("view-message");
|
|
20
|
+
const c = props.controller;
|
|
21
|
+
const ctx = useCtx();
|
|
22
|
+
const {
|
|
23
|
+
view
|
|
24
|
+
} = ctx;
|
|
25
|
+
return {
|
|
26
|
+
ns,
|
|
27
|
+
c,
|
|
28
|
+
view
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
render() {
|
|
32
|
+
const c = this.view;
|
|
33
|
+
if (c.state.isCreated) {
|
|
34
|
+
const viewMessages = c.state.viewMessages.BODY;
|
|
35
|
+
if (viewMessages == null ? void 0 : viewMessages.length) {
|
|
36
|
+
return createVNode(resolveComponent("view-message"), {
|
|
37
|
+
"class": [this.ns.e("body-message")],
|
|
38
|
+
"messages": viewMessages
|
|
39
|
+
}, null);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export { ViewMessage };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
/**
|
|
4
|
+
* 预置视图消息适配器
|
|
5
|
+
*
|
|
6
|
+
* @author zk
|
|
7
|
+
* @date 2024-01-25 02:01:01
|
|
8
|
+
* @export
|
|
9
|
+
* @class ViewMessageProvider
|
|
10
|
+
* @implements {IPanelItemProvider}
|
|
11
|
+
*/
|
|
12
|
+
export declare class ViewMessageProvider implements IPanelItemProvider {
|
|
13
|
+
component: string;
|
|
14
|
+
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -7,13 +7,15 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
8
|
return value;
|
|
9
9
|
};
|
|
10
|
-
class
|
|
10
|
+
class ViewMessageProvider {
|
|
11
11
|
constructor() {
|
|
12
|
-
__publicField(this, "component", "
|
|
12
|
+
__publicField(this, "component", "IBizViewMessage");
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
async createController(panelItem, panel, parent) {
|
|
15
|
+
const c = new PanelItemController(panelItem, panel, parent);
|
|
16
|
+
await c.init();
|
|
17
|
+
return c;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
export { ViewMessageProvider };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ref, resolveComponent,
|
|
1
|
+
import { ref, resolveComponent, h, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace, useUIStore, OverlayContainer } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
4
4
|
import { isNumber } from 'lodash-es';
|
|
5
5
|
import './app-drawer-component.css';
|
|
6
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const AppDrawerComponent = /* @__PURE__ */ defineComponent({
|
|
@@ -28,14 +29,14 @@ const AppDrawerComponent = /* @__PURE__ */ defineComponent({
|
|
|
28
29
|
} = props.opts;
|
|
29
30
|
if (placement === "top" || placement === "bottom") {
|
|
30
31
|
if (isNumber(height)) {
|
|
31
|
-
size.value = height;
|
|
32
|
+
size.value = calcOpenModeStyle(height, "drawer");
|
|
32
33
|
} else {
|
|
33
34
|
size.value = "100%";
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
if (placement === "left" || placement === "right") {
|
|
37
38
|
if (isNumber(width)) {
|
|
38
|
-
size.value = width;
|
|
39
|
+
size.value = calcOpenModeStyle(width, "drawer");
|
|
39
40
|
} else {
|
|
40
41
|
size.value = 800;
|
|
41
42
|
}
|
|
@@ -92,21 +93,19 @@ const AppDrawerComponent = /* @__PURE__ */ defineComponent({
|
|
|
92
93
|
};
|
|
93
94
|
},
|
|
94
95
|
render() {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
});
|
|
96
|
+
var _a, _b;
|
|
97
|
+
const option = this.opts || {};
|
|
98
|
+
return h(resolveComponent("el-drawer"), {
|
|
99
|
+
modelValue: this.isShow,
|
|
100
|
+
lockScroll: true,
|
|
101
|
+
size: this.size,
|
|
102
|
+
class: this.ns.b(),
|
|
103
|
+
zIndex: this.drawerZIndex,
|
|
104
|
+
direction: this.direction,
|
|
105
|
+
beforeClose: this.onBeforeClose,
|
|
106
|
+
onClosed: this.onClosed,
|
|
107
|
+
...option
|
|
108
|
+
}, (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal));
|
|
110
109
|
}
|
|
111
110
|
});
|
|
112
111
|
function createDrawer(render, opts) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ref, reactive, resolveComponent,
|
|
1
|
+
import { ref, reactive, resolveComponent, h, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace, useUIStore, OverlayContainer } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { isNumber } from 'lodash-es';
|
|
4
4
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
5
5
|
import './app-modal-component.css';
|
|
6
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
@@ -26,10 +27,18 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
height
|
|
27
28
|
} = props.opts;
|
|
28
29
|
if (width) {
|
|
29
|
-
|
|
30
|
+
if (isNumber(width)) {
|
|
31
|
+
customStyle.width = calcOpenModeStyle(width, "modal");
|
|
32
|
+
} else {
|
|
33
|
+
customStyle.width = width;
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
if (height) {
|
|
32
|
-
|
|
37
|
+
if (isNumber(height)) {
|
|
38
|
+
customStyle.height = calcOpenModeStyle(height, "modal");
|
|
39
|
+
} else {
|
|
40
|
+
customStyle.height = height;
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
const options = ref({
|
|
35
44
|
footerHide: true,
|
|
@@ -76,20 +85,17 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
|
76
85
|
};
|
|
77
86
|
},
|
|
78
87
|
render() {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal)];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
88
|
+
var _a, _b;
|
|
89
|
+
return h(resolveComponent("el-dialog"), {
|
|
90
|
+
modelValue: this.isShow,
|
|
91
|
+
alignCenter: true,
|
|
92
|
+
class: [this.ns.b(), this.options.placement && this.ns.m(this.options.placement), this.options.modalClass],
|
|
93
|
+
style: this.customStyle,
|
|
94
|
+
zIndex: this.modalZIndex,
|
|
95
|
+
onClosed: this.onClosed,
|
|
96
|
+
onBeforeClose: this.onBeforeClose,
|
|
97
|
+
...this.options
|
|
98
|
+
}, (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal));
|
|
93
99
|
}
|
|
94
100
|
});
|
|
95
101
|
function createModal(render, opts) {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { ComputePositionConfig } from '@floating-ui/dom';
|
|
1
2
|
import { IPopoverOptions } from '@ibiz-template/runtime';
|
|
2
3
|
import { OverlayPopoverContainer } from '@ibiz-template/vue3-util';
|
|
3
4
|
import { VNode } from 'vue';
|
|
4
5
|
import './app-popover-component.scss';
|
|
6
|
+
export type FloatingUIConfig = Partial<ComputePositionConfig>;
|
|
5
7
|
/**
|
|
6
8
|
* 创建飘窗
|
|
7
9
|
*
|
|
@@ -9,7 +11,7 @@ import './app-popover-component.scss';
|
|
|
9
11
|
* @date 2022-12-29 15:12:59
|
|
10
12
|
* @export
|
|
11
13
|
* @param {() => VNode} render
|
|
12
|
-
* @param {IPopoverOptions} [opts]
|
|
14
|
+
* @param {IPopoverOptions<FloatingUIConfig>} [opts]
|
|
13
15
|
* @return {*} {OverlayPopoverContainer}
|
|
14
16
|
*/
|
|
15
|
-
export declare function createPopover(render: () => VNode, opts?: IPopoverOptions): OverlayPopoverContainer;
|
|
17
|
+
export declare function createPopover(render: () => VNode, opts?: IPopoverOptions<FloatingUIConfig>): OverlayPopoverContainer;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ref, onUnmounted, createVNode, defineComponent } from 'vue';
|
|
1
|
+
import { ref, reactive, onUnmounted, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { offset, flip, shift, arrow, computePosition, autoUpdate } from '@floating-ui/dom';
|
|
3
3
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
4
4
|
import { useNamespace, useUIStore, OverlayPopoverContainer } from '@ibiz-template/vue3-util';
|
|
5
5
|
import './app-popover-component.css';
|
|
6
|
+
import { isNumber } from 'lodash-es';
|
|
7
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
8
|
|
|
7
9
|
"use strict";
|
|
8
10
|
async function computePos(element, el, arrEl, opts) {
|
|
@@ -12,11 +14,15 @@ async function computePos(element, el, arrEl, opts) {
|
|
|
12
14
|
element: arrEl
|
|
13
15
|
}));
|
|
14
16
|
}
|
|
15
|
-
const
|
|
17
|
+
const config = {
|
|
16
18
|
placement: opts.placement,
|
|
17
19
|
strategy: "absolute",
|
|
18
20
|
middleware: middlewareArr
|
|
19
|
-
}
|
|
21
|
+
};
|
|
22
|
+
if (opts.options) {
|
|
23
|
+
Object.assign(config, opts.options);
|
|
24
|
+
}
|
|
25
|
+
const options = await computePosition(element, el, config);
|
|
20
26
|
{
|
|
21
27
|
const {
|
|
22
28
|
x,
|
|
@@ -66,6 +72,25 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
66
72
|
zIndex
|
|
67
73
|
} = useUIStore();
|
|
68
74
|
const popoverZIndex = zIndex.increment();
|
|
75
|
+
const customStyle = reactive({});
|
|
76
|
+
const {
|
|
77
|
+
width,
|
|
78
|
+
height
|
|
79
|
+
} = props.opts;
|
|
80
|
+
if (width) {
|
|
81
|
+
if (isNumber(width)) {
|
|
82
|
+
customStyle.width = calcOpenModeStyle(width, "popover");
|
|
83
|
+
} else {
|
|
84
|
+
customStyle.width = width;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (height) {
|
|
88
|
+
if (isNumber(height)) {
|
|
89
|
+
customStyle.height = calcOpenModeStyle(height, "popover");
|
|
90
|
+
} else {
|
|
91
|
+
customStyle.height = height;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
69
94
|
const modal = new Modal({
|
|
70
95
|
mode: ViewMode.POPOVER,
|
|
71
96
|
viewUsage: 2,
|
|
@@ -103,7 +128,8 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
103
128
|
popoverZIndex,
|
|
104
129
|
onMaskClick,
|
|
105
130
|
present,
|
|
106
|
-
dismiss
|
|
131
|
+
dismiss,
|
|
132
|
+
customStyle
|
|
107
133
|
};
|
|
108
134
|
},
|
|
109
135
|
render() {
|
|
@@ -111,6 +137,7 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
111
137
|
const content = createVNode("div", {
|
|
112
138
|
"class": [this.ns.b(), this.ns.is("show", this.isShow)],
|
|
113
139
|
"ref": "el",
|
|
140
|
+
"style": this.customStyle,
|
|
114
141
|
"onClick": (e) => {
|
|
115
142
|
e.stopPropagation();
|
|
116
143
|
}
|
package/es/util/index.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export { NotificationUtil } from './notification-util/notification-util';
|
|
|
6
6
|
export { OpenViewUtil } from './open-view-util/open-view-util';
|
|
7
7
|
export { OverlayController } from './overlay-controller/overlay-controller';
|
|
8
8
|
export { usePagination } from './pagination/use-pagination';
|
|
9
|
+
export { NoticeUtil } from './notice-util/notice-util';
|
package/es/util/index.mjs
CHANGED
|
@@ -6,5 +6,6 @@ export { NotificationUtil } from './notification-util/notification-util.mjs';
|
|
|
6
6
|
export { OpenViewUtil } from './open-view-util/open-view-util.mjs';
|
|
7
7
|
export { OverlayController } from './overlay-controller/overlay-controller.mjs';
|
|
8
8
|
export { usePagination } from './pagination/use-pagination.mjs';
|
|
9
|
+
export { NoticeUtil } from './notice-util/notice-util.mjs';
|
|
9
10
|
|
|
10
11
|
"use strict";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPortalAsyncAction } from '@ibiz-template/core';
|
|
2
|
+
import { INoticeUtil } from '@ibiz-template/runtime';
|
|
3
|
+
export declare class NoticeUtil implements INoticeUtil {
|
|
4
|
+
doingNotice?: {
|
|
5
|
+
info: IData;
|
|
6
|
+
close: () => void;
|
|
7
|
+
};
|
|
8
|
+
showAsyncAction(asyncAction: IPortalAsyncAction): Promise<void>;
|
|
9
|
+
showDoingNotice(info: {
|
|
10
|
+
num: number;
|
|
11
|
+
}): void;
|
|
12
|
+
closeDoingNotice(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { getAsyncActionProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { ElNotification } from 'element-plus';
|
|
3
|
+
import { reactive, h } from 'vue';
|
|
4
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
5
|
+
import '../../common/index.mjs';
|
|
6
|
+
import { DoingNotice } from '../../common/doing-notice/doing-notice.mjs';
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __publicField = (obj, key, value) => {
|
|
12
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
|
+
return value;
|
|
14
|
+
};
|
|
15
|
+
class NoticeUtil {
|
|
16
|
+
constructor() {
|
|
17
|
+
__publicField(this, "doingNotice");
|
|
18
|
+
}
|
|
19
|
+
async showAsyncAction(asyncAction) {
|
|
20
|
+
const ns = useNamespace("async-action-notice");
|
|
21
|
+
const porvider = await getAsyncActionProvider(asyncAction);
|
|
22
|
+
if (porvider.render) {
|
|
23
|
+
const ins = ElNotification({
|
|
24
|
+
customClass: ns.b(),
|
|
25
|
+
message: porvider.render({
|
|
26
|
+
action: asyncAction,
|
|
27
|
+
onClose: () => {
|
|
28
|
+
ins.close();
|
|
29
|
+
}
|
|
30
|
+
}),
|
|
31
|
+
position: "bottom-right",
|
|
32
|
+
duration: 0
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
showDoingNotice(info) {
|
|
37
|
+
if (!this.doingNotice) {
|
|
38
|
+
const reactiveInfo = reactive(info);
|
|
39
|
+
const ins = ElNotification({
|
|
40
|
+
message: h(DoingNotice, {
|
|
41
|
+
info: reactiveInfo
|
|
42
|
+
}),
|
|
43
|
+
onClose: () => {
|
|
44
|
+
this.closeDoingNotice();
|
|
45
|
+
},
|
|
46
|
+
position: "bottom-right",
|
|
47
|
+
duration: 0
|
|
48
|
+
});
|
|
49
|
+
this.doingNotice = { info: reactiveInfo, close: () => ins.close() };
|
|
50
|
+
} else {
|
|
51
|
+
Object.assign(this.doingNotice.info, info);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
closeDoingNotice() {
|
|
55
|
+
if (this.doingNotice) {
|
|
56
|
+
this.doingNotice.close();
|
|
57
|
+
this.doingNotice = void 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { NoticeUtil };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IModalData, IOpenViewUtil } from '@ibiz-template/runtime';
|
|
1
|
+
import { IModalData, IOpenViewUtil, IPopoverOptions } from '@ibiz-template/runtime';
|
|
2
2
|
import { Router } from 'vue-router';
|
|
3
|
+
import { FloatingUIConfig } from '../app-popover/app-popover-component';
|
|
3
4
|
/**
|
|
4
5
|
* 打开视图方式工具类
|
|
5
6
|
*
|
|
@@ -22,22 +23,22 @@ export declare class OpenViewUtil implements IOpenViewUtil {
|
|
|
22
23
|
* @author lxm
|
|
23
24
|
* @date 2022-09-12 01:09:06
|
|
24
25
|
* @param {string} appViewId
|
|
25
|
-
* @param {(IContext
|
|
26
|
-
* @param {(IParams
|
|
26
|
+
* @param {(IContext)} [context]
|
|
27
|
+
* @param {(IParams)} [params]
|
|
27
28
|
* @returns {*} {Promise<IModalData>}
|
|
28
29
|
*/
|
|
29
|
-
modal(appViewId: string, context: IContext, params?: IParams
|
|
30
|
-
popover(appViewId: string, event: MouseEvent, context: IContext, params?: IParams
|
|
30
|
+
modal(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
31
|
+
popover(appViewId: string, event: MouseEvent, context: IContext, params?: IParams, options?: IPopoverOptions<FloatingUIConfig>): Promise<IModalData>;
|
|
31
32
|
/**
|
|
32
33
|
* 抽屉打开视图
|
|
33
34
|
*
|
|
34
35
|
* @author lxm
|
|
35
36
|
* @date 2022-09-15 15:09:50
|
|
36
37
|
* @param {string} appViewId
|
|
37
|
-
* @param {(IContext
|
|
38
|
-
* @param {(IParams
|
|
38
|
+
* @param {(IContext)} [context]
|
|
39
|
+
* @param {(IParams)} [params]
|
|
39
40
|
* @returns {*} {Promise<IModalData>}
|
|
40
41
|
*/
|
|
41
|
-
drawer(appViewId: string, context: IContext, params?: IParams
|
|
42
|
-
custom(appViewId: string, context: IContext, params?: IParams
|
|
42
|
+
drawer(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
43
|
+
custom(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
43
44
|
}
|
|
@@ -17,7 +17,8 @@ class OpenViewUtil {
|
|
|
17
17
|
context,
|
|
18
18
|
params
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
this.router.push({ path });
|
|
21
|
+
return { ok: true };
|
|
21
22
|
}
|
|
22
23
|
async rootByModal(appViewId, context, params) {
|
|
23
24
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
@@ -27,7 +28,8 @@ class OpenViewUtil {
|
|
|
27
28
|
context,
|
|
28
29
|
params
|
|
29
30
|
);
|
|
30
|
-
|
|
31
|
+
this.router.push({ path });
|
|
32
|
+
return { ok: true };
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* 模态打开视图
|
|
@@ -35,8 +37,8 @@ class OpenViewUtil {
|
|
|
35
37
|
* @author lxm
|
|
36
38
|
* @date 2022-09-12 01:09:06
|
|
37
39
|
* @param {string} appViewId
|
|
38
|
-
* @param {(IContext
|
|
39
|
-
* @param {(IParams
|
|
40
|
+
* @param {(IContext)} [context]
|
|
41
|
+
* @param {(IParams)} [params]
|
|
40
42
|
* @returns {*} {Promise<IModalData>}
|
|
41
43
|
*/
|
|
42
44
|
async modal(appViewId, context, params) {
|
|
@@ -44,7 +46,8 @@ class OpenViewUtil {
|
|
|
44
46
|
const opts = {
|
|
45
47
|
width: appView.width || "80%",
|
|
46
48
|
height: appView.height || "80%",
|
|
47
|
-
footerHide: true
|
|
49
|
+
footerHide: true,
|
|
50
|
+
...appView.modalOption
|
|
48
51
|
};
|
|
49
52
|
return openViewModal(
|
|
50
53
|
{
|
|
@@ -55,8 +58,16 @@ class OpenViewUtil {
|
|
|
55
58
|
opts
|
|
56
59
|
);
|
|
57
60
|
}
|
|
58
|
-
async popover(appViewId, event, context, params) {
|
|
61
|
+
async popover(appViewId, event, context, params, options = {}) {
|
|
59
62
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
63
|
+
const opts = {
|
|
64
|
+
width: appView.width,
|
|
65
|
+
height: appView.height,
|
|
66
|
+
autoClose: true,
|
|
67
|
+
placement: "bottom",
|
|
68
|
+
...options,
|
|
69
|
+
...appView.modalOption
|
|
70
|
+
};
|
|
60
71
|
return openViewPopover(
|
|
61
72
|
event,
|
|
62
73
|
{
|
|
@@ -64,7 +75,7 @@ class OpenViewUtil {
|
|
|
64
75
|
params,
|
|
65
76
|
viewId: appView.id
|
|
66
77
|
},
|
|
67
|
-
|
|
78
|
+
opts
|
|
68
79
|
);
|
|
69
80
|
}
|
|
70
81
|
/**
|
|
@@ -73,8 +84,8 @@ class OpenViewUtil {
|
|
|
73
84
|
* @author lxm
|
|
74
85
|
* @date 2022-09-15 15:09:50
|
|
75
86
|
* @param {string} appViewId
|
|
76
|
-
* @param {(IContext
|
|
77
|
-
* @param {(IParams
|
|
87
|
+
* @param {(IContext)} [context]
|
|
88
|
+
* @param {(IParams)} [params]
|
|
78
89
|
* @returns {*} {Promise<IModalData>}
|
|
79
90
|
*/
|
|
80
91
|
async drawer(appViewId, context, params) {
|
|
@@ -83,7 +94,8 @@ class OpenViewUtil {
|
|
|
83
94
|
const opts = {
|
|
84
95
|
width: appView.width,
|
|
85
96
|
height: appView.height,
|
|
86
|
-
placement
|
|
97
|
+
placement,
|
|
98
|
+
...appView.modalOption
|
|
87
99
|
};
|
|
88
100
|
return openViewDrawer(
|
|
89
101
|
{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IOverlayController, IDrawerOptions, IPopoverOptions, IModalOptions, IOverlayContainer, IOverlayPopoverContainer, IFloatWindowOptions } from '@ibiz-template/runtime';
|
|
2
|
+
import { FloatingUIConfig } from '../app-popover/app-popover-component';
|
|
2
3
|
/**
|
|
3
4
|
* 用不同呈现方式绘制组件的通用工具类
|
|
4
5
|
*
|
|
@@ -9,8 +10,8 @@ import { IOverlayController, IDrawerOptions, IPopoverOptions, IModalOptions, IOv
|
|
|
9
10
|
* @implements {IOverlayController}
|
|
10
11
|
*/
|
|
11
12
|
export declare class OverlayController implements IOverlayController {
|
|
12
|
-
popover<T = void>(element: HTMLElement, component: unknown, props?: IParams, opts?: IPopoverOptions): Promise<T>;
|
|
13
|
-
createPopover(component: unknown, props?: IParams, opts?: IPopoverOptions): IOverlayPopoverContainer;
|
|
13
|
+
popover<T = void>(element: HTMLElement, component: unknown, props?: IParams, opts?: IPopoverOptions<FloatingUIConfig>): Promise<T>;
|
|
14
|
+
createPopover(component: unknown, props?: IParams, opts?: IPopoverOptions<FloatingUIConfig>): IOverlayPopoverContainer;
|
|
14
15
|
drawer<T = void>(component: unknown, props?: IParams, opts?: IDrawerOptions): Promise<T>;
|
|
15
16
|
createDrawer(component: unknown, props?: IParams, opts?: IDrawerOptions): IOverlayContainer;
|
|
16
17
|
modal<T = void>(component: unknown, props?: IParams, opts?: IModalOptions): Promise<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-404-view{display:flex;align-items:center;justify-content:center;width:100%;height:100
|
|
1
|
+
.ibiz-404-view{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;width:100%;height:100%;font-size:16px}.ibiz-404-view .ibiz-404-view-text{margin-top:40px;display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.ibiz-404-view-text__text1{margin-bottom:20px}.ibiz-404-view-text__text2 a{color:#557da5;cursor:pointer}.ibiz-404-view.is-top{width:100vw;height:100vh}
|
|
@@ -2,5 +2,5 @@ import './404-view.scss';
|
|
|
2
2
|
export declare const View404: import("vue").DefineComponent<{}, {
|
|
3
3
|
ns: import("@ibiz-template/core").Namespace;
|
|
4
4
|
isTop: import("vue").ComputedRef<boolean>;
|
|
5
|
-
gotoIndexView: () => void
|
|
5
|
+
gotoIndexView: () => Promise<void>;
|
|
6
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -9,8 +9,9 @@ const View404 = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
const ns = useNamespace("404-view");
|
|
10
10
|
const router = useRouter();
|
|
11
11
|
const route = useRoute();
|
|
12
|
-
const gotoIndexView = () => {
|
|
13
|
-
router.push("/");
|
|
12
|
+
const gotoIndexView = async () => {
|
|
13
|
+
await router.push("/");
|
|
14
|
+
window.location.reload();
|
|
14
15
|
};
|
|
15
16
|
onMounted(() => ibiz.util.hiddenAppLoading());
|
|
16
17
|
const isTop = computed(() => {
|
|
@@ -34,9 +35,9 @@ const View404 = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
"class": this.ns.be("text", "text1")
|
|
35
36
|
}, [createTextVNode("\u62B1\u6B49\uFF0C\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\uFF01")]), this.isTop ? createVNode("div", {
|
|
36
37
|
"class": this.ns.be("text", "text2")
|
|
37
|
-
}, [createTextVNode("\u60A8\u8981\u627E\u7684\u9875\u9762\u4E0D\u5B58\u5728\uFF0C\u8BF7
|
|
38
|
-
"
|
|
39
|
-
}, [createTextVNode("\u9996\u9875")]), createTextVNode("\u7EE7\u7EED\u6D4F\u89C8")]) : null])]);
|
|
38
|
+
}, [createTextVNode("\u60A8\u8981\u627E\u7684\u9875\u9762\u4E0D\u5B58\u5728\uFF0C\u8BF7"), createVNode("a", {
|
|
39
|
+
"onClick": this.gotoIndexView
|
|
40
|
+
}, [createTextVNode("\u8FD4\u56DE\u9996\u9875")]), createTextVNode("\u7EE7\u7EED\u6D4F\u89C8")]) : null])]);
|
|
40
41
|
}
|
|
41
42
|
});
|
|
42
43
|
|
|
@@ -14,6 +14,13 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
14
14
|
*/
|
|
15
15
|
protected view: ViewController<IAppDEEditView, IEditViewState, IEditViewEvent>;
|
|
16
16
|
get form(): IEditFormController;
|
|
17
|
+
/**
|
|
18
|
+
* 实体名称
|
|
19
|
+
* @author lxm
|
|
20
|
+
* @date 2024-01-31 11:05:49
|
|
21
|
+
* @type {string}
|
|
22
|
+
*/
|
|
23
|
+
deName: string;
|
|
17
24
|
onCreated(): Promise<void>;
|
|
18
25
|
onMounted(): Promise<void>;
|
|
19
26
|
getData(): IData[];
|
|
@@ -55,4 +62,11 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
55
62
|
* @memberof MobEditViewEngine
|
|
56
63
|
*/
|
|
57
64
|
wfWithdraw(): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* 初始化标记打开数据相关逻辑
|
|
67
|
+
* @author lxm
|
|
68
|
+
* @date 2024-01-31 11:52:13
|
|
69
|
+
* @return {*} {void}
|
|
70
|
+
*/
|
|
71
|
+
initMarkOpenData(): void;
|
|
58
72
|
}
|