@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,69 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TimelineData, TimelineMode, TimelineProps, TimelineSlots } from './types';
|
|
3
|
+
type __VLS_Slots = TimelineSlots;
|
|
4
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
ariaLabel: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
class: {
|
|
10
|
+
type: PropType<TimelineProps["class"]>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
className: {
|
|
14
|
+
type: PropType<TimelineProps["className"]>;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
dataSource: {
|
|
18
|
+
type: PropType<readonly TimelineData[]>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
mode: {
|
|
22
|
+
type: PropType<TimelineMode>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
style: {
|
|
26
|
+
type: PropType<TimelineProps["style"]>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
ariaLabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
class: {
|
|
35
|
+
type: PropType<TimelineProps["class"]>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
className: {
|
|
39
|
+
type: PropType<TimelineProps["className"]>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
dataSource: {
|
|
43
|
+
type: PropType<readonly TimelineData[]>;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
mode: {
|
|
47
|
+
type: PropType<TimelineMode>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
style: {
|
|
51
|
+
type: PropType<TimelineProps["style"]>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
className: import('vue').ClassValue;
|
|
56
|
+
style: import('vue').StyleValue;
|
|
57
|
+
class: import('vue').ClassValue;
|
|
58
|
+
mode: "center" | "alternate" | "left" | "right";
|
|
59
|
+
ariaLabel: string;
|
|
60
|
+
dataSource: readonly TimelineData[];
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
63
|
+
declare const _default: typeof __VLS_export;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { PropType, VNodeChild } from 'vue';
|
|
2
|
+
import { TimelineItemProps, TimelineItemSlots, TimelineItemType } from './types';
|
|
3
|
+
type __VLS_Slots = TimelineItemSlots;
|
|
4
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
class: {
|
|
6
|
+
type: PropType<TimelineItemProps["class"]>;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
className: {
|
|
10
|
+
type: PropType<TimelineItemProps["className"]>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
dot: {
|
|
18
|
+
type: PropType<VNodeChild>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
extra: {
|
|
22
|
+
type: PropType<VNodeChild>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
position: {
|
|
26
|
+
type: PropType<TimelineItemProps["position"]>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
style: {
|
|
30
|
+
type: PropType<TimelineItemProps["style"]>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
time: {
|
|
34
|
+
type: PropType<VNodeChild>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
type: {
|
|
38
|
+
type: PropType<TimelineItemType>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
click: (event: MouseEvent) => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
class: {
|
|
45
|
+
type: PropType<TimelineItemProps["class"]>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
className: {
|
|
49
|
+
type: PropType<TimelineItemProps["className"]>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
color: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
dot: {
|
|
57
|
+
type: PropType<VNodeChild>;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
extra: {
|
|
61
|
+
type: PropType<VNodeChild>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
position: {
|
|
65
|
+
type: PropType<TimelineItemProps["position"]>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
style: {
|
|
69
|
+
type: PropType<TimelineItemProps["style"]>;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
time: {
|
|
73
|
+
type: PropType<VNodeChild>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
type: {
|
|
77
|
+
type: PropType<TimelineItemType>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onClick?: (event: MouseEvent) => any;
|
|
82
|
+
}>, {
|
|
83
|
+
className: import('vue').ClassValue;
|
|
84
|
+
style: import('vue').StyleValue;
|
|
85
|
+
type: "warning" | "success" | "default" | "error" | "ongoing";
|
|
86
|
+
class: import('vue').ClassValue;
|
|
87
|
+
time: VNodeChild;
|
|
88
|
+
color: string;
|
|
89
|
+
position: "left" | "right" | undefined;
|
|
90
|
+
dot: VNodeChild;
|
|
91
|
+
extra: VNodeChild;
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
|
+
declare const _default: typeof __VLS_export;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
97
|
+
new (): {
|
|
98
|
+
$slots: S;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { TimelineItemProps, TimelineProps } from './types';
|
|
3
|
+
export type TimelineCompoundComponent = DefineComponent<TimelineProps> & {
|
|
4
|
+
Item: DefineComponent<TimelineItemProps>;
|
|
5
|
+
};
|
|
6
|
+
export declare const TimelineItem: DefineComponent<TimelineItemProps>;
|
|
7
|
+
export declare const Timeline: TimelineCompoundComponent;
|
|
8
|
+
export { TIMELINE_ITEM_POSITIONS, TIMELINE_ITEM_TYPES, TIMELINE_MODES } from './types';
|
|
9
|
+
export type { TimelineData, TimelineItemEmits, TimelineItemPosition, TimelineItemProps, TimelineItemSlots, TimelineItemType, TimelineMode, TimelineProps, TimelineSlots, } from './types';
|
|
10
|
+
export default Timeline;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HTMLAttributes, StyleValue, VNodeChild } from 'vue';
|
|
2
|
+
export declare const TIMELINE_MODES: readonly ["left", "right", "center", "alternate"];
|
|
3
|
+
export declare const TIMELINE_ITEM_POSITIONS: readonly ["left", "right"];
|
|
4
|
+
export declare const TIMELINE_ITEM_TYPES: readonly ["default", "ongoing", "success", "warning", "error"];
|
|
5
|
+
export type TimelineMode = (typeof TIMELINE_MODES)[number];
|
|
6
|
+
export type TimelineItemPosition = (typeof TIMELINE_ITEM_POSITIONS)[number];
|
|
7
|
+
export type TimelineItemType = (typeof TIMELINE_ITEM_TYPES)[number];
|
|
8
|
+
export interface TimelineItemProps {
|
|
9
|
+
class?: HTMLAttributes['class'];
|
|
10
|
+
className?: HTMLAttributes['class'];
|
|
11
|
+
color?: string;
|
|
12
|
+
dot?: VNodeChild;
|
|
13
|
+
extra?: VNodeChild;
|
|
14
|
+
position?: TimelineItemPosition;
|
|
15
|
+
style?: StyleValue;
|
|
16
|
+
time?: VNodeChild;
|
|
17
|
+
type?: TimelineItemType;
|
|
18
|
+
}
|
|
19
|
+
export interface TimelineItemEmits {
|
|
20
|
+
click: [event: MouseEvent];
|
|
21
|
+
}
|
|
22
|
+
export interface TimelineItemSlots {
|
|
23
|
+
default?: () => VNodeChild;
|
|
24
|
+
dot?: () => VNodeChild;
|
|
25
|
+
extra?: () => VNodeChild;
|
|
26
|
+
time?: () => VNodeChild;
|
|
27
|
+
}
|
|
28
|
+
export interface TimelineData extends TimelineItemProps {
|
|
29
|
+
content: VNodeChild;
|
|
30
|
+
onClick?: (event: MouseEvent) => void;
|
|
31
|
+
[dataAttribute: `data-${string}`]: unknown;
|
|
32
|
+
}
|
|
33
|
+
export interface TimelineProps {
|
|
34
|
+
ariaLabel?: string;
|
|
35
|
+
class?: HTMLAttributes['class'];
|
|
36
|
+
className?: HTMLAttributes['class'];
|
|
37
|
+
dataSource?: readonly TimelineData[];
|
|
38
|
+
mode?: TimelineMode;
|
|
39
|
+
style?: StyleValue;
|
|
40
|
+
}
|
|
41
|
+
export interface TimelineSlots {
|
|
42
|
+
default?: () => VNodeChild;
|
|
43
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { Comment as e, Fragment as t, Text as n, cloneVNode as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, h as d, isVNode as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderList as _, renderSlot as v, resolveDynamicComponent as y, unref as b, useAttrs as x, useSlots as S } from "vue";
|
|
2
|
+
//#region src/timeline/TimelineNodeRenderer.ts
|
|
3
|
+
var C = u({
|
|
4
|
+
name: "TimelineNodeRenderer",
|
|
5
|
+
props: { content: {
|
|
6
|
+
type: null,
|
|
7
|
+
default: void 0
|
|
8
|
+
} },
|
|
9
|
+
setup(e) {
|
|
10
|
+
return () => e.content;
|
|
11
|
+
}
|
|
12
|
+
}), w = "semi-timeline-item", T = /* @__PURE__ */ u({
|
|
13
|
+
name: "TimelineItem",
|
|
14
|
+
inheritAttrs: !1,
|
|
15
|
+
__name: "TimelineItem",
|
|
16
|
+
props: {
|
|
17
|
+
class: {
|
|
18
|
+
type: null,
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
21
|
+
className: {
|
|
22
|
+
type: null,
|
|
23
|
+
default: void 0
|
|
24
|
+
},
|
|
25
|
+
color: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: void 0
|
|
28
|
+
},
|
|
29
|
+
dot: {
|
|
30
|
+
type: null,
|
|
31
|
+
default: void 0
|
|
32
|
+
},
|
|
33
|
+
extra: {
|
|
34
|
+
type: null,
|
|
35
|
+
default: void 0
|
|
36
|
+
},
|
|
37
|
+
position: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: void 0
|
|
40
|
+
},
|
|
41
|
+
style: {
|
|
42
|
+
type: null,
|
|
43
|
+
default: void 0
|
|
44
|
+
},
|
|
45
|
+
time: {
|
|
46
|
+
type: null,
|
|
47
|
+
default: ""
|
|
48
|
+
},
|
|
49
|
+
type: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: "default"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
emits: ["click"],
|
|
55
|
+
setup(e, { emit: t }) {
|
|
56
|
+
let n = e, r = t, u = x(), d = S(), f = i(() => [
|
|
57
|
+
w,
|
|
58
|
+
n.class,
|
|
59
|
+
n.className,
|
|
60
|
+
u.class
|
|
61
|
+
]), _ = i(() => Object.fromEntries(Object.entries(u).filter(([e]) => e.startsWith("data-")))), y = i(() => d.dot?.() ?? n.dot), T = i(() => d.extra?.() ?? n.extra), E = i(() => d.time?.() ?? n.time), D = i(() => !!(d.dot?.().length || n.dot)), O = i(() => !!(d.extra?.().length || n.extra)), k = i(() => !!(d.time?.().length || n.time)), A = i(() => [
|
|
62
|
+
`${w}-head`,
|
|
63
|
+
D.value ? `${w}-head-custom` : void 0,
|
|
64
|
+
`${w}-head-${n.type}`
|
|
65
|
+
]);
|
|
66
|
+
return (t, i) => (g(), s("li", p(_.value, {
|
|
67
|
+
class: f.value,
|
|
68
|
+
style: [n.style, b(u).style],
|
|
69
|
+
onClick: i[0] ||= (e) => r("click", e)
|
|
70
|
+
}), [
|
|
71
|
+
c("div", {
|
|
72
|
+
class: m(`${w}-tail`),
|
|
73
|
+
"aria-hidden": "true"
|
|
74
|
+
}, null, 2),
|
|
75
|
+
c("div", {
|
|
76
|
+
class: m(A.value),
|
|
77
|
+
style: h(e.color ? { backgroundColor: e.color } : void 0),
|
|
78
|
+
"aria-hidden": "true"
|
|
79
|
+
}, [D.value ? (g(), a(b(C), {
|
|
80
|
+
key: 0,
|
|
81
|
+
content: y.value
|
|
82
|
+
}, null, 8, ["content"])) : o("", !0)], 6),
|
|
83
|
+
c("div", { class: m(`${w}-content`) }, [
|
|
84
|
+
v(t.$slots, "default"),
|
|
85
|
+
O.value ? (g(), s("div", {
|
|
86
|
+
key: 0,
|
|
87
|
+
class: m(`${w}-content-extra`)
|
|
88
|
+
}, [l(b(C), { content: T.value }, null, 8, ["content"])], 2)) : o("", !0),
|
|
89
|
+
k.value ? (g(), s("div", {
|
|
90
|
+
key: 1,
|
|
91
|
+
class: m(`${w}-content-time`)
|
|
92
|
+
}, [l(b(C), { content: E.value }, null, 8, ["content"])], 2)) : o("", !0)
|
|
93
|
+
], 2)
|
|
94
|
+
], 16));
|
|
95
|
+
}
|
|
96
|
+
}), E = ["aria-label"], D = "semi-timeline", O = /* @__PURE__ */ u({
|
|
97
|
+
name: "Timeline",
|
|
98
|
+
inheritAttrs: !1,
|
|
99
|
+
__name: "Timeline",
|
|
100
|
+
props: {
|
|
101
|
+
ariaLabel: {
|
|
102
|
+
type: String,
|
|
103
|
+
default: void 0
|
|
104
|
+
},
|
|
105
|
+
class: {
|
|
106
|
+
type: null,
|
|
107
|
+
default: void 0
|
|
108
|
+
},
|
|
109
|
+
className: {
|
|
110
|
+
type: null,
|
|
111
|
+
default: void 0
|
|
112
|
+
},
|
|
113
|
+
dataSource: {
|
|
114
|
+
type: Array,
|
|
115
|
+
default: void 0
|
|
116
|
+
},
|
|
117
|
+
mode: {
|
|
118
|
+
type: String,
|
|
119
|
+
default: "left"
|
|
120
|
+
},
|
|
121
|
+
style: {
|
|
122
|
+
type: null,
|
|
123
|
+
default: void 0
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
setup(o) {
|
|
127
|
+
let c = o, l = x(), u = S(), m = i(() => [
|
|
128
|
+
D,
|
|
129
|
+
`${D}-${c.mode}`,
|
|
130
|
+
c.class,
|
|
131
|
+
c.className,
|
|
132
|
+
l.class
|
|
133
|
+
]), h = i(() => Object.fromEntries(Object.entries(l).filter(([e]) => e.startsWith("data-")))), v = i(() => c.ariaLabel ?? l["aria-label"]);
|
|
134
|
+
function C(r) {
|
|
135
|
+
let i = [], a = (r) => {
|
|
136
|
+
if (Array.isArray(r)) {
|
|
137
|
+
r.forEach(a);
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (!(!f(r) || r.type === e)) {
|
|
141
|
+
if (r.type === t && Array.isArray(r.children)) {
|
|
142
|
+
r.children.forEach((e) => a(e));
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
(r.type !== n || String(r.children ?? "").trim() !== "") && i.push(r);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
return r.forEach(a), i;
|
|
149
|
+
}
|
|
150
|
+
function w(e, t) {
|
|
151
|
+
let n = e.props?.position;
|
|
152
|
+
return c.mode === "alternate" ? n ? `${D}-item-${n}` : `${D}-item-${t % 2 == 0 ? "left" : "right"}` : c.mode === "center" ? `${D}-item-${n || "left"}` : `${D}-item-${c.mode}`;
|
|
153
|
+
}
|
|
154
|
+
let O = i(() => c.dataSource?.length ? c.dataSource.map((e, t) => {
|
|
155
|
+
let { content: n, ...r } = e;
|
|
156
|
+
return d(T, {
|
|
157
|
+
...r,
|
|
158
|
+
key: `timeline-item-${t}`
|
|
159
|
+
}, { default: () => n });
|
|
160
|
+
}) : C(u.default?.() ?? [])), k = i(() => {
|
|
161
|
+
let e = 0;
|
|
162
|
+
return O.value.map((t) => {
|
|
163
|
+
if (t.type === n) return t;
|
|
164
|
+
let i = r(t, { class: [
|
|
165
|
+
t.props?.class,
|
|
166
|
+
t.props?.className,
|
|
167
|
+
w(t, e)
|
|
168
|
+
] });
|
|
169
|
+
return e += 1, i;
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
return (e, n) => (g(), s("ul", p(h.value, {
|
|
173
|
+
"aria-label": v.value,
|
|
174
|
+
class: m.value,
|
|
175
|
+
style: [c.style, b(l).style]
|
|
176
|
+
}), [(g(!0), s(t, null, _(k.value, (e, t) => (g(), a(y(e), { key: e.key ?? t }))), 128))], 16, E));
|
|
177
|
+
}
|
|
178
|
+
}), k = [
|
|
179
|
+
"left",
|
|
180
|
+
"right",
|
|
181
|
+
"center",
|
|
182
|
+
"alternate"
|
|
183
|
+
], A = ["left", "right"], j = [
|
|
184
|
+
"default",
|
|
185
|
+
"ongoing",
|
|
186
|
+
"success",
|
|
187
|
+
"warning",
|
|
188
|
+
"error"
|
|
189
|
+
], M = T, N = Object.assign(O, { Item: M });
|
|
190
|
+
//#endregion
|
|
191
|
+
export { k as a, j as i, M as n, A as r, N as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToastStore } from './toast-store';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
store: ToastStore;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType, VNode, 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 | 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,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,20 @@
|
|
|
1
|
+
import { ToastEntry } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
animationClass?: string | undefined;
|
|
4
|
+
entry: ToastEntry;
|
|
5
|
+
positionInList: {
|
|
6
|
+
index: number;
|
|
7
|
+
length: number;
|
|
8
|
+
};
|
|
9
|
+
stack: boolean;
|
|
10
|
+
stackExpanded: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
animationEnd: (id: string) => any;
|
|
14
|
+
remove: (id: string) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onAnimationEnd?: (id: string) => any;
|
|
17
|
+
onRemove?: (id: string) => any;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ToastFactoryStatic } from './types';
|
|
2
|
+
export declare const ToastFactory: ToastFactoryStatic;
|
|
3
|
+
export declare const Toast: import('./types').ToastStaticMethods;
|
|
4
|
+
export { useToast } from './use-toast';
|
|
5
|
+
export { TOAST_THEMES, TOAST_TYPES, type ToastConfig, type ToastEntry, type ToastFactoryStatic, type ToastHookMethod, type ToastId, type ToastInput, type ToastInputId, type ToastMethod, type ToastMethods, type ToastOptions, type ToastStaticMethods, type ToastTheme, type ToastType, type ToastUseResult, } from './types';
|
|
6
|
+
export default Toast;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ToastEntry, ToastId, ToastOptions } from './types';
|
|
2
|
+
interface ToastListState {
|
|
3
|
+
list: ToastEntry[];
|
|
4
|
+
mouseInSide: boolean;
|
|
5
|
+
removedItems: ToastEntry[];
|
|
6
|
+
updatedItems: ToastEntry[];
|
|
7
|
+
}
|
|
8
|
+
export declare class ToastStore {
|
|
9
|
+
readonly state: import('vue').ShallowReactive<ToastListState>;
|
|
10
|
+
readonly animated: boolean;
|
|
11
|
+
stack: boolean;
|
|
12
|
+
private readonly cache;
|
|
13
|
+
private innerWrapper;
|
|
14
|
+
private readonly removalTimers;
|
|
15
|
+
private readonly foundation;
|
|
16
|
+
constructor(animated: boolean);
|
|
17
|
+
add(entry: ToastEntry): void;
|
|
18
|
+
has(id: ToastId): boolean;
|
|
19
|
+
update(id: ToastId, options: ToastOptions & Partial<ToastEntry>): void;
|
|
20
|
+
remove(id: ToastId): void;
|
|
21
|
+
finishEnter(id: ToastId): void;
|
|
22
|
+
finishRemove(id: ToastId): void;
|
|
23
|
+
setMouseInside(mouseInSide: boolean): void;
|
|
24
|
+
getInnerWrapperRect(): DOMRect | undefined;
|
|
25
|
+
setInnerWrapper(element: HTMLElement | undefined): void;
|
|
26
|
+
destroyAll(): void;
|
|
27
|
+
destroy(): void;
|
|
28
|
+
private scheduleRemovalFallback;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Component, HTMLAttributes, StyleValue, VNodeChild } from 'vue';
|
|
2
|
+
import { ConfigDirection } from '../config-provider';
|
|
3
|
+
export declare const TOAST_TYPES: readonly ["warning", "success", "info", "error", "default"];
|
|
4
|
+
export declare const TOAST_THEMES: readonly ["normal", "light"];
|
|
5
|
+
export type ToastType = (typeof TOAST_TYPES)[number];
|
|
6
|
+
export type ToastTheme = (typeof TOAST_THEMES)[number];
|
|
7
|
+
export type ToastId = string;
|
|
8
|
+
export type ToastInputId = string | number;
|
|
9
|
+
export interface ToastConfig {
|
|
10
|
+
bottom?: number | string;
|
|
11
|
+
duration?: number;
|
|
12
|
+
getPopupContainer?: () => HTMLElement | null;
|
|
13
|
+
left?: number | string;
|
|
14
|
+
right?: number | string;
|
|
15
|
+
theme?: ToastTheme;
|
|
16
|
+
top?: number | string;
|
|
17
|
+
zIndex?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ToastOptions extends ToastConfig {
|
|
20
|
+
className?: HTMLAttributes['class'];
|
|
21
|
+
content?: VNodeChild;
|
|
22
|
+
direction?: ConfigDirection;
|
|
23
|
+
icon?: VNodeChild;
|
|
24
|
+
id?: ToastInputId;
|
|
25
|
+
motion?: boolean;
|
|
26
|
+
onClose?: () => void;
|
|
27
|
+
showClose?: boolean;
|
|
28
|
+
stack?: boolean;
|
|
29
|
+
style?: StyleValue;
|
|
30
|
+
textMaxWidth?: number | string;
|
|
31
|
+
type?: ToastType;
|
|
32
|
+
}
|
|
33
|
+
export interface ToastEntry extends Omit<ToastOptions, 'id'> {
|
|
34
|
+
id: ToastId;
|
|
35
|
+
motion: boolean;
|
|
36
|
+
phase: 'enter' | 'stable' | 'leave';
|
|
37
|
+
revision: number;
|
|
38
|
+
type: ToastType;
|
|
39
|
+
}
|
|
40
|
+
export type ToastInput = ToastOptions | string;
|
|
41
|
+
export type ToastMethod = (options: ToastInput) => ToastId;
|
|
42
|
+
export type ToastHookMethod = (options: ToastOptions) => ToastId;
|
|
43
|
+
export interface ToastMethods {
|
|
44
|
+
close: (id: ToastInputId) => ToastId;
|
|
45
|
+
error: ToastHookMethod;
|
|
46
|
+
info: ToastHookMethod;
|
|
47
|
+
open: ToastHookMethod;
|
|
48
|
+
success: ToastHookMethod;
|
|
49
|
+
warning: ToastHookMethod;
|
|
50
|
+
}
|
|
51
|
+
export type ToastUseResult = readonly [ToastMethods, Component];
|
|
52
|
+
export interface ToastStaticMethods {
|
|
53
|
+
close: (id: ToastInputId) => ToastId;
|
|
54
|
+
config: (config: ToastConfig) => void;
|
|
55
|
+
destroyAll: () => void;
|
|
56
|
+
error: ToastMethod;
|
|
57
|
+
getWrapperId: () => string | null;
|
|
58
|
+
info: ToastMethod;
|
|
59
|
+
success: ToastMethod;
|
|
60
|
+
useToast: () => ToastUseResult;
|
|
61
|
+
warning: ToastMethod;
|
|
62
|
+
}
|
|
63
|
+
export interface ToastFactoryStatic {
|
|
64
|
+
create: (config?: ToastConfig) => ToastStaticMethods;
|
|
65
|
+
}
|