@mieweb/ui 0.6.1-dev.169 → 0.6.1-dev.171
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/brands/index.cjs +18 -18
- package/dist/brands/index.js +3 -3
- package/dist/chunk-3Q2VWPML.cjs +1802 -0
- package/dist/chunk-3Q2VWPML.cjs.map +1 -0
- package/dist/{chunk-6W3HLFAJ.cjs → chunk-3YRDZBW6.cjs} +3 -3
- package/dist/{chunk-6W3HLFAJ.cjs.map → chunk-3YRDZBW6.cjs.map} +1 -1
- package/dist/{chunk-UVQEHZRF.js → chunk-6VGXX6L6.js} +2 -2
- package/dist/{chunk-UVQEHZRF.js.map → chunk-6VGXX6L6.js.map} +1 -1
- package/dist/chunk-CH26CHPH.js +1776 -0
- package/dist/chunk-CH26CHPH.js.map +1 -0
- package/dist/{chunk-TXRQQMG5.js → chunk-CYMZ2QS5.js} +2 -2
- package/dist/{chunk-TXRQQMG5.js.map → chunk-CYMZ2QS5.js.map} +1 -1
- package/dist/chunk-FGP64Z24.js +131 -0
- package/dist/chunk-FGP64Z24.js.map +1 -0
- package/dist/chunk-FIWKHLWY.js +197 -0
- package/dist/chunk-FIWKHLWY.js.map +1 -0
- package/dist/chunk-GLXTVCHN.cjs +4 -0
- package/dist/chunk-GLXTVCHN.cjs.map +1 -0
- package/dist/chunk-J7KWQJOB.js +14 -0
- package/dist/chunk-J7KWQJOB.js.map +1 -0
- package/dist/chunk-JYZW2PZS.cjs +166 -0
- package/dist/chunk-JYZW2PZS.cjs.map +1 -0
- package/dist/{chunk-XVF472GT.js → chunk-NSLR3B7K.js} +2 -2
- package/dist/{chunk-XVF472GT.js.map → chunk-NSLR3B7K.js.map} +1 -1
- package/dist/chunk-NTYGCBCL.js +543 -0
- package/dist/chunk-NTYGCBCL.js.map +1 -0
- package/dist/chunk-RISZWWEQ.js +3 -0
- package/dist/chunk-RISZWWEQ.js.map +1 -0
- package/dist/chunk-S7JQ3FV5.cjs +16 -0
- package/dist/chunk-S7JQ3FV5.cjs.map +1 -0
- package/dist/{chunk-JWTCEWQ4.cjs → chunk-SNEQXSC5.cjs} +2 -2
- package/dist/{chunk-JWTCEWQ4.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
- package/dist/chunk-SQHMGT4W.js +164 -0
- package/dist/chunk-SQHMGT4W.js.map +1 -0
- package/dist/{chunk-JHPFOG2N.cjs → chunk-ST2RE5UB.cjs} +30 -18
- package/dist/chunk-ST2RE5UB.cjs.map +1 -0
- package/dist/chunk-UO3KEUYK.cjs +220 -0
- package/dist/chunk-UO3KEUYK.cjs.map +1 -0
- package/dist/{chunk-FETRH4V5.js → chunk-X763OLF2.js} +3 -3
- package/dist/{chunk-FETRH4V5.js.map → chunk-X763OLF2.js.map} +1 -1
- package/dist/{chunk-DKGUOMBC.cjs → chunk-X7J45FU5.cjs} +2 -2
- package/dist/{chunk-DKGUOMBC.cjs.map → chunk-X7J45FU5.cjs.map} +1 -1
- package/dist/{chunk-I56VBDSC.js → chunk-XDFDVF2O.js} +30 -18
- package/dist/chunk-XDFDVF2O.js.map +1 -0
- package/dist/chunk-Y4ESBDQ5.cjs +552 -0
- package/dist/chunk-Y4ESBDQ5.cjs.map +1 -0
- package/dist/{chunk-MJ7YITLN.cjs → chunk-Y65SK5Y2.cjs} +2 -2
- package/dist/{chunk-MJ7YITLN.cjs.map → chunk-Y65SK5Y2.cjs.map} +1 -1
- package/dist/chunk-YD23ZGRU.cjs +155 -0
- package/dist/chunk-YD23ZGRU.cjs.map +1 -0
- package/dist/components/Markdown/index.cjs +10 -10
- package/dist/components/Markdown/index.js +2 -2
- package/dist/components/MediaEditor/index.cjs +42 -0
- package/dist/components/MediaEditor/index.cjs.map +1 -0
- package/dist/components/MediaEditor/index.d.cts +151 -0
- package/dist/components/MediaEditor/index.d.ts +151 -0
- package/dist/components/MediaEditor/index.js +17 -0
- package/dist/components/MediaEditor/index.js.map +1 -0
- package/dist/components/MediaPlayer/index.cjs +24 -0
- package/dist/components/MediaPlayer/index.cjs.map +1 -0
- package/dist/components/MediaPlayer/index.d.cts +71 -0
- package/dist/components/MediaPlayer/index.d.ts +71 -0
- package/dist/components/MediaPlayer/index.js +7 -0
- package/dist/components/MediaPlayer/index.js.map +1 -0
- package/dist/components/ThemeProvider/index.cjs +7 -7
- package/dist/components/ThemeProvider/index.js +1 -1
- package/dist/components/TranscriptView/index.cjs +21 -0
- package/dist/components/TranscriptView/index.cjs.map +1 -0
- package/dist/components/TranscriptView/index.d.cts +55 -0
- package/dist/components/TranscriptView/index.d.ts +55 -0
- package/dist/components/TranscriptView/index.js +4 -0
- package/dist/components/TranscriptView/index.js.map +1 -0
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/hooks/index.cjs +49 -11
- package/dist/hooks/index.d.cts +88 -1
- package/dist/hooks/index.d.ts +88 -1
- package/dist/hooks/index.js +3 -1
- package/dist/index.cjs +380 -253
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +87 -40
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/transcript-oaWqY3yr.d.cts +81 -0
- package/dist/transcript-oaWqY3yr.d.ts +81 -0
- package/dist/useTranscriptEdits-BUylQFg0.d.cts +168 -0
- package/dist/useTranscriptEdits-CWYnjbGP.d.ts +168 -0
- package/package.json +1 -1
- package/dist/chunk-I56VBDSC.js.map +0 -1
- package/dist/chunk-JHPFOG2N.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -31,6 +31,8 @@ export { Label, LabelProps, labelVariants } from './components/Label/index.cjs';
|
|
|
31
31
|
import { SpinnerProps } from './components/Spinner/index.cjs';
|
|
32
32
|
export { FullPageSpinner, FullPageSpinnerProps, Spinner, SpinnerWithLabel, SpinnerWithLabelProps, spinnerVariants } from './components/Spinner/index.cjs';
|
|
33
33
|
export { CodeBlock, CsvBlock, FenceBlock, FenceBlockProps, HtmlPreviewBlock, MarkdownRenderer, MarkdownRendererProps, MermaidBlock, SurveyBlock, UseMarkdownResult, highlightCode, useMarkdown } from './components/Markdown/index.cjs';
|
|
34
|
+
export { FillerWordsModal, FillerWordsModalProps, MediaEditor, MediaEditorProps, SilenceSettingsModal, SilenceSettingsModalProps, SpeedMarkerMenu, SpeedMarkerMenuProps, WordEditorModal, WordEditorModalProps } from './components/MediaEditor/index.cjs';
|
|
35
|
+
export { MediaKind, MediaPlayer, MediaPlayerProps, MediaPlayerRef, MediaPlayerState, inferMediaKind, mediaPlayerVariants } from './components/MediaPlayer/index.cjs';
|
|
34
36
|
export { Modal, ModalBody, ModalBodyProps, ModalClose, ModalCloseProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, ModalTitle, ModalTitleProps, modalContentVariants, modalOverlayVariants } from './components/Modal/index.cjs';
|
|
35
37
|
export { Pagination, PaginationProps, SimplePagination, SimplePaginationProps, paginationButtonVariants } from './components/Pagination/index.cjs';
|
|
36
38
|
export { PhoneEntry, PhoneInput, PhoneInputGroup, PhoneInputGroupProps, PhoneInputProps, PhoneType } from './components/PhoneInput/index.cjs';
|
|
@@ -49,15 +51,18 @@ export { Slider, SliderProps, sliderRangeVariants, sliderThumbVariants, sliderTr
|
|
|
49
51
|
export { Switch, SwitchProps, switchThumbVariants, switchTrackVariants } from './components/Switch/index.cjs';
|
|
50
52
|
export { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps } from './components/Table/index.cjs';
|
|
51
53
|
import { UseScrollSpyOptions } from './hooks/index.cjs';
|
|
52
|
-
export { DragOverState, KeyboardShortcutOptions, UseDragReorderOptions, UseDragReorderReturn, UseScrollSpyReturn, dragIndicatorClasses, reorderIds, useClickOutside, useCommandK, useDragReorder, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, usePrefersReducedMotion, useScrollSpy } from './hooks/index.cjs';
|
|
54
|
+
export { DragOverState, KeyboardShortcutOptions, MediaTransportState, UseDragReorderOptions, UseDragReorderReturn, UseMediaTransportOptions, UseMediaTransportReturn, UseScrollSpyReturn, dragIndicatorClasses, reorderIds, useClickOutside, useCommandK, useDragReorder, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy } from './hooks/index.cjs';
|
|
53
55
|
export { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, tabsListVariants, tabsTriggerVariants } from './components/Tabs/index.cjs';
|
|
54
56
|
export { SmallMuted, Text, TextProps, textVariants } from './components/Text/index.cjs';
|
|
55
57
|
export { Textarea, TextareaProps, textareaVariants } from './components/Textarea/index.cjs';
|
|
56
58
|
export { ThemeProvider, ThemeProviderContext, ThemeProviderContextValue, ThemeProviderProps, ThemeToggle, ThemeToggleProps, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './components/ThemeProvider/index.cjs';
|
|
57
59
|
export { Toggle, ToggleProps, toggleVariants } from './components/Toggle/index.cjs';
|
|
58
60
|
export { Tooltip, TooltipPlacement, TooltipProps } from './components/Tooltip/index.cjs';
|
|
61
|
+
export { TranscriptGranularity, TranscriptView, TranscriptViewProps, formatTimestampMs } from './components/TranscriptView/index.cjs';
|
|
62
|
+
export { E as EditableWord, c as PLAYBACK_SPEEDS, a as PlaybackSegment, P as PlaybackSpeed, d as Speaker, S as SpeedMarker, T as Transcript, b as TranscriptWord, W as WordType } from './transcript-oaWqY3yr.cjs';
|
|
59
63
|
export { VisuallyHidden, VisuallyHiddenProps } from './components/VisuallyHidden/index.cjs';
|
|
60
64
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.cjs';
|
|
65
|
+
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from './useTranscriptEdits-BUylQFg0.cjs';
|
|
61
66
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.cjs';
|
|
62
67
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.cjs';
|
|
63
68
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export { Label, LabelProps, labelVariants } from './components/Label/index.js';
|
|
|
31
31
|
import { SpinnerProps } from './components/Spinner/index.js';
|
|
32
32
|
export { FullPageSpinner, FullPageSpinnerProps, Spinner, SpinnerWithLabel, SpinnerWithLabelProps, spinnerVariants } from './components/Spinner/index.js';
|
|
33
33
|
export { CodeBlock, CsvBlock, FenceBlock, FenceBlockProps, HtmlPreviewBlock, MarkdownRenderer, MarkdownRendererProps, MermaidBlock, SurveyBlock, UseMarkdownResult, highlightCode, useMarkdown } from './components/Markdown/index.js';
|
|
34
|
+
export { FillerWordsModal, FillerWordsModalProps, MediaEditor, MediaEditorProps, SilenceSettingsModal, SilenceSettingsModalProps, SpeedMarkerMenu, SpeedMarkerMenuProps, WordEditorModal, WordEditorModalProps } from './components/MediaEditor/index.js';
|
|
35
|
+
export { MediaKind, MediaPlayer, MediaPlayerProps, MediaPlayerRef, MediaPlayerState, inferMediaKind, mediaPlayerVariants } from './components/MediaPlayer/index.js';
|
|
34
36
|
export { Modal, ModalBody, ModalBodyProps, ModalClose, ModalCloseProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, ModalTitle, ModalTitleProps, modalContentVariants, modalOverlayVariants } from './components/Modal/index.js';
|
|
35
37
|
export { Pagination, PaginationProps, SimplePagination, SimplePaginationProps, paginationButtonVariants } from './components/Pagination/index.js';
|
|
36
38
|
export { PhoneEntry, PhoneInput, PhoneInputGroup, PhoneInputGroupProps, PhoneInputProps, PhoneType } from './components/PhoneInput/index.js';
|
|
@@ -49,15 +51,18 @@ export { Slider, SliderProps, sliderRangeVariants, sliderThumbVariants, sliderTr
|
|
|
49
51
|
export { Switch, SwitchProps, switchThumbVariants, switchTrackVariants } from './components/Switch/index.js';
|
|
50
52
|
export { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps } from './components/Table/index.js';
|
|
51
53
|
import { UseScrollSpyOptions } from './hooks/index.js';
|
|
52
|
-
export { DragOverState, KeyboardShortcutOptions, UseDragReorderOptions, UseDragReorderReturn, UseScrollSpyReturn, dragIndicatorClasses, reorderIds, useClickOutside, useCommandK, useDragReorder, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, usePrefersReducedMotion, useScrollSpy } from './hooks/index.js';
|
|
54
|
+
export { DragOverState, KeyboardShortcutOptions, MediaTransportState, UseDragReorderOptions, UseDragReorderReturn, UseMediaTransportOptions, UseMediaTransportReturn, UseScrollSpyReturn, dragIndicatorClasses, reorderIds, useClickOutside, useCommandK, useDragReorder, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy } from './hooks/index.js';
|
|
53
55
|
export { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, tabsListVariants, tabsTriggerVariants } from './components/Tabs/index.js';
|
|
54
56
|
export { SmallMuted, Text, TextProps, textVariants } from './components/Text/index.js';
|
|
55
57
|
export { Textarea, TextareaProps, textareaVariants } from './components/Textarea/index.js';
|
|
56
58
|
export { ThemeProvider, ThemeProviderContext, ThemeProviderContextValue, ThemeProviderProps, ThemeToggle, ThemeToggleProps, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './components/ThemeProvider/index.js';
|
|
57
59
|
export { Toggle, ToggleProps, toggleVariants } from './components/Toggle/index.js';
|
|
58
60
|
export { Tooltip, TooltipPlacement, TooltipProps } from './components/Tooltip/index.js';
|
|
61
|
+
export { TranscriptGranularity, TranscriptView, TranscriptViewProps, formatTimestampMs } from './components/TranscriptView/index.js';
|
|
62
|
+
export { E as EditableWord, c as PLAYBACK_SPEEDS, a as PlaybackSegment, P as PlaybackSpeed, d as Speaker, S as SpeedMarker, T as Transcript, b as TranscriptWord, W as WordType } from './transcript-oaWqY3yr.js';
|
|
59
63
|
export { VisuallyHidden, VisuallyHiddenProps } from './components/VisuallyHidden/index.js';
|
|
60
64
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.js';
|
|
65
|
+
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from './useTranscriptEdits-CWYnjbGP.js';
|
|
61
66
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.js';
|
|
62
67
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.js';
|
|
63
68
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.js';
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { getModelBytes } from './chunk-6I7IDZ4A.js';
|
|
2
|
-
import { Text } from './chunk-JLBT76WH.js';
|
|
3
|
-
export { SmallMuted, Text, textVariants } from './chunk-JLBT76WH.js';
|
|
4
|
-
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-I56VBDSC.js';
|
|
5
|
-
export { Toggle, toggleVariants } from './chunk-Y2S6QMKU.js';
|
|
6
1
|
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
7
|
-
export { brands } from './chunk-
|
|
2
|
+
export { brands } from './chunk-CYMZ2QS5.js';
|
|
3
|
+
export { webchartBrand } from './chunk-CW66SO5O.js';
|
|
8
4
|
export { defaultBrand } from './chunk-PSTGFXQG.js';
|
|
9
5
|
export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
|
|
10
6
|
export { miewebBrand } from './chunk-NERS5ZT6.js';
|
|
11
7
|
export { wagglelineBrand } from './chunk-2NTYAALC.js';
|
|
12
|
-
export {
|
|
8
|
+
export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './chunk-WOYUQ4AT.js';
|
|
13
9
|
export { bluehiveBrand } from './chunk-3T7QGLNB.js';
|
|
14
10
|
export { ccmeBrand } from './chunk-SCQRJPSV.js';
|
|
15
11
|
export { ozwellBrand } from './chunk-5YUBQIC7.js';
|
|
16
|
-
|
|
12
|
+
import { getModelBytes } from './chunk-6I7IDZ4A.js';
|
|
13
|
+
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-KL2S36FM.js';
|
|
14
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-KL2S36FM.js';
|
|
15
|
+
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-MUYTGWGE.js';
|
|
16
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-MUYTGWGE.js';
|
|
17
|
+
import { Text } from './chunk-JLBT76WH.js';
|
|
18
|
+
export { SmallMuted, Text, textVariants } from './chunk-JLBT76WH.js';
|
|
19
|
+
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-XDFDVF2O.js';
|
|
20
|
+
export { Toggle, toggleVariants } from './chunk-Y2S6QMKU.js';
|
|
21
|
+
export { TranscriptView, formatTimestampMs } from './chunk-FIWKHLWY.js';
|
|
22
|
+
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-4LVPQ44A.js';
|
|
17
23
|
import { Skeleton } from './chunk-4Z6ZZKIY.js';
|
|
18
24
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-4Z6ZZKIY.js';
|
|
19
|
-
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-JBB25LFB.js';
|
|
20
25
|
import { Spinner, SpinnerWithLabel } from './chunk-VCO2IZOG.js';
|
|
21
26
|
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-VCO2IZOG.js';
|
|
22
27
|
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-NQME7MCK.js';
|
|
@@ -27,28 +32,28 @@ import { MessageComposer } from './chunk-7QZSJFYT.js';
|
|
|
27
32
|
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-7QZSJFYT.js';
|
|
28
33
|
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
|
|
29
34
|
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
|
|
30
|
-
import {
|
|
31
|
-
export {
|
|
32
|
-
|
|
33
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-MUYTGWGE.js';
|
|
35
|
+
import { Progress } from './chunk-IYIYL2SQ.js';
|
|
36
|
+
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-IYIYL2SQ.js';
|
|
37
|
+
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-3CJBUAJ4.js';
|
|
34
38
|
import { RecordButton } from './chunk-STPK44AU.js';
|
|
35
39
|
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-STPK44AU.js';
|
|
36
40
|
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-FJG7KUDJ.js';
|
|
41
|
+
export { Separator, separatorVariants } from './chunk-BX6BTDTR.js';
|
|
37
42
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-4DMZAVB2.js';
|
|
38
43
|
export { ScrollArea, scrollAreaVariants } from './chunk-BIT27PPD.js';
|
|
39
|
-
export {
|
|
40
|
-
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-4LVPQ44A.js';
|
|
41
|
-
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-XVF472GT.js';
|
|
42
|
-
export { SurveyBlock } from './chunk-CPJIOOBM.js';
|
|
44
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-NSLR3B7K.js';
|
|
43
45
|
export { CsvBlock } from './chunk-FGIIXD37.js';
|
|
44
46
|
export { HtmlPreviewBlock } from './chunk-NCRYCG5G.js';
|
|
45
47
|
export { MermaidBlock } from './chunk-WGC3KOP7.js';
|
|
48
|
+
export { SurveyBlock } from './chunk-CPJIOOBM.js';
|
|
46
49
|
export { FenceBlock } from './chunk-MHJMUKLA.js';
|
|
50
|
+
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-CH26CHPH.js';
|
|
51
|
+
export { PLAYBACK_SPEEDS } from './chunk-J7KWQJOB.js';
|
|
52
|
+
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-JBB25LFB.js';
|
|
53
|
+
import './chunk-RISZWWEQ.js';
|
|
54
|
+
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-FGP64Z24.js';
|
|
47
55
|
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-J3BU3JBX.js';
|
|
48
56
|
export { PhoneInput, PhoneInputGroup } from './chunk-OX2RIVN7.js';
|
|
49
|
-
import { Progress } from './chunk-IYIYL2SQ.js';
|
|
50
|
-
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-IYIYL2SQ.js';
|
|
51
|
-
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-3CJBUAJ4.js';
|
|
52
57
|
import './chunk-OF7NTZ2I.js';
|
|
53
58
|
import { Checkbox } from './chunk-XCLQZ4FV.js';
|
|
54
59
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-XCLQZ4FV.js';
|
|
@@ -70,18 +75,18 @@ import './chunk-IQ4KQJAO.js';
|
|
|
70
75
|
export { Breadcrumb, BreadcrumbSlash } from './chunk-HEH3QXOQ.js';
|
|
71
76
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
72
77
|
export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
|
|
73
|
-
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-
|
|
74
|
-
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-
|
|
78
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-X763OLF2.js';
|
|
79
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-X763OLF2.js';
|
|
75
80
|
import { Textarea } from './chunk-6LFG4JFF.js';
|
|
76
81
|
export { Textarea, textareaVariants } from './chunk-6LFG4JFF.js';
|
|
77
82
|
import { Tooltip } from './chunk-FZJBFJJR.js';
|
|
78
83
|
export { Tooltip } from './chunk-FZJBFJJR.js';
|
|
79
84
|
import { RadioGroup, Radio } from './chunk-EZKRAW2X.js';
|
|
80
85
|
export { Radio, RadioGroup, radioVariants } from './chunk-EZKRAW2X.js';
|
|
81
|
-
import { Select } from './chunk-R25H4N4Z.js';
|
|
82
|
-
export { Select, selectTriggerVariants } from './chunk-R25H4N4Z.js';
|
|
83
86
|
import { Label } from './chunk-DUPR6FEL.js';
|
|
84
87
|
export { Label, labelVariants } from './chunk-DUPR6FEL.js';
|
|
88
|
+
import { Select } from './chunk-R25H4N4Z.js';
|
|
89
|
+
export { Select, selectTriggerVariants } from './chunk-R25H4N4Z.js';
|
|
85
90
|
import { Card, CardHeader, CardContent, CardTitle } from './chunk-5BQE6BEL.js';
|
|
86
91
|
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-5BQE6BEL.js';
|
|
87
92
|
import { DateInput } from './chunk-LIH3IZYK.js';
|
|
@@ -95,9 +100,11 @@ import { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
|
95
100
|
export { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
96
101
|
import { Badge } from './chunk-T42BCIUA.js';
|
|
97
102
|
export { Badge, badgeVariants } from './chunk-T42BCIUA.js';
|
|
98
|
-
import { useCommandK, useIsMobile, useMediaQuery, useScrollSpy } from './chunk-
|
|
99
|
-
export { useCommandK, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, useScrollSpy } from './chunk-
|
|
103
|
+
import { useCommandK, useIsMobile, useMediaQuery, useScrollSpy } from './chunk-6VGXX6L6.js';
|
|
104
|
+
export { useCommandK, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, useScrollSpy } from './chunk-6VGXX6L6.js';
|
|
100
105
|
export { useTheme } from './chunk-KJZNEVYM.js';
|
|
106
|
+
export { DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, buildPlaybackSegments, getSpeedAtIndex, initEditableWords, insertSilences, useTranscriptEdits } from './chunk-NTYGCBCL.js';
|
|
107
|
+
export { useMediaTransport } from './chunk-SQHMGT4W.js';
|
|
101
108
|
import { useClickOutside } from './chunk-OKBR6PX4.js';
|
|
102
109
|
export { useClickOutside } from './chunk-OKBR6PX4.js';
|
|
103
110
|
import { useLiveAnnouncement, useDragReorder, dragIndicatorClasses, reorderIds } from './chunk-7ZVTLTJF.js';
|
|
@@ -2673,6 +2680,40 @@ function whisperPref() {
|
|
|
2673
2680
|
return null;
|
|
2674
2681
|
}
|
|
2675
2682
|
}
|
|
2683
|
+
function whisperDevice() {
|
|
2684
|
+
if (typeof window === "undefined") return null;
|
|
2685
|
+
const fromWin = (w) => {
|
|
2686
|
+
try {
|
|
2687
|
+
return w?.__ozwell?.whisperDevice;
|
|
2688
|
+
} catch {
|
|
2689
|
+
return void 0;
|
|
2690
|
+
}
|
|
2691
|
+
};
|
|
2692
|
+
const win = fromWin(window) || fromWin(window.parent) || fromWin(window.top);
|
|
2693
|
+
if (win) return win;
|
|
2694
|
+
try {
|
|
2695
|
+
return JSON.parse(localStorage.getItem("ozwellConfig") || "{}").whisperDevice || null;
|
|
2696
|
+
} catch {
|
|
2697
|
+
return null;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
function whisperDtype() {
|
|
2701
|
+
if (typeof window === "undefined") return null;
|
|
2702
|
+
const fromWin = (w) => {
|
|
2703
|
+
try {
|
|
2704
|
+
return w?.__ozwell?.whisperDtype;
|
|
2705
|
+
} catch {
|
|
2706
|
+
return void 0;
|
|
2707
|
+
}
|
|
2708
|
+
};
|
|
2709
|
+
const win = fromWin(window) || fromWin(window.parent) || fromWin(window.top);
|
|
2710
|
+
if (win) return win;
|
|
2711
|
+
try {
|
|
2712
|
+
return JSON.parse(localStorage.getItem("ozwellConfig") || "{}").whisperDtype || null;
|
|
2713
|
+
} catch {
|
|
2714
|
+
return null;
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2676
2717
|
var DEFAULT_TRANSFORMERS_URL = "https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.8.1";
|
|
2677
2718
|
function transformersUrl() {
|
|
2678
2719
|
try {
|
|
@@ -2741,15 +2782,17 @@ async function buildEnglish(modelId) {
|
|
|
2741
2782
|
const mod = await getMod();
|
|
2742
2783
|
mod.env.remoteHost = cfg.hfHost;
|
|
2743
2784
|
mod.env.remotePathTemplate = cfg.hfPath;
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
return pipe;
|
|
2785
|
+
if ((cfg.whisperDevice || '').toLowerCase() !== 'wasm') {
|
|
2786
|
+
try {
|
|
2787
|
+
const gpuDtype = cfg.whisperDtype || 'q8';
|
|
2788
|
+
const pipe = await mod.pipeline('automatic-speech-recognition', modelId, { device: 'webgpu', dtype: gpuDtype, progress_callback: progressCb() });
|
|
2789
|
+
console.log('[whisper] ready (' + modelId + ' / WebGPU ' + gpuDtype + ', worker)');
|
|
2790
|
+
return pipe;
|
|
2791
|
+
} catch (e) { /* fall through to wasm */ }
|
|
2752
2792
|
}
|
|
2793
|
+
const pipe = await mod.pipeline('automatic-speech-recognition', modelId, { dtype: 'q8', progress_callback: progressCb() });
|
|
2794
|
+
console.log('[whisper] ready (' + modelId + ' / wasm, worker)');
|
|
2795
|
+
return pipe;
|
|
2753
2796
|
}
|
|
2754
2797
|
|
|
2755
2798
|
async function buildTurbo() {
|
|
@@ -2809,7 +2852,7 @@ self.onmessage = async (e) => {
|
|
|
2809
2852
|
if (m.want === 'gate') { pipe = await loadGate(); opts = { chunk_length_s: 30 }; }
|
|
2810
2853
|
else {
|
|
2811
2854
|
pipe = await loadWhisper();
|
|
2812
|
-
if (m.want === 'segments') opts = Object.assign({ chunk_length_s: 30, return_timestamps: true }, isMulti ? { language: 'english', task: 'transcribe' } : {});
|
|
2855
|
+
if (m.want === 'segments' || m.want === 'words') opts = Object.assign({ chunk_length_s: 30, return_timestamps: m.want === 'words' ? 'word' : true }, isMulti ? { language: 'english', task: 'transcribe' } : {});
|
|
2813
2856
|
else opts = isMulti ? { chunk_length_s: 30, language: 'english', task: 'transcribe' } : { chunk_length_s: 30 };
|
|
2814
2857
|
}
|
|
2815
2858
|
const out = await pipe(m.samples, opts);
|
|
@@ -2828,6 +2871,8 @@ function buildWorkerCfg() {
|
|
|
2828
2871
|
transformersUrl: transformersUrl(),
|
|
2829
2872
|
whisperHost: whisperHost(),
|
|
2830
2873
|
whisperPref: whisperPref(),
|
|
2874
|
+
whisperDevice: whisperDevice(),
|
|
2875
|
+
whisperDtype: whisperDtype(),
|
|
2831
2876
|
hfHost: HF_HOST,
|
|
2832
2877
|
hfPath: HF_PATH,
|
|
2833
2878
|
smallModels: SMALL_MODELS,
|
|
@@ -3035,16 +3080,18 @@ async function transcribeSamples(samples, sampleRate) {
|
|
|
3035
3080
|
const out = await callWorker("text", resampleTo16kMono(samples, sampleRate));
|
|
3036
3081
|
return (out.text ?? "").trim();
|
|
3037
3082
|
}
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
const out = await callWorker("segments", samples);
|
|
3041
|
-
const chunks = out.chunks ?? [];
|
|
3042
|
-
return chunks.map((c) => ({
|
|
3083
|
+
function chunksToSegments(chunks) {
|
|
3084
|
+
return (chunks ?? []).map((c) => ({
|
|
3043
3085
|
start: c.timestamp?.[0] ?? 0,
|
|
3044
3086
|
end: c.timestamp?.[1] ?? c.timestamp?.[0] ?? 0,
|
|
3045
3087
|
text: (c.text ?? "").trim()
|
|
3046
3088
|
})).filter((s) => s.text);
|
|
3047
3089
|
}
|
|
3090
|
+
async function transcribeSegments(blob) {
|
|
3091
|
+
const samples = await decodeTo16kMono(blob);
|
|
3092
|
+
const out = await callWorker("segments", samples);
|
|
3093
|
+
return chunksToSegments(out.chunks);
|
|
3094
|
+
}
|
|
3048
3095
|
function serverAsrModel() {
|
|
3049
3096
|
try {
|
|
3050
3097
|
return JSON.parse(localStorage.getItem("ozwellConfig") || "{}").serverWhisper || "whisper-1";
|