@cleen/ui 0.1.269 → 0.1.270

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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default, { ComponentProps, ReactNode, CSSProperties, SVGProps, ComponentType, RefObject, ButtonHTMLAttributes, ChangeEvent, JSX, FC, ComponentPropsWithoutRef } from 'react';
2
+ import react__default, { ComponentProps, ReactNode, CSSProperties, SVGProps, ComponentType, RefObject, ButtonHTMLAttributes, ChangeEvent, JSX, FC, ComponentPropsWithoutRef, VideoHTMLAttributes, RefAttributes, SyntheticEvent } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { Position, ComponentClassnames, ComponentStyles, FileEntry, HintedString, TimeAgoLabels } from '@cleen/ui-core';
5
5
  import { WaveSurferOptions } from 'wavesurfer.js';
@@ -4617,4 +4617,236 @@ type TagFilterProps = Omit<ComponentProps<'div'>, 'onChange' | 'defaultValue' |
4617
4617
  */
4618
4618
  declare const TagFilter: react.ForwardRefExoticComponent<Omit<TagFilterProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
4619
4619
 
4620
- export { AdvancedProgressBar, type AdvancedProgressBarProps, AudioPlayback, type AudioPlaybackProps, AudioRecorder, type AudioRecorderProps, Avatar, type AvatarProps, AvatarRow, type AvatarRowProps, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, CalendarDropdown, type CalendarDropdownProps, type CalendarProps, CanvasButton, Card, CardIcon, type CardIconProps, CardMedia, type CardMediaProps, type Media as CardMediaType, type CardProps, Carousel, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CleenIcon, CleenNotificationContainer, type CleenNotificationContainerProps, Collapsible, type CollapsibleProps, type CollapsibleSection, type ColorModel, ColorPicker, type ColorPickerProps, CreditCardInput, type CreditCardInputProps, DEFAULT_NOTIFICATION_CATEGORIES, DEFAULT_NOTIFICATION_LABELS, Divider, type DividerProps, Drawer, type DrawerConfig, DrawerContainer, type DrawerContainerProps, DrawerContentTitle, type DrawerContentTitleItem, type DrawerContentTitleProps, type DrawerProps, Dropdown, type DropdownProps, Dropzone, type DropzoneProps, EditableCard, type EditableCardField, type EditableCardProps, EditableText, EditableTextArea, type EditableTextAreaProps, type EditableTextAreaRef, type EditableTextProps, type EditableTextRef, FileCard, type FileCardCategory, type FileCardData, type FileCardProps, FileStackedProgressTracker, type FileStackedProgressTrackerProps, FilterDrawer, type FilterDrawerFilterCategories, type FilterDrawerNewFilter, type FilterDrawerProps, type FilterDrawerSavedFilter, FormGroup, type FormGroupProps, GroupSelector, type GroupSelectorProps, type GroupSelectorSaveResult, type GroupSelectorThreeDotOption, type SidebarItem$1 as ISidebarItem, Icon48AlertFeatured, Icon48SuccessFeatured, IconAlertCircle, IconAlertOctagon, IconAlertTriangle, IconApps, IconArchive, IconArrowBarDown, IconArrowBarLeft, IconArrowBarRight, IconArrowBarToDown, IconArrowBarToLeft, IconArrowBarToRight, IconArrowBarToUp, IconArrowBarUp, IconArrowDown, IconArrowDownLeft, IconArrowDownNarrow, IconArrowDownRight, IconArrowLeft, IconArrowLeftNarrow, IconArrowRight, IconArrowRightNarrow, IconArrowUp, IconArrowUpLeft, IconArrowUpNarrow, IconArrowUpRight, IconAttachment, IconBarChart, IconBarChartSquare, IconBell, IconBold, IconBookOpen, IconBookmark, IconBookmarkCheck, IconBookmarkCheckFill, IconBookmarkFill, IconBookmarkMinus, IconBookmarkPlus, IconBookmarkX, IconBoxLines, IconBoxText, IconBracketsCheck, IconBracketsEllipses, IconBrickWall, IconBriefcase, IconBuilding, IconCalculator, IconCalendar, IconCertificate, IconCheck, IconCheckCircle, IconCheckCircleBroken, IconCheckFill, IconCheckVerified, IconCheckVerifiedFill, IconChevronDown, IconChevronDownDouble, IconChevronDownLeft, IconChevronDownLeftDouble, IconChevronDownRight, IconChevronDownRightDouble, IconChevronLeft, IconChevronLeftDouble, IconChevronRight, IconChevronRightDouble, IconChevronSelectorVertical, IconChevronUp, IconChevronUpDouble, IconChevronUpLeft, IconChevronUpLeftDouble, IconChevronUpRight, IconChevronUpRightDouble, IconClick, IconClock, IconClockFastForward, IconClockPlay, IconClockRewind, IconClone, IconCode, IconCodeBrowser, IconCodeCircle, IconColors, IconColumnEdit, IconCopy, IconCopy2, IconCopyCheck, IconCreditCard, IconCube, IconCubeOutline, IconCursorBox, IconDataflow, IconDataflow2, IconDataflow3, IconDistributeHorizontal, IconDollar, IconDollarCircle, IconDot, IconDotFill, IconDotsGrid, IconDotsHorizontal, IconDotsVertical, IconDownload, IconEdit, IconEditable, IconExpand, IconExternalLink, IconExternalLink2, IconEye, IconEyeHidden, IconEyeHidden2, IconFaceAngry, IconFaceLaugh, IconFaceSmile, IconFile, IconFileCheck, IconFileCsv, IconFileDownload, IconFileJson, IconFileList, IconFileMusic, IconFilePdf, IconFileSpreadsheet, IconFileText, IconFileUpload, IconFileXls, IconFileXlsx, IconFileZip, IconFiles, IconFilter, IconFilter2, IconFlag, IconFlag2, IconFlagFill, IconFocus, IconFolder, IconFolderExport, IconFolderImport, IconGraduationCap, IconGripVertical, IconHand, IconHandShield, IconHash, IconHeadsetMic, IconHeart, IconHeartFill, IconHouse, IconHouseLine, IconImage, IconImage2, IconImageCheck, IconImageOff, IconImport, IconInbox, IconInfoCircle, IconInfoHexagon, IconItalic, IconLayersMultiple, IconLayersSingle, IconLayout, IconLayout2, IconLayoutColumns, IconLayoutCustom, IconLayoutStuffed, IconLayoutTile, IconLifeBuoy, IconLightbulb, IconLightning, IconLightningFast, IconLineChart, IconLineChartBar, IconLineChartBreakoutSquare, IconLineChartUp, IconLines, IconLinesCheck, IconLinesPlay, IconLink, IconLink2, IconLinkOff, IconListBullet, IconListOrder, IconLock, IconLockFill, IconLogIn, IconLogOut, IconLogOut2, IconMagicWand, IconMail, IconMailOpen, IconMapPin, IconMaximize, IconMaximize2, IconMessageCircle, IconMessageSquare, IconMessageSquare2, IconMessageXSquare, IconMicrophone, IconMinimize, IconMinimize2, IconMinusCircle, IconMobile, IconMonitor, IconMonitor2, IconMoon, IconMoonCircle, IconMovie, IconName, IconNavigationPointer, IconNotificationBox, IconPCSetup, IconPackage, IconPalette, IconPasscodeLock, IconPause, IconPauseCircle, IconPen, IconPercentageCircle, IconPerspective, IconPhoneCall, IconPin, IconPlay, IconPlayCircle, IconPlus, IconPlusCircle, IconPrinter, IconPulse, IconQuestionCircle, IconQuote, IconRadioButton, IconRadioButtonFill, IconReceipt, IconReceiptCheck, IconRedo, IconRefresh, IconRefresh2, IconRefresh3, IconRepeat, IconReplace, IconReplay, IconRestore, IconRocket, IconRoundChart, IconRoundChart2, IconRoute, IconSave, IconScanDots, IconScissors, IconSearch, IconSend, IconServer, IconSettings, IconSettings2, IconShare, IconShieldLightning, IconShieldPlus, IconShieldRemove, IconShoppingBag, IconShoppingCart, IconShrink, IconShuffle, IconSkipForward, IconSlashCircle, IconSlashOctagon, IconSocialAndroid, IconSocialApple, IconSocialGithub, IconSocialGlobe, IconSocialGoogle, IconSocialInstagram, IconSocialLinkedin, IconSocialMastercard, IconSocialReact, IconSocialVisa, IconSocialX, IconSpeedometer, IconStairs, IconStar, IconStarFill, IconStarHalf, IconStars, IconStop, IconStrikethrough, IconSun, IconSwap, IconSwitchHorizontal, IconTable, IconTag, IconTarget, IconTarget2, IconTextFormat, IconTextFormat2, IconTextHighlight, IconThumbsDown, IconThumbsUp, IconThumbsUpFill, IconToggle, IconTranslate, IconTrash, IconTrending, IconUnderline, IconUndo, IconUnlock, IconUploadCloud, IconUser, IconUserCheck, IconUserDollar, IconUserEdit, IconUserPlus, IconUserRight, IconUserSquare, IconUserVoice, IconUsers, IconUsersUp, IconVideo, IconVideoChat, IconVolume, IconVolumeDown, IconVolumeMute, IconWrench, IconX, IconXCircle, IconXCircleFill, IconXSquare, IconZoomIn, IconZoomOut, InfoLabels, type InfoLabelsProps, Input, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Lookup, type LookupOption, type LookupProps, Markdown, type MarkdownProps, Menu, type MenuProps, Modal, type ModalProps, NOTIFICATION_GENERAL_CATEGORY, type NotificationAction, type NotificationAnimationType, type NotificationCardSlot, type NotificationCategories, type NotificationCategory, type NotificationCategoryTone, type NotificationClassNames, type NotificationContainerClassNames, type NotificationContainerStyles, type NotificationGroupSlot, type NotificationHiddenElement, type NotificationId, type NotificationItem, type NotificationLabels, type NotificationLayout, type NotificationPatch, type NotificationPosition, type NotificationPriority, type NotificationProps, type NotificationRenderNode, type NotificationRowSlot, type NotificationSlot, type NotificationStackSlot, type NotificationState, type NotificationStore, type NotificationStyles, type NotificationUiState, type NotificationVariant, Pagination, PaginationGoToPage, type PaginationGoToPageProps, PaginationPageSize, type PaginationPageSizeProps, type PaginationProps, PillBadge, type PillBadgeProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, RadioBoxGroup, type RadioBoxGroupProps, RadioButtonGroup, type RadioButtonGroupProps, Rating, type RatingProps, Select, type SelectProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonBanner, SkeletonButton, SkeletonCard, SkeletonCard2, SkeletonCard3, SkeletonCardStack, SkeletonChart, type SkeletonComponentProps, SkeletonContentCard, SkeletonDataGrid, SkeletonForm, SkeletonGlowingCard, SkeletonImage, SkeletonInfoCard, SkeletonInput, SkeletonList, SkeletonParagraph, type SkeletonProps, type SkeletonRoundness, SkeletonText, type SkeletonType, SkeletonVideo, SkeletonWidgetCard, SkeletonWrapper, Slider, type SliderProps, SliderRange, type SliderRangeProps, StackedProgressTracker, type StackedProgressTrackerProps, StackedProgressTrackerRow, type StackedProgressTrackerRowProps, StackedProgressTrackerStatusFilter, type StackedProgressTrackerStatusFilterProps, StarRating, type StarRatingProps, Stepper, type StepperProps, Switch, type SwitchProps, TRACKER_STATUS_FILTER_ORDER, type Tab, Tabs, type TabsProps, TagFilter, type TagFilterItem, type TagFilterItemId, type TagFilterLabels, type TagFilterProps, TextArea, type TextAreaProps, Tooltip, type TooltipProps, type TrackerItem, TrackerItemStatus, TrackerStatusFilter, createNotificationStore, getFileIcon, groupLayout, listLayout, notification, notificationStore, parseRgbaString, showNotification, stackLayout, useNotifications };
4620
+ /** Plain elements of the player that accept a class / style override. */
4621
+ type VideoPlayerElement =
4622
+ /** Focusable player box (background, rounding, shadow). */
4623
+ 'container'
4624
+ /** 16:9 box holding the video, placeholder, loader and overlay. */
4625
+ | 'viewport' | 'video' | 'placeholder' | 'placeholderLabel' | 'placeholderSubLabel'
4626
+ /** Centre overlay wrapper. */
4627
+ | 'overlay'
4628
+ /** Centre seek backward / forward buttons. */
4629
+ | 'overlayButton'
4630
+ /** Centre play / pause button. */
4631
+ | 'overlayPlayButton'
4632
+ /** Bottom toolbar (seekbar + controls row, incl. gradient). */
4633
+ | 'controls'
4634
+ /** Row of buttons under the seekbar. */
4635
+ | 'controlsRow'
4636
+ /** Every icon button in the toolbar. */
4637
+ | 'controlButton' | 'playButton' | 'backwardButton' | 'forwardButton' | 'muteButton' | 'fullscreenButton'
4638
+ /** Mute button + volume slider wrapper. */
4639
+ | 'volume'
4640
+ /** Expanding wrapper around the volume slider. */
4641
+ | 'volumeSliderContainer'
4642
+ /** `current / duration` wrapper. */
4643
+ | 'time' | 'currentTime' | 'duration'
4644
+ /** Seekbar wrapper (interactive slider or progress line). */
4645
+ | 'seekBar'
4646
+ /** Filled part of the progress line when `allowBarSeeking` is off. */
4647
+ | 'progressFill'
4648
+ /** Wrapper of all seekbar segments. */
4649
+ | 'segments'
4650
+ /** Positioned box of a single segment. */
4651
+ | 'segment'
4652
+ /** Unplayed background of a segment. */
4653
+ | 'segmentTrack'
4654
+ /** Played part of a segment. */
4655
+ | 'segmentFill'
4656
+ /** Trigger button of the playback speed popover. */
4657
+ | 'speedButton'
4658
+ /** Popover content wrapper. */
4659
+ | 'speedContent'
4660
+ /** Popover header (label + current speed). */
4661
+ | 'speedHeader' | 'speedLabel' | 'speedValue'
4662
+ /** Subtitles (CC) toggle button. */
4663
+ | 'subtitlesButton';
4664
+ type VideoPlayerClassNames = Partial<Record<VideoPlayerElement, string>> & {
4665
+ loader?: ComponentClassnames<LoaderProps>;
4666
+ /** Seek slider (when `allowBarSeeking` is on). */
4667
+ seekSlider?: ComponentClassnames<SliderProps>;
4668
+ volumeSlider?: ComponentClassnames<SliderProps>;
4669
+ speedPopover?: ComponentClassnames<PopoverProps>;
4670
+ speedBadge?: ComponentClassnames<PillBadgeProps>;
4671
+ speedSlider?: ComponentClassnames<SliderProps>;
4672
+ subtitlesTooltip?: ComponentClassnames<TooltipProps>;
4673
+ subtitlesBadge?: ComponentClassnames<PillBadgeProps>;
4674
+ };
4675
+ type VideoPlayerStyles = Partial<Record<VideoPlayerElement, CSSProperties>> & {
4676
+ loader?: ComponentStyles<LoaderProps>;
4677
+ seekSlider?: ComponentStyles<SliderProps>;
4678
+ volumeSlider?: ComponentStyles<SliderProps>;
4679
+ speedPopover?: ComponentStyles<PopoverProps>;
4680
+ speedBadge?: ComponentStyles<PillBadgeProps>;
4681
+ speedSlider?: ComponentStyles<SliderProps>;
4682
+ subtitlesTooltip?: ComponentStyles<TooltipProps>;
4683
+ subtitlesBadge?: ComponentStyles<PillBadgeProps>;
4684
+ };
4685
+
4686
+ /**
4687
+ * Controls that can be hidden through `hiddenControls` (bottom toolbar) and
4688
+ * `hiddenOverlayControls` (centre overlay: PLAY, BACKWARD and FORWARD only).
4689
+ */
4690
+ declare enum VideoPlayerControl {
4691
+ PLAY = "play",
4692
+ BACKWARD = "backward",
4693
+ FORWARD = "forward",
4694
+ VOLUME = "volume",
4695
+ TIME = "time",
4696
+ SEEKBAR = "seekbar",
4697
+ SPEED = "speed",
4698
+ SUBTITLES = "subtitles",
4699
+ FULLSCREEN = "fullscreen"
4700
+ }
4701
+ /** Controls rendered in the centre overlay. */
4702
+ type VideoPlayerOverlayControl = VideoPlayerControl.PLAY | VideoPlayerControl.BACKWARD | VideoPlayerControl.FORWARD;
4703
+ type VideoPlayerTrack = {
4704
+ src: string;
4705
+ /** Defaults to `subtitles`. `metadata` tracks are data-only and never shown as captions. */
4706
+ kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
4707
+ srcLang?: string;
4708
+ label?: string;
4709
+ };
4710
+ /** Seekbar segment, in seconds. Without `end` it lasts until the next segment starts (or the media ends). */
4711
+ type VideoPlayerSegment = {
4712
+ start: number;
4713
+ end?: number;
4714
+ };
4715
+ /** A segment normalized by `getVideoSegments`: sorted, clamped and always bounded. */
4716
+ type VideoPlayerResolvedSegment<T extends VideoPlayerSegment = VideoPlayerSegment> = T & {
4717
+ end: number;
4718
+ };
4719
+ type VideoPlayerMediaEvent = SyntheticEvent<HTMLVideoElement>;
4720
+ /** Imperative handles exposed through the `ref` of `VideoPlayer`. */
4721
+ type VideoPlayerHandle = {
4722
+ getMediaElement: () => HTMLVideoElement | null;
4723
+ play: () => void;
4724
+ pause: () => void;
4725
+ /** Seeks to `time` (seconds), clamped to the media duration. Ignores `allowSeekingPastWatched`. */
4726
+ jumpTo: (time: number) => void;
4727
+ };
4728
+ type VideoPlayerEngineProps = Omit<VideoHTMLAttributes<HTMLVideoElement>, 'src'> & {
4729
+ src?: string;
4730
+ playing?: boolean;
4731
+ volume?: number;
4732
+ playbackRate?: number;
4733
+ };
4734
+ /**
4735
+ * Media renderer used by `VideoPlayer`. It must forward its ref to an
4736
+ * `HTMLVideoElement` (or an element implementing the same API), render
4737
+ * `children` (`<track>` elements) inside it and fire the native media events.
4738
+ */
4739
+ type VideoPlayerEngine = ComponentType<VideoPlayerEngineProps & RefAttributes<HTMLVideoElement>>;
4740
+ type VideoPlayerLabels = {
4741
+ play?: string;
4742
+ pause?: string;
4743
+ seekBackward?: (seconds: number) => string;
4744
+ seekForward?: (seconds: number) => string;
4745
+ seek?: string;
4746
+ progress?: string;
4747
+ volume?: string;
4748
+ mute?: string;
4749
+ unmute?: string;
4750
+ subtitles?: ReactNode;
4751
+ noSubtitles?: ReactNode;
4752
+ subtitlesBadge?: ReactNode;
4753
+ toggleSubtitles?: string;
4754
+ playbackSpeed?: string;
4755
+ fullscreen?: string;
4756
+ exitFullscreen?: string;
4757
+ /** Shown when there is no playable video. */
4758
+ placeholder?: ReactNode;
4759
+ placeholderSubLabel?: ReactNode;
4760
+ };
4761
+ type VideoPlayerProps = {
4762
+ /** Media URL. Anything the engine supports: MP4/WebM, HLS (`.m3u8`), YouTube, Vimeo… with the default engine. */
4763
+ src?: string;
4764
+ tracks?: VideoPlayerTrack[];
4765
+ /** Seconds to start the first loaded media at. Invalid or out-of-range values are ignored. */
4766
+ startTime?: number;
4767
+ /** When `false`, clicking on the seek bar will do nothing. */
4768
+ allowBarSeeking?: boolean;
4769
+ /** When `false`, the viewer can't skip past the furthest point watched. */
4770
+ allowSeekingPastWatched?: boolean;
4771
+ segments?: VideoPlayerSegment[];
4772
+ hiddenControls?: VideoPlayerControl[];
4773
+ hiddenOverlayControls?: VideoPlayerOverlayControl[];
4774
+ /** Seconds the backward/forward controls move playback by. */
4775
+ seekStep?: number;
4776
+ /** Overrides `labels.placeholder`. */
4777
+ engine?: VideoPlayerEngine;
4778
+ labels?: VideoPlayerLabels;
4779
+ onTimeChange?: (time: number) => void;
4780
+ onDurationChange?: (event: VideoPlayerMediaEvent) => void;
4781
+ onPause?: () => void;
4782
+ onEnded?: () => void;
4783
+ /** Classes for the outer `.cleen` wrapper. */
4784
+ className?: string;
4785
+ classNames?: VideoPlayerClassNames;
4786
+ /** Styles for the outer `.cleen` wrapper. */
4787
+ style?: CSSProperties;
4788
+ styles?: VideoPlayerStyles;
4789
+ };
4790
+
4791
+ declare const DEFAULT_VIDEO_PLAYER_LABELS: Required<VideoPlayerLabels>;
4792
+
4793
+ /** Seconds the backward/forward controls move playback by. */
4794
+ declare const VIDEO_PLAYER_SEEK_STEP_DEFAULT = 10;
4795
+
4796
+ /**
4797
+ * Plain `<video>` engine without third-party code. Use it as a base for custom
4798
+ * engines, e.g. attaching hls.js to the element for HLS outside Safari.
4799
+ */
4800
+ declare const NativeVideoEngine: react.ForwardRefExoticComponent<Omit<react.VideoHTMLAttributes<HTMLVideoElement>, "src"> & {
4801
+ src?: string;
4802
+ playing?: boolean;
4803
+ volume?: number;
4804
+ playbackRate?: number;
4805
+ } & react.RefAttributes<HTMLVideoElement>>;
4806
+
4807
+ /**
4808
+ * Default engine: renders `react-player`, which plays files, HLS/DASH streams
4809
+ * and hosted providers (YouTube, Vimeo…).
4810
+ */
4811
+ declare const ReactPlayerEngine: react.ForwardRefExoticComponent<Omit<react.VideoHTMLAttributes<HTMLVideoElement>, "src"> & {
4812
+ src?: string;
4813
+ playing?: boolean;
4814
+ volume?: number;
4815
+ playbackRate?: number;
4816
+ } & react.RefAttributes<HTMLVideoElement>>;
4817
+
4818
+ /** Formats seconds as `m:ss`, or `h:mm:ss` from one hour. */
4819
+ declare const formatTime: (seconds: number) => string;
4820
+ /**
4821
+ * Normalizes `{ start, end? }` segments (seconds) into sorted, contiguous
4822
+ * bounds within the media duration. A segment without `end` lasts until the
4823
+ * next one starts (or the media ends).
4824
+ */
4825
+ declare const getVideoSegments: <T extends VideoPlayerSegment>(segments: T[] | null | undefined, duration: number) => VideoPlayerResolvedSegment<T>[];
4826
+ /** Played fraction (0–1) of `segment` at `time`. */
4827
+ declare const getVideoSegmentProgress: (segment: VideoPlayerResolvedSegment, time: number) => number;
4828
+ /** Index of the segment playing at `time`; the last one once the media ended. */
4829
+ declare const getVideoSegmentIndex: (segments: VideoPlayerSegment[], time: number) => number;
4830
+
4831
+ /**
4832
+ * Video player with a custom control chrome: play/pause, seek backward/forward
4833
+ * by `seekStep` seconds, volume, progress bar, playback speed, subtitles (CC)
4834
+ * and fullscreen. Media is rendered by `engine` (`react-player` by default).
4835
+ *
4836
+ * - Hide any control with `hiddenControls` (bottom toolbar) and
4837
+ * `hiddenOverlayControls` (centre overlay) using `VideoPlayerControl`.
4838
+ * Hiding a control also disables its keyboard shortcut.
4839
+ * - `allowBarSeeking={false}` the progress bar becomes non-interactive
4840
+ * - `allowSeekingPastWatched={false}` prevents skipping past the furthest point watched
4841
+ * - `segments` (`[{ start, end? }]`, seconds) splits the seekbar into parts.
4842
+ * - `startTime` (seconds) is applied once to the first media loaded.
4843
+ * - The ref exposes `play`, `pause`, `jumpTo` and `getMediaElement`.
4844
+ * - `className` / `style` target the outer wrapper; `classNames` / `styles`
4845
+ * reach every element (see `VideoPlayerClassNames`), and nested Cleen
4846
+ * components (`seekSlider`, `volumeSlider`, `speedPopover`, `speedBadge`,
4847
+ * `speedSlider`, `subtitlesTooltip`, `subtitlesBadge`, `loader`) take
4848
+ * `{ className, classNames }` / `{ style, styles }`.
4849
+ */
4850
+ declare const VideoPlayer: react.ForwardRefExoticComponent<VideoPlayerProps & react.RefAttributes<VideoPlayerHandle>>;
4851
+
4852
+ export { AdvancedProgressBar, type AdvancedProgressBarProps, AudioPlayback, type AudioPlaybackProps, AudioRecorder, type AudioRecorderProps, Avatar, type AvatarProps, AvatarRow, type AvatarRowProps, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, CalendarDropdown, type CalendarDropdownProps, type CalendarProps, CanvasButton, Card, CardIcon, type CardIconProps, CardMedia, type CardMediaProps, type Media as CardMediaType, type CardProps, Carousel, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CleenIcon, CleenNotificationContainer, type CleenNotificationContainerProps, Collapsible, type CollapsibleProps, type CollapsibleSection, type ColorModel, ColorPicker, type ColorPickerProps, CreditCardInput, type CreditCardInputProps, DEFAULT_NOTIFICATION_CATEGORIES, DEFAULT_NOTIFICATION_LABELS, DEFAULT_VIDEO_PLAYER_LABELS, Divider, type DividerProps, Drawer, type DrawerConfig, DrawerContainer, type DrawerContainerProps, DrawerContentTitle, type DrawerContentTitleItem, type DrawerContentTitleProps, type DrawerProps, Dropdown, type DropdownProps, Dropzone, type DropzoneProps, EditableCard, type EditableCardField, type EditableCardProps, EditableText, EditableTextArea, type EditableTextAreaProps, type EditableTextAreaRef, type EditableTextProps, type EditableTextRef, FileCard, type FileCardCategory, type FileCardData, type FileCardProps, FileStackedProgressTracker, type FileStackedProgressTrackerProps, FilterDrawer, type FilterDrawerFilterCategories, type FilterDrawerNewFilter, type FilterDrawerProps, type FilterDrawerSavedFilter, FormGroup, type FormGroupProps, GroupSelector, type GroupSelectorProps, type GroupSelectorSaveResult, type GroupSelectorThreeDotOption, type SidebarItem$1 as ISidebarItem, Icon48AlertFeatured, Icon48SuccessFeatured, IconAlertCircle, IconAlertOctagon, IconAlertTriangle, IconApps, IconArchive, IconArrowBarDown, IconArrowBarLeft, IconArrowBarRight, IconArrowBarToDown, IconArrowBarToLeft, IconArrowBarToRight, IconArrowBarToUp, IconArrowBarUp, IconArrowDown, IconArrowDownLeft, IconArrowDownNarrow, IconArrowDownRight, IconArrowLeft, IconArrowLeftNarrow, IconArrowRight, IconArrowRightNarrow, IconArrowUp, IconArrowUpLeft, IconArrowUpNarrow, IconArrowUpRight, IconAttachment, IconBarChart, IconBarChartSquare, IconBell, IconBold, IconBookOpen, IconBookmark, IconBookmarkCheck, IconBookmarkCheckFill, IconBookmarkFill, IconBookmarkMinus, IconBookmarkPlus, IconBookmarkX, IconBoxLines, IconBoxText, IconBracketsCheck, IconBracketsEllipses, IconBrickWall, IconBriefcase, IconBuilding, IconCalculator, IconCalendar, IconCertificate, IconCheck, IconCheckCircle, IconCheckCircleBroken, IconCheckFill, IconCheckVerified, IconCheckVerifiedFill, IconChevronDown, IconChevronDownDouble, IconChevronDownLeft, IconChevronDownLeftDouble, IconChevronDownRight, IconChevronDownRightDouble, IconChevronLeft, IconChevronLeftDouble, IconChevronRight, IconChevronRightDouble, IconChevronSelectorVertical, IconChevronUp, IconChevronUpDouble, IconChevronUpLeft, IconChevronUpLeftDouble, IconChevronUpRight, IconChevronUpRightDouble, IconClick, IconClock, IconClockFastForward, IconClockPlay, IconClockRewind, IconClone, IconCode, IconCodeBrowser, IconCodeCircle, IconColors, IconColumnEdit, IconCopy, IconCopy2, IconCopyCheck, IconCreditCard, IconCube, IconCubeOutline, IconCursorBox, IconDataflow, IconDataflow2, IconDataflow3, IconDistributeHorizontal, IconDollar, IconDollarCircle, IconDot, IconDotFill, IconDotsGrid, IconDotsHorizontal, IconDotsVertical, IconDownload, IconEdit, IconEditable, IconExpand, IconExternalLink, IconExternalLink2, IconEye, IconEyeHidden, IconEyeHidden2, IconFaceAngry, IconFaceLaugh, IconFaceSmile, IconFile, IconFileCheck, IconFileCsv, IconFileDownload, IconFileJson, IconFileList, IconFileMusic, IconFilePdf, IconFileSpreadsheet, IconFileText, IconFileUpload, IconFileXls, IconFileXlsx, IconFileZip, IconFiles, IconFilter, IconFilter2, IconFlag, IconFlag2, IconFlagFill, IconFocus, IconFolder, IconFolderExport, IconFolderImport, IconGraduationCap, IconGripVertical, IconHand, IconHandShield, IconHash, IconHeadsetMic, IconHeart, IconHeartFill, IconHouse, IconHouseLine, IconImage, IconImage2, IconImageCheck, IconImageOff, IconImport, IconInbox, IconInfoCircle, IconInfoHexagon, IconItalic, IconLayersMultiple, IconLayersSingle, IconLayout, IconLayout2, IconLayoutColumns, IconLayoutCustom, IconLayoutStuffed, IconLayoutTile, IconLifeBuoy, IconLightbulb, IconLightning, IconLightningFast, IconLineChart, IconLineChartBar, IconLineChartBreakoutSquare, IconLineChartUp, IconLines, IconLinesCheck, IconLinesPlay, IconLink, IconLink2, IconLinkOff, IconListBullet, IconListOrder, IconLock, IconLockFill, IconLogIn, IconLogOut, IconLogOut2, IconMagicWand, IconMail, IconMailOpen, IconMapPin, IconMaximize, IconMaximize2, IconMessageCircle, IconMessageSquare, IconMessageSquare2, IconMessageXSquare, IconMicrophone, IconMinimize, IconMinimize2, IconMinusCircle, IconMobile, IconMonitor, IconMonitor2, IconMoon, IconMoonCircle, IconMovie, IconName, IconNavigationPointer, IconNotificationBox, IconPCSetup, IconPackage, IconPalette, IconPasscodeLock, IconPause, IconPauseCircle, IconPen, IconPercentageCircle, IconPerspective, IconPhoneCall, IconPin, IconPlay, IconPlayCircle, IconPlus, IconPlusCircle, IconPrinter, IconPulse, IconQuestionCircle, IconQuote, IconRadioButton, IconRadioButtonFill, IconReceipt, IconReceiptCheck, IconRedo, IconRefresh, IconRefresh2, IconRefresh3, IconRepeat, IconReplace, IconReplay, IconRestore, IconRocket, IconRoundChart, IconRoundChart2, IconRoute, IconSave, IconScanDots, IconScissors, IconSearch, IconSend, IconServer, IconSettings, IconSettings2, IconShare, IconShieldLightning, IconShieldPlus, IconShieldRemove, IconShoppingBag, IconShoppingCart, IconShrink, IconShuffle, IconSkipForward, IconSlashCircle, IconSlashOctagon, IconSocialAndroid, IconSocialApple, IconSocialGithub, IconSocialGlobe, IconSocialGoogle, IconSocialInstagram, IconSocialLinkedin, IconSocialMastercard, IconSocialReact, IconSocialVisa, IconSocialX, IconSpeedometer, IconStairs, IconStar, IconStarFill, IconStarHalf, IconStars, IconStop, IconStrikethrough, IconSun, IconSwap, IconSwitchHorizontal, IconTable, IconTag, IconTarget, IconTarget2, IconTextFormat, IconTextFormat2, IconTextHighlight, IconThumbsDown, IconThumbsUp, IconThumbsUpFill, IconToggle, IconTranslate, IconTrash, IconTrending, IconUnderline, IconUndo, IconUnlock, IconUploadCloud, IconUser, IconUserCheck, IconUserDollar, IconUserEdit, IconUserPlus, IconUserRight, IconUserSquare, IconUserVoice, IconUsers, IconUsersUp, IconVideo, IconVideoChat, IconVolume, IconVolumeDown, IconVolumeMute, IconWrench, IconX, IconXCircle, IconXCircleFill, IconXSquare, IconZoomIn, IconZoomOut, InfoLabels, type InfoLabelsProps, Input, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Lookup, type LookupOption, type LookupProps, Markdown, type MarkdownProps, Menu, type MenuProps, Modal, type ModalProps, NOTIFICATION_GENERAL_CATEGORY, NativeVideoEngine, type NotificationAction, type NotificationAnimationType, type NotificationCardSlot, type NotificationCategories, type NotificationCategory, type NotificationCategoryTone, type NotificationClassNames, type NotificationContainerClassNames, type NotificationContainerStyles, type NotificationGroupSlot, type NotificationHiddenElement, type NotificationId, type NotificationItem, type NotificationLabels, type NotificationLayout, type NotificationPatch, type NotificationPosition, type NotificationPriority, type NotificationProps, type NotificationRenderNode, type NotificationRowSlot, type NotificationSlot, type NotificationStackSlot, type NotificationState, type NotificationStore, type NotificationStyles, type NotificationUiState, type NotificationVariant, Pagination, PaginationGoToPage, type PaginationGoToPageProps, PaginationPageSize, type PaginationPageSizeProps, type PaginationProps, PillBadge, type PillBadgeProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, RadioBoxGroup, type RadioBoxGroupProps, RadioButtonGroup, type RadioButtonGroupProps, Rating, type RatingProps, ReactPlayerEngine, Select, type SelectProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonBanner, SkeletonButton, SkeletonCard, SkeletonCard2, SkeletonCard3, SkeletonCardStack, SkeletonChart, type SkeletonComponentProps, SkeletonContentCard, SkeletonDataGrid, SkeletonForm, SkeletonGlowingCard, SkeletonImage, SkeletonInfoCard, SkeletonInput, SkeletonList, SkeletonParagraph, type SkeletonProps, type SkeletonRoundness, SkeletonText, type SkeletonType, SkeletonVideo, SkeletonWidgetCard, SkeletonWrapper, Slider, type SliderProps, SliderRange, type SliderRangeProps, StackedProgressTracker, type StackedProgressTrackerProps, StackedProgressTrackerRow, type StackedProgressTrackerRowProps, StackedProgressTrackerStatusFilter, type StackedProgressTrackerStatusFilterProps, StarRating, type StarRatingProps, Stepper, type StepperProps, Switch, type SwitchProps, TRACKER_STATUS_FILTER_ORDER, type Tab, Tabs, type TabsProps, TagFilter, type TagFilterItem, type TagFilterItemId, type TagFilterLabels, type TagFilterProps, TextArea, type TextAreaProps, Tooltip, type TooltipProps, type TrackerItem, TrackerItemStatus, TrackerStatusFilter, VIDEO_PLAYER_SEEK_STEP_DEFAULT, VideoPlayer, type VideoPlayerClassNames, VideoPlayerControl, type VideoPlayerElement, type VideoPlayerEngine, type VideoPlayerEngineProps, type VideoPlayerHandle, type VideoPlayerLabels, type VideoPlayerMediaEvent, type VideoPlayerOverlayControl, type VideoPlayerProps, type VideoPlayerResolvedSegment, type VideoPlayerSegment, type VideoPlayerStyles, type VideoPlayerTrack, createNotificationStore, formatTime, getFileIcon, getVideoSegmentIndex, getVideoSegmentProgress, getVideoSegments, groupLayout, listLayout, notification, notificationStore, parseRgbaString, showNotification, stackLayout, useNotifications };