ep-craft 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/avatar/EpAvatar.vue.d.ts +20 -0
- package/dist/components/avatar/EpAvatar.vue.js +72 -0
- package/dist/components/avatar/EpAvatar2.vue.js +4 -0
- package/dist/components/avatar/avatar.d.ts +68 -0
- package/dist/components/avatar/avatar.js +59 -0
- package/dist/components/avatar/constants.d.ts +7 -0
- package/dist/components/avatar/constants.js +6 -0
- package/dist/components/avatar/index.d.ts +13 -2
- package/dist/components/avatar/index.js +8 -3
- package/dist/components/avatar/instance.d.ts +2 -0
- package/dist/components/badge/EpBadge.vue.d.ts +28 -0
- package/dist/components/badge/EpBadge.vue.js +75 -0
- package/dist/components/badge/EpBadge2.vue.js +4 -0
- package/dist/components/badge/badge.d.ts +67 -0
- package/dist/components/badge/badge.js +69 -0
- package/dist/components/badge/index.d.ts +11 -2
- package/dist/components/badge/index.js +9 -4
- package/dist/components/badge/instance.d.ts +2 -0
- package/dist/components/calendar/EpCalendar.vue.d.ts +50 -0
- package/dist/components/calendar/EpCalendar.vue.js +154 -0
- package/dist/components/calendar/EpCalendar2.vue.js +4 -0
- package/dist/components/calendar/EpDateTable.vue.d.ts +27 -0
- package/dist/components/calendar/EpDateTable.vue.js +89 -0
- package/dist/components/calendar/EpDateTable2.vue.js +4 -0
- package/dist/components/calendar/EpSelectController.vue.d.ts +8 -0
- package/dist/components/calendar/EpSelectController.vue.js +88 -0
- package/dist/components/calendar/EpSelectController2.vue.js +4 -0
- package/dist/components/calendar/calendar.d.ts +54 -0
- package/dist/components/calendar/calendar.js +45 -0
- package/dist/components/calendar/date-table.d.ts +53 -0
- package/dist/components/calendar/date-table.js +41 -0
- package/dist/components/calendar/index.d.ts +13 -2
- package/dist/components/calendar/index.js +9 -4
- package/dist/components/calendar/instance.d.ts +5 -0
- package/dist/components/calendar/select-controller.d.ts +31 -0
- package/dist/components/calendar/select-controller.js +21 -0
- package/dist/components/calendar/use-calendar.d.ts +13 -0
- package/dist/components/calendar/use-calendar.js +84 -0
- package/dist/components/calendar/use-date-table.d.ts +18 -0
- package/dist/components/calendar/use-date-table.js +99 -0
- package/dist/components/card/EpCard.vue.d.ts +22 -0
- package/dist/components/card/EpCard.vue.js +64 -0
- package/dist/components/card/EpCard2.vue.js +4 -0
- package/dist/components/card/card.d.ts +51 -0
- package/dist/components/card/card.js +49 -0
- package/dist/components/card/index.d.ts +11 -2
- package/dist/components/card/index.js +5 -4
- package/dist/components/card/instance.d.ts +2 -0
- package/dist/components/carousel/EpCarousel.vue.d.ts +1 -1
- package/dist/components/cascader/EpCascader.vue.d.ts +4 -4
- package/dist/components/config-provider/index.js +5 -4
- package/dist/components/config-provider/src/config-provider-props.d.ts +3 -6
- package/dist/components/config-provider/src/config-provider-props.js +1 -1
- package/dist/components/config-provider/src/hooks/use-global-config.js +75 -47
- package/dist/components/countdown/EpCountdown.vue.d.ts +28 -0
- package/dist/components/countdown/EpCountdown.vue.js +71 -0
- package/dist/components/countdown/EpCountdown2.vue.js +4 -0
- package/dist/components/countdown/countdown.d.ts +48 -0
- package/dist/components/countdown/countdown.js +50 -0
- package/dist/components/countdown/index.d.ts +11 -2
- package/dist/components/countdown/index.js +9 -4
- package/dist/components/countdown/instance.d.ts +2 -0
- package/dist/components/countdown/utils.d.ts +3 -0
- package/dist/components/countdown/utils.js +40 -0
- package/dist/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/dist/components/date-picker-panel/src/date-picker-panel.d.ts +1 -1
- package/dist/components/dialog/EpDialog.vue.d.ts +61 -0
- package/dist/components/dialog/EpDialog.vue.js +214 -0
- package/dist/components/dialog/EpDialog2.vue.js +4 -0
- package/dist/components/dialog/EpDialogContent.vue.d.ts +31 -0
- package/dist/components/dialog/EpDialogContent.vue.js +108 -0
- package/dist/components/dialog/EpDialogContent2.vue.js +4 -0
- package/dist/components/dialog/constants.d.ts +12 -0
- package/dist/components/dialog/constants.js +5 -0
- package/dist/components/dialog/dialog-content.d.ts +84 -0
- package/dist/components/dialog/dialog-content.js +90 -0
- package/dist/components/dialog/dialog.d.ts +173 -0
- package/dist/components/dialog/dialog.js +156 -0
- package/dist/components/dialog/index.d.ts +20 -2
- package/dist/components/dialog/index.js +24 -4
- package/dist/components/dialog/instance.d.ts +2 -0
- package/dist/components/dialog/use-dialog.d.ts +35 -0
- package/dist/components/dialog/use-dialog.js +176 -0
- package/dist/components/drawer/EpDrawer.vue.d.ts +67 -0
- package/dist/components/drawer/EpDrawer.vue.js +234 -0
- package/dist/components/drawer/EpDrawer2.vue.js +4 -0
- package/dist/components/drawer/drawer.d.ts +105 -0
- package/dist/components/drawer/drawer.js +42 -0
- package/dist/components/drawer/index.d.ts +14 -2
- package/dist/components/drawer/index.js +9 -4
- package/dist/components/drawer/instance.d.ts +2 -0
- package/dist/components/drawer/useResizable.d.ts +7 -0
- package/dist/components/drawer/useResizable.js +50 -0
- package/dist/components/empty/EpEmpty.vue.d.ts +20 -0
- package/dist/components/empty/EpEmpty.vue.js +62 -0
- package/dist/components/empty/EpEmpty2.vue.js +4 -0
- package/dist/components/empty/empty.d.ts +27 -0
- package/dist/components/empty/empty.js +26 -0
- package/dist/components/empty/img-empty.vue.d.ts +2 -0
- package/dist/components/empty/img-empty.vue.js +141 -0
- package/dist/components/empty/img-empty2.vue.js +4 -0
- package/dist/components/empty/index.d.ts +11 -2
- package/dist/components/empty/index.js +9 -4
- package/dist/components/empty/instance.d.ts +2 -0
- package/dist/components/form/index.js +11 -9
- package/dist/components/form/src/form-item.js +5 -5
- package/dist/components/form/src/form.js +5 -6
- package/dist/components/form-item/index.js +6 -5
- package/dist/components/infinite-scroll/index.d.ts +26 -0
- package/dist/components/infinite-scroll/index.js +15 -0
- package/dist/components/infinite-scroll/src/index.d.ts +20 -0
- package/dist/components/infinite-scroll/src/index.js +109 -0
- package/dist/components/link/EpLink.vue.d.ts +24 -0
- package/dist/components/link/EpLink.vue.js +86 -0
- package/dist/components/link/EpLink2.vue.js +4 -0
- package/dist/components/link/index.d.ts +11 -2
- package/dist/components/link/index.js +5 -3
- package/dist/components/link/instance.d.ts +2 -0
- package/dist/components/link/link.d.ts +56 -0
- package/dist/components/link/link.js +51 -0
- package/dist/components/loading/index.d.ts +15 -0
- package/dist/components/loading/index.js +13 -0
- package/dist/components/loading/src/directive.d.ts +13 -0
- package/dist/components/loading/src/directive.js +62 -0
- package/dist/components/loading/src/loading.d.ts +34 -0
- package/dist/components/loading/src/loading.js +121 -0
- package/dist/components/loading/src/service.d.ts +8 -0
- package/dist/components/loading/src/service.js +67 -0
- package/dist/components/loading/src/types.d.ts +47 -0
- package/dist/components/message/index.d.ts +3 -0
- package/dist/components/message/index.js +18 -0
- package/dist/components/message/src/instance.d.ts +18 -0
- package/dist/components/message/src/instance.js +18 -0
- package/dist/components/message/src/message.d.ts +175 -0
- package/dist/components/message/src/message.js +160 -0
- package/dist/components/message/src/message.vue.d.ts +38 -0
- package/dist/components/message/src/message.vue.js +156 -0
- package/dist/components/message/src/message2.vue.js +4 -0
- package/dist/components/message/src/method.d.ts +5 -0
- package/dist/components/message/src/method.js +123 -0
- package/dist/components/message-box/index.d.ts +6 -0
- package/dist/components/message-box/index.js +9 -0
- package/dist/components/message-box/src/index.vue.d.ts +5517 -0
- package/dist/components/message-box/src/index.vue.js +203 -0
- package/dist/components/message-box/src/index2.vue.js +237 -0
- package/dist/components/message-box/src/message-box.type.d.ts +167 -0
- package/dist/components/message-box/src/messageBox.d.ts +3 -0
- package/dist/components/message-box/src/messageBox.js +102 -0
- package/dist/components/notification/index.d.ts +3 -0
- package/dist/components/notification/index.js +15 -0
- package/dist/components/notification/src/notification.d.ts +157 -0
- package/dist/components/notification/src/notification.js +127 -0
- package/dist/components/notification/src/notification.vue.d.ts +34 -0
- package/dist/components/notification/src/notification.vue.js +146 -0
- package/dist/components/notification/src/notification2.vue.js +4 -0
- package/dist/components/notification/src/notify.d.ts +15 -0
- package/dist/components/notification/src/notify.js +100 -0
- package/dist/components/option/index.js +3 -3
- package/dist/components/overlay/index.d.ts +8 -0
- package/dist/components/overlay/overlay.d.ts +73 -0
- package/dist/components/overlay/overlay.js +80 -0
- package/dist/components/page-header/EpPageHeader.vue.d.ts +30 -0
- package/dist/components/page-header/EpPageHeader.vue.js +109 -0
- package/dist/components/page-header/EpPageHeader2.vue.js +4 -0
- package/dist/components/page-header/index.d.ts +13 -2
- package/dist/components/page-header/index.js +9 -4
- package/dist/components/page-header/instance.d.ts +2 -0
- package/dist/components/page-header/page-header.d.ts +26 -0
- package/dist/components/page-header/page-header.js +33 -0
- package/dist/components/popconfirm/EpPopconfirm.vue.d.ts +36 -0
- package/dist/components/popconfirm/EpPopconfirm.vue.js +146 -0
- package/dist/components/popconfirm/EpPopconfirm2.vue.js +4 -0
- package/dist/components/popconfirm/index.d.ts +14 -2
- package/dist/components/popconfirm/index.js +9 -4
- package/dist/components/popconfirm/instance.d.ts +2 -0
- package/dist/components/popconfirm/popconfirm.d.ts +106 -0
- package/dist/components/popconfirm/popconfirm.js +103 -0
- package/dist/components/progress/src/progress.vue.d.ts +1 -1
- package/dist/components/result/EpResult.vue.d.ts +23 -0
- package/dist/components/result/EpResult.vue.js +71 -0
- package/dist/components/result/EpResult2.vue.js +4 -0
- package/dist/components/result/index.d.ts +11 -2
- package/dist/components/result/index.js +10 -4
- package/dist/components/result/instance.d.ts +2 -0
- package/dist/components/result/result.d.ts +35 -0
- package/dist/components/result/result.js +47 -0
- package/dist/components/select/index.d.ts +21 -21
- package/dist/components/select/select.vue.d.ts +7 -7
- package/dist/components/select/select2.vue.js +12 -12
- package/dist/components/select/src/option.vue.js +5 -5
- package/dist/components/select-v2/src/select.vue.d.ts +8 -8
- package/dist/components/space/index.d.ts +15 -2
- package/dist/components/space/index.js +23 -4
- package/dist/components/space/instance.d.ts +2 -0
- package/dist/components/space/item.d.ts +29 -0
- package/dist/components/space/item.js +30 -0
- package/dist/components/space/space.d.ts +92 -0
- package/dist/components/space/space.js +182 -0
- package/dist/components/space/use-space.d.ts +7 -0
- package/dist/components/space/use-space.js +47 -0
- package/dist/components/statistic/EpStatistic.vue.d.ts +28 -0
- package/dist/components/statistic/EpStatistic.vue.js +82 -0
- package/dist/components/statistic/EpStatistic2.vue.js +4 -0
- package/dist/components/statistic/index.d.ts +11 -2
- package/dist/components/statistic/index.js +8 -4
- package/dist/components/statistic/instance.d.ts +2 -0
- package/dist/components/statistic/statistic.d.ts +58 -0
- package/dist/components/statistic/statistic.js +59 -0
- package/dist/components/table-v2/index.d.ts +21 -2
- package/dist/components/table-v2/index.js +11 -4
- package/dist/components/table-v2/src/EpTableV2.d.ts +359 -0
- package/dist/components/table-v2/src/EpTableV2.js +287 -0
- package/dist/components/table-v2/src/cell.d.ts +27 -0
- package/dist/components/table-v2/src/common.d.ts +42 -0
- package/dist/components/table-v2/src/common.js +38 -0
- package/dist/components/table-v2/src/components/cell.d.ts +4 -0
- package/dist/components/table-v2/src/components/cell.js +20 -0
- package/dist/components/table-v2/src/components/expand-icon.d.ts +15 -0
- package/dist/components/table-v2/src/components/expand-icon.js +30 -0
- package/dist/components/table-v2/src/components/header-cell.d.ts +4 -0
- package/dist/components/table-v2/src/components/header-cell.js +15 -0
- package/dist/components/table-v2/src/components/header-row.d.ts +59 -0
- package/dist/components/table-v2/src/components/header-row.js +41 -0
- package/dist/components/table-v2/src/components/header.d.ts +105 -0
- package/dist/components/table-v2/src/components/header.js +98 -0
- package/dist/components/table-v2/src/components/index.d.ts +11 -0
- package/dist/components/table-v2/src/components/row.d.ts +166 -0
- package/dist/components/table-v2/src/components/row.js +176 -0
- package/dist/components/table-v2/src/components/sort-icon.d.ts +9 -0
- package/dist/components/table-v2/src/components/sort-icon.js +21 -0
- package/dist/components/table-v2/src/composables/index.d.ts +11 -0
- package/dist/components/table-v2/src/composables/use-columns.d.ts +128 -0
- package/dist/components/table-v2/src/composables/use-columns.js +73 -0
- package/dist/components/table-v2/src/composables/use-data.d.ts +14 -0
- package/dist/components/table-v2/src/composables/use-data.js +33 -0
- package/dist/components/table-v2/src/composables/use-row.d.ts +31 -0
- package/dist/components/table-v2/src/composables/use-row.js +83 -0
- package/dist/components/table-v2/src/composables/use-scrollbar.d.ts +31 -0
- package/dist/components/table-v2/src/composables/use-scrollbar.js +53 -0
- package/dist/components/table-v2/src/composables/use-styles.d.ts +23 -0
- package/dist/components/table-v2/src/composables/use-styles.js +66 -0
- package/dist/components/table-v2/src/composables/utils.d.ts +3 -0
- package/dist/components/table-v2/src/composables/utils.js +19 -0
- package/dist/components/table-v2/src/constants.d.ts +18 -0
- package/dist/components/table-v2/src/constants.js +12 -0
- package/dist/components/table-v2/src/grid.d.ts +105 -0
- package/dist/components/table-v2/src/grid.js +56 -0
- package/dist/components/table-v2/src/header-cell.d.ts +13 -0
- package/dist/components/table-v2/src/header-row.d.ts +26 -0
- package/dist/components/table-v2/src/header-row.js +20 -0
- package/dist/components/table-v2/src/header.d.ts +44 -0
- package/dist/components/table-v2/src/header.js +35 -0
- package/dist/components/table-v2/src/private.d.ts +1 -0
- package/dist/components/table-v2/src/private.js +4 -0
- package/dist/components/table-v2/src/renderers/cell.d.ts +11 -0
- package/dist/components/table-v2/src/renderers/cell.js +101 -0
- package/dist/components/table-v2/src/renderers/empty.d.ts +7 -0
- package/dist/components/table-v2/src/renderers/empty.js +15 -0
- package/dist/components/table-v2/src/renderers/footer.d.ts +7 -0
- package/dist/components/table-v2/src/renderers/footer.js +14 -0
- package/dist/components/table-v2/src/renderers/header-cell.d.ts +14 -0
- package/dist/components/table-v2/src/renderers/header-cell.js +77 -0
- package/dist/components/table-v2/src/renderers/header.d.ts +9 -0
- package/dist/components/table-v2/src/renderers/header.js +53 -0
- package/dist/components/table-v2/src/renderers/left-table.d.ts +8 -0
- package/dist/components/table-v2/src/renderers/left-table.js +22 -0
- package/dist/components/table-v2/src/renderers/main-table.d.ts +8 -0
- package/dist/components/table-v2/src/renderers/main-table.js +21 -0
- package/dist/components/table-v2/src/renderers/overlay.d.ts +3 -0
- package/dist/components/table-v2/src/renderers/overlay.js +14 -0
- package/dist/components/table-v2/src/renderers/right-table.d.ts +8 -0
- package/dist/components/table-v2/src/renderers/right-table.js +22 -0
- package/dist/components/table-v2/src/renderers/row.d.ts +11 -0
- package/dist/components/table-v2/src/renderers/row.js +98 -0
- package/dist/components/table-v2/src/row.d.ts +101 -0
- package/dist/components/table-v2/src/row.js +53 -0
- package/dist/components/table-v2/src/table-grid.d.ts +236 -0
- package/dist/components/table-v2/src/table-grid.js +240 -0
- package/dist/components/table-v2/src/table.d.ts +194 -0
- package/dist/components/table-v2/src/table.js +134 -0
- package/dist/components/table-v2/src/tokens.d.ts +9 -0
- package/dist/components/table-v2/src/tokens.js +5 -0
- package/dist/components/table-v2/src/types.d.ts +99 -0
- package/dist/components/table-v2/src/use-table.d.ts +98 -0
- package/dist/components/table-v2/src/use-table.js +162 -0
- package/dist/components/table-v2/src/utils.d.ts +8 -0
- package/dist/components/table-v2/src/utils.js +15 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/dist/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/dist/components/tour/EpTour.vue.d.ts +1 -1
- package/dist/components/tree-select/src/tree-select.vue.d.ts +10 -10
- package/dist/components/tree-v2/EpTreeNode.vue.d.ts +17 -0
- package/dist/components/tree-v2/EpTreeNode.vue.js +127 -0
- package/dist/components/tree-v2/EpTreeNode2.vue.js +4 -0
- package/dist/components/tree-v2/EpTreeV2.vue.d.ts +61 -0
- package/dist/components/tree-v2/EpTreeV2.vue.js +168 -0
- package/dist/components/tree-v2/EpTreeV22.vue.js +4 -0
- package/dist/components/tree-v2/composables/useCheck.d.ts +15 -0
- package/dist/components/tree-v2/composables/useCheck.js +142 -0
- package/dist/components/tree-v2/composables/useFilter.d.ts +8 -0
- package/dist/components/tree-v2/composables/useFilter.js +50 -0
- package/dist/components/tree-v2/composables/useTree.d.ts +404 -0
- package/dist/components/tree-v2/composables/useTree.js +228 -0
- package/dist/components/tree-v2/index.d.ts +11 -2
- package/dist/components/tree-v2/index.js +5 -2
- package/dist/components/tree-v2/instance.d.ts +2 -0
- package/dist/components/tree-v2/tree-node-content.d.ts +20 -0
- package/dist/components/tree-v2/tree-node-content.js +33 -0
- package/dist/components/tree-v2/types.d.ts +97 -0
- package/dist/components/tree-v2/virtual-tree.d.ts +122 -0
- package/dist/components/tree-v2/virtual-tree.js +140 -0
- package/dist/components/virtual-list/src/builders/build-grid.d.ts +211 -0
- package/dist/components/virtual-list/src/builders/build-grid.js +449 -0
- package/dist/components/virtual-list/src/components/dynamic-size-grid.d.ts +212 -0
- package/dist/components/virtual-list/src/components/dynamic-size-grid.js +200 -0
- package/dist/components/virtual-list/src/components/fixed-size-grid.d.ts +199 -0
- package/dist/components/virtual-list/src/components/fixed-size-grid.js +126 -0
- package/dist/components/virtual-list/src/hooks/use-grid-touch.d.ts +8 -0
- package/dist/components/virtual-list/src/hooks/use-grid-touch.js +40 -0
- package/dist/components/virtual-list/src/hooks/use-grid-wheel.d.ts +13 -0
- package/dist/components/virtual-list/src/hooks/use-grid-wheel.js +30 -0
- package/dist/components/virtual-list/src/props.js +16 -17
- package/dist/components/virtual-list/src/utils.js +14 -13
- package/dist/components/watermark/EpWatermark.vue.d.ts +18 -0
- package/dist/components/watermark/EpWatermark.vue.js +174 -0
- package/dist/components/watermark/EpWatermark2.vue.js +4 -0
- package/dist/components/watermark/index.d.ts +13 -2
- package/dist/components/watermark/index.js +8 -4
- package/dist/components/watermark/instance.d.ts +2 -0
- package/dist/components/watermark/useClips.d.ts +6 -0
- package/dist/components/watermark/useClips.js +91 -0
- package/dist/components/watermark/utils.d.ts +8 -0
- package/dist/components/watermark/utils.js +21 -0
- package/dist/components/watermark/watermark.d.ts +71 -0
- package/dist/components/watermark/watermark.js +60 -0
- package/dist/constants/date.js +9 -0
- package/dist/directives/index.d.ts +11 -0
- package/dist/directives/index.js +25 -0
- package/dist/directives/trap-focus/index.js +40 -0
- package/dist/ep-craft.js +410 -373
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/use-draggable/index.d.ts +6 -0
- package/dist/hooks/use-draggable/index.js +51 -0
- package/dist/hooks/use-locale/index.js +12 -12
- package/dist/hooks/use-namespace/index.js +23 -23
- package/dist/hooks/use-same-target/index.d.ts +5 -0
- package/dist/hooks/use-same-target/index.js +20 -0
- package/dist/hooks/use-z-index/index.js +15 -15
- package/dist/index.d.ts +32 -2
- package/dist/utils/dom/aria.js +16 -12
- package/dist/utils/vue/icon.js +10 -6
- package/dist/utils/vue/install.js +23 -20
- package/dist/utils/vue/vnode.js +32 -22
- package/dist/vendored-components.d.ts +1 -1
- package/dist/vendored-components.js +34 -1
- package/package.json +1 -1
|
@@ -99,8 +99,8 @@ export declare const ElSelect: {
|
|
|
99
99
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
100
100
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
101
101
|
"onEnd-reached"?: ((direction: import("../scrollbar").ScrollbarDirection) => any) | undefined;
|
|
102
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
103
102
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
103
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
104
104
|
"onPopup-scroll"?: ((args_0: {
|
|
105
105
|
scrollTop: number;
|
|
106
106
|
scrollLeft: number;
|
|
@@ -314,18 +314,18 @@ export declare const ElSelect: {
|
|
|
314
314
|
valueKey: string;
|
|
315
315
|
debounce: number;
|
|
316
316
|
fitInputWidth: boolean;
|
|
317
|
-
filterable: boolean;
|
|
318
|
-
collapseTags: boolean;
|
|
319
|
-
maxCollapseTags: number;
|
|
320
|
-
collapseTagsTooltip: boolean;
|
|
321
|
-
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
322
|
-
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
323
317
|
automaticDropdown: boolean;
|
|
324
318
|
tagTooltip: import("./select").TagTooltipProps;
|
|
319
|
+
maxCollapseTags: number;
|
|
325
320
|
multipleLimit: number;
|
|
326
321
|
reserveKeyword: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
322
|
+
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
323
|
+
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
327
324
|
allowCreate: boolean;
|
|
325
|
+
collapseTags: boolean;
|
|
326
|
+
collapseTagsTooltip: boolean;
|
|
328
327
|
defaultFirstOption: boolean;
|
|
328
|
+
filterable: boolean;
|
|
329
329
|
remote: boolean;
|
|
330
330
|
remoteShowSuffix: boolean;
|
|
331
331
|
}, true, {}, {}, {
|
|
@@ -1050,8 +1050,8 @@ export declare const ElSelect: {
|
|
|
1050
1050
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1051
1051
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1052
1052
|
"onEnd-reached"?: ((direction: import("../scrollbar").ScrollbarDirection) => any) | undefined;
|
|
1053
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1054
1053
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
1054
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1055
1055
|
"onPopup-scroll"?: ((args_0: {
|
|
1056
1056
|
scrollTop: number;
|
|
1057
1057
|
scrollLeft: number;
|
|
@@ -1252,18 +1252,18 @@ export declare const ElSelect: {
|
|
|
1252
1252
|
valueKey: string;
|
|
1253
1253
|
debounce: number;
|
|
1254
1254
|
fitInputWidth: boolean;
|
|
1255
|
-
filterable: boolean;
|
|
1256
|
-
collapseTags: boolean;
|
|
1257
|
-
maxCollapseTags: number;
|
|
1258
|
-
collapseTagsTooltip: boolean;
|
|
1259
|
-
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
1260
|
-
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
1261
1255
|
automaticDropdown: boolean;
|
|
1262
1256
|
tagTooltip: import("./select").TagTooltipProps;
|
|
1257
|
+
maxCollapseTags: number;
|
|
1263
1258
|
multipleLimit: number;
|
|
1264
1259
|
reserveKeyword: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1260
|
+
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
1261
|
+
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
1265
1262
|
allowCreate: boolean;
|
|
1263
|
+
collapseTags: boolean;
|
|
1264
|
+
collapseTagsTooltip: boolean;
|
|
1266
1265
|
defaultFirstOption: boolean;
|
|
1266
|
+
filterable: boolean;
|
|
1267
1267
|
remote: boolean;
|
|
1268
1268
|
remoteShowSuffix: boolean;
|
|
1269
1269
|
}>;
|
|
@@ -1366,8 +1366,8 @@ export declare const ElSelect: {
|
|
|
1366
1366
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1367
1367
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1368
1368
|
"onEnd-reached"?: ((direction: import("../scrollbar").ScrollbarDirection) => any) | undefined;
|
|
1369
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1370
1369
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
1370
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1371
1371
|
"onPopup-scroll"?: ((args_0: {
|
|
1372
1372
|
scrollTop: number;
|
|
1373
1373
|
scrollLeft: number;
|
|
@@ -1581,18 +1581,18 @@ export declare const ElSelect: {
|
|
|
1581
1581
|
valueKey: string;
|
|
1582
1582
|
debounce: number;
|
|
1583
1583
|
fitInputWidth: boolean;
|
|
1584
|
-
filterable: boolean;
|
|
1585
|
-
collapseTags: boolean;
|
|
1586
|
-
maxCollapseTags: number;
|
|
1587
|
-
collapseTagsTooltip: boolean;
|
|
1588
|
-
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
1589
|
-
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
1590
1584
|
automaticDropdown: boolean;
|
|
1591
1585
|
tagTooltip: import("./select").TagTooltipProps;
|
|
1586
|
+
maxCollapseTags: number;
|
|
1592
1587
|
multipleLimit: number;
|
|
1593
1588
|
reserveKeyword: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1589
|
+
tagType: import("../../utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
1590
|
+
tagEffect: import("../../utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
1594
1591
|
allowCreate: boolean;
|
|
1592
|
+
collapseTags: boolean;
|
|
1593
|
+
collapseTagsTooltip: boolean;
|
|
1595
1594
|
defaultFirstOption: boolean;
|
|
1595
|
+
filterable: boolean;
|
|
1596
1596
|
remote: boolean;
|
|
1597
1597
|
remoteShowSuffix: boolean;
|
|
1598
1598
|
}, {}, string, {}, {
|
|
@@ -368,8 +368,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
368
368
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
369
369
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
370
370
|
"onEnd-reached"?: ((direction: import("@element-plus/components/scrollbar").ScrollbarDirection) => any) | undefined;
|
|
371
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
372
371
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
372
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
373
373
|
"onPopup-scroll"?: ((args_0: {
|
|
374
374
|
scrollTop: number;
|
|
375
375
|
scrollLeft: number;
|
|
@@ -400,18 +400,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
400
400
|
valueKey: string;
|
|
401
401
|
debounce: number;
|
|
402
402
|
fitInputWidth: boolean;
|
|
403
|
-
filterable: boolean;
|
|
404
|
-
collapseTags: boolean;
|
|
405
|
-
maxCollapseTags: number;
|
|
406
|
-
collapseTagsTooltip: boolean;
|
|
407
|
-
tagType: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
408
|
-
tagEffect: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
409
403
|
automaticDropdown: boolean;
|
|
410
404
|
tagTooltip: import("./select").TagTooltipProps;
|
|
405
|
+
maxCollapseTags: number;
|
|
411
406
|
multipleLimit: number;
|
|
412
407
|
reserveKeyword: import("@element-plus/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
408
|
+
tagType: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
409
|
+
tagEffect: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
413
410
|
allowCreate: boolean;
|
|
411
|
+
collapseTags: boolean;
|
|
412
|
+
collapseTagsTooltip: boolean;
|
|
414
413
|
defaultFirstOption: boolean;
|
|
414
|
+
filterable: boolean;
|
|
415
415
|
remote: boolean;
|
|
416
416
|
remoteShowSuffix: boolean;
|
|
417
417
|
}, {}, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as V, getCurrentInstance as
|
|
1
|
+
import { defineComponent as V, getCurrentInstance as _, computed as E, reactive as C, toRefs as A, toRef as P, watch as k, provide as N, onBeforeUnmount as F } from "vue";
|
|
2
2
|
import j from "../../directives/click-outside/index.js";
|
|
3
|
-
import { isArray as
|
|
3
|
+
import { isArray as G, isObject as b } from "@vue/shared";
|
|
4
4
|
import "lodash-unified";
|
|
5
5
|
import "@vueuse/core";
|
|
6
6
|
import "@element-plus/icons-vue";
|
|
7
|
-
import { flattedChildren as
|
|
7
|
+
import { flattedChildren as B } from "../../utils/vue/vnode.js";
|
|
8
8
|
import "normalize-wheel-es";
|
|
9
9
|
import { EpTooltip as I } from "../tooltip/index.js";
|
|
10
10
|
import { EpScrollbar as K } from "../scrollbar/index.js";
|
|
@@ -48,7 +48,7 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
48
48
|
handler: le(o),
|
|
49
49
|
count: 0
|
|
50
50
|
}, m.set(o, r)), r;
|
|
51
|
-
},
|
|
51
|
+
}, Ne = V({
|
|
52
52
|
name: T,
|
|
53
53
|
componentName: T,
|
|
54
54
|
components: {
|
|
@@ -65,16 +65,16 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
65
65
|
props: re,
|
|
66
66
|
emits: oe,
|
|
67
67
|
setup(o, { emit: r, slots: l }) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = _(), d = ae(a.appContext);
|
|
69
69
|
d.count += 1, a.appContext.config.warnHandler = d.handler;
|
|
70
70
|
const p = E(() => {
|
|
71
71
|
const { modelValue: e, multiple: i } = o, n = i ? [] : void 0;
|
|
72
|
-
return
|
|
72
|
+
return G(e) ? i ? e : n : i ? n : e;
|
|
73
73
|
}), u = C({
|
|
74
|
-
...
|
|
74
|
+
...A(o),
|
|
75
75
|
modelValue: p
|
|
76
76
|
}), t = $(u, r), { floatLabelClass: L } = Q({
|
|
77
|
-
floatLabel:
|
|
77
|
+
floatLabel: P(o, "floatLabel"),
|
|
78
78
|
isFocused: t.isFocused,
|
|
79
79
|
hasValue: t.hasModelValue,
|
|
80
80
|
isDisabled: t.selectDisabled
|
|
@@ -85,7 +85,7 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
85
85
|
value: O(e),
|
|
86
86
|
disabled: g(e)
|
|
87
87
|
}), S = (e) => e.reduce((i, n) => (i.push(n), n.children && n.children.length > 0 && i.push(...S(n.children)), i), []), W = (e) => {
|
|
88
|
-
|
|
88
|
+
B(e || []).forEach((n) => {
|
|
89
89
|
var v;
|
|
90
90
|
const s = n.type.name;
|
|
91
91
|
if (b(n) && (s === "ElOption" || s === "ElTree" || s === "EpTree")) {
|
|
@@ -101,7 +101,7 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
|
-
|
|
104
|
+
k(
|
|
105
105
|
() => {
|
|
106
106
|
var e;
|
|
107
107
|
return [
|
|
@@ -116,7 +116,7 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
116
116
|
{
|
|
117
117
|
immediate: !0
|
|
118
118
|
}
|
|
119
|
-
),
|
|
119
|
+
), N(
|
|
120
120
|
ee,
|
|
121
121
|
C({
|
|
122
122
|
props: u,
|
|
@@ -150,5 +150,5 @@ const T = "EpSelect", m = /* @__PURE__ */ new WeakMap(), le = (o) => (...r) => {
|
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
export {
|
|
153
|
-
|
|
153
|
+
Ne as default
|
|
154
154
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import r from "./option2.vue.js";
|
|
2
|
-
import { withDirectives as s, openBlock as
|
|
2
|
+
import { withDirectives as s, openBlock as n, createElementBlock as l, mergeProps as t, toHandlerKey as d, withModifiers as a, renderSlot as p, createElementVNode as m, toDisplayString as u, vShow as f } from "vue";
|
|
3
3
|
import v from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const w = ["id", "aria-disabled", "aria-selected"];
|
|
5
|
-
function b(e, o, k, M, $,
|
|
6
|
-
return s((
|
|
5
|
+
function b(e, o, k, M, $, S) {
|
|
6
|
+
return s((n(), l("li", t({
|
|
7
7
|
id: e.id,
|
|
8
8
|
class: e.containerKls,
|
|
9
9
|
role: "option",
|
|
@@ -22,7 +22,7 @@ function b(e, o, k, M, $, E) {
|
|
|
22
22
|
[f, e.visible]
|
|
23
23
|
]);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const E = /* @__PURE__ */ v(r, [["render", b]]);
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
E as default
|
|
28
28
|
};
|
|
@@ -539,8 +539,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
539
539
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
540
540
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
541
541
|
"onEnd-reached"?: ((direction: import("../../scrollbar").ScrollbarDirection) => any) | undefined;
|
|
542
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
543
542
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
543
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
544
544
|
}>, {
|
|
545
545
|
readonly props: import("./useProps").Props;
|
|
546
546
|
readonly height: number;
|
|
@@ -568,21 +568,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
568
568
|
readonly valueKey: string;
|
|
569
569
|
readonly debounce: number;
|
|
570
570
|
readonly fitInputWidth: import("@element-plus/utils").EpPropMergeType<readonly [BooleanConstructor, NumberConstructor], unknown, number | boolean>;
|
|
571
|
-
readonly scrollbarAlwaysOn: boolean;
|
|
572
|
-
readonly filterable: boolean;
|
|
573
|
-
readonly collapseTags: boolean;
|
|
574
|
-
readonly maxCollapseTags: number;
|
|
575
|
-
readonly collapseTagsTooltip: boolean;
|
|
576
|
-
readonly tagType: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
577
|
-
readonly tagEffect: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
578
571
|
readonly automaticDropdown: boolean;
|
|
572
|
+
readonly scrollbarAlwaysOn: boolean;
|
|
579
573
|
readonly tagTooltip: import("./defaults").TagTooltipProps;
|
|
574
|
+
readonly maxCollapseTags: number;
|
|
580
575
|
readonly estimatedOptionHeight: number;
|
|
581
576
|
readonly itemHeight: number;
|
|
582
577
|
readonly multipleLimit: number;
|
|
583
578
|
readonly reserveKeyword: import("@element-plus/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
579
|
+
readonly tagType: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger") | (((new (...args: any[]) => "primary" | "success" | "warning" | "info" | "danger") | (() => "primary" | "success" | "warning" | "info" | "danger")) | null)[], "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
580
|
+
readonly tagEffect: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain") | (((new (...args: any[]) => "dark" | "light" | "plain") | (() => "dark" | "light" | "plain")) | null)[], "dark" | "light" | "plain", unknown>;
|
|
584
581
|
readonly allowCreate: boolean;
|
|
582
|
+
readonly collapseTags: boolean;
|
|
583
|
+
readonly collapseTagsTooltip: boolean;
|
|
585
584
|
readonly defaultFirstOption: boolean;
|
|
585
|
+
readonly filterable: boolean;
|
|
586
586
|
readonly remote: boolean;
|
|
587
587
|
readonly remoteShowSuffix: boolean;
|
|
588
588
|
}, {}, {
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import _EpSpace from './space';
|
|
3
|
+
/**
|
|
4
|
+
* space 自持 barrel(vendor-batch-5 产出)。
|
|
5
|
+
*
|
|
6
|
+
* 本体保持 `.ts` 渲染式组件形态(上游无 SFC),内部子项与间距计算
|
|
7
|
+
* 随本体落到本地。按上游契约导出 `spaceItemProps` / `useSpace`;
|
|
8
|
+
* 内部子项组件不对外公开。不导出 `ElSpace` 别名。
|
|
9
|
+
*/
|
|
10
|
+
export declare const EpSpace: typeof _EpSpace & Plugin;
|
|
4
11
|
export default EpSpace;
|
|
12
|
+
export { spaceItemProps } from './item';
|
|
13
|
+
export { spaceProps } from './space';
|
|
14
|
+
export { useSpace } from './use-space';
|
|
15
|
+
export type { SpaceItemProps, SpaceItemPropsPublic, } from './item';
|
|
16
|
+
export type { SpaceProps, SpacePropsPublic } from './space';
|
|
17
|
+
export type { SpaceInstance } from './instance';
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { withInstall as p } from "../../utils/with-install.js";
|
|
2
|
+
import o from "./space.js";
|
|
3
|
+
import { spaceProps as E } from "./space.js";
|
|
4
|
+
import { spaceItemProps as d } from "./item.js";
|
|
5
|
+
import "vue";
|
|
6
|
+
import "@vue/shared";
|
|
7
|
+
import "lodash-unified";
|
|
8
|
+
import "@vueuse/core";
|
|
9
|
+
import "@element-plus/icons-vue";
|
|
10
|
+
import "../../hooks/use-size/index.js";
|
|
11
|
+
import "@popperjs/core";
|
|
12
|
+
import "../../hooks/use-z-index/index.js";
|
|
13
|
+
import "../../hooks/use-delayed-toggle/index.js";
|
|
14
|
+
import "../../hooks/use-aria/index.js";
|
|
15
|
+
import "../../hooks/use-model-toggle/index.js";
|
|
16
|
+
import "../../hooks/use-empty-values/index.js";
|
|
17
|
+
const S = p(
|
|
18
|
+
o,
|
|
19
|
+
"ep-space"
|
|
20
|
+
);
|
|
4
21
|
export {
|
|
5
|
-
|
|
22
|
+
S as EpSpace,
|
|
23
|
+
d as spaceItemProps,
|
|
24
|
+
E as spaceProps
|
|
6
25
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
export declare const spaceItemProps: {
|
|
3
|
+
readonly prefixCls: {
|
|
4
|
+
readonly type: import("vue").PropType<string>;
|
|
5
|
+
readonly required: false;
|
|
6
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7
|
+
__epPropKey: true;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type SpaceItemProps = ExtractPropTypes<typeof spaceItemProps>;
|
|
11
|
+
export type SpaceItemPropsPublic = ExtractPublicPropTypes<typeof spaceItemProps>;
|
|
12
|
+
declare const SpaceItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
13
|
+
readonly prefixCls: {
|
|
14
|
+
readonly type: import("vue").PropType<string>;
|
|
15
|
+
readonly required: false;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
|
+
__epPropKey: true;
|
|
18
|
+
};
|
|
19
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
22
|
+
readonly prefixCls: {
|
|
23
|
+
readonly type: import("vue").PropType<string>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default SpaceItem;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as r, computed as m, h as i, renderSlot as s } from "vue";
|
|
2
|
+
import "@vue/shared";
|
|
3
|
+
import "lodash-unified";
|
|
4
|
+
import "@vueuse/core";
|
|
5
|
+
import "@element-plus/icons-vue";
|
|
6
|
+
import { buildProps as a } from "../../utils/vue/props/runtime.js";
|
|
7
|
+
import { useNamespace as c } from "../../hooks/use-namespace/index.js";
|
|
8
|
+
import "../../hooks/use-size/index.js";
|
|
9
|
+
import "@popperjs/core";
|
|
10
|
+
import "../../hooks/use-z-index/index.js";
|
|
11
|
+
import "../../hooks/use-delayed-toggle/index.js";
|
|
12
|
+
import "../../hooks/use-aria/index.js";
|
|
13
|
+
import "../../hooks/use-model-toggle/index.js";
|
|
14
|
+
import "../../hooks/use-empty-values/index.js";
|
|
15
|
+
const n = a({
|
|
16
|
+
prefixCls: {
|
|
17
|
+
type: String
|
|
18
|
+
}
|
|
19
|
+
}), y = r({
|
|
20
|
+
name: "EpSpaceItem",
|
|
21
|
+
props: n,
|
|
22
|
+
setup(t, { slots: p }) {
|
|
23
|
+
const o = c("space"), e = m(() => `${t.prefixCls || o.b()}__item`);
|
|
24
|
+
return () => i("div", { class: e.value }, s(p, "default"));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
y as default,
|
|
29
|
+
n as spaceItemProps
|
|
30
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { ExtractPropTypes, ExtractPublicPropTypes, StyleValue, VNode, VNodeChild } from 'vue';
|
|
2
|
+
import type { Arrayable } from '@element-plus/utils';
|
|
3
|
+
export declare const spaceProps: {
|
|
4
|
+
readonly direction: import("@element-plus/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
5
|
+
readonly class: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
6
|
+
readonly style: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
7
|
+
readonly alignment: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
8
|
+
readonly prefixCls: {
|
|
9
|
+
readonly type: import("vue").PropType<string>;
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
};
|
|
14
|
+
readonly spacer: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, null, boolean>;
|
|
17
|
+
readonly wrap: BooleanConstructor;
|
|
18
|
+
readonly fill: BooleanConstructor;
|
|
19
|
+
readonly fillRatio: import("@element-plus/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
20
|
+
readonly size: {
|
|
21
|
+
readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "small" | "default" | "large", number | [number, number]>>;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
+
__epPropKey: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
28
|
+
export type SpacePropsPublic = ExtractPublicPropTypes<typeof spaceProps>;
|
|
29
|
+
declare const Space: import("vue").DefineComponent<ExtractPropTypes<{
|
|
30
|
+
readonly direction: import("@element-plus/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
31
|
+
readonly class: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
32
|
+
readonly style: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
33
|
+
readonly alignment: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
34
|
+
readonly prefixCls: {
|
|
35
|
+
readonly type: import("vue").PropType<string>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
};
|
|
40
|
+
readonly spacer: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, null, boolean>;
|
|
43
|
+
readonly wrap: BooleanConstructor;
|
|
44
|
+
readonly fill: BooleanConstructor;
|
|
45
|
+
readonly fillRatio: import("@element-plus/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
46
|
+
readonly size: {
|
|
47
|
+
readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "small" | "default" | "large", number | [number, number]>>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
};
|
|
52
|
+
}>, () => string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}> | {
|
|
55
|
+
[name: string]: unknown;
|
|
56
|
+
$stable?: boolean;
|
|
57
|
+
} | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
58
|
+
readonly direction: import("@element-plus/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
59
|
+
readonly class: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
60
|
+
readonly style: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
61
|
+
readonly alignment: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
62
|
+
readonly prefixCls: {
|
|
63
|
+
readonly type: import("vue").PropType<string>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
readonly spacer: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>, null, boolean>;
|
|
71
|
+
readonly wrap: BooleanConstructor;
|
|
72
|
+
readonly fill: BooleanConstructor;
|
|
73
|
+
readonly fillRatio: import("@element-plus/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
74
|
+
readonly size: {
|
|
75
|
+
readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "small" | "default" | "large", number | [number, number]>>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {
|
|
81
|
+
readonly fill: boolean;
|
|
82
|
+
readonly style: StyleValue;
|
|
83
|
+
readonly direction: import("@element-plus/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
84
|
+
readonly wrap: boolean;
|
|
85
|
+
readonly spacer: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}>>;
|
|
88
|
+
readonly class: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
89
|
+
readonly alignment: import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => import("csstype").Property.AlignItems | undefined)) | null)[], unknown, unknown>;
|
|
90
|
+
readonly fillRatio: number;
|
|
91
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
export default Space;
|