@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,172 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { IHttpResponse } from '@ibiz-template/core';
|
|
4
|
+
import { GlobalSearchState, ISearchItem } from './global-search.state';
|
|
5
|
+
/**
|
|
6
|
+
* 全局搜索控制器
|
|
7
|
+
*
|
|
8
|
+
* @export
|
|
9
|
+
* @class GlobalSearchController
|
|
10
|
+
* @extends {PanelItemController<IPanelRawItem>}
|
|
11
|
+
*/
|
|
12
|
+
export declare class GlobalSearchController extends PanelItemController<IPanelRawItem> {
|
|
13
|
+
state: GlobalSearchState;
|
|
14
|
+
/**
|
|
15
|
+
* @description 主键属性名称
|
|
16
|
+
* @exposedoc
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof GlobalSearchController
|
|
19
|
+
*/
|
|
20
|
+
keyName: string;
|
|
21
|
+
/**
|
|
22
|
+
* @description 主文本属性名称
|
|
23
|
+
* @exposedoc
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GlobalSearchController
|
|
26
|
+
*/
|
|
27
|
+
textName: string;
|
|
28
|
+
/**
|
|
29
|
+
* @description 自定义参数
|
|
30
|
+
* @exposedoc
|
|
31
|
+
* @protected
|
|
32
|
+
* @type {IData}
|
|
33
|
+
* @memberof GlobalSearchController
|
|
34
|
+
*/
|
|
35
|
+
protected rawItemParams: IData;
|
|
36
|
+
/**
|
|
37
|
+
* @description 搜索历史缓存标识
|
|
38
|
+
* @protected
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof GlobalSearchController
|
|
41
|
+
*/
|
|
42
|
+
protected historyCacheKey: string;
|
|
43
|
+
/**
|
|
44
|
+
* @description 最大历史记录,默认7条
|
|
45
|
+
* @protected
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof GlobalSearchController
|
|
48
|
+
*/
|
|
49
|
+
protected maxHistory: number;
|
|
50
|
+
/**
|
|
51
|
+
* @description 单次查询最大数量,默认100条
|
|
52
|
+
* @exposedoc
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof GlobalSearchController
|
|
55
|
+
*/
|
|
56
|
+
size: number;
|
|
57
|
+
/**
|
|
58
|
+
* 创建全局搜索状态对象
|
|
59
|
+
*
|
|
60
|
+
* @protected
|
|
61
|
+
* @return {*} {GlobalSearchState}
|
|
62
|
+
* @memberof GlobalSearchController
|
|
63
|
+
*/
|
|
64
|
+
protected createState(): GlobalSearchState;
|
|
65
|
+
/**
|
|
66
|
+
* 初始化
|
|
67
|
+
*
|
|
68
|
+
* @protected
|
|
69
|
+
* @return {*} {Promise<void>}
|
|
70
|
+
* @memberof GlobalSearchController
|
|
71
|
+
*/
|
|
72
|
+
protected onInit(): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* 处理直接内容项参数
|
|
75
|
+
*
|
|
76
|
+
* @protected
|
|
77
|
+
* @memberof GlobalSearchController
|
|
78
|
+
*/
|
|
79
|
+
protected handleRawItemParams(): void;
|
|
80
|
+
/**
|
|
81
|
+
* 初始化参数
|
|
82
|
+
*
|
|
83
|
+
* @protected
|
|
84
|
+
* @memberof GlobalSearchController
|
|
85
|
+
*/
|
|
86
|
+
protected initParams(): void;
|
|
87
|
+
/**
|
|
88
|
+
* 初始化历史记录
|
|
89
|
+
*
|
|
90
|
+
* @protected
|
|
91
|
+
* @memberof GlobalSearchController
|
|
92
|
+
*/
|
|
93
|
+
protected initHistory(): void;
|
|
94
|
+
/**
|
|
95
|
+
* 初始化全局搜索项
|
|
96
|
+
*
|
|
97
|
+
* @protected
|
|
98
|
+
* @memberof GlobalSearchController
|
|
99
|
+
*/
|
|
100
|
+
protected initGlobalSearchItem(): Promise<void>;
|
|
101
|
+
/**
|
|
102
|
+
* 添加历史
|
|
103
|
+
*
|
|
104
|
+
* @protected
|
|
105
|
+
* @param {string} query
|
|
106
|
+
* @memberof GlobalSearchController
|
|
107
|
+
*/
|
|
108
|
+
protected addToHistory(query: string): void;
|
|
109
|
+
/**
|
|
110
|
+
* 获取查询参数
|
|
111
|
+
*
|
|
112
|
+
* @protected
|
|
113
|
+
* @param {ISearchItem} item
|
|
114
|
+
* @return {*} {IParams}
|
|
115
|
+
* @memberof GlobalSearchController
|
|
116
|
+
*/
|
|
117
|
+
protected getFetchParams(item: ISearchItem): IParams;
|
|
118
|
+
/**
|
|
119
|
+
* 处理响应头
|
|
120
|
+
*
|
|
121
|
+
* @protected
|
|
122
|
+
* @param {IHttpResponse} response
|
|
123
|
+
* @return {*} {{
|
|
124
|
+
* page: number;
|
|
125
|
+
* total: number;
|
|
126
|
+
* }}
|
|
127
|
+
* @memberof GlobalSearchController
|
|
128
|
+
*/
|
|
129
|
+
protected handleResponseHeader(response: IHttpResponse): {
|
|
130
|
+
page: number;
|
|
131
|
+
total: number;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* 通过AC模式加载数据
|
|
135
|
+
*
|
|
136
|
+
* @protected
|
|
137
|
+
* @param {ISearchItem} item
|
|
138
|
+
* @return {*} {Promise<IData[]>}
|
|
139
|
+
* @memberof GlobalSearchController
|
|
140
|
+
*/
|
|
141
|
+
protected loadByACMode(item: ISearchItem): Promise<IData[]>;
|
|
142
|
+
/**
|
|
143
|
+
* @description 清除历史
|
|
144
|
+
* @exposedoc
|
|
145
|
+
* @memberof GlobalSearchController
|
|
146
|
+
*/
|
|
147
|
+
clearHistory(): void;
|
|
148
|
+
/**
|
|
149
|
+
* @description 搜索
|
|
150
|
+
* @exposedoc
|
|
151
|
+
* @return {*} {Promise<void>}
|
|
152
|
+
* @memberof GlobalSearchController
|
|
153
|
+
*/
|
|
154
|
+
search(value: string): Promise<void>;
|
|
155
|
+
/**
|
|
156
|
+
* 打开链接视图
|
|
157
|
+
*
|
|
158
|
+
* @param {IData} data 数据
|
|
159
|
+
* @param {ISearchItem} item 搜索项
|
|
160
|
+
* @return {*} {void}
|
|
161
|
+
* @memberof GlobalSearchController
|
|
162
|
+
*/
|
|
163
|
+
openLinkView(data: IData, item: ISearchItem): void;
|
|
164
|
+
/**
|
|
165
|
+
* 根据实体获取搜索项
|
|
166
|
+
*
|
|
167
|
+
* @param {string} [appDataEntityId] 实体标识
|
|
168
|
+
* @return {*} {(ISearchItem | undefined)}
|
|
169
|
+
* @memberof GlobalSearchController
|
|
170
|
+
*/
|
|
171
|
+
getSearchItemByEntity(appDataEntityId?: string): ISearchItem | undefined;
|
|
172
|
+
}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { PanelItemController, getControl, getDeACMode, getAcItemProvider, calcDeCodeNameById, OpenAppViewCommand } from '@ibiz-template/runtime';
|
|
2
|
+
import { notNilEmpty, createUUID } from 'qx-util';
|
|
3
|
+
import { recursiveIterate } from '@ibiz-template/core';
|
|
4
|
+
import { GlobalSearchState } from './global-search.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 GlobalSearchController extends PanelItemController {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
/**
|
|
17
|
+
* @description 主键属性名称
|
|
18
|
+
* @exposedoc
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof GlobalSearchController
|
|
21
|
+
*/
|
|
22
|
+
__publicField(this, "keyName", "srfkey");
|
|
23
|
+
/**
|
|
24
|
+
* @description 主文本属性名称
|
|
25
|
+
* @exposedoc
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GlobalSearchController
|
|
28
|
+
*/
|
|
29
|
+
__publicField(this, "textName", "srfmajortext");
|
|
30
|
+
/**
|
|
31
|
+
* @description 自定义参数
|
|
32
|
+
* @exposedoc
|
|
33
|
+
* @protected
|
|
34
|
+
* @type {IData}
|
|
35
|
+
* @memberof GlobalSearchController
|
|
36
|
+
*/
|
|
37
|
+
__publicField(this, "rawItemParams", {});
|
|
38
|
+
/**
|
|
39
|
+
* @description 搜索历史缓存标识
|
|
40
|
+
* @protected
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof GlobalSearchController
|
|
43
|
+
*/
|
|
44
|
+
__publicField(this, "historyCacheKey", "global-search-history");
|
|
45
|
+
/**
|
|
46
|
+
* @description 最大历史记录,默认7条
|
|
47
|
+
* @protected
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof GlobalSearchController
|
|
50
|
+
*/
|
|
51
|
+
__publicField(this, "maxHistory", 7);
|
|
52
|
+
/**
|
|
53
|
+
* @description 单次查询最大数量,默认100条
|
|
54
|
+
* @exposedoc
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof GlobalSearchController
|
|
57
|
+
*/
|
|
58
|
+
__publicField(this, "size", 100);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 创建全局搜索状态对象
|
|
62
|
+
*
|
|
63
|
+
* @protected
|
|
64
|
+
* @return {*} {GlobalSearchState}
|
|
65
|
+
* @memberof GlobalSearchController
|
|
66
|
+
*/
|
|
67
|
+
createState() {
|
|
68
|
+
var _a;
|
|
69
|
+
return new GlobalSearchState((_a = this.parent) == null ? void 0 : _a.state);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* 初始化
|
|
73
|
+
*
|
|
74
|
+
* @protected
|
|
75
|
+
* @return {*} {Promise<void>}
|
|
76
|
+
* @memberof GlobalSearchController
|
|
77
|
+
*/
|
|
78
|
+
async onInit() {
|
|
79
|
+
await super.onInit();
|
|
80
|
+
this.handleRawItemParams();
|
|
81
|
+
this.initParams();
|
|
82
|
+
this.initHistory();
|
|
83
|
+
await this.initGlobalSearchItem();
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* 处理直接内容项参数
|
|
87
|
+
*
|
|
88
|
+
* @protected
|
|
89
|
+
* @memberof GlobalSearchController
|
|
90
|
+
*/
|
|
91
|
+
handleRawItemParams() {
|
|
92
|
+
var _a;
|
|
93
|
+
let params = {};
|
|
94
|
+
const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
95
|
+
if (notNilEmpty(rawItemParams)) {
|
|
96
|
+
params = rawItemParams.reduce((param, item) => {
|
|
97
|
+
param[item.key.toLowerCase()] = item.value;
|
|
98
|
+
return param;
|
|
99
|
+
}, {});
|
|
100
|
+
}
|
|
101
|
+
Object.assign(this.rawItemParams, params);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* 初始化参数
|
|
105
|
+
*
|
|
106
|
+
* @protected
|
|
107
|
+
* @memberof GlobalSearchController
|
|
108
|
+
*/
|
|
109
|
+
initParams() {
|
|
110
|
+
if (this.rawItemParams.historycachekey)
|
|
111
|
+
this.historyCacheKey += this.rawItemParams.historycachekey;
|
|
112
|
+
if (this.rawItemParams.maxhistory)
|
|
113
|
+
this.maxHistory = Number(this.rawItemParams.maxhistory);
|
|
114
|
+
if (this.rawItemParams.size)
|
|
115
|
+
this.size = Number(this.rawItemParams.size);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* 初始化历史记录
|
|
119
|
+
*
|
|
120
|
+
* @protected
|
|
121
|
+
* @memberof GlobalSearchController
|
|
122
|
+
*/
|
|
123
|
+
initHistory() {
|
|
124
|
+
const cache = localStorage.getItem(this.historyCacheKey);
|
|
125
|
+
if (cache)
|
|
126
|
+
this.state.histories = JSON.parse(cache);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 初始化全局搜索项
|
|
130
|
+
*
|
|
131
|
+
* @protected
|
|
132
|
+
* @memberof GlobalSearchController
|
|
133
|
+
*/
|
|
134
|
+
async initGlobalSearchItem() {
|
|
135
|
+
const appMenu = getControl(this.panel.view.model, "appmenu");
|
|
136
|
+
if (!appMenu)
|
|
137
|
+
return;
|
|
138
|
+
const appFuncs = [];
|
|
139
|
+
recursiveIterate(
|
|
140
|
+
appMenu,
|
|
141
|
+
(menuItem) => {
|
|
142
|
+
if (menuItem.appFuncId) {
|
|
143
|
+
const app = ibiz.hub.getApp(menuItem.appId);
|
|
144
|
+
const appFunc = app.getAppFunc(menuItem.appFuncId);
|
|
145
|
+
if (appFunc && appFunc.appFuncType === "SEARCH" && appFunc.appDEACModeId && appFunc.appDataEntityId)
|
|
146
|
+
appFuncs.push(appFunc);
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
childrenFields: ["appMenuItems"]
|
|
151
|
+
}
|
|
152
|
+
);
|
|
153
|
+
await Promise.all(
|
|
154
|
+
appFuncs.map(async (func) => {
|
|
155
|
+
const deACMode = await getDeACMode(
|
|
156
|
+
func.appDEACModeId,
|
|
157
|
+
func.appDataEntityId,
|
|
158
|
+
func.appId
|
|
159
|
+
);
|
|
160
|
+
if (deACMode) {
|
|
161
|
+
let acItemProvider;
|
|
162
|
+
if (deACMode.itemSysPFPluginId) {
|
|
163
|
+
acItemProvider = await getAcItemProvider(deACMode);
|
|
164
|
+
}
|
|
165
|
+
this.state.items.push({
|
|
166
|
+
deACMode,
|
|
167
|
+
acItemProvider,
|
|
168
|
+
appDataEntityId: func.appDataEntityId
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
})
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* 添加历史
|
|
176
|
+
*
|
|
177
|
+
* @protected
|
|
178
|
+
* @param {string} query
|
|
179
|
+
* @memberof GlobalSearchController
|
|
180
|
+
*/
|
|
181
|
+
addToHistory(query) {
|
|
182
|
+
const histories = this.state.histories.filter((history) => history !== query);
|
|
183
|
+
histories.push(query);
|
|
184
|
+
if (histories.length > this.maxHistory)
|
|
185
|
+
histories.shift();
|
|
186
|
+
this.state.histories = histories;
|
|
187
|
+
localStorage.setItem(
|
|
188
|
+
this.historyCacheKey,
|
|
189
|
+
JSON.stringify(this.state.histories)
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* 获取查询参数
|
|
194
|
+
*
|
|
195
|
+
* @protected
|
|
196
|
+
* @param {ISearchItem} item
|
|
197
|
+
* @return {*} {IParams}
|
|
198
|
+
* @memberof GlobalSearchController
|
|
199
|
+
*/
|
|
200
|
+
getFetchParams(item) {
|
|
201
|
+
const { deACMode } = item;
|
|
202
|
+
const { minorSortDir, minorSortAppDEFieldId } = deACMode;
|
|
203
|
+
const params = {
|
|
204
|
+
page: 0,
|
|
205
|
+
size: this.size,
|
|
206
|
+
query: this.state.query
|
|
207
|
+
};
|
|
208
|
+
if (minorSortDir && minorSortAppDEFieldId)
|
|
209
|
+
Object.assign(params, {
|
|
210
|
+
sort: "".concat(minorSortAppDEFieldId.toLowerCase(), ",").concat(minorSortDir.toLowerCase())
|
|
211
|
+
});
|
|
212
|
+
return params;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* 处理响应头
|
|
216
|
+
*
|
|
217
|
+
* @protected
|
|
218
|
+
* @param {IHttpResponse} response
|
|
219
|
+
* @return {*} {{
|
|
220
|
+
* page: number;
|
|
221
|
+
* total: number;
|
|
222
|
+
* }}
|
|
223
|
+
* @memberof GlobalSearchController
|
|
224
|
+
*/
|
|
225
|
+
handleResponseHeader(response) {
|
|
226
|
+
return {
|
|
227
|
+
page: response.headers["x-page"] ? Number(response.headers["x-page"]) : 0,
|
|
228
|
+
total: response.headers["x-total"] ? Number(response.headers["x-total"]) : 0
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* 通过AC模式加载数据
|
|
233
|
+
*
|
|
234
|
+
* @protected
|
|
235
|
+
* @param {ISearchItem} item
|
|
236
|
+
* @return {*} {Promise<IData[]>}
|
|
237
|
+
* @memberof GlobalSearchController
|
|
238
|
+
*/
|
|
239
|
+
async loadByACMode(item) {
|
|
240
|
+
let result = [];
|
|
241
|
+
const { appDataEntityId, deACMode } = item;
|
|
242
|
+
const { appDEDataSetId } = deACMode;
|
|
243
|
+
if (!appDEDataSetId)
|
|
244
|
+
return result;
|
|
245
|
+
const params = this.getFetchParams(item);
|
|
246
|
+
const app = ibiz.hub.getApp(deACMode.appId);
|
|
247
|
+
const response = await app.deService.exec(
|
|
248
|
+
appDataEntityId,
|
|
249
|
+
appDEDataSetId,
|
|
250
|
+
this.panel.context,
|
|
251
|
+
params
|
|
252
|
+
);
|
|
253
|
+
if (response.ok && response.data) {
|
|
254
|
+
const { page, total } = this.handleResponseHeader(response);
|
|
255
|
+
const data = response.data;
|
|
256
|
+
if ((page + 1) * this.size < total)
|
|
257
|
+
data.push({
|
|
258
|
+
[this.textName]: "".concat(ibiz.i18n.t(
|
|
259
|
+
"panelComponent.globalSearch.moreTips",
|
|
260
|
+
{
|
|
261
|
+
total,
|
|
262
|
+
size: this.size
|
|
263
|
+
}
|
|
264
|
+
)),
|
|
265
|
+
[this.keyName]: createUUID()
|
|
266
|
+
});
|
|
267
|
+
result = data;
|
|
268
|
+
}
|
|
269
|
+
return result;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* @description 清除历史
|
|
273
|
+
* @exposedoc
|
|
274
|
+
* @memberof GlobalSearchController
|
|
275
|
+
*/
|
|
276
|
+
clearHistory() {
|
|
277
|
+
this.state.histories = [];
|
|
278
|
+
localStorage.setItem(
|
|
279
|
+
this.historyCacheKey,
|
|
280
|
+
JSON.stringify(this.state.histories)
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* @description 搜索
|
|
285
|
+
* @exposedoc
|
|
286
|
+
* @return {*} {Promise<void>}
|
|
287
|
+
* @memberof GlobalSearchController
|
|
288
|
+
*/
|
|
289
|
+
async search(value) {
|
|
290
|
+
this.state.query = value;
|
|
291
|
+
if (!this.state.query)
|
|
292
|
+
return;
|
|
293
|
+
this.state.list = [];
|
|
294
|
+
this.state.loading = true;
|
|
295
|
+
this.addToHistory(this.state.query);
|
|
296
|
+
try {
|
|
297
|
+
await Promise.all(
|
|
298
|
+
this.state.items.map(async (item) => {
|
|
299
|
+
const list = await this.loadByACMode(item);
|
|
300
|
+
this.state.list.push(...list);
|
|
301
|
+
})
|
|
302
|
+
);
|
|
303
|
+
} catch (error) {
|
|
304
|
+
ibiz.log.error(error);
|
|
305
|
+
} finally {
|
|
306
|
+
this.state.loading = false;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* 打开链接视图
|
|
311
|
+
*
|
|
312
|
+
* @param {IData} data 数据
|
|
313
|
+
* @param {ISearchItem} item 搜索项
|
|
314
|
+
* @return {*} {void}
|
|
315
|
+
* @memberof GlobalSearchController
|
|
316
|
+
*/
|
|
317
|
+
openLinkView(data, item) {
|
|
318
|
+
const { appDataEntityId, deACMode } = item;
|
|
319
|
+
const { linkAppViewId } = deACMode;
|
|
320
|
+
if (!linkAppViewId)
|
|
321
|
+
return;
|
|
322
|
+
const context = this.panel.context.clone();
|
|
323
|
+
const deName = calcDeCodeNameById(appDataEntityId);
|
|
324
|
+
Object.assign(context, { [deName]: data[this.keyName] });
|
|
325
|
+
ibiz.commands.execute(OpenAppViewCommand.TAG, linkAppViewId, context, {
|
|
326
|
+
noWaitRoute: true
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* 根据实体获取搜索项
|
|
331
|
+
*
|
|
332
|
+
* @param {string} [appDataEntityId] 实体标识
|
|
333
|
+
* @return {*} {(ISearchItem | undefined)}
|
|
334
|
+
* @memberof GlobalSearchController
|
|
335
|
+
*/
|
|
336
|
+
getSearchItemByEntity(appDataEntityId) {
|
|
337
|
+
return this.state.items.find(
|
|
338
|
+
(item) => calcDeCodeNameById(item.appDataEntityId) === (appDataEntityId == null ? void 0 : appDataEntityId.toLowerCase())
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export { GlobalSearchController };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-global-search{width:100%}.ibiz-global-search__footer{width:100%;line-height:34px;text-align:center;color:var(--ibiz-color-primary-light-active)}.ibiz-global-search__footer.is-load-more{cursor:pointer}.ibiz-global-search__footer.is-load-more:hover{background-color:var(--ibiz-color-fill-1)}.ibiz-global-search__search .el-input__wrapper{width:240px}.ibiz-global-search__search .el-input__wrapper.is-focus{width:320px}.ibiz-global-search__search--enter-icon{cursor:pointer}.ibiz-global-search__search.is-search .el-input__wrapper{width:320px}.ibiz-global-search__content{display:flex;align-items:center;flex-direction:column}.ibiz-global-search__content--action-item{width:100%}.ibiz-global-search__content--action-item .el-button{width:100%;height:34px}.ibiz-global-search__list{width:100%;max-height:300px;display:flex;overflow-y:auto;align-items:center;flex-direction:column}.ibiz-global-search__list--item{margin:0;width:100%;padding:0 20px;cursor:pointer;text-align:left;overflow:hidden;min-height:34px;line-height:34px;white-space:nowrap;text-overflow:ellipsis;color:var(--ibiz-color-text-0);font-size:var(--ibiz-font-size-regular)}.ibiz-global-search__list--item:hover{background-color:var(--ibiz-color-fill-1)}.ibiz-global-search__popper{padding:0!important;min-width:320px!important}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { GlobalSearchController } from './global-search.controller';
|
|
4
|
+
import './global-search.scss';
|
|
5
|
+
/**
|
|
6
|
+
* 全局搜索
|
|
7
|
+
* @primary
|
|
8
|
+
* @description 全局搜索组件,监听快捷键Ctrl+K弹出搜索框,点击搜索时可查询应用信息。
|
|
9
|
+
* @panelitemparams {name:historyCacheKey,parameterType:string,defaultvalue:global-search-history,description:搜索历史缓存标识}
|
|
10
|
+
* @panelitemparams {name:maxhistory,parameterType:number,defaultvalue:7,description:最大历史记录,默认7条}
|
|
11
|
+
* @panelitemparams {name:size,parameterType:number,defaultvalue:100,description:单次查询最大数量,默认100条}
|
|
12
|
+
* @export
|
|
13
|
+
* @class GlobalSearch
|
|
14
|
+
*/
|
|
15
|
+
export declare const GlobalSearch: import("vue").DefineComponent<{
|
|
16
|
+
/**
|
|
17
|
+
* @description 全局搜索控件模型数据
|
|
18
|
+
*/
|
|
19
|
+
modelData: {
|
|
20
|
+
type: PropType<IPanelRawItem>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @description 全局搜索控件控制器
|
|
25
|
+
*/
|
|
26
|
+
controller: {
|
|
27
|
+
type: PropType<GlobalSearchController>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
c: GlobalSearchController;
|
|
32
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
33
|
+
visible: import("vue").ComputedRef<boolean>;
|
|
34
|
+
editorRef: import("vue").Ref<any>;
|
|
35
|
+
searchValue: import("vue").Ref<string>;
|
|
36
|
+
handleFocus: (_evt: FocusEvent) => void;
|
|
37
|
+
handleEnter: (event: KeyboardEvent) => void;
|
|
38
|
+
renderAction: () => JSX.Element | undefined;
|
|
39
|
+
renderFooter: () => JSX.Element | undefined;
|
|
40
|
+
renderSearchList: () => JSX.Element | undefined;
|
|
41
|
+
renderHistoryList: () => JSX.Element;
|
|
42
|
+
handleClearSearch: () => void;
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
/**
|
|
45
|
+
* @description 全局搜索控件模型数据
|
|
46
|
+
*/
|
|
47
|
+
modelData: {
|
|
48
|
+
type: PropType<IPanelRawItem>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @description 全局搜索控件控制器
|
|
53
|
+
*/
|
|
54
|
+
controller: {
|
|
55
|
+
type: PropType<GlobalSearchController>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
}>>, {}, {}>;
|