@ibiz-template/vue3-components 0.7.38-alpha.31 → 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-DbA3TyD9.js → xlsx-util-BApCDhEk.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.css +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/custom-filter-condition/custom-filter-condition.d.ts +3 -0
- package/es/common/custom-theme/custom-theme-model.mjs +168 -47
- package/es/common/custom-theme/custom-theme.controller.d.ts +87 -1
- package/es/common/custom-theme/custom-theme.controller.mjs +235 -5
- package/es/common/custom-theme/custom-theme.css +1 -1
- package/es/common/custom-theme/custom-theme.d.ts +5 -3
- package/es/common/custom-theme/custom-theme.mjs +190 -26
- package/es/common/data-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/common/nav-split/nav-split.mjs +0 -1
- package/es/common/no-data/no-data.css +1 -1
- package/es/common/no-data/no-data.d.ts +3 -3
- package/es/common/no-data/no-data.mjs +2 -2
- package/es/common/view-message/view-message.d.ts +5 -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.d.ts +24 -0
- package/es/control/calendar/calendar-util.mjs +21 -0
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +3 -1
- package/es/control/calendar/calendar.mjs +253 -35
- package/es/control/calendar/components/calendar-user/calendar-user.css +1 -0
- package/es/control/calendar/components/calendar-user/calendar-user.d.ts +15 -0
- package/es/control/calendar/components/calendar-user/calendar-user.mjs +133 -0
- package/es/control/calendar/components/calendar-user/index.d.ts +15 -0
- package/es/control/calendar/components/calendar-user/index.mjs +9 -0
- package/es/control/calendar/components/calendar-user/use-calendar-user.d.ts +17 -0
- package/es/control/calendar/components/calendar-user/use-calendar-user.mjs +59 -0
- package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +3 -2
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +11 -0
- package/es/control/calendar/components/interface/calendar-user.d.ts +10 -0
- package/es/control/calendar/components/interface/calendar-user.mjs +20 -0
- package/es/control/calendar/components/interface/index.d.ts +1 -0
- package/es/control/calendar/components/interface/index.mjs +1 -0
- package/es/control/calendar/index.d.ts +3 -1
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/chart/chart.css +1 -1
- package/es/control/chart/chart.d.ts +1 -0
- package/es/control/chart/chart.mjs +23 -6
- 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.d.ts +85 -0
- 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.d.ts +1 -0
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +41 -21
- package/es/control/dashboard/dashboard-design/dashboard-design.util.d.ts +10 -0
- package/es/control/dashboard/dashboard-design/dashboard-design.util.mjs +246 -0
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +0 -1
- package/es/control/data-view/data-view.mjs +23 -10
- 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/composite-form-item/composite-form-item.d.ts +35 -0
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +93 -0
- package/es/control/form/form-detail/form-item/form-item-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.css +1 -1
- 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 +52 -35
- package/es/control/form/form-detail/form-item/index.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +71 -0
- 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 +84 -4
- 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 +146 -12
- 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/grid-ua-column/grid-ua-column.css +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.css +1 -1
- package/es/control/list/list.d.ts +0 -1
- package/es/control/list/list.mjs +25 -13
- 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.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +15 -4
- package/es/control/toolbar/toolbar.mjs +55 -23
- package/es/control/tree/el-tree-util.mjs +7 -5
- package/es/control/tree/index.d.ts +4 -5
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +4 -5
- package/es/control/tree/tree.mjs +103 -30
- 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/control/wizard-panel/wizard-panel.mjs +3 -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 +90 -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 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +101 -0
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.mjs +154 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.css +1 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +56 -0
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.mjs +178 -0
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +8 -3
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +49 -4
- 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 -61
- 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 +98 -32
- 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 -65
- 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 +21 -6
- 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/data-picker/picker-editor.provider.mjs +0 -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/dropdown-list-editor.controller.d.ts +6 -0
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +13 -2
- package/es/editor/dropdown-list/dropdown-list-editor.provider.mjs +3 -0
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +2 -2
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +34 -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.css +1 -0
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +83 -0
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +382 -0
- package/es/editor/dropdown-list/index.d.ts +1 -0
- package/es/editor/dropdown-list/index.mjs +1 -0
- package/es/editor/html/wang-editor/wang-editor.d.ts +2 -2
- package/es/editor/html/wang-editor/wang-editor.mjs +3 -3
- package/es/editor/index.mjs +16 -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 +4 -2
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.mjs +18 -5
- 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 +103 -26
- package/es/locale/en/index.mjs +85 -32
- package/es/locale/zh-CN/index.d.ts +104 -26
- package/es/locale/zh-CN/index.mjs +85 -32
- package/es/panel-component/coop-pos/coop-pos.css +1 -1
- package/es/panel-component/index.mjs +2 -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-header/panel-app-header.css +1 -1
- 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-index-view-search/panel-index-view-search.css +1 -1
- package/es/panel-component/panel-view-content/panel-view-content.mjs +1 -0
- package/es/panel-component/user-action/user-action.css +1 -1
- package/es/panel-component/user-action/user-action.mjs +36 -21
- 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 +35 -21
- package/es/view/share-view/share-view.mjs +1 -6
- package/es/view-engine/custom-view.engine.d.ts +9 -0
- package/es/view-engine/custom-view.engine.mjs +17 -1
- package/es/view-engine/edit-view.engine.d.ts +7 -15
- package/es/view-engine/edit-view.engine.mjs +80 -166
- package/es/view-engine/grid-view.engine.mjs +1 -5
- package/es/view-engine/index-view.engine.d.ts +7 -0
- package/es/view-engine/index-view.engine.mjs +17 -1
- package/es/view-engine/index.mjs +5 -0
- package/es/view-engine/login-view.engine.mjs +15 -5
- package/es/view-engine/opt-view.engine.mjs +3 -1
- package/es/view-engine/portal-view-engine.d.ts +31 -3
- package/es/view-engine/portal-view-engine.mjs +94 -2
- package/es/view-engine/tree-exp-view.engine.d.ts +14 -0
- package/es/view-engine/tree-exp-view.engine.mjs +24 -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/components/modal-router-shell/modal-router-shell.mjs +4 -0
- package/es/web-app/guard/auth-guard/auth-guard.d.ts +4 -3
- package/es/web-app/guard/auth-guard/auth-guard.mjs +30 -12
- package/es/web-app/main.mjs +4 -0
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.d.ts +11 -1
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +35 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +12 -2
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- 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/custom-theme/custom-theme-model.cjs +168 -47
- package/lib/common/custom-theme/custom-theme.cjs +188 -24
- package/lib/common/custom-theme/custom-theme.controller.cjs +235 -5
- package/lib/common/custom-theme/custom-theme.css +1 -1
- package/lib/common/data-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/common/nav-split/nav-split.cjs +0 -1
- package/lib/common/no-data/no-data.cjs +2 -2
- package/lib/common/no-data/no-data.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +2 -2
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/calendar/calendar-util.cjs +24 -0
- package/lib/control/calendar/calendar.cjs +251 -33
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/calendar/components/calendar-user/calendar-user.cjs +135 -0
- package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -0
- package/lib/control/calendar/components/calendar-user/index.cjs +14 -0
- package/lib/control/calendar/components/calendar-user/use-calendar-user.cjs +63 -0
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +3 -2
- package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
- package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +11 -0
- package/lib/control/calendar/components/interface/calendar-user.cjs +23 -0
- package/lib/control/calendar/components/interface/index.cjs +3 -0
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/chart/chart.cjs +22 -5
- package/lib/control/chart/chart.css +1 -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 +40 -20
- package/lib/control/dashboard/dashboard-design/dashboard-design.css +1 -1
- package/lib/control/dashboard/dashboard-design/dashboard-design.util.cjs +248 -0
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +1 -1
- package/lib/control/data-view/data-view.cjs +22 -9
- package/lib/control/data-view/data-view.css +1 -1
- 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/composite-form-item/composite-form-item.cjs +98 -0
- 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 +51 -34
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- 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 +83 -3
- package/lib/control/grid/grid/grid.cjs +143 -8
- 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/grid-ua-column/grid-ua-column.css +1 -1
- 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 +24 -12
- package/lib/control/list/list.css +1 -1
- 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 +55 -23
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/el-tree-util.cjs +7 -5
- package/lib/control/tree/tree.cjs +102 -29
- package/lib/control/tree/tree.css +1 -1
- 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.cjs +3 -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 +90 -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 +156 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.css +1 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.cjs +180 -0
- package/lib/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.css +1 -0
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +49 -4
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +86 -60
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +97 -31
- 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 -64
- 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 +21 -6
- 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/data-picker/picker-editor.provider.cjs +0 -1
- 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/dropdown-list-editor.controller.cjs +13 -2
- package/lib/editor/dropdown-list/dropdown-list-editor.provider.cjs +3 -0
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +34 -23
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- 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 +384 -0
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.css +1 -0
- package/lib/editor/dropdown-list/index.cjs +2 -0
- package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
- package/lib/editor/index.cjs +16 -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/ibiz-image-preview/ibiz-image-preview.cjs +18 -5
- 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 +85 -32
- package/lib/locale/zh-CN/index.cjs +85 -32
- package/lib/panel-component/coop-pos/coop-pos.css +1 -1
- package/lib/panel-component/index.cjs +1 -0
- 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-header/panel-app-header.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-index-view-search/panel-index-view-search.css +1 -1
- package/lib/panel-component/panel-view-content/panel-view-content.cjs +1 -0
- package/lib/panel-component/user-action/user-action.cjs +36 -21
- package/lib/panel-component/user-action/user-action.css +1 -1
- 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 +33 -19
- package/lib/view/share-view/share-view.cjs +0 -5
- package/lib/view-engine/custom-view.engine.cjs +16 -0
- package/lib/view-engine/edit-view.engine.cjs +79 -165
- package/lib/view-engine/grid-view.engine.cjs +1 -5
- package/lib/view-engine/index-view.engine.cjs +17 -1
- package/lib/view-engine/index.cjs +5 -0
- package/lib/view-engine/login-view.engine.cjs +15 -5
- package/lib/view-engine/opt-view.engine.cjs +3 -1
- package/lib/view-engine/portal-view-engine.cjs +93 -1
- package/lib/view-engine/tree-exp-view.engine.cjs +23 -0
- 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/components/modal-router-shell/modal-router-shell.cjs +4 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +29 -11
- package/lib/web-app/main.cjs +4 -0
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +35 -1
- package/package.json +9 -9
- package/dist/chart-DPS_XpZp.js +0 -1
- package/dist/ibiz-markdown-editor-BZ8j-yda.js +0 -1
- package/dist/index-CnCC-cC2.js +0 -1
- package/dist/index-Q4QqDXYJ.js +0 -4
- package/dist/index-X3QXftIl.js +0 -1
- 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.32_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.32_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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewController, IEditFormController, EventBase, IEditViewState, IEditViewEvent, IPanelItemCoopPosController, DEMainViewEngine, FormSaveParams } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEEditView } from '@ibiz/model-core';
|
|
3
|
-
export declare class EditViewEngine extends
|
|
3
|
+
export declare class EditViewEngine extends DEMainViewEngine {
|
|
4
4
|
/**
|
|
5
5
|
* 视图控制器
|
|
6
6
|
*
|
|
@@ -15,13 +15,6 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
15
15
|
protected view: ViewController<IAppDEEditView, IEditViewState, IEditViewEvent>;
|
|
16
16
|
get form(): IEditFormController;
|
|
17
17
|
get coopPos(): IPanelItemCoopPosController | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* 实体名称
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2024-01-31 11:05:49
|
|
22
|
-
* @type {string}
|
|
23
|
-
*/
|
|
24
|
-
deName: string;
|
|
25
18
|
protected init(): void;
|
|
26
19
|
/**
|
|
27
20
|
* 模态事件钩子
|
|
@@ -43,7 +36,7 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
43
36
|
onMounted(): Promise<void>;
|
|
44
37
|
getData(): IData[];
|
|
45
38
|
load(): Promise<IData>;
|
|
46
|
-
save(): Promise<IData>;
|
|
39
|
+
save(args?: FormSaveParams): Promise<IData>;
|
|
47
40
|
refresh(): Promise<void>;
|
|
48
41
|
call(key: string, args: any): Promise<any>;
|
|
49
42
|
/**
|
|
@@ -81,12 +74,11 @@ export declare class EditViewEngine extends ViewEngineBase {
|
|
|
81
74
|
*/
|
|
82
75
|
wfWithdraw(): Promise<void>;
|
|
83
76
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* @
|
|
87
|
-
* @return {*} {void}
|
|
77
|
+
* 执行数据标记行为
|
|
78
|
+
*
|
|
79
|
+
* @memberof EditViewEngine
|
|
88
80
|
*/
|
|
89
|
-
|
|
81
|
+
doMarkDataAction(): void;
|
|
90
82
|
/**
|
|
91
83
|
* 刷新确认
|
|
92
84
|
* @author lxm
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
import { RuntimeError } from '@ibiz-template/core';
|
|
2
|
-
import {
|
|
2
|
+
import { DEMainViewEngine, getControl, getControlsByView, calcDeCodeNameById, SysUIActionTag, ViewCallTag, ControlVO, getAppViewRef, OpenAppViewCommand, calcDynaSysParams, getDeDataMajorField, convertNavData } from '@ibiz-template/runtime';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
|
-
|
|
6
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
-
var __publicField = (obj, key, value) => {
|
|
8
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
-
return value;
|
|
10
|
-
};
|
|
11
|
-
class EditViewEngine extends ViewEngineBase {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
/**
|
|
15
|
-
* 实体名称
|
|
16
|
-
* @author lxm
|
|
17
|
-
* @date 2024-01-31 11:05:49
|
|
18
|
-
* @type {string}
|
|
19
|
-
*/
|
|
20
|
-
__publicField(this, "deName");
|
|
21
|
-
}
|
|
5
|
+
class EditViewEngine extends DEMainViewEngine {
|
|
22
6
|
get form() {
|
|
23
7
|
return this.view.getController("form");
|
|
24
8
|
}
|
|
@@ -64,7 +48,8 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
64
48
|
let isChange = this.view.model.enableDirtyChecking === true;
|
|
65
49
|
const isTopView = srfSessionid === this.view.id;
|
|
66
50
|
if (isTopView) {
|
|
67
|
-
|
|
51
|
+
const dataModification = (uiDomain == null ? void 0 : uiDomain.dataModification) || false;
|
|
52
|
+
isChange = isChange && (((_a = this.form) == null ? void 0 : _a.state.modified) || dataModification);
|
|
68
53
|
} else {
|
|
69
54
|
isChange = isChange && ((_b = this.form) == null ? void 0 : _b.state.modified);
|
|
70
55
|
}
|
|
@@ -86,7 +71,6 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
86
71
|
this.formDataStateChange = this.formDataStateChange.bind(this);
|
|
87
72
|
const { childNames, modal } = this.view;
|
|
88
73
|
childNames.push("form");
|
|
89
|
-
this.deName = calcDeCodeNameById(this.view.model.appDataEntityId);
|
|
90
74
|
if (!this.view.slotProps.form) {
|
|
91
75
|
this.view.slotProps.form = {};
|
|
92
76
|
}
|
|
@@ -120,51 +104,52 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
120
104
|
}
|
|
121
105
|
async onMounted() {
|
|
122
106
|
await super.onMounted();
|
|
123
|
-
this.initMarkOpenData();
|
|
124
107
|
const { model, evt } = this.view;
|
|
125
|
-
this.form
|
|
126
|
-
this.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
this.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
this.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
this.view.context[deName]
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
this.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
this.view.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
108
|
+
if (this.form) {
|
|
109
|
+
this.form.evt.on("onLoadSuccess", (event) => {
|
|
110
|
+
this.formDataStateChange(event);
|
|
111
|
+
const data = event.data[0];
|
|
112
|
+
this.view.state.srfactiveviewdata = data;
|
|
113
|
+
if (Object.prototype.hasOwnProperty.call(data, "srfreadonly")) {
|
|
114
|
+
this.view.context.srfreadonly = data.srfreadonly;
|
|
115
|
+
}
|
|
116
|
+
evt.emit("onDataChange", { ...event, actionType: "LOAD" });
|
|
117
|
+
});
|
|
118
|
+
this.form.evt.on("onLoadDraftSuccess", (event) => {
|
|
119
|
+
this.formDataStateChange(event);
|
|
120
|
+
evt.emit("onDataChange", { ...event, actionType: "LOADDRAFT" });
|
|
121
|
+
});
|
|
122
|
+
this.form.evt.on("onSaveSuccess", (event) => {
|
|
123
|
+
this.view.state.closeOK = true;
|
|
124
|
+
const deName = calcDeCodeNameById(this.view.model.appDataEntityId);
|
|
125
|
+
const formData = event.data[0];
|
|
126
|
+
if (this.view.context[deName] !== formData.srfkey) {
|
|
127
|
+
this.view.context[deName] = formData.srfkey;
|
|
128
|
+
}
|
|
129
|
+
this.formDataStateChange(event);
|
|
130
|
+
evt.emit("onDataChange", { ...event, actionType: "SAVE" });
|
|
131
|
+
});
|
|
132
|
+
this.form.evt.on("onRemoveSuccess", (event) => {
|
|
133
|
+
this.formDataStateChange(event);
|
|
134
|
+
evt.emit("onDataChange", { ...event, actionType: "REMOVE" });
|
|
135
|
+
});
|
|
136
|
+
const appDe = await ibiz.hub.getAppDataEntity(
|
|
137
|
+
this.view.model.appDataEntityId,
|
|
138
|
+
this.view.model.appId
|
|
139
|
+
);
|
|
140
|
+
this.form.evt.on("onFormDataChange", (event) => {
|
|
141
|
+
const { name, value } = event;
|
|
142
|
+
if (name === appDe.formTypeAppDEFieldId && this.view.model.multiFormMode === 1) {
|
|
143
|
+
this.view.redrawView({
|
|
144
|
+
context: this.view.context,
|
|
145
|
+
params: { srfdatatype: value, [name]: value },
|
|
146
|
+
isReloadModel: true
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
if (!this.view.state.noLoadDefault && model.loadDefault) {
|
|
151
|
+
this.load();
|
|
164
152
|
}
|
|
165
|
-
});
|
|
166
|
-
if (!this.view.state.noLoadDefault && model.loadDefault) {
|
|
167
|
-
this.load();
|
|
168
153
|
}
|
|
169
154
|
}
|
|
170
155
|
getData() {
|
|
@@ -173,8 +158,8 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
173
158
|
async load() {
|
|
174
159
|
return this.form.load();
|
|
175
160
|
}
|
|
176
|
-
async save() {
|
|
177
|
-
return this.form.save();
|
|
161
|
+
async save(args) {
|
|
162
|
+
return this.form.save(args);
|
|
178
163
|
}
|
|
179
164
|
async refresh() {
|
|
180
165
|
this.form.refresh();
|
|
@@ -274,7 +259,7 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
274
259
|
*/
|
|
275
260
|
async wfStart() {
|
|
276
261
|
var _a, _b;
|
|
277
|
-
await this.save();
|
|
262
|
+
await this.save({ silent: true });
|
|
278
263
|
const entityService = await ibiz.hub.getAppDEService(
|
|
279
264
|
this.view.model.appId,
|
|
280
265
|
this.view.model.appDataEntityId,
|
|
@@ -352,128 +337,60 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
352
337
|
);
|
|
353
338
|
}
|
|
354
339
|
/**
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
* @
|
|
358
|
-
* @return {*} {void}
|
|
340
|
+
* 执行数据标记行为
|
|
341
|
+
*
|
|
342
|
+
* @memberof EditViewEngine
|
|
359
343
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
let hasOpenConfirm = false;
|
|
367
|
-
(_a = this.coopPos) == null ? void 0 : _a.initMessageModes(modes);
|
|
368
|
-
const callback = async (data) => {
|
|
369
|
-
if (!this.view.state.activated) {
|
|
370
|
-
return;
|
|
371
|
-
}
|
|
372
|
-
const dataInfo = this.form.getData()[0].srfmajortext;
|
|
373
|
-
let actionMsg = "";
|
|
374
|
-
switch (data.action) {
|
|
375
|
-
case "VIEW":
|
|
376
|
-
actionMsg = ibiz.i18n.t("viewEngine.browseMsg");
|
|
377
|
-
break;
|
|
378
|
-
case "EDIT":
|
|
379
|
-
actionMsg = ibiz.i18n.t("viewEngine.editMsg");
|
|
380
|
-
break;
|
|
381
|
-
case "UPDATE":
|
|
382
|
-
actionMsg = ibiz.i18n.t("viewEngine.updateMsg");
|
|
383
|
-
break;
|
|
384
|
-
default:
|
|
385
|
-
break;
|
|
386
|
-
}
|
|
387
|
-
const message = "".concat(data.username, " ").concat(actionMsg, " ").concat(this.view.state.caption, "-").concat(dataInfo);
|
|
388
|
-
if (this.coopPos) {
|
|
389
|
-
this.coopPos.updateMessage({
|
|
390
|
-
title: message,
|
|
391
|
-
data
|
|
392
|
-
});
|
|
393
|
-
} else {
|
|
394
|
-
ibiz.message.notice({
|
|
395
|
-
message,
|
|
396
|
-
showClose: true,
|
|
397
|
-
duration: 3,
|
|
398
|
-
styleType: "alert"
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
if (hasOpenConfirm === false && data.action === "UPDATE" && modes.includes("NOTICERELOAD")) {
|
|
402
|
-
hasOpenConfirm = true;
|
|
403
|
-
const isReload = await this.reloadConfirm();
|
|
404
|
-
if (isReload) {
|
|
405
|
-
this.refresh();
|
|
406
|
-
}
|
|
407
|
-
hasOpenConfirm = false;
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
const doActions = [];
|
|
411
|
-
if (modes.includes("EDITDATA") || modes.includes("DISPLAYOPPERSON") || modes.includes("NOTICERELOAD")) {
|
|
412
|
-
doActions.push("EDIT", "VIEW", "UPDATE", "CLOSE");
|
|
413
|
-
} else if (modes.includes("OPENDATA")) {
|
|
414
|
-
doActions.push("VIEW", "CLOSE");
|
|
415
|
-
}
|
|
416
|
-
if (doActions.length === 0) {
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
let srfkey;
|
|
420
|
-
let hasSubscribe = false;
|
|
421
|
-
if (doActions.includes("VIEW")) {
|
|
344
|
+
doMarkDataAction() {
|
|
345
|
+
if (this.doActions.includes("VIEW")) {
|
|
346
|
+
const callback = async (data) => {
|
|
347
|
+
const dataInfo = this.form.getData()[0].srfmajortext;
|
|
348
|
+
this.markOpenDataCallback(data, dataInfo);
|
|
349
|
+
};
|
|
422
350
|
this.form.evt.on("onLoadSuccess", async (event) => {
|
|
423
|
-
const
|
|
424
|
-
|
|
425
|
-
const result = await ibiz.markOpenData.action(
|
|
426
|
-
this.deName,
|
|
427
|
-
srfkey,
|
|
428
|
-
"VIEW"
|
|
429
|
-
);
|
|
351
|
+
const data = event.data[0];
|
|
352
|
+
const result = await this.sendMarkDataAction("VIEW", data.srfkey);
|
|
430
353
|
if (result.ok && result.data.length > 0) {
|
|
431
354
|
result.data.forEach((item) => {
|
|
432
|
-
var
|
|
355
|
+
var _a;
|
|
433
356
|
if (item.data) {
|
|
434
|
-
(
|
|
357
|
+
(_a = this.coopPos) == null ? void 0 : _a.updateMessage({
|
|
435
358
|
data: item.data
|
|
436
359
|
});
|
|
437
360
|
}
|
|
438
361
|
});
|
|
439
362
|
}
|
|
440
|
-
|
|
441
|
-
ibiz.markOpenData.subscribe(this.deName, srfkey, callback);
|
|
442
|
-
this.view.evt.on("onDestroyed", () => {
|
|
443
|
-
ibiz.markOpenData.unsubscribe(this.deName, srfkey, callback);
|
|
444
|
-
});
|
|
445
|
-
hasSubscribe = true;
|
|
446
|
-
}
|
|
363
|
+
this.subscribeMarkDataAction(data.srfkey, callback);
|
|
447
364
|
});
|
|
448
365
|
}
|
|
449
|
-
if (doActions.includes("EDIT")) {
|
|
366
|
+
if (this.doActions.includes("EDIT")) {
|
|
450
367
|
let isWait = false;
|
|
451
|
-
|
|
452
|
-
|
|
368
|
+
this.form.evt.on("onFormDataChange", (event) => {
|
|
369
|
+
const data = event.data[0];
|
|
370
|
+
if (isWait) {
|
|
453
371
|
return;
|
|
454
372
|
}
|
|
455
373
|
isWait = true;
|
|
456
|
-
|
|
374
|
+
this.sendMarkDataAction("EDIT", data.srfkey);
|
|
457
375
|
setTimeout(
|
|
458
376
|
() => {
|
|
459
377
|
isWait = false;
|
|
460
378
|
},
|
|
461
379
|
1e3 * 60 * 5
|
|
462
380
|
);
|
|
463
|
-
};
|
|
464
|
-
this.form.evt.on("onFormDataChange", actionEdit);
|
|
381
|
+
});
|
|
465
382
|
}
|
|
466
|
-
if (doActions.includes("UPDATE")) {
|
|
467
|
-
this.form.evt.on("onSaveSuccess", () => {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
}
|
|
383
|
+
if (this.doActions.includes("UPDATE")) {
|
|
384
|
+
this.form.evt.on("onSaveSuccess", (event) => {
|
|
385
|
+
const data = event.data[0];
|
|
386
|
+
this.sendMarkDataAction("UPDATE", data.srfkey);
|
|
471
387
|
});
|
|
472
388
|
}
|
|
473
|
-
if (doActions.includes("CLOSE")) {
|
|
389
|
+
if (this.doActions.includes("CLOSE")) {
|
|
474
390
|
this.view.evt.on("onCloseView", () => {
|
|
475
|
-
|
|
476
|
-
|
|
391
|
+
const data = this.form.getData()[0];
|
|
392
|
+
if (data == null ? void 0 : data.srfkey) {
|
|
393
|
+
this.sendMarkDataAction("CLOSE", data.srfkey);
|
|
477
394
|
}
|
|
478
395
|
});
|
|
479
396
|
}
|
|
@@ -485,10 +402,7 @@ class EditViewEngine extends ViewEngineBase {
|
|
|
485
402
|
* @return {*} {Promise<boolean>}
|
|
486
403
|
*/
|
|
487
404
|
async reloadConfirm() {
|
|
488
|
-
const result = await
|
|
489
|
-
title: ibiz.i18n.t("viewEngine.refreshPrompt"),
|
|
490
|
-
desc: ibiz.i18n.t("viewEngine.refreshPagePrompt")
|
|
491
|
-
});
|
|
405
|
+
const result = await super.reloadConfirm();
|
|
492
406
|
if (result && this.form.state.modified) {
|
|
493
407
|
return ibiz.confirm.warning({
|
|
494
408
|
title: ibiz.i18n.t("viewEngine.refreshRemind"),
|
|
@@ -13,11 +13,7 @@ class GridViewEngine extends MDViewEngine {
|
|
|
13
13
|
this.grid.toggleRowEdit();
|
|
14
14
|
return null;
|
|
15
15
|
}
|
|
16
|
-
if (key === SysUIActionTag.SAVE_ROW) {
|
|
17
|
-
this.grid.save(args.data[0]);
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
if (key === SysUIActionTag.SAVE) {
|
|
16
|
+
if (key === SysUIActionTag.SAVE || key === SysUIActionTag.SAVE_ROW) {
|
|
21
17
|
this.grid.saveAll();
|
|
22
18
|
return null;
|
|
23
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IViewController, ViewEngineBase, IIndexViewState, IViewEvent, IAppMenuController } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppIndexView } from '@ibiz/model-core';
|
|
3
|
+
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
4
|
export declare class IndexViewEngine extends ViewEngineBase {
|
|
4
5
|
protected view: IViewController<IAppIndexView, IIndexViewState, IViewEvent>;
|
|
5
6
|
get appmenu(): IAppMenuController;
|
|
@@ -11,6 +12,12 @@ export declare class IndexViewEngine extends ViewEngineBase {
|
|
|
11
12
|
* @type {boolean}
|
|
12
13
|
*/
|
|
13
14
|
get enableCollapse(): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @description 路由对象
|
|
17
|
+
* @type {RouteLocationNormalizedLoaded}
|
|
18
|
+
* @memberof IndexViewEngine
|
|
19
|
+
*/
|
|
20
|
+
route: RouteLocationNormalizedLoaded;
|
|
14
21
|
initViewState(): void;
|
|
15
22
|
onCreated(): Promise<void>;
|
|
16
23
|
onMounted(): Promise<void>;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { ViewEngineBase, OpenAppViewCommand, ViewCallTag } from '@ibiz-template/runtime';
|
|
2
|
+
import { useRoute } from 'vue-router';
|
|
2
3
|
|
|
3
4
|
"use strict";
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __publicField = (obj, key, value) => {
|
|
8
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
return value;
|
|
10
|
+
};
|
|
4
11
|
class IndexViewEngine extends ViewEngineBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
/**
|
|
15
|
+
* @description 路由对象
|
|
16
|
+
* @type {RouteLocationNormalizedLoaded}
|
|
17
|
+
* @memberof IndexViewEngine
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "route", useRoute());
|
|
20
|
+
}
|
|
5
21
|
get appmenu() {
|
|
6
22
|
return this.view.getController("appmenu");
|
|
7
23
|
}
|
|
@@ -30,7 +46,7 @@ class IndexViewEngine extends ViewEngineBase {
|
|
|
30
46
|
}
|
|
31
47
|
async onMounted() {
|
|
32
48
|
await super.onMounted();
|
|
33
|
-
if (!this.isExistAndInLayout("appmenu")) {
|
|
49
|
+
if (!this.isExistAndInLayout("appmenu") && !this.route.params.view2) {
|
|
34
50
|
const { model, context, params } = this.view;
|
|
35
51
|
const { defAppViewId } = model;
|
|
36
52
|
if (defAppViewId) {
|
package/es/view-engine/index.mjs
CHANGED
|
@@ -45,10 +45,15 @@ import { DEIndexViewEngine } from './de-index-view-engine.mjs';
|
|
|
45
45
|
import { SubAppRefViewEngine } from './sub-app-ref-view.engine.mjs';
|
|
46
46
|
import { TabSearchViewEngine } from './tab-search-view.engine.mjs';
|
|
47
47
|
import { AppDataUploadViewEngine } from './app-data-upload-view.engine.mjs';
|
|
48
|
+
import { WFStepDataViewEngine } from './wf-step-data-view.engine.mjs';
|
|
48
49
|
|
|
49
50
|
"use strict";
|
|
50
51
|
const IBizViewEngine = {
|
|
51
52
|
install: (_v) => {
|
|
53
|
+
ibiz.engine.register(
|
|
54
|
+
"VIEW_APPWFSTEPDATAVIEW",
|
|
55
|
+
(c) => new WFStepDataViewEngine(c)
|
|
56
|
+
);
|
|
52
57
|
ibiz.engine.register(
|
|
53
58
|
"VIEW_AppIndexView",
|
|
54
59
|
(c) => new IndexViewEngine(c)
|
|
@@ -20,7 +20,7 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
20
20
|
*/
|
|
21
21
|
__publicField(this, "route", useRoute());
|
|
22
22
|
__publicField(this, "enterKeyListener", async (event) => {
|
|
23
|
-
if (event.key === "Enter" && this.view.layoutPanel) {
|
|
23
|
+
if (event.target.nodeName === "BUTTON" && event.key === "Enter" && this.view.layoutPanel) {
|
|
24
24
|
const args = {
|
|
25
25
|
data: [
|
|
26
26
|
{
|
|
@@ -42,7 +42,7 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
42
42
|
*/
|
|
43
43
|
async onMounted() {
|
|
44
44
|
super.onMounted();
|
|
45
|
-
document.addEventListener("
|
|
45
|
+
document.addEventListener("keyup", this.enterKeyListener);
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* 视图destroyed生命周期执行逻辑
|
|
@@ -52,7 +52,7 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
52
52
|
*/
|
|
53
53
|
async onDestroyed() {
|
|
54
54
|
super.onDestroyed();
|
|
55
|
-
document.removeEventListener("
|
|
55
|
+
document.removeEventListener("keyup", this.enterKeyListener);
|
|
56
56
|
}
|
|
57
57
|
async call(key, args = {}) {
|
|
58
58
|
if (key === SysUIActionTag.LOGIN) {
|
|
@@ -64,10 +64,11 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
64
64
|
return super.call(key, args);
|
|
65
65
|
}
|
|
66
66
|
async login(args) {
|
|
67
|
+
var _a;
|
|
67
68
|
let rememberme;
|
|
68
69
|
const headers = {};
|
|
69
70
|
const data = args.data[0] || {};
|
|
70
|
-
const panelDataParent = args.params.panelDataParent;
|
|
71
|
+
const panelDataParent = (_a = args.params) == null ? void 0 : _a.panelDataParent;
|
|
71
72
|
if (this.view.layoutPanel) {
|
|
72
73
|
if (!await this.view.layoutPanel.validate(panelDataParent)) {
|
|
73
74
|
return;
|
|
@@ -95,9 +96,18 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
95
96
|
);
|
|
96
97
|
this.view.evt.emit("onAfterLogin", { ok: bol, panelDataParent });
|
|
97
98
|
if (bol === true) {
|
|
99
|
+
const loginFailed = window.location.href.indexOf("srfthird_auth_success=false") >= 0;
|
|
98
100
|
window.location.hash = this.route.query.ru || "/";
|
|
99
101
|
window.history.pushState({}, "");
|
|
100
|
-
|
|
102
|
+
if (loginFailed) {
|
|
103
|
+
const path = window.location.href.replace(
|
|
104
|
+
"?srfthird_auth_success=false",
|
|
105
|
+
""
|
|
106
|
+
);
|
|
107
|
+
window.location.href = path;
|
|
108
|
+
} else {
|
|
109
|
+
window.location.reload();
|
|
110
|
+
}
|
|
101
111
|
}
|
|
102
112
|
}
|
|
103
113
|
async cancelChanges() {
|
|
@@ -138,7 +138,8 @@ class OptViewEngine extends ViewEngineBase {
|
|
|
138
138
|
let isChange = this.view.model.enableDirtyChecking === true;
|
|
139
139
|
const isTopView = srfSessionid === this.view.id;
|
|
140
140
|
if (isTopView) {
|
|
141
|
-
|
|
141
|
+
const dataModification = (uiDomain == null ? void 0 : uiDomain.dataModification) || false;
|
|
142
|
+
isChange = isChange && (((_a = this.form) == null ? void 0 : _a.state.modified) || dataModification);
|
|
142
143
|
} else {
|
|
143
144
|
isChange = isChange && ((_b = this.form) == null ? void 0 : _b.state.modified);
|
|
144
145
|
}
|
|
@@ -211,6 +212,7 @@ class OptViewEngine extends ViewEngineBase {
|
|
|
211
212
|
* @memberof OptViewEngine
|
|
212
213
|
*/
|
|
213
214
|
cancel() {
|
|
215
|
+
this.view.modal.ignoreDismissCheck = true;
|
|
214
216
|
this.view.closeView({ ok: false, data: [] });
|
|
215
217
|
}
|
|
216
218
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewController, IPortalViewState, IPortalViewEvent, IDashboardController, DEMainViewEngine } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppView } from '@ibiz/model-core';
|
|
3
|
-
export declare class PortalViewEngine extends
|
|
3
|
+
export declare class PortalViewEngine extends DEMainViewEngine {
|
|
4
4
|
/**
|
|
5
5
|
* 视图控制器
|
|
6
6
|
*
|
|
@@ -9,6 +9,12 @@ export declare class PortalViewEngine extends ViewEngineBase {
|
|
|
9
9
|
* @memberof PortalViewEngine
|
|
10
10
|
*/
|
|
11
11
|
protected view: ViewController<IAppView, IPortalViewState, IPortalViewEvent>;
|
|
12
|
+
/**
|
|
13
|
+
* 视图created生命周期执行逻辑
|
|
14
|
+
*
|
|
15
|
+
* @return {*} {Promise<void>}
|
|
16
|
+
* @memberof PortalViewEngine
|
|
17
|
+
*/
|
|
12
18
|
onCreated(): Promise<void>;
|
|
13
19
|
/**
|
|
14
20
|
* 数据看板部件
|
|
@@ -16,6 +22,28 @@ export declare class PortalViewEngine extends ViewEngineBase {
|
|
|
16
22
|
* @readonly
|
|
17
23
|
* @memberof PortalViewEngine
|
|
18
24
|
*/
|
|
19
|
-
get dashboard():
|
|
25
|
+
get dashboard(): IDashboardController;
|
|
26
|
+
/**
|
|
27
|
+
* 视图刷新
|
|
28
|
+
*
|
|
29
|
+
* @return {*} {Promise<void>}
|
|
30
|
+
* @memberof PortalViewEngine
|
|
31
|
+
*/
|
|
32
|
+
refresh(): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* 执行视图预置界面行为能力
|
|
35
|
+
*
|
|
36
|
+
* @param {string} key
|
|
37
|
+
* @param {*} args
|
|
38
|
+
* @return {*} {(Promise<IData | null | undefined>)}
|
|
39
|
+
* @memberof PortalViewEngine
|
|
40
|
+
*/
|
|
41
|
+
call(key: string, args: any): Promise<IData | null | undefined>;
|
|
20
42
|
onMounted(): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* 执行标记数据行为
|
|
45
|
+
*
|
|
46
|
+
* @memberof PortalViewEngine
|
|
47
|
+
*/
|
|
48
|
+
doMarkDataAction(): void;
|
|
21
49
|
}
|