@ibiz-template/vue3-components 0.7.38-alpha.56 → 0.7.40-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +321 -0
- package/dist/ibiz-markdown-editor-D4ESf3bP.js +1 -0
- package/dist/index--C432Qzt.js +4 -0
- package/dist/index-CmaF1QyJ.js +1 -0
- package/dist/index-frsL8WmS.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-user-CILGy9I4.js +1 -0
- package/dist/wang-editor-ZtYMqlXx.js +1 -0
- package/dist/{xlsx-util-BApCDhEk.js → xlsx-util-CKS7oyKo.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.d.ts +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +14 -8
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +9 -9
- package/es/common/anchor-container/anchor-container.d.ts +12 -12
- package/es/common/button-list/button-list.d.ts +5 -5
- package/es/common/button-list/button-list.mjs +53 -41
- package/es/common/carousel/carousel.d.ts +1 -1
- package/es/common/carousel-card/carousel-card.d.ts +3 -3
- package/es/common/control-navigation/control-navigation.mjs +7 -1
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +5 -2
- package/es/common/cropping/cropping.d.ts +3 -3
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +12 -12
- package/es/common/data-import/data-import.d.ts +4 -4
- package/es/common/data-import2/data-import2.d.ts +5 -5
- package/es/common/data-import2-select/data-import2-select.d.ts +2 -2
- package/es/common/data-import2-table/data-import2-table.d.ts +2 -2
- package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
- package/es/common/emoji-select/emoji-select.d.ts +3 -3
- package/es/common/extend-action-timeline/extend-action-timeline.d.ts +3 -3
- package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
- package/es/common/map-chart-user/map-user-manager.mjs +1 -1
- package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +4 -4
- package/es/common/pql-editor/pql-editor.d.ts +4 -4
- package/es/common/quick-edit/quick-edit.d.ts +15 -5
- package/es/common/quick-edit/quick-edit.mjs +27 -7
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/common/rawitem/rawitem.mjs +4 -3
- package/es/common/view-message/view-message.d.ts +6 -6
- package/es/common/view-message/view-message.mjs +6 -4
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +8 -8
- package/es/control/app-menu/app-menu.mjs +8 -4
- package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
- package/es/control/app-menu/index.d.ts +9 -9
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +7 -7
- package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +1 -1
- package/es/control/calendar/components/calendar-user/calendar-user.d.ts +6 -6
- package/es/control/calendar/components/calendar-user/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +4 -4
- package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +6 -6
- package/es/control/calendar/components/custom-calendar/index.d.ts +6 -6
- package/es/control/calendar/components/interface/calendar-daily.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-user.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-week.d.ts +3 -3
- package/es/control/calendar/components/interface/custom-calendar.d.ts +3 -3
- package/es/control/calendar/components/util/util.d.ts +2 -2
- package/es/control/calendar/index.d.ts +8 -8
- package/es/control/caption-bar/caption-bar.d.ts +5 -5
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +13 -13
- package/es/control/context-menu/context-menu.css +1 -1
- package/es/control/context-menu/context-menu.d.ts +8 -6
- package/es/control/context-menu/context-menu.mjs +24 -9
- package/es/control/context-menu/index.d.ts +8 -6
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21357
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
- package/es/control/dashboard/dashboard.d.ts +6 -6
- package/es/control/dashboard/index.d.ts +7 -7
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +6 -6
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +6 -6
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.d.ts +5 -5
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +14 -14
- package/es/control/data-view/data-view.mjs +73 -87
- package/es/control/data-view/index.d.ts +14 -14
- package/es/control/drbar/drbar.d.ts +5 -5
- package/es/control/drbar/index.d.ts +5 -5
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.d.ts +8 -8
- package/es/control/drtab/index.d.ts +8 -8
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/calendar-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/chart-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/data-view-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/grid-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.d.ts +5 -5
- package/es/control/exp-bar/tree-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.d.ts +5 -5
- package/es/control/form/edit-form/edit-form.css +1 -0
- package/es/control/form/edit-form/edit-form.d.ts +3 -76
- package/es/control/form/edit-form/edit-form.mjs +27 -5
- package/es/control/form/edit-form/index.d.ts +2 -73
- package/es/control/form/form/form.css +1 -1
- package/es/control/form/form/form.d.ts +1 -1
- package/es/control/form/form/form.mjs +1 -1
- package/es/control/form/form/index.d.ts +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +4 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.d.ts +1 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.mjs +7 -3
- package/es/control/form/form-detail/form-button-list/index.d.ts +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.d.ts +1 -0
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +11 -1
- package/es/control/form/form-detail/form-druipart/index.d.ts +1 -0
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +12 -13
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +7 -101
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +65 -92
- package/es/control/form/form-detail/form-item/form-item.d.ts +5 -5
- package/es/control/form/form-detail/form-item/form-item.mjs +32 -44
- package/es/control/form/form-detail/form-item/index.d.ts +4 -4
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +12 -14
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +20890 -10610
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +10 -0
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.d.ts +4 -4
- package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.d.ts +2 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +134 -2
- package/es/control/form/form-detail/form-rawitem/index.d.ts +2 -0
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.d.ts +1 -1
- package/es/control/form/form-detail/form-tab-panel/index.d.ts +2 -2
- package/es/control/form/search-form/index.d.ts +13 -5
- package/es/control/form/search-form/search-form.d.ts +13 -5
- package/es/control/form/search-form/search-form.mjs +22 -2
- package/es/control/gantt/gantt.d.ts +7 -7
- package/es/control/gantt/index.d.ts +8 -8
- package/es/control/grid/grid/grid-control.util.mjs +18 -11
- package/es/control/grid/grid/grid.d.ts +29 -29
- package/es/control/grid/grid/grid.mjs +9 -1
- package/es/control/grid/grid/index.d.ts +29 -29
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +4 -4
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +2 -2
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.d.ts +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +4 -4
- package/es/control/kanban/index.d.ts +5 -5
- package/es/control/kanban/kanban.d.ts +5 -5
- package/es/control/list/index.d.ts +14 -14
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +14 -14
- package/es/control/list/list.mjs +64 -58
- package/es/control/map/map.d.ts +5 -5
- package/es/control/medit-view-panel/index.d.ts +5 -5
- package/es/control/medit-view-panel/medit-view-panel.d.ts +5 -5
- package/es/control/pickup-view-panel/index.d.ts +5 -5
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +5 -5
- package/es/control/report-panel/report-panel.d.ts +5 -5
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
- package/es/control/search-bar/index.d.ts +5 -5
- package/es/control/search-bar/search-bar.d.ts +5 -5
- package/es/control/search-bar/search-groups/search-groups.d.ts +6 -6
- package/es/control/tab-exp-panel/index.d.ts +5 -5
- package/es/control/tab-exp-panel/tab-exp-panel.d.ts +5 -5
- package/es/control/toolbar/export-excel/export-excel.mjs +9 -5
- package/es/control/toolbar/index.d.ts +6 -6
- package/es/control/toolbar/short-cut-button/short-cut-button.mjs +4 -3
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +5 -5
- package/es/control/toolbar/toolbar.mjs +23 -19
- package/es/control/tree/index.d.ts +14 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +26 -26
- package/es/control/tree/tree.mjs +5 -0
- package/es/control/tree-grid/index.d.ts +24 -24
- package/es/control/tree-grid/tree-grid.d.ts +23 -23
- package/es/control/tree-grid-ex/index.d.ts +11 -11
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +2 -2
- package/es/control/tree-grid-ex/tree-grid-ex.d.ts +7 -7
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.d.ts +5 -5
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +9 -9
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +3 -0
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +9 -9
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -0
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +8 -8
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +14 -14
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +1 -2
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +8 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +9 -9
- package/es/editor/code/code-editor.controller.d.ts +16 -1
- package/es/editor/code/code-editor.controller.mjs +34 -1
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +10 -9
- package/es/editor/code/monaco-editor/monaco-editor.mjs +310 -13
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +14 -10
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +10 -10
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +9 -9
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -0
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +10 -9
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +9 -3
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +9 -9
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +8 -8
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +12 -12
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +5 -1
- package/es/editor/data-picker/picker-editor.controller.mjs +5 -1
- package/es/editor/data-picker/picker-editor.provider.mjs +2 -0
- package/es/editor/date-picker/date-picker-editor.controller.mjs +7 -0
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +8 -8
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +7 -0
- package/es/editor/date-range/date-range-editor.controller.mjs +2 -0
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +8 -8
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +2 -0
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +4 -4
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +11 -11
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -7
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +8 -8
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +11 -11
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +2 -4
- package/es/editor/html/html-editor.controller.mjs +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +8 -8
- package/es/editor/html/wang-editor/wang-editor.mjs +192 -58
- package/es/editor/index.mjs +80 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +9 -9
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +132 -16
- package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/es/editor/not-supported-editor/not-supported-editor.d.ts +7 -0
- package/es/editor/not-supported-editor/not-supported-editor.mjs +15 -2
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +8 -8
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +8 -8
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +9 -9
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +9 -3
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +10 -10
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +9 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +8 -8
- package/es/editor/span/span/span.d.ts +3 -3
- package/es/editor/span/span-link/span-link.d.ts +8 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +8 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +9 -9
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +8 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +8 -8
- package/es/editor/text-box/input/input.d.ts +10 -10
- package/es/editor/text-box/input/input.mjs +194 -61
- package/es/editor/text-box/text-box-editor.controller.mjs +2 -2
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +13 -13
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +15 -15
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +8 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +13 -13
- package/es/editor/upload/upload-editor.controller.mjs +7 -3
- package/es/editor/upload/upload-editor.provider.mjs +3 -0
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +8 -8
- package/es/index.mjs +45 -0
- package/es/locale/en/index.d.ts +32 -0
- package/es/locale/en/index.mjs +28 -4
- package/es/locale/zh-CN/index.d.ts +32 -0
- package/es/locale/zh-CN/index.mjs +28 -4
- package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.57_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40-alpha.7_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +53 -81
- package/es/panel-component/coop-pos/coop-pos.d.ts +1 -1
- package/es/panel-component/coop-pos/index.d.ts +2 -2
- package/es/panel-component/global-search/global-search.controller.d.ts +113 -0
- package/es/panel-component/global-search/global-search.controller.mjs +221 -0
- package/es/panel-component/global-search/global-search.css +1 -0
- package/es/panel-component/global-search/global-search.d.ts +36 -0
- package/es/panel-component/global-search/global-search.mjs +194 -0
- package/es/panel-component/global-search/global-search.provider.d.ts +14 -0
- package/es/panel-component/global-search/global-search.provider.mjs +21 -0
- package/es/panel-component/global-search/global-search.state.d.ts +61 -0
- package/es/panel-component/global-search/global-search.state.mjs +37 -0
- package/es/panel-component/global-search/index.d.ts +33 -0
- package/es/panel-component/global-search/index.mjs +15 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +78 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +26 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +74 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
- package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
- package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
- package/es/panel-component/index.mjs +4 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +5 -1
- package/es/panel-component/panel-app-title/index.d.ts +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.d.ts +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +45 -21
- package/es/panel-component/panel-button/index.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.mjs +7 -20
- package/es/panel-component/panel-button-list/index.d.ts +1 -1
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +13 -4
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +27 -7
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +1 -1
- package/es/panel-component/panel-button-list/panel-button-list.mjs +3 -3
- package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +5 -0
- package/es/panel-component/short-cut/index.d.ts +2 -2
- package/es/panel-component/short-cut/short-cut.d.ts +1 -1
- package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +2 -2
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.d.ts +1 -1
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.mjs +3 -1
- package/es/util/ai-util/ai-util.d.ts +25 -0
- package/es/util/ai-util/ai-util.mjs +44 -0
- package/es/util/app-modal/app-modal-component.d.ts +1 -1
- package/es/util/app-util/app-util.d.ts +10 -1
- package/es/util/app-util/app-util.mjs +281 -0
- package/es/util/button-util/button-util.d.ts +7 -0
- package/es/util/button-util/button-util.mjs +11 -0
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/index.d.ts +2 -0
- package/es/util/index.mjs +2 -0
- package/es/util/notice-util/notice-util.mjs +2 -1
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
- package/es/util/open-view-util/open-view-util.d.ts +41 -14
- package/es/util/open-view-util/open-view-util.mjs +69 -15
- package/es/view/403-view/403-view.css +1 -1
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/share-view/share-view.d.ts +1 -1
- package/es/view/sub-app-ref-view/index.d.ts +7 -7
- package/es/view/sub-app-ref-view/sub-app-ref-view.d.ts +7 -7
- package/es/view/wf-step-trace-view/index.d.ts +7 -7
- package/es/view/wf-step-trace-view/wf-step-trace-view.d.ts +7 -7
- package/es/view-engine/custom-view.engine.d.ts +31 -2
- package/es/view-engine/custom-view.engine.mjs +75 -1
- package/es/view-engine/edit-view.engine.d.ts +1 -2
- package/es/view-engine/edit-view.engine.mjs +6 -27
- package/es/view-engine/index.d.ts +43 -0
- package/es/view-engine/index.mjs +2 -1
- package/es/view-engine/portal-view-engine.d.ts +8 -0
- package/es/view-engine/portal-view-engine.mjs +14 -26
- package/es/web-app/App.mjs +2 -0
- package/es/web-app/attach-environment-config.mjs +1 -1
- package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/web-app/guard/auth-guard/auth-guard.mjs +5 -0
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
- package/es/web-app/main.mjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +13 -7
- package/lib/common/button-list/button-list.cjs +53 -41
- package/lib/common/control-navigation/control-navigation.cjs +7 -1
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +5 -2
- package/lib/common/map-chart-user/map-user-manager.cjs +1 -1
- package/lib/common/quick-edit/quick-edit.cjs +26 -6
- package/lib/common/rawitem/rawitem.cjs +4 -3
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/common/view-message/view-message.cjs +6 -4
- package/lib/control/app-menu/app-menu.cjs +8 -4
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/context-menu/context-menu.cjs +23 -8
- package/lib/control/context-menu/context-menu.css +1 -1
- package/lib/control/data-view/data-view.cjs +73 -87
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +27 -5
- package/lib/control/form/edit-form/edit-form.css +1 -0
- package/lib/control/form/form/form.cjs +1 -1
- package/lib/control/form/form/form.css +1 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +4 -1
- package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +7 -3
- package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +10 -0
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-item/composite-form-item/composite-form-item.cjs +12 -13
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +64 -91
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +32 -44
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +12 -14
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +10 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +133 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +21 -1
- package/lib/control/grid/grid/grid-control.util.cjs +18 -11
- package/lib/control/grid/grid/grid.cjs +9 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/lib/control/list/list.cjs +64 -58
- package/lib/control/list/list.css +1 -1
- package/lib/control/toolbar/export-excel/export-excel.cjs +9 -5
- package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +4 -3
- package/lib/control/toolbar/toolbar.cjs +23 -19
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +5 -0
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +3 -0
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -0
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +1 -2
- package/lib/editor/code/code-editor.controller.cjs +33 -0
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +309 -12
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -0
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +8 -2
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +5 -1
- package/lib/editor/data-picker/picker-editor.controller.cjs +5 -1
- package/lib/editor/data-picker/picker-editor.provider.cjs +2 -0
- package/lib/editor/date-picker/date-picker-editor.controller.cjs +7 -0
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +7 -0
- package/lib/editor/date-range/date-range-editor.controller.cjs +2 -0
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +2 -0
- package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -7
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +2 -4
- package/lib/editor/html/html-editor.controller.cjs +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +190 -56
- package/lib/editor/index.cjs +80 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +131 -15
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/not-supported-editor/not-supported-editor.cjs +15 -2
- package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +9 -3
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +5 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/text-box/input/input.cjs +192 -59
- package/lib/editor/text-box/text-box-editor.controller.cjs +2 -2
- package/lib/editor/upload/upload-editor.controller.cjs +7 -3
- package/lib/editor/upload/upload-editor.provider.cjs +3 -0
- package/lib/index.cjs +90 -0
- package/lib/locale/en/index.cjs +28 -4
- package/lib/locale/zh-CN/index.cjs +28 -4
- package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.57_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40-alpha.7_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +53 -81
- package/lib/panel-component/global-search/global-search.cjs +196 -0
- package/lib/panel-component/global-search/global-search.controller.cjs +223 -0
- package/lib/panel-component/global-search/global-search.css +1 -0
- package/lib/panel-component/global-search/global-search.provider.cjs +23 -0
- package/lib/panel-component/global-search/global-search.state.cjs +39 -0
- package/lib/panel-component/global-search/index.cjs +20 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +76 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +80 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
- package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
- package/lib/panel-component/index.cjs +42 -38
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +5 -1
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +45 -21
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-button/panel-button.cjs +7 -20
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +3 -3
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +27 -7
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +5 -0
- package/lib/panel-component/user-message/user-message.cjs +3 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/util/ai-util/ai-util.cjs +46 -0
- package/lib/util/app-util/app-util.cjs +281 -0
- package/lib/util/button-util/button-util.cjs +13 -0
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/index.cjs +4 -0
- package/lib/util/notice-util/notice-util.cjs +2 -1
- package/lib/util/open-view-util/open-view-util.cjs +69 -15
- package/lib/view/403-view/403-view.css +1 -1
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view-engine/custom-view.engine.cjs +74 -0
- package/lib/view-engine/edit-view.engine.cjs +6 -27
- package/lib/view-engine/index.cjs +44 -0
- package/lib/view-engine/portal-view-engine.cjs +14 -26
- package/lib/web-app/App.cjs +2 -0
- package/lib/web-app/attach-environment-config.cjs +1 -1
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +5 -0
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
- package/lib/web-app/main.cjs +1 -1
- package/package.json +16 -16
- package/dist/ibiz-markdown-editor-CKuF8KOI.js +0 -1
- package/dist/index-B79xJqXz.js +0 -1
- package/dist/index-BsxW9vZO.js +0 -1
- package/dist/index-CIQ8bnG_.js +0 -4
- package/dist/map-chart-user-BaQWHpFu.js +0 -1
- package/dist/wang-editor-Vd0LVyWx.js +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
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 GlobalSearchState extends PanelItemState {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
/**
|
|
14
|
+
* 当前快速搜索值
|
|
15
|
+
*
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof GlobalSearchState
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "query", "");
|
|
20
|
+
/**
|
|
21
|
+
* 自填模式全局搜索项
|
|
22
|
+
*
|
|
23
|
+
* @type {ISearchItem[]}
|
|
24
|
+
* @memberof GlobalSearchState
|
|
25
|
+
*/
|
|
26
|
+
__publicField(this, "items", []);
|
|
27
|
+
/**
|
|
28
|
+
* 搜索历史记录
|
|
29
|
+
*
|
|
30
|
+
* @type {string[]}
|
|
31
|
+
* @memberof GlobalSearchState
|
|
32
|
+
*/
|
|
33
|
+
__publicField(this, "histories", []);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { GlobalSearchState };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const IBizGlobalSearch: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
modelData: {
|
|
3
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
controller: {
|
|
7
|
+
type: import("vue").PropType<import("./global-search.controller").GlobalSearchController>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
c: import("./global-search.controller").GlobalSearchController;
|
|
12
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
13
|
+
list: import("vue").Ref<import("@ibiz-template/core").IApiData[]>;
|
|
14
|
+
visible: import("vue").Ref<boolean>;
|
|
15
|
+
editorRef: import("vue").Ref<any>;
|
|
16
|
+
handleClear: () => void;
|
|
17
|
+
handleEnter: (event: KeyboardEvent) => void;
|
|
18
|
+
renderAction: () => JSX.Element | undefined;
|
|
19
|
+
renderSearchList: () => JSX.Element;
|
|
20
|
+
renderHistoryList: () => JSX.Element;
|
|
21
|
+
handleInputClick: (event: MouseEvent) => void;
|
|
22
|
+
renderBlankPlaceholder: () => JSX.Element | undefined;
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
modelData: {
|
|
25
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
controller: {
|
|
29
|
+
type: import("vue").PropType<import("./global-search.controller").GlobalSearchController>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
}>>, {}, {}>>;
|
|
33
|
+
export default IBizGlobalSearch;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { GlobalSearchProvider } from './global-search.provider.mjs';
|
|
4
|
+
import { GlobalSearch } from './global-search.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const IBizGlobalSearch = withInstall(GlobalSearch, function(v) {
|
|
8
|
+
v.component(GlobalSearch.name, GlobalSearch);
|
|
9
|
+
registerPanelItemProvider(
|
|
10
|
+
"RAWITEM_GLOBAL_SEARCH",
|
|
11
|
+
() => new GlobalSearchProvider()
|
|
12
|
+
);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { IBizGlobalSearch, IBizGlobalSearch as default };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { AppMenuController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
+
import { IndexBlankPlaceholderState } from './index-blank-placeholder.state';
|
|
4
|
+
import { NavPosIndexController } from '../nav-pos-index';
|
|
5
|
+
/**
|
|
6
|
+
* 首页空白占位控制器
|
|
7
|
+
*
|
|
8
|
+
* @export
|
|
9
|
+
* @class IndexBlankPlaceholderController
|
|
10
|
+
* @extends {PanelItemController<IPanelContainer>}
|
|
11
|
+
*/
|
|
12
|
+
export declare class IndexBlankPlaceholderController extends PanelItemController<IPanelContainer> {
|
|
13
|
+
state: IndexBlankPlaceholderState;
|
|
14
|
+
protected createState(): IndexBlankPlaceholderState;
|
|
15
|
+
/**
|
|
16
|
+
* 当前视图路由层级
|
|
17
|
+
*
|
|
18
|
+
* @readonly
|
|
19
|
+
* @type {(number | undefined)}
|
|
20
|
+
* @memberof IndexBlankPlaceholderController
|
|
21
|
+
*/
|
|
22
|
+
get routeDepth(): number | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* 应用菜单
|
|
25
|
+
*
|
|
26
|
+
* @readonly
|
|
27
|
+
* @type {(AppMenuController | undefined)}
|
|
28
|
+
* @memberof IndexBlankPlaceholderController
|
|
29
|
+
*/
|
|
30
|
+
get appmenu(): AppMenuController | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* 首页导航栏
|
|
33
|
+
*
|
|
34
|
+
* @readonly
|
|
35
|
+
* @type {(NavPosIndexController | undefined)}
|
|
36
|
+
* @memberof IndexBlankPlaceholderController
|
|
37
|
+
*/
|
|
38
|
+
get navPos(): NavPosIndexController | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* 初始化
|
|
41
|
+
*
|
|
42
|
+
* @protected
|
|
43
|
+
* @return {*} {Promise<void>}
|
|
44
|
+
* @memberof IndexBlankPlaceholderController
|
|
45
|
+
*/
|
|
46
|
+
protected onInit(): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* 设置显示状态
|
|
49
|
+
*
|
|
50
|
+
* @param {boolean} state
|
|
51
|
+
* @memberof IndexBlankPlaceholderController
|
|
52
|
+
*/
|
|
53
|
+
setVisible(state: boolean): void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IndexBlankPlaceholderState } from './index-blank-placeholder.state.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
class IndexBlankPlaceholderController extends PanelItemController {
|
|
6
|
+
createState() {
|
|
7
|
+
var _a;
|
|
8
|
+
return new IndexBlankPlaceholderState((_a = this.parent) == null ? void 0 : _a.state);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 当前视图路由层级
|
|
12
|
+
*
|
|
13
|
+
* @readonly
|
|
14
|
+
* @type {(number | undefined)}
|
|
15
|
+
* @memberof IndexBlankPlaceholderController
|
|
16
|
+
*/
|
|
17
|
+
get routeDepth() {
|
|
18
|
+
return this.panel.view.modal.routeDepth;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 应用菜单
|
|
22
|
+
*
|
|
23
|
+
* @readonly
|
|
24
|
+
* @type {(AppMenuController | undefined)}
|
|
25
|
+
* @memberof IndexBlankPlaceholderController
|
|
26
|
+
*/
|
|
27
|
+
get appmenu() {
|
|
28
|
+
return this.panel.getController("appmenu");
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 首页导航栏
|
|
32
|
+
*
|
|
33
|
+
* @readonly
|
|
34
|
+
* @type {(NavPosIndexController | undefined)}
|
|
35
|
+
* @memberof IndexBlankPlaceholderController
|
|
36
|
+
*/
|
|
37
|
+
get navPos() {
|
|
38
|
+
return this.panel.panelItems.nav_pos_index;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 初始化
|
|
42
|
+
*
|
|
43
|
+
* @protected
|
|
44
|
+
* @return {*} {Promise<void>}
|
|
45
|
+
* @memberof IndexBlankPlaceholderController
|
|
46
|
+
*/
|
|
47
|
+
async onInit() {
|
|
48
|
+
await super.onInit();
|
|
49
|
+
this.state.keepAlive = true;
|
|
50
|
+
this.state.visible = false;
|
|
51
|
+
this.panel.evt.on("onMounted", async () => {
|
|
52
|
+
var _a;
|
|
53
|
+
if (this.navPos)
|
|
54
|
+
this.navPos.state.keepAlive = true;
|
|
55
|
+
const appViewId = (_a = this.appmenu) == null ? void 0 : _a.getDefaultOpenView();
|
|
56
|
+
if (appViewId) {
|
|
57
|
+
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
58
|
+
const { openMode = "INDEXVIEWTAB" } = appView;
|
|
59
|
+
this.state.visible = !openMode.startsWith("INDEXVIEWTAB");
|
|
60
|
+
} else {
|
|
61
|
+
this.state.visible = true;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* 设置显示状态
|
|
67
|
+
*
|
|
68
|
+
* @param {boolean} state
|
|
69
|
+
* @memberof IndexBlankPlaceholderController
|
|
70
|
+
*/
|
|
71
|
+
setVisible(state) {
|
|
72
|
+
this.state.visible = state;
|
|
73
|
+
if (this.navPos)
|
|
74
|
+
this.navPos.state.visible = !state;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export { IndexBlankPlaceholderController };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-index-blank-placeholder{width:100%;height:100%}.ibiz-index-blank-placeholder>.ibiz-row{height:100%;overflow:hidden auto}.ibiz-index-blank-placeholder.is-hidden{display:none}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IPanelContainer } from '@ibiz/model-core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { IndexBlankPlaceholderController } from './index-blank-placeholder.controller';
|
|
4
|
+
import './index-blank-placeholder.scss';
|
|
5
|
+
export declare const IndexBlankPlaceholder: import("vue").DefineComponent<{
|
|
6
|
+
modelData: {
|
|
7
|
+
type: PropType<IPanelContainer>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
controller: {
|
|
11
|
+
type: PropType<IndexBlankPlaceholderController>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
+
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
modelData: {
|
|
19
|
+
type: PropType<IPanelContainer>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
controller: {
|
|
23
|
+
type: PropType<IndexBlankPlaceholderController>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { isVNode, defineComponent, computed, createVNode, resolveComponent } from 'vue';
|
|
2
|
+
import { useNamespace, onRouteChange } from '@ibiz-template/vue3-util';
|
|
3
|
+
import './index-blank-placeholder.css';
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
function _isSlot(s) {
|
|
7
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
+
}
|
|
9
|
+
const IndexBlankPlaceholder = /* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "IBizIndexBlankPlaceholder",
|
|
11
|
+
props: {
|
|
12
|
+
modelData: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
controller: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(props) {
|
|
22
|
+
const c = props.controller;
|
|
23
|
+
const ns = useNamespace("index-blank-placeholder");
|
|
24
|
+
const {
|
|
25
|
+
id
|
|
26
|
+
} = props.modelData;
|
|
27
|
+
const classArr = computed(() => {
|
|
28
|
+
let result = [ns.b(), ns.m(id)];
|
|
29
|
+
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
30
|
+
return result;
|
|
31
|
+
});
|
|
32
|
+
if (c.routeDepth) {
|
|
33
|
+
onRouteChange((args) => {
|
|
34
|
+
c.setVisible(!args.currentKey);
|
|
35
|
+
}, c.routeDepth + 1);
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
ns,
|
|
39
|
+
classArr
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
render() {
|
|
43
|
+
var _a, _b;
|
|
44
|
+
let _slot;
|
|
45
|
+
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
46
|
+
const content = createVNode(resolveComponent("iBizRow"), {
|
|
47
|
+
"slot": "content",
|
|
48
|
+
"layout": this.modelData.layout
|
|
49
|
+
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
50
|
+
const props = slot.props;
|
|
51
|
+
if (!props || !props.controller) {
|
|
52
|
+
return slot;
|
|
53
|
+
}
|
|
54
|
+
return createVNode(resolveComponent("iBizCol"), {
|
|
55
|
+
"layoutPos": props.modelData.layoutPos,
|
|
56
|
+
"state": props.controller.state
|
|
57
|
+
}, _isSlot(slot) ? slot : {
|
|
58
|
+
default: () => [slot]
|
|
59
|
+
});
|
|
60
|
+
})) ? _slot : {
|
|
61
|
+
default: () => [_slot]
|
|
62
|
+
});
|
|
63
|
+
return createVNode("div", {
|
|
64
|
+
"class": this.classArr,
|
|
65
|
+
"onClick": () => {
|
|
66
|
+
this.controller.onClick();
|
|
67
|
+
}
|
|
68
|
+
}, [this.controller.model.cssStyle ? createVNode("style", {
|
|
69
|
+
"type": "text/css"
|
|
70
|
+
}, [this.controller.model.cssStyle]) : null, content]);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export { IndexBlankPlaceholder };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
+
import { IndexBlankPlaceholderController } from './index-blank-placeholder.controller';
|
|
4
|
+
/**
|
|
5
|
+
* 首页空白占位适配器
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class IndexBlankPlaceholderProvider
|
|
9
|
+
* @implements {IPanelItemProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class IndexBlankPlaceholderProvider implements IPanelItemProvider {
|
|
12
|
+
component: string;
|
|
13
|
+
createController(panelItem: IPanelContainer, panel: PanelController, parent: PanelItemController | undefined): Promise<IndexBlankPlaceholderController>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IndexBlankPlaceholderController } from './index-blank-placeholder.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 IndexBlankPlaceholderProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizIndexBlankPlaceholder");
|
|
13
|
+
}
|
|
14
|
+
async createController(panelItem, panel, parent) {
|
|
15
|
+
const c = new IndexBlankPlaceholderController(panelItem, panel, parent);
|
|
16
|
+
await c.init();
|
|
17
|
+
return c;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { IndexBlankPlaceholderProvider };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IndexBlankPlaceholderController } from './index-blank-placeholder.controller';
|
|
2
|
+
export { IndexBlankPlaceholderController };
|
|
3
|
+
export declare const IBizIndexBlankPlaceholder: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
modelData: {
|
|
5
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
controller: {
|
|
9
|
+
type: import("vue").PropType<IndexBlankPlaceholderController>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
14
|
+
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
modelData: {
|
|
17
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
controller: {
|
|
21
|
+
type: import("vue").PropType<IndexBlankPlaceholderController>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>>, {}, {}>>;
|
|
25
|
+
export default IBizIndexBlankPlaceholder;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { IndexBlankPlaceholder } from './index-blank-placeholder.mjs';
|
|
4
|
+
import { IndexBlankPlaceholderProvider } from './index-blank-placeholder.provider.mjs';
|
|
5
|
+
export { IndexBlankPlaceholderController } from './index-blank-placeholder.controller.mjs';
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const IBizIndexBlankPlaceholder = withInstall(
|
|
9
|
+
IndexBlankPlaceholder,
|
|
10
|
+
function(v) {
|
|
11
|
+
v.component(IndexBlankPlaceholder.name, IndexBlankPlaceholder);
|
|
12
|
+
registerPanelItemProvider(
|
|
13
|
+
"CONTAINER_INDEX_BLANK_PLACEHOLDER",
|
|
14
|
+
() => new IndexBlankPlaceholderProvider()
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
export { IBizIndexBlankPlaceholder, IBizIndexBlankPlaceholder as default };
|
|
@@ -27,6 +27,8 @@ import { IBizShortCut } from './short-cut/index.mjs';
|
|
|
27
27
|
import { IBizAuthCaptcha } from './auth-captcha/index.mjs';
|
|
28
28
|
import { IBizPanelButtonList } from './panel-button-list/index.mjs';
|
|
29
29
|
import { IBizAuthSso } from './auth-sso/index.mjs';
|
|
30
|
+
import { IBizIndexBlankPlaceholder } from './index-blank-placeholder/index.mjs';
|
|
31
|
+
import { IBizGlobalSearch } from './global-search/index.mjs';
|
|
30
32
|
export { NavPosIndexState } from './nav-pos-index/nav-pos-index.state.mjs';
|
|
31
33
|
export { NavPosIndexController } from './nav-pos-index/nav-pos-index.controller.mjs';
|
|
32
34
|
export { PanelButtonController } from './panel-button/panel-button.controller.mjs';
|
|
@@ -36,6 +38,8 @@ export { SplitContainerController } from './split-container/split-container.cont
|
|
|
36
38
|
"use strict";
|
|
37
39
|
const IBizPanelComponents = {
|
|
38
40
|
install: (v) => {
|
|
41
|
+
v.use(IBizGlobalSearch);
|
|
42
|
+
v.use(IBizIndexBlankPlaceholder);
|
|
39
43
|
v.use(IBizAuthSso);
|
|
40
44
|
v.use(IBizPanelCtrlViewPageCaption);
|
|
41
45
|
v.use(IBizPanelContainer);
|
|
@@ -113,7 +113,11 @@ class NavBreadcrumbController extends PanelItemController {
|
|
|
113
113
|
this.resetBreadcrumbs();
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
this.service.removeAfter(fullPath);
|
|
116
|
+
const removeItems = this.service.removeAfter(fullPath);
|
|
117
|
+
removeItems.forEach((item) => {
|
|
118
|
+
var _a;
|
|
119
|
+
(_a = this.navPos) == null ? void 0 : _a.removeCache(item.fullPath);
|
|
120
|
+
});
|
|
117
121
|
this.resetBreadcrumbs();
|
|
118
122
|
}
|
|
119
123
|
}
|
|
@@ -15,6 +15,7 @@ export declare const IBizPanelAppTitle: import("@ibiz-template/vue3-util").TypeW
|
|
|
15
15
|
showImgOnly: import("vue").ComputedRef<boolean>;
|
|
16
16
|
handleClick: () => Promise<void>;
|
|
17
17
|
isCollapse: import("vue").ComputedRef<any>;
|
|
18
|
+
showIcon: import("vue").ComputedRef<boolean>;
|
|
18
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
20
|
modelData: {
|
|
20
21
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelField>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-base-tight);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-app-title-not-index-height:60px;display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:calc(var(--ibiz-font-size-header-1) + 8px)}.ibiz-panel-app-title__logo img{display:inline-block;width:auto;height:100%}.ibiz-panel-app-title__logo svg{fill:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo--expand{width:66px;height:66px
|
|
1
|
+
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-base-tight);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-app-title-not-index-height:60px;display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:calc(var(--ibiz-font-size-header-1) + 8px)}.ibiz-panel-app-title__logo img{display:inline-block;width:auto;height:100%}.ibiz-panel-app-title__logo svg{fill:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo--expand{width:auto;max-width:66px;height:66px;display:flex;align-items:center;justify-content:center}.ibiz-panel-app-title.is-only-img .ibiz-panel-app-title__logo{padding:0}.ibiz-panel-app-title.is-collapse{max-width:100%;padding:var(--ibiz-panel-app-title-collapse-padding)}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collapse-title{width:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collpase-icon img{width:100%;height:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__caption2{overflow:hidden;font-size:var(--ibiz-font-size-header-4);font-weight:var(--ibiz-panel-app-title-font-weight);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__subCaption2{overflow:hidden;font-size:var(--ibiz-font-size-header-5);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-only-title{height:var(--ibiz-panel-app-title-not-index-height)}
|
|
@@ -18,6 +18,7 @@ export declare const PanelAppTitle: import("vue").DefineComponent<{
|
|
|
18
18
|
showImgOnly: import("vue").ComputedRef<boolean>;
|
|
19
19
|
handleClick: () => Promise<void>;
|
|
20
20
|
isCollapse: import("vue").ComputedRef<any>;
|
|
21
|
+
showIcon: import("vue").ComputedRef<boolean>;
|
|
21
22
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
modelData: {
|
|
23
24
|
type: PropType<IPanelField>;
|
|
@@ -54,13 +54,20 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
const isCollapse = computed(() => {
|
|
55
55
|
return c.panel.view.state.isCollapse;
|
|
56
56
|
});
|
|
57
|
+
const showIcon = computed(() => {
|
|
58
|
+
if (c.model.itemStyle === "STYLE2") {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
return false;
|
|
62
|
+
});
|
|
57
63
|
return {
|
|
58
64
|
ns,
|
|
59
65
|
c,
|
|
60
66
|
menuAlign,
|
|
61
67
|
showImgOnly,
|
|
62
68
|
handleClick,
|
|
63
|
-
isCollapse
|
|
69
|
+
isCollapse,
|
|
70
|
+
showIcon
|
|
64
71
|
};
|
|
65
72
|
},
|
|
66
73
|
render() {
|
|
@@ -108,7 +115,7 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
108
115
|
"class": this.ns.e("subCaption2")
|
|
109
116
|
}, [subCaption2])]);
|
|
110
117
|
}
|
|
111
|
-
} else if (this.
|
|
118
|
+
} else if (this.showIcon && icon) {
|
|
112
119
|
let tempIcon = null;
|
|
113
120
|
if (isSvg) {
|
|
114
121
|
tempIcon = createVNode("ion-icon", {
|
|
@@ -122,14 +129,7 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
122
129
|
"src": icon
|
|
123
130
|
}, null)]);
|
|
124
131
|
}
|
|
125
|
-
|
|
126
|
-
"class": this.ns.e("logo")
|
|
127
|
-
}, [tempIcon, createVNode("svg", {
|
|
128
|
-
"width": "166px",
|
|
129
|
-
"height": "80px",
|
|
130
|
-
"viewBox": "0 0 166 90",
|
|
131
|
-
"version": "1.1"
|
|
132
|
-
}, [createVNode("g", {
|
|
132
|
+
let tempContent = createVNode("g", {
|
|
133
133
|
"id": "app-caption-panel",
|
|
134
134
|
"stroke": "none",
|
|
135
135
|
"stroke-width": "1",
|
|
@@ -140,17 +140,41 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
140
140
|
"font-size": "22",
|
|
141
141
|
"font-weight": "bold"
|
|
142
142
|
}, [createVNode("tspan", {
|
|
143
|
-
"x": "
|
|
144
|
-
"y": "
|
|
145
|
-
}, [caption])])
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
|
|
143
|
+
"x": "0",
|
|
144
|
+
"y": "52"
|
|
145
|
+
}, [caption])])]);
|
|
146
|
+
if (subCaption) {
|
|
147
|
+
tempContent = createVNode("g", {
|
|
148
|
+
"id": "app-caption-panel",
|
|
149
|
+
"stroke": "none",
|
|
150
|
+
"stroke-width": "1",
|
|
151
|
+
"fill-rule": "evenodd"
|
|
152
|
+
}, [createVNode("text", {
|
|
153
|
+
"id": "app-caption",
|
|
154
|
+
"font-family": "Poppins-Bold, Poppins",
|
|
155
|
+
"font-size": "22",
|
|
156
|
+
"font-weight": "bold"
|
|
157
|
+
}, [createVNode("tspan", {
|
|
158
|
+
"x": "8",
|
|
159
|
+
"y": "39"
|
|
160
|
+
}, [caption])]), createVNode("text", {
|
|
161
|
+
"id": "app-subcaption",
|
|
162
|
+
"font-family": "PingFangSC-Semibold, PingFang SC",
|
|
163
|
+
"font-size": "14",
|
|
164
|
+
"font-weight": "bold"
|
|
165
|
+
}, [createVNode("tspan", {
|
|
166
|
+
"x": "8",
|
|
167
|
+
"y": "66"
|
|
168
|
+
}, [subCaption])])]);
|
|
169
|
+
}
|
|
170
|
+
iconVNode = createVNode("span", {
|
|
171
|
+
"class": this.ns.e("logo")
|
|
172
|
+
}, [tempIcon, createVNode("svg", {
|
|
173
|
+
"width": "166px",
|
|
174
|
+
"height": "80px",
|
|
175
|
+
"viewBox": "0 0 166 90",
|
|
176
|
+
"version": "1.1"
|
|
177
|
+
}, [tempContent])]);
|
|
154
178
|
} else {
|
|
155
179
|
iconVNode = createVNode("span", {
|
|
156
180
|
"class": this.ns.e("logo")
|
|
@@ -12,7 +12,7 @@ export declare const IBizPanelButton: import("@ibiz-template/vue3-util").TypeWit
|
|
|
12
12
|
ns: import("@ibiz-template/core").Namespace;
|
|
13
13
|
isText: boolean;
|
|
14
14
|
captionText: import("vue").ComputedRef<any>;
|
|
15
|
-
buttonType: import("vue").ComputedRef<
|
|
15
|
+
buttonType: import("vue").ComputedRef<string>;
|
|
16
16
|
showCaption: boolean | undefined;
|
|
17
17
|
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
18
18
|
codeName: string | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const PanelButton: import("vue").DefineComponent<{
|
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
16
|
isText: boolean;
|
|
17
17
|
captionText: import("vue").ComputedRef<any>;
|
|
18
|
-
buttonType: import("vue").ComputedRef<
|
|
18
|
+
buttonType: import("vue").ComputedRef<string>;
|
|
19
19
|
showCaption: boolean | undefined;
|
|
20
20
|
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
21
21
|
codeName: string | undefined;
|
|
@@ -2,7 +2,9 @@ import { defineComponent, ref, computed, createVNode, resolveComponent } from 'v
|
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { showTitle } from '@ibiz-template/core';
|
|
4
4
|
import { PanelButtonController } from './panel-button.controller.mjs';
|
|
5
|
+
import '../../util/index.mjs';
|
|
5
6
|
import './panel-button.css';
|
|
7
|
+
import { convertBtnType } from '../../util/button-util/button-util.mjs';
|
|
6
8
|
|
|
7
9
|
"use strict";
|
|
8
10
|
const PanelButton = /* @__PURE__ */ defineComponent({
|
|
@@ -28,7 +30,8 @@ const PanelButton = /* @__PURE__ */ defineComponent({
|
|
|
28
30
|
codeName,
|
|
29
31
|
itemStyle,
|
|
30
32
|
tooltip,
|
|
31
|
-
buttonCssStyle
|
|
33
|
+
buttonCssStyle,
|
|
34
|
+
buttonStyle
|
|
32
35
|
} = props.modelData;
|
|
33
36
|
const {
|
|
34
37
|
panel,
|
|
@@ -49,25 +52,9 @@ const PanelButton = /* @__PURE__ */ defineComponent({
|
|
|
49
52
|
isText = true;
|
|
50
53
|
}
|
|
51
54
|
const buttonType = computed(() => {
|
|
52
|
-
if (Object.is(renderMode, "LINK"))
|
|
53
|
-
return
|
|
54
|
-
|
|
55
|
-
switch (itemStyle) {
|
|
56
|
-
case "PRIMARY":
|
|
57
|
-
return "primary";
|
|
58
|
-
case "SUCCESS":
|
|
59
|
-
return "success";
|
|
60
|
-
case "INFO":
|
|
61
|
-
return "info";
|
|
62
|
-
case "WARNING":
|
|
63
|
-
return "warning";
|
|
64
|
-
case "DANGER":
|
|
65
|
-
return "danger";
|
|
66
|
-
case "INVERSE":
|
|
67
|
-
return "info";
|
|
68
|
-
default:
|
|
69
|
-
return null;
|
|
70
|
-
}
|
|
55
|
+
if (Object.is(renderMode, "LINK"))
|
|
56
|
+
return "text";
|
|
57
|
+
return convertBtnType(buttonStyle);
|
|
71
58
|
});
|
|
72
59
|
const handleButtonClick = async (event) => {
|
|
73
60
|
try {
|