@aifuxi/semi-ui-vue 0.1.0-alpha.0
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 +21 -0
- package/README.md +22 -0
- package/dist/Button-RCaDTqHh.js +249 -0
- package/dist/Collapsible-DeV0aJ4n.js +199 -0
- package/dist/Cropper-Dy1LPBDN.js +587 -0
- package/dist/Divider-BQmwhGfH.js +57 -0
- package/dist/Input-BYWFIgNn.js +593 -0
- package/dist/InputNumber-BaeViVtG.js +856 -0
- package/dist/Modal-BhmFYVFw.js +975 -0
- package/dist/Pagination-4JvS-gHR.js +572 -0
- package/dist/Progress-BulSV_JR.js +523 -0
- package/dist/SBOM.spdx.json +165 -0
- package/dist/SelectOption-Ce-Lst-e.js +1473 -0
- package/dist/Slider-w9sbxzBw.js +707 -0
- package/dist/Spin-CuFLkqev.js +222 -0
- package/dist/THIRD_PARTY_LICENSES/Semi-Design.txt +83 -0
- package/dist/THIRD_PARTY_LICENSES/async-validator.txt +9 -0
- package/dist/THIRD_PARTY_LICENSES/bezier-easing.txt +22 -0
- package/dist/THIRD_PARTY_LICENSES/date-fns-tz.txt +21 -0
- package/dist/THIRD_PARTY_LICENSES/date-fns.txt +21 -0
- package/dist/THIRD_PARTY_LICENSES/lodash.txt +47 -0
- package/dist/THIRD_PARTY_LICENSES/scroll-into-view-if-needed.txt +21 -0
- package/dist/THIRD_PARTY_NOTICES.md +23 -0
- package/dist/Tooltip-Bq7HZwnS.js +1321 -0
- package/dist/Tree-tqy5xBYJ.js +1275 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/anchor/Anchor.vue.d.ts +29 -0
- package/dist/anchor/AnchorLink.vue.d.ts +16 -0
- package/dist/anchor/AnchorNodeRenderer.d.ts +15 -0
- package/dist/anchor/anchor-context.d.ts +18 -0
- package/dist/anchor/index.d.ts +11 -0
- package/dist/anchor/index.js +2 -0
- package/dist/anchor/types.d.ts +43 -0
- package/dist/anchor-DW0p2t-I.js +503 -0
- package/dist/arrayMove-ByVCXfhS.js +7 -0
- package/dist/auto-complete/AutoComplete.vue.d.ts +33 -0
- package/dist/auto-complete/AutoCompleteNodeRenderer.d.ts +15 -0
- package/dist/auto-complete/AutoCompleteOption.vue.d.ts +19 -0
- package/dist/auto-complete/index.d.ts +10 -0
- package/dist/auto-complete/index.js +2 -0
- package/dist/auto-complete/types.d.ts +117 -0
- package/dist/auto-complete/use-auto-complete-foundation.d.ts +40 -0
- package/dist/auto-complete-BeahBlt9.js +765 -0
- package/dist/avatar/Avatar.vue.d.ts +26 -0
- package/dist/avatar/AvatarGroup.d.ts +54 -0
- package/dist/avatar/AvatarNodeRenderer.d.ts +15 -0
- package/dist/avatar/TopSlotSvg.vue.d.ts +7 -0
- package/dist/avatar/index.d.ts +10 -0
- package/dist/avatar/index.js +2 -0
- package/dist/avatar/types.d.ts +86 -0
- package/dist/avatar-B00xjEzD.js +551 -0
- package/dist/back-top/BackTop.vue.d.ts +19 -0
- package/dist/back-top/index.d.ts +3 -0
- package/dist/back-top/index.js +2 -0
- package/dist/back-top/types.d.ts +15 -0
- package/dist/back-top-C2XqUzoN.js +123 -0
- package/dist/badge/Badge.vue.d.ts +23 -0
- package/dist/badge/BadgeNodeRenderer.d.ts +15 -0
- package/dist/badge/index.d.ts +6 -0
- package/dist/badge/index.js +2 -0
- package/dist/badge/types.d.ts +29 -0
- package/dist/badge-gWsDkzyt.js +120 -0
- package/dist/banner/Banner.vue.d.ts +19 -0
- package/dist/banner/BannerNodeRenderer.d.ts +15 -0
- package/dist/banner/index.d.ts +6 -0
- package/dist/banner/index.js +2 -0
- package/dist/banner/types.d.ts +25 -0
- package/dist/banner-B3O4uDoR.js +220 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +129 -0
- package/dist/breadcrumb/BreadcrumbIconRenderer.d.ts +23 -0
- package/dist/breadcrumb/BreadcrumbItem.vue.d.ts +19 -0
- package/dist/breadcrumb/BreadcrumbNodeRenderer.d.ts +15 -0
- package/dist/breadcrumb/BreadcrumbPopover.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbPopoverArrow.vue.d.ts +3 -0
- package/dist/breadcrumb/breadcrumb-context.d.ts +9 -0
- package/dist/breadcrumb/index.d.ts +11 -0
- package/dist/breadcrumb/index.js +2 -0
- package/dist/breadcrumb/types.d.ts +72 -0
- package/dist/breadcrumb-BmBbFmGK.js +451 -0
- package/dist/button/Button.vue.d.ts +34 -0
- package/dist/button/ButtonAiLoadingIcon.vue.d.ts +3 -0
- package/dist/button/ButtonGroup.d.ts +69 -0
- package/dist/button/ButtonIconRenderer.d.ts +28 -0
- package/dist/button/ButtonLoadingIcon.vue.d.ts +3 -0
- package/dist/button/SplitButtonGroup.vue.d.ts +16 -0
- package/dist/button/index.d.ts +5 -0
- package/dist/button/index.js +3 -0
- package/dist/button/types.d.ts +57 -0
- package/dist/button-Rcn5pYGh.js +134 -0
- package/dist/calendar/Calendar.vue.d.ts +29 -0
- package/dist/calendar/CalendarDay.vue.d.ts +3 -0
- package/dist/calendar/CalendarMonth.vue.d.ts +3 -0
- package/dist/calendar/CalendarNodeRenderer.d.ts +15 -0
- package/dist/calendar/CalendarTimeColumn.vue.d.ts +6 -0
- package/dist/calendar/CalendarWeek.vue.d.ts +8 -0
- package/dist/calendar/index.d.ts +6 -0
- package/dist/calendar/index.js +2 -0
- package/dist/calendar/types.d.ts +67 -0
- package/dist/calendar-CJTrr4y5.js +1172 -0
- package/dist/card/Card.vue.d.ts +16 -0
- package/dist/card/CardGroup.vue.d.ts +13 -0
- package/dist/card/CardMeta.vue.d.ts +11 -0
- package/dist/card/CardNodeRenderer.d.ts +15 -0
- package/dist/card/CardSkeleton.vue.d.ts +3 -0
- package/dist/card/card-content.d.ts +2 -0
- package/dist/card/index.d.ts +11 -0
- package/dist/card/index.js +2 -0
- package/dist/card/types.d.ts +56 -0
- package/dist/card-DwMOFi6_.js +348 -0
- package/dist/carousel/Carousel.vue.d.ts +29 -0
- package/dist/carousel/CarouselArrow.vue.d.ts +15 -0
- package/dist/carousel/CarouselIndicator.vue.d.ts +17 -0
- package/dist/carousel/CarouselItemRenderer.d.ts +34 -0
- package/dist/carousel/CarouselNodeRenderer.d.ts +15 -0
- package/dist/carousel/index.d.ts +6 -0
- package/dist/carousel/index.js +2 -0
- package/dist/carousel/types.d.ts +70 -0
- package/dist/carousel/use-carousel-foundation.d.ts +19 -0
- package/dist/carousel-B4WlIRJH.js +458 -0
- package/dist/cascader/Cascader.vue.d.ts +71 -0
- package/dist/cascader/CascaderNodeRenderer.d.ts +15 -0
- package/dist/cascader/CascaderPanel.vue.d.ts +36 -0
- package/dist/cascader/index.d.ts +6 -0
- package/dist/cascader/index.js +2 -0
- package/dist/cascader/types.d.ts +192 -0
- package/dist/cascader-Ch6clCeh.js +1525 -0
- package/dist/checkbox/Checkbox.vue.d.ts +19 -0
- package/dist/checkbox/CheckboxGroup.d.ts +161 -0
- package/dist/checkbox/CheckboxNodeRenderer.d.ts +15 -0
- package/dist/checkbox/checkbox-context.d.ts +11 -0
- package/dist/checkbox/index.d.ts +10 -0
- package/dist/checkbox/index.js +2 -0
- package/dist/checkbox/types.d.ts +92 -0
- package/dist/checkbox-mJD1ou6k.js +479 -0
- package/dist/collapse/Collapse.vue.d.ts +140 -0
- package/dist/collapse/CollapseNodeRenderer.d.ts +15 -0
- package/dist/collapse/CollapsePanel.vue.d.ts +99 -0
- package/dist/collapse/collapse-context.d.ts +14 -0
- package/dist/collapse/index.d.ts +10 -0
- package/dist/collapse/index.js +2 -0
- package/dist/collapse/types.d.ts +50 -0
- package/dist/collapse-7YtQLWqt.js +278 -0
- package/dist/collapsible/Collapsible.vue.d.ts +136 -0
- package/dist/collapsible/index.d.ts +5 -0
- package/dist/collapsible/index.js +5 -0
- package/dist/collapsible/types.d.ts +28 -0
- package/dist/color-picker/AlphaSlider.vue.d.ts +14 -0
- package/dist/color-picker/ColorChooseArea.vue.d.ts +20 -0
- package/dist/color-picker/ColorDataPart.vue.d.ts +15 -0
- package/dist/color-picker/ColorPicker.vue.d.ts +28 -0
- package/dist/color-picker/ColorPickerNodeRenderer.d.ts +17 -0
- package/dist/color-picker/ColorPickerPanel.vue.d.ts +37 -0
- package/dist/color-picker/ColorSlider.vue.d.ts +13 -0
- package/dist/color-picker/index.d.ts +10 -0
- package/dist/color-picker/index.js +2 -0
- package/dist/color-picker/types.d.ts +67 -0
- package/dist/color-picker-ChC7qsx0.js +885 -0
- package/dist/config-context-CyynTtDb.js +4 -0
- package/dist/config-provider/ConfigConsumer.vue.d.ts +11 -0
- package/dist/config-provider/ConfigProvider.vue.d.ts +16 -0
- package/dist/config-provider/config-context.d.ts +3 -0
- package/dist/config-provider/constants.d.ts +4 -0
- package/dist/config-provider/index.d.ts +13 -0
- package/dist/config-provider/index.js +3 -0
- package/dist/config-provider/semi-global.d.ts +6 -0
- package/dist/config-provider/types.d.ts +74 -0
- package/dist/config-provider/use-responsive-observe.d.ts +6 -0
- package/dist/config-provider-VMfNNSF1.js +188 -0
- package/dist/constants-BF9bZJyc.js +45 -0
- package/dist/constants-BNwzO87W.js +9 -0
- package/dist/cropper/Cropper.vue.d.ts +18 -0
- package/dist/cropper/index.d.ts +4 -0
- package/dist/cropper/index.js +5 -0
- package/dist/cropper/types.d.ts +51 -0
- package/dist/date-picker/DatePicker.vue.d.ts +41 -0
- package/dist/date-picker/DatePickerMonth.vue.d.ts +25 -0
- package/dist/date-picker/DatePickerNodeRenderer.d.ts +17 -0
- package/dist/date-picker/DatePickerPanel.vue.d.ts +33 -0
- package/dist/date-picker/index.d.ts +5 -0
- package/dist/date-picker/index.js +2 -0
- package/dist/date-picker/types.d.ts +211 -0
- package/dist/date-picker-B2lhlKHD.js +2207 -0
- package/dist/descriptions/Descriptions.vue.d.ts +96 -0
- package/dist/descriptions/DescriptionsItem.vue.d.ts +96 -0
- package/dist/descriptions/DescriptionsNodeRenderer.d.ts +15 -0
- package/dist/descriptions/descriptions-context.d.ts +7 -0
- package/dist/descriptions/index.d.ts +10 -0
- package/dist/descriptions/index.js +2 -0
- package/dist/descriptions/types.d.ts +45 -0
- package/dist/descriptions-BU6ahbge.js +272 -0
- package/dist/divider/Divider.vue.d.ts +15 -0
- package/dist/divider/DividerContentRenderer.d.ts +17 -0
- package/dist/divider/index.d.ts +3 -0
- package/dist/divider/index.js +3 -0
- package/dist/divider/types.d.ts +13 -0
- package/dist/divider-DA9U4uOl.js +8 -0
- package/dist/dropdown/Dropdown.vue.d.ts +23 -0
- package/dist/dropdown/DropdownDivider.vue.d.ts +4 -0
- package/dist/dropdown/DropdownItem.vue.d.ts +28 -0
- package/dist/dropdown/DropdownMenu.vue.d.ts +11 -0
- package/dist/dropdown/DropdownNodeRenderer.d.ts +15 -0
- package/dist/dropdown/DropdownTitle.vue.d.ts +11 -0
- package/dist/dropdown/DropdownTriggerRenderer.d.ts +45 -0
- package/dist/dropdown/dropdown-context.d.ts +8 -0
- package/dist/dropdown/index.d.ts +17 -0
- package/dist/dropdown/index.js +2 -0
- package/dist/dropdown/types.d.ts +98 -0
- package/dist/dropdown-D0-UWd65.js +665 -0
- package/dist/empty/Empty.vue.d.ts +13 -0
- package/dist/empty/EmptyNodeRenderer.d.ts +15 -0
- package/dist/empty/index.d.ts +6 -0
- package/dist/empty/index.js +2 -0
- package/dist/empty/types.d.ts +27 -0
- package/dist/empty-Bpms8Z5w.js +152 -0
- package/dist/env-BeIzjQx7.js +4 -0
- package/dist/es-CAWQuPuV.js +93 -0
- package/dist/float-button/FloatButton.vue.d.ts +20 -0
- package/dist/float-button/FloatButtonBadge.vue.d.ts +18 -0
- package/dist/float-button/FloatButtonGroup.vue.d.ts +17 -0
- package/dist/float-button/FloatButtonNodeRenderer.d.ts +17 -0
- package/dist/float-button/index.d.ts +4 -0
- package/dist/float-button/index.js +2 -0
- package/dist/float-button/types.d.ts +59 -0
- package/dist/float-button-qU3b0WBX.js +190 -0
- package/dist/form/ArrayField.d.ts +24 -0
- package/dist/form/Form.vue.d.ts +38 -0
- package/dist/form/FormErrorMessage.vue.d.ts +4 -0
- package/dist/form/FormField.d.ts +9 -0
- package/dist/form/FormInputGroup.d.ts +62 -0
- package/dist/form/FormLabel.vue.d.ts +18 -0
- package/dist/form/FormNodeRenderer.d.ts +15 -0
- package/dist/form/FormSection.vue.d.ts +16 -0
- package/dist/form/FormSlot.d.ts +3 -0
- package/dist/form/form-context.d.ts +4 -0
- package/dist/form/index.d.ts +68 -0
- package/dist/form/index.js +3 -0
- package/dist/form/internal-types.d.ts +67 -0
- package/dist/form/types.d.ts +273 -0
- package/dist/form/use-form.d.ts +11 -0
- package/dist/form/with-form.d.ts +3 -0
- package/dist/form-CLhGuORQ.js +2030 -0
- package/dist/foundation-Cawx37mp.js +1819 -0
- package/dist/grid/Col.vue.d.ts +13 -0
- package/dist/grid/Row.vue.d.ts +14 -0
- package/dist/grid/grid-context.d.ts +6 -0
- package/dist/grid/index.d.ts +5 -0
- package/dist/grid/index.js +2 -0
- package/dist/grid/media-query.d.ts +2 -0
- package/dist/grid/types.d.ts +44 -0
- package/dist/grid-Cn2uBhRd.js +161 -0
- package/dist/highlight/Highlight.vue.d.ts +10 -0
- package/dist/highlight/HighlightNodeRenderer.d.ts +49 -0
- package/dist/highlight/index.d.ts +4 -0
- package/dist/highlight/index.js +2 -0
- package/dist/highlight/internal-types.d.ts +8 -0
- package/dist/highlight/types.d.ts +17 -0
- package/dist/highlight-DHX3RV0C.js +158 -0
- package/dist/icon/index.d.ts +2 -0
- package/dist/icon/index.js +2 -0
- package/dist/image/Image.vue.d.ts +21 -0
- package/dist/image/ImageNodeRenderer.d.ts +15 -0
- package/dist/image/ImagePreview.vue.d.ts +56 -0
- package/dist/image/ImagePreviewFooter.vue.d.ts +38 -0
- package/dist/image/ImagePreviewHeader.vue.d.ts +17 -0
- package/dist/image/ImagePreviewImage.vue.d.ts +27 -0
- package/dist/image/ImagePreviewInner.vue.d.ts +54 -0
- package/dist/image/image-context.d.ts +14 -0
- package/dist/image/index.d.ts +6 -0
- package/dist/image/index.js +2 -0
- package/dist/image/types.d.ts +183 -0
- package/dist/image-C-ifCh_9.js +1615 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.js +75 -0
- package/dist/input/Input.vue.d.ts +58 -0
- package/dist/input/InputGroup.d.ts +69 -0
- package/dist/input/InputNodeRenderer.d.ts +15 -0
- package/dist/input/TextArea.vue.d.ts +50 -0
- package/dist/input/index.d.ts +11 -0
- package/dist/input/index.js +2 -0
- package/dist/input/types.d.ts +168 -0
- package/dist/input-number/InputNumber.vue.d.ts +52 -0
- package/dist/input-number/index.d.ts +10 -0
- package/dist/input-number/index.js +5 -0
- package/dist/input-number/types.d.ts +56 -0
- package/dist/input-wf0nZCRS.js +747 -0
- package/dist/isBefore-BG1hiM9f.js +37 -0
- package/dist/isElement-Cx0AsIov.js +11 -0
- package/dist/isEnterPress-HTy0eCBp.js +8 -0
- package/dist/isNullOrUndefined-Cg6MZ8r3.js +6 -0
- package/dist/isPromise-D2v3Ejff.js +11 -0
- package/dist/keyCode-DMNg63wX.js +110 -0
- package/dist/layout/Layout.vue.d.ts +14 -0
- package/dist/layout/LayoutContent.vue.d.ts +14 -0
- package/dist/layout/LayoutFooter.vue.d.ts +14 -0
- package/dist/layout/LayoutHeader.vue.d.ts +14 -0
- package/dist/layout/LayoutSection.vue.d.ts +17 -0
- package/dist/layout/LayoutSider.vue.d.ts +18 -0
- package/dist/layout/index.d.ts +17 -0
- package/dist/layout/index.js +2 -0
- package/dist/layout/layout-context.d.ts +6 -0
- package/dist/layout/media-query.d.ts +4 -0
- package/dist/layout/types.d.ts +31 -0
- package/dist/layout-tq-_l_O3.js +171 -0
- package/dist/list/List.vue.d.ts +22 -0
- package/dist/list/ListItem.vue.d.ts +88 -0
- package/dist/list/ListNodeRenderer.d.ts +15 -0
- package/dist/list/ListSpin.vue.d.ts +16 -0
- package/dist/list/index.d.ts +10 -0
- package/dist/list/index.js +2 -0
- package/dist/list/list-context.d.ts +8 -0
- package/dist/list/types.d.ts +66 -0
- package/dist/list-DHIOE2Y-.js +387 -0
- package/dist/modal/ConfirmModal.vue.d.ts +14 -0
- package/dist/modal/Modal.vue.d.ts +15 -0
- package/dist/modal/ModalDefaultFooter.vue.d.ts +22 -0
- package/dist/modal/ModalDialog.vue.d.ts +53 -0
- package/dist/modal/ModalInnerContent.vue.d.ts +38 -0
- package/dist/modal/ModalNodeRenderer.d.ts +15 -0
- package/dist/modal/imperative.d.ts +9 -0
- package/dist/modal/index.d.ts +8 -0
- package/dist/modal/index.js +2 -0
- package/dist/modal/types.d.ts +92 -0
- package/dist/modal/use-modal.d.ts +2 -0
- package/dist/modal-YVolL7Hz.js +221 -0
- package/dist/navigation/CollapseButton.vue.d.ts +12 -0
- package/dist/navigation/NavFooter.vue.d.ts +15 -0
- package/dist/navigation/NavHeader.vue.d.ts +13 -0
- package/dist/navigation/NavItem.d.ts +177 -0
- package/dist/navigation/Navigation.vue.d.ts +29 -0
- package/dist/navigation/NavigationContextProvider.d.ts +16 -0
- package/dist/navigation/NavigationIconRenderer.d.ts +45 -0
- package/dist/navigation/NavigationItemTree.vue.d.ts +8 -0
- package/dist/navigation/NavigationNodeRenderer.d.ts +18 -0
- package/dist/navigation/SubNav.vue.d.ts +18 -0
- package/dist/navigation/index.d.ts +14 -0
- package/dist/navigation/index.js +2 -0
- package/dist/navigation/navigation-context.d.ts +35 -0
- package/dist/navigation/types.d.ts +177 -0
- package/dist/navigation-DF8R5jFK.js +1479 -0
- package/dist/notification/NotificationHost.vue.d.ts +7 -0
- package/dist/notification/NotificationNodeRenderer.d.ts +15 -0
- package/dist/notification/NotificationNotice.vue.d.ts +16 -0
- package/dist/notification/imperative.d.ts +12 -0
- package/dist/notification/index.d.ts +6 -0
- package/dist/notification/index.js +2 -0
- package/dist/notification/notification-store.d.ts +24 -0
- package/dist/notification/types.d.ts +63 -0
- package/dist/notification/use-notification.d.ts +2 -0
- package/dist/notification-DIsvgiIO.js +445 -0
- package/dist/overflow-list/OverflowList.vue.d.ts +131 -0
- package/dist/overflow-list/OverflowListNodeRenderer.d.ts +35 -0
- package/dist/overflow-list/index.d.ts +5 -0
- package/dist/overflow-list/index.js +2 -0
- package/dist/overflow-list/types.d.ts +35 -0
- package/dist/overflow-list-Df6ixrtB.js +413 -0
- package/dist/pagination/Pagination.vue.d.ts +25 -0
- package/dist/pagination/PaginationNodeRenderer.d.ts +15 -0
- package/dist/pagination/PaginationPopover.vue.d.ts +25 -0
- package/dist/pagination/PaginationRestList.vue.d.ts +11 -0
- package/dist/pagination/index.d.ts +3 -0
- package/dist/pagination/index.js +2 -0
- package/dist/pagination/types.d.ts +46 -0
- package/dist/pin-code/PinCode.vue.d.ts +20 -0
- package/dist/pin-code/index.d.ts +10 -0
- package/dist/pin-code/index.js +2 -0
- package/dist/pin-code/types.d.ts +25 -0
- package/dist/pin-code-wY5g0KLD.js +193 -0
- package/dist/popconfirm/Popconfirm.vue.d.ts +25 -0
- package/dist/popconfirm/PopconfirmNodeRenderer.d.ts +15 -0
- package/dist/popconfirm/index.d.ts +4 -0
- package/dist/popconfirm/index.js +2 -0
- package/dist/popconfirm/types.d.ts +57 -0
- package/dist/popconfirm-DQUtvI0A.js +389 -0
- package/dist/popover/Popover.vue.d.ts +23 -0
- package/dist/popover/PopoverArrow.vue.d.ts +10 -0
- package/dist/popover/index.d.ts +4 -0
- package/dist/popover/index.js +2 -0
- package/dist/popover/types.d.ts +35 -0
- package/dist/popover-hD77YpUM.js +292 -0
- package/dist/progress/Progress.vue.d.ts +24 -0
- package/dist/progress/ProgressCircle.vue.d.ts +26 -0
- package/dist/progress/ProgressLine.vue.d.ts +23 -0
- package/dist/progress/ProgressNodeRenderer.d.ts +15 -0
- package/dist/progress/index.d.ts +6 -0
- package/dist/progress/index.js +2 -0
- package/dist/progress/types.d.ts +44 -0
- package/dist/progress-DIIyWKKD.js +9 -0
- package/dist/radio/Radio.vue.d.ts +30 -0
- package/dist/radio/RadioGroup.d.ts +201 -0
- package/dist/radio/RadioNodeRenderer.d.ts +15 -0
- package/dist/radio/index.d.ts +10 -0
- package/dist/radio/index.js +2 -0
- package/dist/radio/radio-context.d.ts +15 -0
- package/dist/radio/types.d.ts +100 -0
- package/dist/radio-y9iAI359.js +565 -0
- package/dist/rating/Rating.vue.d.ts +39 -0
- package/dist/rating/RatingItem.vue.d.ts +33 -0
- package/dist/rating/RatingNodeRenderer.d.ts +17 -0
- package/dist/rating/index.d.ts +6 -0
- package/dist/rating/index.js +2 -0
- package/dist/rating/types.d.ts +57 -0
- package/dist/rating-CJkb4pkD.js +542 -0
- package/dist/resizable/Resizable.vue.d.ts +31 -0
- package/dist/resizable/ResizableNodeRenderer.d.ts +17 -0
- package/dist/resizable/ResizeGroup.vue.d.ts +13 -0
- package/dist/resizable/ResizeHandler.vue.d.ts +11 -0
- package/dist/resizable/ResizeItem.vue.d.ts +19 -0
- package/dist/resizable/SingleResizeHandle.vue.d.ts +21 -0
- package/dist/resizable/index.d.ts +6 -0
- package/dist/resizable/index.js +2 -0
- package/dist/resizable/resizable-context.d.ts +27 -0
- package/dist/resizable/types.d.ts +87 -0
- package/dist/resizable/use-resize-group.d.ts +21 -0
- package/dist/resizable/use-single-resize.d.ts +30 -0
- package/dist/resizable-CEB0ZdGT.js +814 -0
- package/dist/scroll-list/ScrollItem.vue.d.ts +21 -0
- package/dist/scroll-list/ScrollList.vue.d.ts +11 -0
- package/dist/scroll-list/ScrollListNodeRenderer.d.ts +15 -0
- package/dist/scroll-list/index.d.ts +10 -0
- package/dist/scroll-list/index.js +2 -0
- package/dist/scroll-list/types.d.ts +54 -0
- package/dist/scroll-list-BSXksNOR.js +466 -0
- package/dist/select/Select.vue.d.ts +39 -0
- package/dist/select/SelectFragment.d.ts +4 -0
- package/dist/select/SelectNodeRenderer.d.ts +15 -0
- package/dist/select/SelectOption.vue.d.ts +13 -0
- package/dist/select/SelectOptionCollector.d.ts +13 -0
- package/dist/select/SelectOptionGroup.vue.d.ts +14 -0
- package/dist/select/index.d.ts +12 -0
- package/dist/select/index.js +3 -0
- package/dist/select/types.d.ts +165 -0
- package/dist/select/use-select-foundation.d.ts +64 -0
- package/dist/select-BeM6gxAU.js +40 -0
- package/dist/side-sheet/SideSheet.vue.d.ts +19 -0
- package/dist/side-sheet/SideSheetContent.vue.d.ts +37 -0
- package/dist/side-sheet/SideSheetNodeRenderer.d.ts +15 -0
- package/dist/side-sheet/index.d.ts +4 -0
- package/dist/side-sheet/index.js +2 -0
- package/dist/side-sheet/types.d.ts +46 -0
- package/dist/side-sheet-9CBTk23r.js +542 -0
- package/dist/skeleton/Skeleton.vue.d.ts +15 -0
- package/dist/skeleton/SkeletonAvatar.vue.d.ts +9 -0
- package/dist/skeleton/SkeletonButton.vue.d.ts +7 -0
- package/dist/skeleton/SkeletonImage.vue.d.ts +7 -0
- package/dist/skeleton/SkeletonNodeRenderer.d.ts +15 -0
- package/dist/skeleton/SkeletonParagraph.vue.d.ts +8 -0
- package/dist/skeleton/SkeletonTitle.vue.d.ts +7 -0
- package/dist/skeleton/index.d.ts +18 -0
- package/dist/skeleton/index.js +2 -0
- package/dist/skeleton/types.d.ts +36 -0
- package/dist/skeleton-p61lfhoz.js +302 -0
- package/dist/slider/Slider.vue.d.ts +32 -0
- package/dist/slider/SliderFragment.d.ts +4 -0
- package/dist/slider/index.d.ts +5 -0
- package/dist/slider/index.js +5 -0
- package/dist/slider/types.d.ts +57 -0
- package/dist/slider/use-slider-foundation.d.ts +47 -0
- package/dist/space/Space.vue.d.ts +16 -0
- package/dist/space/index.d.ts +3 -0
- package/dist/space/index.js +2 -0
- package/dist/space/types.d.ts +15 -0
- package/dist/space-DVnFbkCz.js +63 -0
- package/dist/spin/Spin.vue.d.ts +105 -0
- package/dist/spin/SpinNodeRenderer.d.ts +15 -0
- package/dist/spin/index.d.ts +6 -0
- package/dist/spin/index.js +2 -0
- package/dist/spin/types.d.ts +20 -0
- package/dist/spin-D-1P0WMW.js +9 -0
- package/dist/src-DNBBthjO.js +490 -0
- package/dist/steps/Step.vue.d.ts +22 -0
- package/dist/steps/Steps.vue.d.ts +24 -0
- package/dist/steps/StepsNodeRenderer.d.ts +17 -0
- package/dist/steps/index.d.ts +9 -0
- package/dist/steps/index.js +2 -0
- package/dist/steps/steps-context.d.ts +6 -0
- package/dist/steps/types.d.ts +54 -0
- package/dist/steps-6p04q-Lz.js +303 -0
- package/dist/switch/Switch.vue.d.ts +27 -0
- package/dist/switch/SwitchNodeRenderer.d.ts +15 -0
- package/dist/switch/SwitchSpin.vue.d.ts +7 -0
- package/dist/switch/index.d.ts +7 -0
- package/dist/switch/index.js +2 -0
- package/dist/switch/types.d.ts +28 -0
- package/dist/switch-Dte2Fl3l.js +284 -0
- package/dist/table/Table.vue.d.ts +29 -0
- package/dist/table/TableBody.vue.d.ts +70 -0
- package/dist/table/TableCell.vue.d.ts +37 -0
- package/dist/table/TableColumn.d.ts +81 -0
- package/dist/table/TableFilterMenu.vue.d.ts +18 -0
- package/dist/table/TableHeader.vue.d.ts +46 -0
- package/dist/table/TableNativeElement.d.ts +9 -0
- package/dist/table/TableNodeRenderer.d.ts +13 -0
- package/dist/table/TableSpin.vue.d.ts +16 -0
- package/dist/table/index.d.ts +13 -0
- package/dist/table/index.js +2 -0
- package/dist/table/table-utils.d.ts +43 -0
- package/dist/table/types.d.ts +323 -0
- package/dist/table-jZkHjf-W.js +2097 -0
- package/dist/tabs/TabBar.vue.d.ts +38 -0
- package/dist/tabs/TabItem.vue.d.ts +26 -0
- package/dist/tabs/TabPane.vue.d.ts +13 -0
- package/dist/tabs/Tabs.vue.d.ts +36 -0
- package/dist/tabs/TabsDropdown.vue.d.ts +27 -0
- package/dist/tabs/TabsNodeRenderer.d.ts +15 -0
- package/dist/tabs/index.d.ts +6 -0
- package/dist/tabs/index.js +2 -0
- package/dist/tabs/tabs-context.d.ts +12 -0
- package/dist/tabs/types.d.ts +110 -0
- package/dist/tabs-CezuYzIu.js +874 -0
- package/dist/tag/SplitTagGroup.d.ts +36 -0
- package/dist/tag/Tag.vue.d.ts +33 -0
- package/dist/tag/TagGroup.d.ts +115 -0
- package/dist/tag/TagNodeRenderer.d.ts +15 -0
- package/dist/tag/index.d.ts +8 -0
- package/dist/tag/index.js +2 -0
- package/dist/tag/types.d.ts +82 -0
- package/dist/tag-BPD0bELU.js +348 -0
- package/dist/tag-input/TagInput.vue.d.ts +51 -0
- package/dist/tag-input/TagInputNodeRenderer.d.ts +17 -0
- package/dist/tag-input/TagInputRestPopover.vue.d.ts +19 -0
- package/dist/tag-input/TagInputTag.vue.d.ts +27 -0
- package/dist/tag-input/index.d.ts +5 -0
- package/dist/tag-input/index.js +2 -0
- package/dist/tag-input/types.d.ts +95 -0
- package/dist/tag-input/use-tag-input-foundation.d.ts +47 -0
- package/dist/tag-input-SxUfNqF0.js +784 -0
- package/dist/time-picker/TimePicker.vue.d.ts +27 -0
- package/dist/time-picker/TimePickerColumn.vue.d.ts +29 -0
- package/dist/time-picker/TimePickerNodeRenderer.d.ts +17 -0
- package/dist/time-picker/TimePickerPanel.vue.d.ts +32 -0
- package/dist/time-picker/index.d.ts +5 -0
- package/dist/time-picker/index.js +2 -0
- package/dist/time-picker/types.d.ts +146 -0
- package/dist/time-picker/use-time-picker-foundation.d.ts +36 -0
- package/dist/time-picker-D6p36ea8.js +3587 -0
- package/dist/timeline/Timeline.vue.d.ts +69 -0
- package/dist/timeline/TimelineItem.vue.d.ts +100 -0
- package/dist/timeline/TimelineNodeRenderer.d.ts +15 -0
- package/dist/timeline/index.d.ts +10 -0
- package/dist/timeline/index.js +2 -0
- package/dist/timeline/types.d.ts +43 -0
- package/dist/timeline-2D5xCZsU.js +191 -0
- package/dist/toast/ToastHost.vue.d.ts +7 -0
- package/dist/toast/ToastIconRenderer.d.ts +17 -0
- package/dist/toast/ToastNodeRenderer.d.ts +15 -0
- package/dist/toast/ToastNotice.vue.d.ts +20 -0
- package/dist/toast/imperative.d.ts +3 -0
- package/dist/toast/index.d.ts +6 -0
- package/dist/toast/index.js +2 -0
- package/dist/toast/toast-store.d.ts +30 -0
- package/dist/toast/types.d.ts +65 -0
- package/dist/toast/use-toast.d.ts +2 -0
- package/dist/toast-s8nFLf8t.js +523 -0
- package/dist/tooltip/Tooltip.vue.d.ts +23 -0
- package/dist/tooltip/TooltipArrow.vue.d.ts +8 -0
- package/dist/tooltip/TooltipNodeRenderer.d.ts +15 -0
- package/dist/tooltip/TooltipPortal.vue.d.ts +44 -0
- package/dist/tooltip/TooltipTriggerRenderer.d.ts +66 -0
- package/dist/tooltip/index.d.ts +5 -0
- package/dist/tooltip/index.js +3 -0
- package/dist/tooltip/types.d.ts +117 -0
- package/dist/tooltip/use-tooltip-foundation.d.ts +25 -0
- package/dist/tooltip-en9bvXRp.js +28 -0
- package/dist/transfer/Transfer.vue.d.ts +35 -0
- package/dist/transfer/TransferNodeRenderer.d.ts +15 -0
- package/dist/transfer/index.d.ts +5 -0
- package/dist/transfer/index.js +2 -0
- package/dist/transfer/types.d.ts +159 -0
- package/dist/transfer-Doq1sI9z.js +695 -0
- package/dist/tree/Tree.vue.d.ts +73 -0
- package/dist/tree/TreeNode.vue.d.ts +77 -0
- package/dist/tree/TreeNodeMotion.vue.d.ts +20 -0
- package/dist/tree/TreeNodeRenderer.d.ts +15 -0
- package/dist/tree/index.d.ts +9 -0
- package/dist/tree/index.js +5 -0
- package/dist/tree/types.d.ts +180 -0
- package/dist/tree-select/TreeSelect.vue.d.ts +76 -0
- package/dist/tree-select/TreeSelectNodeRenderer.d.ts +15 -0
- package/dist/tree-select/index.d.ts +6 -0
- package/dist/tree-select/index.js +2 -0
- package/dist/tree-select/types.d.ts +156 -0
- package/dist/tree-select-BIu6Owuq.js +1237 -0
- package/dist/treeUtil-IUdRJ6Ws.js +277 -0
- package/dist/typography/Numeral.vue.d.ts +32 -0
- package/dist/typography/Paragraph.vue.d.ts +30 -0
- package/dist/typography/Text.vue.d.ts +30 -0
- package/dist/typography/Title.vue.d.ts +28 -0
- package/dist/typography/Typography.vue.d.ts +13 -0
- package/dist/typography/TypographyBase.vue.d.ts +40 -0
- package/dist/typography/TypographyCopyable.vue.d.ts +29 -0
- package/dist/typography/TypographyDecorations.d.ts +34 -0
- package/dist/typography/TypographyNodeRenderer.d.ts +17 -0
- package/dist/typography/index.d.ts +17 -0
- package/dist/typography/index.js +2 -0
- package/dist/typography/types.d.ts +108 -0
- package/dist/typography/typography-locale.d.ts +5 -0
- package/dist/typography/typography-utils.d.ts +4 -0
- package/dist/typography-DF8KwKuL.js +914 -0
- package/dist/upload/Upload.vue.d.ts +69 -0
- package/dist/upload/UploadFileCard.vue.d.ts +4 -0
- package/dist/upload/UploadNodeRenderer.d.ts +15 -0
- package/dist/upload/index.d.ts +10 -0
- package/dist/upload/index.js +2 -0
- package/dist/upload/types.d.ts +250 -0
- package/dist/upload-BzdpoGJX.js +1777 -0
- package/dist/uuid-BUHV1G8U.js +21 -0
- package/dist/warning-naSiE8G7.js +6 -0
- package/dist/zh-CN-CCu7YvUA.js +1623 -0
- package/package.json +336 -0
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
import "./src-DNBBthjO.js";
|
|
2
|
+
import { t as e } from "./foundation-Cawx37mp.js";
|
|
3
|
+
import { a as t, c as n, d as r, f as i, i as a, l as o, o as s, r as c, s as l, t as u, u as d } from "./Tooltip-Bq7HZwnS.js";
|
|
4
|
+
import { n as ee } from "./config-provider-VMfNNSF1.js";
|
|
5
|
+
import { Comment as te, Fragment as f, Text as p, cloneVNode as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as ne, createVNode as y, defineComponent as b, getCurrentInstance as re, h as x, inject as S, isVNode as C, markRaw as w, mergeProps as T, nextTick as ie, normalizeClass as E, normalizeStyle as D, onBeforeUnmount as ae, openBlock as O, provide as oe, renderList as se, renderSlot as k, shallowRef as A, unref as j, useAttrs as M, useId as ce, useSlots as le, useTemplateRef as ue, watch as de, withCtx as N } from "vue";
|
|
6
|
+
import { IconTick as P } from "@aifuxi/semi-icons-vue";
|
|
7
|
+
//#region bundled-foundation
|
|
8
|
+
var fe = class extends e {
|
|
9
|
+
handleVisibleChange(e) {
|
|
10
|
+
this._adapter.setPopVisible(e), this._adapter.notifyVisibleChange(e);
|
|
11
|
+
let { trigger: t } = this.getProps();
|
|
12
|
+
if (e && t === "click") {
|
|
13
|
+
let e = this._adapter.getPopupId();
|
|
14
|
+
this.setFocusToFirstMenuItem(e);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
getMenuItemNodes(e) {
|
|
18
|
+
let t = document.getElementById(e);
|
|
19
|
+
return t ? Array.from(t.getElementsByTagName("li")).filter((e) => e.ariaDisabled === "false") : null;
|
|
20
|
+
}
|
|
21
|
+
setFocusToFirstMenuItem(e) {
|
|
22
|
+
let t = this.getMenuItemNodes(e);
|
|
23
|
+
t && n(t);
|
|
24
|
+
}
|
|
25
|
+
setFocusToLastMenuItem(e) {
|
|
26
|
+
let t = this.getMenuItemNodes(e);
|
|
27
|
+
t && d(t);
|
|
28
|
+
}
|
|
29
|
+
handleKeyDown(e) {
|
|
30
|
+
let t = e.target?.attributes["data-popupid"]?.value, { visible: n } = this._adapter.getStates();
|
|
31
|
+
switch (e.key) {
|
|
32
|
+
case " ":
|
|
33
|
+
case "Enter":
|
|
34
|
+
e.target.click();
|
|
35
|
+
break;
|
|
36
|
+
case "ArrowDown":
|
|
37
|
+
this.setFocusToFirstMenuItem(t), n && s(e);
|
|
38
|
+
break;
|
|
39
|
+
case "ArrowUp": this.setFocusToLastMenuItem(t), n && s(e);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}, F = class extends e {
|
|
43
|
+
constructor(...e) {
|
|
44
|
+
super(...e), this.menuItemNodes = null, this.firstChars = [];
|
|
45
|
+
}
|
|
46
|
+
handleEscape(e) {
|
|
47
|
+
this._adapter.getContext("trigger") === "custom" && (e && t(document.querySelectorAll("[data-popupid]"), e.id)).focus();
|
|
48
|
+
}
|
|
49
|
+
setFocusByFirstCharacter(e, t) {
|
|
50
|
+
let n = c(this.menuItemNodes, e, this.firstChars, t);
|
|
51
|
+
n >= 0 && o(this.menuItemNodes, this.menuItemNodes[n]);
|
|
52
|
+
}
|
|
53
|
+
onMenuKeydown(e) {
|
|
54
|
+
let t = a(e.target, "tooltip");
|
|
55
|
+
this.menuItemNodes ||= [...e.target.parentNode.getElementsByTagName("li")].filter((e) => e.ariaDisabled !== "true"), this.firstChars.length === 0 && this.menuItemNodes.forEach((e) => {
|
|
56
|
+
this.firstChars.push(e.textContent.trim()[0]?.toLowerCase());
|
|
57
|
+
});
|
|
58
|
+
let n = this.menuItemNodes.find((e) => e.tabIndex === 0);
|
|
59
|
+
switch (e.key) {
|
|
60
|
+
case " ":
|
|
61
|
+
case "Enter":
|
|
62
|
+
e.target.click();
|
|
63
|
+
break;
|
|
64
|
+
case "Escape":
|
|
65
|
+
this.handleEscape(t);
|
|
66
|
+
break;
|
|
67
|
+
case "ArrowUp":
|
|
68
|
+
i(this.menuItemNodes, n), s(e);
|
|
69
|
+
break;
|
|
70
|
+
case "ArrowDown":
|
|
71
|
+
r(this.menuItemNodes, n), s(e);
|
|
72
|
+
break;
|
|
73
|
+
default: l(e.key) && this.setFocusByFirstCharacter(n, e.key);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, I = Symbol("SemiDropdown"), L = /* @__PURE__ */ b({
|
|
77
|
+
name: "DropdownDivider",
|
|
78
|
+
__name: "DropdownDivider",
|
|
79
|
+
props: {
|
|
80
|
+
class: { type: [
|
|
81
|
+
Boolean,
|
|
82
|
+
null,
|
|
83
|
+
String,
|
|
84
|
+
Object,
|
|
85
|
+
Array
|
|
86
|
+
] },
|
|
87
|
+
style: { type: [
|
|
88
|
+
Boolean,
|
|
89
|
+
null,
|
|
90
|
+
String,
|
|
91
|
+
Object,
|
|
92
|
+
Array
|
|
93
|
+
] }
|
|
94
|
+
},
|
|
95
|
+
setup(e) {
|
|
96
|
+
return (e, t) => (O(), v("div", {
|
|
97
|
+
class: E(["semi-dropdown-divider", e.$props.class]),
|
|
98
|
+
style: D(e.$props.style)
|
|
99
|
+
}, null, 6));
|
|
100
|
+
}
|
|
101
|
+
}), R = b({
|
|
102
|
+
name: "DropdownNodeRenderer",
|
|
103
|
+
props: { content: {
|
|
104
|
+
type: null,
|
|
105
|
+
default: void 0
|
|
106
|
+
} },
|
|
107
|
+
setup(e) {
|
|
108
|
+
return () => typeof e.content == "function" ? e.content() : e.content;
|
|
109
|
+
}
|
|
110
|
+
}), z = ["aria-disabled"], B = {
|
|
111
|
+
key: 1,
|
|
112
|
+
class: "semi-dropdown-item-icon"
|
|
113
|
+
}, pe = /* @__PURE__ */ b({
|
|
114
|
+
name: "DropdownItem",
|
|
115
|
+
inheritAttrs: !1,
|
|
116
|
+
__name: "DropdownItem",
|
|
117
|
+
props: {
|
|
118
|
+
active: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: !1
|
|
121
|
+
},
|
|
122
|
+
class: { type: [
|
|
123
|
+
Boolean,
|
|
124
|
+
null,
|
|
125
|
+
String,
|
|
126
|
+
Object,
|
|
127
|
+
Array
|
|
128
|
+
] },
|
|
129
|
+
disabled: {
|
|
130
|
+
type: Boolean,
|
|
131
|
+
default: !1
|
|
132
|
+
},
|
|
133
|
+
forwardRef: {},
|
|
134
|
+
hover: {
|
|
135
|
+
type: Boolean,
|
|
136
|
+
default: !1
|
|
137
|
+
},
|
|
138
|
+
icon: { type: [
|
|
139
|
+
Object,
|
|
140
|
+
String,
|
|
141
|
+
Number,
|
|
142
|
+
Boolean,
|
|
143
|
+
null,
|
|
144
|
+
Array,
|
|
145
|
+
Function
|
|
146
|
+
] },
|
|
147
|
+
showTick: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: !1
|
|
150
|
+
},
|
|
151
|
+
style: { type: [
|
|
152
|
+
Boolean,
|
|
153
|
+
null,
|
|
154
|
+
String,
|
|
155
|
+
Object,
|
|
156
|
+
Array
|
|
157
|
+
] },
|
|
158
|
+
type: {}
|
|
159
|
+
},
|
|
160
|
+
emits: [
|
|
161
|
+
"click",
|
|
162
|
+
"contextmenu",
|
|
163
|
+
"keydown",
|
|
164
|
+
"mouseenter",
|
|
165
|
+
"mouseleave"
|
|
166
|
+
],
|
|
167
|
+
setup(e, { emit: t }) {
|
|
168
|
+
let n = e, r = t, i = S(I, void 0), a = h(() => i?.showTick.value ?? n.showTick), o = h(() => (i?.level ?? 0) !== 1);
|
|
169
|
+
function s(e) {
|
|
170
|
+
n.forwardRef?.(e instanceof HTMLLIElement ? e : null);
|
|
171
|
+
}
|
|
172
|
+
function c(e, t) {
|
|
173
|
+
n.disabled || r(e === "contextmenu" ? "contextmenu" : e === "mouseenter" ? "mouseenter" : "mouseleave", t);
|
|
174
|
+
}
|
|
175
|
+
function l(e) {
|
|
176
|
+
!n.disabled && !o.value && r("click", e);
|
|
177
|
+
}
|
|
178
|
+
function u(e) {
|
|
179
|
+
!n.disabled && o.value && e.button === 0 && r("click", e);
|
|
180
|
+
}
|
|
181
|
+
return (t, n) => (O(), v("li", T(t.$attrs, {
|
|
182
|
+
ref: s,
|
|
183
|
+
role: "menuitem",
|
|
184
|
+
tabindex: "-1",
|
|
185
|
+
"aria-disabled": e.disabled,
|
|
186
|
+
class: [
|
|
187
|
+
"semi-dropdown-item",
|
|
188
|
+
e.disabled ? "semi-dropdown-item-disabled" : void 0,
|
|
189
|
+
e.hover ? "semi-dropdown-item-hover" : void 0,
|
|
190
|
+
a.value ? "semi-dropdown-item-withTick" : void 0,
|
|
191
|
+
e.type ? `semi-dropdown-item-${e.type}` : void 0,
|
|
192
|
+
e.active ? "semi-dropdown-item-active" : void 0,
|
|
193
|
+
t.$props.class
|
|
194
|
+
],
|
|
195
|
+
style: t.$props.style,
|
|
196
|
+
onClick: l,
|
|
197
|
+
onMousedown: u,
|
|
198
|
+
onMouseenter: n[0] ||= (e) => c("mouseenter", e),
|
|
199
|
+
onMouseleave: n[1] ||= (e) => c("mouseleave", e),
|
|
200
|
+
onContextmenu: n[2] ||= (e) => c("contextmenu", e),
|
|
201
|
+
onKeydown: n[3] ||= (e) => r("keydown", e)
|
|
202
|
+
}), [
|
|
203
|
+
a.value ? (O(), g(j(P), {
|
|
204
|
+
key: 0,
|
|
205
|
+
style: D(e.active ? void 0 : { color: "transparent" })
|
|
206
|
+
}, null, 8, ["style"])) : _("", !0),
|
|
207
|
+
t.$slots.icon || e.icon ? (O(), v("div", B, [k(t.$slots, "icon", {}, () => [y(j(R), { content: e.icon }, null, 8, ["content"])])])) : _("", !0),
|
|
208
|
+
k(t.$slots, "default")
|
|
209
|
+
], 16, z));
|
|
210
|
+
}
|
|
211
|
+
}), me = /* @__PURE__ */ b({
|
|
212
|
+
name: "DropdownMenu",
|
|
213
|
+
inheritAttrs: !1,
|
|
214
|
+
__name: "DropdownMenu",
|
|
215
|
+
props: {
|
|
216
|
+
class: { type: [
|
|
217
|
+
Boolean,
|
|
218
|
+
null,
|
|
219
|
+
String,
|
|
220
|
+
Object,
|
|
221
|
+
Array
|
|
222
|
+
] },
|
|
223
|
+
style: { type: [
|
|
224
|
+
Boolean,
|
|
225
|
+
null,
|
|
226
|
+
String,
|
|
227
|
+
Object,
|
|
228
|
+
Array
|
|
229
|
+
] }
|
|
230
|
+
},
|
|
231
|
+
setup(e) {
|
|
232
|
+
let t = M(), n = S(I, void 0), r = w(new F({ getContext: (e) => e === "trigger" ? n?.trigger.value : void 0 }));
|
|
233
|
+
function i() {
|
|
234
|
+
return Object.fromEntries(Object.entries(t).filter(([e]) => e !== "onKeydown"));
|
|
235
|
+
}
|
|
236
|
+
function a(e) {
|
|
237
|
+
r.onMenuKeydown(e);
|
|
238
|
+
let n = t.onKeydown;
|
|
239
|
+
Array.isArray(n) ? n.forEach((t) => t(e)) : n?.(e);
|
|
240
|
+
}
|
|
241
|
+
return (e, t) => (O(), v("ul", T(i(), {
|
|
242
|
+
role: "menu",
|
|
243
|
+
"aria-orientation": "vertical",
|
|
244
|
+
class: ["semi-dropdown-menu", e.$props.class],
|
|
245
|
+
style: e.$props.style,
|
|
246
|
+
onKeydown: a
|
|
247
|
+
}), [k(e.$slots, "default")], 16));
|
|
248
|
+
}
|
|
249
|
+
}), he = /* @__PURE__ */ b({
|
|
250
|
+
name: "DropdownTitle",
|
|
251
|
+
__name: "DropdownTitle",
|
|
252
|
+
props: {
|
|
253
|
+
class: { type: [
|
|
254
|
+
Boolean,
|
|
255
|
+
null,
|
|
256
|
+
String,
|
|
257
|
+
Object,
|
|
258
|
+
Array
|
|
259
|
+
] },
|
|
260
|
+
style: { type: [
|
|
261
|
+
Boolean,
|
|
262
|
+
null,
|
|
263
|
+
String,
|
|
264
|
+
Object,
|
|
265
|
+
Array
|
|
266
|
+
] }
|
|
267
|
+
},
|
|
268
|
+
setup(e) {
|
|
269
|
+
let t = S(I, void 0), n = h(() => t?.showTick.value ?? !1);
|
|
270
|
+
return (e, t) => (O(), v("div", {
|
|
271
|
+
class: E([
|
|
272
|
+
"semi-dropdown-title",
|
|
273
|
+
n.value ? "semi-dropdown-title-withTick" : void 0,
|
|
274
|
+
e.$props.class
|
|
275
|
+
]),
|
|
276
|
+
style: D(e.$props.style)
|
|
277
|
+
}, [k(e.$slots, "default")], 6));
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/dropdown/DropdownTriggerRenderer.ts
|
|
282
|
+
function V(e) {
|
|
283
|
+
let t = [], n = (e) => {
|
|
284
|
+
if (Array.isArray(e)) {
|
|
285
|
+
e.forEach(n);
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
if (!(!C(e) || e.type === te)) {
|
|
289
|
+
if (e.type === f && Array.isArray(e.children)) {
|
|
290
|
+
e.children.forEach((e) => n(e));
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
t.push(e);
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
return e.forEach(n), t;
|
|
297
|
+
}
|
|
298
|
+
function H(e, t) {
|
|
299
|
+
Array.isArray(e) ? e.forEach((e) => e(t)) : e?.(t);
|
|
300
|
+
}
|
|
301
|
+
var ge = b({
|
|
302
|
+
name: "DropdownTriggerRenderer",
|
|
303
|
+
inheritAttrs: !1,
|
|
304
|
+
props: {
|
|
305
|
+
eventSet: {
|
|
306
|
+
type: Object,
|
|
307
|
+
required: !0
|
|
308
|
+
},
|
|
309
|
+
popupId: {
|
|
310
|
+
type: String,
|
|
311
|
+
required: !0
|
|
312
|
+
},
|
|
313
|
+
prefixCls: {
|
|
314
|
+
type: String,
|
|
315
|
+
required: !0
|
|
316
|
+
},
|
|
317
|
+
setTriggerElement: {
|
|
318
|
+
type: Function,
|
|
319
|
+
required: !0
|
|
320
|
+
},
|
|
321
|
+
visible: Boolean
|
|
322
|
+
},
|
|
323
|
+
setup(e, { slots: t }) {
|
|
324
|
+
return () => {
|
|
325
|
+
let n = V(t.default?.() ?? []), r = n.length === 1 ? n[0] : void 0, i = r && r.type !== p ? r : x("span", { style: { display: r?.type === p ? void 0 : "inline-block" } }, n), a = i.props ?? {}, o = /* @__PURE__ */ new Set([...Object.keys(e.eventSet), "onKeydown"]), s = Object.fromEntries(Object.entries(a).filter(([e]) => !o.has(e))), c = T(s, {
|
|
326
|
+
"aria-expanded": String(e.visible),
|
|
327
|
+
"aria-haspopup": "true",
|
|
328
|
+
class: [a.class, e.visible ? `${e.prefixCls}-showing` : void 0],
|
|
329
|
+
"data-popupid": e.popupId,
|
|
330
|
+
tabindex: a.tabindex ?? a.tabIndex ?? 0
|
|
331
|
+
});
|
|
332
|
+
for (let t of o) {
|
|
333
|
+
let n = e.eventSet[t], r = a[t];
|
|
334
|
+
!n && !r || (c[t] = (e) => {
|
|
335
|
+
n?.(e), H(r, e);
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
let l = m(i);
|
|
339
|
+
l.props = c, l.patchFlag = -2;
|
|
340
|
+
let u = m(l, { ref: (t) => {
|
|
341
|
+
t instanceof HTMLElement ? e.setTriggerElement(t) : t && !(t instanceof Element) && t.$el instanceof HTMLElement ? e.setTriggerElement(t.$el) : e.setTriggerElement(null);
|
|
342
|
+
} }, !0);
|
|
343
|
+
return u.patchFlag = -2, u;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
}), _e = /* @__PURE__ */ b({
|
|
347
|
+
name: "Dropdown",
|
|
348
|
+
inheritAttrs: !1,
|
|
349
|
+
__name: "Dropdown",
|
|
350
|
+
props: {
|
|
351
|
+
class: { type: [
|
|
352
|
+
Boolean,
|
|
353
|
+
null,
|
|
354
|
+
String,
|
|
355
|
+
Object,
|
|
356
|
+
Array
|
|
357
|
+
] },
|
|
358
|
+
contentClassName: { type: [
|
|
359
|
+
Boolean,
|
|
360
|
+
null,
|
|
361
|
+
String,
|
|
362
|
+
Object,
|
|
363
|
+
Array
|
|
364
|
+
] },
|
|
365
|
+
menu: {},
|
|
366
|
+
mouseLeaveDelay: {},
|
|
367
|
+
position: {},
|
|
368
|
+
prefixCls: {},
|
|
369
|
+
render: { type: [
|
|
370
|
+
Object,
|
|
371
|
+
String,
|
|
372
|
+
Number,
|
|
373
|
+
Boolean,
|
|
374
|
+
null,
|
|
375
|
+
Array,
|
|
376
|
+
Function
|
|
377
|
+
] },
|
|
378
|
+
returnFocusOnClose: { type: Boolean },
|
|
379
|
+
role: {},
|
|
380
|
+
showArrow: { type: [
|
|
381
|
+
Boolean,
|
|
382
|
+
Object,
|
|
383
|
+
String,
|
|
384
|
+
Number,
|
|
385
|
+
null,
|
|
386
|
+
Array
|
|
387
|
+
] },
|
|
388
|
+
showTick: { type: Boolean },
|
|
389
|
+
spacing: {},
|
|
390
|
+
style: { type: [
|
|
391
|
+
Boolean,
|
|
392
|
+
null,
|
|
393
|
+
String,
|
|
394
|
+
Object,
|
|
395
|
+
Array
|
|
396
|
+
] },
|
|
397
|
+
trigger: {},
|
|
398
|
+
visible: { type: Boolean },
|
|
399
|
+
arrowBounding: {},
|
|
400
|
+
arrowPointAtCenter: { type: Boolean },
|
|
401
|
+
autoAdjustOverflow: { type: Boolean },
|
|
402
|
+
clickToHide: { type: Boolean },
|
|
403
|
+
clickTriggerToHide: { type: Boolean },
|
|
404
|
+
closeOnEsc: { type: Boolean },
|
|
405
|
+
condition: { type: Boolean },
|
|
406
|
+
disableArrowKeyDown: { type: Boolean },
|
|
407
|
+
disableFocusListener: { type: Boolean },
|
|
408
|
+
getPopupContainer: { type: Function },
|
|
409
|
+
guardFocus: { type: Boolean },
|
|
410
|
+
keepDOM: { type: Boolean },
|
|
411
|
+
margin: {},
|
|
412
|
+
motion: { type: Boolean },
|
|
413
|
+
mouseEnterDelay: {},
|
|
414
|
+
preventScroll: { type: Boolean },
|
|
415
|
+
rePosKey: {},
|
|
416
|
+
stopPropagation: { type: Boolean },
|
|
417
|
+
transformFromCenter: { type: Boolean },
|
|
418
|
+
wrapWhenSpecial: { type: Boolean },
|
|
419
|
+
wrapperId: {},
|
|
420
|
+
zIndex: {}
|
|
421
|
+
},
|
|
422
|
+
emits: [
|
|
423
|
+
"afterClose",
|
|
424
|
+
"clickOutside",
|
|
425
|
+
"escKeydown",
|
|
426
|
+
"visibleChange",
|
|
427
|
+
"update:visible"
|
|
428
|
+
],
|
|
429
|
+
setup(e, { expose: t, emit: n }) {
|
|
430
|
+
let r = e, i = n, a = le(), o = re(), s = S(I, void 0), c = ue("tooltip"), l = A(null), d = A(!!r.visible), te = `semi-dropdown-${ce()}`, p = A(void 0), m, b, x = !1;
|
|
431
|
+
function C(e) {
|
|
432
|
+
let t = String(e).replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), n = o?.vnode.props;
|
|
433
|
+
return !!(n && (Object.prototype.hasOwnProperty.call(n, e) || Object.prototype.hasOwnProperty.call(n, t)));
|
|
434
|
+
}
|
|
435
|
+
function M(e, t) {
|
|
436
|
+
if (C(e) && r[e] !== void 0) return r[e];
|
|
437
|
+
let n = ee.config.overrideDefaultProps?.Dropdown?.[e];
|
|
438
|
+
return n === void 0 ? t : n;
|
|
439
|
+
}
|
|
440
|
+
function P(e) {
|
|
441
|
+
if (C(e)) return r[e];
|
|
442
|
+
let t = ee.config.overrideDefaultProps?.Dropdown?.[e];
|
|
443
|
+
return t === void 0 ? r[e] : t;
|
|
444
|
+
}
|
|
445
|
+
let F = h(() => M("trigger", "hover")), z = h(() => M("showTick", !1)), B = h(() => M("prefixCls", "semi-dropdown")), V = h(() => C("visible") ? !!r.visible : d.value), H = h(() => P("wrapperId") ?? te), _e = h(() => {
|
|
446
|
+
let e = P("spacing");
|
|
447
|
+
return e === void 0 ? (s?.level ?? 0) > 0 ? 2 : 4 : e;
|
|
448
|
+
});
|
|
449
|
+
oe(I, {
|
|
450
|
+
level: (s?.level ?? 0) + 1,
|
|
451
|
+
showTick: z,
|
|
452
|
+
trigger: F
|
|
453
|
+
});
|
|
454
|
+
let U = w(new fe({
|
|
455
|
+
getPopupId: () => c.value?.getPopupId() ?? "",
|
|
456
|
+
getProps: () => ({ trigger: F.value }),
|
|
457
|
+
getStates: () => ({ visible: V.value }),
|
|
458
|
+
notifyVisibleChange: (e) => {
|
|
459
|
+
if (p.value === e) {
|
|
460
|
+
p.value = void 0;
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
i("visibleChange", e), i("update:visible", e);
|
|
464
|
+
},
|
|
465
|
+
setPopVisible: (e) => {
|
|
466
|
+
d.value = e;
|
|
467
|
+
}
|
|
468
|
+
})), W = h(() => {
|
|
469
|
+
let e = {
|
|
470
|
+
closeOnEsc: !1,
|
|
471
|
+
motion: M("motion", !0),
|
|
472
|
+
mouseEnterDelay: M("mouseEnterDelay", 50),
|
|
473
|
+
mouseLeaveDelay: M("mouseLeaveDelay", 100),
|
|
474
|
+
position: M("position", "bottom"),
|
|
475
|
+
prefixCls: B.value,
|
|
476
|
+
returnFocusOnClose: M("returnFocusOnClose", !0),
|
|
477
|
+
role: M("role", "tooltip"),
|
|
478
|
+
showArrow: M("showArrow", !1),
|
|
479
|
+
spacing: _e.value,
|
|
480
|
+
trigger: "custom",
|
|
481
|
+
visible: V.value,
|
|
482
|
+
zIndex: M("zIndex", 1060)
|
|
483
|
+
}, t = {
|
|
484
|
+
arrowBounding: P("arrowBounding"),
|
|
485
|
+
arrowPointAtCenter: P("arrowPointAtCenter"),
|
|
486
|
+
autoAdjustOverflow: P("autoAdjustOverflow"),
|
|
487
|
+
class: r.class,
|
|
488
|
+
clickToHide: P("clickToHide"),
|
|
489
|
+
clickTriggerToHide: P("clickTriggerToHide"),
|
|
490
|
+
condition: P("condition"),
|
|
491
|
+
disableArrowKeyDown: P("disableArrowKeyDown"),
|
|
492
|
+
disableFocusListener: P("disableFocusListener"),
|
|
493
|
+
getPopupContainer: P("getPopupContainer"),
|
|
494
|
+
guardFocus: P("guardFocus"),
|
|
495
|
+
keepDOM: P("keepDOM"),
|
|
496
|
+
margin: P("margin"),
|
|
497
|
+
preventScroll: P("preventScroll"),
|
|
498
|
+
rePosKey: P("rePosKey"),
|
|
499
|
+
stopPropagation: P("stopPropagation"),
|
|
500
|
+
transformFromCenter: P("transformFromCenter"),
|
|
501
|
+
wrapWhenSpecial: P("wrapWhenSpecial"),
|
|
502
|
+
wrapperId: H.value
|
|
503
|
+
};
|
|
504
|
+
for (let [n, r] of Object.entries(t)) r !== void 0 && (e[n] = r);
|
|
505
|
+
return e;
|
|
506
|
+
});
|
|
507
|
+
de(() => r.visible, (e) => {
|
|
508
|
+
C("visible") && (d.value = !!e);
|
|
509
|
+
});
|
|
510
|
+
function G(e) {
|
|
511
|
+
U.handleVisibleChange(e), e && F.value === "click" ? ie(() => {
|
|
512
|
+
let e = c.value?.getPopupId();
|
|
513
|
+
e && U.setFocusToFirstMenuItem(e);
|
|
514
|
+
}) : !e && F.value !== "custom" && M("returnFocusOnClose", !0) && (x = !0, Q()?.focus());
|
|
515
|
+
}
|
|
516
|
+
function K(e) {
|
|
517
|
+
if ($(e), e.key === "Escape" && V.value && M("closeOnEsc", !0)) {
|
|
518
|
+
i("escKeydown", e), Y(!1);
|
|
519
|
+
return;
|
|
520
|
+
}
|
|
521
|
+
U.handleKeyDown(e);
|
|
522
|
+
}
|
|
523
|
+
function q() {
|
|
524
|
+
m && clearTimeout(m), m = void 0;
|
|
525
|
+
}
|
|
526
|
+
function J() {
|
|
527
|
+
b && clearTimeout(b), b = void 0;
|
|
528
|
+
}
|
|
529
|
+
function Y(e) {
|
|
530
|
+
V.value !== e && (d.value = e, p.value = e, i("visibleChange", e), i("update:visible", e));
|
|
531
|
+
}
|
|
532
|
+
function X(e) {
|
|
533
|
+
e ? (J(), q(), m = setTimeout(() => Y(!0), M("mouseEnterDelay", 50))) : (q(), J(), b = setTimeout(() => Y(!1), M("mouseLeaveDelay", 100)));
|
|
534
|
+
}
|
|
535
|
+
let ve = h(() => {
|
|
536
|
+
let e = { onKeydown: (e) => K(e) };
|
|
537
|
+
return F.value === "click" ? e.onClick = (e) => {
|
|
538
|
+
$(e), Y(!V.value);
|
|
539
|
+
} : F.value === "hover" ? (e.onMouseenter = (e) => {
|
|
540
|
+
$(e), X(!0);
|
|
541
|
+
}, e.onMouseleave = () => X(!1)) : F.value === "focus" ? (e.onFocus = (e) => {
|
|
542
|
+
$(e), X(!0);
|
|
543
|
+
}, e.onBlur = () => X(!1)) : F.value === "contextMenu" && (e.onContextmenu = (e) => {
|
|
544
|
+
$(e), e.preventDefault(), Y(!0);
|
|
545
|
+
}), e;
|
|
546
|
+
});
|
|
547
|
+
function ye() {
|
|
548
|
+
(F.value === "hover" || F.value === "focus") && J();
|
|
549
|
+
}
|
|
550
|
+
function be() {
|
|
551
|
+
(F.value === "hover" || F.value === "focus") && X(!1);
|
|
552
|
+
}
|
|
553
|
+
function xe(e) {
|
|
554
|
+
e.key !== "Escape" || !M("closeOnEsc", !0) || (i("escKeydown", e), Y(!1), M("returnFocusOnClose", !0) && (x = !0, Q()?.focus()));
|
|
555
|
+
}
|
|
556
|
+
function Se() {
|
|
557
|
+
x && (x = !1, Q()?.focus()), i("afterClose");
|
|
558
|
+
}
|
|
559
|
+
function Ce(e) {
|
|
560
|
+
let t = F.value, n = !!P("clickTriggerToHide");
|
|
561
|
+
(t === "click" || t === "contextMenu" || t === "custom" || n) && i("clickOutside", e), (t === "click" || t === "contextMenu" || n) && Y(!1);
|
|
562
|
+
}
|
|
563
|
+
function we(e, t) {
|
|
564
|
+
return e.key ?? `${e.node}-${t}`;
|
|
565
|
+
}
|
|
566
|
+
function Z(e) {
|
|
567
|
+
return Object.fromEntries(Object.entries(e).filter(([e]) => ![
|
|
568
|
+
"key",
|
|
569
|
+
"name",
|
|
570
|
+
"node"
|
|
571
|
+
].includes(e)));
|
|
572
|
+
}
|
|
573
|
+
function Te() {
|
|
574
|
+
Q()?.focus();
|
|
575
|
+
}
|
|
576
|
+
function Q() {
|
|
577
|
+
return typeof document > "u" ? l.value : document.querySelector(`[data-popupid="${H.value}"]`) ?? l.value;
|
|
578
|
+
}
|
|
579
|
+
function $(e) {
|
|
580
|
+
e.currentTarget instanceof HTMLElement && (l.value = e.currentTarget);
|
|
581
|
+
}
|
|
582
|
+
function Ee(e) {
|
|
583
|
+
e && (l.value = e);
|
|
584
|
+
}
|
|
585
|
+
function De() {
|
|
586
|
+
return c.value?.getPopupId() ?? H.value;
|
|
587
|
+
}
|
|
588
|
+
function Oe() {
|
|
589
|
+
return c.value?.rePosition() ?? {};
|
|
590
|
+
}
|
|
591
|
+
return t({
|
|
592
|
+
focusTrigger: Te,
|
|
593
|
+
getPopupId: De,
|
|
594
|
+
rePosition: Oe
|
|
595
|
+
}), ae(() => {
|
|
596
|
+
q(), J();
|
|
597
|
+
}), (e, t) => (O(), g(u, T({ ref: "tooltip" }, W.value, {
|
|
598
|
+
onAfterClose: Se,
|
|
599
|
+
onClickOutside: Ce,
|
|
600
|
+
onEscKeydown: t[0] ||= (e) => i("escKeydown", e),
|
|
601
|
+
onVisibleChange: G
|
|
602
|
+
}), {
|
|
603
|
+
content: N(() => [ne("div", {
|
|
604
|
+
class: E([B.value, r.contentClassName]),
|
|
605
|
+
style: D(r.style),
|
|
606
|
+
onMouseenter: ye,
|
|
607
|
+
onMouseleave: be,
|
|
608
|
+
onKeydownCapture: xe
|
|
609
|
+
}, [ne("div", {
|
|
610
|
+
class: E(`${B.value}-content`),
|
|
611
|
+
"x-semi-prop": "render"
|
|
612
|
+
}, [a.content ? k(e.$slots, "content", {}, void 0, void 0, 0) : r.render ? (O(), g(j(R), {
|
|
613
|
+
key: 1,
|
|
614
|
+
content: r.render
|
|
615
|
+
}, null, 8, ["content"])) : Array.isArray(r.menu) ? (O(), g(me, { key: 2 }, {
|
|
616
|
+
default: N(() => [(O(!0), v(f, null, se(r.menu, (e, t) => (O(), v(f, { key: we(e, t) }, [e.node === "title" ? (O(), g(he, T({
|
|
617
|
+
key: 0,
|
|
618
|
+
ref_for: !0
|
|
619
|
+
}, Z(e)), {
|
|
620
|
+
default: N(() => [y(j(R), { content: e.name }, null, 8, ["content"])]),
|
|
621
|
+
_: 2
|
|
622
|
+
}, 1040)) : e.node === "item" ? (O(), g(pe, T({
|
|
623
|
+
key: 1,
|
|
624
|
+
ref_for: !0
|
|
625
|
+
}, Z(e)), {
|
|
626
|
+
default: N(() => [y(j(R), { content: e.name }, null, 8, ["content"])]),
|
|
627
|
+
_: 2
|
|
628
|
+
}, 1040)) : (O(), g(L, T({
|
|
629
|
+
key: 2,
|
|
630
|
+
ref_for: !0
|
|
631
|
+
}, Z(e)), null, 16))], 64))), 128))]),
|
|
632
|
+
_: 1
|
|
633
|
+
})) : _("", !0)], 2)], 38)]),
|
|
634
|
+
default: N(() => [y(j(ge), {
|
|
635
|
+
"event-set": ve.value,
|
|
636
|
+
"popup-id": H.value,
|
|
637
|
+
"prefix-cls": B.value,
|
|
638
|
+
"set-trigger-element": Ee,
|
|
639
|
+
visible: V.value
|
|
640
|
+
}, {
|
|
641
|
+
default: N(() => [k(e.$slots, "default")]),
|
|
642
|
+
_: 3
|
|
643
|
+
}, 8, [
|
|
644
|
+
"event-set",
|
|
645
|
+
"popup-id",
|
|
646
|
+
"prefix-cls",
|
|
647
|
+
"visible"
|
|
648
|
+
])]),
|
|
649
|
+
_: 3
|
|
650
|
+
}, 16));
|
|
651
|
+
}
|
|
652
|
+
}), U = [
|
|
653
|
+
"primary",
|
|
654
|
+
"secondary",
|
|
655
|
+
"tertiary",
|
|
656
|
+
"warning",
|
|
657
|
+
"danger"
|
|
658
|
+
], W = L, G = pe, K = me, q = he, J = Object.assign(_e, {
|
|
659
|
+
Divider: W,
|
|
660
|
+
Item: G,
|
|
661
|
+
Menu: K,
|
|
662
|
+
Title: q
|
|
663
|
+
});
|
|
664
|
+
//#endregion
|
|
665
|
+
export { q as a, K as i, W as n, U as o, G as r, J as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EmptyProps, EmptySlots } from './types';
|
|
2
|
+
type __VLS_Slots = EmptySlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<EmptyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
|
|
4
|
+
layout: import('./types').EmptyLayout;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType, VNodeChild } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
content: {
|
|
4
|
+
type: PropType<VNodeChild>;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
}>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
content: {
|
|
9
|
+
type: PropType<VNodeChild>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {
|
|
13
|
+
content: VNodeChild;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { EmptyProps } from './types';
|
|
3
|
+
export declare const Empty: DefineComponent<EmptyProps>;
|
|
4
|
+
export { EMPTY_LAYOUTS } from './types';
|
|
5
|
+
export type { EmptyImage, EmptyLayout, EmptyProps, EmptySlots, EmptySvgNode } from './types';
|
|
6
|
+
export default Empty;
|