@ibiz-template/vue3-components 0.7.38-alpha.56 → 0.7.39
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-6LwfUyrp.js +1 -0
- package/dist/index-AFjh74yw.js +4 -0
- package/dist/index-JACr82NV.js +1 -0
- package/dist/index-rzZcg_Jf.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-user-3inZInah.js +1 -0
- package/dist/wang-editor-fgIF44E-.js +1 -0
- package/dist/xlsx-util-qRiaKYpk.js +2 -0
- package/es/common/action-toolbar/action-toolbar.d.ts +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +15 -9
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.mjs +1 -1
- package/es/common/anchor-container/anchor-container.mjs +1 -1
- package/es/common/button-list/button-list.d.ts +5 -5
- package/es/common/button-list/button-list.mjs +54 -42
- package/es/common/carousel/carousel.mjs +1 -1
- package/es/common/carousel-card/carousel-card.mjs +1 -1
- package/es/common/col/col.mjs +1 -1
- package/es/common/control-navigation/control-navigation.mjs +1 -1
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +5 -2
- package/es/common/coop-alert/coop-alert.mjs +1 -1
- package/es/common/cropping/cropping.mjs +1 -1
- package/es/common/custom-filter-condition/custom-filter-condition.mjs +1 -1
- package/es/common/custom-theme/custom-theme.mjs +1 -1
- package/es/common/data-import/data-import.mjs +1 -1
- package/es/common/data-import2/data-import2.mjs +2 -2
- package/es/common/data-import2-select/data-import2-select.mjs +1 -1
- package/es/common/data-import2-table/data-import2-table.mjs +1 -1
- package/es/common/doing-notice/doing-notice.mjs +1 -1
- package/es/common/emoji-select/components/categories/categories.mjs +1 -1
- package/es/common/emoji-select/components/category-label/category-label.mjs +1 -1
- package/es/common/emoji-select/components/emoji-item/emoji-item.mjs +1 -1
- package/es/common/emoji-select/components/emoji-list/emoji-list.mjs +1 -1
- package/es/common/emoji-select/components/input-search/input-search.mjs +1 -1
- package/es/common/emoji-select/emoji-select.mjs +1 -1
- package/es/common/extend-action-timeline/extend-action-timeline.mjs +1 -1
- package/es/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.mjs +1 -1
- package/es/common/fullscreen-toolbar/fullscreen-toolbar.mjs +1 -1
- package/es/common/gantt-setting/gantt-setting.mjs +1 -1
- package/es/common/grid-setting/grid-setting.mjs +1 -1
- package/es/common/map-chart/map-chart.mjs +2 -2
- package/es/common/map-chart-user/map-chart-user.mjs +2 -2
- package/es/common/map-chart-user/map-user-manager.mjs +1 -1
- package/es/common/nav-split/nav-split.mjs +1 -1
- package/es/common/no-data/no-data.mjs +1 -1
- package/es/common/pagination/pagination.mjs +1 -1
- package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.mjs +1 -1
- package/es/common/pql-editor/pql-editor.mjs +1 -1
- package/es/common/pql-editor/pql-editor.module.mjs +2 -2
- package/es/common/quick-edit/quick-edit.d.ts +11 -1
- package/es/common/quick-edit/quick-edit.mjs +27 -7
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.mjs +5 -4
- package/es/common/row/row.mjs +1 -1
- package/es/common/sort-bar/sort-bar.mjs +1 -1
- package/es/common/split/split.mjs +1 -1
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/view-message/view-message.mjs +7 -5
- package/es/control/app-menu/app-menu.mjs +1 -1
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +1 -1
- package/es/control/app-menu/index.mjs +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +1 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/calendar/calendar.mjs +1 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +1 -1
- package/es/control/calendar/components/calendar-user/calendar-user.mjs +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +1 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +1 -1
- package/es/control/calendar/components/interface/calendar-daily.mjs +1 -1
- package/es/control/calendar/components/interface/calendar-user.mjs +1 -1
- package/es/control/calendar/components/interface/calendar-week.mjs +1 -1
- package/es/control/calendar/components/interface/custom-calendar.mjs +1 -1
- package/es/control/calendar/index.mjs +1 -1
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/caption-bar/index.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/chart/index.mjs +1 -1
- package/es/control/context-menu/context-menu.css +1 -1
- package/es/control/context-menu/context-menu.d.ts +3 -1
- package/es/control/context-menu/context-menu.mjs +25 -10
- package/es/control/context-menu/index.d.ts +3 -1
- package/es/control/context-menu/index.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +9 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +1 -1
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +1 -1
- package/es/control/dashboard/dashboard.mjs +1 -1
- package/es/control/dashboard/index.mjs +1 -1
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.mjs +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +1 -1
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/report-portlet/report-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +74 -88
- package/es/control/data-view/index.mjs +1 -1
- package/es/control/drbar/drbar.mjs +1 -1
- package/es/control/drbar/index.mjs +1 -1
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.mjs +1 -1
- package/es/control/drtab/index.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.mjs +1 -1
- package/es/control/exp-bar/chart-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.mjs +1 -1
- package/es/control/exp-bar/data-view-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.mjs +1 -1
- package/es/control/exp-bar/grid-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/list-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.mjs +1 -1
- package/es/control/exp-bar/render-util.mjs +2 -2
- package/es/control/exp-bar/tree-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +1 -1
- 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 +28 -6
- package/es/control/form/edit-form/index.d.ts +2 -73
- package/es/control/form/edit-form/index.mjs +1 -1
- package/es/control/form/form/form.css +1 -1
- package/es/control/form/form/form.mjs +2 -2
- package/es/control/form/form-detail/form-button/form-button.mjs +5 -2
- 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 +8 -4
- 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-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +13 -14
- 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 +3 -3
- package/es/control/form/form-detail/form-item/form-item.mjs +33 -45
- package/es/control/form/form-detail/form-item/index.d.ts +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +12 -15
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +12 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +1 -1
- 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 +11 -1
- 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.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +1 -1
- package/es/control/form/form-detail/form-page/form-page-item/form-page.item.mjs +1 -1
- package/es/control/form/form-detail/form-page/form-page.mjs +1 -1
- 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-page/form-tab-page.mjs +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +1 -1
- package/es/control/form/search-form/index.d.ts +8 -0
- package/es/control/form/search-form/index.mjs +1 -1
- package/es/control/form/search-form/search-form.d.ts +8 -0
- package/es/control/form/search-form/search-form.mjs +22 -2
- package/es/control/gantt/gantt.mjs +1 -1
- package/es/control/gantt/index.mjs +1 -1
- package/es/control/grid/grid/grid-control.util.mjs +15 -9
- package/es/control/grid/grid/grid.mjs +1 -1
- package/es/control/grid/grid/index.mjs +1 -1
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.mjs +1 -1
- 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.mjs +1 -1
- 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-edit-item/grid-edit-item.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +1 -1
- package/es/control/grid/grid-column/grid-group-column/grid-group-column.mjs +1 -1
- package/es/control/grid/grid-column/grid-ua-column/grid-ua-column.mjs +1 -1
- package/es/control/grid/row-edit-popover/row-edit-popover.mjs +1 -1
- package/es/control/kanban/index.mjs +1 -1
- package/es/control/kanban/kanban.mjs +1 -1
- package/es/control/list/index.mjs +1 -1
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.mjs +65 -59
- package/es/control/map/index.mjs +1 -1
- package/es/control/map/map.mjs +1 -1
- package/es/control/medit-view-panel/index.mjs +1 -1
- package/es/control/medit-view-panel/medit-view-panel.mjs +1 -1
- package/es/control/pickup-view-panel/index.mjs +1 -1
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +1 -1
- package/es/control/report-panel/index.mjs +1 -1
- package/es/control/report-panel/report-detail/bi-report-panel/bi-report-panel.mjs +1 -1
- package/es/control/report-panel/report-detail/user-report-panel/user-report-panel.mjs +1 -1
- package/es/control/report-panel/report-detail/user2-report-panel/user2-report-panel.mjs +1 -1
- package/es/control/report-panel/report-panel.mjs +1 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.mjs +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.mjs +1 -1
- package/es/control/search-bar/index.mjs +1 -1
- package/es/control/search-bar/quick-search-select/quick-search-select.mjs +1 -1
- package/es/control/search-bar/search-bar.mjs +1 -1
- package/es/control/search-bar/search-groups/search-groups.mjs +1 -1
- package/es/control/tab-exp-panel/index.mjs +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +1 -1
- package/es/control/toolbar/export-excel/export-excel.mjs +10 -6
- package/es/control/toolbar/index.mjs +1 -1
- package/es/control/toolbar/short-cut-button/short-cut-button.mjs +5 -4
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +24 -20
- package/es/control/tree/index.mjs +1 -1
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.mjs +1 -1
- package/es/control/tree-grid/index.mjs +1 -1
- package/es/control/tree-grid/tree-grid.mjs +1 -1
- package/es/control/tree-grid-ex/index.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +1 -1
- package/es/control/wizard-panel/index.mjs +1 -1
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.mjs +1 -1
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +3 -0
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +1 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +2 -3
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +1 -1
- 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 +3 -2
- package/es/editor/code/monaco-editor/monaco-editor.mjs +307 -12
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.mjs +1 -1
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.mjs +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +4 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +2 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +10 -4
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +7 -3
- 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 +1 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +8 -1
- 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 +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +3 -1
- package/es/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.mjs +1 -1
- package/es/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.mjs +2 -2
- package/es/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.mjs +1 -1
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +1 -1
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +8 -4
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +1 -1
- package/es/editor/html/html-editor.controller.mjs +1 -1
- package/es/editor/html/wang-editor/component/emoji/emoji.mjs +1 -1
- package/es/editor/html/wang-editor/module/emoji-module.mjs +2 -2
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +191 -57
- package/es/editor/index.mjs +80 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.mjs +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +111 -12
- 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 +16 -3
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
- 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 +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.mjs +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +10 -4
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +1 -1
- package/es/editor/span/span/span.mjs +1 -1
- package/es/editor/span/span-link/span-link.d.ts +1 -1
- package/es/editor/span/span-link/span-link.mjs +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.d.ts +2 -2
- 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 +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +1 -1
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.mjs +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +1 -1
- package/es/editor/upload/upload-editor.controller.mjs +7 -3
- package/es/editor/upload/upload-editor.provider.mjs +3 -0
- package/es/editor/upload/use/use-iview-upload.mjs +1 -1
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +1 -1
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/index.mjs +45 -0
- package/es/locale/en/index.d.ts +22 -0
- package/es/locale/en/index.mjs +22 -4
- package/es/locale/zh-CN/index.d.ts +22 -0
- package/es/locale/zh-CN/index.mjs +22 -4
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/h.mjs +3 -1
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/htmldomapi.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/index.mjs +2 -0
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/init.mjs +9 -25
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/jsx.mjs +3 -0
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/attributes.mjs +3 -7
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/dataset.mjs +2 -2
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/eventlisteners.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/style.mjs +6 -6
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/thunk.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/tovnode.mjs +8 -2
- package/es/panel-component/auth-captcha/auth-captcha.mjs +1 -1
- package/es/panel-component/auth-sso/auth-sso.mjs +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -1
- package/es/panel-component/coop-pos/coop-pos.mjs +1 -1
- package/es/panel-component/data-import/data-import-shell.mjs +1 -1
- package/es/panel-component/index-actions/index-actions.mjs +1 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +6 -2
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +1 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.mjs +1 -1
- package/es/panel-component/panel-app-header/panel-app-header.mjs +1 -1
- package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +1 -1
- package/es/panel-component/panel-app-title/index.d.ts +1 -0
- 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 +10 -3
- 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 +8 -21
- 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 +4 -4
- package/es/panel-component/panel-exp-header/panel-exp-header.mjs +1 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +1 -1
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +1 -1
- package/es/panel-component/panel-static-carousel/panel-static-carousel.mjs +1 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +1 -1
- package/es/panel-component/panel-view-content/panel-view-content.mjs +1 -1
- package/es/panel-component/panel-view-header/panel-view-header.mjs +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +6 -1
- package/es/panel-component/short-cut/short-cut.mjs +1 -1
- package/es/panel-component/split-container/split-container.mjs +1 -1
- package/es/panel-component/user-action/user-action.mjs +1 -1
- package/es/panel-component/user-message/addin-changed/addin-changed.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action/async-action.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-preview/async-action-preview.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-result/async-action-result.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +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/internal-message/internal-message-tab/internal-message-tab.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-text/internal-message-text.mjs +1 -1
- package/es/panel-component/user-message/user-message.mjs +4 -2
- package/es/panel-component/view-message/view-message.mjs +1 -1
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +1 -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-drawer/app-drawer-component.mjs +2 -2
- package/es/util/app-float-window/app-float-window-component.mjs +2 -2
- package/es/util/app-modal/app-modal-component.mjs +2 -2
- package/es/util/app-popover/app-popover-component.mjs +2 -2
- 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.mjs +2 -2
- 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/util/pagination/use-pagination.mjs +1 -1
- package/es/util/render-util/render-util.mjs +1 -1
- 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/404-view/404-view.mjs +1 -1
- package/es/view/error-view/error-view.mjs +1 -1
- package/es/view/login-view/login-view.mjs +1 -1
- package/es/view/share-view/share-view.mjs +1 -1
- package/es/view/sub-app-ref-view/index.mjs +1 -1
- package/es/view/sub-app-ref-view/sub-app-ref-view.mjs +1 -1
- package/es/view/wf-step-trace-view/index.mjs +1 -1
- package/es/view/wf-step-trace-view/wf-step-trace-view.mjs +1 -1
- 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 -2
- package/es/web-app/attach-environment-config.mjs +1 -1
- package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +1 -1
- package/es/web-app/components/router-shell/router-shell.mjs +2 -2
- package/es/web-app/guard/auth-guard/auth-guard.mjs +3 -1
- package/es/web-app/main.mjs +1 -1
- package/es/web-app/router/index.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/provider/navigation-base.provider.cjs +5 -2
- package/lib/common/map-chart-user/map-user-manager.cjs +1 -1
- package/lib/common/pql-editor/pql-editor.module.cjs +2 -2
- 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/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 +11 -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 +14 -8
- 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.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 +306 -11
- 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/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.cjs +1 -1
- package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +7 -3
- package/lib/editor/html/html-editor.controller.cjs +1 -1
- package/lib/editor/html/wang-editor/module/emoji-module.cjs +2 -2
- package/lib/editor/html/wang-editor/wang-editor.cjs +188 -54
- package/lib/editor/index.cjs +80 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +109 -10
- 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/text-box/input/input.cjs +191 -58
- 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 +22 -4
- package/lib/locale/zh-CN/index.cjs +22 -4
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/h.cjs +3 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/htmldomapi.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/index.cjs +5 -2
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/init.cjs +8 -24
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/jsx.cjs +3 -0
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/attributes.cjs +3 -7
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/dataset.cjs +2 -2
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/eventlisteners.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/style.cjs +6 -6
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/thunk.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/tovnode.cjs +8 -2
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +5 -1
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +9 -2
- 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/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/attach-environment-config.cjs +1 -1
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +2 -0
- package/lib/web-app/main.cjs +1 -1
- package/package.json +29 -29
- 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
- package/dist/xlsx-util-BApCDhEk.js +0 -2
- /package/dist/{chart-C4Y8Daxm.js → chart-WOVYJZdX.js} +0 -0
- /package/dist/{map-chart-Byqjtna-.js → map-chart-eydeBW7e.js} +0 -0
- /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.39_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/es/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.10}/node_modules/dayjs/locale/zh-cn.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/helpers/attachto.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/hooks.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/is.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/class.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/props.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/vnode.mjs +0 -0
- /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.39_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
- /package/lib/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.10}/node_modules/dayjs/locale/zh-cn.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/helpers/attachto.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/hooks.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/is.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/class.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/modules/props.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.6.2 → snabbdom@3.5.1}/node_modules/snabbdom/build/vnode.cjs +0 -0
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { getDeACMode, calcDeCodeNameById, ConfigService, UIActionUtil, SysUIActionTag } from '@ibiz-template/runtime';
|
|
2
|
+
import { createUUID } from 'qx-util';
|
|
3
|
+
import { CoreConst, getAppCookie, IBizContext } from '@ibiz-template/core';
|
|
4
|
+
import { useUIStore } from '@ibiz-template/vue3-util';
|
|
5
|
+
import { calcAiToolbarItemsByAc } from '../ai-util/ai-util.mjs';
|
|
6
|
+
|
|
1
7
|
"use strict";
|
|
2
8
|
class AppUtil {
|
|
3
9
|
/**
|
|
@@ -148,6 +154,281 @@ class AppUtil {
|
|
|
148
154
|
}
|
|
149
155
|
return true;
|
|
150
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* 打开AI聊天
|
|
159
|
+
*
|
|
160
|
+
* @param {IAiChatParam} chartParams
|
|
161
|
+
* @return {*} {Promise<IChatMessage[]>}
|
|
162
|
+
* @memberof AppUtil
|
|
163
|
+
*/
|
|
164
|
+
async openAiChat(chartParams) {
|
|
165
|
+
const {
|
|
166
|
+
data,
|
|
167
|
+
view,
|
|
168
|
+
ctrl,
|
|
169
|
+
params,
|
|
170
|
+
context,
|
|
171
|
+
appDEACModeId,
|
|
172
|
+
appDataEntityId
|
|
173
|
+
} = chartParams;
|
|
174
|
+
const deACMode = await getDeACMode(
|
|
175
|
+
appDEACModeId,
|
|
176
|
+
appDataEntityId,
|
|
177
|
+
context.srfappid
|
|
178
|
+
);
|
|
179
|
+
if (!deACMode)
|
|
180
|
+
return Promise.resolve([]);
|
|
181
|
+
const {
|
|
182
|
+
contentToolbarItems,
|
|
183
|
+
footerToolbarItems,
|
|
184
|
+
questionToolbarItems,
|
|
185
|
+
otherToolbarItems
|
|
186
|
+
} = calcAiToolbarItemsByAc(deACMode);
|
|
187
|
+
const module = await import('@ibiz-template-plugin/ai-chat');
|
|
188
|
+
const chatInstance = module.chat || module.default.chat;
|
|
189
|
+
const messages = [];
|
|
190
|
+
const appDataEntityName = calcDeCodeNameById(appDataEntityId);
|
|
191
|
+
let topicId = "".concat(context.srfsystemid, "_").concat(context.srfappid, "_").concat(appDataEntityId, "_").concat(appDEACModeId, "_");
|
|
192
|
+
topicId += context[appDataEntityName] ? context[appDataEntityName] : createUUID();
|
|
193
|
+
const caption = "[".concat(deACMode.logicName, "]").concat((data == null ? void 0 : data.srfmajortext) || "");
|
|
194
|
+
const tempParams = { ...params, ...{ srfactag: deACMode.codeName } };
|
|
195
|
+
const { zIndex } = useUIStore();
|
|
196
|
+
const containerZIndex = zIndex.increment();
|
|
197
|
+
return new Promise((resolve) => {
|
|
198
|
+
let id = "";
|
|
199
|
+
let abortController;
|
|
200
|
+
chatInstance.create({
|
|
201
|
+
mode: "TOPIC",
|
|
202
|
+
containerOptions: {
|
|
203
|
+
zIndex: containerZIndex,
|
|
204
|
+
enableBackFill: false
|
|
205
|
+
},
|
|
206
|
+
topicOptions: {
|
|
207
|
+
appid: ibiz.env.appId,
|
|
208
|
+
id: topicId,
|
|
209
|
+
caption,
|
|
210
|
+
url: window.location.hash.substring(1),
|
|
211
|
+
type: context.srftopicpath || "default",
|
|
212
|
+
beforeDelete: async (...args) => {
|
|
213
|
+
const isBatchRemove = args[4];
|
|
214
|
+
const result = await ibiz.confirm.warning({
|
|
215
|
+
title: ibiz.i18n.t(
|
|
216
|
+
"util.appUtil.".concat(isBatchRemove ? "clearTopic" : "aiTitle")
|
|
217
|
+
),
|
|
218
|
+
desc: ibiz.i18n.t(
|
|
219
|
+
"util.appUtil.".concat(isBatchRemove ? "clearTopicDesc" : "aiDesc")
|
|
220
|
+
)
|
|
221
|
+
});
|
|
222
|
+
return result;
|
|
223
|
+
},
|
|
224
|
+
action: async (action, context2, params2, data2, event) => {
|
|
225
|
+
if (action === "LINK") {
|
|
226
|
+
await ibiz.openView.push(data2.url);
|
|
227
|
+
}
|
|
228
|
+
return true;
|
|
229
|
+
},
|
|
230
|
+
configService: (appid, storageType, subType) => {
|
|
231
|
+
return new ConfigService(appid, storageType, subType);
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
chatOptions: {
|
|
235
|
+
caption: deACMode.logicName,
|
|
236
|
+
context: { ...context },
|
|
237
|
+
params: tempParams,
|
|
238
|
+
// 界面行为导航上下文参数srfaiappendcurdata,是否传入对象参数,用于历史查询传参
|
|
239
|
+
appendCurData: context.srfaiappendcurdata === "true" ? data : void 0,
|
|
240
|
+
appDataEntityId,
|
|
241
|
+
contentToolbarItems,
|
|
242
|
+
footerToolbarItems,
|
|
243
|
+
questionToolbarItems,
|
|
244
|
+
otherToolbarItems,
|
|
245
|
+
question: async (aiChat, ctx, param, other, arr) => {
|
|
246
|
+
id = createUUID();
|
|
247
|
+
abortController = new AbortController();
|
|
248
|
+
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, other.appDataEntityId);
|
|
249
|
+
try {
|
|
250
|
+
await deService.aiChatSse(
|
|
251
|
+
(msg) => {
|
|
252
|
+
if (msg.actionstate === 20 && msg.actionresult) {
|
|
253
|
+
aiChat.addMessage({
|
|
254
|
+
messageid: id,
|
|
255
|
+
state: msg.actionstate,
|
|
256
|
+
type: "DEFAULT",
|
|
257
|
+
role: "ASSISTANT",
|
|
258
|
+
content: msg.actionresult
|
|
259
|
+
});
|
|
260
|
+
} else if (msg.actionstate === 30 && msg.actionresult) {
|
|
261
|
+
const result = JSON.parse(msg.actionresult);
|
|
262
|
+
const choices = result.choices;
|
|
263
|
+
if (choices && choices.length > 0) {
|
|
264
|
+
aiChat.replaceMessage({
|
|
265
|
+
messageid: id,
|
|
266
|
+
state: msg.actionstate,
|
|
267
|
+
type: "DEFAULT",
|
|
268
|
+
role: "ASSISTANT",
|
|
269
|
+
content: choices[0].content || ""
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
} else if (msg.actionstate === 40) {
|
|
273
|
+
aiChat.replaceMessage({
|
|
274
|
+
messageid: id,
|
|
275
|
+
state: msg.actionstate,
|
|
276
|
+
type: "ERROR",
|
|
277
|
+
role: "ASSISTANT",
|
|
278
|
+
content: msg.actionresult
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
abortController,
|
|
283
|
+
ctx,
|
|
284
|
+
param,
|
|
285
|
+
{
|
|
286
|
+
messages: arr
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
} catch (error) {
|
|
290
|
+
aiChat.replaceMessage({
|
|
291
|
+
messageid: id,
|
|
292
|
+
state: 40,
|
|
293
|
+
type: "ERROR",
|
|
294
|
+
role: "ASSISTANT",
|
|
295
|
+
content: error.message || ibiz.i18n.t("app.aiError")
|
|
296
|
+
});
|
|
297
|
+
abortController == null ? void 0 : abortController.abort();
|
|
298
|
+
} finally {
|
|
299
|
+
aiChat.completeMessage(id, true);
|
|
300
|
+
return true;
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
abortQuestion: (aiChat) => {
|
|
304
|
+
abortController == null ? void 0 : abortController.abort();
|
|
305
|
+
aiChat.stopMessage({
|
|
306
|
+
messageid: id,
|
|
307
|
+
state: 30,
|
|
308
|
+
type: "DEFAULT",
|
|
309
|
+
role: "ASSISTANT",
|
|
310
|
+
content: ""
|
|
311
|
+
});
|
|
312
|
+
aiChat.completeMessage(id, true);
|
|
313
|
+
},
|
|
314
|
+
closed: () => {
|
|
315
|
+
resolve(messages);
|
|
316
|
+
},
|
|
317
|
+
history: async (ctx, param, other) => {
|
|
318
|
+
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, other.appDataEntityId);
|
|
319
|
+
const historyData = other.appendCurData ? other.appendCurData : {};
|
|
320
|
+
const result = await deService.aiChatHistory(
|
|
321
|
+
ctx,
|
|
322
|
+
param,
|
|
323
|
+
historyData
|
|
324
|
+
);
|
|
325
|
+
if (result.data && Array.isArray(result.data)) {
|
|
326
|
+
let preMsg;
|
|
327
|
+
result.data.forEach((item) => {
|
|
328
|
+
if (item.role === "TOOL") {
|
|
329
|
+
if (preMsg && item.content) {
|
|
330
|
+
chatInstance.aiChat.updateRecommendPrompt(
|
|
331
|
+
preMsg,
|
|
332
|
+
item.content
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
} else {
|
|
336
|
+
const msg = {
|
|
337
|
+
messageid: createUUID(),
|
|
338
|
+
state: 30,
|
|
339
|
+
type: "DEFAULT",
|
|
340
|
+
role: item.role,
|
|
341
|
+
content: item.content,
|
|
342
|
+
completed: true
|
|
343
|
+
};
|
|
344
|
+
preMsg = msg;
|
|
345
|
+
chatInstance.aiChat.addMessage(msg);
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
return true;
|
|
350
|
+
},
|
|
351
|
+
recommendPrompt: async (ctx, param, other) => {
|
|
352
|
+
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, other.appDataEntityId);
|
|
353
|
+
const result = await deService.aiChatRecommendPrompt(
|
|
354
|
+
ctx,
|
|
355
|
+
param,
|
|
356
|
+
other.message
|
|
357
|
+
);
|
|
358
|
+
if (result.ok && result.data) {
|
|
359
|
+
const choices = result.data.choices;
|
|
360
|
+
if (choices && choices.length > 0) {
|
|
361
|
+
return choices[0];
|
|
362
|
+
}
|
|
363
|
+
return null;
|
|
364
|
+
}
|
|
365
|
+
return null;
|
|
366
|
+
},
|
|
367
|
+
uploader: {
|
|
368
|
+
onUpload: async (file, reportProgress, options) => {
|
|
369
|
+
const { uploadUrl } = ibiz.util.file.calcFileUpDownUrl(
|
|
370
|
+
(options == null ? void 0 : options.context) || context,
|
|
371
|
+
(options == null ? void 0 : options.params) || params,
|
|
372
|
+
{}
|
|
373
|
+
);
|
|
374
|
+
const headers = {};
|
|
375
|
+
const token = getAppCookie(CoreConst.TOKEN);
|
|
376
|
+
if (token) {
|
|
377
|
+
Object.assign(headers, {
|
|
378
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(token)
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
const formData = new FormData();
|
|
382
|
+
formData.append("file", file);
|
|
383
|
+
const res = await ibiz.net.axios({
|
|
384
|
+
url: uploadUrl,
|
|
385
|
+
method: "post",
|
|
386
|
+
headers,
|
|
387
|
+
data: formData,
|
|
388
|
+
onUploadProgress: (progressEvent) => {
|
|
389
|
+
const percent = progressEvent.loaded / progressEvent.total * 100;
|
|
390
|
+
reportProgress(percent);
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
return res.data;
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
extendToolbarClick: async (event, source, context2, params2, data2) => {
|
|
397
|
+
var _a, _b;
|
|
398
|
+
const result = await UIActionUtil.exec(
|
|
399
|
+
source.id,
|
|
400
|
+
{
|
|
401
|
+
view,
|
|
402
|
+
ctrl,
|
|
403
|
+
context: IBizContext.create(context2),
|
|
404
|
+
params: params2,
|
|
405
|
+
data: [data2],
|
|
406
|
+
event
|
|
407
|
+
},
|
|
408
|
+
source.appId
|
|
409
|
+
);
|
|
410
|
+
if (result.closeView) {
|
|
411
|
+
view.closeView({ ok: true });
|
|
412
|
+
} else if (result.refresh) {
|
|
413
|
+
switch (result.refreshMode) {
|
|
414
|
+
case 1:
|
|
415
|
+
view.callUIAction(SysUIActionTag.REFRESH);
|
|
416
|
+
break;
|
|
417
|
+
case 2:
|
|
418
|
+
(_a = view.parentView) == null ? void 0 : _a.callUIAction(SysUIActionTag.REFRESH);
|
|
419
|
+
break;
|
|
420
|
+
case 3:
|
|
421
|
+
(_b = view.getTopView()) == null ? void 0 : _b.callUIAction(SysUIActionTag.REFRESH);
|
|
422
|
+
break;
|
|
423
|
+
default:
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
return result;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
});
|
|
431
|
+
}
|
|
151
432
|
}
|
|
152
433
|
|
|
153
434
|
export { AppUtil };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function convertBtnType(buttonStyle) {
|
|
3
|
+
let buttonType = "default";
|
|
4
|
+
if (buttonStyle && ["PRIMARY", "SUCCESS", "WARNING", "DANGER", "INFO"].includes(buttonStyle))
|
|
5
|
+
buttonType = buttonStyle.toLowerCase();
|
|
6
|
+
if (buttonStyle && ["INVERSE"].includes(buttonStyle))
|
|
7
|
+
buttonType = "text";
|
|
8
|
+
return buttonType;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { convertBtnType };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createApp } from 'vue';
|
|
2
2
|
import ElementPlus from 'element-plus';
|
|
3
|
-
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.
|
|
3
|
+
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.39_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
|
|
4
4
|
import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
|
|
5
5
|
|
|
6
6
|
"use strict";
|
package/es/util/index.d.ts
CHANGED
|
@@ -12,3 +12,5 @@ export { AppUtil } from './app-util/app-util';
|
|
|
12
12
|
export { FullscreenUtil } from './fullscreen/fullscreen-util';
|
|
13
13
|
export * from './wang-editor-util/wang-editor-util';
|
|
14
14
|
export { useFocusByEnter } from './keydown-util/keydown-util';
|
|
15
|
+
export { calcAiToolbarItemsByAc } from './ai-util/ai-util';
|
|
16
|
+
export { convertBtnType } from './button-util/button-util';
|
package/es/util/index.mjs
CHANGED
|
@@ -12,5 +12,7 @@ export { AppUtil } from './app-util/app-util.mjs';
|
|
|
12
12
|
export { FullscreenUtil } from './fullscreen/fullscreen-util.mjs';
|
|
13
13
|
export { parseHtml } from './wang-editor-util/wang-editor-util.mjs';
|
|
14
14
|
export { useFocusByEnter } from './keydown-util/keydown-util.mjs';
|
|
15
|
+
export { calcAiToolbarItemsByAc } from './ai-util/ai-util.mjs';
|
|
16
|
+
export { convertBtnType } from './button-util/button-util.mjs';
|
|
15
17
|
|
|
16
18
|
"use strict";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref, computed, watch, onMounted, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import {
|
|
3
|
+
import { CoreConst, getAppCookie } from '@ibiz-template/core';
|
|
4
4
|
import { getFileSvgByType } from './file-type.mjs';
|
|
5
5
|
import './upload-manager.css';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IModalData, IOpenViewUtil, IPopoverOptions } from '@ibiz-template/runtime';
|
|
1
|
+
import { IModalData, IOpenViewOptions, IOpenViewUtil, IOverlayContainerOptions, IPopoverOptions, IViewController } from '@ibiz-template/runtime';
|
|
2
2
|
import { Router } from 'vue-router';
|
|
3
3
|
import { FloatingUIConfig } from '../app-popover/app-popover-component';
|
|
4
4
|
/**
|
|
@@ -15,31 +15,58 @@ export declare class OpenViewUtil implements IOpenViewUtil {
|
|
|
15
15
|
protected router: Router;
|
|
16
16
|
constructor(router: Router);
|
|
17
17
|
push(path: string): Promise<IModalData>;
|
|
18
|
+
/**
|
|
19
|
+
* 校验是否可以打开视图
|
|
20
|
+
*
|
|
21
|
+
* @author zhanghengfeng
|
|
22
|
+
* @date 2025-02-10 19:02:35
|
|
23
|
+
* @param {IViewController} topView
|
|
24
|
+
* @param {string} appViewId
|
|
25
|
+
* @param {IContext} context
|
|
26
|
+
* @param {IParams} [_params={}]
|
|
27
|
+
* @param {IOpenViewOptions} [opts={}]
|
|
28
|
+
* @return {*} {Promise<boolean>}
|
|
29
|
+
*/
|
|
30
|
+
verify(topView: IViewController, appViewId: string, context: IContext, _params?: IParams, opts?: IOpenViewOptions): Promise<boolean>;
|
|
18
31
|
root(appViewId: string, context: IContext, params?: IParams, modalOptions?: IData): Promise<IModalData>;
|
|
19
32
|
rootByModal(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
20
33
|
/**
|
|
21
34
|
* 模态打开视图
|
|
22
35
|
*
|
|
23
|
-
* @author
|
|
24
|
-
* @date
|
|
36
|
+
* @author tony001
|
|
37
|
+
* @date 2025-03-24 17:03:17
|
|
25
38
|
* @param {string} appViewId
|
|
26
|
-
* @param {
|
|
27
|
-
* @param {
|
|
28
|
-
* @
|
|
39
|
+
* @param {IContext} context
|
|
40
|
+
* @param {IParams} [params]
|
|
41
|
+
* @param {IOverlayContainerOptions} [options={}]
|
|
42
|
+
* @return {*} {Promise<IModalData>}
|
|
29
43
|
*/
|
|
30
|
-
modal(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
31
|
-
|
|
44
|
+
modal(appViewId: string, context: IContext, params?: IParams, options?: IOverlayContainerOptions): Promise<IModalData>;
|
|
45
|
+
/**
|
|
46
|
+
* 气泡模式打开
|
|
47
|
+
*
|
|
48
|
+
* @author tony001
|
|
49
|
+
* @date 2025-03-24 17:03:35
|
|
50
|
+
* @param {string} appViewId
|
|
51
|
+
* @param {MouseEvent} event
|
|
52
|
+
* @param {IContext} context
|
|
53
|
+
* @param {IParams} [params]
|
|
54
|
+
* @param {(IPopoverOptions<FloatingUIConfig> & IOverlayContainerOptions)} [options={}]
|
|
55
|
+
* @return {*} {Promise<IModalData>}
|
|
56
|
+
*/
|
|
57
|
+
popover(appViewId: string, event: MouseEvent, context: IContext, params?: IParams, options?: IPopoverOptions<FloatingUIConfig> & IOverlayContainerOptions): Promise<IModalData>;
|
|
32
58
|
/**
|
|
33
59
|
* 抽屉打开视图
|
|
34
60
|
*
|
|
35
|
-
* @author
|
|
36
|
-
* @date
|
|
61
|
+
* @author tony001
|
|
62
|
+
* @date 2025-03-24 17:03:59
|
|
37
63
|
* @param {string} appViewId
|
|
38
|
-
* @param {
|
|
39
|
-
* @param {
|
|
40
|
-
* @
|
|
64
|
+
* @param {IContext} context
|
|
65
|
+
* @param {IParams} [params]
|
|
66
|
+
* @param {IOverlayContainerOptions} [options={}]
|
|
67
|
+
* @return {*} {Promise<IModalData>}
|
|
41
68
|
*/
|
|
42
|
-
drawer(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
69
|
+
drawer(appViewId: string, context: IContext, params?: IParams, options?: IOverlayContainerOptions): Promise<IModalData>;
|
|
43
70
|
custom(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
|
|
44
71
|
/**
|
|
45
72
|
* 抽屉打开视图
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { calcDeCodeNameById } from '@ibiz-template/runtime';
|
|
1
2
|
import { routerCallback, generateRoutePath, generateRoutePathByModal, openViewModal, openViewPopover, getDrawerPlacement, openViewDrawer } from '@ibiz-template/vue3-util';
|
|
2
3
|
import { UrlHelper } from '@ibiz-template/core';
|
|
3
4
|
|
|
@@ -10,6 +11,42 @@ class OpenViewUtil {
|
|
|
10
11
|
push(path) {
|
|
11
12
|
return routerCallback.open(this.router, path);
|
|
12
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* 校验是否可以打开视图
|
|
16
|
+
*
|
|
17
|
+
* @author zhanghengfeng
|
|
18
|
+
* @date 2025-02-10 19:02:35
|
|
19
|
+
* @param {IViewController} topView
|
|
20
|
+
* @param {string} appViewId
|
|
21
|
+
* @param {IContext} context
|
|
22
|
+
* @param {IParams} [_params={}]
|
|
23
|
+
* @param {IOpenViewOptions} [opts={}]
|
|
24
|
+
* @return {*} {Promise<boolean>}
|
|
25
|
+
*/
|
|
26
|
+
async verify(topView, appViewId, context, _params = {}, opts = {}) {
|
|
27
|
+
if (!topView || !appViewId) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
31
|
+
if (!appView) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
const { openMode = "INDEXVIEWTAB" } = appView;
|
|
35
|
+
const viewOpenMode = opts.openMode || openMode;
|
|
36
|
+
if (viewOpenMode !== "INDEXVIEWTAB" && viewOpenMode !== "INDEXVIEWTAB_POPUP") {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
if (topView.model.id !== appView.id) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
if (topView.model.appDataEntityId && appView.appDataEntityId && topView.model.appDataEntityId === appView.appDataEntityId && context.srfkey) {
|
|
43
|
+
const deName = calcDeCodeNameById(topView.model.appDataEntityId);
|
|
44
|
+
if (topView.context[deName] === context.srfkey) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
13
50
|
async root(appViewId, context, params, modalOptions) {
|
|
14
51
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
15
52
|
const { path } = await generateRoutePath(
|
|
@@ -38,14 +75,15 @@ class OpenViewUtil {
|
|
|
38
75
|
/**
|
|
39
76
|
* 模态打开视图
|
|
40
77
|
*
|
|
41
|
-
* @author
|
|
42
|
-
* @date
|
|
78
|
+
* @author tony001
|
|
79
|
+
* @date 2025-03-24 17:03:17
|
|
43
80
|
* @param {string} appViewId
|
|
44
|
-
* @param {
|
|
45
|
-
* @param {
|
|
46
|
-
* @
|
|
81
|
+
* @param {IContext} context
|
|
82
|
+
* @param {IParams} [params]
|
|
83
|
+
* @param {IOverlayContainerOptions} [options={}]
|
|
84
|
+
* @return {*} {Promise<IModalData>}
|
|
47
85
|
*/
|
|
48
|
-
async modal(appViewId, context, params) {
|
|
86
|
+
async modal(appViewId, context, params, options = {}) {
|
|
49
87
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
50
88
|
const modalOption = JSON.parse(ibiz.config.common.modalOption || "{}");
|
|
51
89
|
const opts = {
|
|
@@ -59,11 +97,24 @@ class OpenViewUtil {
|
|
|
59
97
|
{
|
|
60
98
|
context,
|
|
61
99
|
params,
|
|
62
|
-
viewId: appView.id
|
|
100
|
+
viewId: appView.id,
|
|
101
|
+
ctx: options.ctx
|
|
63
102
|
},
|
|
64
103
|
opts
|
|
65
104
|
);
|
|
66
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* 气泡模式打开
|
|
108
|
+
*
|
|
109
|
+
* @author tony001
|
|
110
|
+
* @date 2025-03-24 17:03:35
|
|
111
|
+
* @param {string} appViewId
|
|
112
|
+
* @param {MouseEvent} event
|
|
113
|
+
* @param {IContext} context
|
|
114
|
+
* @param {IParams} [params]
|
|
115
|
+
* @param {(IPopoverOptions<FloatingUIConfig> & IOverlayContainerOptions)} [options={}]
|
|
116
|
+
* @return {*} {Promise<IModalData>}
|
|
117
|
+
*/
|
|
67
118
|
async popover(appViewId, event, context, params, options = {}) {
|
|
68
119
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
69
120
|
const opts = {
|
|
@@ -79,7 +130,8 @@ class OpenViewUtil {
|
|
|
79
130
|
{
|
|
80
131
|
context,
|
|
81
132
|
params,
|
|
82
|
-
viewId: appView.id
|
|
133
|
+
viewId: appView.id,
|
|
134
|
+
ctx: options.ctx
|
|
83
135
|
},
|
|
84
136
|
opts
|
|
85
137
|
);
|
|
@@ -87,14 +139,15 @@ class OpenViewUtil {
|
|
|
87
139
|
/**
|
|
88
140
|
* 抽屉打开视图
|
|
89
141
|
*
|
|
90
|
-
* @author
|
|
91
|
-
* @date
|
|
142
|
+
* @author tony001
|
|
143
|
+
* @date 2025-03-24 17:03:59
|
|
92
144
|
* @param {string} appViewId
|
|
93
|
-
* @param {
|
|
94
|
-
* @param {
|
|
95
|
-
* @
|
|
145
|
+
* @param {IContext} context
|
|
146
|
+
* @param {IParams} [params]
|
|
147
|
+
* @param {IOverlayContainerOptions} [options={}]
|
|
148
|
+
* @return {*} {Promise<IModalData>}
|
|
96
149
|
*/
|
|
97
|
-
async drawer(appViewId, context, params) {
|
|
150
|
+
async drawer(appViewId, context, params, options = {}) {
|
|
98
151
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
99
152
|
const placement = getDrawerPlacement(appView.openMode);
|
|
100
153
|
const drawerOption = JSON.parse(ibiz.config.common.drawerOption || "{}");
|
|
@@ -109,7 +162,8 @@ class OpenViewUtil {
|
|
|
109
162
|
{
|
|
110
163
|
context,
|
|
111
164
|
params,
|
|
112
|
-
viewId: appView.id
|
|
165
|
+
viewId: appView.id,
|
|
166
|
+
ctx: options.ctx
|
|
113
167
|
},
|
|
114
168
|
opts
|
|
115
169
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-403-view{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--ibiz-font-size-header-6)}.ibiz-403-view .ibiz-403-view-img{width:375px}.ibiz-403-view .ibiz-403-view-text{margin-top:var(--ibiz-spacing-super-loose);display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.ibiz-403-view-text__text1{margin-bottom:var(--ibiz-spacing-base-loose)}.ibiz-403-view-text__text2 a{color:var(--ibiz-color-link);cursor:pointer}.ibiz-403-view.is-top{width:100vw;height:100vh}
|
|
1
|
+
.ibiz-403-view{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;width:100%;height:100%;padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0 var(--ibiz-spacing-base);font-size:var(--ibiz-font-size-header-6)}.ibiz-403-view .ibiz-403-view-img{width:375px;max-width:100%;-o-object-fit:contain;object-fit:contain;overflow:hidden}.ibiz-403-view .ibiz-403-view-text{margin-top:var(--ibiz-spacing-super-loose);display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.ibiz-403-view-text__text1{margin-bottom:var(--ibiz-spacing-base-loose)}.ibiz-403-view-text__text2 a{color:var(--ibiz-color-link);cursor:pointer}.ibiz-403-view.is-top{width:100vw;height:100vh}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { onMounted, computed, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRouter, useRoute } from 'vue-router';
|
|
4
4
|
import './403-view.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-404-view{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--ibiz-font-size-header-6)}.ibiz-404-view .ibiz-404-view-img{width:375px}.ibiz-404-view .ibiz-404-view-text{margin-top:var(--ibiz-spacing-super-loose);display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.ibiz-404-view-text__text1{margin-bottom:var(--ibiz-spacing-base-loose)}.ibiz-404-view-text__text2 a{color:var(--ibiz-color-link);cursor:pointer}.ibiz-404-view.is-top{width:100vw;height:100vh}
|
|
1
|
+
.ibiz-404-view{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;width:100%;height:100%;padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0 var(--ibiz-spacing-base);font-size:var(--ibiz-font-size-header-6)}.ibiz-404-view .ibiz-404-view-img{width:375px;max-width:100%;-o-object-fit:contain;object-fit:contain;overflow:hidden}.ibiz-404-view .ibiz-404-view-text{margin-top:var(--ibiz-spacing-super-loose);display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.ibiz-404-view-text__text1{margin-bottom:var(--ibiz-spacing-base-loose)}.ibiz-404-view-text__text2 a{color:var(--ibiz-color-link);cursor:pointer}.ibiz-404-view.is-top{width:100vw;height:100vh}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { onMounted, computed, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRouter, useRoute } from 'vue-router';
|
|
4
4
|
import './404-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed, onMounted, resolveComponent, h, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import './error-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode,
|
|
1
|
+
import { isVNode, reactive, ref, resolveComponent, computed, onMounted, onUnmounted, h, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import { IBizContext, LoginMode } from '@ibiz-template/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode,
|
|
1
|
+
import { isVNode, ref, onMounted, createVNode, resolveComponent, defineComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import './share-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewType, registerViewProvider } from '@ibiz-template/runtime';
|
|
2
2
|
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { SubAppRefViewProvider } from './sub-app-ref-view.provider.mjs';
|
|
4
4
|
import { SubAppRefView } from './sub-app-ref-view.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { ViewController } from '@ibiz-template/runtime';
|
|
3
3
|
import { useNamespace, useViewController } from '@ibiz-template/vue3-util';
|
|
4
4
|
import './sub-app-ref-view.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewType, registerViewProvider } from '@ibiz-template/runtime';
|
|
3
3
|
import { WFStepTraceViewProvider } from './wf-step-trace-view.provider.mjs';
|
|
4
4
|
import { WFStepTraceView } from './wf-step-trace-view.mjs';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { WFStepTraceViewController } from '@ibiz-template/runtime';
|
|
3
3
|
import { useNamespace, useViewController } from '@ibiz-template/vue3-util';
|
|
4
4
|
|