@ibiz-template/vue3-components 0.7.39 → 0.7.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart-GgAfcR6o.js +1 -0
- package/dist/ibiz-markdown-editor--ivCvp3a.js +1 -0
- package/dist/index-8ZkS4CI0.js +1 -0
- package/dist/index-WNFQFxQd.js +1 -0
- package/dist/index-azhHVxuV.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-HL7emT5a.js +1 -0
- package/dist/map-chart-user-bTKfT7VH.js +1 -0
- package/dist/wang-editor-f_OOMd4x.js +1 -0
- package/dist/{xlsx-util-qRiaKYpk.js → xlsx-util-3T0fByLw.js} +1 -1
- package/es/_virtual/index.mjs +3 -0
- 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/carousel/carousel.d.ts +1 -1
- package/es/common/carousel-card/carousel-card.d.ts +3 -3
- package/es/common/control-navigation/control-navigation.d.ts +3 -0
- package/es/common/control-navigation/control-navigation.mjs +21 -2
- package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +1 -1
- package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +2 -2
- package/es/common/control-navigation/provider/index.mjs +5 -4
- package/es/common/control-navigation/provider/map-navigation.provider.d.ts +17 -0
- package/es/common/control-navigation/provider/map-navigation.provider.mjs +50 -0
- package/es/common/control-navigation/provider/navigation-base.provider.d.ts +2 -2
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +9 -4
- 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/map-chart.mjs +2 -6
- package/es/common/map-chart/map-chart.util.mjs +1 -1
- package/es/common/map-chart-user/map-chart-user.util.mjs +3 -2
- package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
- package/es/common/map-chart-user/map-user-manager.mjs +2 -2
- 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 +4 -4
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/common/view-message/view-message.d.ts +6 -6
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +58 -12
- package/es/control/app-menu/app-menu.mjs +33 -6
- package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
- package/es/control/app-menu/index.d.ts +21 -13
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +43 -5
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +19 -0
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +54 -7
- package/es/control/calendar/calendar.mjs +26 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +6 -2
- 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-daily/use-calendar-daily.mjs +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/calendar-week.mjs +6 -1
- 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 +9 -8
- package/es/control/caption-bar/caption-bar.d.ts +31 -5
- package/es/control/caption-bar/caption-bar.mjs +13 -0
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +65 -13
- package/es/control/chart/chart.mjs +36 -1
- package/es/control/context-menu/context-menu.d.ts +59 -5
- package/es/control/context-menu/context-menu.mjs +27 -6
- package/es/control/context-menu/index.d.ts +5 -5
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21366
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
- package/es/control/dashboard/dashboard.d.ts +32 -6
- package/es/control/dashboard/dashboard.mjs +13 -0
- 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.d.ts +80 -34
- package/es/control/data-view/data-view.mjs +114 -52
- package/es/control/data-view/index.d.ts +23 -23
- package/es/control/drbar/drbar.d.ts +51 -5
- package/es/control/drbar/drbar.mjs +23 -0
- 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 +35 -8
- package/es/control/drtab/drtab.mjs +26 -0
- package/es/control/drtab/flow-drtab.css +1 -0
- package/es/control/drtab/flow-drtab.d.ts +77 -0
- package/es/control/drtab/flow-drtab.mjs +144 -0
- package/es/control/drtab/index.d.ts +9 -8
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.mjs +20 -0
- 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 +45 -5
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.mjs +20 -0
- 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 +45 -5
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.mjs +20 -0
- 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 +45 -5
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.mjs +20 -0
- 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 +45 -5
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.mjs +20 -0
- 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 +51 -5
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +23 -0
- package/es/control/form/edit-form/edit-form.mjs +23 -0
- package/es/control/form/form/form.d.ts +8 -2
- package/es/control/form/form/form.mjs +10 -4
- package/es/control/form/form/index.d.ts +2 -2
- 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/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
- package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/index.d.ts +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +2 -19002
- 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/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-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/advance-search/advance-search.css +1 -0
- package/es/control/form/search-form/advance-search/advance-search.d.ts +24 -0
- package/es/control/form/search-form/advance-search/advance-search.mjs +105 -0
- package/es/control/form/search-form/index.d.ts +7 -7
- package/es/control/form/search-form/search-form.d.ts +53 -7
- package/es/control/form/search-form/search-form.mjs +40 -1
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.d.ts +53 -7
- package/es/control/gantt/gantt.mjs +24 -0
- package/es/control/gantt/index.d.ts +8 -8
- package/es/control/grid/grid/grid-control.util.d.ts +2 -2
- package/es/control/grid/grid/grid-control.util.mjs +171 -69
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.d.ts +107 -58
- package/es/control/grid/grid/grid.mjs +129 -44
- package/es/control/grid/grid/index.d.ts +48 -47
- package/es/control/grid/grid/index.mjs +2 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +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-column-header/grid-column-header.css +1 -0
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.d.ts +36 -0
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.mjs +142 -0
- package/es/control/grid/grid-column/grid-column-header/index.d.ts +33 -0
- package/es/control/grid/grid-column/grid-column-header/index.mjs +12 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.d.ts +65 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.mjs +125 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.d.ts +28 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.mjs +131 -0
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +2 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +11 -2
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +3 -2
- package/es/control/grid/grid-column/grid-field-column/index.mjs +3 -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/grid/grid-column/index.d.ts +1 -0
- package/es/control/grid/grid-column/index.mjs +1 -0
- package/es/control/grid/index.mjs +1 -0
- package/es/control/index.d.ts +1 -0
- package/es/control/index.mjs +2 -0
- package/es/control/kanban/index.d.ts +5 -5
- package/es/control/kanban/kanban.d.ts +51 -5
- package/es/control/kanban/kanban.mjs +23 -0
- package/es/control/list/index.d.ts +14 -14
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +64 -36
- package/es/control/list/list.mjs +75 -27
- package/es/control/map/map.css +1 -1
- package/es/control/map/map.d.ts +54 -6
- package/es/control/map/map.mjs +59 -23
- package/es/control/medit-view-panel/index.d.ts +5 -5
- package/es/control/medit-view-panel/medit-view-panel.css +1 -1
- package/es/control/medit-view-panel/medit-view-panel.d.ts +25 -5
- package/es/control/medit-view-panel/medit-view-panel.mjs +10 -0
- package/es/control/pickup-view-panel/index.d.ts +5 -5
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +43 -15
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +19 -5
- package/es/control/report-panel/report-panel.d.ts +39 -5
- package/es/control/report-panel/report-panel.mjs +17 -0
- 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.css +1 -1
- package/es/control/search-bar/search-bar.d.ts +31 -5
- package/es/control/search-bar/search-bar.mjs +14 -1
- 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 +37 -5
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
- package/es/control/toolbar/index.d.ts +6 -6
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +45 -5
- package/es/control/toolbar/toolbar.mjs +27 -7
- package/es/control/tree/index.d.ts +16 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +100 -48
- package/es/control/tree/tree.mjs +73 -14
- package/es/control/tree-grid/index.d.ts +24 -24
- package/es/control/tree-grid/tree-grid.d.ts +83 -35
- package/es/control/tree-grid/tree-grid.mjs +30 -6
- 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 +33 -7
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +21 -0
- package/es/control/view-panel/index.d.ts +40 -0
- package/es/control/view-panel/index.mjs +18 -0
- package/es/control/view-panel/view-panel.css +1 -0
- package/es/control/view-panel/view-panel.d.ts +69 -0
- package/es/control/view-panel/view-panel.mjs +72 -0
- package/es/control/view-panel/view-panel.provider.d.ts +10 -0
- package/es/control/view-panel/view-panel.provider.mjs +14 -0
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
- package/es/control/wizard-panel/wizard-panel.mjs +16 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +27 -10
- package/es/editor/array/ibiz-array/ibiz-array.mjs +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +19 -10
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +17 -10
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +2 -2
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +28 -15
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +18 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +19 -9
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +23 -8
- package/es/editor/code/monaco-editor/monaco-editor.mjs +16 -20
- 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 +25 -11
- 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 +19 -11
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -10
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -3
- 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 +19 -10
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +27 -6
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +20 -9
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +18 -9
- 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.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +23 -13
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +4 -3
- package/es/editor/date-picker/date-picker-editor.controller.mjs +3 -3
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +16 -9
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +20 -9
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +49 -9
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +3 -8
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +25 -11
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +24 -6
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +33 -19
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +38 -28
- package/es/editor/html/wang-editor/wang-editor.d.ts +23 -8
- package/es/editor/html/wang-editor/wang-editor.mjs +5 -5
- package/es/editor/index.mjs +11 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +18 -9
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.d.ts +11 -0
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +364 -0
- package/es/editor/map-picker/index.d.ts +3 -0
- package/es/editor/map-picker/index.mjs +5 -0
- package/es/editor/map-picker/map-picker-editor.controller.d.ts +10 -0
- package/es/editor/map-picker/map-picker-editor.controller.mjs +7 -0
- package/es/editor/map-picker/map-picker-editor.provider.d.ts +14 -0
- package/es/editor/map-picker/map-picker-editor.provider.mjs +22 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +42 -22
- package/es/editor/not-supported-editor/not-supported-editor.d.ts +2 -2
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +22 -9
- 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 +16 -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 +21 -9
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +20 -2
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +43 -10
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +19 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +28 -8
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +2 -2
- package/es/editor/span/span/span.d.ts +15 -3
- package/es/editor/span/span-link/span-link.d.ts +16 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +18 -9
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.d.ts +68 -0
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.mjs +70 -0
- package/es/editor/switch/index.d.ts +1 -0
- package/es/editor/switch/index.mjs +1 -0
- package/es/editor/switch/switch-editor.provider.d.ts +1 -0
- package/es/editor/switch/switch-editor.provider.mjs +5 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +16 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +21 -8
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.d.ts +25 -9
- package/es/editor/text-box/input/input.mjs +4 -4
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +28 -14
- 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 +31 -16
- 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 +17 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +27 -13
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +17 -9
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/ibiz-vue3.mjs +2 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +4 -0
- package/es/locale/en/index.d.ts +28 -2
- package/es/locale/en/index.mjs +17 -4
- package/es/locale/zh-CN/index.d.ts +28 -2
- package/es/locale/zh-CN/index.mjs +17 -4
- package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +23 -0
- package/es/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 → @ibiz-template_core@0.7.40_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 +53 -81
- package/es/panel-component/app-switch/app-switch.controller.d.ts +116 -0
- package/es/panel-component/app-switch/app-switch.controller.mjs +276 -0
- package/es/panel-component/app-switch/app-switch.css +1 -0
- package/es/panel-component/app-switch/app-switch.d.ts +46 -0
- package/es/panel-component/app-switch/app-switch.mjs +74 -0
- package/es/panel-component/app-switch/app-switch.provider.d.ts +7 -0
- package/es/panel-component/app-switch/app-switch.provider.mjs +21 -0
- package/es/panel-component/app-switch/app-switch.state.d.ts +23 -0
- package/es/panel-component/app-switch/app-switch.state.mjs +30 -0
- package/es/panel-component/app-switch/index.d.ts +3 -0
- package/es/panel-component/app-switch/index.mjs +18 -0
- package/es/panel-component/auth-captcha/auth-captcha.controller.d.ts +5 -6
- package/es/panel-component/auth-captcha/auth-captcha.controller.mjs +2 -2
- package/es/panel-component/auth-captcha/auth-captcha.d.ts +17 -0
- package/es/panel-component/auth-captcha/auth-captcha.mjs +6 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.d.ts +13 -11
- package/es/panel-component/auth-captcha/auth-captcha.state.mjs +11 -10
- package/es/panel-component/auth-sso/auth-sso.d.ts +17 -0
- package/es/panel-component/auth-sso/auth-sso.mjs +6 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +17 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
- package/es/panel-component/coop-pos/coop-pos.controller.d.ts +8 -0
- package/es/panel-component/coop-pos/coop-pos.controller.mjs +2 -0
- package/es/panel-component/coop-pos/coop-pos.d.ts +24 -9
- package/es/panel-component/coop-pos/coop-pos.mjs +6 -0
- package/es/panel-component/coop-pos/coop-pos.state.d.ts +14 -8
- package/es/panel-component/coop-pos/coop-pos.state.mjs +7 -8
- package/es/panel-component/coop-pos/index.d.ts +2 -2
- package/es/panel-component/data-import/data-import-shell.d.ts +17 -0
- package/es/panel-component/data-import/data-import-shell.mjs +6 -0
- package/es/panel-component/global-search/global-search.controller.d.ts +172 -0
- package/es/panel-component/global-search/global-search.controller.mjs +343 -0
- package/es/panel-component/global-search/global-search.css +1 -0
- package/es/panel-component/global-search/global-search.d.ts +58 -0
- package/es/panel-component/global-search/global-search.mjs +247 -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 +75 -0
- package/es/panel-component/global-search/global-search.state.mjs +51 -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/global-search/virtual-list/virtual-list.css +1 -0
- package/es/panel-component/global-search/virtual-list/virtual-list.d.ts +89 -0
- package/es/panel-component/global-search/virtual-list/virtual-list.mjs +121 -0
- package/es/panel-component/index-actions/index-actions.d.ts +18 -0
- package/es/panel-component/index-actions/index-actions.mjs +6 -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 +43 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +80 -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 +6 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +13 -7
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +13 -7
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +20 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +6 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +2 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +2 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +55 -59
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +56 -57
- package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +14 -17
- package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +13 -13
- package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +33 -24
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +35 -25
- package/es/panel-component/nav-tabs/nav-tabs.d.ts +17 -0
- package/es/panel-component/nav-tabs/nav-tabs.mjs +9 -1
- package/es/panel-component/nav-tabs/nav-tabs.state.d.ts +37 -12
- package/es/panel-component/nav-tabs/nav-tabs.state.mjs +6 -12
- package/es/panel-component/panel-app-header/panel-app-header.d.ts +17 -0
- package/es/panel-component/panel-app-header/panel-app-header.mjs +6 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.d.ts +17 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +6 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +6 -5
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +4 -3
- 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 +17 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +42 -19
- package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +18 -31
- package/es/panel-component/panel-app-title/panel-app-title.state.mjs +17 -27
- package/es/panel-component/panel-button/panel-button.controller.d.ts +15 -5
- package/es/panel-component/panel-button/panel-button.controller.mjs +14 -3
- package/es/panel-component/panel-button/panel-button.d.ts +17 -0
- package/es/panel-component/panel-button/panel-button.mjs +6 -0
- package/es/panel-component/panel-button/panel-button.state.d.ts +5 -6
- package/es/panel-component/panel-button/panel-button.state.mjs +5 -6
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +19 -0
- package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
- package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
- package/es/panel-component/panel-exp-header/panel-exp-header.d.ts +17 -0
- package/es/panel-component/panel-exp-header/panel-exp-header.mjs +6 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.d.ts +17 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +6 -0
- package/es/panel-component/panel-remember-me/panel-remember-me.d.ts +17 -0
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +6 -0
- package/es/panel-component/panel-static-carousel/panel-static-carousel.d.ts +20 -0
- package/es/panel-component/panel-static-carousel/panel-static-carousel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +3 -4
- package/es/panel-component/panel-view-content/panel-view-content.d.ts +19 -0
- package/es/panel-component/panel-view-content/panel-view-content.mjs +6 -0
- package/es/panel-component/panel-view-header/panel-view-header.d.ts +17 -0
- package/es/panel-component/panel-view-header/panel-view-header.mjs +6 -0
- package/es/panel-component/searchform-buttons/index.d.ts +2 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.d.ts +19 -10
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.mjs +23 -10
- package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.d.ts +19 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +17 -3
- package/es/panel-component/short-cut/index.d.ts +2 -2
- package/es/panel-component/short-cut/short-cut.d.ts +18 -1
- package/es/panel-component/short-cut/short-cut.mjs +6 -0
- package/es/panel-component/split-container/split-container.controller.d.ts +11 -12
- package/es/panel-component/split-container/split-container.controller.mjs +9 -10
- package/es/panel-component/split-container/split-container.d.ts +17 -0
- package/es/panel-component/split-container/split-container.mjs +6 -0
- package/es/panel-component/split-container/split-container.state.d.ts +4 -8
- package/es/panel-component/split-container/split-container.state.mjs +4 -8
- package/es/panel-component/user-action/user-action.d.ts +20 -0
- package/es/panel-component/user-action/user-action.mjs +6 -0
- 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/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.d.ts +17 -0
- package/es/panel-component/user-message/user-message.mjs +7 -1
- package/es/panel-component/view-message/view-message.d.ts +19 -0
- package/es/panel-component/view-message/view-message.mjs +6 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.d.ts +2 -4
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +2 -4
- package/es/panel-component/view-msg-pos/view-msg-pos.d.ts +18 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +6 -0
- package/es/util/app-modal/app-modal-component.d.ts +1 -1
- package/es/util/app-util/app-util.d.ts +7 -0
- package/es/util/app-util/app-util.mjs +14 -4
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
- package/es/util/open-view-util/open-view-util.mjs +2 -0
- package/es/view/403-view/403-view.mjs +1 -1
- package/es/view/404-view/404-view.mjs +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/index.d.ts +1 -0
- package/es/view-engine/index.mjs +6 -1
- package/es/view-engine/md-custom-view.engine.d.ts +81 -0
- package/es/view-engine/md-custom-view.engine.mjs +206 -0
- package/es/view-engine/tab-exp-view.engine.mjs +7 -2
- package/es/web-app/App.mjs +2 -0
- package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/web-app/guard/auth-guard/auth-guard.mjs +41 -3
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
- package/es/web-app/main.mjs +1 -0
- package/lib/_virtual/index.cjs +5 -0
- package/lib/common/control-navigation/control-navigation.cjs +20 -1
- package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +2 -2
- package/lib/common/control-navigation/provider/index.cjs +5 -4
- package/lib/common/control-navigation/provider/map-navigation.provider.cjs +52 -0
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +9 -4
- package/lib/common/map-chart/map-chart.cjs +2 -6
- package/lib/common/map-chart/map-chart.util.cjs +1 -1
- package/lib/common/map-chart-user/map-chart-user.util.cjs +3 -2
- package/lib/common/map-chart-user/map-user-manager.cjs +2 -2
- package/lib/control/app-menu/app-menu.cjs +33 -6
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +19 -0
- package/lib/control/calendar/calendar.cjs +26 -1
- package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +6 -2
- package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +1 -1
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +6 -1
- package/lib/control/caption-bar/caption-bar.cjs +13 -0
- package/lib/control/chart/chart.cjs +36 -1
- package/lib/control/context-menu/context-menu.cjs +27 -6
- package/lib/control/dashboard/dashboard.cjs +13 -0
- package/lib/control/data-view/data-view.cjs +112 -50
- package/lib/control/drbar/drbar.cjs +23 -0
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +26 -0
- package/lib/control/drtab/flow-drtab.cjs +146 -0
- package/lib/control/drtab/flow-drtab.css +1 -0
- package/lib/control/exp-bar/calendar-exp-bar/calendar-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/chart-exp-bar/chart-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/grid-exp-bar/grid-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/list-exp-bar/list-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/tree-exp-bar/tree-exp-bar.cjs +23 -0
- package/lib/control/form/edit-form/edit-form.cjs +23 -0
- package/lib/control/form/form/form.cjs +10 -4
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +1 -0
- package/lib/control/form/search-form/advance-search/advance-search.cjs +107 -0
- package/lib/control/form/search-form/advance-search/advance-search.css +1 -0
- package/lib/control/form/search-form/search-form.cjs +39 -0
- package/lib/control/gantt/gantt.cjs +24 -0
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +169 -67
- package/lib/control/grid/grid/grid.cjs +129 -44
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid/index.cjs +8 -6
- package/lib/control/grid/grid-column/grid-column-header/grid-column-header.cjs +144 -0
- package/lib/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -0
- package/lib/control/grid/grid-column/grid-column-header/index.cjs +17 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.cjs +127 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/file-util.cjs +134 -0
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +11 -2
- package/lib/control/grid/grid-column/grid-field-column/index.cjs +3 -1
- package/lib/control/grid/grid-column/index.cjs +2 -0
- package/lib/control/grid/index.cjs +2 -0
- package/lib/control/index.cjs +106 -102
- package/lib/control/kanban/kanban.cjs +23 -0
- package/lib/control/list/list.cjs +75 -27
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +59 -23
- package/lib/control/map/map.css +1 -1
- package/lib/control/medit-view-panel/medit-view-panel.cjs +10 -0
- package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +19 -5
- package/lib/control/report-panel/report-panel.cjs +17 -0
- package/lib/control/search-bar/search-bar.cjs +14 -1
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
- package/lib/control/toolbar/toolbar.cjs +27 -7
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +73 -14
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid/tree-grid.cjs +30 -6
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +21 -0
- package/lib/control/view-panel/index.cjs +23 -0
- package/lib/control/view-panel/view-panel.cjs +74 -0
- package/lib/control/view-panel/view-panel.css +1 -0
- package/lib/control/view-panel/view-panel.provider.cjs +16 -0
- package/lib/control/wizard-panel/wizard-panel.cjs +16 -1
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +1 -1
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -1
- package/lib/editor/carousel/ibiz-carousel/ibiz-carousel.cjs +1 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +16 -20
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -3
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +26 -5
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +4 -3
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/date-picker/date-picker-editor.controller.cjs +3 -3
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +1 -1
- package/lib/editor/date-range-select/date-range-select-picker/date-range-select.cjs +2 -7
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +24 -6
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +37 -27
- package/lib/editor/html/wang-editor/wang-editor.cjs +5 -5
- package/lib/editor/index.cjs +11 -0
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +366 -0
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
- package/lib/editor/map-picker/index.cjs +11 -0
- package/lib/editor/map-picker/map-picker-editor.controller.cjs +9 -0
- package/lib/editor/map-picker/map-picker-editor.provider.cjs +24 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +42 -22
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +20 -2
- 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/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.cjs +72 -0
- package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
- package/lib/editor/switch/index.cjs +2 -0
- package/lib/editor/switch/switch-editor.provider.cjs +5 -1
- package/lib/editor/text-box/input/input.cjs +4 -4
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +1 -1
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +1 -1
- package/lib/ibiz-vue3.cjs +4 -2
- package/lib/index.cjs +140 -132
- package/lib/locale/en/index.cjs +17 -4
- package/lib/locale/zh-CN/index.cjs +17 -4
- package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +27 -0
- package/lib/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 → @ibiz-template_core@0.7.40_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 +53 -81
- package/lib/panel-component/app-switch/app-switch.cjs +76 -0
- package/lib/panel-component/app-switch/app-switch.controller.cjs +278 -0
- package/lib/panel-component/app-switch/app-switch.css +1 -0
- package/lib/panel-component/app-switch/app-switch.provider.cjs +23 -0
- package/lib/panel-component/app-switch/app-switch.state.cjs +32 -0
- package/lib/panel-component/app-switch/index.cjs +23 -0
- package/lib/panel-component/auth-captcha/auth-captcha.cjs +6 -0
- package/lib/panel-component/auth-captcha/auth-captcha.controller.cjs +2 -2
- package/lib/panel-component/auth-captcha/auth-captcha.state.cjs +11 -10
- package/lib/panel-component/auth-sso/auth-sso.cjs +6 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
- package/lib/panel-component/coop-pos/coop-pos.cjs +6 -0
- package/lib/panel-component/coop-pos/coop-pos.controller.cjs +2 -0
- package/lib/panel-component/coop-pos/coop-pos.state.cjs +7 -8
- package/lib/panel-component/data-import/data-import-shell.cjs +6 -0
- package/lib/panel-component/global-search/global-search.cjs +249 -0
- package/lib/panel-component/global-search/global-search.controller.cjs +345 -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 +53 -0
- package/lib/panel-component/global-search/index.cjs +20 -0
- package/lib/panel-component/global-search/virtual-list/virtual-list.cjs +123 -0
- package/lib/panel-component/global-search/virtual-list/virtual-list.css +1 -0
- package/lib/panel-component/index-actions/index-actions.cjs +6 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +82 -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 +44 -38
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +6 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +13 -7
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +2 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +56 -57
- package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +13 -13
- package/lib/panel-component/nav-tabs/nav-tabs.cjs +9 -1
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +35 -25
- package/lib/panel-component/nav-tabs/nav-tabs.state.cjs +6 -12
- package/lib/panel-component/panel-app-header/panel-app-header.cjs +6 -0
- package/lib/panel-component/panel-app-login-view/panel-app-login-view.cjs +6 -0
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +42 -19
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +4 -3
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +17 -27
- package/lib/panel-component/panel-button/panel-button.cjs +6 -0
- package/lib/panel-component/panel-button/panel-button.controller.cjs +14 -3
- package/lib/panel-component/panel-button/panel-button.state.cjs +5 -6
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
- package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
- package/lib/panel-component/panel-exp-header/panel-exp-header.cjs +6 -0
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +6 -0
- package/lib/panel-component/panel-remember-me/panel-remember-me.cjs +6 -0
- package/lib/panel-component/panel-static-carousel/panel-static-carousel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +3 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +3 -4
- package/lib/panel-component/panel-view-content/panel-view-content.cjs +6 -0
- package/lib/panel-component/panel-view-header/panel-view-header.cjs +6 -0
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +17 -3
- package/lib/panel-component/searchform-buttons/searchform-buttons.controller.cjs +23 -10
- package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/lib/panel-component/short-cut/short-cut.cjs +6 -0
- package/lib/panel-component/split-container/split-container.cjs +6 -0
- package/lib/panel-component/split-container/split-container.controller.cjs +9 -10
- package/lib/panel-component/split-container/split-container.state.cjs +4 -8
- package/lib/panel-component/user-action/user-action.cjs +6 -0
- package/lib/panel-component/user-message/user-message.cjs +7 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/panel-component/view-message/view-message.cjs +6 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +6 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +2 -4
- package/lib/util/app-util/app-util.cjs +13 -3
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/open-view-util/open-view-util.cjs +2 -0
- package/lib/view/403-view/403-view.cjs +1 -1
- package/lib/view/404-view/404-view.cjs +1 -1
- package/lib/view-engine/index.cjs +6 -0
- package/lib/view-engine/md-custom-view.engine.cjs +208 -0
- package/lib/view-engine/tab-exp-view.engine.cjs +7 -2
- package/lib/web-app/App.cjs +2 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +40 -2
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
- package/lib/web-app/main.cjs +1 -0
- package/package.json +13 -12
- package/dist/chart-WOVYJZdX.js +0 -1
- package/dist/ibiz-markdown-editor-6LwfUyrp.js +0 -1
- package/dist/index-AFjh74yw.js +0 -4
- package/dist/index-JACr82NV.js +0 -1
- package/dist/index-rzZcg_Jf.js +0 -1
- package/dist/map-chart-eydeBW7e.js +0 -1
- package/dist/map-chart-user-3inZInah.js +0 -1
- package/dist/wang-editor-fgIF44E-.js +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { IApiMicroApp, IViewController, PanelItemController, UtilService } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { Router } from 'vue-router';
|
|
4
|
+
import { AppSwitchState } from './app-switch.state';
|
|
5
|
+
/**
|
|
6
|
+
* @description 应用切换器控制器
|
|
7
|
+
* @export
|
|
8
|
+
* @class AppSwitchController
|
|
9
|
+
* @extends {PanelItemController<IPanelRawItem>}
|
|
10
|
+
*/
|
|
11
|
+
export declare class AppSwitchController extends PanelItemController<IPanelRawItem> {
|
|
12
|
+
/**
|
|
13
|
+
* @description 状态对象
|
|
14
|
+
* @type {AppSwitchState}
|
|
15
|
+
* @memberof AppSwitchController
|
|
16
|
+
*/
|
|
17
|
+
state: AppSwitchState;
|
|
18
|
+
/**
|
|
19
|
+
* @description 自定义补充参数
|
|
20
|
+
* @protected
|
|
21
|
+
* @type {IData}
|
|
22
|
+
* @memberof AppSwitchController
|
|
23
|
+
*/
|
|
24
|
+
protected rawItemParams: IData;
|
|
25
|
+
/**
|
|
26
|
+
* @description 应用功能组件服务
|
|
27
|
+
* @protected
|
|
28
|
+
* @type {(UtilService | undefined)}
|
|
29
|
+
* @memberof AppSwitchController
|
|
30
|
+
*/
|
|
31
|
+
protected util: UtilService | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @description 数据来源
|
|
34
|
+
* @type {('UTIL' | 'REFAPP')} 功能组件服务 | 引用子应用集
|
|
35
|
+
* @memberof AppSwitchController
|
|
36
|
+
*/
|
|
37
|
+
sourceType: 'UTIL' | 'REFAPP';
|
|
38
|
+
/**
|
|
39
|
+
* @description 获取当前视图
|
|
40
|
+
* @readonly
|
|
41
|
+
* @type {IViewController}
|
|
42
|
+
* @memberof AppSwitchController
|
|
43
|
+
*/
|
|
44
|
+
get view(): IViewController;
|
|
45
|
+
/**
|
|
46
|
+
* @description 上下文对象
|
|
47
|
+
* @readonly
|
|
48
|
+
* @type {IContext}
|
|
49
|
+
* @memberof AppSwitchController
|
|
50
|
+
*/
|
|
51
|
+
get context(): IContext;
|
|
52
|
+
/**
|
|
53
|
+
* @description 创建状态对象
|
|
54
|
+
* @protected
|
|
55
|
+
* @returns {*} {AppSwitchState}
|
|
56
|
+
* @memberof AppSwitchController
|
|
57
|
+
*/
|
|
58
|
+
protected createState(): AppSwitchState;
|
|
59
|
+
/**
|
|
60
|
+
* @description 初始化
|
|
61
|
+
* @protected
|
|
62
|
+
* @returns {*} {Promise<void>}
|
|
63
|
+
* @memberof AppSwitchController
|
|
64
|
+
*/
|
|
65
|
+
protected onInit(): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* @description 处理自定义补充参数
|
|
68
|
+
* @protected
|
|
69
|
+
* @memberof AppSwitchController
|
|
70
|
+
*/
|
|
71
|
+
protected handleRawItemParams(): void;
|
|
72
|
+
/**
|
|
73
|
+
* @description 加载所有应用
|
|
74
|
+
* @exposedoc
|
|
75
|
+
* @public
|
|
76
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
77
|
+
* @memberof AppSwitchController
|
|
78
|
+
*/
|
|
79
|
+
loadAllApps(): Promise<IApiMicroApp[]>;
|
|
80
|
+
/**
|
|
81
|
+
* @description 初始化当前激活的应用标识
|
|
82
|
+
* @protected
|
|
83
|
+
* @memberof AppSwitchController
|
|
84
|
+
*/
|
|
85
|
+
protected initActiveMicroAppId(): void;
|
|
86
|
+
/**
|
|
87
|
+
* @description 设置当前激活的应用标识
|
|
88
|
+
* @exposedoc
|
|
89
|
+
* @param {string} key
|
|
90
|
+
* @memberof AppSwitchController
|
|
91
|
+
*/
|
|
92
|
+
setActiveMicroAppId(key: string): void;
|
|
93
|
+
/**
|
|
94
|
+
* @description 加载应用(功能组件方式)
|
|
95
|
+
* @protected
|
|
96
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
97
|
+
* @memberof AppSwitchController
|
|
98
|
+
*/
|
|
99
|
+
protected loadAppsWithUtil(): Promise<IApiMicroApp[]>;
|
|
100
|
+
/**
|
|
101
|
+
* @description 加载应用(引用应用集方式)
|
|
102
|
+
* @protected
|
|
103
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
104
|
+
* @memberof AppSwitchController
|
|
105
|
+
*/
|
|
106
|
+
protected loadAppsWithRefApp(): Promise<IApiMicroApp[]>;
|
|
107
|
+
/**
|
|
108
|
+
* @description 切换应用
|
|
109
|
+
* @exposedoc
|
|
110
|
+
* @param {string} key
|
|
111
|
+
* @param {Router} router
|
|
112
|
+
* @returns {*} {Promise<void>}
|
|
113
|
+
* @memberof AppSwitchController
|
|
114
|
+
*/
|
|
115
|
+
switchMicroApp(key: string, router: Router): Promise<void>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { notNilEmpty } from 'qx-util';
|
|
2
|
+
import { PanelItemController, UtilService } from '@ibiz-template/runtime';
|
|
3
|
+
import { route2routePath, routePath2string } from '@ibiz-template/vue3-util';
|
|
4
|
+
import { AppSwitchState } from './app-switch.state.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __publicField = (obj, key, value) => {
|
|
10
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
13
|
+
class AppSwitchController extends PanelItemController {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
/**
|
|
17
|
+
* @description 自定义补充参数
|
|
18
|
+
* @protected
|
|
19
|
+
* @type {IData}
|
|
20
|
+
* @memberof AppSwitchController
|
|
21
|
+
*/
|
|
22
|
+
__publicField(this, "rawItemParams", {});
|
|
23
|
+
/**
|
|
24
|
+
* @description 应用功能组件服务
|
|
25
|
+
* @protected
|
|
26
|
+
* @type {(UtilService | undefined)}
|
|
27
|
+
* @memberof AppSwitchController
|
|
28
|
+
*/
|
|
29
|
+
__publicField(this, "util");
|
|
30
|
+
/**
|
|
31
|
+
* @description 数据来源
|
|
32
|
+
* @type {('UTIL' | 'REFAPP')} 功能组件服务 | 引用子应用集
|
|
33
|
+
* @memberof AppSwitchController
|
|
34
|
+
*/
|
|
35
|
+
__publicField(this, "sourceType", "REFAPP");
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @description 获取当前视图
|
|
39
|
+
* @readonly
|
|
40
|
+
* @type {IViewController}
|
|
41
|
+
* @memberof AppSwitchController
|
|
42
|
+
*/
|
|
43
|
+
get view() {
|
|
44
|
+
return this.panel.view;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @description 上下文对象
|
|
48
|
+
* @readonly
|
|
49
|
+
* @type {IContext}
|
|
50
|
+
* @memberof AppSwitchController
|
|
51
|
+
*/
|
|
52
|
+
get context() {
|
|
53
|
+
return this.panel.context;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @description 创建状态对象
|
|
57
|
+
* @protected
|
|
58
|
+
* @returns {*} {AppSwitchState}
|
|
59
|
+
* @memberof AppSwitchController
|
|
60
|
+
*/
|
|
61
|
+
createState() {
|
|
62
|
+
var _a;
|
|
63
|
+
return new AppSwitchState((_a = this.parent) == null ? void 0 : _a.state);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @description 初始化
|
|
67
|
+
* @protected
|
|
68
|
+
* @returns {*} {Promise<void>}
|
|
69
|
+
* @memberof AppSwitchController
|
|
70
|
+
*/
|
|
71
|
+
async onInit() {
|
|
72
|
+
await super.onInit();
|
|
73
|
+
this.handleRawItemParams();
|
|
74
|
+
this.state.visible = this.view.model.appSwitchMode === 1;
|
|
75
|
+
if (!this.state.visible)
|
|
76
|
+
return;
|
|
77
|
+
this.state.items = await this.loadAllApps();
|
|
78
|
+
this.initActiveMicroAppId();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @description 处理自定义补充参数
|
|
82
|
+
* @protected
|
|
83
|
+
* @memberof AppSwitchController
|
|
84
|
+
*/
|
|
85
|
+
handleRawItemParams() {
|
|
86
|
+
var _a;
|
|
87
|
+
let params = {};
|
|
88
|
+
const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
89
|
+
if (notNilEmpty(rawItemParams)) {
|
|
90
|
+
params = rawItemParams.reduce((param, item) => {
|
|
91
|
+
param[item.key.toLowerCase()] = item.value;
|
|
92
|
+
return param;
|
|
93
|
+
}, {});
|
|
94
|
+
}
|
|
95
|
+
Object.assign(this.rawItemParams, params);
|
|
96
|
+
this.sourceType = this.rawItemParams.sourcetype || "REFAPP";
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @description 加载所有应用
|
|
100
|
+
* @exposedoc
|
|
101
|
+
* @public
|
|
102
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
103
|
+
* @memberof AppSwitchController
|
|
104
|
+
*/
|
|
105
|
+
async loadAllApps() {
|
|
106
|
+
if (this.sourceType === "UTIL") {
|
|
107
|
+
return this.loadAppsWithUtil();
|
|
108
|
+
}
|
|
109
|
+
return this.loadAppsWithRefApp();
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @description 初始化当前激活的应用标识
|
|
113
|
+
* @protected
|
|
114
|
+
* @memberof AppSwitchController
|
|
115
|
+
*/
|
|
116
|
+
initActiveMicroAppId() {
|
|
117
|
+
if (this.view && this.state.items.length > 0) {
|
|
118
|
+
const activeMicroApp = this.state.items.find(
|
|
119
|
+
(item) => {
|
|
120
|
+
var _a;
|
|
121
|
+
return item.indexViewName === ((_a = this.view.model.codeName) == null ? void 0 : _a.toLowerCase());
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
if (activeMicroApp) {
|
|
125
|
+
this.setActiveMicroAppId(activeMicroApp.id);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @description 设置当前激活的应用标识
|
|
131
|
+
* @exposedoc
|
|
132
|
+
* @param {string} key
|
|
133
|
+
* @memberof AppSwitchController
|
|
134
|
+
*/
|
|
135
|
+
setActiveMicroAppId(key) {
|
|
136
|
+
ibiz.hub.activeMicroAppId = key;
|
|
137
|
+
this.state.activeMicroAppId = key;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @description 加载应用(功能组件方式)
|
|
141
|
+
* @protected
|
|
142
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
143
|
+
* @memberof AppSwitchController
|
|
144
|
+
*/
|
|
145
|
+
async loadAppsWithUtil() {
|
|
146
|
+
const result = [];
|
|
147
|
+
if (!this.util) {
|
|
148
|
+
const app = ibiz.hub.getApp(this.context.srfappid);
|
|
149
|
+
const hubAppUtil = app.getAppUtil("HUBAPP", "CUSTOM");
|
|
150
|
+
if (!hubAppUtil) {
|
|
151
|
+
return result;
|
|
152
|
+
}
|
|
153
|
+
this.util = new UtilService(hubAppUtil);
|
|
154
|
+
}
|
|
155
|
+
const data = await this.util.load("", this.context, this.panel.params);
|
|
156
|
+
if (!data || data.length === 0) {
|
|
157
|
+
return result;
|
|
158
|
+
}
|
|
159
|
+
for (let i = 0; i < data.length; i++) {
|
|
160
|
+
result.push({
|
|
161
|
+
// 应用标识@首页视图标识
|
|
162
|
+
id: "".concat(data[i].id, "@").concat(data[i].indexViewName.toLowerCase()),
|
|
163
|
+
dataId: data[i].dataId,
|
|
164
|
+
caption: data[i].caption,
|
|
165
|
+
indexViewName: data[i].indexViewName.toLowerCase(),
|
|
166
|
+
order: data[i].order
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
return result.sort((a, b) => a.order - b.order);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @description 加载应用(引用应用集方式)
|
|
173
|
+
* @protected
|
|
174
|
+
* @returns {*} {Promise<IApiMicroApp[]>}
|
|
175
|
+
* @memberof AppSwitchController
|
|
176
|
+
*/
|
|
177
|
+
async loadAppsWithRefApp() {
|
|
178
|
+
var _a, _b, _c, _d;
|
|
179
|
+
const result = [];
|
|
180
|
+
const defaultApp = ibiz.hub.getApp();
|
|
181
|
+
if (!defaultApp) {
|
|
182
|
+
return result;
|
|
183
|
+
}
|
|
184
|
+
const defaultAppModel = ibiz.hub.getAppSourceModel(defaultApp.appId);
|
|
185
|
+
const allAppIndexViews = (_b = (_a = defaultAppModel.cache) == null ? void 0 : _a.getPSAppViews) == null ? void 0 : _b.filter(
|
|
186
|
+
(appView) => {
|
|
187
|
+
return appView.viewType === "APPINDEXVIEW";
|
|
188
|
+
}
|
|
189
|
+
);
|
|
190
|
+
if (allAppIndexViews && allAppIndexViews.length > 0) {
|
|
191
|
+
for (let i = 0; i < allAppIndexViews.length; i++) {
|
|
192
|
+
const appIndexView = allAppIndexViews[i];
|
|
193
|
+
result.push({
|
|
194
|
+
// 应用标识@首页视图标识
|
|
195
|
+
id: "".concat(appIndexView.appId, "@").concat(appIndexView.codeName.toLowerCase()),
|
|
196
|
+
caption: appIndexView.title || appIndexView.caption,
|
|
197
|
+
indexViewName: appIndexView.codeName.toLowerCase(),
|
|
198
|
+
order: 100 * (i + 1)
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const allSubAppRefs = defaultAppModel.getAllPSSubAppRefs;
|
|
203
|
+
if (!allSubAppRefs || allSubAppRefs.length === 0) {
|
|
204
|
+
return result;
|
|
205
|
+
}
|
|
206
|
+
for (let i = 0; i < allSubAppRefs.length; i++) {
|
|
207
|
+
const subAppRef = allSubAppRefs[i];
|
|
208
|
+
if (subAppRef.appMode && subAppRef.appMode === "CLOUDHUBSUBAPP") {
|
|
209
|
+
const subApp = await ibiz.hub.getAppAsync(subAppRef.id);
|
|
210
|
+
const subAppModel = ibiz.hub.getAppSourceModel(subApp.appId);
|
|
211
|
+
const allSubAppIndexViews = (_d = (_c = subAppModel.cache) == null ? void 0 : _c.getPSAppViews) == null ? void 0 : _d.filter(
|
|
212
|
+
(appView) => {
|
|
213
|
+
return appView.viewType === "APPINDEXVIEW";
|
|
214
|
+
}
|
|
215
|
+
);
|
|
216
|
+
if (allSubAppIndexViews && allSubAppIndexViews.length > 0) {
|
|
217
|
+
for (let j = 0; j < allSubAppIndexViews.length; j++) {
|
|
218
|
+
const subAppIndexView = allSubAppIndexViews[j];
|
|
219
|
+
result.push({
|
|
220
|
+
// 应用标识@首页视图标识
|
|
221
|
+
id: "".concat(subAppIndexView.appId, "@").concat(subAppIndexView.codeName.toLowerCase()),
|
|
222
|
+
caption: subAppIndexView.title || subAppIndexView.caption,
|
|
223
|
+
indexViewName: subAppIndexView.codeName.toLowerCase(),
|
|
224
|
+
order: 100 * (result.length + 1)
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return result.sort((a, b) => a.order - b.order);
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* @description 切换应用
|
|
234
|
+
* @exposedoc
|
|
235
|
+
* @param {string} key
|
|
236
|
+
* @param {Router} router
|
|
237
|
+
* @returns {*} {Promise<void>}
|
|
238
|
+
* @memberof AppSwitchController
|
|
239
|
+
*/
|
|
240
|
+
async switchMicroApp(key, router) {
|
|
241
|
+
if (key === this.state.activeMicroAppId) {
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
let tempKey = key;
|
|
245
|
+
if (key.indexOf("@") !== -1) {
|
|
246
|
+
tempKey = key.split("@")[0];
|
|
247
|
+
}
|
|
248
|
+
if (tempKey !== ibiz.env.appId) {
|
|
249
|
+
await ibiz.hub.getAppAsync(tempKey);
|
|
250
|
+
}
|
|
251
|
+
const targetAppModel = ibiz.hub.getAppSourceModel(tempKey);
|
|
252
|
+
if (targetAppModel.getDefaultPSAppIndexView) {
|
|
253
|
+
const view = targetAppModel.getDefaultPSAppIndexView;
|
|
254
|
+
if (targetAppModel.caption) {
|
|
255
|
+
ibiz.env.AppTitle = targetAppModel.caption;
|
|
256
|
+
} else {
|
|
257
|
+
const views = targetAppModel.cache.getPSAppViews;
|
|
258
|
+
const indexView = views.find(
|
|
259
|
+
(viewItem) => viewItem.dynaModelFilePath === view.path
|
|
260
|
+
);
|
|
261
|
+
if (indexView) {
|
|
262
|
+
ibiz.env.AppTitle = indexView.caption;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
this.setActiveMicroAppId(key);
|
|
267
|
+
const currentIndex = this.state.items.findIndex((item) => item.id === key);
|
|
268
|
+
const routePath = route2routePath(router.currentRoute.value);
|
|
269
|
+
routePath.pathNodes = routePath.pathNodes.slice(0, 1);
|
|
270
|
+
routePath.pathNodes[0].viewName = this.state.items[currentIndex].indexViewName;
|
|
271
|
+
const url = routePath2string(routePath);
|
|
272
|
+
router.push(url);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export { AppSwitchController };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-app-switch{--ibiz-app-switch-icon-width:36px;--ibiz-app-switch-icon-height:36px;--ibiz-app-switch-icon-padding:0 var(--ibiz-spacing-tight);--ibiz-app-switch-icon-font-size:var(--ibiz-font-size-header-2);--ibiz-app-switch-icon-color:var(--ibiz-color-text-0);--ibiz-app-switch-dropdown-min-width:250px;--ibiz-app-switch-dropdown-item-height:40px}.ibiz-app-switch__icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-app-switch-icon-width);height:var(--ibiz-app-switch-icon-height);padding:var(--ibiz-app-switch-icon-padding);font-size:var(--ibiz-app-switch-icon-font-size);color:var(--ibiz-app-switch-icon-color);cursor:pointer}.ibiz-app-switch__dropdown{--ibiz-app-switch-icon-width:36px;--ibiz-app-switch-icon-height:36px;--ibiz-app-switch-icon-padding:0 var(--ibiz-spacing-tight);--ibiz-app-switch-icon-font-size:var(--ibiz-font-size-header-2);--ibiz-app-switch-icon-color:var(--ibiz-color-text-0);--ibiz-app-switch-dropdown-min-width:250px;--ibiz-app-switch-dropdown-item-height:40px;min-width:var(--ibiz-app-switch-dropdown-min-width)}.ibiz-app-switch__item{display:flex;align-items:center;justify-content:flex-start;width:100%;height:var(--ibiz-app-switch-dropdown-item-height);font-size:var(--ibiz-font-size-regular);white-space:nowrap}.ibiz-app-switch__item.is-active{background-color:var(--ibiz-color-primary-active)!important}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { AppSwitchController } from './app-switch.controller';
|
|
4
|
+
import './app-switch.scss';
|
|
5
|
+
/**
|
|
6
|
+
* 应用切换器
|
|
7
|
+
* @primary
|
|
8
|
+
* @description 应用切换器是前端导航核心组件,通过可视化列表实现多应用快速跳转,使用该能力需在首页视图配置应用选择模式为`默认`。
|
|
9
|
+
* @panelitemparams {name:sourcetype,parameterType:'UTIL' | 'REFAPP',defaultvalue:REFAPP,description:应用源类型,其中UTIL表示微应用数据来源于功能组件服务、REFAPP表示微应用数据来源于引用子应用集(主应用和引用子应用的所有首页)}
|
|
10
|
+
* @primary
|
|
11
|
+
*/
|
|
12
|
+
export declare const AppSwitch: import("vue").DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* @description 应用切换器模型数据
|
|
15
|
+
*/
|
|
16
|
+
modelData: {
|
|
17
|
+
type: PropType<IPanelRawItem>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @description 应用切换器控制器
|
|
22
|
+
*/
|
|
23
|
+
controller: {
|
|
24
|
+
type: typeof AppSwitchController;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
29
|
+
state: import("./app-switch.state").AppSwitchState;
|
|
30
|
+
handleClick: (id: string) => void;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
/**
|
|
33
|
+
* @description 应用切换器模型数据
|
|
34
|
+
*/
|
|
35
|
+
modelData: {
|
|
36
|
+
type: PropType<IPanelRawItem>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @description 应用切换器控制器
|
|
41
|
+
*/
|
|
42
|
+
controller: {
|
|
43
|
+
type: typeof AppSwitchController;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useRouter } from 'vue-router';
|
|
3
|
+
import { showTitle } from '@ibiz-template/core';
|
|
4
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
5
|
+
import { AppSwitchController } from './app-switch.controller.mjs';
|
|
6
|
+
import './app-switch.css';
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const AppSwitch = /* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "IBizAppSwitch",
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 应用切换器模型数据
|
|
14
|
+
*/
|
|
15
|
+
modelData: {
|
|
16
|
+
type: Object,
|
|
17
|
+
required: true
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 应用切换器控制器
|
|
21
|
+
*/
|
|
22
|
+
controller: {
|
|
23
|
+
type: AppSwitchController,
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(props) {
|
|
28
|
+
const ns = useNamespace("app-switch");
|
|
29
|
+
const {
|
|
30
|
+
state
|
|
31
|
+
} = props.controller;
|
|
32
|
+
const router = useRouter();
|
|
33
|
+
const handleClick = (id) => {
|
|
34
|
+
props.controller.switchMicroApp(id, router);
|
|
35
|
+
};
|
|
36
|
+
return {
|
|
37
|
+
ns,
|
|
38
|
+
state,
|
|
39
|
+
handleClick
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
render() {
|
|
43
|
+
if (!this.state.visible) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return createVNode(resolveComponent("el-dropdown"), {
|
|
47
|
+
"class": this.ns.b(),
|
|
48
|
+
"trigger": "click",
|
|
49
|
+
"onCommand": (command) => this.handleClick(command)
|
|
50
|
+
}, {
|
|
51
|
+
default: () => createVNode("span", {
|
|
52
|
+
"class": this.ns.e("icon")
|
|
53
|
+
}, [createVNode("i", {
|
|
54
|
+
"class": "fa fa-th",
|
|
55
|
+
"aria-hidden": "true"
|
|
56
|
+
}, null)]),
|
|
57
|
+
dropdown: () => createVNode(resolveComponent("el-dropdown-menu"), {
|
|
58
|
+
"class": [this.ns.e("dropdown")]
|
|
59
|
+
}, {
|
|
60
|
+
default: () => [this.state.items.length > 0 ? this.state.items.map((item) => {
|
|
61
|
+
return createVNode(resolveComponent("el-dropdown-item"), {
|
|
62
|
+
"class": [this.ns.e("item"), this.ns.is("active", this.state.activeMicroAppId === item.id)],
|
|
63
|
+
"title": showTitle(item.caption),
|
|
64
|
+
"command": item.id
|
|
65
|
+
}, {
|
|
66
|
+
default: () => [item.caption]
|
|
67
|
+
});
|
|
68
|
+
}) : createVNode(resolveComponent("iBizNoData"), null, null)]
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export { AppSwitch };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
2
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
3
|
+
import { AppSwitchController } from './app-switch.controller';
|
|
4
|
+
export declare class AppSwitchProvider implements IPanelItemProvider {
|
|
5
|
+
component: string;
|
|
6
|
+
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<AppSwitchController>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppSwitchController } from './app-switch.controller.mjs';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class AppSwitchProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizAppSwitch");
|
|
13
|
+
}
|
|
14
|
+
async createController(panelItem, panel, parent) {
|
|
15
|
+
const c = new AppSwitchController(panelItem, panel, parent);
|
|
16
|
+
await c.init();
|
|
17
|
+
return c;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { AppSwitchProvider };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IApiMicroApp, PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @description 应用切换器状态
|
|
4
|
+
* @export
|
|
5
|
+
* @class AppSwitchState
|
|
6
|
+
* @extends {PanelItemState}
|
|
7
|
+
*/
|
|
8
|
+
export declare class AppSwitchState extends PanelItemState {
|
|
9
|
+
/**
|
|
10
|
+
* @description 激活微应用标识
|
|
11
|
+
* @exposedoc
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof AppSwitchState
|
|
14
|
+
*/
|
|
15
|
+
activeMicroAppId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @description 微应用列表数据
|
|
18
|
+
* @exposedoc
|
|
19
|
+
* @type {IApiMicroApp[]}
|
|
20
|
+
* @memberof AppSwitchState
|
|
21
|
+
*/
|
|
22
|
+
items: IApiMicroApp[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class AppSwitchState extends PanelItemState {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
/**
|
|
14
|
+
* @description 激活微应用标识
|
|
15
|
+
* @exposedoc
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof AppSwitchState
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "activeMicroAppId", "");
|
|
20
|
+
/**
|
|
21
|
+
* @description 微应用列表数据
|
|
22
|
+
* @exposedoc
|
|
23
|
+
* @type {IApiMicroApp[]}
|
|
24
|
+
* @memberof AppSwitchState
|
|
25
|
+
*/
|
|
26
|
+
__publicField(this, "items", []);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { AppSwitchState };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { AppSwitch } from './app-switch.mjs';
|
|
4
|
+
import { AppSwitchProvider } from './app-switch.provider.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const IBizAppSwitch = withInstall(
|
|
8
|
+
AppSwitch,
|
|
9
|
+
function(v) {
|
|
10
|
+
v.component(AppSwitch.name, AppSwitch);
|
|
11
|
+
registerPanelItemProvider(
|
|
12
|
+
"RAWITEM_APP_SWITCH",
|
|
13
|
+
() => new AppSwitchProvider()
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export { IBizAppSwitch, IBizAppSwitch as default };
|
|
@@ -2,16 +2,15 @@ import { IPanelRawItem } from '@ibiz/model-core';
|
|
|
2
2
|
import { PanelItemController, PanelNotifyState } from '@ibiz-template/runtime';
|
|
3
3
|
import { AuthCaptchaState } from './auth-captcha.state';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* @description 主要是用于加载图片验证码。
|
|
7
6
|
* @export
|
|
8
7
|
* @class AuthCaptchaController
|
|
9
8
|
* @extends {PanelItemController<IPanelRawItem>}
|
|
10
9
|
*/
|
|
11
10
|
export declare class AuthCaptchaController extends PanelItemController<IPanelRawItem> {
|
|
12
11
|
/**
|
|
13
|
-
* 人机识别状态对象
|
|
14
|
-
*
|
|
12
|
+
* @description 人机识别状态对象
|
|
13
|
+
* @exposedoc
|
|
15
14
|
* @type {AuthCaptchaState}
|
|
16
15
|
* @memberof AuthCaptchaController
|
|
17
16
|
*/
|
|
@@ -61,8 +60,8 @@ export declare class AuthCaptchaController extends PanelItemController<IPanelRaw
|
|
|
61
60
|
*/
|
|
62
61
|
onChange(): void;
|
|
63
62
|
/**
|
|
64
|
-
* 加载验证码
|
|
65
|
-
*
|
|
63
|
+
* @description 加载验证码
|
|
64
|
+
* @exposedoc
|
|
66
65
|
* @return {*} {Promise<void>}ss
|
|
67
66
|
* @memberof AuthCaptchaController
|
|
68
67
|
*/
|