ics-ui-kit 0.1.0-alpha.9 → 0.1.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/README.md +36 -0
- package/dist/AlertContext-CxjW1LVL.js +13 -0
- package/dist/AlertContext-CxjW1LVL.js.map +1 -0
- package/dist/AlertIcon-5B6AgZpe.js +96 -0
- package/dist/AlertIcon-5B6AgZpe.js.map +1 -0
- package/dist/Button-Dg89xRSi.js +36 -0
- package/dist/Button-Dg89xRSi.js.map +1 -0
- package/dist/ButtonBase-e6qyv6mD.js +158 -0
- package/dist/ButtonBase-e6qyv6mD.js.map +1 -0
- package/dist/CheckboxField-B6ojieD7.js +347 -0
- package/dist/CheckboxField-B6ojieD7.js.map +1 -0
- package/dist/Command-BhbfL5wm.js +554 -0
- package/dist/Command-BhbfL5wm.js.map +1 -0
- package/dist/ComponentVariantProvider-B0SFUaXB.js +8 -0
- package/dist/ComponentVariantProvider-B0SFUaXB.js.map +1 -0
- package/dist/DayPicker-4hE1QEvO.js +2452 -0
- package/dist/DayPicker-4hE1QEvO.js.map +1 -0
- package/dist/Description-BTPMlTT-.js +19 -0
- package/dist/Description-BTPMlTT-.js.map +1 -0
- package/dist/Dialog-ByiJIDhl.js +99 -0
- package/dist/Dialog-ByiJIDhl.js.map +1 -0
- package/dist/Divider-DPW5ZhZ8.js +24 -0
- package/dist/Divider-DPW5ZhZ8.js.map +1 -0
- package/dist/EmptyState-DRKjscH-.js +12 -0
- package/dist/EmptyState-DRKjscH-.js.map +1 -0
- package/dist/ErrorState-B26k67-z.js +11 -0
- package/dist/ErrorState-B26k67-z.js.map +1 -0
- package/dist/FeatureIcon-BGE0Orkc.js +23 -0
- package/dist/FeatureIcon-BGE0Orkc.js.map +1 -0
- package/dist/Field-CSvS9f_a.js +86 -0
- package/dist/Field-CSvS9f_a.js.map +1 -0
- package/dist/FieldLabel-BA0y5lhr.js +70 -0
- package/dist/FieldLabel-BA0y5lhr.js.map +1 -0
- package/dist/FolderSvg-cw0DxNVy.js +742 -0
- package/dist/FolderSvg-cw0DxNVy.js.map +1 -0
- package/dist/FormFooterTemplate-BPspyDbr.js +88 -0
- package/dist/FormFooterTemplate-BPspyDbr.js.map +1 -0
- package/dist/FormHeader--F6b2aRk.js +49 -0
- package/dist/FormHeader--F6b2aRk.js.map +1 -0
- package/dist/FormStack-DvlFQQiP.js +127 -0
- package/dist/FormStack-DvlFQQiP.js.map +1 -0
- package/dist/HintState-BxrCAWqq.js +12 -0
- package/dist/HintState-BxrCAWqq.js.map +1 -0
- package/dist/Icon-DH3ev9GK.js +22 -0
- package/dist/Icon-DH3ev9GK.js.map +1 -0
- package/dist/IconButton-DwkpNgn3.js +33 -0
- package/dist/IconButton-DwkpNgn3.js.map +1 -0
- package/dist/IconTooltip-DhkXc8Uy.js +11 -0
- package/dist/IconTooltip-DhkXc8Uy.js.map +1 -0
- package/dist/Indicator-AqxHWPA9.js +29 -0
- package/dist/Indicator-AqxHWPA9.js.map +1 -0
- package/dist/InputGroup-BvD9Igmt.js +137 -0
- package/dist/InputGroup-BvD9Igmt.js.map +1 -0
- package/dist/InputOTP-B2e1nfSO.js +259 -0
- package/dist/InputOTP-B2e1nfSO.js.map +1 -0
- package/dist/Loader-BpHiL6W-.js +58 -0
- package/dist/Loader-BpHiL6W-.js.map +1 -0
- package/dist/MenuItem-pvsONHlh.js +32 -0
- package/dist/MenuItem-pvsONHlh.js.map +1 -0
- package/dist/MenuItemShortcut-DgPol9Nz.js +21 -0
- package/dist/MenuItemShortcut-DgPol9Nz.js.map +1 -0
- package/dist/MenuItemText-7uPl9P3z.js +20 -0
- package/dist/MenuItemText-7uPl9P3z.js.map +1 -0
- package/dist/Overlay-2XMlxApi.js +28 -0
- package/dist/Overlay-2XMlxApi.js.map +1 -0
- package/dist/Popover-Dvr7y0YY.js +258 -0
- package/dist/Popover-Dvr7y0YY.js.map +1 -0
- package/dist/RichButton-DuPTenmS.js +49 -0
- package/dist/RichButton-DuPTenmS.js.map +1 -0
- package/dist/ScrollArea-CuuTeDn3.js +576 -0
- package/dist/ScrollArea-CuuTeDn3.js.map +1 -0
- package/dist/ScrollShadowContainer-DdrnF8qU.js +36 -0
- package/dist/ScrollShadowContainer-DdrnF8qU.js.map +1 -0
- package/dist/SearchSelectTag-DFCX9zT1.js +56 -0
- package/dist/SearchSelectTag-DFCX9zT1.js.map +1 -0
- package/dist/Select-DRwv6-eZ.js +980 -0
- package/dist/Select-DRwv6-eZ.js.map +1 -0
- package/dist/Sheet-rtwmzm2-.js +83 -0
- package/dist/Sheet-rtwmzm2-.js.map +1 -0
- package/dist/Shortcut-D8L15_ed.js +22 -0
- package/dist/Shortcut-D8L15_ed.js.map +1 -0
- package/dist/Skeleton-y6I-i9q5.js +21 -0
- package/dist/Skeleton-y6I-i9q5.js.map +1 -0
- package/dist/Tag-DdHXTyKF.js +199 -0
- package/dist/Tag-DdHXTyKF.js.map +1 -0
- package/dist/Text-DeBE8AKl.js +22 -0
- package/dist/Text-DeBE8AKl.js.map +1 -0
- package/dist/TextInput-Cj50ImXi.js +205 -0
- package/dist/TextInput-Cj50ImXi.js.map +1 -0
- package/dist/TextOverflowTooltip-DlUgic5y.js +36 -0
- package/dist/TextOverflowTooltip-DlUgic5y.js.map +1 -0
- package/dist/Toggle-v_HT3Gm2.js +40 -0
- package/dist/Toggle-v_HT3Gm2.js.map +1 -0
- package/dist/Tooltip-C4rVuWr4.js +473 -0
- package/dist/Tooltip-C4rVuWr4.js.map +1 -0
- package/dist/TriggerButton-CfDObWP9.js +33 -0
- package/dist/TriggerButton-CfDObWP9.js.map +1 -0
- package/dist/blocks/auth/otp-form/OTPForm.d.ts +47 -0
- package/dist/blocks/auth/otp-form/OTPForm.stories.d.ts +40 -0
- package/dist/blocks/auth/otp-form/components/EmailForm.d.ts +25 -0
- package/dist/blocks/auth/otp-form/components/OTPInputForm.d.ts +27 -0
- package/dist/blocks/auth/otp-form/components/ResendButton.d.ts +14 -0
- package/dist/blocks/auth/otp-form/index.d.ts +3 -0
- package/dist/blocks/auth/otp-form/utils/OTPError.d.ts +8 -0
- package/dist/blocks/auth/otp-form.d.ts +2 -0
- package/dist/blocks/auth/otp-form.js +309 -0
- package/dist/blocks/auth/otp-form.js.map +1 -0
- package/dist/buildMatchPatternFn-d7GTeGl_.js +68 -0
- package/dist/buildMatchPatternFn-d7GTeGl_.js.map +1 -0
- package/dist/{bundle-mjs-D6wdQkGI.js → bundle-mjs-CQ0w4GOB.js} +347 -338
- package/dist/{bundle-mjs-D6wdQkGI.js.map → bundle-mjs-CQ0w4GOB.js.map} +1 -1
- package/dist/{check-C-TqZgvb.js → check-CeyaOoZv.js} +2 -2
- package/dist/{check-C-TqZgvb.js.map → check-CeyaOoZv.js.map} +1 -1
- package/dist/chevron-down-CAOItu8X.js +14 -0
- package/dist/chevron-down-CAOItu8X.js.map +1 -0
- package/dist/chevron-left-D6FtXcdU.js +14 -0
- package/dist/chevron-left-D6FtXcdU.js.map +1 -0
- package/dist/chevron-right-D3juAhA-.js +14 -0
- package/dist/chevron-right-D3juAhA-.js.map +1 -0
- package/dist/chevron-up-UDiVTHo0.js +12 -0
- package/dist/chevron-up-UDiVTHo0.js.map +1 -0
- package/dist/circle-alert-CVIokIC7.js +16 -0
- package/dist/circle-alert-CVIokIC7.js.map +1 -0
- package/dist/circle-x-u75Rx3Tj.js +16 -0
- package/dist/circle-x-u75Rx3Tj.js.map +1 -0
- package/dist/{utils-2yE78m5l.js → cn-dsXlqdJg.js} +2 -2
- package/dist/cn-dsXlqdJg.js.map +1 -0
- package/dist/components/alert/Alert.d.ts +12 -0
- package/dist/components/alert/Alert.stories.d.ts +38 -0
- package/dist/components/alert/AlertContext.d.ts +16 -0
- package/dist/components/alert/components/AlertButton.d.ts +8 -0
- package/dist/components/alert/components/AlertDescription.d.ts +7 -0
- package/dist/components/alert/components/AlertIcon.d.ts +14 -0
- package/dist/components/alert/components/AlertTitle.d.ts +11 -0
- package/dist/components/alert/index.d.ts +6 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts +69 -0
- package/dist/components/alert-dialog/AlertDialog.stories.d.ts +32 -0
- package/dist/components/alert-dialog/index.d.ts +1 -0
- package/dist/components/alert-dialog.d.ts +2 -0
- package/dist/components/alert-dialog.js +313 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +50 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/avatar/Avatar.d.ts +7 -0
- package/dist/components/avatar/Avatar.stories.d.ts +10 -0
- package/dist/components/avatar/avatar-fallback/AvatarFallback.d.ts +6 -0
- package/dist/components/avatar/avatar-icon/AvatarIcon.d.ts +6 -0
- package/dist/components/avatar/avatar-image/AvatarImage.d.ts +3 -0
- package/dist/components/avatar/avatar-indicator/AvatarIndicator.d.ts +5 -0
- package/dist/components/avatar/avatar-label/AvatarLabel.d.ts +5 -0
- package/dist/components/avatar/avatar-label/AvatarLabel.stories.d.ts +10 -0
- package/dist/components/avatar/avatar-label/AvatarLabelContext.d.ts +9 -0
- package/dist/components/avatar/avatar-label/components/avatar-label-avatar/AvatarLabelAvatar.d.ts +6 -0
- package/dist/components/avatar/avatar-label/components/avatar-label-description/AvatarLabelDescription.d.ts +10 -0
- package/dist/components/avatar/avatar-label/components/avatar-label-indicator/AvatarLabelIndicator.d.ts +6 -0
- package/dist/components/avatar/avatar-label/components/avatar-label-title/AvatarLabelTitle.d.ts +6 -0
- package/dist/components/avatar/index.d.ts +13 -0
- package/dist/components/avatar.d.ts +2 -0
- package/dist/components/avatar.js +432 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge/Badge.d.ts +7 -382
- package/dist/components/badge.js +24 -46
- package/dist/components/badge.js.map +1 -1
- package/dist/components/banner/Banner.d.ts +5 -0
- package/dist/components/banner/Banner.stories.d.ts +8 -0
- package/dist/components/banner/components/banner-description/BannerDescription.d.ts +5 -0
- package/dist/components/banner/components/banner-description/BannerDescription.stories.d.ts +14 -0
- package/dist/components/banner/components/banner-title/BannerTitle.d.ts +5 -0
- package/dist/components/banner/components/banner-title/BannerTitle.stories.d.ts +14 -0
- package/dist/components/banner/index.d.ts +3 -0
- package/dist/components/banner.d.ts +2 -0
- package/dist/components/banner.js +27 -0
- package/dist/components/banner.js.map +1 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +19 -0
- package/dist/components/breadcrumb/Breadcrumb.stories.d.ts +10 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb.d.ts +2 -0
- package/dist/components/breadcrumb.js +78 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button/button/Button.d.ts +6 -167
- package/dist/components/button/button/Button.stories.d.ts +4 -164
- package/dist/components/button/button-base/ButtonBase.d.ts +7 -328
- package/dist/components/button/icon-button/IconButton.d.ts +5 -466
- package/dist/components/button/icon-button/IconButton.stories.d.ts +21 -2
- package/dist/components/button/index.d.ts +9 -0
- package/dist/components/button/rich-button/RichButton.d.ts +79 -0
- package/dist/components/button/rich-button/RichButton.stories.d.ts +46 -0
- package/dist/components/button/templates/loading-button/LoadingButtonTemplate.d.ts +12 -0
- package/dist/components/button/templates/loading-button/LoadingButtonTemplate.stories.d.ts +21 -0
- package/dist/components/button/trigger-button/TriggerButton.d.ts +13 -0
- package/dist/components/button/trigger-button/TriggerButton.stories.d.ts +7 -0
- package/dist/components/button.js +26 -6
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar/Calendar.d.ts +14 -0
- package/dist/components/calendar/Calendar.stories.d.ts +45 -0
- package/dist/components/calendar/components/calendar-chevron/CalendarChevron.d.ts +12 -0
- package/dist/components/calendar/components/calendar-day-button/CalendarDayButton.d.ts +26 -0
- package/dist/components/calendar/components/calendar-day-button/CalendarDayButton.stories.d.ts +18 -0
- package/dist/components/calendar/components/calendar-next-month-button/CalendarNextMonthButton.d.ts +11 -0
- package/dist/components/calendar/components/calendar-previous-month-button/CalendarPreviousMonthButton.d.ts +11 -0
- package/dist/components/calendar/components/calendar-root/CalendarRoot.d.ts +11 -0
- package/dist/components/calendar/components/calendar-week-day/CalendarWeekDay.d.ts +11 -0
- package/dist/components/calendar/components/calendar-week-day/CalendarWeekDay.stories.d.ts +7 -0
- package/dist/components/calendar/index.d.ts +3 -0
- package/dist/components/calendar.d.ts +2 -0
- package/dist/components/calendar.js +186 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/card/Card.stories.d.ts +17 -0
- package/dist/components/card/components/ActionCard.d.ts +7 -0
- package/dist/components/card/components/CardFeature.d.ts +7 -0
- package/dist/components/card/components/CardFolder.d.ts +9 -0
- package/dist/components/card/components/CardFooter.d.ts +7 -0
- package/dist/components/card/components/CardMenuTrigger.d.ts +8 -0
- package/dist/components/card/components/CardSubTitle.d.ts +7 -0
- package/dist/components/card/components/CardTitle.d.ts +7 -0
- package/dist/components/card/components/CardVisualBadge.d.ts +7 -0
- package/dist/components/card/components/FolderSvg.d.ts +3 -0
- package/dist/components/card/index.d.ts +19 -0
- package/dist/components/card/styles.d.ts +2 -0
- package/dist/components/card.d.ts +2 -0
- package/dist/components/card.js +159 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/carousel/Carousel.d.ts +17 -0
- package/dist/components/carousel/Carousel.stories.d.ts +8 -0
- package/dist/components/carousel/components/carousel-buttons/CarouselButtons.d.ts +27 -0
- package/dist/components/carousel/components/carousel-item/CarouselItem.d.ts +3 -0
- package/dist/components/carousel/index.d.ts +4 -0
- package/dist/components/carousel/utils/CarouselContext.d.ts +13 -0
- package/dist/components/carousel/utils/useCarousel.d.ts +10 -0
- package/dist/components/carousel.d.ts +2 -0
- package/dist/components/carousel.js +1700 -0
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +49 -2
- package/dist/components/checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/checkbox/checkbox-field/CheckboxField.d.ts +10 -456
- package/dist/components/checkbox/checkbox-field/CheckboxField.stories.d.ts +3 -228
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/checkbox.js +4 -3
- package/dist/components/collapsible/Collapsible.d.ts +6 -0
- package/dist/components/collapsible/Collapsible.stories.d.ts +6 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible.d.ts +2 -0
- package/dist/components/collapsible.js +133 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/components/color-tile/ColorTile.d.ts +9 -0
- package/dist/components/color-tile/ColorTile.stories.d.ts +6 -0
- package/dist/components/color-tile/index.d.ts +1 -0
- package/dist/components/color-tile.d.ts +2 -0
- package/dist/components/color-tile.js +26 -0
- package/dist/components/color-tile.js.map +1 -0
- package/dist/components/command/Command.d.ts +108 -0
- package/dist/components/command/Command.stories.d.ts +34 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/command.d.ts +2 -0
- package/dist/components/command.js +15 -0
- package/dist/components/command.js.map +1 -0
- package/dist/components/container/Container.d.ts +29 -0
- package/dist/components/container/Container.stories.d.ts +6 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container.d.ts +2 -0
- package/dist/components/container.js +23 -0
- package/dist/components/container.js.map +1 -0
- package/dist/components/counter/Counter.d.ts +14 -0
- package/dist/components/counter/Counter.stories.d.ts +9 -0
- package/dist/components/counter/index.d.ts +1 -0
- package/dist/components/counter.d.ts +2 -0
- package/dist/components/counter.js +142 -0
- package/dist/components/counter.js.map +1 -0
- package/dist/components/data-table/DataTable.stories.d.ts +8 -0
- package/dist/components/description/Description.d.ts +5 -1
- package/dist/components/description/Description.stories.d.ts +10 -0
- package/dist/components/description.js +1 -1
- package/dist/components/dialog/Dialog.d.ts +51 -12
- package/dist/components/dialog/Dialog.stories.d.ts +26 -0
- package/dist/components/dialog/DialogTemplates.d.ts +24 -0
- package/dist/components/dialog/index.d.ts +4 -0
- package/dist/components/dialog.d.ts +2 -0
- package/dist/components/dialog.js +47 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/divider/Divider.d.ts +6 -118
- package/dist/components/divider/content-divider/ContentDivider.d.ts +15 -0
- package/dist/components/divider/content-divider/ContentDivider.stories.d.ts +7 -0
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/divider.js +32 -1
- package/dist/components/divider.js.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +13 -0
- package/dist/components/drawer/Drawer.stories.d.ts +25 -0
- package/dist/components/drawer/components/drawer-body/DrawerBody.d.ts +3 -0
- package/dist/components/drawer/components/drawer-content/DrawerContent.d.ts +19 -0
- package/dist/components/drawer/components/drawer-footer/DrawerFooter.d.ts +3 -0
- package/dist/components/drawer/components/drawer-handler/DrawerHandler.d.ts +2 -0
- package/dist/components/drawer/components/drawer-handler/DrawerHandlerSvg.d.ts +1 -0
- package/dist/components/drawer/components/drawer-header/DrawerHeader.d.ts +3 -0
- package/dist/components/drawer/components/drawer-overlay/DrawerOverlay.d.ts +7 -0
- package/dist/components/drawer/index.d.ts +9 -0
- package/dist/components/{modal/templates/footer-template/ModalFooterTemplate.d.ts → drawer/templates/drawer-footer-template/DrawerFooterTemplate.d.ts} +6 -6
- package/dist/components/drawer/templates/drawer-header-template/DrawerHeaderTemplate.d.ts +10 -0
- package/dist/components/drawer.d.ts +2 -0
- package/dist/components/drawer.js +1232 -0
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown/Dropdown.d.ts +80 -0
- package/dist/components/dropdown/Dropdown.stories.d.ts +22 -0
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/dropdown/useHoverDropdown.d.ts +68 -0
- package/dist/components/dropdown.d.ts +2 -0
- package/dist/components/dropdown.js +1152 -0
- package/dist/components/dropdown.js.map +1 -0
- package/dist/components/empty-state/EmptyState.d.ts +5 -0
- package/dist/components/empty-state/EmptyState.stories.d.ts +6 -0
- package/dist/components/empty-state/index.d.ts +1 -0
- package/dist/components/empty-state.d.ts +2 -0
- package/dist/components/empty-state.js +5 -0
- package/dist/components/empty-state.js.map +1 -0
- package/dist/components/error-state/ErrorState.d.ts +3 -0
- package/dist/components/error-state/ErrorState.stories.d.ts +6 -0
- package/dist/components/error-state/Retry.d.ts +10 -0
- package/dist/components/error-state/Retry.stories.d.ts +7 -0
- package/dist/components/error-state/index.d.ts +2 -0
- package/dist/components/error-state.d.ts +2 -0
- package/dist/components/error-state.js +16 -0
- package/dist/components/error-state.js.map +1 -0
- package/dist/components/field/Field.d.ts +38 -106
- package/dist/components/field/Field.stories.d.ts +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/file-upload/FileUpload.d.ts +24 -0
- package/dist/components/file-upload/FileUpload.stories.d.ts +19 -0
- package/dist/components/file-upload/components/file-upload-clear-button/FileUploadClearButton.d.ts +9 -0
- package/dist/components/file-upload/components/file-upload-compact-input-zone/FileUploadCompactInputZone.d.ts +9 -0
- package/dist/components/file-upload/components/file-upload-drop-area/FileUploadDropArea.d.ts +12 -0
- package/dist/components/file-upload/components/file-upload-drop-area/FileUploadDropArea.stories.d.ts +18 -0
- package/dist/components/file-upload/components/file-upload-drop-area-icon/FileUploadDropAreaIcon.d.ts +3 -0
- package/dist/components/file-upload/components/file-upload-drop-area-icon/FileUploadDropAreaIcon.stories.d.ts +14 -0
- package/dist/components/file-upload/components/file-upload-error/FileUploadError.d.ts +7 -0
- package/dist/components/file-upload/components/file-upload-error/FileUploadError.stories.d.ts +15 -0
- package/dist/components/file-upload/components/file-upload-icon/FileUploadIcon.d.ts +5 -0
- package/dist/components/file-upload/components/file-upload-icon/FileUploadIcon.stories.d.ts +13 -0
- package/dist/components/file-upload/components/file-upload-inline-drop-area/FileUploadInlineDropArea.d.ts +12 -0
- package/dist/components/file-upload/components/file-upload-inline-drop-area/FileUploadInlineDropArea.stories.d.ts +18 -0
- package/dist/components/file-upload/components/file-upload-input-zone/FileUploadInputZone.d.ts +9 -0
- package/dist/components/file-upload/components/file-upload-item/FileUploadItem.d.ts +12 -0
- package/dist/components/file-upload/components/file-upload-item/FileUploadItem.stories.d.ts +19 -0
- package/dist/components/file-upload/components/file-upload-item-compact/FileUploadItemCompact.d.ts +14 -0
- package/dist/components/file-upload/components/file-upload-item-compact/FileUploadItemCompact.stories.d.ts +19 -0
- package/dist/components/file-upload/file-upload-compact/FileUploadCompact.d.ts +19 -0
- package/dist/components/file-upload/file-upload-compact/FileUploadCompact.stories.d.ts +20 -0
- package/dist/components/file-upload/index.d.ts +11 -0
- package/dist/components/file-upload.d.ts +2 -0
- package/dist/components/file-upload.js +484 -0
- package/dist/components/file-upload.js.map +1 -0
- package/dist/components/form/Form.d.ts +27 -4
- package/dist/components/form/Form.stories.d.ts +22 -7
- package/dist/components/form/components/form-body/FormBody.d.ts +5 -0
- package/dist/components/form/components/form-divider/FormDivider.d.ts +6 -0
- package/dist/components/form/components/form-field/FormField.d.ts +21 -62
- package/dist/components/form/components/form-field/FormField.stories.d.ts +10 -0
- package/dist/components/form/components/form-field-set/FormFieldSet.d.ts +3 -0
- package/dist/components/form/components/form-footer/FormFooter.d.ts +5 -0
- package/dist/components/form/components/form-header/FormHeader.d.ts +16 -0
- package/dist/components/form/components/form-section-header-button/FormSectionHeaderButton.d.ts +17 -0
- package/dist/components/form/components/form-section-title/FormSectionTitle.d.ts +3 -1
- package/dist/components/form/components/form-stack/FormStack.d.ts +3 -0
- package/dist/components/form/index.d.ts +10 -1
- package/dist/components/form/templates/footer-template/FormFooterTemplate.d.ts +24 -0
- package/dist/components/form/templates/header-template/FormHeaderTemplate.d.ts +43 -0
- package/dist/components/form.js +59 -335
- package/dist/components/form.js.map +1 -1
- package/dist/components/hint-state/HintState.d.ts +3 -0
- package/dist/components/hint-state/HintState.stories.d.ts +6 -0
- package/dist/components/hint-state/index.d.ts +1 -0
- package/dist/components/hint-state.d.ts +2 -0
- package/dist/components/hint-state.js +5 -0
- package/dist/components/hint-state.js.map +1 -0
- package/dist/components/icon/Icon.d.ts +9 -48
- package/dist/components/icon/Icon.stories.d.ts +7 -4
- package/dist/components/icon/feature-icon/FeatureIcon.d.ts +4 -75
- package/dist/components/icon/feature-icon/FeatureIcon.stories.d.ts +16 -6
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon-tooltip/IconTooltip.d.ts +5 -4
- package/dist/components/icon-tooltip/index.d.ts +2 -0
- package/dist/components/icon-tooltip.d.ts +2 -0
- package/dist/components/icon-tooltip.js +5 -0
- package/dist/components/icon-tooltip.js.map +1 -0
- package/dist/components/icon.d.ts +2 -0
- package/dist/components/icon.js +7 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/image-placeholder/ImagePlaceholder.d.ts +6 -0
- package/dist/components/image-placeholder/ImagePlaceholder.stories.d.ts +6 -0
- package/dist/components/image-placeholder/index.d.ts +1 -0
- package/dist/components/image-placeholder.d.ts +2 -0
- package/dist/components/image-placeholder.js +22 -0
- package/dist/components/image-placeholder.js.map +1 -0
- package/dist/components/image-preview/ImagePreview.d.ts +23 -0
- package/dist/components/image-preview/ImagePreview.stories.d.ts +6 -0
- package/dist/components/image-preview/index.d.ts +1 -0
- package/dist/components/image-preview/utils.d.ts +1 -0
- package/dist/components/image-preview.d.ts +2 -0
- package/dist/components/image-preview.js +124 -0
- package/dist/components/image-preview.js.map +1 -0
- package/dist/components/image-uploader/ImageUploader.d.ts +27 -0
- package/dist/components/image-uploader/ImageUploader.stories.d.ts +6 -0
- package/dist/components/image-uploader/components/ImageCameraAddSvg.d.ts +5 -0
- package/dist/components/image-uploader/components/ImageUploaderButton.d.ts +8 -0
- package/dist/components/image-uploader/index.d.ts +1 -0
- package/dist/components/image-uploader.d.ts +2 -0
- package/dist/components/image-uploader.js +88 -0
- package/dist/components/image-uploader.js.map +1 -0
- package/dist/components/images/BoxSvg.d.ts +5 -0
- package/dist/components/images/BoxSvg.stories.d.ts +13 -0
- package/dist/components/images/FolderSvg.d.ts +5 -0
- package/dist/components/images/FolderSvg.stories.d.ts +13 -0
- package/dist/components/images/index.d.ts +2 -0
- package/dist/components/images.d.ts +2 -0
- package/dist/components/images.js +6 -0
- package/dist/components/images.js.map +1 -0
- package/dist/components/indicator/Indicator.d.ts +7 -0
- package/dist/components/indicator/Indicator.stories.d.ts +6 -0
- package/dist/components/indicator/index.d.ts +1 -0
- package/dist/components/indicator.d.ts +2 -0
- package/dist/components/indicator.js +5 -0
- package/dist/components/indicator.js.map +1 -0
- package/dist/components/input/components/clear-button/ClearButton.d.ts +3 -3
- package/dist/components/input/file-input/FileInput.d.ts +34 -0
- package/dist/components/input/file-input/FileInput.stories.d.ts +12 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/input/Input.d.ts +5 -2
- package/dist/components/input/input/Input.stories.d.ts +3 -0
- package/dist/components/input/input-group/InputGroup.d.ts +37 -0
- package/dist/components/input/input-group/InputGroup.stories.d.ts +7 -0
- package/dist/components/input/secret-input/SecretInput.d.ts +14 -5
- package/dist/components/input/secret-input/SecretInput.stories.d.ts +4 -0
- package/dist/components/input/styles/inputBaseStyles.d.ts +3 -0
- package/dist/components/input/text-input/TextInput.d.ts +2 -2
- package/dist/components/input/text-input/TextInput.stories.d.ts +2 -2
- package/dist/components/input/web-input/WebInput.d.ts +15 -0
- package/dist/components/input/web-input/WebInput.stories.d.ts +14 -0
- package/dist/components/input-otp/InputOTP.d.ts +29 -0
- package/dist/components/input-otp/InputOTP.stories.d.ts +9 -0
- package/dist/components/input-otp/components/input-otp-group/InputOTPGroup.d.ts +2 -0
- package/dist/components/input-otp/components/input-otp-separator/InputOTPSeparator.d.ts +2 -0
- package/dist/components/input-otp/components/input-otp-slot/InputOTPSlot.d.ts +4 -0
- package/dist/components/input-otp/index.d.ts +4 -0
- package/dist/components/input-otp.d.ts +2 -0
- package/dist/components/input-otp.js +8 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/input.js +223 -202
- package/dist/components/input.js.map +1 -1
- package/dist/components/label/Label.d.ts +1 -3
- package/dist/components/label/Label.stories.d.ts +1 -5
- package/dist/components/label/field-label/FieldLabel.d.ts +4 -47
- package/dist/components/label/field-label/FieldLabel.stories.d.ts +1 -0
- package/dist/components/label/field-label/components/RequiredIcon.d.ts +5 -0
- package/dist/components/label.js +1 -1
- package/dist/components/loader/Loader.d.ts +6 -0
- package/dist/components/loader/Loader.stories.d.ts +6 -0
- package/dist/components/loader/index.d.ts +1 -0
- package/dist/components/loader.d.ts +2 -0
- package/dist/components/loader.js +5 -0
- package/dist/components/loader.js.map +1 -0
- package/dist/components/menu-item/MenuItem.d.ts +31 -0
- package/dist/components/menu-item/MenuItem.stories.d.ts +6 -0
- package/dist/components/menu-item/MenuItemAction.d.ts +6 -0
- package/dist/components/menu-item/components/menu-item-button/MenuItemButton.d.ts +37 -0
- package/dist/components/menu-item/components/menu-item-button/MenuItemButton.stories.d.ts +7 -0
- package/dist/components/menu-item/components/menu-item-icon/MenuItemIcon.d.ts +7 -0
- package/dist/components/menu-item/components/menu-item-icon/MenuItemIcon.stories.d.ts +6 -0
- package/dist/components/menu-item/components/menu-item-icon-button/MenuItemIconButton.d.ts +5 -0
- package/dist/components/menu-item/components/menu-item-icon-button/MenuItemIconButton.stories.d.ts +7 -0
- package/dist/components/menu-item/components/menu-item-secondary-text/MenuItemSecondaryText.d.ts +21 -0
- package/dist/components/menu-item/components/menu-item-secondary-text/MenuItemSecondaryText.stories.d.ts +6 -0
- package/dist/components/menu-item/components/menu-item-shortcut/MenuItemShortcut.d.ts +21 -0
- package/dist/components/menu-item/components/menu-item-shortcut/MenuItemShortcut.stories.d.ts +6 -0
- package/dist/components/menu-item/components/menu-item-text/MenuItemText.d.ts +21 -0
- package/dist/components/menu-item/components/menu-item-text/MenuItemText.stories.d.ts +6 -0
- package/dist/components/menu-item/index.d.ts +13 -0
- package/dist/components/menu-item/templates/menu-item-action-template/MenuItemActionTemplate.d.ts +12 -0
- package/dist/components/menu-item/templates/menu-item-action-template/MenuItemActionTemplate.stories.d.ts +6 -0
- package/dist/components/menu-item/templates/menu-item-common-template/MenuItemCommonTemplate.d.ts +16 -0
- package/dist/components/menu-item/templates/menu-item-common-template/MenuItemCommonTemplate.stories.d.ts +6 -0
- package/dist/components/menu-item/templates/menu-item-info-template/MenuItemInfoTemplate.d.ts +13 -0
- package/dist/components/menu-item/templates/menu-item-info-template/MenuItemInfoTemplate.stories.d.ts +6 -0
- package/dist/components/menu-item/templates/menu-item-interactive-template/MenuItemInteractiveTemplate.d.ts +16 -0
- package/dist/components/menu-item/templates/menu-item-interactive-template/MenuItemInteractiveTemplate.stories.d.ts +6 -0
- package/dist/components/menu-item/templates/menu-item-rich-template/MenuItemRichTemplate.d.ts +11 -0
- package/dist/components/menu-item/templates/menu-item-rich-template/MenuItemRichTemplate.stories.d.ts +6 -0
- package/dist/components/menu-item.d.ts +2 -0
- package/dist/components/menu-item.js +243 -0
- package/dist/components/menu-item.js.map +1 -0
- package/dist/components/overflow-tooltip/OverflowTooltip.d.ts +29 -0
- package/dist/components/overflow-tooltip/OverflowTooltip.stories.d.ts +9 -0
- package/dist/components/overflow-tooltip/TextOverflowTooltip.d.ts +11 -0
- package/dist/components/overflow-tooltip/TextOverflowTooltip.stories.d.ts +6 -0
- package/dist/components/overflow-tooltip/index.d.ts +3 -0
- package/dist/components/overflow-tooltip/useOverflowTooltip.d.ts +6 -0
- package/dist/components/overflow-tooltip.d.ts +2 -0
- package/dist/components/overflow-tooltip.js +7 -0
- package/dist/components/overflow-tooltip.js.map +1 -0
- package/dist/components/overlay/Overlay.d.ts +45 -0
- package/dist/components/overlay/Overlay.stories.d.ts +6 -0
- package/dist/components/overlay/index.d.ts +1 -0
- package/dist/components/overlay.d.ts +2 -0
- package/dist/components/overlay.js +5 -0
- package/dist/components/overlay.js.map +1 -0
- package/dist/components/page-state/PageState.d.ts +8 -0
- package/dist/components/page-state/PageState.stories.d.ts +9 -0
- package/dist/components/page-state/components/PageStateAction.d.ts +14 -0
- package/dist/components/page-state/components/PageStateBoxSvg.d.ts +6 -0
- package/dist/components/page-state/components/PageStateButtonGroup.d.ts +3 -0
- package/dist/components/page-state/components/PageStateCancel.d.ts +14 -0
- package/dist/components/page-state/components/PageStateDescription.d.ts +8 -0
- package/dist/components/page-state/components/PageStateFeatureIcon.d.ts +7 -0
- package/dist/components/page-state/components/PageStateFolderSvg.d.ts +7 -0
- package/dist/components/page-state/components/PageStateTitle.d.ts +8 -0
- package/dist/components/page-state/context/PageStateContext.d.ts +12 -0
- package/dist/components/page-state/hooks/usePageStateButtonSize.d.ts +3 -0
- package/dist/components/page-state/index.d.ts +10 -0
- package/dist/components/page-state.d.ts +2 -0
- package/dist/components/page-state.js +173 -0
- package/dist/components/page-state.js.map +1 -0
- package/dist/components/popover/Popover.d.ts +31 -0
- package/dist/components/popover/Popover.stories.d.ts +24 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover.d.ts +2 -0
- package/dist/components/popover.js +9 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/portal-container/PortalContainer.d.ts +10 -0
- package/dist/components/portal-container/index.d.ts +2 -0
- package/dist/components/portal-container/portalContainerEvents.d.ts +12 -0
- package/dist/components/portal-container/usePortalContainer.d.ts +10 -0
- package/dist/components/portal-container.d.ts +2 -0
- package/dist/components/portal-container.js +14 -0
- package/dist/components/portal-container.js.map +1 -0
- package/dist/components/progress/Progress.d.ts +15 -0
- package/dist/components/progress/Progress.stories.d.ts +9 -0
- package/dist/components/progress/ProgressBarStyles.d.ts +70 -0
- package/dist/components/progress/components/progress-icon/ProgressIcon.d.ts +5 -0
- package/dist/components/progress/components/progress-icon/ProgressIcon.stories.d.ts +6 -0
- package/dist/components/progress/components/progress-icon-button/ProgressIconButton.d.ts +5 -0
- package/dist/components/progress/components/progress-icon-button/ProgressIconButton.stories.d.ts +6 -0
- package/dist/components/progress/components/progress-text/ProgressText.d.ts +6 -0
- package/dist/components/progress/components/progress-text/ProgressText.stories.d.ts +6 -0
- package/dist/components/progress/index.d.ts +10 -0
- package/dist/components/progress/templates/ProgressBlockTemplate.d.ts +16 -0
- package/dist/components/progress/templates/ProgressBlockTemplate.stories.d.ts +7 -0
- package/dist/components/progress-circle/ProgressCircle.d.ts +186 -0
- package/dist/components/progress-circle/ProgressCircle.stories.d.ts +9 -0
- package/dist/components/progress-circle/components/progress-circle-description/ProgressCircleDescription.d.ts +5 -0
- package/dist/components/progress-circle/components/progress-circle-description/ProgressCircleDescription.stories.d.ts +6 -0
- package/dist/components/progress-circle/components/progress-circle-icon-button/ProgressCircleIconButton.d.ts +70 -0
- package/dist/components/progress-circle/components/progress-circle-icon-button/ProgressCircleIconButton.stories.d.ts +6 -0
- package/dist/components/progress-circle/components/progress-circle-text/ProgressCircleTitle.d.ts +56 -0
- package/dist/components/progress-circle/components/progress-circle-text/ProgressCircleTitle.stories.d.ts +6 -0
- package/dist/components/progress-circle/index.d.ts +5 -0
- package/dist/components/progress-circle/templates/ProgressCircleTemplate.d.ts +13 -0
- package/dist/components/progress-circle/templates/ProgressCircleTemplate.stories.d.ts +8 -0
- package/dist/components/progress-circle.d.ts +2 -0
- package/dist/components/progress-circle.js +187 -0
- package/dist/components/progress-circle.js.map +1 -0
- package/dist/components/progress.d.ts +2 -0
- package/dist/components/progress.js +262 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/prose/Prose.d.ts +9 -0
- package/dist/components/prose/Prose.stories.d.ts +6 -0
- package/dist/components/prose/index.d.ts +1 -0
- package/dist/components/prose.d.ts +2 -0
- package/dist/components/prose.js +12 -0
- package/dist/components/prose.js.map +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +4 -0
- package/dist/components/radio-group/RadioGroup.stories.d.ts +11 -0
- package/dist/components/radio-group/components/RadioGroupItem.d.ts +43 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group.d.ts +2 -0
- package/dist/components/radio-group.js +271 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/resizable/Resizable.d.ts +23 -0
- package/dist/components/resizable/Resizable.stories.d.ts +8 -0
- package/dist/components/resizable/index.d.ts +1 -0
- package/dist/components/resizable.d.ts +2 -0
- package/dist/components/resizable.js +1552 -0
- package/dist/components/resizable.js.map +1 -0
- package/dist/components/scheduler/components/day/Day.d.ts +4 -61
- package/dist/components/scheduler.js +1249 -1244
- package/dist/components/scheduler.js.map +1 -1
- package/dist/components/scroll-area/ScrollArea.d.ts +19 -2
- package/dist/components/scroll-area/ScrollArea.stories.d.ts +5 -2
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area.d.ts +2 -0
- package/dist/components/scroll-area.js +6 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/scroll-shadow-container/ScrollShadowContainer.d.ts +2 -49
- package/dist/components/scroll-shadow-container/ScrollShadowContainer.stories.d.ts +1 -0
- package/dist/components/scroll-shadow-container/index.d.ts +1 -0
- package/dist/components/scroll-shadow-container.js +1 -1
- package/dist/components/search-select/async-search-select/AsyncSearchSelect.d.ts +2 -0
- package/dist/components/search-select/async-search-select/AsyncSearchSelect.stories.d.ts +20 -0
- package/dist/components/search-select/async-search-select/components/AsyncSearchSelectContent.d.ts +42 -0
- package/dist/components/search-select/async-search-select/components/AsyncSearchSelectPopoverContent.d.ts +7 -0
- package/dist/components/search-select/async-search-select/hooks/useAsyncDataLoader.d.ts +48 -0
- package/dist/components/search-select/async-search-select/types.d.ts +99 -0
- package/dist/components/search-select/components/SearchSelectPlaceholder.d.ts +7 -0
- package/dist/components/search-select/components/SearchSelectTag.d.ts +13 -0
- package/dist/components/search-select/components/SearchSelectTextValue.d.ts +7 -0
- package/dist/components/search-select/components/SearchSelectTrigger.d.ts +23 -0
- package/dist/components/search-select/index.d.ts +22 -0
- package/dist/components/search-select/multi-select/MultiSelect.d.ts +87 -0
- package/dist/components/search-select/multi-select/MultiSelect.stories.d.ts +18 -0
- package/dist/components/search-select/search-select/LazySearchSelect.d.ts +16 -0
- package/dist/components/search-select/search-select/LazySearchSelect.stories.d.ts +21 -0
- package/dist/components/search-select/search-select/SearchSelect.d.ts +80 -0
- package/dist/components/search-select/search-select/SearchSelect.stories.d.ts +16 -0
- package/dist/components/search-select/search-select/components/LoadMoreTrigger.d.ts +17 -0
- package/dist/components/search-select/search-select/components/SearchSelectContent.d.ts +10 -0
- package/dist/components/search-select/search-select/components/SearchSelectGroup.d.ts +12 -0
- package/dist/components/search-select/search-select/components/SearchSelectInput.d.ts +9 -0
- package/dist/components/search-select/search-select/components/SearchSelectSeparator.d.ts +12 -0
- package/dist/components/search-select/search-select/utils/fuzzyFilter.d.ts +9 -0
- package/dist/components/search-select.d.ts +2 -0
- package/dist/components/search-select.js +596 -0
- package/dist/components/search-select.js.map +1 -0
- package/dist/components/select/Select.d.ts +39 -27
- package/dist/components/select/Select.stories.d.ts +2 -0
- package/dist/components/select/components/SelectTriggerClearButton.d.ts +6 -0
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select.js +14 -1032
- package/dist/components/select.js.map +1 -1
- package/dist/components/sheet/Sheet.d.ts +35 -0
- package/dist/components/sheet/Sheet.stories.d.ts +20 -0
- package/dist/components/sheet/index.d.ts +1 -0
- package/dist/components/sheet.d.ts +2 -0
- package/dist/components/sheet.js +14 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/shortcut/Shortcut.d.ts +8 -0
- package/dist/components/shortcut/Shortcut.stories.d.ts +22 -0
- package/dist/components/shortcut/index.d.ts +1 -0
- package/dist/components/shortcut.d.ts +2 -0
- package/dist/components/shortcut.js +5 -0
- package/dist/components/shortcut.js.map +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +73 -0
- package/dist/components/sidebar/Sidebar.stories.d.ts +18 -0
- package/dist/components/sidebar/SidebarContext.d.ts +12 -0
- package/dist/components/sidebar/index.d.ts +3 -0
- package/dist/components/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +505 -0
- package/dist/components/sidebar.js.map +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +6 -0
- package/dist/components/skeleton/Skeleton.stories.d.ts +9 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton.d.ts +2 -0
- package/dist/components/skeleton.js +5 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider/Slider.d.ts +4 -0
- package/dist/components/slider/Slider.stories.d.ts +12 -0
- package/dist/components/slider/components/SliderRange.d.ts +4 -0
- package/dist/components/slider/components/SliderThumb.d.ts +4 -0
- package/dist/components/slider/components/SliderTrack.d.ts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +458 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/stepper/Stepper.d.ts +8 -0
- package/dist/components/stepper/Stepper.stories.d.ts +8 -0
- package/dist/components/stepper/StepperContext.d.ts +9 -0
- package/dist/components/stepper/components/stepper-description/StepperDescription.d.ts +1 -0
- package/dist/components/stepper/components/stepper-indicator/StepperIndicator.d.ts +4 -0
- package/dist/components/stepper/components/stepper-item/StepperItem.d.ts +7 -0
- package/dist/components/stepper/components/stepper-item/StepperItemContext.d.ts +11 -0
- package/dist/components/stepper/components/stepper-title/StepperTitle.d.ts +1 -0
- package/dist/components/stepper/components/stepper-trigger/StepperTrigger.d.ts +4 -0
- package/dist/components/stepper/index.d.ts +9 -0
- package/dist/components/stepper/stepper-separator/StepperSeparator.d.ts +1 -0
- package/dist/components/stepper.d.ts +2 -0
- package/dist/components/stepper.js +145 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/switch/Switch.d.ts +5 -180
- package/dist/components/switch/Switch.stories.d.ts +2 -90
- package/dist/components/switch/switch-field/SwitchField.d.ts +9 -315
- package/dist/components/switch/switch-field/SwitchField.stories.d.ts +4 -315
- package/dist/components/switch.js +139 -152
- package/dist/components/switch.js.map +1 -1
- package/dist/components/system-state/SystemState.d.ts +3 -0
- package/dist/components/system-state/SystemState.stories.d.ts +19 -0
- package/dist/components/system-state/components/SystemStateActions.d.ts +10 -0
- package/dist/components/system-state/components/SystemStateCode.d.ts +3 -0
- package/dist/components/system-state/components/SystemStateDescription.d.ts +3 -0
- package/dist/components/system-state/components/SystemStateTitle.d.ts +3 -0
- package/dist/components/system-state/index.d.ts +10 -0
- package/dist/components/system-state.d.ts +2 -0
- package/dist/components/system-state.js +51 -0
- package/dist/components/system-state.js.map +1 -0
- package/dist/components/table/Table.d.ts +18 -0
- package/dist/components/table/Table.stories.d.ts +15 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table.d.ts +2 -0
- package/dist/components/table.js +83 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs/Tabs.d.ts +7 -0
- package/dist/components/tabs/Tabs.stories.d.ts +8 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs.d.ts +2 -0
- package/dist/components/tabs.js +178 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/tag/Tag.d.ts +59 -1103
- package/dist/components/tag/Tag.stories.d.ts +1 -0
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/tag-input/TagInput.d.ts +42 -0
- package/dist/components/tag-input/TagInput.stories.d.ts +9 -0
- package/dist/components/tag-input/index.d.ts +2 -0
- package/dist/components/tag-input.d.ts +2 -0
- package/dist/components/tag-input.js +162 -0
- package/dist/components/tag-input.js.map +1 -0
- package/dist/components/tag.js +7 -189
- package/dist/components/tag.js.map +1 -1
- package/dist/components/text/Text.d.ts +9 -0
- package/dist/components/text/Text.stories.d.ts +24 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text.d.ts +2 -0
- package/dist/components/text.js +5 -0
- package/dist/components/text.js.map +1 -0
- package/dist/components/textarea/autogrow-textarea/AutogrowTextarea.d.ts +12 -0
- package/dist/components/textarea/autogrow-textarea/AutogrowTextarea.stories.d.ts +10 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/textarea/Textarea.d.ts +14 -0
- package/dist/components/textarea/textarea/Textarea.stories.d.ts +7 -0
- package/dist/components/textarea.d.ts +2 -0
- package/dist/components/textarea.js +217 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/timer/Timer.d.ts +5 -0
- package/dist/components/timer/Timer.stories.d.ts +15 -0
- package/dist/components/timer/components/TimerUnit.d.ts +5 -0
- package/dist/components/timer/components/TimerValue.d.ts +5 -0
- package/dist/components/timer/index.d.ts +3 -0
- package/dist/components/timer.d.ts +2 -0
- package/dist/components/timer.js +23 -0
- package/dist/components/timer.js.map +1 -0
- package/dist/components/toast/Toast.d.ts +11 -3
- package/dist/components/toast/Toast.stories.d.ts +3 -0
- package/dist/components/toast/ToastView.d.ts +20 -401
- package/dist/components/toast/components/toast-action/ToastAction.d.ts +1 -0
- package/dist/components/toast/hooks/useToastContext.d.ts +1 -1
- package/dist/components/toast/index.d.ts +4 -1
- package/dist/components/toast.js +460 -471
- package/dist/components/toast.js.map +1 -1
- package/dist/components/toggle/Toggle.d.ts +52 -0
- package/dist/components/toggle/Toggle.stories.d.ts +8 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +6 -0
- package/dist/components/toggle-group/ToggleGroup.stories.d.ts +13 -0
- package/dist/components/toggle-group/index.d.ts +1 -0
- package/dist/components/toggle-group.d.ts +2 -0
- package/dist/components/toggle-group.js +37 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.d.ts +2 -0
- package/dist/components/toggle.js +5 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/toolbar/Toolbar.d.ts +52 -0
- package/dist/components/toolbar/Toolbar.stories.d.ts +22 -0
- package/dist/components/toolbar/ToolbarContext.d.ts +11 -0
- package/dist/components/toolbar/index.d.ts +2 -0
- package/dist/components/toolbar.d.ts +2 -0
- package/dist/components/toolbar.js +304 -0
- package/dist/components/toolbar.js.map +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +34 -0
- package/dist/components/tooltip/Tooltip.stories.d.ts +20 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/useTooltipContext.d.ts +6 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +16 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/createLucideIcon-DwBrHnj9.js +80 -0
- package/dist/{createLucideIcon-DgrNxRV5.js.map → createLucideIcon-DwBrHnj9.js.map} +1 -1
- package/dist/design-tokens.source.json +1 -1
- package/dist/download-BHsj218e.js +16 -0
- package/dist/download-BHsj218e.js.map +1 -0
- package/dist/examples/gramax/CloneRepository.stories.d.ts +5 -0
- package/dist/examples/gramax/NewStorage.stories.d.ts +5 -0
- package/dist/examples/quiz/QuizPage.stories.d.ts +6 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/use-file-upload/errorMessages.d.ts +39 -0
- package/dist/hooks/use-file-upload/index.d.ts +3 -0
- package/dist/hooks/use-file-upload/useFileUpload.d.ts +81 -0
- package/dist/hooks/use-file-upload.d.ts +2 -0
- package/dist/hooks/use-file-upload.js +7 -0
- package/dist/hooks/use-file-upload.js.map +1 -0
- package/dist/hooks/useAutofill.d.ts +8 -0
- package/dist/hooks/useBreakpoints.d.ts +23 -0
- package/dist/hooks/useControllableState.d.ts +13 -0
- package/dist/hooks/useControlledValue.d.ts +10 -0
- package/dist/hooks/useCopyAction.d.ts +7 -0
- package/dist/hooks/useCustomValidity.d.ts +9 -0
- package/dist/hooks/useDataCache.d.ts +77 -0
- package/dist/hooks/useDebounce.d.ts +7 -0
- package/dist/hooks/useFileType.d.ts +4 -0
- package/dist/hooks/useInputWithActions.d.ts +32 -0
- package/dist/hooks/useItemsKeyboardNavigation.d.ts +56 -0
- package/dist/hooks/useSearchCache.test.d.ts +1 -0
- package/dist/hooks/useSearchSelect.d.ts +31 -0
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.js +14 -0
- package/dist/hooks.js.map +1 -0
- package/dist/image-BqL5JP90.js +16 -0
- package/dist/image-BqL5JP90.js.map +1 -0
- package/dist/index-0ioNhtNM.js +11 -0
- package/dist/index-0ioNhtNM.js.map +1 -0
- package/dist/index-437EL2iq.js +53 -0
- package/dist/index-437EL2iq.js.map +1 -0
- package/dist/index-BGQepRFJ.js +28 -0
- package/dist/index-BGQepRFJ.js.map +1 -0
- package/dist/index-BVqs-uqP.js +234 -0
- package/dist/index-BVqs-uqP.js.map +1 -0
- package/dist/index-BZPx6jYI.js.map +1 -1
- package/dist/index-Bb23HztA.js +33 -0
- package/dist/index-Bb23HztA.js.map +1 -0
- package/dist/index-BpWB3aFK.js +71 -0
- package/dist/index-BpWB3aFK.js.map +1 -0
- package/dist/index-BtQfgaSF.js +61 -0
- package/dist/index-BtQfgaSF.js.map +1 -0
- package/dist/index-ByaXH_ih.js +11 -0
- package/dist/index-ByaXH_ih.js.map +1 -0
- package/dist/index-BzCriPiK.js +671 -0
- package/dist/index-BzCriPiK.js.map +1 -0
- package/dist/index-CCKe-Mpx.js +7 -0
- package/dist/index-CCKe-Mpx.js.map +1 -0
- package/dist/index-CFaU3UXv.js +94 -0
- package/dist/index-CFaU3UXv.js.map +1 -0
- package/dist/index-CLuiUUQ8.js +137 -0
- package/dist/index-CLuiUUQ8.js.map +1 -0
- package/dist/index-CQD-Njgt.js +245 -0
- package/dist/index-CQD-Njgt.js.map +1 -0
- package/dist/index-CmBeyp2d.js +56 -0
- package/dist/index-CmBeyp2d.js.map +1 -0
- package/dist/index-DFZozV_h.js +69 -0
- package/dist/index-DFZozV_h.js.map +1 -0
- package/dist/index-DHsfW5Rj.js +49 -0
- package/dist/index-DHsfW5Rj.js.map +1 -0
- package/dist/index-DHyZ_0Ut.js +181 -0
- package/dist/index-DHyZ_0Ut.js.map +1 -0
- package/dist/index-DLcqcWxM.js +30 -0
- package/dist/index-DLcqcWxM.js.map +1 -0
- package/dist/index-DRo26PBK.js +1525 -0
- package/dist/index-DRo26PBK.js.map +1 -0
- package/dist/index-DnnQs07z.js +33 -0
- package/dist/index-DnnQs07z.js.map +1 -0
- package/dist/index-Uiy0Xwy2.js +32 -0
- package/dist/index-Uiy0Xwy2.js.map +1 -0
- package/dist/index-_ITz1IyW.js +144 -0
- package/dist/index-_ITz1IyW.js.map +1 -0
- package/dist/index-rKs9bXHr.js +7 -0
- package/dist/index-rKs9bXHr.js.map +1 -0
- package/dist/index-xqkGMOJ8.js +14 -0
- package/dist/index-xqkGMOJ8.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.esm-CXA6i4d7.js +1282 -0
- package/dist/index.esm-CXA6i4d7.js.map +1 -0
- package/dist/index.js +53 -1
- package/dist/index.js.map +1 -1
- package/dist/inputBaseStyles-DbzD_jvq.js +34 -0
- package/dist/inputBaseStyles-DbzD_jvq.js.map +1 -0
- package/dist/lib/utils/cn.d.ts +2 -0
- package/dist/lib/utils/dom.d.ts +6 -0
- package/dist/lib/utils/file/downloadFile.d.ts +2 -0
- package/dist/lib/utils/file/formatBytes.d.ts +1 -0
- package/dist/lib/utils/formatCounterValue.d.ts +21 -0
- package/dist/lib/utils/image/imageConverter.d.ts +23 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/storybook.d.ts +13 -2
- package/dist/lib/utils/styles.d.ts +9 -0
- package/dist/lib/utils/variants.d.ts +35 -0
- package/dist/lib/utils.d.ts +2 -2
- package/dist/lib/utils.js +25 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/loader-circle-D1YXTEGq.js +14 -0
- package/dist/loader-circle-D1YXTEGq.js.map +1 -0
- package/dist/minus-BltQa7Q2.js +12 -0
- package/dist/minus-BltQa7Q2.js.map +1 -0
- package/dist/normalizeDates-9A3c9WYM.js +32 -0
- package/dist/normalizeDates-9A3c9WYM.js.map +1 -0
- package/dist/providers/component-variant-context/ComponentVariantProvider.d.ts +30 -0
- package/dist/providers/component-variant-context/index.d.ts +1 -0
- package/dist/providers/component-variant-context.d.ts +2 -0
- package/dist/providers/component-variant-context.js +6 -0
- package/dist/providers/component-variant-context.js.map +1 -0
- package/dist/rotate-cw-tYRlcg0g.js +15 -0
- package/dist/rotate-cw-tYRlcg0g.js.map +1 -0
- package/dist/search-CDdgqSGg.js +15 -0
- package/dist/search-CDdgqSGg.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.ts.js +7 -0
- package/dist/src/index.ts.js.map +1 -0
- package/dist/styles-scoped.css +4318 -420
- package/dist/styles.css +4313 -417
- package/dist/theme.css +329 -0
- package/dist/theme.d.ts +1 -0
- package/dist/useBreakpoints-D8wKOvil.js +103 -0
- package/dist/useBreakpoints-D8wKOvil.js.map +1 -0
- package/dist/useDebounce-BRah78CF.js +16 -0
- package/dist/useDebounce-BRah78CF.js.map +1 -0
- package/dist/useFileUpload-iDag0iqM.js +197 -0
- package/dist/useFileUpload-iDag0iqM.js.map +1 -0
- package/dist/useItemsKeyboardNavigation-CmeOR30y.js +62 -0
- package/dist/useItemsKeyboardNavigation-CmeOR30y.js.map +1 -0
- package/dist/useMergeRefs-qoKniYqT.js +19 -0
- package/dist/useMergeRefs-qoKniYqT.js.map +1 -0
- package/dist/usePortalContainer-ae6EzS08.js +39 -0
- package/dist/usePortalContainer-ae6EzS08.js.map +1 -0
- package/dist/vendors/date-fns/index.d.ts +19 -0
- package/dist/vendors/date-fns/locale/en-US/index.d.ts +1 -0
- package/dist/vendors/date-fns/locale/en-US.d.ts +2 -0
- package/dist/vendors/date-fns/locale/en-US.js +372 -0
- package/dist/vendors/date-fns/locale/en-US.js.map +1 -0
- package/dist/vendors/date-fns/locale/ru/index.d.ts +1 -0
- package/dist/vendors/date-fns/locale/ru.d.ts +2 -0
- package/dist/vendors/date-fns/locale/ru.js +569 -0
- package/dist/vendors/date-fns/locale/ru.js.map +1 -0
- package/dist/vendors/date-fns.d.ts +2 -0
- package/dist/vendors/date-fns.js +2 -0
- package/dist/vendors/date-fns.js.map +1 -0
- package/dist/vendors/react-day-picker/index.d.ts +22 -0
- package/dist/vendors/react-day-picker.d.ts +2 -0
- package/dist/vendors/react-day-picker.js +87 -0
- package/dist/vendors/react-day-picker.js.map +1 -0
- package/dist/vendors/react-hook-form/index.d.ts +21 -0
- package/dist/vendors/react-hook-form.d.ts +2 -0
- package/dist/vendors/react-hook-form.js +19 -0
- package/dist/vendors/react-hook-form.js.map +1 -0
- package/dist/vendors/tanstack/react-table/index.d.ts +1 -0
- package/dist/vendors/tanstack/react-table.d.ts +2 -0
- package/dist/vendors/tanstack/react-table.js +2090 -0
- package/dist/vendors/tanstack/react-table.js.map +1 -0
- package/dist/vendors/zod/index.d.ts +14 -0
- package/dist/vendors/zod.d.ts +2 -0
- package/dist/vendors/zod.js +3080 -0
- package/dist/vendors/zod.js.map +1 -0
- package/dist/{x-JgjNP5oH.js → x-tDTt7hTQ.js} +2 -2
- package/dist/{x-JgjNP5oH.js.map → x-tDTt7hTQ.js.map} +1 -1
- package/dist/zod-BMNoK3aM.js +75 -0
- package/dist/zod-BMNoK3aM.js.map +1 -0
- package/package.json +89 -23
- package/tailwind.preset.js +440 -0
- package/dist/Button-Cfe4WIYW.js +0 -57
- package/dist/Button-Cfe4WIYW.js.map +0 -1
- package/dist/ButtonBase-C8kakRHQ.js +0 -184
- package/dist/ButtonBase-C8kakRHQ.js.map +0 -1
- package/dist/CheckboxField-DaRmV9yw.js +0 -251
- package/dist/CheckboxField-DaRmV9yw.js.map +0 -1
- package/dist/Description-g2E6P7Qi.js +0 -37
- package/dist/Description-g2E6P7Qi.js.map +0 -1
- package/dist/Divider-D3NvaU8c.js +0 -46
- package/dist/Divider-D3NvaU8c.js.map +0 -1
- package/dist/Field-CjwIc66I.js +0 -83
- package/dist/Field-CjwIc66I.js.map +0 -1
- package/dist/FieldLabel--NVcQQhJ.js +0 -64
- package/dist/FieldLabel--NVcQQhJ.js.map +0 -1
- package/dist/Icon-CSPBHL_x.js +0 -19
- package/dist/Icon-CSPBHL_x.js.map +0 -1
- package/dist/IconButton-CTxOql_1.js +0 -55
- package/dist/IconButton-CTxOql_1.js.map +0 -1
- package/dist/ScrollShadowContainer-C4qXz8gc.js +0 -849
- package/dist/ScrollShadowContainer-C4qXz8gc.js.map +0 -1
- package/dist/components/background/Background.d.ts +0 -138
- package/dist/components/background/Background.stories.d.ts +0 -6
- package/dist/components/input/secret-input/components/ShowValueToggler.d.ts +0 -7
- package/dist/components/modal/Modal.d.ts +0 -14
- package/dist/components/modal/Modal.stories.d.ts +0 -25
- package/dist/components/modal/components/body/ModalBody.d.ts +0 -2
- package/dist/components/modal/components/footer/ModalFooter.d.ts +0 -2
- package/dist/components/modal/components/header/ModalHeader.d.ts +0 -6
- package/dist/components/modal/index.d.ts +0 -6
- package/dist/components/modal/templates/header-template/ModalHeaderTemplate.d.ts +0 -210
- package/dist/components/modal.d.ts +0 -2
- package/dist/components/modal.js +0 -507
- package/dist/components/modal.js.map +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/createLucideIcon-DgrNxRV5.js +0 -112
- package/dist/fonts/inter/InterVariable-Italic.ttf +0 -0
- package/dist/fonts/inter/InterVariable.ttf +0 -0
- package/dist/index-BA36kN2b.js +0 -76
- package/dist/index-BA36kN2b.js.map +0 -1
- package/dist/index-CImD85pK.js +0 -179
- package/dist/index-CImD85pK.js.map +0 -1
- package/dist/index-CR-odn5-.js +0 -2446
- package/dist/index-CR-odn5-.js.map +0 -1
- package/dist/index-CaGtfIqw.js +0 -163
- package/dist/index-CaGtfIqw.js.map +0 -1
- package/dist/index-CfJKNBxG.js +0 -698
- package/dist/index-CfJKNBxG.js.map +0 -1
- package/dist/index-DPws5oAn.js +0 -90
- package/dist/index-DPws5oAn.js.map +0 -1
- package/dist/index-DsEh1WRc.js +0 -1586
- package/dist/index-DsEh1WRc.js.map +0 -1
- package/dist/index-pysSAa5G.js +0 -57
- package/dist/index-pysSAa5G.js.map +0 -1
- package/dist/tooltip-CYQMPCEj.js +0 -365
- package/dist/tooltip-CYQMPCEj.js.map +0 -1
- package/dist/utils-2yE78m5l.js.map +0 -1
|
@@ -0,0 +1,1700 @@
|
|
|
1
|
+
import { jsx as _, jsxs as _t } from "react/jsx-runtime";
|
|
2
|
+
import * as F from "react";
|
|
3
|
+
import gt, { useRef as $t, useState as Kt, useCallback as pn, useEffect as Lt } from "react";
|
|
4
|
+
import { c as gn } from "../cn-dsXlqdJg.js";
|
|
5
|
+
import { T as Nt } from "../index-BVqs-uqP.js";
|
|
6
|
+
import { u as hn } from "../useMergeRefs-qoKniYqT.js";
|
|
7
|
+
import { B as Jt } from "../Button-Dg89xRSi.js";
|
|
8
|
+
import { C as yn } from "../chevron-right-D3juAhA-.js";
|
|
9
|
+
import { C as xn } from "../chevron-left-D6FtXcdU.js";
|
|
10
|
+
function Sn(t) {
|
|
11
|
+
return Object.prototype.toString.call(t) === "[object Object]";
|
|
12
|
+
}
|
|
13
|
+
function Ut(t) {
|
|
14
|
+
return Sn(t) || Array.isArray(t);
|
|
15
|
+
}
|
|
16
|
+
function vn() {
|
|
17
|
+
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
18
|
+
}
|
|
19
|
+
function Dt(t, n) {
|
|
20
|
+
const o = Object.keys(t), r = Object.keys(n);
|
|
21
|
+
if (o.length !== r.length) return !1;
|
|
22
|
+
const c = JSON.stringify(Object.keys(t.breakpoints || {})), s = JSON.stringify(Object.keys(n.breakpoints || {}));
|
|
23
|
+
return c !== s ? !1 : o.every((e) => {
|
|
24
|
+
const a = t[e], i = n[e];
|
|
25
|
+
return typeof a == "function" ? `${a}` == `${i}` : !Ut(a) || !Ut(i) ? a === i : Dt(a, i);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function Xt(t) {
|
|
29
|
+
return t.concat().sort((n, o) => n.name > o.name ? 1 : -1).map((n) => n.options);
|
|
30
|
+
}
|
|
31
|
+
function bn(t, n) {
|
|
32
|
+
if (t.length !== n.length) return !1;
|
|
33
|
+
const o = Xt(t), r = Xt(n);
|
|
34
|
+
return o.every((c, s) => {
|
|
35
|
+
const e = r[s];
|
|
36
|
+
return Dt(c, e);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function Pt(t) {
|
|
40
|
+
return typeof t == "number";
|
|
41
|
+
}
|
|
42
|
+
function It(t) {
|
|
43
|
+
return typeof t == "string";
|
|
44
|
+
}
|
|
45
|
+
function St(t) {
|
|
46
|
+
return typeof t == "boolean";
|
|
47
|
+
}
|
|
48
|
+
function Qt(t) {
|
|
49
|
+
return Object.prototype.toString.call(t) === "[object Object]";
|
|
50
|
+
}
|
|
51
|
+
function D(t) {
|
|
52
|
+
return Math.abs(t);
|
|
53
|
+
}
|
|
54
|
+
function At(t) {
|
|
55
|
+
return Math.sign(t);
|
|
56
|
+
}
|
|
57
|
+
function ft(t, n) {
|
|
58
|
+
return D(t - n);
|
|
59
|
+
}
|
|
60
|
+
function zn(t, n) {
|
|
61
|
+
if (t === 0 || n === 0 || D(t) <= D(n)) return 0;
|
|
62
|
+
const o = ft(D(t), D(n));
|
|
63
|
+
return D(o / t);
|
|
64
|
+
}
|
|
65
|
+
function En(t) {
|
|
66
|
+
return Math.round(t * 100) / 100;
|
|
67
|
+
}
|
|
68
|
+
function dt(t) {
|
|
69
|
+
return mt(t).map(Number);
|
|
70
|
+
}
|
|
71
|
+
function B(t) {
|
|
72
|
+
return t[ht(t)];
|
|
73
|
+
}
|
|
74
|
+
function ht(t) {
|
|
75
|
+
return Math.max(0, t.length - 1);
|
|
76
|
+
}
|
|
77
|
+
function Ot(t, n) {
|
|
78
|
+
return n === ht(t);
|
|
79
|
+
}
|
|
80
|
+
function Yt(t, n = 0) {
|
|
81
|
+
return Array.from(Array(t), (o, r) => n + r);
|
|
82
|
+
}
|
|
83
|
+
function mt(t) {
|
|
84
|
+
return Object.keys(t);
|
|
85
|
+
}
|
|
86
|
+
function Zt(t, n) {
|
|
87
|
+
return [t, n].reduce((o, r) => (mt(r).forEach((c) => {
|
|
88
|
+
const s = o[c], e = r[c], a = Qt(s) && Qt(e);
|
|
89
|
+
o[c] = a ? Zt(s, e) : e;
|
|
90
|
+
}), o), {});
|
|
91
|
+
}
|
|
92
|
+
function Tt(t, n) {
|
|
93
|
+
return typeof n.MouseEvent < "u" && t instanceof n.MouseEvent;
|
|
94
|
+
}
|
|
95
|
+
function wn(t, n) {
|
|
96
|
+
const o = {
|
|
97
|
+
start: r,
|
|
98
|
+
center: c,
|
|
99
|
+
end: s
|
|
100
|
+
};
|
|
101
|
+
function r() {
|
|
102
|
+
return 0;
|
|
103
|
+
}
|
|
104
|
+
function c(i) {
|
|
105
|
+
return s(i) / 2;
|
|
106
|
+
}
|
|
107
|
+
function s(i) {
|
|
108
|
+
return n - i;
|
|
109
|
+
}
|
|
110
|
+
function e(i, u) {
|
|
111
|
+
return It(t) ? o[t](i) : t(n, i, u);
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
measure: e
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function pt() {
|
|
118
|
+
let t = [];
|
|
119
|
+
function n(c, s, e, a = {
|
|
120
|
+
passive: !0
|
|
121
|
+
}) {
|
|
122
|
+
let i;
|
|
123
|
+
if ("addEventListener" in c)
|
|
124
|
+
c.addEventListener(s, e, a), i = () => c.removeEventListener(s, e, a);
|
|
125
|
+
else {
|
|
126
|
+
const u = c;
|
|
127
|
+
u.addListener(e), i = () => u.removeListener(e);
|
|
128
|
+
}
|
|
129
|
+
return t.push(i), r;
|
|
130
|
+
}
|
|
131
|
+
function o() {
|
|
132
|
+
t = t.filter((c) => c());
|
|
133
|
+
}
|
|
134
|
+
const r = {
|
|
135
|
+
add: n,
|
|
136
|
+
clear: o
|
|
137
|
+
};
|
|
138
|
+
return r;
|
|
139
|
+
}
|
|
140
|
+
function Cn(t, n, o, r) {
|
|
141
|
+
const c = pt(), s = 1e3 / 60;
|
|
142
|
+
let e = null, a = 0, i = 0;
|
|
143
|
+
function u() {
|
|
144
|
+
c.add(t, "visibilitychange", () => {
|
|
145
|
+
t.hidden && d();
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
function h() {
|
|
149
|
+
v(), c.clear();
|
|
150
|
+
}
|
|
151
|
+
function l(g) {
|
|
152
|
+
if (!i) return;
|
|
153
|
+
e || (e = g, o(), o());
|
|
154
|
+
const f = g - e;
|
|
155
|
+
for (e = g, a += f; a >= s; )
|
|
156
|
+
o(), a -= s;
|
|
157
|
+
const y = a / s;
|
|
158
|
+
r(y), i && (i = n.requestAnimationFrame(l));
|
|
159
|
+
}
|
|
160
|
+
function m() {
|
|
161
|
+
i || (i = n.requestAnimationFrame(l));
|
|
162
|
+
}
|
|
163
|
+
function v() {
|
|
164
|
+
n.cancelAnimationFrame(i), e = null, a = 0, i = 0;
|
|
165
|
+
}
|
|
166
|
+
function d() {
|
|
167
|
+
e = null, a = 0;
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
init: u,
|
|
171
|
+
destroy: h,
|
|
172
|
+
start: m,
|
|
173
|
+
stop: v,
|
|
174
|
+
update: o,
|
|
175
|
+
render: r
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
function Ln(t, n) {
|
|
179
|
+
const o = n === "rtl", r = t === "y", c = r ? "y" : "x", s = r ? "x" : "y", e = !r && o ? -1 : 1, a = h(), i = l();
|
|
180
|
+
function u(d) {
|
|
181
|
+
const {
|
|
182
|
+
height: p,
|
|
183
|
+
width: g
|
|
184
|
+
} = d;
|
|
185
|
+
return r ? p : g;
|
|
186
|
+
}
|
|
187
|
+
function h() {
|
|
188
|
+
return r ? "top" : o ? "right" : "left";
|
|
189
|
+
}
|
|
190
|
+
function l() {
|
|
191
|
+
return r ? "bottom" : o ? "left" : "right";
|
|
192
|
+
}
|
|
193
|
+
function m(d) {
|
|
194
|
+
return d * e;
|
|
195
|
+
}
|
|
196
|
+
return {
|
|
197
|
+
scroll: c,
|
|
198
|
+
cross: s,
|
|
199
|
+
startEdge: a,
|
|
200
|
+
endEdge: i,
|
|
201
|
+
measureSize: u,
|
|
202
|
+
direction: m
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function et(t = 0, n = 0) {
|
|
206
|
+
const o = D(t - n);
|
|
207
|
+
function r(u) {
|
|
208
|
+
return u < t;
|
|
209
|
+
}
|
|
210
|
+
function c(u) {
|
|
211
|
+
return u > n;
|
|
212
|
+
}
|
|
213
|
+
function s(u) {
|
|
214
|
+
return r(u) || c(u);
|
|
215
|
+
}
|
|
216
|
+
function e(u) {
|
|
217
|
+
return s(u) ? r(u) ? t : n : u;
|
|
218
|
+
}
|
|
219
|
+
function a(u) {
|
|
220
|
+
return o ? u - o * Math.ceil((u - n) / o) : u;
|
|
221
|
+
}
|
|
222
|
+
return {
|
|
223
|
+
length: o,
|
|
224
|
+
max: n,
|
|
225
|
+
min: t,
|
|
226
|
+
constrain: e,
|
|
227
|
+
reachedAny: s,
|
|
228
|
+
reachedMax: c,
|
|
229
|
+
reachedMin: r,
|
|
230
|
+
removeOffset: a
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
function Wt(t, n, o) {
|
|
234
|
+
const {
|
|
235
|
+
constrain: r
|
|
236
|
+
} = et(0, t), c = t + 1;
|
|
237
|
+
let s = e(n);
|
|
238
|
+
function e(m) {
|
|
239
|
+
return o ? D((c + m) % c) : r(m);
|
|
240
|
+
}
|
|
241
|
+
function a() {
|
|
242
|
+
return s;
|
|
243
|
+
}
|
|
244
|
+
function i(m) {
|
|
245
|
+
return s = e(m), l;
|
|
246
|
+
}
|
|
247
|
+
function u(m) {
|
|
248
|
+
return h().set(a() + m);
|
|
249
|
+
}
|
|
250
|
+
function h() {
|
|
251
|
+
return Wt(t, a(), o);
|
|
252
|
+
}
|
|
253
|
+
const l = {
|
|
254
|
+
get: a,
|
|
255
|
+
set: i,
|
|
256
|
+
add: u,
|
|
257
|
+
clone: h
|
|
258
|
+
};
|
|
259
|
+
return l;
|
|
260
|
+
}
|
|
261
|
+
function In(t, n, o, r, c, s, e, a, i, u, h, l, m, v, d, p, g, f, y) {
|
|
262
|
+
const {
|
|
263
|
+
cross: x,
|
|
264
|
+
direction: E
|
|
265
|
+
} = t, w = ["INPUT", "SELECT", "TEXTAREA"], C = {
|
|
266
|
+
passive: !1
|
|
267
|
+
}, z = pt(), b = pt(), L = et(50, 225).constrain(v.measure(20)), P = {
|
|
268
|
+
mouse: 300,
|
|
269
|
+
touch: 400
|
|
270
|
+
}, I = {
|
|
271
|
+
mouse: 500,
|
|
272
|
+
touch: 600
|
|
273
|
+
}, k = d ? 43 : 25;
|
|
274
|
+
let j = !1, G = 0, H = 0, W = !1, J = !1, K = !1, U = !1;
|
|
275
|
+
function it(S) {
|
|
276
|
+
if (!y) return;
|
|
277
|
+
function T(M) {
|
|
278
|
+
(St(y) || y(S, M)) && at(M);
|
|
279
|
+
}
|
|
280
|
+
const A = n;
|
|
281
|
+
z.add(A, "dragstart", (M) => M.preventDefault(), C).add(A, "touchmove", () => {
|
|
282
|
+
}, C).add(A, "touchend", () => {
|
|
283
|
+
}).add(A, "touchstart", T).add(A, "mousedown", T).add(A, "touchcancel", O).add(A, "contextmenu", O).add(A, "click", Q, !0);
|
|
284
|
+
}
|
|
285
|
+
function q() {
|
|
286
|
+
z.clear(), b.clear();
|
|
287
|
+
}
|
|
288
|
+
function ot() {
|
|
289
|
+
const S = U ? o : n;
|
|
290
|
+
b.add(S, "touchmove", R, C).add(S, "touchend", O).add(S, "mousemove", R, C).add(S, "mouseup", O);
|
|
291
|
+
}
|
|
292
|
+
function rt(S) {
|
|
293
|
+
const T = S.nodeName || "";
|
|
294
|
+
return w.includes(T);
|
|
295
|
+
}
|
|
296
|
+
function X() {
|
|
297
|
+
return (d ? I : P)[U ? "mouse" : "touch"];
|
|
298
|
+
}
|
|
299
|
+
function ct(S, T) {
|
|
300
|
+
const A = l.add(At(S) * -1), M = h.byDistance(S, !d).distance;
|
|
301
|
+
return d || D(S) < L ? M : g && T ? M * 0.5 : h.byIndex(A.get(), 0).distance;
|
|
302
|
+
}
|
|
303
|
+
function at(S) {
|
|
304
|
+
const T = Tt(S, r);
|
|
305
|
+
U = T, K = d && T && !S.buttons && j, j = ft(c.get(), e.get()) >= 2, !(T && S.button !== 0) && (rt(S.target) || (W = !0, s.pointerDown(S), u.useFriction(0).useDuration(0), c.set(e), ot(), G = s.readPoint(S), H = s.readPoint(S, x), m.emit("pointerDown")));
|
|
306
|
+
}
|
|
307
|
+
function R(S) {
|
|
308
|
+
if (!Tt(S, r) && S.touches.length >= 2) return O(S);
|
|
309
|
+
const A = s.readPoint(S), M = s.readPoint(S, x), $ = ft(A, G), Y = ft(M, H);
|
|
310
|
+
if (!J && !U && (!S.cancelable || (J = $ > Y, !J)))
|
|
311
|
+
return O(S);
|
|
312
|
+
const tt = s.pointerMove(S);
|
|
313
|
+
$ > p && (K = !0), u.useFriction(0.3).useDuration(0.75), a.start(), c.add(E(tt)), S.preventDefault();
|
|
314
|
+
}
|
|
315
|
+
function O(S) {
|
|
316
|
+
const A = h.byDistance(0, !1).index !== l.get(), M = s.pointerUp(S) * X(), $ = ct(E(M), A), Y = zn(M, $), tt = k - 10 * Y, Z = f + Y / 50;
|
|
317
|
+
J = !1, W = !1, b.clear(), u.useDuration(tt).useFriction(Z), i.distance($, !d), U = !1, m.emit("pointerUp");
|
|
318
|
+
}
|
|
319
|
+
function Q(S) {
|
|
320
|
+
K && (S.stopPropagation(), S.preventDefault(), K = !1);
|
|
321
|
+
}
|
|
322
|
+
function V() {
|
|
323
|
+
return W;
|
|
324
|
+
}
|
|
325
|
+
return {
|
|
326
|
+
init: it,
|
|
327
|
+
destroy: q,
|
|
328
|
+
pointerDown: V
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
function Tn(t, n) {
|
|
332
|
+
let r, c;
|
|
333
|
+
function s(l) {
|
|
334
|
+
return l.timeStamp;
|
|
335
|
+
}
|
|
336
|
+
function e(l, m) {
|
|
337
|
+
const d = `client${(m || t.scroll) === "x" ? "X" : "Y"}`;
|
|
338
|
+
return (Tt(l, n) ? l : l.touches[0])[d];
|
|
339
|
+
}
|
|
340
|
+
function a(l) {
|
|
341
|
+
return r = l, c = l, e(l);
|
|
342
|
+
}
|
|
343
|
+
function i(l) {
|
|
344
|
+
const m = e(l) - e(c), v = s(l) - s(r) > 170;
|
|
345
|
+
return c = l, v && (r = l), m;
|
|
346
|
+
}
|
|
347
|
+
function u(l) {
|
|
348
|
+
if (!r || !c) return 0;
|
|
349
|
+
const m = e(c) - e(r), v = s(l) - s(r), d = s(l) - s(c) > 170, p = m / v;
|
|
350
|
+
return v && !d && D(p) > 0.1 ? p : 0;
|
|
351
|
+
}
|
|
352
|
+
return {
|
|
353
|
+
pointerDown: a,
|
|
354
|
+
pointerMove: i,
|
|
355
|
+
pointerUp: u,
|
|
356
|
+
readPoint: e
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
function Nn() {
|
|
360
|
+
function t(o) {
|
|
361
|
+
const {
|
|
362
|
+
offsetTop: r,
|
|
363
|
+
offsetLeft: c,
|
|
364
|
+
offsetWidth: s,
|
|
365
|
+
offsetHeight: e
|
|
366
|
+
} = o;
|
|
367
|
+
return {
|
|
368
|
+
top: r,
|
|
369
|
+
right: c + s,
|
|
370
|
+
bottom: r + e,
|
|
371
|
+
left: c,
|
|
372
|
+
width: s,
|
|
373
|
+
height: e
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
return {
|
|
377
|
+
measure: t
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function Dn(t) {
|
|
381
|
+
function n(r) {
|
|
382
|
+
return t * (r / 100);
|
|
383
|
+
}
|
|
384
|
+
return {
|
|
385
|
+
measure: n
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
function Pn(t, n, o, r, c, s, e) {
|
|
389
|
+
const a = [t].concat(r);
|
|
390
|
+
let i, u, h = [], l = !1;
|
|
391
|
+
function m(g) {
|
|
392
|
+
return c.measureSize(e.measure(g));
|
|
393
|
+
}
|
|
394
|
+
function v(g) {
|
|
395
|
+
if (!s) return;
|
|
396
|
+
u = m(t), h = r.map(m);
|
|
397
|
+
function f(y) {
|
|
398
|
+
for (const x of y) {
|
|
399
|
+
if (l) return;
|
|
400
|
+
const E = x.target === t, w = r.indexOf(x.target), C = E ? u : h[w], z = m(E ? t : r[w]);
|
|
401
|
+
if (D(z - C) >= 0.5) {
|
|
402
|
+
g.reInit(), n.emit("resize");
|
|
403
|
+
break;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
i = new ResizeObserver((y) => {
|
|
408
|
+
(St(s) || s(g, y)) && f(y);
|
|
409
|
+
}), o.requestAnimationFrame(() => {
|
|
410
|
+
a.forEach((y) => i.observe(y));
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
function d() {
|
|
414
|
+
l = !0, i && i.disconnect();
|
|
415
|
+
}
|
|
416
|
+
return {
|
|
417
|
+
init: v,
|
|
418
|
+
destroy: d
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
function An(t, n, o, r, c, s) {
|
|
422
|
+
let e = 0, a = 0, i = c, u = s, h = t.get(), l = 0;
|
|
423
|
+
function m() {
|
|
424
|
+
const C = r.get() - t.get(), z = !i;
|
|
425
|
+
let b = 0;
|
|
426
|
+
return z ? (e = 0, o.set(r), t.set(r), b = C) : (o.set(t), e += C / i, e *= u, h += e, t.add(e), b = h - l), a = At(b), l = h, w;
|
|
427
|
+
}
|
|
428
|
+
function v() {
|
|
429
|
+
const C = r.get() - n.get();
|
|
430
|
+
return D(C) < 1e-3;
|
|
431
|
+
}
|
|
432
|
+
function d() {
|
|
433
|
+
return i;
|
|
434
|
+
}
|
|
435
|
+
function p() {
|
|
436
|
+
return a;
|
|
437
|
+
}
|
|
438
|
+
function g() {
|
|
439
|
+
return e;
|
|
440
|
+
}
|
|
441
|
+
function f() {
|
|
442
|
+
return x(c);
|
|
443
|
+
}
|
|
444
|
+
function y() {
|
|
445
|
+
return E(s);
|
|
446
|
+
}
|
|
447
|
+
function x(C) {
|
|
448
|
+
return i = C, w;
|
|
449
|
+
}
|
|
450
|
+
function E(C) {
|
|
451
|
+
return u = C, w;
|
|
452
|
+
}
|
|
453
|
+
const w = {
|
|
454
|
+
direction: p,
|
|
455
|
+
duration: d,
|
|
456
|
+
velocity: g,
|
|
457
|
+
seek: m,
|
|
458
|
+
settled: v,
|
|
459
|
+
useBaseFriction: y,
|
|
460
|
+
useBaseDuration: f,
|
|
461
|
+
useFriction: E,
|
|
462
|
+
useDuration: x
|
|
463
|
+
};
|
|
464
|
+
return w;
|
|
465
|
+
}
|
|
466
|
+
function On(t, n, o, r, c) {
|
|
467
|
+
const s = c.measure(10), e = c.measure(50), a = et(0.1, 0.99);
|
|
468
|
+
let i = !1;
|
|
469
|
+
function u() {
|
|
470
|
+
return !(i || !t.reachedAny(o.get()) || !t.reachedAny(n.get()));
|
|
471
|
+
}
|
|
472
|
+
function h(v) {
|
|
473
|
+
if (!u()) return;
|
|
474
|
+
const d = t.reachedMin(n.get()) ? "min" : "max", p = D(t[d] - n.get()), g = o.get() - n.get(), f = a.constrain(p / e);
|
|
475
|
+
o.subtract(g * f), !v && D(g) < s && (o.set(t.constrain(o.get())), r.useDuration(25).useBaseFriction());
|
|
476
|
+
}
|
|
477
|
+
function l(v) {
|
|
478
|
+
i = !v;
|
|
479
|
+
}
|
|
480
|
+
return {
|
|
481
|
+
shouldConstrain: u,
|
|
482
|
+
constrain: h,
|
|
483
|
+
toggleActive: l
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function Mn(t, n, o, r, c) {
|
|
487
|
+
const s = et(-n + t, 0), e = l(), a = h(), i = m();
|
|
488
|
+
function u(d, p) {
|
|
489
|
+
return ft(d, p) <= 1;
|
|
490
|
+
}
|
|
491
|
+
function h() {
|
|
492
|
+
const d = e[0], p = B(e), g = e.lastIndexOf(d), f = e.indexOf(p) + 1;
|
|
493
|
+
return et(g, f);
|
|
494
|
+
}
|
|
495
|
+
function l() {
|
|
496
|
+
return o.map((d, p) => {
|
|
497
|
+
const {
|
|
498
|
+
min: g,
|
|
499
|
+
max: f
|
|
500
|
+
} = s, y = s.constrain(d), x = !p, E = Ot(o, p);
|
|
501
|
+
return x ? f : E || u(g, y) ? g : u(f, y) ? f : y;
|
|
502
|
+
}).map((d) => parseFloat(d.toFixed(3)));
|
|
503
|
+
}
|
|
504
|
+
function m() {
|
|
505
|
+
if (n <= t + c) return [s.max];
|
|
506
|
+
if (r === "keepSnaps") return e;
|
|
507
|
+
const {
|
|
508
|
+
min: d,
|
|
509
|
+
max: p
|
|
510
|
+
} = a;
|
|
511
|
+
return e.slice(d, p);
|
|
512
|
+
}
|
|
513
|
+
return {
|
|
514
|
+
snapsContained: i,
|
|
515
|
+
scrollContainLimit: a
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
function kn(t, n, o) {
|
|
519
|
+
const r = n[0], c = o ? r - t : B(n);
|
|
520
|
+
return {
|
|
521
|
+
limit: et(c, r)
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
function Fn(t, n, o, r) {
|
|
525
|
+
const s = n.min + 0.1, e = n.max + 0.1, {
|
|
526
|
+
reachedMin: a,
|
|
527
|
+
reachedMax: i
|
|
528
|
+
} = et(s, e);
|
|
529
|
+
function u(m) {
|
|
530
|
+
return m === 1 ? i(o.get()) : m === -1 ? a(o.get()) : !1;
|
|
531
|
+
}
|
|
532
|
+
function h(m) {
|
|
533
|
+
if (!u(m)) return;
|
|
534
|
+
const v = t * (m * -1);
|
|
535
|
+
r.forEach((d) => d.add(v));
|
|
536
|
+
}
|
|
537
|
+
return {
|
|
538
|
+
loop: h
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
function Rn(t) {
|
|
542
|
+
const {
|
|
543
|
+
max: n,
|
|
544
|
+
length: o
|
|
545
|
+
} = t;
|
|
546
|
+
function r(s) {
|
|
547
|
+
const e = s - n;
|
|
548
|
+
return o ? e / -o : 0;
|
|
549
|
+
}
|
|
550
|
+
return {
|
|
551
|
+
get: r
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
function Vn(t, n, o, r, c) {
|
|
555
|
+
const {
|
|
556
|
+
startEdge: s,
|
|
557
|
+
endEdge: e
|
|
558
|
+
} = t, {
|
|
559
|
+
groupSlides: a
|
|
560
|
+
} = c, i = l().map(n.measure), u = m(), h = v();
|
|
561
|
+
function l() {
|
|
562
|
+
return a(r).map((p) => B(p)[e] - p[0][s]).map(D);
|
|
563
|
+
}
|
|
564
|
+
function m() {
|
|
565
|
+
return r.map((p) => o[s] - p[s]).map((p) => -D(p));
|
|
566
|
+
}
|
|
567
|
+
function v() {
|
|
568
|
+
return a(u).map((p) => p[0]).map((p, g) => p + i[g]);
|
|
569
|
+
}
|
|
570
|
+
return {
|
|
571
|
+
snaps: u,
|
|
572
|
+
snapsAligned: h
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
function Bn(t, n, o, r, c, s) {
|
|
576
|
+
const {
|
|
577
|
+
groupSlides: e
|
|
578
|
+
} = c, {
|
|
579
|
+
min: a,
|
|
580
|
+
max: i
|
|
581
|
+
} = r, u = h();
|
|
582
|
+
function h() {
|
|
583
|
+
const m = e(s), v = !t || n === "keepSnaps";
|
|
584
|
+
return o.length === 1 ? [s] : v ? m : m.slice(a, i).map((d, p, g) => {
|
|
585
|
+
const f = !p, y = Ot(g, p);
|
|
586
|
+
if (f) {
|
|
587
|
+
const x = B(g[0]) + 1;
|
|
588
|
+
return Yt(x);
|
|
589
|
+
}
|
|
590
|
+
if (y) {
|
|
591
|
+
const x = ht(s) - B(g)[0] + 1;
|
|
592
|
+
return Yt(x, B(g)[0]);
|
|
593
|
+
}
|
|
594
|
+
return d;
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
return {
|
|
598
|
+
slideRegistry: u
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
function jn(t, n, o, r, c) {
|
|
602
|
+
const {
|
|
603
|
+
reachedAny: s,
|
|
604
|
+
removeOffset: e,
|
|
605
|
+
constrain: a
|
|
606
|
+
} = r;
|
|
607
|
+
function i(d) {
|
|
608
|
+
return d.concat().sort((p, g) => D(p) - D(g))[0];
|
|
609
|
+
}
|
|
610
|
+
function u(d) {
|
|
611
|
+
const p = t ? e(d) : a(d), g = n.map((y, x) => ({
|
|
612
|
+
diff: h(y - p, 0),
|
|
613
|
+
index: x
|
|
614
|
+
})).sort((y, x) => D(y.diff) - D(x.diff)), {
|
|
615
|
+
index: f
|
|
616
|
+
} = g[0];
|
|
617
|
+
return {
|
|
618
|
+
index: f,
|
|
619
|
+
distance: p
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
function h(d, p) {
|
|
623
|
+
const g = [d, d + o, d - o];
|
|
624
|
+
if (!t) return d;
|
|
625
|
+
if (!p) return i(g);
|
|
626
|
+
const f = g.filter((y) => At(y) === p);
|
|
627
|
+
return f.length ? i(f) : B(g) - o;
|
|
628
|
+
}
|
|
629
|
+
function l(d, p) {
|
|
630
|
+
const g = n[d] - c.get(), f = h(g, p);
|
|
631
|
+
return {
|
|
632
|
+
index: d,
|
|
633
|
+
distance: f
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
function m(d, p) {
|
|
637
|
+
const g = c.get() + d, {
|
|
638
|
+
index: f,
|
|
639
|
+
distance: y
|
|
640
|
+
} = u(g), x = !t && s(g);
|
|
641
|
+
if (!p || x) return {
|
|
642
|
+
index: f,
|
|
643
|
+
distance: d
|
|
644
|
+
};
|
|
645
|
+
const E = n[f] - y, w = d + h(E, 0);
|
|
646
|
+
return {
|
|
647
|
+
index: f,
|
|
648
|
+
distance: w
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
return {
|
|
652
|
+
byDistance: m,
|
|
653
|
+
byIndex: l,
|
|
654
|
+
shortcut: h
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
function Gn(t, n, o, r, c, s, e) {
|
|
658
|
+
function a(l) {
|
|
659
|
+
const m = l.distance, v = l.index !== n.get();
|
|
660
|
+
s.add(m), m && (r.duration() ? t.start() : (t.update(), t.render(1), t.update())), v && (o.set(n.get()), n.set(l.index), e.emit("select"));
|
|
661
|
+
}
|
|
662
|
+
function i(l, m) {
|
|
663
|
+
const v = c.byDistance(l, m);
|
|
664
|
+
a(v);
|
|
665
|
+
}
|
|
666
|
+
function u(l, m) {
|
|
667
|
+
const v = n.clone().set(l), d = c.byIndex(v.get(), m);
|
|
668
|
+
a(d);
|
|
669
|
+
}
|
|
670
|
+
return {
|
|
671
|
+
distance: i,
|
|
672
|
+
index: u
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
function Hn(t, n, o, r, c, s, e, a) {
|
|
676
|
+
const i = {
|
|
677
|
+
passive: !0,
|
|
678
|
+
capture: !0
|
|
679
|
+
};
|
|
680
|
+
let u = 0;
|
|
681
|
+
function h(v) {
|
|
682
|
+
if (!a) return;
|
|
683
|
+
function d(p) {
|
|
684
|
+
if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
|
|
685
|
+
e.emit("slideFocusStart"), t.scrollLeft = 0;
|
|
686
|
+
const y = o.findIndex((x) => x.includes(p));
|
|
687
|
+
Pt(y) && (c.useDuration(0), r.index(y, 0), e.emit("slideFocus"));
|
|
688
|
+
}
|
|
689
|
+
s.add(document, "keydown", l, !1), n.forEach((p, g) => {
|
|
690
|
+
s.add(p, "focus", (f) => {
|
|
691
|
+
(St(a) || a(v, f)) && d(g);
|
|
692
|
+
}, i);
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
function l(v) {
|
|
696
|
+
v.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
|
|
697
|
+
}
|
|
698
|
+
return {
|
|
699
|
+
init: h
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
function lt(t) {
|
|
703
|
+
let n = t;
|
|
704
|
+
function o() {
|
|
705
|
+
return n;
|
|
706
|
+
}
|
|
707
|
+
function r(i) {
|
|
708
|
+
n = e(i);
|
|
709
|
+
}
|
|
710
|
+
function c(i) {
|
|
711
|
+
n += e(i);
|
|
712
|
+
}
|
|
713
|
+
function s(i) {
|
|
714
|
+
n -= e(i);
|
|
715
|
+
}
|
|
716
|
+
function e(i) {
|
|
717
|
+
return Pt(i) ? i : i.get();
|
|
718
|
+
}
|
|
719
|
+
return {
|
|
720
|
+
get: o,
|
|
721
|
+
set: r,
|
|
722
|
+
add: c,
|
|
723
|
+
subtract: s
|
|
724
|
+
};
|
|
725
|
+
}
|
|
726
|
+
function tn(t, n) {
|
|
727
|
+
const o = t.scroll === "x" ? e : a, r = n.style;
|
|
728
|
+
let c = null, s = !1;
|
|
729
|
+
function e(m) {
|
|
730
|
+
return `translate3d(${m}px,0px,0px)`;
|
|
731
|
+
}
|
|
732
|
+
function a(m) {
|
|
733
|
+
return `translate3d(0px,${m}px,0px)`;
|
|
734
|
+
}
|
|
735
|
+
function i(m) {
|
|
736
|
+
if (s) return;
|
|
737
|
+
const v = En(t.direction(m));
|
|
738
|
+
v !== c && (r.transform = o(v), c = v);
|
|
739
|
+
}
|
|
740
|
+
function u(m) {
|
|
741
|
+
s = !m;
|
|
742
|
+
}
|
|
743
|
+
function h() {
|
|
744
|
+
s || (r.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
|
|
745
|
+
}
|
|
746
|
+
return {
|
|
747
|
+
clear: h,
|
|
748
|
+
to: i,
|
|
749
|
+
toggleActive: u
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
function qn(t, n, o, r, c, s, e, a, i) {
|
|
753
|
+
const h = dt(c), l = dt(c).reverse(), m = f().concat(y());
|
|
754
|
+
function v(z, b) {
|
|
755
|
+
return z.reduce((L, P) => L - c[P], b);
|
|
756
|
+
}
|
|
757
|
+
function d(z, b) {
|
|
758
|
+
return z.reduce((L, P) => v(L, b) > 0 ? L.concat([P]) : L, []);
|
|
759
|
+
}
|
|
760
|
+
function p(z) {
|
|
761
|
+
return s.map((b, L) => ({
|
|
762
|
+
start: b - r[L] + 0.5 + z,
|
|
763
|
+
end: b + n - 0.5 + z
|
|
764
|
+
}));
|
|
765
|
+
}
|
|
766
|
+
function g(z, b, L) {
|
|
767
|
+
const P = p(b);
|
|
768
|
+
return z.map((I) => {
|
|
769
|
+
const k = L ? 0 : -o, j = L ? o : 0, G = L ? "end" : "start", H = P[I][G];
|
|
770
|
+
return {
|
|
771
|
+
index: I,
|
|
772
|
+
loopPoint: H,
|
|
773
|
+
slideLocation: lt(-1),
|
|
774
|
+
translate: tn(t, i[I]),
|
|
775
|
+
target: () => a.get() > H ? k : j
|
|
776
|
+
};
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
function f() {
|
|
780
|
+
const z = e[0], b = d(l, z);
|
|
781
|
+
return g(b, o, !1);
|
|
782
|
+
}
|
|
783
|
+
function y() {
|
|
784
|
+
const z = n - e[0] - 1, b = d(h, z);
|
|
785
|
+
return g(b, -o, !0);
|
|
786
|
+
}
|
|
787
|
+
function x() {
|
|
788
|
+
return m.every(({
|
|
789
|
+
index: z
|
|
790
|
+
}) => {
|
|
791
|
+
const b = h.filter((L) => L !== z);
|
|
792
|
+
return v(b, n) <= 0.1;
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
function E() {
|
|
796
|
+
m.forEach((z) => {
|
|
797
|
+
const {
|
|
798
|
+
target: b,
|
|
799
|
+
translate: L,
|
|
800
|
+
slideLocation: P
|
|
801
|
+
} = z, I = b();
|
|
802
|
+
I !== P.get() && (L.to(I), P.set(I));
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
function w() {
|
|
806
|
+
m.forEach((z) => z.translate.clear());
|
|
807
|
+
}
|
|
808
|
+
return {
|
|
809
|
+
canLoop: x,
|
|
810
|
+
clear: w,
|
|
811
|
+
loop: E,
|
|
812
|
+
loopPoints: m
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
function $n(t, n, o) {
|
|
816
|
+
let r, c = !1;
|
|
817
|
+
function s(i) {
|
|
818
|
+
if (!o) return;
|
|
819
|
+
function u(h) {
|
|
820
|
+
for (const l of h)
|
|
821
|
+
if (l.type === "childList") {
|
|
822
|
+
i.reInit(), n.emit("slidesChanged");
|
|
823
|
+
break;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
r = new MutationObserver((h) => {
|
|
827
|
+
c || (St(o) || o(i, h)) && u(h);
|
|
828
|
+
}), r.observe(t, {
|
|
829
|
+
childList: !0
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
function e() {
|
|
833
|
+
r && r.disconnect(), c = !0;
|
|
834
|
+
}
|
|
835
|
+
return {
|
|
836
|
+
init: s,
|
|
837
|
+
destroy: e
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
function Kn(t, n, o, r) {
|
|
841
|
+
const c = {};
|
|
842
|
+
let s = null, e = null, a, i = !1;
|
|
843
|
+
function u() {
|
|
844
|
+
a = new IntersectionObserver((d) => {
|
|
845
|
+
i || (d.forEach((p) => {
|
|
846
|
+
const g = n.indexOf(p.target);
|
|
847
|
+
c[g] = p;
|
|
848
|
+
}), s = null, e = null, o.emit("slidesInView"));
|
|
849
|
+
}, {
|
|
850
|
+
root: t.parentElement,
|
|
851
|
+
threshold: r
|
|
852
|
+
}), n.forEach((d) => a.observe(d));
|
|
853
|
+
}
|
|
854
|
+
function h() {
|
|
855
|
+
a && a.disconnect(), i = !0;
|
|
856
|
+
}
|
|
857
|
+
function l(d) {
|
|
858
|
+
return mt(c).reduce((p, g) => {
|
|
859
|
+
const f = parseInt(g), {
|
|
860
|
+
isIntersecting: y
|
|
861
|
+
} = c[f];
|
|
862
|
+
return (d && y || !d && !y) && p.push(f), p;
|
|
863
|
+
}, []);
|
|
864
|
+
}
|
|
865
|
+
function m(d = !0) {
|
|
866
|
+
if (d && s) return s;
|
|
867
|
+
if (!d && e) return e;
|
|
868
|
+
const p = l(d);
|
|
869
|
+
return d && (s = p), d || (e = p), p;
|
|
870
|
+
}
|
|
871
|
+
return {
|
|
872
|
+
init: u,
|
|
873
|
+
destroy: h,
|
|
874
|
+
get: m
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
function Un(t, n, o, r, c, s) {
|
|
878
|
+
const {
|
|
879
|
+
measureSize: e,
|
|
880
|
+
startEdge: a,
|
|
881
|
+
endEdge: i
|
|
882
|
+
} = t, u = o[0] && c, h = d(), l = p(), m = o.map(e), v = g();
|
|
883
|
+
function d() {
|
|
884
|
+
if (!u) return 0;
|
|
885
|
+
const y = o[0];
|
|
886
|
+
return D(n[a] - y[a]);
|
|
887
|
+
}
|
|
888
|
+
function p() {
|
|
889
|
+
if (!u) return 0;
|
|
890
|
+
const y = s.getComputedStyle(B(r));
|
|
891
|
+
return parseFloat(y.getPropertyValue(`margin-${i}`));
|
|
892
|
+
}
|
|
893
|
+
function g() {
|
|
894
|
+
return o.map((y, x, E) => {
|
|
895
|
+
const w = !x, C = Ot(E, x);
|
|
896
|
+
return w ? m[x] + h : C ? m[x] + l : E[x + 1][a] - y[a];
|
|
897
|
+
}).map(D);
|
|
898
|
+
}
|
|
899
|
+
return {
|
|
900
|
+
slideSizes: m,
|
|
901
|
+
slideSizesWithGaps: v,
|
|
902
|
+
startGap: h,
|
|
903
|
+
endGap: l
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
function Xn(t, n, o, r, c, s, e, a, i) {
|
|
907
|
+
const {
|
|
908
|
+
startEdge: u,
|
|
909
|
+
endEdge: h,
|
|
910
|
+
direction: l
|
|
911
|
+
} = t, m = Pt(o);
|
|
912
|
+
function v(f, y) {
|
|
913
|
+
return dt(f).filter((x) => x % y === 0).map((x) => f.slice(x, x + y));
|
|
914
|
+
}
|
|
915
|
+
function d(f) {
|
|
916
|
+
return f.length ? dt(f).reduce((y, x, E) => {
|
|
917
|
+
const w = B(y) || 0, C = w === 0, z = x === ht(f), b = c[u] - s[w][u], L = c[u] - s[x][h], P = !r && C ? l(e) : 0, I = !r && z ? l(a) : 0, k = D(L - I - (b + P));
|
|
918
|
+
return E && k > n + i && y.push(x), z && y.push(f.length), y;
|
|
919
|
+
}, []).map((y, x, E) => {
|
|
920
|
+
const w = Math.max(E[x - 1] || 0);
|
|
921
|
+
return f.slice(w, y);
|
|
922
|
+
}) : [];
|
|
923
|
+
}
|
|
924
|
+
function p(f) {
|
|
925
|
+
return m ? v(f, o) : d(f);
|
|
926
|
+
}
|
|
927
|
+
return {
|
|
928
|
+
groupSlides: p
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
function Qn(t, n, o, r, c, s, e) {
|
|
932
|
+
const {
|
|
933
|
+
align: a,
|
|
934
|
+
axis: i,
|
|
935
|
+
direction: u,
|
|
936
|
+
startIndex: h,
|
|
937
|
+
loop: l,
|
|
938
|
+
duration: m,
|
|
939
|
+
dragFree: v,
|
|
940
|
+
dragThreshold: d,
|
|
941
|
+
inViewThreshold: p,
|
|
942
|
+
slidesToScroll: g,
|
|
943
|
+
skipSnaps: f,
|
|
944
|
+
containScroll: y,
|
|
945
|
+
watchResize: x,
|
|
946
|
+
watchSlides: E,
|
|
947
|
+
watchDrag: w,
|
|
948
|
+
watchFocus: C
|
|
949
|
+
} = s, z = 2, b = Nn(), L = b.measure(n), P = o.map(b.measure), I = Ln(i, u), k = I.measureSize(L), j = Dn(k), G = wn(a, k), H = !l && !!y, W = l || !!y, {
|
|
950
|
+
slideSizes: J,
|
|
951
|
+
slideSizesWithGaps: K,
|
|
952
|
+
startGap: U,
|
|
953
|
+
endGap: it
|
|
954
|
+
} = Un(I, L, P, o, W, c), q = Xn(I, k, g, l, L, P, U, it, z), {
|
|
955
|
+
snaps: ot,
|
|
956
|
+
snapsAligned: rt
|
|
957
|
+
} = Vn(I, G, L, P, q), X = -B(ot) + B(K), {
|
|
958
|
+
snapsContained: ct,
|
|
959
|
+
scrollContainLimit: at
|
|
960
|
+
} = Mn(k, X, rt, y, z), R = H ? ct : rt, {
|
|
961
|
+
limit: O
|
|
962
|
+
} = kn(X, R, l), Q = Wt(ht(R), h, l), V = Q.clone(), N = dt(o), S = ({
|
|
963
|
+
dragHandler: st,
|
|
964
|
+
scrollBody: wt,
|
|
965
|
+
scrollBounds: Ct,
|
|
966
|
+
options: {
|
|
967
|
+
loop: yt
|
|
968
|
+
}
|
|
969
|
+
}) => {
|
|
970
|
+
yt || Ct.constrain(st.pointerDown()), wt.seek();
|
|
971
|
+
}, T = ({
|
|
972
|
+
scrollBody: st,
|
|
973
|
+
translate: wt,
|
|
974
|
+
location: Ct,
|
|
975
|
+
offsetLocation: yt,
|
|
976
|
+
previousLocation: sn,
|
|
977
|
+
scrollLooper: cn,
|
|
978
|
+
slideLooper: an,
|
|
979
|
+
dragHandler: un,
|
|
980
|
+
animation: ln,
|
|
981
|
+
eventHandler: Vt,
|
|
982
|
+
scrollBounds: fn,
|
|
983
|
+
options: {
|
|
984
|
+
loop: Bt
|
|
985
|
+
}
|
|
986
|
+
}, jt) => {
|
|
987
|
+
const Gt = st.settled(), dn = !fn.shouldConstrain(), Ht = Bt ? Gt : Gt && dn, qt = Ht && !un.pointerDown();
|
|
988
|
+
qt && ln.stop();
|
|
989
|
+
const mn = Ct.get() * jt + sn.get() * (1 - jt);
|
|
990
|
+
yt.set(mn), Bt && (cn.loop(st.direction()), an.loop()), wt.to(yt.get()), qt && Vt.emit("settle"), Ht || Vt.emit("scroll");
|
|
991
|
+
}, A = Cn(r, c, () => S(Et), (st) => T(Et, st)), M = 0.68, $ = R[Q.get()], Y = lt($), tt = lt($), Z = lt($), nt = lt($), ut = An(Y, Z, tt, nt, m, M), bt = jn(l, R, X, O, nt), zt = Gn(A, Q, V, ut, bt, nt, e), kt = Rn(O), Ft = pt(), on = Kn(n, o, e, p), {
|
|
992
|
+
slideRegistry: Rt
|
|
993
|
+
} = Bn(H, y, R, at, q, N), rn = Hn(t, o, Rt, zt, ut, Ft, e, C), Et = {
|
|
994
|
+
ownerDocument: r,
|
|
995
|
+
ownerWindow: c,
|
|
996
|
+
eventHandler: e,
|
|
997
|
+
containerRect: L,
|
|
998
|
+
slideRects: P,
|
|
999
|
+
animation: A,
|
|
1000
|
+
axis: I,
|
|
1001
|
+
dragHandler: In(I, t, r, c, nt, Tn(I, c), Y, A, zt, ut, bt, Q, e, j, v, d, f, M, w),
|
|
1002
|
+
eventStore: Ft,
|
|
1003
|
+
percentOfView: j,
|
|
1004
|
+
index: Q,
|
|
1005
|
+
indexPrevious: V,
|
|
1006
|
+
limit: O,
|
|
1007
|
+
location: Y,
|
|
1008
|
+
offsetLocation: Z,
|
|
1009
|
+
previousLocation: tt,
|
|
1010
|
+
options: s,
|
|
1011
|
+
resizeHandler: Pn(n, e, c, o, I, x, b),
|
|
1012
|
+
scrollBody: ut,
|
|
1013
|
+
scrollBounds: On(O, Z, nt, ut, j),
|
|
1014
|
+
scrollLooper: Fn(X, O, Z, [Y, Z, tt, nt]),
|
|
1015
|
+
scrollProgress: kt,
|
|
1016
|
+
scrollSnapList: R.map(kt.get),
|
|
1017
|
+
scrollSnaps: R,
|
|
1018
|
+
scrollTarget: bt,
|
|
1019
|
+
scrollTo: zt,
|
|
1020
|
+
slideLooper: qn(I, k, X, J, K, ot, R, Z, o),
|
|
1021
|
+
slideFocus: rn,
|
|
1022
|
+
slidesHandler: $n(n, e, E),
|
|
1023
|
+
slidesInView: on,
|
|
1024
|
+
slideIndexes: N,
|
|
1025
|
+
slideRegistry: Rt,
|
|
1026
|
+
slidesToScroll: q,
|
|
1027
|
+
target: nt,
|
|
1028
|
+
translate: tn(I, n)
|
|
1029
|
+
};
|
|
1030
|
+
return Et;
|
|
1031
|
+
}
|
|
1032
|
+
function Yn() {
|
|
1033
|
+
let t = {}, n;
|
|
1034
|
+
function o(u) {
|
|
1035
|
+
n = u;
|
|
1036
|
+
}
|
|
1037
|
+
function r(u) {
|
|
1038
|
+
return t[u] || [];
|
|
1039
|
+
}
|
|
1040
|
+
function c(u) {
|
|
1041
|
+
return r(u).forEach((h) => h(n, u)), i;
|
|
1042
|
+
}
|
|
1043
|
+
function s(u, h) {
|
|
1044
|
+
return t[u] = r(u).concat([h]), i;
|
|
1045
|
+
}
|
|
1046
|
+
function e(u, h) {
|
|
1047
|
+
return t[u] = r(u).filter((l) => l !== h), i;
|
|
1048
|
+
}
|
|
1049
|
+
function a() {
|
|
1050
|
+
t = {};
|
|
1051
|
+
}
|
|
1052
|
+
const i = {
|
|
1053
|
+
init: o,
|
|
1054
|
+
emit: c,
|
|
1055
|
+
off: e,
|
|
1056
|
+
on: s,
|
|
1057
|
+
clear: a
|
|
1058
|
+
};
|
|
1059
|
+
return i;
|
|
1060
|
+
}
|
|
1061
|
+
const _n = {
|
|
1062
|
+
align: "center",
|
|
1063
|
+
axis: "x",
|
|
1064
|
+
container: null,
|
|
1065
|
+
slides: null,
|
|
1066
|
+
containScroll: "trimSnaps",
|
|
1067
|
+
direction: "ltr",
|
|
1068
|
+
slidesToScroll: 1,
|
|
1069
|
+
inViewThreshold: 0,
|
|
1070
|
+
breakpoints: {},
|
|
1071
|
+
dragFree: !1,
|
|
1072
|
+
dragThreshold: 10,
|
|
1073
|
+
loop: !1,
|
|
1074
|
+
skipSnaps: !1,
|
|
1075
|
+
duration: 25,
|
|
1076
|
+
startIndex: 0,
|
|
1077
|
+
active: !0,
|
|
1078
|
+
watchDrag: !0,
|
|
1079
|
+
watchResize: !0,
|
|
1080
|
+
watchSlides: !0,
|
|
1081
|
+
watchFocus: !0
|
|
1082
|
+
};
|
|
1083
|
+
function Jn(t) {
|
|
1084
|
+
function n(s, e) {
|
|
1085
|
+
return Zt(s, e || {});
|
|
1086
|
+
}
|
|
1087
|
+
function o(s) {
|
|
1088
|
+
const e = s.breakpoints || {}, a = mt(e).filter((i) => t.matchMedia(i).matches).map((i) => e[i]).reduce((i, u) => n(i, u), {});
|
|
1089
|
+
return n(s, a);
|
|
1090
|
+
}
|
|
1091
|
+
function r(s) {
|
|
1092
|
+
return s.map((e) => mt(e.breakpoints || {})).reduce((e, a) => e.concat(a), []).map(t.matchMedia);
|
|
1093
|
+
}
|
|
1094
|
+
return {
|
|
1095
|
+
mergeOptions: n,
|
|
1096
|
+
optionsAtMedia: o,
|
|
1097
|
+
optionsMediaQueries: r
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
function Zn(t) {
|
|
1101
|
+
let n = [];
|
|
1102
|
+
function o(s, e) {
|
|
1103
|
+
return n = e.filter(({
|
|
1104
|
+
options: a
|
|
1105
|
+
}) => t.optionsAtMedia(a).active !== !1), n.forEach((a) => a.init(s, t)), e.reduce((a, i) => Object.assign(a, {
|
|
1106
|
+
[i.name]: i
|
|
1107
|
+
}), {});
|
|
1108
|
+
}
|
|
1109
|
+
function r() {
|
|
1110
|
+
n = n.filter((s) => s.destroy());
|
|
1111
|
+
}
|
|
1112
|
+
return {
|
|
1113
|
+
init: o,
|
|
1114
|
+
destroy: r
|
|
1115
|
+
};
|
|
1116
|
+
}
|
|
1117
|
+
function xt(t, n, o) {
|
|
1118
|
+
const r = t.ownerDocument, c = r.defaultView, s = Jn(c), e = Zn(s), a = pt(), i = Yn(), {
|
|
1119
|
+
mergeOptions: u,
|
|
1120
|
+
optionsAtMedia: h,
|
|
1121
|
+
optionsMediaQueries: l
|
|
1122
|
+
} = s, {
|
|
1123
|
+
on: m,
|
|
1124
|
+
off: v,
|
|
1125
|
+
emit: d
|
|
1126
|
+
} = i, p = I;
|
|
1127
|
+
let g = !1, f, y = u(_n, xt.globalOptions), x = u(y), E = [], w, C, z;
|
|
1128
|
+
function b() {
|
|
1129
|
+
const {
|
|
1130
|
+
container: N,
|
|
1131
|
+
slides: S
|
|
1132
|
+
} = x;
|
|
1133
|
+
C = (It(N) ? t.querySelector(N) : N) || t.children[0];
|
|
1134
|
+
const A = It(S) ? C.querySelectorAll(S) : S;
|
|
1135
|
+
z = [].slice.call(A || C.children);
|
|
1136
|
+
}
|
|
1137
|
+
function L(N) {
|
|
1138
|
+
const S = Qn(t, C, z, r, c, N, i);
|
|
1139
|
+
if (N.loop && !S.slideLooper.canLoop()) {
|
|
1140
|
+
const T = Object.assign({}, N, {
|
|
1141
|
+
loop: !1
|
|
1142
|
+
});
|
|
1143
|
+
return L(T);
|
|
1144
|
+
}
|
|
1145
|
+
return S;
|
|
1146
|
+
}
|
|
1147
|
+
function P(N, S) {
|
|
1148
|
+
g || (y = u(y, N), x = h(y), E = S || E, b(), f = L(x), l([y, ...E.map(({
|
|
1149
|
+
options: T
|
|
1150
|
+
}) => T)]).forEach((T) => a.add(T, "change", I)), x.active && (f.translate.to(f.location.get()), f.animation.init(), f.slidesInView.init(), f.slideFocus.init(V), f.eventHandler.init(V), f.resizeHandler.init(V), f.slidesHandler.init(V), f.options.loop && f.slideLooper.loop(), C.offsetParent && z.length && f.dragHandler.init(V), w = e.init(V, E)));
|
|
1151
|
+
}
|
|
1152
|
+
function I(N, S) {
|
|
1153
|
+
const T = q();
|
|
1154
|
+
k(), P(u({
|
|
1155
|
+
startIndex: T
|
|
1156
|
+
}, N), S), i.emit("reInit");
|
|
1157
|
+
}
|
|
1158
|
+
function k() {
|
|
1159
|
+
f.dragHandler.destroy(), f.eventStore.clear(), f.translate.clear(), f.slideLooper.clear(), f.resizeHandler.destroy(), f.slidesHandler.destroy(), f.slidesInView.destroy(), f.animation.destroy(), e.destroy(), a.clear();
|
|
1160
|
+
}
|
|
1161
|
+
function j() {
|
|
1162
|
+
g || (g = !0, a.clear(), k(), i.emit("destroy"), i.clear());
|
|
1163
|
+
}
|
|
1164
|
+
function G(N, S, T) {
|
|
1165
|
+
!x.active || g || (f.scrollBody.useBaseFriction().useDuration(S === !0 ? 0 : x.duration), f.scrollTo.index(N, T || 0));
|
|
1166
|
+
}
|
|
1167
|
+
function H(N) {
|
|
1168
|
+
const S = f.index.add(1).get();
|
|
1169
|
+
G(S, N, -1);
|
|
1170
|
+
}
|
|
1171
|
+
function W(N) {
|
|
1172
|
+
const S = f.index.add(-1).get();
|
|
1173
|
+
G(S, N, 1);
|
|
1174
|
+
}
|
|
1175
|
+
function J() {
|
|
1176
|
+
return f.index.add(1).get() !== q();
|
|
1177
|
+
}
|
|
1178
|
+
function K() {
|
|
1179
|
+
return f.index.add(-1).get() !== q();
|
|
1180
|
+
}
|
|
1181
|
+
function U() {
|
|
1182
|
+
return f.scrollSnapList;
|
|
1183
|
+
}
|
|
1184
|
+
function it() {
|
|
1185
|
+
return f.scrollProgress.get(f.offsetLocation.get());
|
|
1186
|
+
}
|
|
1187
|
+
function q() {
|
|
1188
|
+
return f.index.get();
|
|
1189
|
+
}
|
|
1190
|
+
function ot() {
|
|
1191
|
+
return f.indexPrevious.get();
|
|
1192
|
+
}
|
|
1193
|
+
function rt() {
|
|
1194
|
+
return f.slidesInView.get();
|
|
1195
|
+
}
|
|
1196
|
+
function X() {
|
|
1197
|
+
return f.slidesInView.get(!1);
|
|
1198
|
+
}
|
|
1199
|
+
function ct() {
|
|
1200
|
+
return w;
|
|
1201
|
+
}
|
|
1202
|
+
function at() {
|
|
1203
|
+
return f;
|
|
1204
|
+
}
|
|
1205
|
+
function R() {
|
|
1206
|
+
return t;
|
|
1207
|
+
}
|
|
1208
|
+
function O() {
|
|
1209
|
+
return C;
|
|
1210
|
+
}
|
|
1211
|
+
function Q() {
|
|
1212
|
+
return z;
|
|
1213
|
+
}
|
|
1214
|
+
const V = {
|
|
1215
|
+
canScrollNext: J,
|
|
1216
|
+
canScrollPrev: K,
|
|
1217
|
+
containerNode: O,
|
|
1218
|
+
internalEngine: at,
|
|
1219
|
+
destroy: j,
|
|
1220
|
+
off: v,
|
|
1221
|
+
on: m,
|
|
1222
|
+
emit: d,
|
|
1223
|
+
plugins: ct,
|
|
1224
|
+
previousScrollSnap: ot,
|
|
1225
|
+
reInit: p,
|
|
1226
|
+
rootNode: R,
|
|
1227
|
+
scrollNext: H,
|
|
1228
|
+
scrollPrev: W,
|
|
1229
|
+
scrollProgress: it,
|
|
1230
|
+
scrollSnapList: U,
|
|
1231
|
+
scrollTo: G,
|
|
1232
|
+
selectedScrollSnap: q,
|
|
1233
|
+
slideNodes: Q,
|
|
1234
|
+
slidesInView: rt,
|
|
1235
|
+
slidesNotInView: X
|
|
1236
|
+
};
|
|
1237
|
+
return P(n, o), setTimeout(() => i.emit("init"), 0), V;
|
|
1238
|
+
}
|
|
1239
|
+
xt.globalOptions = void 0;
|
|
1240
|
+
function Mt(t = {}, n = []) {
|
|
1241
|
+
const o = $t(t), r = $t(n), [c, s] = Kt(), [e, a] = Kt(), i = pn(() => {
|
|
1242
|
+
c && c.reInit(o.current, r.current);
|
|
1243
|
+
}, [c]);
|
|
1244
|
+
return Lt(() => {
|
|
1245
|
+
Dt(o.current, t) || (o.current = t, i());
|
|
1246
|
+
}, [t, i]), Lt(() => {
|
|
1247
|
+
bn(r.current, n) || (r.current = n, i());
|
|
1248
|
+
}, [n, i]), Lt(() => {
|
|
1249
|
+
if (vn() && e) {
|
|
1250
|
+
xt.globalOptions = Mt.globalOptions;
|
|
1251
|
+
const u = xt(e, o.current, r.current);
|
|
1252
|
+
return s(u), () => u.destroy();
|
|
1253
|
+
} else
|
|
1254
|
+
s(void 0);
|
|
1255
|
+
}, [e, s]), [a, c];
|
|
1256
|
+
}
|
|
1257
|
+
Mt.globalOptions = void 0;
|
|
1258
|
+
const nn = gt.createContext(null);
|
|
1259
|
+
function vt() {
|
|
1260
|
+
const t = gt.useContext(nn);
|
|
1261
|
+
if (!t)
|
|
1262
|
+
throw new Error("useCarousel must be used within a <Carousel />");
|
|
1263
|
+
return t;
|
|
1264
|
+
}
|
|
1265
|
+
const Wn = F.forwardRef(
|
|
1266
|
+
({
|
|
1267
|
+
orientation: t = "horizontal",
|
|
1268
|
+
size: n,
|
|
1269
|
+
opts: o,
|
|
1270
|
+
setApi: r,
|
|
1271
|
+
plugins: c,
|
|
1272
|
+
disableWheelScroll: s = !1,
|
|
1273
|
+
className: e,
|
|
1274
|
+
children: a,
|
|
1275
|
+
...i
|
|
1276
|
+
}, u) => {
|
|
1277
|
+
const [h, l] = Mt(
|
|
1278
|
+
{
|
|
1279
|
+
...o,
|
|
1280
|
+
axis: t === "horizontal" ? "x" : "y"
|
|
1281
|
+
},
|
|
1282
|
+
c
|
|
1283
|
+
), [m, v] = F.useState(!1), [d, p] = F.useState(!1), g = F.useRef(null), f = F.useRef(null), y = hn(f, u), x = F.useCallback((b) => {
|
|
1284
|
+
b && (v(b.canScrollPrev()), p(b.canScrollNext()));
|
|
1285
|
+
}, []), E = F.useCallback(() => {
|
|
1286
|
+
l?.scrollPrev();
|
|
1287
|
+
}, [l]), w = F.useCallback(() => {
|
|
1288
|
+
l?.scrollNext();
|
|
1289
|
+
}, [l]), C = F.useCallback(
|
|
1290
|
+
(b) => {
|
|
1291
|
+
b.key === "ArrowLeft" ? (b.preventDefault(), E()) : b.key === "ArrowRight" && (b.preventDefault(), w());
|
|
1292
|
+
},
|
|
1293
|
+
[E, w]
|
|
1294
|
+
), z = F.useCallback(
|
|
1295
|
+
(b) => {
|
|
1296
|
+
if (b.deltaMode === 0) {
|
|
1297
|
+
if (b.preventDefault(), !l || l.canScrollPrev === void 0 || g.current) return;
|
|
1298
|
+
g.current = setTimeout(() => {
|
|
1299
|
+
g.current = null;
|
|
1300
|
+
}, 100), t === "vertical" ? b.deltaY > 0 ? w() : b.deltaY < 0 && E() : b.deltaX > 0 ? w() : b.deltaX < 0 && E();
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
[E, w, t, l, g]
|
|
1304
|
+
);
|
|
1305
|
+
return F.useEffect(() => {
|
|
1306
|
+
!l || !r || r(l);
|
|
1307
|
+
}, [l, r]), F.useEffect(() => {
|
|
1308
|
+
if (l)
|
|
1309
|
+
return x(l), l.on("reInit", x), l.on("select", x), () => {
|
|
1310
|
+
l?.off("select", x);
|
|
1311
|
+
};
|
|
1312
|
+
}, [l, x]), F.useEffect(() => {
|
|
1313
|
+
if (s) return;
|
|
1314
|
+
const b = f.current;
|
|
1315
|
+
if (b)
|
|
1316
|
+
return b.addEventListener("wheel", z), () => {
|
|
1317
|
+
b.removeEventListener("wheel", z);
|
|
1318
|
+
};
|
|
1319
|
+
}, [z, s]), /* @__PURE__ */ _(
|
|
1320
|
+
nn.Provider,
|
|
1321
|
+
{
|
|
1322
|
+
value: {
|
|
1323
|
+
carouselRef: h,
|
|
1324
|
+
api: l,
|
|
1325
|
+
opts: o,
|
|
1326
|
+
size: n,
|
|
1327
|
+
orientation: t || (o?.axis === "y" ? "vertical" : "horizontal"),
|
|
1328
|
+
scrollPrev: E,
|
|
1329
|
+
scrollNext: w,
|
|
1330
|
+
canScrollPrev: m,
|
|
1331
|
+
canScrollNext: d
|
|
1332
|
+
},
|
|
1333
|
+
children: /* @__PURE__ */ _(
|
|
1334
|
+
"div",
|
|
1335
|
+
{
|
|
1336
|
+
ref: y,
|
|
1337
|
+
onKeyDownCapture: C,
|
|
1338
|
+
className: gn("relative", e),
|
|
1339
|
+
role: "region",
|
|
1340
|
+
"aria-roledescription": "carousel",
|
|
1341
|
+
...i,
|
|
1342
|
+
children: a
|
|
1343
|
+
}
|
|
1344
|
+
)
|
|
1345
|
+
}
|
|
1346
|
+
);
|
|
1347
|
+
}
|
|
1348
|
+
);
|
|
1349
|
+
Wn.displayName = "Carousel";
|
|
1350
|
+
const te = Nt({
|
|
1351
|
+
slots: {
|
|
1352
|
+
container: "flex"
|
|
1353
|
+
},
|
|
1354
|
+
variants: {
|
|
1355
|
+
orientation: {
|
|
1356
|
+
horizontal: { container: "-ml-4" },
|
|
1357
|
+
vertical: { container: "-mt-4 flex-col" }
|
|
1358
|
+
},
|
|
1359
|
+
size: {
|
|
1360
|
+
xs: {},
|
|
1361
|
+
sm: {},
|
|
1362
|
+
md: {},
|
|
1363
|
+
lg: {},
|
|
1364
|
+
xl: {}
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
compoundVariants: [
|
|
1368
|
+
{
|
|
1369
|
+
orientation: "horizontal",
|
|
1370
|
+
size: "xs",
|
|
1371
|
+
class: { container: "-ml-2" }
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
orientation: "horizontal",
|
|
1375
|
+
size: "sm",
|
|
1376
|
+
class: { container: "-ml-2" }
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
orientation: "horizontal",
|
|
1380
|
+
size: "md",
|
|
1381
|
+
class: { container: "-ml-3" }
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
orientation: "vertical",
|
|
1385
|
+
size: "xs",
|
|
1386
|
+
class: { container: "-mt-2" }
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
orientation: "vertical",
|
|
1390
|
+
size: "sm",
|
|
1391
|
+
class: { container: "-mt-2" }
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
orientation: "vertical",
|
|
1395
|
+
size: "md",
|
|
1396
|
+
class: { container: "-mt-3" }
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
orientation: "vertical",
|
|
1400
|
+
size: "lg",
|
|
1401
|
+
class: { container: "-mt-3" }
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
defaultVariants: {
|
|
1405
|
+
orientation: "horizontal",
|
|
1406
|
+
size: "md"
|
|
1407
|
+
}
|
|
1408
|
+
}), ne = F.forwardRef(
|
|
1409
|
+
({ className: t, ...n }, o) => {
|
|
1410
|
+
const { carouselRef: r, orientation: c, size: s } = vt(), e = te();
|
|
1411
|
+
return /* @__PURE__ */ _("div", { ref: r, className: "overflow-hidden", children: /* @__PURE__ */ _("div", { ref: o, className: e.container({ className: t, orientation: c, size: s }), ...n }) });
|
|
1412
|
+
}
|
|
1413
|
+
);
|
|
1414
|
+
ne.displayName = "CarouselContent";
|
|
1415
|
+
const ee = Nt({
|
|
1416
|
+
base: "aspect-square min-w-0 shrink-0 grow-0",
|
|
1417
|
+
variants: {
|
|
1418
|
+
orientation: {
|
|
1419
|
+
horizontal: "ml-4",
|
|
1420
|
+
vertical: "mt-4"
|
|
1421
|
+
},
|
|
1422
|
+
size: {
|
|
1423
|
+
xs: {},
|
|
1424
|
+
sm: {},
|
|
1425
|
+
md: {},
|
|
1426
|
+
lg: {},
|
|
1427
|
+
xl: {}
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
compoundVariants: [
|
|
1431
|
+
{
|
|
1432
|
+
orientation: "horizontal",
|
|
1433
|
+
size: "xs",
|
|
1434
|
+
class: "ml-2 w-[3.75rem]"
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
orientation: "horizontal",
|
|
1438
|
+
size: "sm",
|
|
1439
|
+
class: "ml-2 w-20"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
orientation: "horizontal",
|
|
1443
|
+
size: "md",
|
|
1444
|
+
class: "ml-3 w-[7.5rem]"
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
orientation: "horizontal",
|
|
1448
|
+
size: "lg",
|
|
1449
|
+
class: "w-[11.5rem]"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
orientation: "horizontal",
|
|
1453
|
+
size: "xl",
|
|
1454
|
+
class: "w-96"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
orientation: "vertical",
|
|
1458
|
+
size: "xs",
|
|
1459
|
+
class: "mt-2 h-[3.75rem]"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
orientation: "vertical",
|
|
1463
|
+
size: "sm",
|
|
1464
|
+
class: "mt-2 h-20"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
orientation: "vertical",
|
|
1468
|
+
size: "md",
|
|
1469
|
+
class: "mt-3 h-[7.5rem]"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
orientation: "vertical",
|
|
1473
|
+
size: "lg",
|
|
1474
|
+
class: "mt-3 h-[5.5rem] w-80"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
orientation: "vertical",
|
|
1478
|
+
size: "xl",
|
|
1479
|
+
class: "h-96"
|
|
1480
|
+
}
|
|
1481
|
+
],
|
|
1482
|
+
defaultVariants: {
|
|
1483
|
+
orientation: "horizontal",
|
|
1484
|
+
size: "md"
|
|
1485
|
+
}
|
|
1486
|
+
}), oe = gt.forwardRef(
|
|
1487
|
+
({ className: t, ...n }, o) => {
|
|
1488
|
+
const { orientation: r, size: c } = vt();
|
|
1489
|
+
return /* @__PURE__ */ _(
|
|
1490
|
+
"div",
|
|
1491
|
+
{
|
|
1492
|
+
ref: o,
|
|
1493
|
+
role: "group",
|
|
1494
|
+
"aria-roledescription": "slide",
|
|
1495
|
+
"data-slot": "carousel-item",
|
|
1496
|
+
className: ee({ className: t, orientation: r, size: c }),
|
|
1497
|
+
...n
|
|
1498
|
+
}
|
|
1499
|
+
);
|
|
1500
|
+
}
|
|
1501
|
+
);
|
|
1502
|
+
oe.displayName = "CarouselItem";
|
|
1503
|
+
const en = Nt({
|
|
1504
|
+
slots: {
|
|
1505
|
+
container: "absolute hidden h-8 w-8 rounded-full p-2 lg:flex",
|
|
1506
|
+
icon: "h-4 w-4",
|
|
1507
|
+
sr: "sr-only"
|
|
1508
|
+
},
|
|
1509
|
+
variants: {
|
|
1510
|
+
orientation: {
|
|
1511
|
+
horizontal: {},
|
|
1512
|
+
vertical: {}
|
|
1513
|
+
},
|
|
1514
|
+
size: {
|
|
1515
|
+
xs: {
|
|
1516
|
+
container: "h-7 w-7",
|
|
1517
|
+
icon: "h-3 w-3"
|
|
1518
|
+
},
|
|
1519
|
+
sm: {
|
|
1520
|
+
container: "h-7 w-7",
|
|
1521
|
+
icon: "h-3 w-3"
|
|
1522
|
+
},
|
|
1523
|
+
md: {},
|
|
1524
|
+
lg: {},
|
|
1525
|
+
xl: {}
|
|
1526
|
+
},
|
|
1527
|
+
type: {
|
|
1528
|
+
previous: {},
|
|
1529
|
+
next: {}
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
compoundVariants: [
|
|
1533
|
+
{
|
|
1534
|
+
orientation: "horizontal",
|
|
1535
|
+
type: "previous",
|
|
1536
|
+
class: { container: "-left-12 top-1/2 -translate-y-1/2" }
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
orientation: "vertical",
|
|
1540
|
+
type: "previous",
|
|
1541
|
+
class: { container: "-top-12 left-1/2 -translate-x-1/2 rotate-90" }
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
orientation: "horizontal",
|
|
1545
|
+
type: "next",
|
|
1546
|
+
class: { container: "-right-12 top-1/2 -translate-y-1/2" }
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
orientation: "vertical",
|
|
1550
|
+
type: "next",
|
|
1551
|
+
class: { container: "-bottom-12 left-1/2 -translate-x-1/2 rotate-90" }
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
orientation: "horizontal",
|
|
1555
|
+
type: "previous",
|
|
1556
|
+
size: "xs",
|
|
1557
|
+
class: {
|
|
1558
|
+
container: "-left-9"
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
orientation: "horizontal",
|
|
1563
|
+
type: "previous",
|
|
1564
|
+
size: "sm",
|
|
1565
|
+
class: {
|
|
1566
|
+
container: "-left-9"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
orientation: "horizontal",
|
|
1571
|
+
type: "previous",
|
|
1572
|
+
size: "md",
|
|
1573
|
+
class: {
|
|
1574
|
+
container: "-left-11"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
orientation: "vertical",
|
|
1579
|
+
type: "previous",
|
|
1580
|
+
size: "xs",
|
|
1581
|
+
class: {
|
|
1582
|
+
container: "-top-9"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
orientation: "vertical",
|
|
1587
|
+
type: "previous",
|
|
1588
|
+
size: "sm",
|
|
1589
|
+
class: {
|
|
1590
|
+
container: "-top-9"
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
orientation: "vertical",
|
|
1595
|
+
type: "previous",
|
|
1596
|
+
size: "md",
|
|
1597
|
+
class: {
|
|
1598
|
+
container: "-top-11"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
orientation: "horizontal",
|
|
1603
|
+
size: "xs",
|
|
1604
|
+
type: "next",
|
|
1605
|
+
class: {
|
|
1606
|
+
container: "-right-9"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
orientation: "horizontal",
|
|
1611
|
+
size: "sm",
|
|
1612
|
+
type: "next",
|
|
1613
|
+
class: {
|
|
1614
|
+
container: "-right-9"
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
orientation: "horizontal",
|
|
1619
|
+
size: "md",
|
|
1620
|
+
type: "next",
|
|
1621
|
+
class: {
|
|
1622
|
+
container: "-right-11"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
orientation: "vertical",
|
|
1627
|
+
size: "xs",
|
|
1628
|
+
type: "next",
|
|
1629
|
+
class: {
|
|
1630
|
+
container: "-bottom-9"
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
orientation: "vertical",
|
|
1635
|
+
size: "sm",
|
|
1636
|
+
type: "next",
|
|
1637
|
+
class: {
|
|
1638
|
+
container: "-bottom-9"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
orientation: "vertical",
|
|
1643
|
+
size: "md",
|
|
1644
|
+
type: "next",
|
|
1645
|
+
class: {
|
|
1646
|
+
container: "-bottom-11"
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
]
|
|
1650
|
+
}), re = gt.forwardRef(
|
|
1651
|
+
({ className: t, variant: n = "outline", ...o }, r) => {
|
|
1652
|
+
const { orientation: c, size: s, scrollPrev: e, canScrollPrev: a } = vt(), i = en({ orientation: c, size: s, type: "previous" });
|
|
1653
|
+
return /* @__PURE__ */ _t(
|
|
1654
|
+
Jt,
|
|
1655
|
+
{
|
|
1656
|
+
"data-slot": "carousel-previous",
|
|
1657
|
+
ref: r,
|
|
1658
|
+
variant: n,
|
|
1659
|
+
className: i.container({ className: t }),
|
|
1660
|
+
disabled: !a,
|
|
1661
|
+
onClick: e,
|
|
1662
|
+
...o,
|
|
1663
|
+
children: [
|
|
1664
|
+
/* @__PURE__ */ _(xn, { className: i.icon() }),
|
|
1665
|
+
/* @__PURE__ */ _("span", { className: i.sr(), children: "Previous slide" })
|
|
1666
|
+
]
|
|
1667
|
+
}
|
|
1668
|
+
);
|
|
1669
|
+
}
|
|
1670
|
+
), se = gt.forwardRef(
|
|
1671
|
+
({ className: t, variant: n = "outline", ...o }, r) => {
|
|
1672
|
+
const { orientation: c, size: s, scrollNext: e, canScrollNext: a } = vt(), i = en({ orientation: c, size: s, type: "next" });
|
|
1673
|
+
return /* @__PURE__ */ _t(
|
|
1674
|
+
Jt,
|
|
1675
|
+
{
|
|
1676
|
+
"data-slot": "carousel-next",
|
|
1677
|
+
ref: r,
|
|
1678
|
+
variant: n,
|
|
1679
|
+
className: i.container({ className: t }),
|
|
1680
|
+
disabled: !a,
|
|
1681
|
+
onClick: e,
|
|
1682
|
+
...o,
|
|
1683
|
+
children: [
|
|
1684
|
+
/* @__PURE__ */ _(yn, { className: i.icon() }),
|
|
1685
|
+
/* @__PURE__ */ _("span", { className: i.sr(), children: "Next slide" })
|
|
1686
|
+
]
|
|
1687
|
+
}
|
|
1688
|
+
);
|
|
1689
|
+
}
|
|
1690
|
+
);
|
|
1691
|
+
se.displayName = "CarouselNext";
|
|
1692
|
+
re.displayName = "CarouselPrevious";
|
|
1693
|
+
export {
|
|
1694
|
+
Wn as Carousel,
|
|
1695
|
+
ne as CarouselContent,
|
|
1696
|
+
oe as CarouselItem,
|
|
1697
|
+
se as CarouselNext,
|
|
1698
|
+
re as CarouselPrevious
|
|
1699
|
+
};
|
|
1700
|
+
//# sourceMappingURL=carousel.js.map
|