@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,542 @@
|
|
|
1
|
+
import "./src-DNBBthjO.js";
|
|
2
|
+
import { b as e, t } from "./foundation-Cawx37mp.js";
|
|
3
|
+
import { t as n } from "./env-BeIzjQx7.js";
|
|
4
|
+
import { r } from "./keyCode-DMNg63wX.js";
|
|
5
|
+
import { t as i } from "./config-context-CyynTtDb.js";
|
|
6
|
+
import { n as a } from "./config-provider-VMfNNSF1.js";
|
|
7
|
+
import { t as o } from "./Button-RCaDTqHh.js";
|
|
8
|
+
import { Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, inject as g, markRaw as _, mergeProps as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, shallowReactive as ee, shallowRef as w, unref as T, useAttrs as E, useSlots as te, watch as D, withCtx as O } from "vue";
|
|
9
|
+
import { IconClose as k } from "@aifuxi/semi-icons-vue";
|
|
10
|
+
//#region bundled-foundation
|
|
11
|
+
var ne = class n extends t {
|
|
12
|
+
constructor(e) {
|
|
13
|
+
super({
|
|
14
|
+
...n.defaultAdapter,
|
|
15
|
+
...e
|
|
16
|
+
}), this.toggleDisplayNone = (e) => {
|
|
17
|
+
this._adapter.toggleDisplayNone(e);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
get defaultAdapter() {
|
|
21
|
+
return {
|
|
22
|
+
handleCancel: e.default,
|
|
23
|
+
beforeShow: e.default,
|
|
24
|
+
afterHide: e.default
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
destroy() {
|
|
28
|
+
this.afterHide();
|
|
29
|
+
}
|
|
30
|
+
handleCancel(e) {
|
|
31
|
+
this._adapter.notifyCancel(e);
|
|
32
|
+
}
|
|
33
|
+
beforeShow() {
|
|
34
|
+
this.getProp("disableScroll") && this._adapter.disabledBodyScroll(), this._adapter.setOnKeyDownListener();
|
|
35
|
+
}
|
|
36
|
+
afterHide() {
|
|
37
|
+
this.getProp("disableScroll") && this._adapter.enabledBodyScroll(), this._adapter.removeKeyDownListener();
|
|
38
|
+
}
|
|
39
|
+
handleKeyDown(e) {
|
|
40
|
+
let { closeOnEsc: t } = this.getProps();
|
|
41
|
+
if (t && e.keyCode === r.ESC) {
|
|
42
|
+
e.stopPropagation(), this.handleCancel(e);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
onVisibleChange(e) {
|
|
47
|
+
this._adapter.notifyVisibleChange(e);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
`${n}`, `${n}`;
|
|
51
|
+
var re = {
|
|
52
|
+
PLACEMENT: [
|
|
53
|
+
"top",
|
|
54
|
+
"right",
|
|
55
|
+
"bottom",
|
|
56
|
+
"left"
|
|
57
|
+
],
|
|
58
|
+
SIZE: [
|
|
59
|
+
"small",
|
|
60
|
+
"medium",
|
|
61
|
+
"large"
|
|
62
|
+
],
|
|
63
|
+
WIDTH: {
|
|
64
|
+
small: 448,
|
|
65
|
+
medium: 684,
|
|
66
|
+
large: 920
|
|
67
|
+
},
|
|
68
|
+
HEIGHT: 448
|
|
69
|
+
}, A = m({
|
|
70
|
+
name: "SideSheetNodeRenderer",
|
|
71
|
+
props: { content: {
|
|
72
|
+
type: null,
|
|
73
|
+
default: void 0
|
|
74
|
+
} },
|
|
75
|
+
setup(e) {
|
|
76
|
+
return () => e.content;
|
|
77
|
+
}
|
|
78
|
+
}), j = ["aria-label"], M = { class: "semi-sidesheet-content" }, N = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "semi-sidesheet-title",
|
|
81
|
+
"x-semi-prop": "title"
|
|
82
|
+
}, P = {
|
|
83
|
+
key: 0,
|
|
84
|
+
class: "semi-sidesheet-footer",
|
|
85
|
+
"x-semi-prop": "footer"
|
|
86
|
+
}, F = /* @__PURE__ */ m({
|
|
87
|
+
__name: "SideSheetContent",
|
|
88
|
+
props: {
|
|
89
|
+
ariaLabel: {},
|
|
90
|
+
body: { type: [
|
|
91
|
+
Object,
|
|
92
|
+
String,
|
|
93
|
+
Number,
|
|
94
|
+
Boolean,
|
|
95
|
+
null,
|
|
96
|
+
Array
|
|
97
|
+
] },
|
|
98
|
+
bodyStyle: { type: [
|
|
99
|
+
Boolean,
|
|
100
|
+
null,
|
|
101
|
+
String,
|
|
102
|
+
Object,
|
|
103
|
+
Array
|
|
104
|
+
] },
|
|
105
|
+
class: { type: [
|
|
106
|
+
Boolean,
|
|
107
|
+
null,
|
|
108
|
+
String,
|
|
109
|
+
Object,
|
|
110
|
+
Array
|
|
111
|
+
] },
|
|
112
|
+
closable: { type: Boolean },
|
|
113
|
+
closeIcon: { type: [
|
|
114
|
+
Object,
|
|
115
|
+
String,
|
|
116
|
+
Number,
|
|
117
|
+
Boolean,
|
|
118
|
+
null,
|
|
119
|
+
Array
|
|
120
|
+
] },
|
|
121
|
+
customContainer: { type: Boolean },
|
|
122
|
+
dataAttrs: {},
|
|
123
|
+
dialogClass: { type: [
|
|
124
|
+
Boolean,
|
|
125
|
+
null,
|
|
126
|
+
String,
|
|
127
|
+
Object,
|
|
128
|
+
Array
|
|
129
|
+
] },
|
|
130
|
+
footer: { type: [
|
|
131
|
+
Object,
|
|
132
|
+
String,
|
|
133
|
+
Number,
|
|
134
|
+
Boolean,
|
|
135
|
+
null,
|
|
136
|
+
Array
|
|
137
|
+
] },
|
|
138
|
+
headerStyle: { type: [
|
|
139
|
+
Boolean,
|
|
140
|
+
null,
|
|
141
|
+
String,
|
|
142
|
+
Object,
|
|
143
|
+
Array
|
|
144
|
+
] },
|
|
145
|
+
height: {},
|
|
146
|
+
hidden: { type: Boolean },
|
|
147
|
+
mask: { type: Boolean },
|
|
148
|
+
maskClass: { type: [
|
|
149
|
+
Boolean,
|
|
150
|
+
null,
|
|
151
|
+
String,
|
|
152
|
+
Object,
|
|
153
|
+
Array
|
|
154
|
+
] },
|
|
155
|
+
maskClosable: { type: Boolean },
|
|
156
|
+
maskStyle: { type: [
|
|
157
|
+
Boolean,
|
|
158
|
+
null,
|
|
159
|
+
String,
|
|
160
|
+
Object,
|
|
161
|
+
Array
|
|
162
|
+
] },
|
|
163
|
+
outerStyle: { type: [
|
|
164
|
+
Boolean,
|
|
165
|
+
null,
|
|
166
|
+
String,
|
|
167
|
+
Object,
|
|
168
|
+
Array
|
|
169
|
+
] },
|
|
170
|
+
placement: {},
|
|
171
|
+
rtl: { type: Boolean },
|
|
172
|
+
size: {},
|
|
173
|
+
title: { type: [
|
|
174
|
+
Object,
|
|
175
|
+
String,
|
|
176
|
+
Number,
|
|
177
|
+
Boolean,
|
|
178
|
+
null,
|
|
179
|
+
Array
|
|
180
|
+
] },
|
|
181
|
+
width: {},
|
|
182
|
+
wrapperWidth: {}
|
|
183
|
+
},
|
|
184
|
+
emits: ["animationEnd", "close"],
|
|
185
|
+
setup(e, { emit: t }) {
|
|
186
|
+
let n = e, r = t, i = c(() => !!n.title), a = c(() => !!n.footer), s = c(() => !!n.closeIcon), m = c(() => [
|
|
187
|
+
"semi-sidesheet",
|
|
188
|
+
n.class,
|
|
189
|
+
`semi-sidesheet-${n.placement}`,
|
|
190
|
+
{
|
|
191
|
+
"semi-sidesheet-popup": n.customContainer,
|
|
192
|
+
"semi-sidesheet-horizontal": n.placement === "top" || n.placement === "bottom",
|
|
193
|
+
"semi-sidesheet-rtl": n.rtl,
|
|
194
|
+
"semi-sidesheet-hidden": n.hidden,
|
|
195
|
+
"semi-sidesheet-fixed": !n.mask,
|
|
196
|
+
[`semi-sidesheet-size-${n.size}`]: !n.mask
|
|
197
|
+
}
|
|
198
|
+
]), h = c(() => !n.mask && n.wrapperWidth !== void 0 ? { width: n.wrapperWidth } : void 0), g = c(() => [
|
|
199
|
+
"semi-sidesheet-inner",
|
|
200
|
+
"semi-sidesheet-inner-wrap",
|
|
201
|
+
`semi-sidesheet-size-${n.size}`,
|
|
202
|
+
n.dialogClass
|
|
203
|
+
]), _ = c(() => [
|
|
204
|
+
n.outerStyle,
|
|
205
|
+
n.width === void 0 ? void 0 : { width: n.mask ? n.width : "100%" },
|
|
206
|
+
{ height: n.height }
|
|
207
|
+
]);
|
|
208
|
+
function x(e) {
|
|
209
|
+
n.maskClosable && e.target === e.currentTarget && r("close", e);
|
|
210
|
+
}
|
|
211
|
+
return (e, t) => (C(), d("div", v(n.dataAttrs, {
|
|
212
|
+
class: m.value,
|
|
213
|
+
style: h.value
|
|
214
|
+
}), [n.mask ? (C(), d("div", {
|
|
215
|
+
key: 0,
|
|
216
|
+
"aria-hidden": "true",
|
|
217
|
+
class: y(["semi-sidesheet-mask", n.maskClass]),
|
|
218
|
+
style: b(n.maskStyle),
|
|
219
|
+
onAnimationend: t[0] ||= (e) => r("animationEnd", e),
|
|
220
|
+
onClick: x
|
|
221
|
+
}, null, 38)) : u("", !0), f("div", {
|
|
222
|
+
role: "dialog",
|
|
223
|
+
"aria-label": n.ariaLabel,
|
|
224
|
+
tabindex: "-1",
|
|
225
|
+
class: y(g.value),
|
|
226
|
+
style: b(_.value),
|
|
227
|
+
onAnimationend: t[2] ||= (e) => r("animationEnd", e)
|
|
228
|
+
}, [f("div", M, [
|
|
229
|
+
f("div", {
|
|
230
|
+
class: "semi-sidesheet-header",
|
|
231
|
+
role: "heading",
|
|
232
|
+
"aria-level": "1",
|
|
233
|
+
style: b(n.headerStyle)
|
|
234
|
+
}, [i.value ? (C(), d("div", N, [p(T(A), { content: n.title }, null, 8, ["content"])])) : u("", !0), n.closable ? (C(), l(T(o), {
|
|
235
|
+
key: 1,
|
|
236
|
+
class: "semi-sidesheet-close",
|
|
237
|
+
type: "tertiary",
|
|
238
|
+
theme: "borderless",
|
|
239
|
+
size: "small",
|
|
240
|
+
onClick: t[1] ||= (e) => r("close", e)
|
|
241
|
+
}, {
|
|
242
|
+
icon: O(() => [s.value ? (C(), l(T(A), {
|
|
243
|
+
key: 0,
|
|
244
|
+
content: n.closeIcon
|
|
245
|
+
}, null, 8, ["content"])) : (C(), l(T(k), { key: 1 }))]),
|
|
246
|
+
_: 1
|
|
247
|
+
})) : u("", !0)], 4),
|
|
248
|
+
f("div", {
|
|
249
|
+
class: "semi-sidesheet-body",
|
|
250
|
+
style: b(n.bodyStyle),
|
|
251
|
+
"x-semi-prop": "children"
|
|
252
|
+
}, [p(T(A), { content: n.body }, null, 8, ["content"])], 4),
|
|
253
|
+
a.value ? (C(), d("div", P, [p(T(A), { content: n.footer }, null, 8, ["content"])])) : u("", !0)
|
|
254
|
+
])], 46, j)], 16));
|
|
255
|
+
}
|
|
256
|
+
}), I = /* @__PURE__ */ m({
|
|
257
|
+
name: "SideSheet",
|
|
258
|
+
inheritAttrs: !1,
|
|
259
|
+
__name: "SideSheet",
|
|
260
|
+
props: {
|
|
261
|
+
"aria-label": {},
|
|
262
|
+
afterVisibleChange: { type: Function },
|
|
263
|
+
bodyStyle: { type: [
|
|
264
|
+
Boolean,
|
|
265
|
+
null,
|
|
266
|
+
String,
|
|
267
|
+
Object,
|
|
268
|
+
Array
|
|
269
|
+
] },
|
|
270
|
+
canVerticalSetWidth: { type: Boolean },
|
|
271
|
+
class: { type: [
|
|
272
|
+
Boolean,
|
|
273
|
+
null,
|
|
274
|
+
String,
|
|
275
|
+
Object,
|
|
276
|
+
Array
|
|
277
|
+
] },
|
|
278
|
+
className: { type: [
|
|
279
|
+
Boolean,
|
|
280
|
+
null,
|
|
281
|
+
String,
|
|
282
|
+
Object,
|
|
283
|
+
Array
|
|
284
|
+
] },
|
|
285
|
+
closable: { type: Boolean },
|
|
286
|
+
closeIcon: { type: [
|
|
287
|
+
Object,
|
|
288
|
+
String,
|
|
289
|
+
Number,
|
|
290
|
+
Boolean,
|
|
291
|
+
null,
|
|
292
|
+
Array
|
|
293
|
+
] },
|
|
294
|
+
closeOnEsc: { type: Boolean },
|
|
295
|
+
disableScroll: { type: Boolean },
|
|
296
|
+
footer: { type: [
|
|
297
|
+
Object,
|
|
298
|
+
String,
|
|
299
|
+
Number,
|
|
300
|
+
Boolean,
|
|
301
|
+
null,
|
|
302
|
+
Array
|
|
303
|
+
] },
|
|
304
|
+
getPopupContainer: { type: Function },
|
|
305
|
+
headerStyle: { type: [
|
|
306
|
+
Boolean,
|
|
307
|
+
null,
|
|
308
|
+
String,
|
|
309
|
+
Object,
|
|
310
|
+
Array
|
|
311
|
+
] },
|
|
312
|
+
height: {},
|
|
313
|
+
keepDOM: { type: Boolean },
|
|
314
|
+
mask: { type: Boolean },
|
|
315
|
+
maskClosable: { type: Boolean },
|
|
316
|
+
maskStyle: { type: [
|
|
317
|
+
Boolean,
|
|
318
|
+
null,
|
|
319
|
+
String,
|
|
320
|
+
Object,
|
|
321
|
+
Array
|
|
322
|
+
] },
|
|
323
|
+
motion: { type: Boolean },
|
|
324
|
+
onCancel: { type: Function },
|
|
325
|
+
placement: {},
|
|
326
|
+
size: {},
|
|
327
|
+
style: { type: [
|
|
328
|
+
Boolean,
|
|
329
|
+
null,
|
|
330
|
+
String,
|
|
331
|
+
Object,
|
|
332
|
+
Array
|
|
333
|
+
] },
|
|
334
|
+
title: { type: [
|
|
335
|
+
Object,
|
|
336
|
+
String,
|
|
337
|
+
Number,
|
|
338
|
+
Boolean,
|
|
339
|
+
null,
|
|
340
|
+
Array
|
|
341
|
+
] },
|
|
342
|
+
visible: { type: Boolean },
|
|
343
|
+
width: {},
|
|
344
|
+
zIndex: {}
|
|
345
|
+
},
|
|
346
|
+
emits: [
|
|
347
|
+
"afterVisibleChange",
|
|
348
|
+
"cancel",
|
|
349
|
+
"update:visible"
|
|
350
|
+
],
|
|
351
|
+
setup(e, { emit: t }) {
|
|
352
|
+
let n = e, r = t, o = E(), f = te(), m = h(), v = g(i, void 0), O = w(null), k = w(!1), A = /* @__PURE__ */ new Map(), j = !1, M, N = null, P = "";
|
|
353
|
+
function I(e) {
|
|
354
|
+
let t = String(e).replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), n = m?.vnode.props;
|
|
355
|
+
return !!(n && (Object.prototype.hasOwnProperty.call(n, e) || Object.prototype.hasOwnProperty.call(n, t)));
|
|
356
|
+
}
|
|
357
|
+
function L(e, t) {
|
|
358
|
+
let r = n[e];
|
|
359
|
+
if (I(e) && r !== void 0) return r;
|
|
360
|
+
let i = a.config.overrideDefaultProps?.SideSheet?.[e];
|
|
361
|
+
return i === void 0 ? t : i;
|
|
362
|
+
}
|
|
363
|
+
function R(e) {
|
|
364
|
+
let t = n[e];
|
|
365
|
+
if (I(e)) return t;
|
|
366
|
+
let r = a.config.overrideDefaultProps?.SideSheet?.[e];
|
|
367
|
+
return r === void 0 ? void 0 : r;
|
|
368
|
+
}
|
|
369
|
+
let z = c(() => L("visible", !1)), B = c(() => ({
|
|
370
|
+
canVerticalSetWidth: L("canVerticalSetWidth", !1),
|
|
371
|
+
closable: L("closable", !0),
|
|
372
|
+
closeOnEsc: L("closeOnEsc", !1),
|
|
373
|
+
disableScroll: L("disableScroll", !0),
|
|
374
|
+
keepDOM: L("keepDOM", !1),
|
|
375
|
+
mask: L("mask", !0),
|
|
376
|
+
maskClosable: L("maskClosable", !0),
|
|
377
|
+
motion: L("motion", !0),
|
|
378
|
+
placement: L("placement", "right"),
|
|
379
|
+
size: L("size", "small"),
|
|
380
|
+
visible: z.value,
|
|
381
|
+
zIndex: L("zIndex", 1e3)
|
|
382
|
+
})), V = ee({ displayNone: !z.value });
|
|
383
|
+
function ie() {
|
|
384
|
+
if (typeof document > "u" || O.value !== document.body || (N = document.body.style.overflow || "", P = document.body.style.width, N === "hidden")) return;
|
|
385
|
+
let e = Math.max(0, window.innerWidth - document.documentElement.clientWidth);
|
|
386
|
+
document.body.style.overflow = "hidden", document.body.style.width = `calc(${P || "100%"} - ${e}px)`;
|
|
387
|
+
}
|
|
388
|
+
function H() {
|
|
389
|
+
typeof document > "u" || N === null || (N !== "hidden" && (document.body.style.overflow = N, document.body.style.width = P), N = null);
|
|
390
|
+
}
|
|
391
|
+
let U = _(new ne({
|
|
392
|
+
getContext: () => void 0,
|
|
393
|
+
getContexts: () => ({}),
|
|
394
|
+
getProp: (e) => B.value[e],
|
|
395
|
+
getProps: () => B.value,
|
|
396
|
+
getState: (e) => V[e],
|
|
397
|
+
getStates: () => V,
|
|
398
|
+
setState: (e, t) => {
|
|
399
|
+
Object.assign(V, e), t?.();
|
|
400
|
+
},
|
|
401
|
+
getCache: (e) => A.get(e),
|
|
402
|
+
getCaches: () => A,
|
|
403
|
+
setCache: (e, t) => A.set(e, t),
|
|
404
|
+
stopPropagation: (e) => e?.stopPropagation?.(),
|
|
405
|
+
persistEvent: () => void 0,
|
|
406
|
+
disabledBodyScroll: ie,
|
|
407
|
+
enabledBodyScroll: H,
|
|
408
|
+
notifyCancel: (e) => {
|
|
409
|
+
r("update:visible", !1), r("cancel", e);
|
|
410
|
+
},
|
|
411
|
+
notifyVisibleChange: (e) => {
|
|
412
|
+
n.afterVisibleChange?.(e), r("afterVisibleChange", e);
|
|
413
|
+
},
|
|
414
|
+
setOnKeyDownListener: () => {
|
|
415
|
+
typeof window < "u" && window.addEventListener("keydown", Z);
|
|
416
|
+
},
|
|
417
|
+
removeKeyDownListener: () => {
|
|
418
|
+
typeof window < "u" && window.removeEventListener("keydown", Z);
|
|
419
|
+
},
|
|
420
|
+
toggleDisplayNone: (e) => {
|
|
421
|
+
V.displayNone = e;
|
|
422
|
+
}
|
|
423
|
+
})), W = c(() => v?.value), G = c(() => R("getPopupContainer") ?? W.value?.getPopupContainer), K = c(() => typeof document < "u" && O.value !== document.body), q = c(() => W.value?.direction ?? "ltr"), J = c(() => f.default?.()), ae = c(() => f.title?.() ?? (I("title") ? n.title : void 0)), oe = c(() => f.footer?.() ?? (I("footer") ? n.footer : void 0)), se = c(() => f.closeIcon?.() ?? (I("closeIcon") ? n.closeIcon : void 0)), ce = c(() => Object.fromEntries(Object.entries(o).filter(([e]) => e.startsWith("data-")))), le = c(() => [
|
|
424
|
+
o.class,
|
|
425
|
+
n.class,
|
|
426
|
+
n.className
|
|
427
|
+
]), Y = c(() => B.value.placement === "top" || B.value.placement === "bottom"), ue = c(() => {
|
|
428
|
+
let e = R("width");
|
|
429
|
+
return !Y.value || B.value.canVerticalSetWidth ? e : "100%";
|
|
430
|
+
}), de = c(() => Y.value ? R("height") || re.HEIGHT : "100%"), fe = c(() => B.value.motion ? z.value ? "semi-sidesheet-animation-mask_show" : "semi-sidesheet-animation-mask_hide" : void 0), pe = c(() => B.value.motion ? z.value ? `semi-sidesheet-animation-content_show_${B.value.placement}` : `semi-sidesheet-animation-content_hide_${B.value.placement}` : void 0), me = c(() => z.value || B.value.keepDOM || B.value.motion && !V.displayNone), he = c(() => ({
|
|
431
|
+
zIndex: B.value.zIndex,
|
|
432
|
+
...K.value ? { position: "static" } : {}
|
|
433
|
+
}));
|
|
434
|
+
function X() {
|
|
435
|
+
if (typeof document > "u") return;
|
|
436
|
+
let e = G.value, t = e?.();
|
|
437
|
+
O.value = t instanceof HTMLElement ? t : e ? null : document.body;
|
|
438
|
+
}
|
|
439
|
+
function Z(e) {
|
|
440
|
+
U.handleKeyDown(e);
|
|
441
|
+
}
|
|
442
|
+
function Q() {
|
|
443
|
+
clearTimeout(M);
|
|
444
|
+
let e = V.displayNone;
|
|
445
|
+
X(), V.displayNone = !1, j = !0, U.beforeShow(), e && U.onVisibleChange(!0);
|
|
446
|
+
}
|
|
447
|
+
function $() {
|
|
448
|
+
!j || z.value || V.displayNone || (clearTimeout(M), U.toggleDisplayNone(!0), j = !1, U.onVisibleChange(!1));
|
|
449
|
+
}
|
|
450
|
+
function ge() {
|
|
451
|
+
if (j) {
|
|
452
|
+
if (U.afterHide(), !B.value.motion) {
|
|
453
|
+
$();
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
clearTimeout(M), M = setTimeout($, 180);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
function _e() {
|
|
460
|
+
z.value || $();
|
|
461
|
+
}
|
|
462
|
+
return S(() => {
|
|
463
|
+
k.value = !0, X(), z.value && Q();
|
|
464
|
+
}), D(z, (e, t) => {
|
|
465
|
+
!k.value || e === t || (e ? Q() : ge());
|
|
466
|
+
}), D(G, () => {
|
|
467
|
+
k.value && X();
|
|
468
|
+
}), x(() => {
|
|
469
|
+
clearTimeout(M), j ? U.destroy() : H();
|
|
470
|
+
}), (e, t) => (C(), l(s, {
|
|
471
|
+
to: O.value ?? "body",
|
|
472
|
+
disabled: O.value === null
|
|
473
|
+
}, [me.value ? (C(), d("div", {
|
|
474
|
+
key: 0,
|
|
475
|
+
class: y(["semi-portal", { "semi-portal-rtl": q.value === "rtl" }]),
|
|
476
|
+
style: b(he.value)
|
|
477
|
+
}, [p(F, {
|
|
478
|
+
"aria-label": R("aria-label"),
|
|
479
|
+
body: J.value,
|
|
480
|
+
"body-style": R("bodyStyle"),
|
|
481
|
+
class: y(le.value),
|
|
482
|
+
closable: B.value.closable,
|
|
483
|
+
"close-icon": se.value,
|
|
484
|
+
"custom-container": K.value,
|
|
485
|
+
"data-attrs": ce.value,
|
|
486
|
+
"dialog-class": pe.value,
|
|
487
|
+
footer: oe.value,
|
|
488
|
+
"header-style": R("headerStyle"),
|
|
489
|
+
height: de.value,
|
|
490
|
+
hidden: B.value.keepDOM && T(V).displayNone,
|
|
491
|
+
mask: B.value.mask,
|
|
492
|
+
"mask-class": fe.value,
|
|
493
|
+
"mask-closable": B.value.maskClosable,
|
|
494
|
+
"mask-style": R("maskStyle"),
|
|
495
|
+
"outer-style": [T(o).style, R("style")],
|
|
496
|
+
placement: B.value.placement,
|
|
497
|
+
rtl: q.value === "rtl",
|
|
498
|
+
size: B.value.size,
|
|
499
|
+
title: ae.value,
|
|
500
|
+
width: ue.value,
|
|
501
|
+
"wrapper-width": R("width"),
|
|
502
|
+
onAnimationEnd: _e,
|
|
503
|
+
onClose: t[0] ||= (e) => T(U).handleCancel(e)
|
|
504
|
+
}, null, 8, [
|
|
505
|
+
"aria-label",
|
|
506
|
+
"body",
|
|
507
|
+
"body-style",
|
|
508
|
+
"class",
|
|
509
|
+
"closable",
|
|
510
|
+
"close-icon",
|
|
511
|
+
"custom-container",
|
|
512
|
+
"data-attrs",
|
|
513
|
+
"dialog-class",
|
|
514
|
+
"footer",
|
|
515
|
+
"header-style",
|
|
516
|
+
"height",
|
|
517
|
+
"hidden",
|
|
518
|
+
"mask",
|
|
519
|
+
"mask-class",
|
|
520
|
+
"mask-closable",
|
|
521
|
+
"mask-style",
|
|
522
|
+
"outer-style",
|
|
523
|
+
"placement",
|
|
524
|
+
"rtl",
|
|
525
|
+
"size",
|
|
526
|
+
"title",
|
|
527
|
+
"width",
|
|
528
|
+
"wrapper-width"
|
|
529
|
+
])], 6)) : u("", !0)], 8, ["to", "disabled"]));
|
|
530
|
+
}
|
|
531
|
+
}), L = [
|
|
532
|
+
"top",
|
|
533
|
+
"right",
|
|
534
|
+
"bottom",
|
|
535
|
+
"left"
|
|
536
|
+
], R = [
|
|
537
|
+
"small",
|
|
538
|
+
"medium",
|
|
539
|
+
"large"
|
|
540
|
+
], z = I;
|
|
541
|
+
//#endregion
|
|
542
|
+
export { I as i, L as n, R as r, z as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SkeletonProps, SkeletonSlots } from './types';
|
|
2
|
+
type __VLS_Slots = SkeletonSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<SkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
4
|
+
className: import('vue').HTMLAttributes["class"];
|
|
5
|
+
active: boolean;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SkeletonAvatarProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SkeletonAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonAvatarProps> & Readonly<{}>, {
|
|
3
|
+
className: import('vue').HTMLAttributes["class"];
|
|
4
|
+
size: import('./types').SkeletonAvatarSize;
|
|
5
|
+
prefixCls: string;
|
|
6
|
+
shape: import('./types').SkeletonAvatarShape;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonBasicProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SkeletonBasicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonBasicProps> & Readonly<{}>, {
|
|
3
|
+
className: import('vue').HTMLAttributes["class"];
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonBasicProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SkeletonBasicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonBasicProps> & Readonly<{}>, {
|
|
3
|
+
className: import('vue').HTMLAttributes["class"];
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -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,8 @@
|
|
|
1
|
+
import { SkeletonParagraphProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SkeletonParagraphProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonParagraphProps> & Readonly<{}>, {
|
|
3
|
+
className: import('vue').HTMLAttributes["class"];
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
rows: number;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkeletonBasicProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SkeletonBasicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonBasicProps> & Readonly<{}>, {
|
|
3
|
+
className: import('vue').HTMLAttributes["class"];
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { SkeletonAvatarProps, SkeletonBasicProps, SkeletonParagraphProps, SkeletonProps } from './types';
|
|
3
|
+
export type SkeletonCompoundComponent = DefineComponent<SkeletonProps> & {
|
|
4
|
+
Avatar: DefineComponent<SkeletonAvatarProps>;
|
|
5
|
+
Button: DefineComponent<SkeletonBasicProps>;
|
|
6
|
+
Image: DefineComponent<SkeletonBasicProps>;
|
|
7
|
+
Paragraph: DefineComponent<SkeletonParagraphProps>;
|
|
8
|
+
Title: DefineComponent<SkeletonBasicProps>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SkeletonAvatar: DefineComponent<SkeletonAvatarProps>;
|
|
11
|
+
export declare const SkeletonButton: DefineComponent<SkeletonBasicProps>;
|
|
12
|
+
export declare const SkeletonImage: DefineComponent<SkeletonBasicProps>;
|
|
13
|
+
export declare const SkeletonParagraph: DefineComponent<SkeletonParagraphProps>;
|
|
14
|
+
export declare const SkeletonTitle: DefineComponent<SkeletonBasicProps>;
|
|
15
|
+
export declare const Skeleton: SkeletonCompoundComponent;
|
|
16
|
+
export { SKELETON_AVATAR_SHAPES, SKELETON_AVATAR_SIZES } from './types';
|
|
17
|
+
export type { AvatarProps, GenericProps, ParagraphProps, SkeletonAvatarProps, SkeletonAvatarShape, SkeletonAvatarSize, SkeletonBasicProps, SkeletonGenericProps, SkeletonParagraphProps, SkeletonProps, SkeletonSlots, } from './types';
|
|
18
|
+
export default Skeleton;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../skeleton-p61lfhoz.js";
|
|
2
|
+
export { o as SKELETON_AVATAR_SHAPES, t as SKELETON_AVATAR_SIZES, s as Skeleton, s as default, r as SkeletonAvatar, a as SkeletonButton, n as SkeletonImage, e as SkeletonParagraph, i as SkeletonTitle };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HTMLAttributes, StyleValue, VNodeChild } from 'vue';
|
|
2
|
+
export declare const SKELETON_AVATAR_SIZES: readonly ["extra-extra-small", "extra-small", "small", "default", "medium", "large", "extra-large"];
|
|
3
|
+
export declare const SKELETON_AVATAR_SHAPES: readonly ["circle", "square"];
|
|
4
|
+
export type SkeletonAvatarSize = (typeof SKELETON_AVATAR_SIZES)[number];
|
|
5
|
+
export type SkeletonAvatarShape = (typeof SKELETON_AVATAR_SHAPES)[number];
|
|
6
|
+
export interface SkeletonProps {
|
|
7
|
+
active?: boolean;
|
|
8
|
+
class?: HTMLAttributes['class'];
|
|
9
|
+
className?: HTMLAttributes['class'];
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
placeholder?: VNodeChild;
|
|
12
|
+
style?: StyleValue;
|
|
13
|
+
}
|
|
14
|
+
export interface SkeletonSlots {
|
|
15
|
+
default?: () => VNodeChild;
|
|
16
|
+
placeholder?: () => VNodeChild;
|
|
17
|
+
}
|
|
18
|
+
export interface SkeletonBasicProps {
|
|
19
|
+
class?: HTMLAttributes['class'];
|
|
20
|
+
className?: HTMLAttributes['class'];
|
|
21
|
+
prefixCls?: string;
|
|
22
|
+
style?: StyleValue;
|
|
23
|
+
}
|
|
24
|
+
export interface SkeletonAvatarProps extends SkeletonBasicProps {
|
|
25
|
+
shape?: SkeletonAvatarShape;
|
|
26
|
+
size?: SkeletonAvatarSize;
|
|
27
|
+
}
|
|
28
|
+
export interface SkeletonParagraphProps extends SkeletonBasicProps {
|
|
29
|
+
rows?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface SkeletonGenericProps extends SkeletonAvatarProps {
|
|
32
|
+
type?: string;
|
|
33
|
+
}
|
|
34
|
+
export type AvatarProps = SkeletonAvatarProps;
|
|
35
|
+
export type ParagraphProps = SkeletonParagraphProps;
|
|
36
|
+
export type GenericProps = SkeletonGenericProps;
|