@ibiz-template/vue3-components 0.7.38-alpha.56 → 0.7.40-alpha.9
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/LICENSE +1 -1
- package/README.md +321 -0
- package/dist/ibiz-markdown-editor-D4ESf3bP.js +1 -0
- package/dist/index--C432Qzt.js +4 -0
- package/dist/index-CmaF1QyJ.js +1 -0
- package/dist/index-frsL8WmS.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-user-CILGy9I4.js +1 -0
- package/dist/wang-editor-ZtYMqlXx.js +1 -0
- package/dist/{xlsx-util-BApCDhEk.js → xlsx-util-CKS7oyKo.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.d.ts +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +14 -8
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +9 -9
- package/es/common/anchor-container/anchor-container.d.ts +12 -12
- package/es/common/button-list/button-list.d.ts +5 -5
- package/es/common/button-list/button-list.mjs +53 -41
- package/es/common/carousel/carousel.d.ts +1 -1
- package/es/common/carousel-card/carousel-card.d.ts +3 -3
- package/es/common/control-navigation/control-navigation.mjs +7 -1
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +5 -2
- package/es/common/cropping/cropping.d.ts +3 -3
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +12 -12
- package/es/common/data-import/data-import.d.ts +4 -4
- package/es/common/data-import2/data-import2.d.ts +5 -5
- package/es/common/data-import2-select/data-import2-select.d.ts +2 -2
- package/es/common/data-import2-table/data-import2-table.d.ts +2 -2
- package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
- package/es/common/emoji-select/emoji-select.d.ts +3 -3
- package/es/common/extend-action-timeline/extend-action-timeline.d.ts +3 -3
- package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
- package/es/common/map-chart-user/map-user-manager.mjs +1 -1
- package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +4 -4
- package/es/common/pql-editor/pql-editor.d.ts +4 -4
- package/es/common/quick-edit/quick-edit.d.ts +15 -5
- package/es/common/quick-edit/quick-edit.mjs +27 -7
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/common/rawitem/rawitem.mjs +4 -3
- package/es/common/view-message/view-message.d.ts +6 -6
- package/es/common/view-message/view-message.mjs +6 -4
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +8 -8
- package/es/control/app-menu/app-menu.mjs +8 -4
- package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
- package/es/control/app-menu/index.d.ts +9 -9
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +7 -7
- package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +1 -1
- package/es/control/calendar/components/calendar-user/calendar-user.d.ts +6 -6
- package/es/control/calendar/components/calendar-user/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +4 -4
- package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +6 -6
- package/es/control/calendar/components/custom-calendar/index.d.ts +6 -6
- package/es/control/calendar/components/interface/calendar-daily.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-user.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-week.d.ts +3 -3
- package/es/control/calendar/components/interface/custom-calendar.d.ts +3 -3
- package/es/control/calendar/components/util/util.d.ts +2 -2
- package/es/control/calendar/index.d.ts +8 -8
- package/es/control/caption-bar/caption-bar.d.ts +5 -5
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +13 -13
- package/es/control/context-menu/context-menu.css +1 -1
- package/es/control/context-menu/context-menu.d.ts +8 -6
- package/es/control/context-menu/context-menu.mjs +24 -9
- package/es/control/context-menu/index.d.ts +8 -6
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21357
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
- package/es/control/dashboard/dashboard.d.ts +6 -6
- package/es/control/dashboard/index.d.ts +7 -7
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +6 -6
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +6 -6
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.d.ts +5 -5
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +14 -14
- package/es/control/data-view/data-view.mjs +73 -87
- package/es/control/data-view/index.d.ts +14 -14
- package/es/control/drbar/drbar.d.ts +5 -5
- package/es/control/drbar/index.d.ts +5 -5
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.d.ts +8 -8
- package/es/control/drtab/index.d.ts +8 -8
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/calendar-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/chart-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/data-view-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/grid-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/tree-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.d.ts +5 -5
- package/es/control/form/edit-form/edit-form.css +1 -0
- package/es/control/form/edit-form/edit-form.d.ts +3 -76
- package/es/control/form/edit-form/edit-form.mjs +27 -5
- package/es/control/form/edit-form/index.d.ts +2 -73
- package/es/control/form/form/form.css +1 -1
- package/es/control/form/form/form.d.ts +1 -1
- package/es/control/form/form/form.mjs +1 -1
- package/es/control/form/form/index.d.ts +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +4 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.d.ts +1 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.mjs +7 -3
- package/es/control/form/form-detail/form-button-list/index.d.ts +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.d.ts +1 -0
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +11 -1
- package/es/control/form/form-detail/form-druipart/index.d.ts +1 -0
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +12 -13
- 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 +7 -101
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +65 -92
- package/es/control/form/form-detail/form-item/form-item.d.ts +5 -5
- package/es/control/form/form-detail/form-item/form-item.mjs +32 -44
- package/es/control/form/form-detail/form-item/index.d.ts +4 -4
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +12 -14
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +20890 -10610
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +10 -0
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.d.ts +4 -4
- 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 +2 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +134 -2
- package/es/control/form/form-detail/form-rawitem/index.d.ts +2 -0
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.d.ts +1 -1
- package/es/control/form/form-detail/form-tab-panel/index.d.ts +2 -2
- package/es/control/form/search-form/index.d.ts +13 -5
- package/es/control/form/search-form/search-form.d.ts +13 -5
- package/es/control/form/search-form/search-form.mjs +22 -2
- package/es/control/gantt/gantt.d.ts +7 -7
- package/es/control/gantt/index.d.ts +8 -8
- package/es/control/grid/grid/grid-control.util.mjs +18 -11
- package/es/control/grid/grid/grid.d.ts +29 -29
- package/es/control/grid/grid/grid.mjs +9 -1
- package/es/control/grid/grid/index.d.ts +29 -29
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +4 -4
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +2 -2
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.d.ts +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +4 -4
- package/es/control/kanban/index.d.ts +5 -5
- package/es/control/kanban/kanban.d.ts +5 -5
- package/es/control/list/index.d.ts +14 -14
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +14 -14
- package/es/control/list/list.mjs +64 -58
- package/es/control/map/map.d.ts +5 -5
- package/es/control/medit-view-panel/index.d.ts +5 -5
- package/es/control/medit-view-panel/medit-view-panel.d.ts +5 -5
- package/es/control/pickup-view-panel/index.d.ts +5 -5
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +5 -5
- package/es/control/report-panel/report-panel.d.ts +5 -5
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
- package/es/control/search-bar/index.d.ts +5 -5
- package/es/control/search-bar/search-bar.d.ts +5 -5
- package/es/control/search-bar/search-groups/search-groups.d.ts +6 -6
- package/es/control/tab-exp-panel/index.d.ts +5 -5
- package/es/control/tab-exp-panel/tab-exp-panel.d.ts +5 -5
- package/es/control/toolbar/export-excel/export-excel.mjs +9 -5
- package/es/control/toolbar/index.d.ts +6 -6
- package/es/control/toolbar/short-cut-button/short-cut-button.mjs +4 -3
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +5 -5
- package/es/control/toolbar/toolbar.mjs +23 -19
- package/es/control/tree/index.d.ts +14 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +26 -26
- package/es/control/tree/tree.mjs +5 -0
- package/es/control/tree-grid/index.d.ts +24 -24
- package/es/control/tree-grid/tree-grid.d.ts +23 -23
- package/es/control/tree-grid-ex/index.d.ts +11 -11
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +2 -2
- package/es/control/tree-grid-ex/tree-grid-ex.d.ts +7 -7
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.d.ts +5 -5
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +9 -9
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +3 -0
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +9 -9
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -0
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +8 -8
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +14 -14
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +1 -2
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +8 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +9 -9
- package/es/editor/code/code-editor.controller.d.ts +16 -1
- package/es/editor/code/code-editor.controller.mjs +34 -1
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +10 -9
- package/es/editor/code/monaco-editor/monaco-editor.mjs +310 -13
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +14 -10
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +10 -10
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +9 -9
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -0
- 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 +10 -9
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +9 -3
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +9 -9
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +8 -8
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +12 -12
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +5 -1
- package/es/editor/data-picker/picker-editor.controller.mjs +5 -1
- package/es/editor/data-picker/picker-editor.provider.mjs +2 -0
- package/es/editor/date-picker/date-picker-editor.controller.mjs +7 -0
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +8 -8
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +7 -0
- package/es/editor/date-range/date-range-editor.controller.mjs +2 -0
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +8 -8
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +2 -0
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +4 -4
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +11 -11
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -7
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +8 -8
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +11 -11
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +2 -4
- package/es/editor/html/html-editor.controller.mjs +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +8 -8
- package/es/editor/html/wang-editor/wang-editor.mjs +192 -58
- package/es/editor/index.mjs +80 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +9 -9
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +132 -16
- package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/es/editor/not-supported-editor/not-supported-editor.d.ts +7 -0
- package/es/editor/not-supported-editor/not-supported-editor.mjs +15 -2
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +8 -8
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +8 -8
- 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 +9 -9
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +9 -3
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +10 -10
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +9 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +8 -8
- package/es/editor/span/span/span.d.ts +3 -3
- package/es/editor/span/span-link/span-link.d.ts +8 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +8 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +9 -9
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +8 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +8 -8
- package/es/editor/text-box/input/input.d.ts +10 -10
- package/es/editor/text-box/input/input.mjs +194 -61
- package/es/editor/text-box/text-box-editor.controller.mjs +2 -2
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +13 -13
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +15 -15
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +8 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +13 -13
- package/es/editor/upload/upload-editor.controller.mjs +7 -3
- package/es/editor/upload/upload-editor.provider.mjs +3 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +8 -8
- package/es/index.mjs +45 -0
- package/es/locale/en/index.d.ts +32 -0
- package/es/locale/en/index.mjs +28 -4
- package/es/locale/zh-CN/index.d.ts +32 -0
- package/es/locale/zh-CN/index.mjs +28 -4
- package/es/node_modules/.pnpm/{@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 → @ibiz-template_core@0.7.40-alpha.7_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 +53 -81
- package/es/panel-component/coop-pos/coop-pos.d.ts +1 -1
- package/es/panel-component/coop-pos/index.d.ts +2 -2
- package/es/panel-component/global-search/global-search.controller.d.ts +113 -0
- package/es/panel-component/global-search/global-search.controller.mjs +221 -0
- package/es/panel-component/global-search/global-search.css +1 -0
- package/es/panel-component/global-search/global-search.d.ts +36 -0
- package/es/panel-component/global-search/global-search.mjs +194 -0
- package/es/panel-component/global-search/global-search.provider.d.ts +14 -0
- package/es/panel-component/global-search/global-search.provider.mjs +21 -0
- package/es/panel-component/global-search/global-search.state.d.ts +61 -0
- package/es/panel-component/global-search/global-search.state.mjs +37 -0
- package/es/panel-component/global-search/index.d.ts +33 -0
- package/es/panel-component/global-search/index.mjs +15 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +78 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +26 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +74 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
- package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
- package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
- package/es/panel-component/index.mjs +4 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +5 -1
- package/es/panel-component/panel-app-title/index.d.ts +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.d.ts +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +45 -21
- package/es/panel-component/panel-button/index.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.mjs +7 -20
- package/es/panel-component/panel-button-list/index.d.ts +1 -1
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +13 -4
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +27 -7
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +1 -1
- package/es/panel-component/panel-button-list/panel-button-list.mjs +3 -3
- package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +5 -0
- package/es/panel-component/short-cut/index.d.ts +2 -2
- package/es/panel-component/short-cut/short-cut.d.ts +1 -1
- package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +2 -2
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.d.ts +1 -1
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.mjs +3 -1
- package/es/util/ai-util/ai-util.d.ts +25 -0
- package/es/util/ai-util/ai-util.mjs +44 -0
- package/es/util/app-modal/app-modal-component.d.ts +1 -1
- package/es/util/app-util/app-util.d.ts +10 -1
- package/es/util/app-util/app-util.mjs +281 -0
- package/es/util/button-util/button-util.d.ts +7 -0
- package/es/util/button-util/button-util.mjs +11 -0
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/index.d.ts +2 -0
- package/es/util/index.mjs +2 -0
- package/es/util/notice-util/notice-util.mjs +2 -1
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
- package/es/util/open-view-util/open-view-util.d.ts +41 -14
- package/es/util/open-view-util/open-view-util.mjs +69 -15
- package/es/view/403-view/403-view.css +1 -1
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/share-view/share-view.d.ts +1 -1
- package/es/view/sub-app-ref-view/index.d.ts +7 -7
- package/es/view/sub-app-ref-view/sub-app-ref-view.d.ts +7 -7
- package/es/view/wf-step-trace-view/index.d.ts +7 -7
- package/es/view/wf-step-trace-view/wf-step-trace-view.d.ts +7 -7
- package/es/view-engine/custom-view.engine.d.ts +31 -2
- package/es/view-engine/custom-view.engine.mjs +75 -1
- package/es/view-engine/edit-view.engine.d.ts +1 -2
- package/es/view-engine/edit-view.engine.mjs +6 -27
- package/es/view-engine/index.d.ts +43 -0
- package/es/view-engine/index.mjs +2 -1
- package/es/view-engine/portal-view-engine.d.ts +8 -0
- package/es/view-engine/portal-view-engine.mjs +14 -26
- package/es/web-app/App.mjs +2 -0
- package/es/web-app/attach-environment-config.mjs +1 -1
- package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/web-app/guard/auth-guard/auth-guard.mjs +5 -0
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
- package/es/web-app/main.mjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +13 -7
- package/lib/common/button-list/button-list.cjs +53 -41
- package/lib/common/control-navigation/control-navigation.cjs +7 -1
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +5 -2
- package/lib/common/map-chart-user/map-user-manager.cjs +1 -1
- package/lib/common/quick-edit/quick-edit.cjs +26 -6
- package/lib/common/rawitem/rawitem.cjs +4 -3
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/common/view-message/view-message.cjs +6 -4
- package/lib/control/app-menu/app-menu.cjs +8 -4
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/context-menu/context-menu.cjs +23 -8
- package/lib/control/context-menu/context-menu.css +1 -1
- package/lib/control/data-view/data-view.cjs +73 -87
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +27 -5
- package/lib/control/form/edit-form/edit-form.css +1 -0
- package/lib/control/form/form/form.cjs +1 -1
- package/lib/control/form/form/form.css +1 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +4 -1
- package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +7 -3
- package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +10 -0
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-item/composite-form-item/composite-form-item.cjs +12 -13
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +64 -91
- 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 +32 -44
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +12 -14
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +10 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +133 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +21 -1
- package/lib/control/grid/grid/grid-control.util.cjs +18 -11
- package/lib/control/grid/grid/grid.cjs +9 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/lib/control/list/list.cjs +64 -58
- package/lib/control/list/list.css +1 -1
- package/lib/control/toolbar/export-excel/export-excel.cjs +9 -5
- package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +4 -3
- package/lib/control/toolbar/toolbar.cjs +23 -19
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +5 -0
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +3 -0
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -0
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +1 -2
- package/lib/editor/code/code-editor.controller.cjs +33 -0
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +309 -12
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -0
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +8 -2
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +5 -1
- package/lib/editor/data-picker/picker-editor.controller.cjs +5 -1
- package/lib/editor/data-picker/picker-editor.provider.cjs +2 -0
- package/lib/editor/date-picker/date-picker-editor.controller.cjs +7 -0
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +7 -0
- package/lib/editor/date-range/date-range-editor.controller.cjs +2 -0
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +2 -0
- package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -7
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +2 -4
- package/lib/editor/html/html-editor.controller.cjs +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +190 -56
- package/lib/editor/index.cjs +80 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +131 -15
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/not-supported-editor/not-supported-editor.cjs +15 -2
- package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +9 -3
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +5 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/text-box/input/input.cjs +192 -59
- package/lib/editor/text-box/text-box-editor.controller.cjs +2 -2
- package/lib/editor/upload/upload-editor.controller.cjs +7 -3
- package/lib/editor/upload/upload-editor.provider.cjs +3 -0
- package/lib/index.cjs +90 -0
- package/lib/locale/en/index.cjs +28 -4
- package/lib/locale/zh-CN/index.cjs +28 -4
- package/lib/node_modules/.pnpm/{@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 → @ibiz-template_core@0.7.40-alpha.7_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 +53 -81
- package/lib/panel-component/global-search/global-search.cjs +196 -0
- package/lib/panel-component/global-search/global-search.controller.cjs +223 -0
- package/lib/panel-component/global-search/global-search.css +1 -0
- package/lib/panel-component/global-search/global-search.provider.cjs +23 -0
- package/lib/panel-component/global-search/global-search.state.cjs +39 -0
- package/lib/panel-component/global-search/index.cjs +20 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +76 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +80 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
- package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
- package/lib/panel-component/index.cjs +42 -38
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +5 -1
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +45 -21
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-button/panel-button.cjs +7 -20
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +3 -3
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +27 -7
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +5 -0
- package/lib/panel-component/user-message/user-message.cjs +3 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/util/ai-util/ai-util.cjs +46 -0
- package/lib/util/app-util/app-util.cjs +281 -0
- package/lib/util/button-util/button-util.cjs +13 -0
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/index.cjs +4 -0
- package/lib/util/notice-util/notice-util.cjs +2 -1
- package/lib/util/open-view-util/open-view-util.cjs +69 -15
- package/lib/view/403-view/403-view.css +1 -1
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view-engine/custom-view.engine.cjs +74 -0
- package/lib/view-engine/edit-view.engine.cjs +6 -27
- package/lib/view-engine/index.cjs +44 -0
- package/lib/view-engine/portal-view-engine.cjs +14 -26
- package/lib/web-app/App.cjs +2 -0
- package/lib/web-app/attach-environment-config.cjs +1 -1
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +5 -0
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
- package/lib/web-app/main.cjs +1 -1
- package/package.json +16 -16
- package/dist/ibiz-markdown-editor-CKuF8KOI.js +0 -1
- package/dist/index-B79xJqXz.js +0 -1
- package/dist/index-BsxW9vZO.js +0 -1
- package/dist/index-CIQ8bnG_.js +0 -4
- package/dist/map-chart-user-BaQWHpFu.js +0 -1
- package/dist/wang-editor-Vd0LVyWx.js +0 -1
|
@@ -6,10 +6,6 @@ class EditViewEngine extends DEMainViewEngine {
|
|
|
6
6
|
get form() {
|
|
7
7
|
return this.view.getController("form");
|
|
8
8
|
}
|
|
9
|
-
get coopPos() {
|
|
10
|
-
var _a;
|
|
11
|
-
return (_a = this.view.layoutPanel) == null ? void 0 : _a.panelItems.coop_pos;
|
|
12
|
-
}
|
|
13
9
|
init() {
|
|
14
10
|
super.init();
|
|
15
11
|
if (this.view.model.multiFormMode === 1 && this.view.params.srfdatatype) {
|
|
@@ -342,31 +338,14 @@ class EditViewEngine extends DEMainViewEngine {
|
|
|
342
338
|
* @memberof EditViewEngine
|
|
343
339
|
*/
|
|
344
340
|
doMarkDataAction() {
|
|
341
|
+
super.doMarkDataAction();
|
|
345
342
|
if (this.doActions.includes("VIEW")) {
|
|
346
|
-
|
|
347
|
-
const dataInfo = this.form.getData()[0].srfmajortext;
|
|
348
|
-
this.markOpenDataCallback(data, dataInfo);
|
|
349
|
-
};
|
|
350
|
-
this.form.evt.on("onLoadSuccess", async (event) => {
|
|
351
|
-
const data = event.data[0];
|
|
352
|
-
const result = await this.sendMarkDataAction("VIEW", data.srfkey);
|
|
353
|
-
if (result.ok && result.data.length > 0) {
|
|
354
|
-
result.data.forEach((item) => {
|
|
355
|
-
var _a;
|
|
356
|
-
if (item.data) {
|
|
357
|
-
(_a = this.coopPos) == null ? void 0 : _a.updateMessage({
|
|
358
|
-
data: item.data
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
this.subscribeMarkDataAction(data.srfkey, callback);
|
|
364
|
-
});
|
|
343
|
+
this.form.evt.on("onLoadSuccess", () => this.sendViewDataAction());
|
|
365
344
|
}
|
|
366
345
|
if (this.doActions.includes("EDIT")) {
|
|
367
346
|
let isWait = false;
|
|
368
|
-
this.form.evt.on("onFormDataChange", (
|
|
369
|
-
const data =
|
|
347
|
+
this.form.evt.on("onFormDataChange", () => {
|
|
348
|
+
const data = this.form.getData()[0];
|
|
370
349
|
if (isWait) {
|
|
371
350
|
return;
|
|
372
351
|
}
|
|
@@ -381,8 +360,8 @@ class EditViewEngine extends DEMainViewEngine {
|
|
|
381
360
|
});
|
|
382
361
|
}
|
|
383
362
|
if (this.doActions.includes("UPDATE")) {
|
|
384
|
-
this.form.evt.on("onSaveSuccess", (
|
|
385
|
-
const data =
|
|
363
|
+
this.form.evt.on("onSaveSuccess", () => {
|
|
364
|
+
const data = this.form.getData()[0];
|
|
386
365
|
this.sendMarkDataAction("UPDATE", data.srfkey);
|
|
387
366
|
});
|
|
388
367
|
}
|
|
@@ -5,6 +5,49 @@ export * from './data-view.engine';
|
|
|
5
5
|
export * from './opt-view.engine';
|
|
6
6
|
export * from './tab-exp-view.engine';
|
|
7
7
|
export * from './tree-exp-view.engine';
|
|
8
|
+
export * from './app-data-upload-view.engine';
|
|
9
|
+
export * from './calendar-exp-view.engine';
|
|
10
|
+
export * from './calendar-view.engine';
|
|
11
|
+
export * from './chart-exp-view.engine';
|
|
12
|
+
export * from './chart-view.engine';
|
|
13
|
+
export * from './custom-view.engine';
|
|
14
|
+
export * from './data-view-exp-view.engine';
|
|
15
|
+
export * from './de-index-view-engine';
|
|
16
|
+
export * from './edit-view.engine';
|
|
17
|
+
export * from './edit-view2.engine';
|
|
18
|
+
export * from './edit-view3.engine';
|
|
19
|
+
export * from './edit-view4.engine';
|
|
20
|
+
export * from './exp-view.engine';
|
|
21
|
+
export * from './form-pickup-data-view.engine';
|
|
22
|
+
export * from './gantt-view.engine';
|
|
23
|
+
export * from './grid-exp-view.engine';
|
|
24
|
+
export * from './kanban-view.engine';
|
|
25
|
+
export * from './list-exp-view.engine';
|
|
26
|
+
export * from './list-view.engine';
|
|
27
|
+
export * from './login-view.engine';
|
|
28
|
+
export * from './map-view.engine';
|
|
29
|
+
export * from './medit-view9.engine';
|
|
30
|
+
export * from './mpickup-view-engine';
|
|
31
|
+
export * from './mpickup-view2-engine';
|
|
32
|
+
export * from './panel-view-engine';
|
|
33
|
+
export * from './pickup-data-view.engine';
|
|
34
|
+
export * from './pickup-grid-view.engine';
|
|
35
|
+
export * from './pickup-tree-view.engine';
|
|
36
|
+
export * from './pickup-view.engine';
|
|
37
|
+
export * from './pickup-view2.engine';
|
|
38
|
+
export * from './portal-view-engine';
|
|
39
|
+
export * from './report-view.engine';
|
|
40
|
+
export * from './sub-app-ref-view.engine';
|
|
41
|
+
export * from './tab-search-view.engine';
|
|
42
|
+
export * from './tree-grid-ex-view.engine';
|
|
43
|
+
export * from './tree-grid-view.engine';
|
|
44
|
+
export * from './tree-view.engine';
|
|
45
|
+
export * from './wf-dyna-action-view.engine';
|
|
46
|
+
export * from './wf-dyna-edit-view.engine';
|
|
47
|
+
export * from './wf-dyna-edit-view3.engine';
|
|
48
|
+
export * from './wf-dyna-start-view.engine';
|
|
49
|
+
export * from './wf-step-data-view.engine';
|
|
50
|
+
export * from './wizard-view-engine';
|
|
8
51
|
export declare const IBizViewEngine: {
|
|
9
52
|
install: (_v: App) => void;
|
|
10
53
|
};
|
package/es/view-engine/index.mjs
CHANGED
|
@@ -46,6 +46,7 @@ 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
48
|
import { WFStepDataViewEngine } from './wf-step-data-view.engine.mjs';
|
|
49
|
+
export { ExpViewEngine } from './exp-view.engine.mjs';
|
|
49
50
|
|
|
50
51
|
"use strict";
|
|
51
52
|
const IBizViewEngine = {
|
|
@@ -301,4 +302,4 @@ const IBizViewEngine = {
|
|
|
301
302
|
}
|
|
302
303
|
};
|
|
303
304
|
|
|
304
|
-
export { DataViewEngine, GridViewEngine, IBizViewEngine, IndexViewEngine, OptViewEngine, TabExpViewEngine, TreeExpViewEngine };
|
|
305
|
+
export { AppDataUploadViewEngine, CalendarExpViewEngine, CalendarViewEngine, ChartExpViewEngine, ChartViewEngine, CustomViewEngine, DEIndexViewEngine, DataViewEngine, DataViewExpViewEngine, EditView2Engine, EditView3Engine, EditView4Engine, EditViewEngine, FormPickupDataViewEngine, GanttViewEngine, GridExpViewEngine, GridViewEngine, IBizViewEngine, IndexViewEngine, KanbanViewEngine, ListExpViewEngine, ListViewEngine, LoginViewEngine, MEditView9Engine, MPickupView2Engine, MPickupViewEngine, MapViewEngine, OptViewEngine, PanelViewEngine, PickupDataViewEngine, PickupGridViewEngine, PickupTreeViewEngine, PickupView2Engine, PickupViewEngine, PortalViewEngine, ReportViewEngine, SubAppRefViewEngine, TabExpViewEngine, TabSearchViewEngine, TreeExpViewEngine, TreeGridExViewEngine, TreeGridViewEngine, TreeViewEngine, WFDynaActionViewEngine, WFDynaEditView3Engine, WFDynaEditViewEngine, WFDynaStartViewEngine, WFStepDataViewEngine, WizardViewEngine };
|
|
@@ -30,6 +30,14 @@ export declare class PortalViewEngine extends DEMainViewEngine {
|
|
|
30
30
|
* @memberof PortalViewEngine
|
|
31
31
|
*/
|
|
32
32
|
refresh(): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* 主数据
|
|
35
|
+
*
|
|
36
|
+
* @protected
|
|
37
|
+
* @return {*} {IData[]}
|
|
38
|
+
* @memberof PortalViewEngine
|
|
39
|
+
*/
|
|
40
|
+
protected getData(): IData[];
|
|
33
41
|
/**
|
|
34
42
|
* 执行视图预置界面行为能力
|
|
35
43
|
*
|
|
@@ -31,6 +31,16 @@ class PortalViewEngine extends DEMainViewEngine {
|
|
|
31
31
|
async refresh() {
|
|
32
32
|
await this.dashboard.refresh();
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* 主数据
|
|
36
|
+
*
|
|
37
|
+
* @protected
|
|
38
|
+
* @return {*} {IData[]}
|
|
39
|
+
* @memberof PortalViewEngine
|
|
40
|
+
*/
|
|
41
|
+
getData() {
|
|
42
|
+
return this.view.state.srfactiveviewdata ? [this.view.state.srfactiveviewdata] : [];
|
|
43
|
+
}
|
|
34
44
|
/**
|
|
35
45
|
* 执行视图预置界面行为能力
|
|
36
46
|
*
|
|
@@ -62,30 +72,14 @@ class PortalViewEngine extends DEMainViewEngine {
|
|
|
62
72
|
* @memberof PortalViewEngine
|
|
63
73
|
*/
|
|
64
74
|
doMarkDataAction() {
|
|
65
|
-
|
|
75
|
+
super.doMarkDataAction();
|
|
66
76
|
if (this.doActions.includes("VIEW")) {
|
|
67
|
-
|
|
68
|
-
this.markOpenDataCallback(_data, data == null ? void 0 : data.srfmajortext);
|
|
69
|
-
};
|
|
70
|
-
this.view.evt.on("onDataChange", async (event) => {
|
|
71
|
-
data = event.data[0];
|
|
72
|
-
const result = await this.sendMarkDataAction("VIEW", data.srfkey);
|
|
73
|
-
if (result.ok && result.data.length > 0) {
|
|
74
|
-
result.data.forEach((item) => {
|
|
75
|
-
var _a;
|
|
76
|
-
if (item.data) {
|
|
77
|
-
(_a = this.coopPos) == null ? void 0 : _a.updateMessage({
|
|
78
|
-
data: item.data
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
this.subscribeMarkDataAction(data.srfkey, callback);
|
|
84
|
-
});
|
|
77
|
+
this.view.evt.on("onDataChange", () => this.sendViewDataAction());
|
|
85
78
|
}
|
|
86
79
|
if (this.doActions.includes("EDIT")) {
|
|
87
80
|
let isWait = false;
|
|
88
81
|
this.dashboard.evt.on("onConfigChange", () => {
|
|
82
|
+
const data = this.getData()[0];
|
|
89
83
|
if (!(data == null ? void 0 : data.srfkey) || isWait) {
|
|
90
84
|
return;
|
|
91
85
|
}
|
|
@@ -101,18 +95,12 @@ class PortalViewEngine extends DEMainViewEngine {
|
|
|
101
95
|
}
|
|
102
96
|
if (this.doActions.includes("UPDATE")) {
|
|
103
97
|
this.dashboard.evt.on("onSavePortlet", () => {
|
|
98
|
+
const data = this.getData()[0];
|
|
104
99
|
if (data == null ? void 0 : data.srfkey) {
|
|
105
100
|
this.sendMarkDataAction("UPDATE", data == null ? void 0 : data.srfkey);
|
|
106
101
|
}
|
|
107
102
|
});
|
|
108
103
|
}
|
|
109
|
-
if (this.doActions.includes("CLOSE")) {
|
|
110
|
-
this.view.evt.on("onCloseView", () => {
|
|
111
|
-
if (data == null ? void 0 : data.srfkey) {
|
|
112
|
-
this.sendMarkDataAction("CLOSE", data.srfkey);
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
104
|
}
|
|
117
105
|
}
|
|
118
106
|
|
package/es/web-app/App.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onUnmounted, createVNode, resolveComponent } from 'vue';
|
|
2
2
|
import { Modal, ViewMode } from '@ibiz-template/runtime';
|
|
3
|
+
import { AppHooks } from '@ibiz-template/vue3-util';
|
|
3
4
|
import './App.css';
|
|
4
5
|
|
|
5
6
|
"use strict";
|
|
@@ -17,6 +18,7 @@ var App = /* @__PURE__ */ defineComponent({
|
|
|
17
18
|
window.addEventListener("unload", destroyAppHub);
|
|
18
19
|
onUnmounted(() => {
|
|
19
20
|
destroyAppHub();
|
|
21
|
+
AppHooks.destoryApp.call(null);
|
|
20
22
|
});
|
|
21
23
|
return {
|
|
22
24
|
modal
|
|
@@ -15,7 +15,7 @@ async function attachEnvironmentConfig() {
|
|
|
15
15
|
Object.keys(ibiz.env).forEach((key) => {
|
|
16
16
|
const key2 = envMap.has(key) ? envMap.get(key) : key;
|
|
17
17
|
if (env[key2] != null) {
|
|
18
|
-
if (key2 === "customParams") {
|
|
18
|
+
if (key2 === "customParams" || key2 === "devtoolConfig") {
|
|
19
19
|
ibiz.env[key] = JSON.parse(env[key2]);
|
|
20
20
|
} else {
|
|
21
21
|
ibiz.env[key] = env[key2];
|
|
@@ -19,10 +19,10 @@ export declare const RouterShell: import("vue").DefineComponent<{
|
|
|
19
19
|
height?: number | undefined;
|
|
20
20
|
appDataEntityId?: string | undefined;
|
|
21
21
|
redirectView?: boolean | undefined;
|
|
22
|
-
modalOption?:
|
|
22
|
+
modalOption?: import("@ibiz-template/core").IApiData | undefined;
|
|
23
23
|
} | undefined;
|
|
24
|
-
context?:
|
|
25
|
-
params?:
|
|
24
|
+
context?: import("@ibiz-template/core").IApiParams | undefined;
|
|
25
|
+
params?: import("@ibiz-template/core").IApiParams | undefined;
|
|
26
26
|
srfnav?: string | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
isLoaded: import("vue").Ref<boolean>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RuntimeError, getAppCookie, CoreConst, HttpError } from '@ibiz-template/core';
|
|
2
2
|
import { mergeDeepRight } from 'ramda';
|
|
3
3
|
import { AppHooks } from '@ibiz-template/vue3-util';
|
|
4
|
+
import { updateDevToolConfig } from '@ibiz-template/devtool';
|
|
4
5
|
|
|
5
6
|
"use strict";
|
|
6
7
|
var __defProp = Object.defineProperty;
|
|
@@ -110,11 +111,13 @@ class AuthGuard {
|
|
|
110
111
|
* @return {*} {Promise<void>}
|
|
111
112
|
*/
|
|
112
113
|
async appInit(context) {
|
|
114
|
+
await AppHooks.beforeInitApp.call({ context });
|
|
113
115
|
try {
|
|
114
116
|
if (ibiz.env.isSaaSMode === true) {
|
|
115
117
|
await this.loadOrgData();
|
|
116
118
|
}
|
|
117
119
|
await this.loadAppData(context);
|
|
120
|
+
await AppHooks.authedApp.call({ context });
|
|
118
121
|
} catch (error) {
|
|
119
122
|
const responseStatus = error.status;
|
|
120
123
|
const remember = getAppCookie(CoreConst.TOKEN_REMEMBER);
|
|
@@ -126,6 +129,7 @@ class AuthGuard {
|
|
|
126
129
|
await this.loadOrgData();
|
|
127
130
|
}
|
|
128
131
|
await this.loadAppData(context);
|
|
132
|
+
await AppHooks.authedApp.call({ context });
|
|
129
133
|
} catch (refreshTokenError) {
|
|
130
134
|
throw error;
|
|
131
135
|
}
|
|
@@ -166,6 +170,7 @@ class AuthGuard {
|
|
|
166
170
|
}
|
|
167
171
|
if (res.ok) {
|
|
168
172
|
ibiz.appData = res.data;
|
|
173
|
+
updateDevToolConfig();
|
|
169
174
|
}
|
|
170
175
|
}
|
|
171
176
|
/**
|
|
@@ -35,6 +35,7 @@ class DynaAuthGuard extends AuthGuard {
|
|
|
35
35
|
const tempApp = await helper.getAppModel();
|
|
36
36
|
await this.initEnvironment(tempApp);
|
|
37
37
|
const app = await ibiz.hub.getAppAsync(ibiz.env.appId);
|
|
38
|
+
await AppHooks.initedApp.call({ context, app });
|
|
38
39
|
const appModel = app.model;
|
|
39
40
|
ibiz.env.isMob = appModel.mobileApp === true;
|
|
40
41
|
if (ibiz.env.isEnableMultiLan) {
|
|
@@ -52,6 +53,8 @@ class DynaAuthGuard extends AuthGuard {
|
|
|
52
53
|
const module = await import('@ibiz-template/web-theme');
|
|
53
54
|
const theme = module.default || module;
|
|
54
55
|
AppHooks.useComponent.callSync(null, theme);
|
|
56
|
+
if (ibiz.config.theme)
|
|
57
|
+
ibiz.util.theme.setTheme(ibiz.config.theme);
|
|
55
58
|
if (appModel.appUIThemes) {
|
|
56
59
|
await this.loadTheme();
|
|
57
60
|
}
|
package/es/web-app/main.mjs
CHANGED
|
@@ -34,7 +34,6 @@ async function runApp(plugins, opts) {
|
|
|
34
34
|
});
|
|
35
35
|
install();
|
|
36
36
|
install$1();
|
|
37
|
-
install$2();
|
|
38
37
|
ibiz.util.getGlobalParam = () => {
|
|
39
38
|
return useAppStore().appStore;
|
|
40
39
|
};
|
|
@@ -59,6 +58,7 @@ async function runApp(plugins, opts) {
|
|
|
59
58
|
});
|
|
60
59
|
});
|
|
61
60
|
await attachEnvironmentConfig();
|
|
61
|
+
install$2();
|
|
62
62
|
let authGuard;
|
|
63
63
|
if (opts == null ? void 0 : opts.getAuthGuard) {
|
|
64
64
|
authGuard = opts.getAuthGuard();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./action-toolbar.css');
|
|
6
5
|
var core = require('@ibiz-template/core');
|
|
6
|
+
require('./action-toolbar.css');
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
9
9
|
function _isSlot(s) {
|
|
@@ -48,7 +48,13 @@ const IBizActionToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
48
|
var _a;
|
|
49
49
|
const ns = vue3Util.useNamespace("action-toolbar");
|
|
50
50
|
const dropdownRef = vue.ref();
|
|
51
|
-
const
|
|
51
|
+
const groupButtonRef = vue.ref();
|
|
52
|
+
const {
|
|
53
|
+
popoverVisible,
|
|
54
|
+
setPopoverVisible
|
|
55
|
+
} = vue3Util.usePopoverVisible(groupButtonRef, (ele) => {
|
|
56
|
+
return ele.ref;
|
|
57
|
+
});
|
|
52
58
|
(_a = props.actionDetails) == null ? void 0 : _a.forEach((detail) => {
|
|
53
59
|
if (detail.capLanguageRes && detail.capLanguageRes.lanResTag) {
|
|
54
60
|
detail.caption = ibiz.i18n.t(detail.capLanguageRes.lanResTag, detail.caption);
|
|
@@ -63,7 +69,7 @@ const IBizActionToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
|
63
69
|
await props.actionCallBack(detail, e);
|
|
64
70
|
}
|
|
65
71
|
if (props.mode === "buttons") {
|
|
66
|
-
|
|
72
|
+
setPopoverVisible(false);
|
|
67
73
|
} else if (dropdownRef.value) {
|
|
68
74
|
dropdownRef.value.handleClose();
|
|
69
75
|
}
|
|
@@ -82,7 +88,6 @@ const IBizActionToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
88
|
}
|
|
83
89
|
});
|
|
84
90
|
}
|
|
85
|
-
const groupButtonRef = vue.ref();
|
|
86
91
|
const calcActionItemClass = (item) => {
|
|
87
92
|
const {
|
|
88
93
|
actionLevel
|
|
@@ -155,7 +160,10 @@ const IBizActionToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
|
155
160
|
"text": true,
|
|
156
161
|
"disabled": pdisabled,
|
|
157
162
|
"ref": "groupButtonRef",
|
|
158
|
-
"class": [this.ns.e("item"), this.ns.is("expand", this.popoverVisible)]
|
|
163
|
+
"class": [this.ns.e("item"), this.ns.is("group", true), this.ns.is("expand", this.popoverVisible)],
|
|
164
|
+
"onClick": () => {
|
|
165
|
+
this.popoverVisible = !this.popoverVisible;
|
|
166
|
+
}
|
|
159
167
|
}, {
|
|
160
168
|
icon: () => vue.createVNode("ion-icon", {
|
|
161
169
|
"class": this.ns.e("icon"),
|
|
@@ -165,9 +173,7 @@ const IBizActionToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
|
165
173
|
}), vue.createVNode(vue.resolveComponent("el-popover"), {
|
|
166
174
|
"placement": "bottom-start",
|
|
167
175
|
"virtual-ref": this.groupButtonRef,
|
|
168
|
-
"trigger": "click",
|
|
169
176
|
"visible": this.popoverVisible,
|
|
170
|
-
"onUpdate:visible": ($event) => this.popoverVisible = $event,
|
|
171
177
|
"popper-class": this.ns.e("popover"),
|
|
172
178
|
"virtual-triggering": true,
|
|
173
179
|
"popper-style": "z-index:".concat(this.popoverIndex)
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
var lodashEs = require('lodash-es');
|
|
6
|
+
require('../../util/index.cjs');
|
|
6
7
|
require('./button-list.css');
|
|
8
|
+
var buttonUtil = require('../../util/button-util/button-util.cjs');
|
|
7
9
|
|
|
8
10
|
"use strict";
|
|
9
11
|
function _isSlot(s) {
|
|
@@ -26,7 +28,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
28
|
}
|
|
27
29
|
},
|
|
28
30
|
emits: {
|
|
29
|
-
click: (
|
|
31
|
+
click: (_id, _e) => true
|
|
30
32
|
},
|
|
31
33
|
setup(props, {
|
|
32
34
|
emit
|
|
@@ -35,18 +37,26 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
37
|
const dropdown = vue.ref();
|
|
36
38
|
const componentRef = vue.ref();
|
|
37
39
|
const {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
actionGroupExtractMode,
|
|
41
|
+
buttonListType,
|
|
42
|
+
uiactionGroup
|
|
40
43
|
} = props.model;
|
|
41
44
|
const sliceIndex = vue.ref(-1);
|
|
42
45
|
const isActivated = vue.ref(true);
|
|
43
46
|
const visible = vue.ref(false);
|
|
47
|
+
const details = vue.computed(() => {
|
|
48
|
+
if (buttonListType === "UIACTIONGROUP")
|
|
49
|
+
return (uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails) || [];
|
|
50
|
+
return props.model.panelButtons || props.model.deformButtons || [];
|
|
51
|
+
});
|
|
44
52
|
const firstIndex = vue.computed(() => {
|
|
45
|
-
|
|
46
|
-
|
|
53
|
+
const index = details.value.findIndex((item) => {
|
|
54
|
+
var _a;
|
|
55
|
+
return ((_a = props.buttonsState[item.id]) == null ? void 0 : _a.visible) !== false;
|
|
56
|
+
});
|
|
47
57
|
return index === void 0 ? -1 : index;
|
|
48
58
|
});
|
|
49
|
-
const
|
|
59
|
+
const buttonListStyle = vue.computed(() => {
|
|
50
60
|
const {
|
|
51
61
|
itemStyle,
|
|
52
62
|
detailStyle
|
|
@@ -54,7 +64,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
64
|
return itemStyle || detailStyle || "DEFAULT";
|
|
55
65
|
});
|
|
56
66
|
const trigger = vue.computed(() => {
|
|
57
|
-
return actionGroupExtractMode === "ITEMX" &&
|
|
67
|
+
return actionGroupExtractMode === "ITEMX" && buttonListStyle.value === "STYLE2" ? "hover" : "click";
|
|
58
68
|
});
|
|
59
69
|
const calcItemWidth = (item) => {
|
|
60
70
|
const computedStyle = getComputedStyle(item);
|
|
@@ -102,7 +112,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
102
112
|
});
|
|
103
113
|
let resizeObserver;
|
|
104
114
|
vue.onMounted(() => {
|
|
105
|
-
if (actionGroupExtractMode === "ITEM") {
|
|
115
|
+
if (actionGroupExtractMode === "ITEM" || buttonListType === "BUTTONS") {
|
|
106
116
|
handleResize = lodashEs.debounce(handleResize, 33.34);
|
|
107
117
|
if (componentRef.value && ResizeObserver) {
|
|
108
118
|
resizeObserver = new ResizeObserver(() => {
|
|
@@ -116,39 +126,39 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
116
126
|
var _a, _b;
|
|
117
127
|
e.stopPropagation();
|
|
118
128
|
(_b = (_a = dropdown.value) == null ? void 0 : _a.handleClose) == null ? void 0 : _b.call(_a);
|
|
119
|
-
emit("click",
|
|
129
|
+
emit("click", item.id, e);
|
|
120
130
|
};
|
|
121
131
|
const handleMoreClick = (e, item) => {
|
|
122
132
|
var _a, _b, _c, _d;
|
|
123
133
|
e.stopPropagation();
|
|
124
134
|
if (trigger.value === "hover") {
|
|
125
|
-
emit("click",
|
|
135
|
+
emit("click", item.id, e);
|
|
126
136
|
} else if (visible.value) {
|
|
127
137
|
(_b = (_a = dropdown.value) == null ? void 0 : _a.handleClose) == null ? void 0 : _b.call(_a);
|
|
128
138
|
} else {
|
|
129
139
|
(_d = (_c = dropdown.value) == null ? void 0 : _c.handleOpen) == null ? void 0 : _d.call(_c);
|
|
130
140
|
}
|
|
131
141
|
};
|
|
132
|
-
const renderButton = (item,
|
|
133
|
-
var _a, _b;
|
|
134
|
-
if (props.buttonsState[item.id].visible)
|
|
135
|
-
return
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
142
|
+
const renderButton = (item, type) => {
|
|
143
|
+
var _a, _b, _c, _d;
|
|
144
|
+
if (((_a = props.buttonsState[item.id]) == null ? void 0 : _a.visible) === false)
|
|
145
|
+
return null;
|
|
146
|
+
return vue.createVNode(vue.resolveComponent("el-button"), {
|
|
147
|
+
"class": [ns.e("item"), ns.em("item", "".concat((_b = item.id) == null ? void 0 : _b.toLowerCase())), "".concat(((_c = item.sysCss) == null ? void 0 : _c.cssName) || "")],
|
|
148
|
+
"type": type || buttonUtil.convertBtnType(item.buttonStyle),
|
|
149
|
+
"title": item.tooltip || item.caption,
|
|
150
|
+
"disabled": ((_d = props.buttonsState[item.id]) == null ? void 0 : _d.disabled) || props.disabled,
|
|
151
|
+
"onClick": (event) => handleClick(event, item)
|
|
152
|
+
}, {
|
|
153
|
+
default: () => [vue.createVNode("div", {
|
|
154
|
+
"class": ns.e("button-content")
|
|
155
|
+
}, [item.showIcon && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
156
|
+
"icon": item.sysImage,
|
|
157
|
+
"class": ns.em("button-content", "icon")
|
|
158
|
+
}, null), item.showCaption && vue.createVNode("span", {
|
|
159
|
+
"class": ns.em("button-content", "caption")
|
|
160
|
+
}, [item.caption])])]
|
|
161
|
+
});
|
|
152
162
|
};
|
|
153
163
|
const renderDropdown = (items, iconName = "chevron-down-outline") => {
|
|
154
164
|
const {
|
|
@@ -159,8 +169,9 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
159
169
|
return vue.createVNode(vue.resolveComponent("el-dropdown"), {
|
|
160
170
|
"ref": dropdown,
|
|
161
171
|
"trigger": trigger.value,
|
|
162
|
-
"
|
|
163
|
-
"
|
|
172
|
+
"disabled": props.disabled,
|
|
173
|
+
"class": [ns.e("dropdown"), ns.em("dropdown", "".concat(buttonListStyle.value.toLowerCase()))],
|
|
174
|
+
"popper-class": [ns.e("dropdown-popper"), ns.em("dropdown-popper", "".concat(buttonListStyle.value.toLowerCase())), ns.em("dropdown-popper", "".concat(id == null ? void 0 : id.toLowerCase()))],
|
|
164
175
|
"popper-options": {
|
|
165
176
|
modifiers: [{
|
|
166
177
|
name: "offset",
|
|
@@ -176,10 +187,11 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
176
187
|
default: () => {
|
|
177
188
|
const item = items[firstIndex.value];
|
|
178
189
|
return vue.createVNode(vue.resolveComponent("el-button-group"), null, {
|
|
179
|
-
default: () => [actionGroupExtractMode === "ITEMX" && item && renderButton(item,
|
|
190
|
+
default: () => [actionGroupExtractMode === "ITEMX" && item && renderButton(item, buttonUtil.convertBtnType(buttonListStyle.value)), (actionGroupExtractMode !== "ITEMX" || item) && vue.createVNode(vue.resolveComponent("el-button"), {
|
|
180
191
|
"disabled": props.disabled,
|
|
181
192
|
"class": ns.e("more-button"),
|
|
182
193
|
"title": actionGroupExtractMode !== "ITEMX" ? caption || ibiz.i18n.t("app.more") : ibiz.i18n.t("app.more"),
|
|
194
|
+
"type": buttonUtil.convertBtnType(buttonListStyle.value),
|
|
183
195
|
"onClick": (event) => handleMoreClick(event, item)
|
|
184
196
|
}, {
|
|
185
197
|
default: () => [vue.createVNode("div", {
|
|
@@ -199,7 +211,8 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
199
211
|
dropdown: () => {
|
|
200
212
|
let _slot2;
|
|
201
213
|
return vue.createVNode(vue.resolveComponent("el-dropdown-menu"), null, _isSlot(_slot2 = items.map((item, index) => {
|
|
202
|
-
|
|
214
|
+
var _a;
|
|
215
|
+
if (!(((_a = props.buttonsState[item.id]) == null ? void 0 : _a.visible) === false) && (actionGroupExtractMode !== "ITEMX" || index !== firstIndex.value)) {
|
|
203
216
|
let _slot;
|
|
204
217
|
return vue.createVNode(vue.resolveComponent("el-dropdown-item"), null, _isSlot(_slot = renderButton(item)) ? _slot : {
|
|
205
218
|
default: () => [_slot]
|
|
@@ -213,7 +226,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
213
226
|
});
|
|
214
227
|
};
|
|
215
228
|
const renderActions = () => {
|
|
216
|
-
const groupDetails =
|
|
229
|
+
const groupDetails = details.value || [];
|
|
217
230
|
const items = sliceIndex.value === -1 ? groupDetails : groupDetails.slice(0, sliceIndex.value);
|
|
218
231
|
const moreItems = sliceIndex.value === -1 ? [] : groupDetails.slice(sliceIndex.value);
|
|
219
232
|
return vue.createVNode("div", {
|
|
@@ -223,19 +236,18 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
223
236
|
};
|
|
224
237
|
return {
|
|
225
238
|
ns,
|
|
226
|
-
|
|
227
|
-
|
|
239
|
+
buttonListStyle,
|
|
240
|
+
details,
|
|
228
241
|
renderDropdown,
|
|
229
242
|
renderActions
|
|
230
243
|
};
|
|
231
244
|
},
|
|
232
245
|
render() {
|
|
233
|
-
var _a
|
|
234
|
-
const items = ((_a = this.uiactionGroup) == null ? void 0 : _a.uiactionGroupDetails) || [];
|
|
246
|
+
var _a;
|
|
235
247
|
return vue.createVNode("div", {
|
|
236
|
-
"class": [this.ns.b(), this.ns.m(this.model.id), this.ns.m(this.
|
|
248
|
+
"class": [this.ns.b(), this.ns.m(this.model.id), this.ns.m(this.buttonListStyle.toLowerCase()), this.ns.m((_a = this.model.actionGroupExtractMode) == null ? void 0 : _a.toLowerCase())],
|
|
237
249
|
"style": this.model.cssStyle
|
|
238
|
-
}, [this.model.actionGroupExtractMode === "ITEM" ? this.renderActions() : this.renderDropdown(
|
|
250
|
+
}, [this.model.actionGroupExtractMode === "ITEM" || this.model.buttonListType === "BUTTONS" ? this.renderActions() : this.renderDropdown(this.details)]);
|
|
239
251
|
}
|
|
240
252
|
});
|
|
241
253
|
|
|
@@ -19,6 +19,7 @@ const IBizControlNavigation = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
const ns = vue3Util.useNamespace("control-navigation");
|
|
20
20
|
const provider = index.getNavigationProvider(props.controller);
|
|
21
21
|
const outerWrapper = vue.ref(null);
|
|
22
|
+
const isEmbedCtrlNav = vue.ref(false);
|
|
22
23
|
const {
|
|
23
24
|
navViewPos,
|
|
24
25
|
controlParam,
|
|
@@ -39,10 +40,14 @@ const IBizControlNavigation = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
40
|
const navRenderMode = ((_a = controlParam == null ? void 0 : controlParam.ctrlParams) == null ? void 0 : _a.navRenderMode) ? controlParam.ctrlParams.navRenderMode : "RELOAD";
|
|
40
41
|
const splitValue = vue.ref(0.5);
|
|
41
42
|
const splitMode = vue.ref(["BOTTOM", "ANY_BOTTOM"].includes(navViewPos) ? "vertical" : "horizontal");
|
|
42
|
-
vue.watch(() => provider.navViewMsg.value, (newVal, oldVal) => {
|
|
43
|
+
vue.watch(() => provider.navViewMsg.value, async (newVal, oldVal) => {
|
|
43
44
|
if (navRenderMode === "REDRAW" || !newVal || oldVal && newVal.viewId !== oldVal.viewId) {
|
|
44
45
|
navViewMsg.value = newVal;
|
|
45
46
|
} else {
|
|
47
|
+
const viewModel = await ibiz.hub.getAppView(newVal.viewId);
|
|
48
|
+
if (viewModel && viewModel.viewType === "DEREDIRECTVIEW") {
|
|
49
|
+
isEmbedCtrlNav.value = true;
|
|
50
|
+
}
|
|
46
51
|
navViewMsg.value = {
|
|
47
52
|
context: newVal.context,
|
|
48
53
|
params: newVal.params,
|
|
@@ -73,6 +78,7 @@ const IBizControlNavigation = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
78
|
return;
|
|
74
79
|
return vue.h(vue.resolveComponent("IBizViewShell"), {
|
|
75
80
|
...navViewMsg.value,
|
|
81
|
+
isEmbedCtrlNav: isEmbedCtrlNav.value,
|
|
76
82
|
class: ns.e("nav-view")
|
|
77
83
|
});
|
|
78
84
|
}
|
|
@@ -116,9 +116,12 @@ class NavgationBaseProvider {
|
|
|
116
116
|
* @memberof NavgationBaseProvider
|
|
117
117
|
*/
|
|
118
118
|
onNavDataChange(event) {
|
|
119
|
+
var _a;
|
|
119
120
|
const { navData, context, params } = event;
|
|
120
|
-
this.
|
|
121
|
-
|
|
121
|
+
if (((_a = this.navViewMsg.value) == null ? void 0 : _a.key) !== navData[this.keyName]) {
|
|
122
|
+
this.navStack.unshift(navData[this.keyName]);
|
|
123
|
+
this.navViewMsg.value = this.getNavViewMsg(navData, context, params);
|
|
124
|
+
}
|
|
122
125
|
}
|
|
123
126
|
/**
|
|
124
127
|
* 获取导航视图信息
|
|
@@ -27,7 +27,7 @@ function useMapManager(controller, opts, calcEchartsOpts) {
|
|
|
27
27
|
const setOption = async (data) => {
|
|
28
28
|
controller.options = data;
|
|
29
29
|
await controller.evt.emit("onBeforeUpdate", { data });
|
|
30
|
-
chart.setOption(data);
|
|
30
|
+
chart.setOption(data, true);
|
|
31
31
|
};
|
|
32
32
|
const registerMap = async (name) => {
|
|
33
33
|
if (mapInfos.has(name)) {
|