@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,20 @@
|
|
|
1
|
+
import { HTMLAttributes, StyleValue, VNodeChild } from 'vue';
|
|
2
|
+
export declare const SPIN_SIZES: readonly ["small", "middle", "large"];
|
|
3
|
+
export type SpinSize = (typeof SPIN_SIZES)[number];
|
|
4
|
+
export interface SpinProps {
|
|
5
|
+
childStyle?: StyleValue;
|
|
6
|
+
class?: HTMLAttributes['class'];
|
|
7
|
+
className?: HTMLAttributes['class'];
|
|
8
|
+
delay?: number;
|
|
9
|
+
indicator?: VNodeChild;
|
|
10
|
+
size?: SpinSize;
|
|
11
|
+
spinning?: boolean;
|
|
12
|
+
style?: StyleValue;
|
|
13
|
+
tip?: VNodeChild;
|
|
14
|
+
wrapperClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SpinSlots {
|
|
17
|
+
default?: () => VNodeChild;
|
|
18
|
+
indicator?: () => VNodeChild;
|
|
19
|
+
tip?: () => VNodeChild;
|
|
20
|
+
}
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {
|
|
3
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
4
|
+
get: ((e) => i[e]).bind(null, d),
|
|
5
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
6
|
+
});
|
|
7
|
+
return e;
|
|
8
|
+
}, c = (n, r, o) => (o = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
9
|
+
value: n,
|
|
10
|
+
enumerable: !0
|
|
11
|
+
}) : o, n)), l = /* @__PURE__ */ c((/* @__PURE__ */ o(((e, t) => {
|
|
12
|
+
var n = 11, r = 1 / (n - 1), i = typeof Float32Array == "function";
|
|
13
|
+
function a(e, t) {
|
|
14
|
+
return 1 - 3 * t + 3 * e;
|
|
15
|
+
}
|
|
16
|
+
function o(e, t) {
|
|
17
|
+
return 3 * t - 6 * e;
|
|
18
|
+
}
|
|
19
|
+
function s(e) {
|
|
20
|
+
return 3 * e;
|
|
21
|
+
}
|
|
22
|
+
function c(e, t, n) {
|
|
23
|
+
return ((a(t, n) * e + o(t, n)) * e + s(t)) * e;
|
|
24
|
+
}
|
|
25
|
+
function l(e, t, n) {
|
|
26
|
+
return 3 * a(t, n) * e * e + 2 * o(t, n) * e + s(t);
|
|
27
|
+
}
|
|
28
|
+
function u(e, t, n, r, i) {
|
|
29
|
+
var a, o, s = 0;
|
|
30
|
+
do
|
|
31
|
+
o = t + (n - t) / 2, a = c(o, r, i) - e, a > 0 ? n = o : t = o;
|
|
32
|
+
while (Math.abs(a) > 1e-7 && ++s < 10);
|
|
33
|
+
return o;
|
|
34
|
+
}
|
|
35
|
+
function d(e, t, n, r) {
|
|
36
|
+
for (var i = 0; i < 4; ++i) {
|
|
37
|
+
var a = l(t, n, r);
|
|
38
|
+
if (a === 0) return t;
|
|
39
|
+
var o = c(t, n, r) - e;
|
|
40
|
+
t -= o / a;
|
|
41
|
+
}
|
|
42
|
+
return t;
|
|
43
|
+
}
|
|
44
|
+
function f(e) {
|
|
45
|
+
return e;
|
|
46
|
+
}
|
|
47
|
+
t.exports = function(e, t, a, o) {
|
|
48
|
+
if (!(0 <= e && e <= 1 && 0 <= a && a <= 1)) throw Error("bezier x values must be in [0, 1] range");
|
|
49
|
+
if (e === t && a === o) return f;
|
|
50
|
+
for (var s = i ? new Float32Array(n) : Array(n), p = 0; p < n; ++p) s[p] = c(p * r, e, a);
|
|
51
|
+
function m(t) {
|
|
52
|
+
for (var i = 0, o = 1, c = n - 1; o !== c && s[o] <= t; ++o) i += r;
|
|
53
|
+
--o;
|
|
54
|
+
var f = (t - s[o]) / (s[o + 1] - s[o]), p = i + f * r, m = l(p, e, a);
|
|
55
|
+
return m >= .001 ? d(t, p, e, a) : m === 0 ? p : u(t, i, i + r, e, a);
|
|
56
|
+
}
|
|
57
|
+
return function(e) {
|
|
58
|
+
return e === 0 ? 0 : e === 1 ? 1 : c(m(e), t, o);
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
})))());
|
|
62
|
+
function u(e, t, n) {
|
|
63
|
+
return Math.min(Math.max(e, t), n);
|
|
64
|
+
}
|
|
65
|
+
function d(e) {
|
|
66
|
+
let t = /\(([^)]+)\)/.exec(e);
|
|
67
|
+
return t ? t[1].split(",").map((e) => parseFloat(e)) : [];
|
|
68
|
+
}
|
|
69
|
+
function f(e = 1, t = .5) {
|
|
70
|
+
let n = u(e, 1, 10), r = u(t, .1, 2);
|
|
71
|
+
return (e) => e === 0 || e === 1 ? e : -n * 2 ** (10 * (e - 1)) * Math.sin((e - 1 - r / (Math.PI * 2) * Math.asin(1 / n)) * (Math.PI * 2) / r);
|
|
72
|
+
}
|
|
73
|
+
var p = (() => {
|
|
74
|
+
let e = [
|
|
75
|
+
"Quad",
|
|
76
|
+
"Cubic",
|
|
77
|
+
"Quart",
|
|
78
|
+
"Quint",
|
|
79
|
+
"Sine",
|
|
80
|
+
"Expo",
|
|
81
|
+
"Circ",
|
|
82
|
+
"Back",
|
|
83
|
+
"Elastic"
|
|
84
|
+
], t = {
|
|
85
|
+
In: [
|
|
86
|
+
[
|
|
87
|
+
.55,
|
|
88
|
+
.085,
|
|
89
|
+
.68,
|
|
90
|
+
.53
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
.55,
|
|
94
|
+
.055,
|
|
95
|
+
.675,
|
|
96
|
+
.19
|
|
97
|
+
],
|
|
98
|
+
[
|
|
99
|
+
.895,
|
|
100
|
+
.03,
|
|
101
|
+
.685,
|
|
102
|
+
.22
|
|
103
|
+
],
|
|
104
|
+
[
|
|
105
|
+
.755,
|
|
106
|
+
.05,
|
|
107
|
+
.855,
|
|
108
|
+
.06
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
.47,
|
|
112
|
+
0,
|
|
113
|
+
.745,
|
|
114
|
+
.715
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
.95,
|
|
118
|
+
.05,
|
|
119
|
+
.795,
|
|
120
|
+
.035
|
|
121
|
+
],
|
|
122
|
+
[
|
|
123
|
+
.6,
|
|
124
|
+
.04,
|
|
125
|
+
.98,
|
|
126
|
+
.335
|
|
127
|
+
],
|
|
128
|
+
[
|
|
129
|
+
.6,
|
|
130
|
+
-.28,
|
|
131
|
+
.735,
|
|
132
|
+
.045
|
|
133
|
+
],
|
|
134
|
+
f
|
|
135
|
+
],
|
|
136
|
+
Out: [
|
|
137
|
+
[
|
|
138
|
+
.25,
|
|
139
|
+
.46,
|
|
140
|
+
.45,
|
|
141
|
+
.94
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
.215,
|
|
145
|
+
.61,
|
|
146
|
+
.355,
|
|
147
|
+
1
|
|
148
|
+
],
|
|
149
|
+
[
|
|
150
|
+
.165,
|
|
151
|
+
.84,
|
|
152
|
+
.44,
|
|
153
|
+
1
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
.23,
|
|
157
|
+
1,
|
|
158
|
+
.32,
|
|
159
|
+
1
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
.39,
|
|
163
|
+
.575,
|
|
164
|
+
.565,
|
|
165
|
+
1
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
.19,
|
|
169
|
+
1,
|
|
170
|
+
.22,
|
|
171
|
+
1
|
|
172
|
+
],
|
|
173
|
+
[
|
|
174
|
+
.075,
|
|
175
|
+
.82,
|
|
176
|
+
.165,
|
|
177
|
+
1
|
|
178
|
+
],
|
|
179
|
+
[
|
|
180
|
+
.175,
|
|
181
|
+
.885,
|
|
182
|
+
.32,
|
|
183
|
+
1.275
|
|
184
|
+
],
|
|
185
|
+
(e, t) => (n) => 1 - f(e, t)(1 - n)
|
|
186
|
+
],
|
|
187
|
+
InOut: [
|
|
188
|
+
[
|
|
189
|
+
.455,
|
|
190
|
+
.03,
|
|
191
|
+
.515,
|
|
192
|
+
.955
|
|
193
|
+
],
|
|
194
|
+
[
|
|
195
|
+
.645,
|
|
196
|
+
.045,
|
|
197
|
+
.355,
|
|
198
|
+
1
|
|
199
|
+
],
|
|
200
|
+
[
|
|
201
|
+
.77,
|
|
202
|
+
0,
|
|
203
|
+
.175,
|
|
204
|
+
1
|
|
205
|
+
],
|
|
206
|
+
[
|
|
207
|
+
.86,
|
|
208
|
+
0,
|
|
209
|
+
.07,
|
|
210
|
+
1
|
|
211
|
+
],
|
|
212
|
+
[
|
|
213
|
+
.445,
|
|
214
|
+
.05,
|
|
215
|
+
.55,
|
|
216
|
+
.95
|
|
217
|
+
],
|
|
218
|
+
[
|
|
219
|
+
1,
|
|
220
|
+
0,
|
|
221
|
+
0,
|
|
222
|
+
1
|
|
223
|
+
],
|
|
224
|
+
[
|
|
225
|
+
.785,
|
|
226
|
+
.135,
|
|
227
|
+
.15,
|
|
228
|
+
.86
|
|
229
|
+
],
|
|
230
|
+
[
|
|
231
|
+
.68,
|
|
232
|
+
-.55,
|
|
233
|
+
.265,
|
|
234
|
+
1.55
|
|
235
|
+
],
|
|
236
|
+
(e, t) => (n) => n < .5 ? f(e, t)(n * 2) / 2 : 1 - f(e, t)(n * -2 + 2) / 2
|
|
237
|
+
]
|
|
238
|
+
}, n = { linear: [
|
|
239
|
+
.25,
|
|
240
|
+
.25,
|
|
241
|
+
.75,
|
|
242
|
+
.75
|
|
243
|
+
] };
|
|
244
|
+
for (let r of Object.keys(t)) t[r].forEach((t, i) => {
|
|
245
|
+
n["ease" + r + e[i]] = t;
|
|
246
|
+
});
|
|
247
|
+
return n;
|
|
248
|
+
})();
|
|
249
|
+
function m(e) {
|
|
250
|
+
if (typeof e == "function") return e;
|
|
251
|
+
e = !e || typeof e != "string" ? "linear" : e.trim();
|
|
252
|
+
let t = e.split("(")[0], n = d(e), r;
|
|
253
|
+
return t === "cubic-bezier" || t === "cubicBezier" ? (0, l.default)(...n.length ? n : p.linear) : ((!t || typeof t != "string" || typeof t == "string" && p[t] == null) && (t = "linear"), r = p[t], typeof r == "function" ? r(...n) : n.length ? (0, l.default)(...n) : (0, l.default)(...r));
|
|
254
|
+
}
|
|
255
|
+
//#endregion
|
|
256
|
+
//#region bundled-foundation
|
|
257
|
+
var h = class {
|
|
258
|
+
constructor() {
|
|
259
|
+
this._eventMap = /* @__PURE__ */ new Map();
|
|
260
|
+
}
|
|
261
|
+
on(e, t) {
|
|
262
|
+
return e && typeof t == "function" && (this._eventMap.has(e) || this._eventMap.set(e, []), this._eventMap.get(e).push(t)), this;
|
|
263
|
+
}
|
|
264
|
+
once(e, t) {
|
|
265
|
+
if (e && typeof t == "function") {
|
|
266
|
+
let n = (...r) => {
|
|
267
|
+
t(...r), this.off(e, n);
|
|
268
|
+
};
|
|
269
|
+
this.on(e, n);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
off(e, t) {
|
|
273
|
+
if (e) {
|
|
274
|
+
if (typeof t == "function") {
|
|
275
|
+
let n = this._eventMap.get(e);
|
|
276
|
+
if (Array.isArray(n) && n.length) {
|
|
277
|
+
let e = -1;
|
|
278
|
+
for (; (e = n.findIndex((e) => e === t)) > -1;) n.splice(e, 1);
|
|
279
|
+
}
|
|
280
|
+
} else t ?? this._eventMap.delete(e);
|
|
281
|
+
}
|
|
282
|
+
return this;
|
|
283
|
+
}
|
|
284
|
+
emit(e, ...t) {
|
|
285
|
+
return this._eventMap.has(e) ? (this._eventMap.get(e).forEach((e) => e(...t)), !0) : !1;
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region bundled-foundation
|
|
290
|
+
function g(e) {
|
|
291
|
+
return !!(e && typeof e == "object" && (e.duration > 0 || typeof e.easing == "string" || typeof e.easing == "function"));
|
|
292
|
+
}
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region bundled-foundation
|
|
295
|
+
function _(e, t, n, r, i) {
|
|
296
|
+
for (let a of Object.keys(t)) {
|
|
297
|
+
let o = t[a], s = typeof o == "number" ? o : o.val;
|
|
298
|
+
if (!(typeof o == "object" && o.done)) {
|
|
299
|
+
if (g(o) && r && i && o.duration) {
|
|
300
|
+
if (o.duration + r <= i || s !== e[a]) return !1;
|
|
301
|
+
} else if (typeof n[a] == "number" && n[a] !== 0) return !1;
|
|
302
|
+
if (e[a] !== s) return !1;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
return !0;
|
|
306
|
+
}
|
|
307
|
+
//#endregion
|
|
308
|
+
//#region bundled-foundation
|
|
309
|
+
function v(e) {
|
|
310
|
+
let t = {};
|
|
311
|
+
for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = typeof e[n] == "number" ? e[n] : e[n].val);
|
|
312
|
+
return t;
|
|
313
|
+
}
|
|
314
|
+
//#endregion
|
|
315
|
+
//#region bundled-foundation
|
|
316
|
+
var y = [0, 0];
|
|
317
|
+
function b(e, t, n, r, i, a, o) {
|
|
318
|
+
let s = n + (-i * (t - r) + -a * n) * e, c = t + s * e;
|
|
319
|
+
return Math.abs(s) < o && Math.abs(c - r) < o ? (y[0] = r, y[1] = 0, y) : (y[0] = c, y[1] = s, y);
|
|
320
|
+
}
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region bundled-foundation
|
|
323
|
+
function x(e) {
|
|
324
|
+
let t = {}, n = e && Object.keys(e) || [];
|
|
325
|
+
for (let e of n) t[e] = 0;
|
|
326
|
+
return t;
|
|
327
|
+
}
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region bundled-foundation
|
|
330
|
+
var S = {
|
|
331
|
+
...{
|
|
332
|
+
default: {
|
|
333
|
+
tension: 170,
|
|
334
|
+
friction: 26
|
|
335
|
+
},
|
|
336
|
+
gentle: {
|
|
337
|
+
tension: 120,
|
|
338
|
+
friction: 14
|
|
339
|
+
},
|
|
340
|
+
wobbly: {
|
|
341
|
+
tension: 180,
|
|
342
|
+
friction: 12
|
|
343
|
+
},
|
|
344
|
+
stiff: {
|
|
345
|
+
tension: 210,
|
|
346
|
+
friction: 20
|
|
347
|
+
},
|
|
348
|
+
slow: {
|
|
349
|
+
tension: 280,
|
|
350
|
+
friction: 60
|
|
351
|
+
},
|
|
352
|
+
molasses: {
|
|
353
|
+
tension: 280,
|
|
354
|
+
friction: 120
|
|
355
|
+
}
|
|
356
|
+
}.default,
|
|
357
|
+
precision: .01
|
|
358
|
+
};
|
|
359
|
+
function C(e, t = {}) {
|
|
360
|
+
if (g(t)) {
|
|
361
|
+
let e = m(t.easing), n = typeof t.duration == "number" && t.duration > 0 ? t.duration : 1e3;
|
|
362
|
+
t = {
|
|
363
|
+
...t,
|
|
364
|
+
easing: e,
|
|
365
|
+
duration: n
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
let n = {
|
|
369
|
+
...S,
|
|
370
|
+
...t,
|
|
371
|
+
done: !1
|
|
372
|
+
};
|
|
373
|
+
if (e && typeof e == "object" && "val" in e) {
|
|
374
|
+
if (g(e)) {
|
|
375
|
+
let n = m(e.easing), r = typeof e.duration == "number" && e.duration > 0 ? e.duration : parseInt(t.duration) || 1e3;
|
|
376
|
+
e = {
|
|
377
|
+
...e,
|
|
378
|
+
easing: n,
|
|
379
|
+
duration: r
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
n = {
|
|
383
|
+
...n,
|
|
384
|
+
...e
|
|
385
|
+
};
|
|
386
|
+
} else n = {
|
|
387
|
+
...n,
|
|
388
|
+
val: e
|
|
389
|
+
};
|
|
390
|
+
return n;
|
|
391
|
+
}
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region bundled-foundation
|
|
394
|
+
var w = () => Date.now(), T = 1e3 / 60, E = class extends h {
|
|
395
|
+
constructor(e = {}, t = {}) {
|
|
396
|
+
super(), this._props = { ...e }, this._config = { ...t }, this.initStates();
|
|
397
|
+
}
|
|
398
|
+
_wrapConfig(e, t) {
|
|
399
|
+
t = t && typeof t == "object" ? t : this._config;
|
|
400
|
+
let n = {};
|
|
401
|
+
for (let r of Object.keys(e)) n[r] = C(e[r], t);
|
|
402
|
+
return n;
|
|
403
|
+
}
|
|
404
|
+
initStates(e, t) {
|
|
405
|
+
e = e && typeof e == "object" ? e : this._props, t = t && typeof t == "object" ? t : this._config;
|
|
406
|
+
let { from: n, to: r } = e;
|
|
407
|
+
if (this._from = {}, n && typeof n) for (let e of Object.keys(n)) this._from[e] = typeof n[e] == "object" && n[e].val ? n[e].val : n[e];
|
|
408
|
+
this._to = this._wrapConfig(r, t), this._delay = parseInt(t.delay) || 0;
|
|
409
|
+
let i = this._from && v(this._from) || v(this._to), a = x(i);
|
|
410
|
+
this._currentStyle = { ...i }, this._currentVelocity = { ...a }, this._lastIdealStyle = { ...i }, this._lastIdealVelocity = { ...a }, this.resetPlayStates(), this._frameCount = 0, this._prevTime = 0;
|
|
411
|
+
}
|
|
412
|
+
animate() {
|
|
413
|
+
this._timer ??= requestAnimationFrame((e) => {
|
|
414
|
+
let t = w();
|
|
415
|
+
if (_(this._currentStyle, this._to, this._currentVelocity, this._startedTime || t, t) || this._ended || this._stopped) {
|
|
416
|
+
this._wasAnimating && !this._ended && !this._stopped && (this._timer = setTimeout(() => {
|
|
417
|
+
clearTimeout(this._timer), this._timer = null, this._ended = !0, this.emit("rest", this.getCurrentStates());
|
|
418
|
+
}, T)), this.resetPlayStates();
|
|
419
|
+
return;
|
|
420
|
+
}
|
|
421
|
+
this._started || (this._started = !0, this.emit("start", this.getCurrentStates())), this._stopped = !1, this._paused = !1, this._wasAnimating = !0, this._startedTime === 0 && (this._startedTime = t);
|
|
422
|
+
let n = t, r = n - this._prevTime;
|
|
423
|
+
this._prevTime = n, n - this._startedTime < this._delay && (this._timer = null, this.animate());
|
|
424
|
+
let i = {}, a = {}, o = {}, s = {}, c = this._to && Object.keys(this._to) || [];
|
|
425
|
+
for (let e of c) {
|
|
426
|
+
let t = this._to[e];
|
|
427
|
+
this._accumulatedTime[e] = typeof this._accumulatedTime[e] == "number" ? this._accumulatedTime[e] + r : r;
|
|
428
|
+
let c = this._from[e] != null && typeof this._from[e] == "object" ? this._from[e].val : this._from[e], l = t.val;
|
|
429
|
+
if (typeof t == "number") o[e] = t, s[e] = 0, i[e] = t, a[e] = 0;
|
|
430
|
+
else {
|
|
431
|
+
let r = this._lastIdealStyle[e], u = this._lastIdealVelocity[e];
|
|
432
|
+
if (g(this._config) || g(t)) {
|
|
433
|
+
let { easing: a, duration: s } = t;
|
|
434
|
+
r = c + a((n - this._startedTime) / s) * (l - c), n >= this._startedTime + s && (r = l, t.done = !0), i[e] = r, o[e] = r;
|
|
435
|
+
} else if (l != null && l === this._currentStyle[e]) o[e] = l, s[e] = 0, i[e] = l, a[e] = 0;
|
|
436
|
+
else {
|
|
437
|
+
let n = (this._accumulatedTime[e] - Math.floor(this._accumulatedTime[e] / T) * T) / T, c = Math.floor(this._accumulatedTime[e] / T);
|
|
438
|
+
for (let e = 0; e < c; e++) [r, u] = b(T / 1e3, r, u, t.val, t.tension, t.friction, t.precision);
|
|
439
|
+
let [l, d] = b(T / 1e3, r, u, t.val, t.tension, t.friction, t.precision);
|
|
440
|
+
o[e] = r + (l - r) * n, s[e] = u + (d - u) * n, i[e] = r, a[e] = u, this._accumulatedTime[e] -= c * T;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
this._timer = null, this._currentStyle = { ...o }, this._currentVelocity = { ...s }, this._lastIdealStyle = { ...i }, this._lastIdealVelocity = { ...a }, this._destroyed || (this.emit("frame", this.getCurrentStates()), this.animate());
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
start() {
|
|
448
|
+
this._prevTime = w(), this._startedTime = w(), this.animate();
|
|
449
|
+
}
|
|
450
|
+
end() {
|
|
451
|
+
this._ended || (this._ended = !0, this._currentStyle = this.getFinalStates(), this.emit("frame", this.getFinalStates()), this.emit("rest", this.getFinalStates())), this.destroy();
|
|
452
|
+
}
|
|
453
|
+
pause() {
|
|
454
|
+
this._paused || (this._pausedTime = w(), this._paused = !0, this.emit("pause", this.getCurrentStates()), this.destroy(), this._destroyed = !1);
|
|
455
|
+
}
|
|
456
|
+
resume() {
|
|
457
|
+
if (this._started && this._paused) {
|
|
458
|
+
let e = w() - this._pausedTime;
|
|
459
|
+
this._paused = !1, this._startedTime += e, this._prevTime += e, this._pausedTime = 0, this.emit("resume", this.getCurrentStates()), this.animate();
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
stop() {
|
|
463
|
+
this.destroy(), this._stopped || (this._stopped = !0, this.emit("stop", this.getInitialStates()), this.initStates());
|
|
464
|
+
}
|
|
465
|
+
destroy() {
|
|
466
|
+
cancelAnimationFrame(this._timer), clearTimeout(this._timer), this._timer = null, this._destroyed = !0;
|
|
467
|
+
}
|
|
468
|
+
resetPlayStates() {
|
|
469
|
+
this._started = !1, this._stopped = !1, this._ended = !1, this._paused = !1, this._destroyed = !1, this._timer = null, this._wasAnimating = !1, this._accumulatedTime = {}, this._startedTime = 0, this._pausedTime = 0;
|
|
470
|
+
}
|
|
471
|
+
reset() {
|
|
472
|
+
this.destroy(), this.initStates();
|
|
473
|
+
}
|
|
474
|
+
reverse() {
|
|
475
|
+
this.destroy();
|
|
476
|
+
let e = { ...this._props }, [t, n] = [e.to, e.from];
|
|
477
|
+
e.from = t, e.to = n, this._props = { ...e }, this.initStates();
|
|
478
|
+
}
|
|
479
|
+
getCurrentStates() {
|
|
480
|
+
return { ...this._currentStyle };
|
|
481
|
+
}
|
|
482
|
+
getInitialStates() {
|
|
483
|
+
return { ...v(this._props.from) };
|
|
484
|
+
}
|
|
485
|
+
getFinalStates() {
|
|
486
|
+
return { ...v(this._props.to) };
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
//#endregion
|
|
490
|
+
export { o as n, c as r, E as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { InternalStepProps, StepSlots, StepsStatus } from './types';
|
|
2
|
+
type __VLS_Slots = StepSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<InternalStepProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
click: (event: MouseEvent) => any;
|
|
5
|
+
keyDown: (event: KeyboardEvent) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<InternalStepProps> & Readonly<{
|
|
7
|
+
onClick?: (event: MouseEvent) => any;
|
|
8
|
+
onKeyDown?: (event: KeyboardEvent) => any;
|
|
9
|
+
}>, {
|
|
10
|
+
size: import('./types').StepsSize | "";
|
|
11
|
+
done: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
status: StepsStatus;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StepsProps, StepsSlots, StepsStatus, StepsType } from './types';
|
|
2
|
+
type __VLS_Slots = StepsSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StepsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
change: (current: number) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<StepsProps> & Readonly<{
|
|
6
|
+
onChange?: (current: number) => any;
|
|
7
|
+
}>, {
|
|
8
|
+
size: import('./types').StepsSize;
|
|
9
|
+
type: StepsType;
|
|
10
|
+
prefixCls: string;
|
|
11
|
+
initial: number;
|
|
12
|
+
direction: import('./types').StepsDirection;
|
|
13
|
+
status: StepsStatus;
|
|
14
|
+
current: number;
|
|
15
|
+
hasLine: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}>, () => string | number | boolean | void | import('vue').VNodeArrayChildren | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
content: {
|
|
11
|
+
type: PropType<VNodeChild>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
content: VNodeChild;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { StepProps, StepsProps } from './types';
|
|
3
|
+
export type StepsCompoundComponent = DefineComponent<StepsProps> & {
|
|
4
|
+
Step: DefineComponent<StepProps>;
|
|
5
|
+
};
|
|
6
|
+
export declare const Step: DefineComponent<StepProps>;
|
|
7
|
+
export declare const Steps: StepsCompoundComponent;
|
|
8
|
+
export default Steps;
|
|
9
|
+
export type { StepEmits, StepProps, StepSlots, StepsDirection, StepsEmits, StepsProps, StepsSize, StepsSlots, StepsStatus, StepsType, } from './types';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { CSSProperties, HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
export type StepsType = 'fill' | 'basic' | 'nav';
|
|
3
|
+
export type StepsDirection = 'horizontal' | 'vertical';
|
|
4
|
+
export type StepsStatus = 'wait' | 'process' | 'finish' | 'error' | 'warning';
|
|
5
|
+
export type StepsSize = 'default' | 'small';
|
|
6
|
+
export interface StepsProps {
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
class?: HTMLAttributes['class'];
|
|
9
|
+
className?: string;
|
|
10
|
+
current?: number;
|
|
11
|
+
direction?: StepsDirection;
|
|
12
|
+
hasLine?: boolean;
|
|
13
|
+
initial?: number;
|
|
14
|
+
prefixCls?: string;
|
|
15
|
+
size?: StepsSize;
|
|
16
|
+
status?: StepsStatus;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
type?: StepsType;
|
|
19
|
+
}
|
|
20
|
+
export interface StepsEmits {
|
|
21
|
+
change: [current: number];
|
|
22
|
+
}
|
|
23
|
+
export interface StepsSlots {
|
|
24
|
+
default?: () => VNodeChild;
|
|
25
|
+
}
|
|
26
|
+
export interface StepProps {
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
class?: HTMLAttributes['class'];
|
|
29
|
+
className?: string;
|
|
30
|
+
description?: VNodeChild;
|
|
31
|
+
icon?: VNodeChild;
|
|
32
|
+
role?: HTMLAttributes['role'];
|
|
33
|
+
status?: StepsStatus;
|
|
34
|
+
style?: CSSProperties;
|
|
35
|
+
title?: VNodeChild;
|
|
36
|
+
}
|
|
37
|
+
export interface StepEmits {
|
|
38
|
+
click: [event: MouseEvent];
|
|
39
|
+
keyDown: [event: KeyboardEvent];
|
|
40
|
+
}
|
|
41
|
+
export interface StepSlots {
|
|
42
|
+
description?: () => VNodeChild;
|
|
43
|
+
icon?: () => VNodeChild;
|
|
44
|
+
title?: () => VNodeChild;
|
|
45
|
+
}
|
|
46
|
+
export interface InternalStepProps extends StepProps {
|
|
47
|
+
active?: boolean;
|
|
48
|
+
done?: boolean;
|
|
49
|
+
index?: number;
|
|
50
|
+
onStepChange?: () => void;
|
|
51
|
+
size?: StepsSize | '';
|
|
52
|
+
stepNumber?: string;
|
|
53
|
+
total?: number;
|
|
54
|
+
}
|