@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
|
@@ -37,10 +37,10 @@ export declare const DashboardDesign: import("vue").DefineComponent<{
|
|
|
37
37
|
customC: CustomDashboardController;
|
|
38
38
|
portlets: Ref<IPortletList[]>;
|
|
39
39
|
list: Ref<IList[]>;
|
|
40
|
-
groups: Ref<
|
|
40
|
+
groups: Ref<import("@ibiz-template/core").IApiData[]>;
|
|
41
41
|
filterVal: Ref<string>;
|
|
42
42
|
defaultOpens: import("vue").ComputedRef<string[]>;
|
|
43
|
-
layoutModel: Ref<
|
|
43
|
+
layoutModel: Ref<import("@ibiz-template/core").IApiData[]>;
|
|
44
44
|
isLoading: Ref<boolean>;
|
|
45
45
|
onReset: () => Promise<void>;
|
|
46
46
|
onSave: () => Promise<void>;
|
|
@@ -8,11 +8,11 @@ export declare const DashboardControl: 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: {
|
|
@@ -22,7 +22,7 @@ export declare const DashboardControl: import("vue").DefineComponent<{
|
|
|
22
22
|
c: DashboardController;
|
|
23
23
|
ns: import("@ibiz-template/core").Namespace;
|
|
24
24
|
customModelDatas: Ref<IModel>;
|
|
25
|
-
anchorList: Ref<
|
|
25
|
+
anchorList: Ref<import("@ibiz-template/core").IApiData[]>;
|
|
26
26
|
dashboardRef: Ref<any>;
|
|
27
27
|
calcNavBarConfig: () => {
|
|
28
28
|
navBarPos: string | undefined;
|
|
@@ -38,16 +38,16 @@ export declare const DashboardControl: import("vue").DefineComponent<{
|
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
40
|
context: {
|
|
41
|
-
type: PropType<
|
|
41
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
42
42
|
required: true;
|
|
43
43
|
};
|
|
44
44
|
params: {
|
|
45
|
-
type: PropType<
|
|
45
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
46
46
|
default: () => {};
|
|
47
47
|
};
|
|
48
48
|
provider: {
|
|
49
49
|
type: PropType<IControlProvider>;
|
|
50
50
|
};
|
|
51
51
|
}>>, {
|
|
52
|
-
params:
|
|
52
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
53
53
|
}, {}>;
|
|
@@ -5,11 +5,11 @@ export declare const IBizDashboardControl: import("@ibiz-template/vue3-util").Ty
|
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
context: {
|
|
8
|
-
type: import("vue").PropType<
|
|
8
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
params: {
|
|
12
|
-
type: import("vue").PropType<
|
|
12
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
15
|
provider: {
|
|
@@ -19,7 +19,7 @@ export declare const IBizDashboardControl: import("@ibiz-template/vue3-util").Ty
|
|
|
19
19
|
c: import("@ibiz-template/runtime").DashboardController;
|
|
20
20
|
ns: import("@ibiz-template/core").Namespace;
|
|
21
21
|
customModelDatas: import("vue").Ref<IModel>;
|
|
22
|
-
anchorList: import("vue").Ref<
|
|
22
|
+
anchorList: import("vue").Ref<import("@ibiz-template/core").IApiData[]>;
|
|
23
23
|
dashboardRef: import("vue").Ref<any>;
|
|
24
24
|
calcNavBarConfig: () => {
|
|
25
25
|
navBarPos: string | undefined;
|
|
@@ -28,24 +28,24 @@ export declare const IBizDashboardControl: import("@ibiz-template/vue3-util").Ty
|
|
|
28
28
|
navBarStyle: string | undefined;
|
|
29
29
|
navbarHeight: number | undefined;
|
|
30
30
|
};
|
|
31
|
-
handleCustomModelChange: (args:
|
|
31
|
+
handleCustomModelChange: (args: import("@ibiz-template/core").IApiData) => void;
|
|
32
32
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
modelData: {
|
|
34
34
|
type: import("vue").PropType<import("@ibiz/model-core").IDashboard>;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
context: {
|
|
38
|
-
type: import("vue").PropType<
|
|
38
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
41
|
params: {
|
|
42
|
-
type: import("vue").PropType<
|
|
42
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
43
43
|
default: () => {};
|
|
44
44
|
};
|
|
45
45
|
provider: {
|
|
46
46
|
type: import("vue").PropType<import("@ibiz-template/runtime").IControlProvider>;
|
|
47
47
|
};
|
|
48
48
|
}>>, {
|
|
49
|
-
params:
|
|
49
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
50
50
|
}, {}>>;
|
|
51
51
|
export default IBizDashboardControl;
|
package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import './filter-portlet-design.scss';
|
|
|
4
4
|
import { IModalData } from '@ibiz-template/runtime';
|
|
5
5
|
export declare const IBizFilterPortletDesign: import("vue").DefineComponent<{
|
|
6
6
|
context: {
|
|
7
|
-
type: PropType<
|
|
7
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
viewParams: {
|
|
11
|
-
type: PropType<
|
|
11
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
filter: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
16
16
|
};
|
|
17
17
|
items: {
|
|
18
18
|
type: PropType<IDBPortletPart[]>;
|
|
@@ -35,15 +35,15 @@ export declare const IBizFilterPortletDesign: import("vue").DefineComponent<{
|
|
|
35
35
|
renderFooter: () => JSX.Element;
|
|
36
36
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("lisTSelect" | "formChange")[], "lisTSelect" | "formChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
context: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
41
|
viewParams: {
|
|
42
|
-
type: PropType<
|
|
42
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
43
43
|
required: true;
|
|
44
44
|
};
|
|
45
45
|
filter: {
|
|
46
|
-
type: PropType<
|
|
46
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
47
47
|
};
|
|
48
48
|
items: {
|
|
49
49
|
type: PropType<IDBPortletPart[]>;
|
package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { IFilterNodeField } from '@ibiz-template/runtime';
|
|
|
3
3
|
import './filter-portlet-item.scss';
|
|
4
4
|
export declare const FilterPortletItem: import("vue").DefineComponent<{
|
|
5
5
|
context: {
|
|
6
|
-
type: PropType<
|
|
6
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
9
|
params: {
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
field: {
|
|
14
|
-
type: PropType<
|
|
14
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
filterNode: {
|
|
@@ -22,15 +22,15 @@ export declare const FilterPortletItem: import("vue").DefineComponent<{
|
|
|
22
22
|
renderContent: () => JSX.Element;
|
|
23
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
context: {
|
|
25
|
-
type: PropType<
|
|
25
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
28
|
params: {
|
|
29
|
-
type: PropType<
|
|
29
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
field: {
|
|
33
|
-
type: PropType<
|
|
33
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
34
34
|
required: true;
|
|
35
35
|
};
|
|
36
36
|
filterNode: {
|
|
@@ -8,11 +8,11 @@ export declare const AppMenuPortletControl: 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: {
|
|
@@ -34,11 +34,11 @@ export declare const AppMenuPortletControl: import("vue").DefineComponent<{
|
|
|
34
34
|
required: true;
|
|
35
35
|
};
|
|
36
36
|
context: {
|
|
37
|
-
type: PropType<
|
|
37
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
40
|
params: {
|
|
41
|
-
type: PropType<
|
|
41
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
42
42
|
default: () => {};
|
|
43
43
|
};
|
|
44
44
|
provider: {
|
|
@@ -47,6 +47,6 @@ export declare const AppMenuPortletControl: import("vue").DefineComponent<{
|
|
|
47
47
|
collapse: BooleanConstructor;
|
|
48
48
|
currentPath: StringConstructor;
|
|
49
49
|
}>>, {
|
|
50
|
-
params:
|
|
50
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
51
51
|
collapse: boolean;
|
|
52
52
|
}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-dataview{--ibiz-control-dataview-text-color:var(--ibiz-color-text-0);--ibiz-control-dataview-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-dataview-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-dataview-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0;--ibiz-control-dataview-page-height:50px;--ibiz-control-dataview-item-bg-color:transparent;display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:flex-start;position:relative;height:100%}.ibiz-control-dataview__nav-icon{position:absolute;top:20px;right:10px;color:var(--ibiz-color-primary);cursor:pointer}.ibiz-control-dataview__content{flex-grow:1;height:100
|
|
1
|
+
.ibiz-control-dataview{--ibiz-control-dataview-text-color:var(--ibiz-color-text-0);--ibiz-control-dataview-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-dataview-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-dataview-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0;--ibiz-control-dataview-page-height:50px;--ibiz-control-dataview-item-bg-color:transparent;display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:flex-start;position:relative;height:100%}.ibiz-control-dataview__nav-icon{position:absolute;top:20px;right:10px;color:var(--ibiz-color-primary);cursor:pointer}.ibiz-control-dataview__content{flex-grow:1;height:100%;overflow:auto;padding:var(--ibiz-control-dataview-padding)}.ibiz-control-dataview__pagination{flex-shrink:0}.ibiz-control-dataview__load-more{width:calc(100% - var(--ibiz-spacing-base-tight));text-align:center}.ibiz-control-dataview__load-more i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-dataview__load-more i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-dataview__collapse-expand-icon{width:calc(100% - var(--ibiz-spacing-base-tight));text-align:center}.ibiz-control-dataview__collapse-expand-icon i{font-size:var(--ibiz-font-size-header-3);color:var(--ibiz-color-text-2);cursor:pointer}.ibiz-control-dataview__collapse-expand-icon i:hover{color:var(--ibiz-color-primary-light-hover)}.ibiz-control-dataview__layout-row{padding:var(--ibiz-spacing-tight)}.ibiz-control-dataview__layout-col{padding:0 var(--ibiz-spacing-base-tight) var(--ibiz-spacing-base-tight) 0}.ibiz-control-dataview__layout-flex{display:flex;flex-wrap:wrap;overflow:auto;align-content:flex-start}.ibiz-control-dataview__layout-flex>*{margin:calc(var(--ibiz-spacing-base-tight)/ 2)}.ibiz-control-dataview-item{--ibiz-control-dataview-text-color:var(--ibiz-color-text-0);--ibiz-control-dataview-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-dataview-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-dataview-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0;--ibiz-control-dataview-page-height:50px;--ibiz-control-dataview-item-bg-color:transparent;cursor:pointer;color:var(--ibiz-control-dataview-text-color);background-color:var(--ibiz-control-dataview-item-bg-color)}.ibiz-control-dataview-item:hover{background-color:var(--ibiz-control-dataview-hover-bg-color)}.ibiz-control-dataview-item__content{width:100%;height:100%;display:flex;align-items:center}.ibiz-control-dataview-item__content--checkbox{flex-shrink:0;margin-right:var(--ibiz-spacing-tight)!important}.ibiz-control-dataview-item.is-active{background-color:var(--ibiz-control-dataview-active-bg-color)}.ibiz-control-dataview-item-content{--ibiz-control-dataview-text-color:var(--ibiz-color-text-0);--ibiz-control-dataview-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-control-dataview-active-bg-color:var(--ibiz-color-fill-2);--ibiz-control-dataview-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) 0;--ibiz-control-dataview-page-height:50px;--ibiz-control-dataview-item-bg-color:transparent}.ibiz-control-dataview-item-content__top--title{text-align:center}.ibiz-control-dataview-item-content__top--description{min-width:150px;text-align:justify;text-justify:newspaper;word-break:break-all}.ibiz-control-dataview-item-content__bottom--actions{display:flex;justify-content:center}.ibiz-control-dataview-group-content{--ibiz-control-dataview-group-item-header-bg-color:transparent;--ibiz-control-dataview-group-item-header-padding:var(--ibiz-spacing-base-tight);--ibiz-control-dataview-group-item-header-border-color:var(--ibiz-color-border);--ibiz-control-dataview-group-item-caption-text-color:var(--ibiz-color-text-0);--ibiz-control-dataview-group-item-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-control-dataview-group-item-caption-font-weight:var(--ibiz-font-weight-bold);--ibiz-control-dataview-group-item-content-bg-color:transparent;--ibiz-control-dataview-group-item-content-padding:var(--ibiz-spacing-tight);width:100%}.ibiz-control-dataview-group-content__item .el-collapse-item__content{display:flex;flex-wrap:wrap}.ibiz-control-dataview-group-content__item--empty{width:100%;text-align:center}.ibiz-control-dataview-group-content__item.is-collapse .ibiz-control-dataview-group-content__item-content{height:0;overflow:hidden}.ibiz-control-dataview-group-content__item-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--ibiz-control-dataview-group-item-header-padding);border-bottom:1px solid var(--ibiz-control-dataview-group-item-header-border-color)}.ibiz-control-dataview-group-content__item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-control-dataview-group-item-caption-font-size);font-weight:var(--ibiz-control-dataview-group-item-caption-font-weight);color:var(--ibiz-control-dataview-group-item-caption-text-color)}
|
|
@@ -8,11 +8,11 @@ export declare const DataViewControl: 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: {
|
|
@@ -40,10 +40,10 @@ export declare const DataViewControl: import("vue").DefineComponent<{
|
|
|
40
40
|
};
|
|
41
41
|
data: {
|
|
42
42
|
type: {
|
|
43
|
-
(arrayLength: number):
|
|
44
|
-
(...items:
|
|
45
|
-
new (arrayLength: number):
|
|
46
|
-
new (...items:
|
|
43
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
44
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
45
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
46
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
47
47
|
isArray(arg: any): arg is any[];
|
|
48
48
|
readonly prototype: any[];
|
|
49
49
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -63,7 +63,7 @@ export declare const DataViewControl: import("vue").DefineComponent<{
|
|
|
63
63
|
c: DataViewControlController<IDEDataView, import("@ibiz-template/runtime").IDataViewControlState, import("@ibiz-template/runtime").IDataViewControlEvent>;
|
|
64
64
|
ns: import("@ibiz-template/core").Namespace;
|
|
65
65
|
classNames: import("vue").ComputedRef<string[]>;
|
|
66
|
-
infiniteScroll: import("vue").Ref<
|
|
66
|
+
infiniteScroll: import("vue").Ref<import("@ibiz-template/core").IApiData | undefined>;
|
|
67
67
|
renderHasData: () => VNode;
|
|
68
68
|
renderNoData: () => VNode | undefined;
|
|
69
69
|
onPageChange: (page: number) => void;
|
|
@@ -76,11 +76,11 @@ export declare const DataViewControl: import("vue").DefineComponent<{
|
|
|
76
76
|
required: true;
|
|
77
77
|
};
|
|
78
78
|
context: {
|
|
79
|
-
type: PropType<
|
|
79
|
+
type: PropType<import("@ibiz-template/core").IApiContext>;
|
|
80
80
|
required: true;
|
|
81
81
|
};
|
|
82
82
|
params: {
|
|
83
|
-
type: PropType<
|
|
83
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
84
84
|
default: () => {};
|
|
85
85
|
};
|
|
86
86
|
provider: {
|
|
@@ -108,10 +108,10 @@ export declare const DataViewControl: import("vue").DefineComponent<{
|
|
|
108
108
|
};
|
|
109
109
|
data: {
|
|
110
110
|
type: {
|
|
111
|
-
(arrayLength: number):
|
|
112
|
-
(...items:
|
|
113
|
-
new (arrayLength: number):
|
|
114
|
-
new (...items:
|
|
111
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
112
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
113
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
114
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
115
115
|
isArray(arg: any): arg is any[];
|
|
116
116
|
readonly prototype: any[];
|
|
117
117
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -128,7 +128,7 @@ export declare const DataViewControl: import("vue").DefineComponent<{
|
|
|
128
128
|
default: boolean;
|
|
129
129
|
};
|
|
130
130
|
}>>, {
|
|
131
|
-
params:
|
|
131
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
132
132
|
mdctrlActiveMode: number;
|
|
133
133
|
singleSelect: boolean;
|
|
134
134
|
isSimple: boolean;
|
|
@@ -2,8 +2,8 @@ import { isVNode, defineComponent, computed, ref, watch, createVNode, resolveCom
|
|
|
2
2
|
import { useControlController, useNamespace, hasEmptyPanelRenderer, IBizCustomRender } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { DataViewControlController, ControlVO } from '@ibiz-template/runtime';
|
|
4
4
|
import { createUUID } from 'qx-util';
|
|
5
|
-
import './data-view.css';
|
|
6
5
|
import '../../util/index.mjs';
|
|
6
|
+
import './data-view.css';
|
|
7
7
|
import { usePagination } from '../../util/pagination/use-pagination.mjs';
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
@@ -73,6 +73,10 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
}
|
|
74
74
|
return c.state.items.length >= c.state.total || c.state.isLoading || c.state.total <= c.state.size;
|
|
75
75
|
});
|
|
76
|
+
const cardStyle = computed(() => {
|
|
77
|
+
var _a, _b;
|
|
78
|
+
return ((_b = (_a = c.model.controlParam) == null ? void 0 : _a.ctrlParams) == null ? void 0 : _b.CARDSTYLE) || "default";
|
|
79
|
+
});
|
|
76
80
|
const showCollapseOrExpandIcon = computed(() => {
|
|
77
81
|
return !c.model.enableGroup && (c.model.pagingMode === 2 || c.model.pagingMode === 3);
|
|
78
82
|
});
|
|
@@ -103,6 +107,22 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
103
107
|
c.state.isLoaded = true;
|
|
104
108
|
}
|
|
105
109
|
});
|
|
110
|
+
const isSelected = (item) => {
|
|
111
|
+
let selected = !!c.state.selectedData.find((data) => data.srfkey === item.srfkey);
|
|
112
|
+
if (c.view.model.viewType === "DEDATAVIEW" && c.state.mdctrlActiveMode === 1 && c.state.singleSelect === true)
|
|
113
|
+
selected = false;
|
|
114
|
+
return selected;
|
|
115
|
+
};
|
|
116
|
+
const toggleSelection = (item) => {
|
|
117
|
+
const selected = c.state.selectedData;
|
|
118
|
+
const index = selected.findIndex((data) => data.srfkey === item.srfkey);
|
|
119
|
+
if (index === -1) {
|
|
120
|
+
selected.push(item);
|
|
121
|
+
} else {
|
|
122
|
+
selected.splice(index, 1);
|
|
123
|
+
}
|
|
124
|
+
c.setSelection(selected);
|
|
125
|
+
};
|
|
106
126
|
watch(() => props.data, () => {
|
|
107
127
|
if (props.isSimple) {
|
|
108
128
|
initSimpleData();
|
|
@@ -160,25 +180,6 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
160
180
|
}, [renderItemAction(item)]) : null]);
|
|
161
181
|
};
|
|
162
182
|
const renderCard = (item) => {
|
|
163
|
-
const findIndex = c.state.selectedData.findIndex((data) => {
|
|
164
|
-
return data.srfkey === item.srfkey;
|
|
165
|
-
});
|
|
166
|
-
let showActive = findIndex !== -1;
|
|
167
|
-
if (c.view.model.viewType === "DEDATAVIEW" && c.state.mdctrlActiveMode === 1 && c.state.singleSelect === true) {
|
|
168
|
-
showActive = false;
|
|
169
|
-
}
|
|
170
|
-
const cardClass = [ns.b("item"), ns.is("active", showActive)];
|
|
171
|
-
const cardStyle = {};
|
|
172
|
-
if (c.model.cardWidth) {
|
|
173
|
-
Object.assign(cardStyle, {
|
|
174
|
-
width: "".concat(c.model.cardWidth, "px")
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
if (c.model.cardHeight) {
|
|
178
|
-
Object.assign(cardStyle, {
|
|
179
|
-
height: "".concat(c.model.cardHeight, "px")
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
183
|
const itemStyle = ns.cssVarBlock({
|
|
183
184
|
"item-bg-color": "".concat(item.bgcolor || ""),
|
|
184
185
|
"text-color": "".concat(item.fontcolor || ""),
|
|
@@ -188,21 +189,62 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
188
189
|
const panel = props.modelData.itemLayoutPanel;
|
|
189
190
|
return createVNode(resolveComponent("el-card"), {
|
|
190
191
|
"shadow": "hover",
|
|
191
|
-
"class":
|
|
192
|
+
"class": [ns.b("item"), ns.is("active", isSelected(item))],
|
|
192
193
|
"style": itemStyle,
|
|
193
|
-
"body-style":
|
|
194
|
+
"body-style": {
|
|
195
|
+
width: c.model.cardWidth ? "".concat(c.model.cardWidth, "px") : "auto",
|
|
196
|
+
height: c.model.cardHeight ? "".concat(c.model.cardHeight, "px") : "auto"
|
|
197
|
+
},
|
|
194
198
|
"onClick": (event) => onRowClick(item, event),
|
|
195
199
|
"onDblclick": (event) => onDbRowClick(item, event)
|
|
196
200
|
}, {
|
|
197
|
-
default: () => [
|
|
201
|
+
default: () => [createVNode("div", {
|
|
202
|
+
"class": ns.be("item", "content")
|
|
203
|
+
}, [cardStyle.value === "style2" && !c.state.singleSelect && createVNode(resolveComponent("el-checkbox"), {
|
|
204
|
+
"size": "large",
|
|
205
|
+
"class": ns.bem("item", "content", "checkbox"),
|
|
206
|
+
"modelValue": isSelected(item),
|
|
207
|
+
"onClick": (e) => e.stopPropagation(),
|
|
208
|
+
"onChange": () => toggleSelection(item)
|
|
209
|
+
}, null), panel ? renderPanelItem(item, panel) : renderDefaultItem(item)])]
|
|
198
210
|
});
|
|
199
211
|
};
|
|
200
|
-
const
|
|
212
|
+
const renderCardLayout = (items) => {
|
|
213
|
+
let _slot;
|
|
201
214
|
const {
|
|
202
215
|
cardColXS,
|
|
203
216
|
cardColSM,
|
|
204
217
|
cardColMD,
|
|
205
|
-
cardColLG
|
|
218
|
+
cardColLG
|
|
219
|
+
} = c.model;
|
|
220
|
+
if (cardColXS || cardColSM || cardColMD || cardColLG)
|
|
221
|
+
return createVNode(resolveComponent("el-row"), {
|
|
222
|
+
"class": ns.e("layout-row")
|
|
223
|
+
}, _isSlot(_slot = items.map((item) => {
|
|
224
|
+
return createVNode(resolveComponent("el-col"), {
|
|
225
|
+
"xs": cardColXS,
|
|
226
|
+
"sm": cardColSM,
|
|
227
|
+
"md": cardColMD,
|
|
228
|
+
"lg": cardColLG,
|
|
229
|
+
"class": ns.e("layout-col")
|
|
230
|
+
}, {
|
|
231
|
+
default: () => [createVNode("div", {
|
|
232
|
+
"class": ns.b("scroll-item")
|
|
233
|
+
}, [renderCard(item)])]
|
|
234
|
+
});
|
|
235
|
+
})) ? _slot : {
|
|
236
|
+
default: () => [_slot]
|
|
237
|
+
});
|
|
238
|
+
return createVNode("div", {
|
|
239
|
+
"class": ns.e("layout-flex")
|
|
240
|
+
}, [items.map((item) => {
|
|
241
|
+
return createVNode("div", {
|
|
242
|
+
"class": ns.b("scroll-item")
|
|
243
|
+
}, [renderCard(item)]);
|
|
244
|
+
})]);
|
|
245
|
+
};
|
|
246
|
+
const renderGroup = (group) => {
|
|
247
|
+
const {
|
|
206
248
|
groupSysCss
|
|
207
249
|
} = c.model;
|
|
208
250
|
return createVNode("div", {
|
|
@@ -220,75 +262,19 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
220
262
|
"onActionClick": (detail, event) => {
|
|
221
263
|
c.onGroupToolbarClick(detail, event, group);
|
|
222
264
|
}
|
|
223
|
-
}, null)])]),
|
|
224
|
-
"class": ns.be("group-content", "item-row")
|
|
225
|
-
}, {
|
|
226
|
-
default: () => [group.children.length > 0 ? group.children.map((child) => {
|
|
227
|
-
let _slot;
|
|
228
|
-
return createVNode(resolveComponent("el-col"), {
|
|
229
|
-
"xs": cardColXS,
|
|
230
|
-
"sm": cardColSM,
|
|
231
|
-
"md": cardColMD,
|
|
232
|
-
"lg": cardColLG,
|
|
233
|
-
"class": ns.be("group-content", "item-col")
|
|
234
|
-
}, _isSlot(_slot = renderCard(child)) ? _slot : {
|
|
235
|
-
default: () => [_slot]
|
|
236
|
-
});
|
|
237
|
-
}) : createVNode("div", {
|
|
238
|
-
"class": ns.bem("group-content", "item", "empty")
|
|
239
|
-
}, [ibiz.i18n.t("app.noData")])]
|
|
240
|
-
}) : createVNode("div", {
|
|
241
|
-
"class": ns.be("group-content", "item-content")
|
|
242
|
-
}, [group.children.length > 0 ? group.children.map((child) => {
|
|
243
|
-
return renderCard(child);
|
|
244
|
-
}) : createVNode("div", {
|
|
265
|
+
}, null)])]), group.children.length > 0 ? renderCardLayout(group.children) : createVNode("div", {
|
|
245
266
|
"class": ns.bem("group-content", "item", "empty")
|
|
246
|
-
}, [ibiz.i18n.t("app.noData")])])
|
|
267
|
+
}, [ibiz.i18n.t("app.noData")])]);
|
|
247
268
|
};
|
|
248
269
|
const renderDataViewContent = () => {
|
|
249
|
-
const {
|
|
250
|
-
cardColXS,
|
|
251
|
-
cardColSM,
|
|
252
|
-
cardColMD,
|
|
253
|
-
cardColLG
|
|
254
|
-
} = c.model;
|
|
255
270
|
if (c.model.enableGroup) {
|
|
256
271
|
return createVNode("div", {
|
|
257
272
|
"class": ns.b("group-content")
|
|
258
273
|
}, [c.state.groups.map((group) => {
|
|
259
|
-
return
|
|
260
|
-
"class": [ns.b("scroll-item")]
|
|
261
|
-
}, [renderGroup(group)]);
|
|
274
|
+
return renderGroup(group);
|
|
262
275
|
})]);
|
|
263
276
|
}
|
|
264
|
-
|
|
265
|
-
if (isCollapse.value) {
|
|
266
|
-
tempItems = c.state.items.slice(0, c.state.size);
|
|
267
|
-
}
|
|
268
|
-
if (cardColXS || cardColSM || cardColMD || cardColLG) {
|
|
269
|
-
let _slot3;
|
|
270
|
-
return createVNode(resolveComponent("el-row"), {
|
|
271
|
-
"class": [ns.b("item-row")]
|
|
272
|
-
}, _isSlot(_slot3 = tempItems.map((item) => {
|
|
273
|
-
let _slot2;
|
|
274
|
-
return createVNode(resolveComponent("el-col"), {
|
|
275
|
-
"xs": cardColXS,
|
|
276
|
-
"sm": cardColSM,
|
|
277
|
-
"md": cardColMD,
|
|
278
|
-
"lg": cardColLG,
|
|
279
|
-
"class": [ns.b("item-col")]
|
|
280
|
-
}, _isSlot(_slot2 = renderCard(item)) ? _slot2 : {
|
|
281
|
-
default: () => [_slot2]
|
|
282
|
-
});
|
|
283
|
-
})) ? _slot3 : {
|
|
284
|
-
default: () => [_slot3]
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
return tempItems.map((item) => {
|
|
288
|
-
return createVNode("div", {
|
|
289
|
-
"class": [ns.b("scroll-item")]
|
|
290
|
-
}, [renderCard(item)]);
|
|
291
|
-
});
|
|
277
|
+
return renderCardLayout(isCollapse.value ? c.state.items.slice(0, c.state.size) : c.state.items);
|
|
292
278
|
};
|
|
293
279
|
const scrollToTop = () => {
|
|
294
280
|
var _a;
|
|
@@ -339,10 +325,10 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
339
325
|
};
|
|
340
326
|
const renderHasData = () => {
|
|
341
327
|
return withDirectives(createVNode("div", {
|
|
342
|
-
"class":
|
|
328
|
+
"class": ns.e("content"),
|
|
329
|
+
"ref": "infiniteScroll",
|
|
343
330
|
"infinite-scroll-distance": 10,
|
|
344
331
|
"infinite-scroll-disabled": isLodeMoreDisabled.value,
|
|
345
|
-
"ref": "infiniteScroll",
|
|
346
332
|
"key": infiniteScrollKey.value
|
|
347
333
|
}, [renderDataViewContent()]), [[resolveDirective("infinite-scroll"), () => c.loadMore()]]);
|
|
348
334
|
};
|
|
@@ -5,11 +5,11 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
context: {
|
|
8
|
-
type: import("vue").PropType<
|
|
8
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
params: {
|
|
12
|
-
type: import("vue").PropType<
|
|
12
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
15
|
provider: {
|
|
@@ -29,10 +29,10 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
29
29
|
};
|
|
30
30
|
data: {
|
|
31
31
|
type: {
|
|
32
|
-
(arrayLength: number):
|
|
33
|
-
(...items:
|
|
34
|
-
new (arrayLength: number):
|
|
35
|
-
new (...items:
|
|
32
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
33
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
34
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
35
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
36
36
|
isArray(arg: any): arg is any[];
|
|
37
37
|
readonly prototype: any[];
|
|
38
38
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -52,7 +52,7 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
52
52
|
c: import("@ibiz-template/runtime").DataViewControlController<import("@ibiz/model-core").IDEDataView, import("@ibiz-template/runtime").IDataViewControlState, import("@ibiz-template/runtime").IDataViewControlEvent>;
|
|
53
53
|
ns: import("@ibiz-template/core").Namespace;
|
|
54
54
|
classNames: import("vue").ComputedRef<string[]>;
|
|
55
|
-
infiniteScroll: import("vue").Ref<
|
|
55
|
+
infiniteScroll: import("vue").Ref<import("@ibiz-template/core").IApiData | undefined>;
|
|
56
56
|
renderHasData: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
57
|
[key: string]: any;
|
|
58
58
|
}>;
|
|
@@ -69,11 +69,11 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
69
69
|
required: true;
|
|
70
70
|
};
|
|
71
71
|
context: {
|
|
72
|
-
type: import("vue").PropType<
|
|
72
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
73
73
|
required: true;
|
|
74
74
|
};
|
|
75
75
|
params: {
|
|
76
|
-
type: import("vue").PropType<
|
|
76
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
77
77
|
default: () => {};
|
|
78
78
|
};
|
|
79
79
|
provider: {
|
|
@@ -93,10 +93,10 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
93
93
|
};
|
|
94
94
|
data: {
|
|
95
95
|
type: {
|
|
96
|
-
(arrayLength: number):
|
|
97
|
-
(...items:
|
|
98
|
-
new (arrayLength: number):
|
|
99
|
-
new (...items:
|
|
96
|
+
(arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
97
|
+
(...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
98
|
+
new (arrayLength: number): import("@ibiz-template/core").IApiData[];
|
|
99
|
+
new (...items: import("@ibiz-template/core").IApiData[]): import("@ibiz-template/core").IApiData[];
|
|
100
100
|
isArray(arg: any): arg is any[];
|
|
101
101
|
readonly prototype: any[];
|
|
102
102
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -113,7 +113,7 @@ export declare const IBizDataViewControl: import("@ibiz-template/vue3-util").Typ
|
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
}>>, {
|
|
116
|
-
params:
|
|
116
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
117
117
|
mdctrlActiveMode: number;
|
|
118
118
|
singleSelect: boolean;
|
|
119
119
|
isSimple: boolean;
|