@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const IBizCustomCalendar: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<
|
|
1
|
+
export declare const IBizCustomCalendar: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<import("@ibiz-template/core").IApiParams, {
|
|
2
2
|
ns: import("@ibiz-template/core").Namespace;
|
|
3
3
|
date: any;
|
|
4
4
|
validatedRange: any;
|
|
@@ -9,14 +9,14 @@ export declare const IBizCustomCalendar: import("@ibiz-template/vue3-util").Type
|
|
|
9
9
|
"update:modelValue": (value: Date) => boolean;
|
|
10
10
|
input: (value: Date) => boolean;
|
|
11
11
|
change: (value: Date) => boolean;
|
|
12
|
-
eventClick: (value:
|
|
13
|
-
eventDblClick: (value:
|
|
14
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
12
|
+
eventClick: (value: import("@ibiz-template/core").IApiParams) => import("@ibiz-template/core").IApiParams;
|
|
13
|
+
eventDblClick: (value: import("@ibiz-template/core").IApiParams) => import("@ibiz-template/core").IApiParams;
|
|
14
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<import("@ibiz-template/core").IApiParams>> & {
|
|
15
15
|
onChange?: ((value: Date) => any) | undefined;
|
|
16
16
|
onInput?: ((value: Date) => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
18
|
-
onEventClick?: ((value:
|
|
19
|
-
onEventDblClick?: ((value:
|
|
18
|
+
onEventClick?: ((value: import("@ibiz-template/core").IApiParams) => any) | undefined;
|
|
19
|
+
onEventDblClick?: ((value: import("@ibiz-template/core").IApiParams) => any) | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
[x: string]: any;
|
|
22
22
|
[x: symbol]: any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { Dayjs } from 'dayjs';
|
|
3
|
-
declare const calendarDailyProps:
|
|
3
|
+
declare const calendarDailyProps: import("@ibiz-template/core").IApiParams;
|
|
4
4
|
type CalendarDailyProps = ExtractPropTypes<typeof calendarDailyProps>;
|
|
5
5
|
declare const calendarDailyEmits: {
|
|
6
6
|
pick: (value: Dayjs) => boolean;
|
|
7
|
-
eventClick: (value: IParams) =>
|
|
8
|
-
eventDblClick: (value: IParams) =>
|
|
7
|
+
eventClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
8
|
+
eventDblClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
9
9
|
};
|
|
10
10
|
type CalendarDailyEmits = typeof calendarDailyEmits;
|
|
11
11
|
export { calendarDailyEmits, calendarDailyProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
declare const calendarUserProps:
|
|
2
|
+
declare const calendarUserProps: import("@ibiz-template/core").IApiParams;
|
|
3
3
|
type CalendarUserProps = ExtractPropTypes<typeof calendarUserProps>;
|
|
4
4
|
declare const calendarUserEmits: {
|
|
5
|
-
eventClick: (value: IParams) =>
|
|
6
|
-
eventDblClick: (value: IParams) =>
|
|
5
|
+
eventClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
6
|
+
eventDblClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
7
7
|
};
|
|
8
8
|
type CalendarUserEmits = typeof calendarUserEmits;
|
|
9
9
|
export { calendarUserEmits, calendarUserProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { Dayjs } from 'dayjs';
|
|
3
|
-
declare const calendarWeekProps:
|
|
3
|
+
declare const calendarWeekProps: import("@ibiz-template/core").IApiParams;
|
|
4
4
|
type CalendarWeekProps = ExtractPropTypes<typeof calendarWeekProps>;
|
|
5
5
|
declare const calendarWeekEmits: {
|
|
6
6
|
pick: (value: Dayjs) => boolean;
|
|
7
|
-
eventClick: (value: IParams) =>
|
|
8
|
-
eventDblClick: (value: IParams) =>
|
|
7
|
+
eventClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
8
|
+
eventDblClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
9
9
|
};
|
|
10
10
|
type CalendarWeekEmits = typeof calendarWeekEmits;
|
|
11
11
|
export { calendarWeekEmits, calendarWeekProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
type CalendarDateType = 'prev-month' | 'next-month' | 'prev-year' | 'next-year' | 'today';
|
|
3
|
-
declare const customCalendarProps:
|
|
3
|
+
declare const customCalendarProps: import("@ibiz-template/core").IApiParams;
|
|
4
4
|
type CustomCalendarProps = ExtractPropTypes<typeof customCalendarProps>;
|
|
5
5
|
declare const customCalendarEmits: {
|
|
6
6
|
"update:modelValue": (value: Date) => boolean;
|
|
7
7
|
input: (value: Date) => boolean;
|
|
8
8
|
change: (value: Date) => boolean;
|
|
9
|
-
eventClick: (value: IParams) =>
|
|
10
|
-
eventDblClick: (value: IParams) =>
|
|
9
|
+
eventClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
10
|
+
eventDblClick: (value: IParams) => import("@ibiz-template/core").IApiParams;
|
|
11
11
|
};
|
|
12
12
|
type CustomCalendarEmits = typeof customCalendarEmits;
|
|
13
13
|
export { customCalendarProps, customCalendarEmits };
|
|
@@ -39,7 +39,7 @@ declare const isToday: (date: Date | string, curDate: Date | string) => boolean;
|
|
|
39
39
|
* @param {*} val
|
|
40
40
|
* @returns {PropType<T>}
|
|
41
41
|
*/
|
|
42
|
-
declare const definePropType: <T>(val:
|
|
42
|
+
declare const definePropType: <T>(val: import("@ibiz-template/core").IApiData | PropType<T>) => PropType<T>;
|
|
43
43
|
/**
|
|
44
44
|
* @description 是否为有效时间范围
|
|
45
45
|
* @param {*} range
|
|
@@ -83,7 +83,7 @@ declare const rangeArr: (n: number) => number[];
|
|
|
83
83
|
* @param {*} props
|
|
84
84
|
* @returns {Record<string, any>}
|
|
85
85
|
*/
|
|
86
|
-
declare const handleProps: <Props extends Record<string,
|
|
86
|
+
declare const handleProps: <Props extends Record<string, import("@ibiz-template/core").IApiParams | {
|
|
87
87
|
__epPropKey: true;
|
|
88
88
|
}>>(props: Props) => IParams;
|
|
89
89
|
export { epPropKey, closeIcon, isDate, isArray, isObject, isToday, get, set, handleProps, rangeArr, isValidRange, definePropType, handleTimeRange, handleBkColor, fade, handleEVentClick, handlePopClose, getCurWeekDates, isDateInCurWeek, isTimeGreaterThan, };
|
|
@@ -4,11 +4,11 @@ export declare const IBizCalendarControl: import("@ibiz-template/vue3-util").Typ
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
context: {
|
|
7
|
-
type: import("vue").PropType<
|
|
7
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
params: {
|
|
11
|
-
type: import("vue").PropType<
|
|
11
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
provider: {
|
|
@@ -29,12 +29,12 @@ export declare const IBizCalendarControl: import("@ibiz-template/vue3-util").Typ
|
|
|
29
29
|
}, {
|
|
30
30
|
c: import("@ibiz-template/runtime").CalendarController;
|
|
31
31
|
ns: import("@ibiz-template/core").Namespace;
|
|
32
|
-
curPopover: import("vue").Ref<
|
|
33
|
-
calendarRef: import("vue").Ref<
|
|
32
|
+
curPopover: import("vue").Ref<import("@ibiz-template/core").IApiData | undefined>;
|
|
33
|
+
calendarRef: import("vue").Ref<import("@ibiz-template/core").IApiData | undefined>;
|
|
34
34
|
showDateRange: import("vue").Ref<boolean>;
|
|
35
35
|
popoverValue: import("vue").Ref<string>;
|
|
36
36
|
selectDate: (tag: string) => void;
|
|
37
|
-
calcItemStyle: (data: import("@ibiz-template/runtime").ICalendarItemData) =>
|
|
37
|
+
calcItemStyle: (data: import("@ibiz-template/runtime").ICalendarItemData) => import("@ibiz-template/core").IApiData;
|
|
38
38
|
calcCalendarItems: (date: Date) => import("@ibiz-template/runtime").ICalendarItemData[];
|
|
39
39
|
onNodeContextmenu: (item: import("@ibiz-template/runtime").ICalendarItemData, evt: MouseEvent) => Promise<void>;
|
|
40
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -43,11 +43,11 @@ export declare const IBizCalendarControl: import("@ibiz-template/vue3-util").Typ
|
|
|
43
43
|
required: true;
|
|
44
44
|
};
|
|
45
45
|
context: {
|
|
46
|
-
type: import("vue").PropType<
|
|
46
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
47
47
|
required: true;
|
|
48
48
|
};
|
|
49
49
|
params: {
|
|
50
|
-
type: import("vue").PropType<
|
|
50
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
51
51
|
default: () => {};
|
|
52
52
|
};
|
|
53
53
|
provider: {
|
|
@@ -66,7 +66,7 @@ export declare const IBizCalendarControl: import("@ibiz-template/vue3-util").Typ
|
|
|
66
66
|
default: boolean;
|
|
67
67
|
};
|
|
68
68
|
}>>, {
|
|
69
|
-
params:
|
|
69
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
70
70
|
mdctrlActiveMode: number;
|
|
71
71
|
isSimple: boolean;
|
|
72
72
|
loadDefault: boolean;
|
|
@@ -8,11 +8,11 @@ export declare const CaptionBarControl: import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
context: {
|
|
11
|
-
type: PropType<
|
|
11
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
params: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
16
16
|
default: () => {};
|
|
17
17
|
};
|
|
18
18
|
provider: {
|
|
@@ -28,16 +28,16 @@ export declare const CaptionBarControl: import("vue").DefineComponent<{
|
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
context: {
|
|
31
|
-
type: PropType<
|
|
31
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
params: {
|
|
35
|
-
type: PropType<
|
|
35
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
36
36
|
default: () => {};
|
|
37
37
|
};
|
|
38
38
|
provider: {
|
|
39
39
|
type: PropType<IControlProvider>;
|
|
40
40
|
};
|
|
41
41
|
}>>, {
|
|
42
|
-
params:
|
|
42
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
43
43
|
}, {}>;
|
|
@@ -4,11 +4,11 @@ export declare const IBizCaptionBarControl: import("@ibiz-template/vue3-util").T
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
context: {
|
|
7
|
-
type: import("vue").PropType<
|
|
7
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
params: {
|
|
11
|
-
type: import("vue").PropType<
|
|
11
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
provider: {
|
|
@@ -24,17 +24,17 @@ export declare const IBizCaptionBarControl: import("@ibiz-template/vue3-util").T
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
context: {
|
|
27
|
-
type: import("vue").PropType<
|
|
27
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
params: {
|
|
31
|
-
type: import("vue").PropType<
|
|
31
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
32
32
|
default: () => {};
|
|
33
33
|
};
|
|
34
34
|
provider: {
|
|
35
35
|
type: import("vue").PropType<import("@ibiz-template/runtime").IControlProvider>;
|
|
36
36
|
};
|
|
37
37
|
}>>, {
|
|
38
|
-
params:
|
|
38
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
39
39
|
}, {}>>;
|
|
40
40
|
export default IBizCaptionBarControl;
|
|
@@ -8,11 +8,11 @@ declare const ChartControl: import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
context: {
|
|
11
|
-
type: PropType<
|
|
11
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
params: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
16
16
|
default: () => {};
|
|
17
17
|
};
|
|
18
18
|
provider: {
|
|
@@ -32,10 +32,10 @@ declare const ChartControl: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
data: {
|
|
34
34
|
type: {
|
|
35
|
-
(arrayLength: number):
|
|
36
|
-
(...items:
|
|
37
|
-
new (arrayLength: number):
|
|
38
|
-
new (...items:
|
|
35
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
36
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
37
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
38
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
39
39
|
isArray(arg: any): arg is any[];
|
|
40
40
|
readonly prototype: any[];
|
|
41
41
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -64,11 +64,11 @@ declare const ChartControl: import("vue").DefineComponent<{
|
|
|
64
64
|
required: true;
|
|
65
65
|
};
|
|
66
66
|
context: {
|
|
67
|
-
type: PropType<
|
|
67
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
68
68
|
required: true;
|
|
69
69
|
};
|
|
70
70
|
params: {
|
|
71
|
-
type: PropType<
|
|
71
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
72
72
|
default: () => {};
|
|
73
73
|
};
|
|
74
74
|
provider: {
|
|
@@ -88,10 +88,10 @@ declare const ChartControl: import("vue").DefineComponent<{
|
|
|
88
88
|
};
|
|
89
89
|
data: {
|
|
90
90
|
type: {
|
|
91
|
-
(arrayLength: number):
|
|
92
|
-
(...items:
|
|
93
|
-
new (arrayLength: number):
|
|
94
|
-
new (...items:
|
|
91
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
92
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
93
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
94
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
95
95
|
isArray(arg: any): arg is any[];
|
|
96
96
|
readonly prototype: any[];
|
|
97
97
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -106,7 +106,7 @@ declare const ChartControl: import("vue").DefineComponent<{
|
|
|
106
106
|
}>> & {
|
|
107
107
|
onDrillDetail?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
params:
|
|
109
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
110
110
|
mdctrlActiveMode: number;
|
|
111
111
|
isSimple: boolean;
|
|
112
112
|
loadDefault: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.ibiz-context-menu{--ibiz-context-menu-item-margin:0 0 0 4px;--ibiz-context-menu-separator-height:20px;--ibiz-context-menu-separator-width:2px;--ibiz-context-menu-separator-color:var(--ibiz-color-border);--ibiz-context-menu-popover-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-none);--ibiz-context-menu-popover-button-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);--ibiz-context-menu-popover-button-color:var(--ibiz-color-text-2);--ibiz-context-menu-popover-button-hover-bg:var(--ibiz-color-bg-0)}.ibiz-context-menu__item{padding:var(--ibiz-spacing-extra-tight) 0}.ibiz-context-menu__item+.ibiz-context-menu__item{margin:var(--ibiz-context-menu-item-margin)}.ibiz-context-menu__item .ibiz-context-menu__action-content-icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-context-menu__action-content{display:flex}.ibiz-context-menu__action-content-icon{display:flex;align-items:center;justify-content:center;padding:0 var(--ibiz-spacing-super-tight);font-size:var(--ibiz-width-icon-medium)}.ibiz-context-menu__action-content-caption{display:flex;align-items:center;justify-content:center}.ibiz-context-menu__popover{--ibiz-context-menu-item-margin:0 0 0 4px;--ibiz-context-menu-separator-height:20px;--ibiz-context-menu-separator-width:2px;--ibiz-context-menu-separator-color:var(--ibiz-color-border);--ibiz-context-menu-popover-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-none);--ibiz-context-menu-popover-button-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);--ibiz-context-menu-popover-button-color:var(--ibiz-color-text-2);--ibiz-context-menu-popover-button-hover-bg:var(--ibiz-color-bg-0);width:auto!important;min-width:150px;--el-popover-padding:var(--ibiz-context-menu-popover-padding)}.ibiz-context-menu__popover .el-button{--el-button-size:40px;display:block;width:100%;padding:var(--ibiz-context-menu-popover-button-padding);margin:var(--ibiz-spacing-none);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-context-menu-popover-button-color);text-align:left;border-radius:0}.ibiz-context-menu__popover .el-button:hover{background-color:var(--ibiz-context-menu-popover-button-hover-bg)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-group-caption{margin-right:var(--ibiz-spacing-base-loose)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-group-icon{position:absolute;right:var(--ibiz-spacing-base-loose);font-size:var(--ibiz-font-size-header-6)}.ibiz-context-menu__separator{margin:var(--ibiz-spacing-none)}.ibiz-context-menu__separator.el-divider--horizontal{width:calc(100% - 2 * var(--ibiz-spacing-base-loose));margin:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-base-loose)}.ibiz-context-menu--dropdown .ibiz-context-menu__caption{cursor:pointer}.ibiz-context-menu--dropdown .ibiz-context-menu__caption-icon{vertical-align:bottom}
|
|
1
|
+
@charset "UTF-8";.ibiz-context-menu{--ibiz-context-menu-item-margin:0 0 0 4px;--ibiz-context-menu-separator-height:20px;--ibiz-context-menu-separator-width:2px;--ibiz-context-menu-separator-color:var(--ibiz-color-border);--ibiz-context-menu-popover-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-none);--ibiz-context-menu-popover-button-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);--ibiz-context-menu-popover-button-color:var(--ibiz-color-text-2);--ibiz-context-menu-popover-button-hover-bg:var(--ibiz-color-bg-0);--ibiz-context-menu-transfer-zindex:1000}.ibiz-context-menu__item{padding:var(--ibiz-spacing-extra-tight) 0}.ibiz-context-menu__item+.ibiz-context-menu__item{margin:var(--ibiz-context-menu-item-margin)}.ibiz-context-menu__item .ibiz-context-menu__action-content-icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-context-menu__action-content{display:flex}.ibiz-context-menu__action-content-icon{display:flex;align-items:center;justify-content:center;padding:0 var(--ibiz-spacing-super-tight);font-size:var(--ibiz-width-icon-medium)}.ibiz-context-menu__action-content-caption{display:flex;align-items:center;justify-content:center}.ibiz-context-menu__popover{--ibiz-context-menu-item-margin:0 0 0 4px;--ibiz-context-menu-separator-height:20px;--ibiz-context-menu-separator-width:2px;--ibiz-context-menu-separator-color:var(--ibiz-color-border);--ibiz-context-menu-popover-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-none);--ibiz-context-menu-popover-button-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);--ibiz-context-menu-popover-button-color:var(--ibiz-color-text-2);--ibiz-context-menu-popover-button-hover-bg:var(--ibiz-color-bg-0);--ibiz-context-menu-transfer-zindex:1000;width:auto!important;min-width:150px;--el-popover-padding:var(--ibiz-context-menu-popover-padding)}.ibiz-context-menu__popover .el-button{--el-button-size:40px;display:block;width:100%;padding:var(--ibiz-context-menu-popover-button-padding);margin:var(--ibiz-spacing-none);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-context-menu-popover-button-color);text-align:left;border-radius:0}.ibiz-context-menu__popover .el-button:hover{background-color:var(--ibiz-context-menu-popover-button-hover-bg)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-group-caption{margin-right:var(--ibiz-spacing-base-loose)}.ibiz-context-menu__popover .el-button .ibiz-context-menu__action-content-group-icon{position:absolute;right:var(--ibiz-spacing-base-loose);font-size:var(--ibiz-font-size-header-6)}.ibiz-context-menu__separator{margin:var(--ibiz-spacing-none)}.ibiz-context-menu__separator.el-divider--horizontal{width:calc(100% - 2 * var(--ibiz-spacing-base-loose));margin:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-base-loose)}.ibiz-context-menu__transfer{--ibiz-context-menu-item-margin:0 0 0 4px;--ibiz-context-menu-separator-height:20px;--ibiz-context-menu-separator-width:2px;--ibiz-context-menu-separator-color:var(--ibiz-color-border);--ibiz-context-menu-popover-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-none);--ibiz-context-menu-popover-button-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base-loose);--ibiz-context-menu-popover-button-color:var(--ibiz-color-text-2);--ibiz-context-menu-popover-button-hover-bg:var(--ibiz-color-bg-0);--ibiz-context-menu-transfer-zindex:1000;z-index:var(--ibiz-context-menu-transfer-zindex)!important}.ibiz-context-menu--dropdown .ibiz-context-menu__caption{cursor:pointer}.ibiz-context-menu--dropdown .ibiz-context-menu__caption-icon{vertical-align:bottom}
|
|
@@ -8,11 +8,11 @@ export declare const ContextMenuControl: import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
context: {
|
|
11
|
-
type: PropType<
|
|
11
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
params: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
16
16
|
default: () => {};
|
|
17
17
|
};
|
|
18
18
|
mode: {
|
|
@@ -37,15 +37,17 @@ export declare const ContextMenuControl: import("vue").DefineComponent<{
|
|
|
37
37
|
}, {
|
|
38
38
|
c: ContextMenuController;
|
|
39
39
|
ns: import("@ibiz-template/core").Namespace;
|
|
40
|
+
popoverid: string;
|
|
40
41
|
expandDetails: Ref<IDETBUIActionItem[]>;
|
|
41
42
|
groupDetails: Ref<IDETBUIActionItem[]>;
|
|
42
|
-
groupButtonRef: Ref<
|
|
43
|
+
groupButtonRef: Ref<HTMLElement | null | undefined>;
|
|
43
44
|
dropdownRef: Ref<any>;
|
|
44
45
|
popoverVisible: Ref<boolean>;
|
|
45
46
|
handleClick: (detail: IDETBUIActionItem, e: MouseEvent) => Promise<void>;
|
|
46
47
|
renderActions: (items: IDETBUIActionItem[], isExpand?: boolean) => (JSX.Element | (false | JSX.Element | undefined)[] | ((false | JSX.Element | undefined)[] | null)[] | null | undefined)[];
|
|
47
48
|
renderActionButton: (detail: IAppDEUIActionGroupDetail, isExpand?: boolean) => (false | JSX.Element | undefined)[] | null;
|
|
48
49
|
calcActionItemClass: (item: IDETBUIActionItem) => string[];
|
|
50
|
+
setPopoverZIndex: (zIndexClass: string) => void;
|
|
49
51
|
actionDetails: IDETBUIActionItem[];
|
|
50
52
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
53
|
modelData: {
|
|
@@ -53,11 +55,11 @@ export declare const ContextMenuControl: import("vue").DefineComponent<{
|
|
|
53
55
|
required: true;
|
|
54
56
|
};
|
|
55
57
|
context: {
|
|
56
|
-
type: PropType<
|
|
58
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
57
59
|
required: true;
|
|
58
60
|
};
|
|
59
61
|
params: {
|
|
60
|
-
type: PropType<
|
|
62
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
61
63
|
default: () => {};
|
|
62
64
|
};
|
|
63
65
|
mode: {
|
|
@@ -82,5 +84,5 @@ export declare const ContextMenuControl: import("vue").DefineComponent<{
|
|
|
82
84
|
}>>, {
|
|
83
85
|
mode: "dropdown" | "buttons";
|
|
84
86
|
groupLevelKeys: number[];
|
|
85
|
-
params:
|
|
87
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
86
88
|
}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isVNode, defineComponent, ref, watch, createVNode, resolveComponent } from 'vue';
|
|
2
|
-
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
2
|
+
import { useControlController, useNamespace, usePopoverVisible, usePopoverzIndex } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './context-menu.css';
|
|
4
4
|
import { ContextMenuController } from '@ibiz-template/runtime';
|
|
5
5
|
import { showTitle } from '@ibiz-template/core';
|
|
@@ -59,8 +59,17 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
59
59
|
const expandDetails = ref([]);
|
|
60
60
|
const groupDetails = ref([]);
|
|
61
61
|
const groupButtonRef = ref();
|
|
62
|
+
const {
|
|
63
|
+
popoverVisible,
|
|
64
|
+
setPopoverVisible
|
|
65
|
+
} = usePopoverVisible(groupButtonRef, (ele) => {
|
|
66
|
+
return ele.ref;
|
|
67
|
+
});
|
|
62
68
|
const dropdownRef = ref();
|
|
63
|
-
const
|
|
69
|
+
const {
|
|
70
|
+
popoverid,
|
|
71
|
+
setPopoverZIndex
|
|
72
|
+
} = usePopoverzIndex();
|
|
64
73
|
const transformLanguage = (items) => {
|
|
65
74
|
if (!Array.isArray(items)) {
|
|
66
75
|
return;
|
|
@@ -103,14 +112,14 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
103
112
|
const handleClick = async (detail, e) => {
|
|
104
113
|
e.stopPropagation();
|
|
105
114
|
if (!detail.uiactionId) {
|
|
106
|
-
|
|
115
|
+
setPopoverVisible(false);
|
|
107
116
|
return;
|
|
108
117
|
}
|
|
109
118
|
if (props.actionCallBack) {
|
|
110
119
|
await props.actionCallBack(detail, e);
|
|
111
120
|
}
|
|
112
121
|
if (props.mode === "buttons") {
|
|
113
|
-
|
|
122
|
+
setPopoverVisible(false);
|
|
114
123
|
} else if (dropdownRef.value) {
|
|
115
124
|
dropdownRef.value.handleClose();
|
|
116
125
|
}
|
|
@@ -234,6 +243,7 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
234
243
|
return {
|
|
235
244
|
c,
|
|
236
245
|
ns,
|
|
246
|
+
popoverid,
|
|
237
247
|
expandDetails,
|
|
238
248
|
groupDetails,
|
|
239
249
|
groupButtonRef,
|
|
@@ -243,6 +253,7 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
243
253
|
renderActions,
|
|
244
254
|
renderActionButton,
|
|
245
255
|
calcActionItemClass,
|
|
256
|
+
setPopoverZIndex,
|
|
246
257
|
actionDetails
|
|
247
258
|
};
|
|
248
259
|
},
|
|
@@ -267,7 +278,10 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
267
278
|
"text": true,
|
|
268
279
|
"disabled": pdisabled,
|
|
269
280
|
"ref": "groupButtonRef",
|
|
270
|
-
"class": [this.ns.e("item"), this.ns.is("expand", this.popoverVisible)]
|
|
281
|
+
"class": [this.ns.e("item"), this.ns.is("expand", this.popoverVisible)],
|
|
282
|
+
"onClick": () => {
|
|
283
|
+
this.popoverVisible = !this.popoverVisible;
|
|
284
|
+
}
|
|
271
285
|
}, {
|
|
272
286
|
icon: () => createVNode("ion-icon", {
|
|
273
287
|
"class": this.ns.e("icon"),
|
|
@@ -276,12 +290,11 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
276
290
|
}), createVNode(resolveComponent("el-popover"), {
|
|
277
291
|
"placement": "bottom-start",
|
|
278
292
|
"virtual-ref": this.groupButtonRef,
|
|
279
|
-
"trigger": "click",
|
|
280
293
|
"visible": this.popoverVisible,
|
|
281
|
-
"
|
|
282
|
-
"popper-class": this.ns.e("popover"),
|
|
294
|
+
"popper-class": [this.popoverid, this.ns.e("popover"), this.ns.e("transfer")],
|
|
283
295
|
"virtual-triggering": true,
|
|
284
|
-
"transition": "none"
|
|
296
|
+
"transition": "none",
|
|
297
|
+
"onBefore-enter": () => this.setPopoverZIndex("--".concat(this.ns.namespace, "-context-menu-transfer-zindex"))
|
|
285
298
|
}, _isSlot(_slot = this.renderActions(this.groupDetails, false)) ? _slot : {
|
|
286
299
|
default: () => [_slot]
|
|
287
300
|
})];
|
|
@@ -298,6 +311,8 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
298
311
|
return createVNode(resolveComponent("el-dropdown"), {
|
|
299
312
|
"ref": "dropdownRef",
|
|
300
313
|
"onCommand": (command) => this.handleClick(command, new MouseEvent("click")),
|
|
314
|
+
"onVisible-change": () => this.setPopoverZIndex("--".concat(this.ns.namespace, "-context-menu-transfer-zindex")),
|
|
315
|
+
"popper-class": [this.popoverid, this.ns.e("transfer")],
|
|
301
316
|
"class": [this.ns.b(), this.ns.m("dropdown")]
|
|
302
317
|
}, {
|
|
303
318
|
default: () => createVNode("span", {
|
|
@@ -4,11 +4,11 @@ export declare const IBizContextMenuControl: import("@ibiz-template/vue3-util").
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
context: {
|
|
7
|
-
type: import("vue").PropType<
|
|
7
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
params: {
|
|
11
|
-
type: import("vue").PropType<
|
|
11
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
mode: {
|
|
@@ -33,15 +33,17 @@ export declare const IBizContextMenuControl: import("@ibiz-template/vue3-util").
|
|
|
33
33
|
}, {
|
|
34
34
|
c: import("@ibiz-template/runtime").ContextMenuController;
|
|
35
35
|
ns: import("@ibiz-template/core").Namespace;
|
|
36
|
+
popoverid: string;
|
|
36
37
|
expandDetails: import("vue").Ref<import("@ibiz/model-core").IDETBUIActionItem[]>;
|
|
37
38
|
groupDetails: import("vue").Ref<import("@ibiz/model-core").IDETBUIActionItem[]>;
|
|
38
|
-
groupButtonRef: import("vue").Ref<
|
|
39
|
+
groupButtonRef: import("vue").Ref<HTMLElement | null | undefined>;
|
|
39
40
|
dropdownRef: import("vue").Ref<any>;
|
|
40
41
|
popoverVisible: import("vue").Ref<boolean>;
|
|
41
42
|
handleClick: (detail: import("@ibiz/model-core").IDETBUIActionItem, e: MouseEvent) => Promise<void>;
|
|
42
43
|
renderActions: (items: import("@ibiz/model-core").IDETBUIActionItem[], isExpand?: boolean) => (JSX.Element | (false | JSX.Element | undefined)[] | ((false | JSX.Element | undefined)[] | null)[] | null | undefined)[];
|
|
43
44
|
renderActionButton: (detail: import("@ibiz/model-core").IAppDEUIActionGroupDetail, isExpand?: boolean) => (false | JSX.Element | undefined)[] | null;
|
|
44
45
|
calcActionItemClass: (item: import("@ibiz/model-core").IDETBUIActionItem) => string[];
|
|
46
|
+
setPopoverZIndex: (zIndexClass: string) => void;
|
|
45
47
|
actionDetails: import("@ibiz/model-core").IDETBUIActionItem[];
|
|
46
48
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
49
|
modelData: {
|
|
@@ -49,11 +51,11 @@ export declare const IBizContextMenuControl: import("@ibiz-template/vue3-util").
|
|
|
49
51
|
required: true;
|
|
50
52
|
};
|
|
51
53
|
context: {
|
|
52
|
-
type: import("vue").PropType<
|
|
54
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
53
55
|
required: true;
|
|
54
56
|
};
|
|
55
57
|
params: {
|
|
56
|
-
type: import("vue").PropType<
|
|
58
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
57
59
|
default: () => {};
|
|
58
60
|
};
|
|
59
61
|
mode: {
|
|
@@ -78,6 +80,6 @@ export declare const IBizContextMenuControl: import("@ibiz-template/vue3-util").
|
|
|
78
80
|
}>>, {
|
|
79
81
|
mode: "dropdown" | "buttons";
|
|
80
82
|
groupLevelKeys: number[];
|
|
81
|
-
params:
|
|
83
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
82
84
|
}, {}>>;
|
|
83
85
|
export default IBizContextMenuControl;
|