@mieweb/ui 0.10.0-dev.11 → 0.10.0-dev.12

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.
Files changed (113) hide show
  1. package/dist/Input-yN516s5_.d.cts +3 -0
  2. package/dist/Input-yN516s5_.d.ts +3 -0
  3. package/dist/ag-grid.d.cts +142 -1
  4. package/dist/ag-grid.d.ts +142 -1
  5. package/dist/components/Alert/index.d.cts +1 -1
  6. package/dist/components/Alert/index.d.ts +1 -1
  7. package/dist/components/AlertDialog/index.d.cts +28 -3
  8. package/dist/components/AlertDialog/index.d.ts +28 -3
  9. package/dist/components/AudioRecorder/index.d.cts +2 -2
  10. package/dist/components/AudioRecorder/index.d.ts +2 -2
  11. package/dist/components/Autocomplete/index.d.cts +8 -2
  12. package/dist/components/Autocomplete/index.d.ts +8 -2
  13. package/dist/components/Avatar/index.d.cts +1 -1
  14. package/dist/components/Avatar/index.d.ts +1 -1
  15. package/dist/components/Badge/index.d.cts +1 -1
  16. package/dist/components/Badge/index.d.ts +1 -1
  17. package/dist/components/BoardView/index.d.cts +91 -4
  18. package/dist/components/BoardView/index.d.ts +91 -4
  19. package/dist/components/Button/index.d.cts +1 -1
  20. package/dist/components/Button/index.d.ts +1 -1
  21. package/dist/components/CalendarView/index.d.cts +1 -2
  22. package/dist/components/CalendarView/index.d.ts +1 -2
  23. package/dist/components/Card/index.d.cts +3 -3
  24. package/dist/components/Card/index.d.ts +3 -3
  25. package/dist/components/Dropdown/index.d.cts +2 -1
  26. package/dist/components/Dropdown/index.d.ts +2 -1
  27. package/dist/components/GanttView/index.d.cts +1 -2
  28. package/dist/components/GanttView/index.d.ts +1 -2
  29. package/dist/components/ListView/index.d.cts +2 -3
  30. package/dist/components/ListView/index.d.ts +2 -3
  31. package/dist/components/MediaEditor/index.d.cts +91 -2
  32. package/dist/components/MediaEditor/index.d.ts +91 -2
  33. package/dist/components/MediaPlayer/index.d.cts +1 -1
  34. package/dist/components/MediaPlayer/index.d.ts +1 -1
  35. package/dist/components/Pagination/index.d.cts +1 -1
  36. package/dist/components/Pagination/index.d.ts +1 -1
  37. package/dist/components/PhoneInput/index.d.cts +36 -3
  38. package/dist/components/PhoneInput/index.d.ts +36 -3
  39. package/dist/components/Progress/index.d.cts +1 -1
  40. package/dist/components/Progress/index.d.ts +1 -1
  41. package/dist/components/Q/index.d.cts +2 -2
  42. package/dist/components/Q/index.d.ts +2 -2
  43. package/dist/components/QuickAction/index.d.cts +1 -1
  44. package/dist/components/QuickAction/index.d.ts +1 -1
  45. package/dist/components/RecordButton/index.d.cts +1 -1
  46. package/dist/components/RecordButton/index.d.ts +1 -1
  47. package/dist/components/RichTextEditor/index.d.cts +7 -2
  48. package/dist/components/RichTextEditor/index.d.ts +7 -2
  49. package/dist/components/ScrollArea/index.d.cts +1 -1
  50. package/dist/components/ScrollArea/index.d.ts +1 -1
  51. package/dist/components/Select/index.d.cts +1 -2
  52. package/dist/components/Select/index.d.ts +1 -2
  53. package/dist/components/Skeleton/index.d.cts +1 -1
  54. package/dist/components/Skeleton/index.d.ts +1 -1
  55. package/dist/components/Slider/index.d.cts +2 -2
  56. package/dist/components/Slider/index.d.ts +2 -2
  57. package/dist/components/Spinner/index.d.cts +2 -2
  58. package/dist/components/Spinner/index.d.ts +2 -2
  59. package/dist/components/SuperChat/index.d.cts +2 -4
  60. package/dist/components/SuperChat/index.d.ts +2 -4
  61. package/dist/components/SuperChat/plugins/index.d.cts +2 -3
  62. package/dist/components/SuperChat/plugins/index.d.ts +2 -3
  63. package/dist/components/Text/index.d.cts +3 -3
  64. package/dist/components/Text/index.d.ts +3 -3
  65. package/dist/components/Textarea/index.d.cts +1 -2
  66. package/dist/components/Textarea/index.d.ts +1 -2
  67. package/dist/components/ThemeProvider/index.d.cts +3 -1
  68. package/dist/components/ThemeProvider/index.d.ts +3 -1
  69. package/dist/components/TranscriptView/index.d.cts +85 -4
  70. package/dist/components/TranscriptView/index.d.ts +85 -4
  71. package/dist/components/ViewSet/index.d.cts +120 -9
  72. package/dist/components/ViewSet/index.d.ts +120 -9
  73. package/dist/components/ViewSwitcher/index.d.cts +4 -40
  74. package/dist/components/ViewSwitcher/index.d.ts +4 -40
  75. package/dist/datavis.d.cts +167 -13
  76. package/dist/datavis.d.ts +167 -13
  77. package/dist/esheet.d.cts +183 -1
  78. package/dist/esheet.d.ts +183 -1
  79. package/dist/hooks/index.d.cts +383 -31
  80. package/dist/hooks/index.d.ts +383 -31
  81. package/dist/index-DoYYWsNc.d.cts +127 -0
  82. package/dist/index-DoYYWsNc.d.ts +127 -0
  83. package/dist/index.d.cts +7592 -414
  84. package/dist/index.d.ts +7592 -414
  85. package/dist/motion.d.cts +186 -2
  86. package/dist/motion.d.ts +186 -2
  87. package/dist/q.d.cts +25 -3
  88. package/dist/q.d.ts +25 -3
  89. package/dist/{types-B97JNRNQ.d.cts → types-DOxdTwmq.d.cts} +170 -2
  90. package/dist/{types-gZXrfLj6.d.ts → types-DOxdTwmq.d.ts} +170 -2
  91. package/dist/{types-CbWXIKbe.d.cts → types-DsdZvEI1.d.cts} +1 -28
  92. package/dist/{types-CbWXIKbe.d.ts → types-DsdZvEI1.d.ts} +1 -28
  93. package/dist/utils/index.d.cts +13 -2
  94. package/dist/utils/index.d.ts +13 -2
  95. package/package.json +3 -2
  96. package/dist/Animated-XmH6k8pZ.d.cts +0 -188
  97. package/dist/Animated-XmH6k8pZ.d.ts +0 -188
  98. package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
  99. package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
  100. package/dist/html-MdxqSzjD.d.cts +0 -13
  101. package/dist/html-MdxqSzjD.d.ts +0 -13
  102. package/dist/orderRows-BUJYgSc7.d.cts +0 -221
  103. package/dist/orderRows-BUJYgSc7.d.ts +0 -221
  104. package/dist/transcript-Cg7uSW-C.d.cts +0 -84
  105. package/dist/transcript-Cg7uSW-C.d.ts +0 -84
  106. package/dist/types-CnPEwzlp.d.cts +0 -254
  107. package/dist/types-CnPEwzlp.d.ts +0 -254
  108. package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
  109. package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
  110. package/dist/useTheme-B9SWu6ui.d.cts +0 -24
  111. package/dist/useTheme-B9SWu6ui.d.ts +0 -24
  112. package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
  113. package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
@@ -1,8 +1,8 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
1
3
  import { AgentConfigGeneratorProps, QConfig, QSchema } from '@mieweb/q';
2
4
  export { AgentConfigGenerator, AgentConfigGeneratorProps, ConfigEditor, ConfigEditorProps, FormBuilder, FormBuilderProps, GENERIC_TOOLS, Header, HeaderProps, QConfig, QDownloadMode, QSchema, TIMEZONES, ToolBuilder, ToolBuilderProps, configToQuestionnaire, configToYaml, copyToClipboard, defaultSchema, deriveDefaultConfig, downloadConfig, questionnaireToConfig, validateConfig, yamlToConfig } from '@mieweb/q';
3
5
  export { UniversalAgentConfigGenerator, UniversalAgentConfigGeneratorOptions, brands, generateBrandCSS } from '@mieweb/q/universal';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import * as React from 'react';
6
6
 
7
7
  interface QProps extends AgentConfigGeneratorProps {
8
8
  /** Additional class name for the Q container. */
@@ -3,7 +3,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import * as React from 'react';
4
4
 
5
5
  declare const quickActionIconVariants: (props?: ({
6
- color?: "primary" | "blue" | "green" | "orange" | "purple" | "red" | "neutral" | "amber" | null | undefined;
6
+ color?: "primary" | "green" | "purple" | "orange" | "blue" | "red" | "amber" | "neutral" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const quickActionVariants: (props?: ({
9
9
  disabled?: boolean | null | undefined;
@@ -3,7 +3,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import * as React from 'react';
4
4
 
5
5
  declare const quickActionIconVariants: (props?: ({
6
- color?: "primary" | "blue" | "green" | "orange" | "purple" | "red" | "neutral" | "amber" | null | undefined;
6
+ color?: "primary" | "green" | "purple" | "orange" | "blue" | "red" | "amber" | "neutral" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const quickActionVariants: (props?: ({
9
9
  disabled?: boolean | null | undefined;
@@ -47,7 +47,7 @@ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
47
47
  mimeType?: string;
48
48
  }
49
49
  declare const recordButtonVariants: (props?: ({
50
- variant?: "default" | "ghost" | "outline" | "minimal" | null | undefined;
50
+ variant?: "default" | "outline" | "ghost" | "minimal" | null | undefined;
51
51
  size?: "sm" | "md" | "lg" | null | undefined;
52
52
  } & class_variance_authority_types.ClassProp) | undefined) => string;
53
53
  declare function formatDuration(seconds: number): string;
@@ -47,7 +47,7 @@ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
47
47
  mimeType?: string;
48
48
  }
49
49
  declare const recordButtonVariants: (props?: ({
50
- variant?: "default" | "ghost" | "outline" | "minimal" | null | undefined;
50
+ variant?: "default" | "outline" | "ghost" | "minimal" | null | undefined;
51
51
  size?: "sm" | "md" | "lg" | null | undefined;
52
52
  } & class_variance_authority_types.ClassProp) | undefined) => string;
53
53
  declare function formatDuration(seconds: number): string;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- export { i as isHtmlEmpty } from '../../html-MdxqSzjD.cjs';
3
2
 
4
3
  interface RichTextVariable {
5
4
  /** Human-readable label shown in the variable menu. */
@@ -46,6 +45,12 @@ interface RichTextEditorProps {
46
45
  */
47
46
  declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
48
47
 
48
+ /**
49
+ * Returns true when an HTML string has no visible text content.
50
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
51
+ */
52
+ declare function isHtmlEmpty(html: string): boolean;
53
+
49
54
  /**
50
55
  * Converts spoken punctuation words (e.g. "period", "comma") into the
51
56
  * corresponding characters, using lightweight context heuristics so that words
@@ -59,4 +64,4 @@ declare function processDictation(text: string): string;
59
64
  */
60
65
  declare function convertAngleBracketsToMustache(html: string): string;
61
66
 
62
- export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, processDictation };
67
+ export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, isHtmlEmpty, processDictation };
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- export { i as isHtmlEmpty } from '../../html-MdxqSzjD.js';
3
2
 
4
3
  interface RichTextVariable {
5
4
  /** Human-readable label shown in the variable menu. */
@@ -46,6 +45,12 @@ interface RichTextEditorProps {
46
45
  */
47
46
  declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
48
47
 
48
+ /**
49
+ * Returns true when an HTML string has no visible text content.
50
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
51
+ */
52
+ declare function isHtmlEmpty(html: string): boolean;
53
+
49
54
  /**
50
55
  * Converts spoken punctuation words (e.g. "period", "comma") into the
51
56
  * corresponding characters, using lightweight context heuristics so that words
@@ -59,4 +64,4 @@ declare function processDictation(text: string): string;
59
64
  */
60
65
  declare function convertAngleBracketsToMustache(html: string): string;
61
66
 
62
- export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, processDictation };
67
+ export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, isHtmlEmpty, processDictation };
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const scrollAreaVariants: (props?: ({
6
- orientation?: "both" | "horizontal" | "vertical" | null | undefined;
6
+ orientation?: "vertical" | "horizontal" | "both" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof scrollAreaVariants> {
9
9
  }
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const scrollAreaVariants: (props?: ({
6
- orientation?: "both" | "horizontal" | "vertical" | null | undefined;
6
+ orientation?: "vertical" | "horizontal" | "both" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof scrollAreaVariants> {
9
9
  }
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { RequiredMarkVariant } from '../Input/index.cjs';
5
- import 'react';
4
+ import { R as RequiredMarkVariant } from '../../Input-yN516s5_.cjs';
6
5
 
7
6
  interface SelectOption {
8
7
  /** Unique value for the option */
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { RequiredMarkVariant } from '../Input/index.js';
5
- import 'react';
4
+ import { R as RequiredMarkVariant } from '../../Input-yN516s5_.js';
6
5
 
7
6
  interface SelectOption {
8
7
  /** Unique value for the option */
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const skeletonVariants: (props?: ({
7
- variant?: "button" | "title" | "image" | "text" | "default" | "avatar" | "card" | null | undefined;
7
+ variant?: "default" | "text" | "title" | "avatar" | "button" | "card" | "image" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
10
10
  /** Width of the skeleton */
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const skeletonVariants: (props?: ({
7
- variant?: "button" | "title" | "image" | "text" | "default" | "avatar" | "card" | null | undefined;
7
+ variant?: "default" | "text" | "title" | "avatar" | "button" | "card" | "image" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
10
10
  /** Width of the skeleton */
@@ -6,11 +6,11 @@ declare const sliderTrackVariants: (props?: ({
6
6
  size?: "sm" | "md" | "lg" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const sliderRangeVariants: (props?: ({
9
- variant?: "default" | "danger" | "warning" | "success" | "neutral" | null | undefined;
9
+ variant?: "default" | "success" | "warning" | "danger" | "neutral" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  declare const sliderThumbVariants: (props?: ({
12
12
  size?: "sm" | "md" | "lg" | null | undefined;
13
- variant?: "default" | "danger" | "warning" | "success" | "neutral" | null | undefined;
13
+ variant?: "default" | "success" | "warning" | "danger" | "neutral" | null | undefined;
14
14
  } & class_variance_authority_types.ClassProp) | undefined) => string;
15
15
  interface SliderProps extends VariantProps<typeof sliderTrackVariants>, VariantProps<typeof sliderRangeVariants> {
16
16
  /** Current value (controlled) */
@@ -6,11 +6,11 @@ declare const sliderTrackVariants: (props?: ({
6
6
  size?: "sm" | "md" | "lg" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const sliderRangeVariants: (props?: ({
9
- variant?: "default" | "danger" | "warning" | "success" | "neutral" | null | undefined;
9
+ variant?: "default" | "success" | "warning" | "danger" | "neutral" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  declare const sliderThumbVariants: (props?: ({
12
12
  size?: "sm" | "md" | "lg" | null | undefined;
13
- variant?: "default" | "danger" | "warning" | "success" | "neutral" | null | undefined;
13
+ variant?: "default" | "success" | "warning" | "danger" | "neutral" | null | undefined;
14
14
  } & class_variance_authority_types.ClassProp) | undefined) => string;
15
15
  interface SliderProps extends VariantProps<typeof sliderTrackVariants>, VariantProps<typeof sliderRangeVariants> {
16
16
  /** Current value (controlled) */
@@ -4,8 +4,8 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const spinnerVariants: (props?: ({
7
- size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
8
- variant?: "default" | "white" | "muted" | null | undefined;
7
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
8
+ variant?: "default" | "muted" | "white" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
11
11
  /** Accessible label for the spinner */
@@ -4,8 +4,8 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const spinnerVariants: (props?: ({
7
- size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
8
- variant?: "default" | "white" | "muted" | null | undefined;
7
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
8
+ variant?: "default" | "muted" | "white" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
11
11
  /** Accessible label for the spinner */
@@ -1,8 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-B97JNRNQ.cjs';
3
- export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-B97JNRNQ.cjs';
4
- import { b as AIRenderTextContent } from '../../types-CnPEwzlp.cjs';
5
- export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-CnPEwzlp.cjs';
2
+ import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AIRenderTextContent, b as AttachmentKind, c as SuperChatLinkBuilder, d as SuperChatCopyFormat, C as ComposerAttachment, e as SuperChatRef } from '../../types-DOxdTwmq.cjs';
3
+ export { f as AIMessageContent, g as AIMessageStatus, h as AITextRenderContext, G as GenUIBlockPayload, i as GenUIPrefetchPolicy, j as GenUIRegistry, k as GenUIWidgetEntry, l as GenUIWidgetProps, M as MCPResourceLink, P as Participant, m as ParticipantKind, n as ParticipantStatus, o as StandardSchemaV1, p as SuperChatChannel, q as SuperChatItemType, r as SuperChatMessage, s as SuperChatPluggable, t as SuperChatPluggableList } from '../../types-DOxdTwmq.cjs';
6
4
  import * as React from 'react';
7
5
 
8
6
  interface SuperChatProps {
@@ -1,8 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-gZXrfLj6.js';
3
- export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-gZXrfLj6.js';
4
- import { b as AIRenderTextContent } from '../../types-CnPEwzlp.js';
5
- export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-CnPEwzlp.js';
2
+ import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AIRenderTextContent, b as AttachmentKind, c as SuperChatLinkBuilder, d as SuperChatCopyFormat, C as ComposerAttachment, e as SuperChatRef } from '../../types-DOxdTwmq.js';
3
+ export { f as AIMessageContent, g as AIMessageStatus, h as AITextRenderContext, G as GenUIBlockPayload, i as GenUIPrefetchPolicy, j as GenUIRegistry, k as GenUIWidgetEntry, l as GenUIWidgetProps, M as MCPResourceLink, P as Participant, m as ParticipantKind, n as ParticipantStatus, o as StandardSchemaV1, p as SuperChatChannel, q as SuperChatItemType, r as SuperChatMessage, s as SuperChatPluggable, t as SuperChatPluggableList } from '../../types-DOxdTwmq.js';
6
4
  import * as React from 'react';
7
5
 
8
6
  interface SuperChatProps {
@@ -1,7 +1,6 @@
1
- import { a as SuperChatRenderPlugin, f as GenUIRegistry } from '../../../types-B97JNRNQ.cjs';
2
- export { g as GenUIWidgetEntry, h as GenUIWidgetProps } from '../../../types-B97JNRNQ.cjs';
1
+ import { a as SuperChatRenderPlugin, j as GenUIRegistry } from '../../../types-DOxdTwmq.cjs';
2
+ export { k as GenUIWidgetEntry, l as GenUIWidgetProps } from '../../../types-DOxdTwmq.cjs';
3
3
  import 'react';
4
- import '../../../types-CnPEwzlp.cjs';
5
4
 
6
5
  /**
7
6
  * SuperChat code plugin (opt-in).
@@ -1,7 +1,6 @@
1
- import { a as SuperChatRenderPlugin, f as GenUIRegistry } from '../../../types-gZXrfLj6.js';
2
- export { g as GenUIWidgetEntry, h as GenUIWidgetProps } from '../../../types-gZXrfLj6.js';
1
+ import { a as SuperChatRenderPlugin, j as GenUIRegistry } from '../../../types-DOxdTwmq.js';
2
+ export { k as GenUIWidgetEntry, l as GenUIWidgetProps } from '../../../types-DOxdTwmq.js';
3
3
  import 'react';
4
- import '../../../types-CnPEwzlp.js';
5
4
 
6
5
  /**
7
6
  * SuperChat code plugin (opt-in).
@@ -3,9 +3,9 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const textVariants: (props?: ({
6
- variant?: "default" | "primary" | "warning" | "success" | "muted" | "destructive" | null | undefined;
7
- size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
8
- weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
6
+ variant?: "default" | "muted" | "primary" | "destructive" | "success" | "warning" | null | undefined;
7
+ size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
8
+ weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
9
9
  align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  type TextElement = 'p' | 'span' | 'div' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -3,9 +3,9 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const textVariants: (props?: ({
6
- variant?: "default" | "primary" | "warning" | "success" | "muted" | "destructive" | null | undefined;
7
- size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
8
- weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
6
+ variant?: "default" | "muted" | "primary" | "destructive" | "success" | "warning" | null | undefined;
7
+ size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
8
+ weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
9
9
  align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  type TextElement = 'p' | 'span' | 'div' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -1,8 +1,7 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { RequiredMarkVariant } from '../Input/index.cjs';
5
- import 'react/jsx-runtime';
4
+ import { R as RequiredMarkVariant } from '../../Input-yN516s5_.cjs';
6
5
 
7
6
  declare const textareaVariants: (props?: ({
8
7
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -1,8 +1,7 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { RequiredMarkVariant } from '../Input/index.js';
5
- import 'react/jsx-runtime';
4
+ import { R as RequiredMarkVariant } from '../../Input-yN516s5_.js';
6
5
 
7
6
  declare const textareaVariants: (props?: ({
8
7
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -1,9 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { T as Theme, R as ResolvedTheme } from '../../useTheme-B9SWu6ui.cjs';
4
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
4
  import { VariantProps } from 'class-variance-authority';
6
5
 
6
+ type Theme = 'light' | 'dark' | 'system';
7
+ type ResolvedTheme = 'light' | 'dark';
8
+
7
9
  interface ThemeProviderContextValue {
8
10
  theme: Theme;
9
11
  setTheme: (theme: Theme) => void;
@@ -1,9 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { T as Theme, R as ResolvedTheme } from '../../useTheme-B9SWu6ui.js';
4
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
4
  import { VariantProps } from 'class-variance-authority';
6
5
 
6
+ type Theme = 'light' | 'dark' | 'system';
7
+ type ResolvedTheme = 'light' | 'dark';
8
+
7
9
  interface ThemeProviderContextValue {
8
10
  theme: Theme;
9
11
  setTheme: (theme: Theme) => void;
@@ -1,8 +1,89 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { T as Transcript } from '../../transcript-Cg7uSW-C.cjs';
5
- export { E as EditableWord, c as PLAYBACK_SPEEDS, a as PlaybackSegment, P as PlaybackSpeed, d as Speaker, S as SpeedMarker, e as TranscriptSegment, b as TranscriptWord, W as WordType } from '../../transcript-Cg7uSW-C.cjs';
4
+
5
+ /**
6
+ * Transcript schema for @mieweb/ui media components.
7
+ *
8
+ * Provider-agnostic and persistence-agnostic. Canonical time unit is
9
+ * **milliseconds** (consumers with seconds-based data, e.g. osheet, adapt
10
+ * at the boundary).
11
+ *
12
+ * Shared by TranscriptView, MediaEditor, and useTranscriptEdits.
13
+ */
14
+ /** Type of transcript word - 'word' for spoken content, 'silence' for detected gaps, 'silence-newline' for longer pauses */
15
+ type WordType = 'word' | 'silence' | 'silence-newline';
16
+ interface TranscriptWord {
17
+ text: string;
18
+ startMs: number;
19
+ endMs: number;
20
+ /** References Speaker.id when diarization is available */
21
+ speakerId?: string;
22
+ confidence?: number;
23
+ /** Type of word: 'word' for spoken content, 'silence' for detected gaps. Defaults to 'word' */
24
+ wordType?: WordType;
25
+ }
26
+ /** A diarized segment of contiguous speech (osheet-style granularity) */
27
+ interface TranscriptSegment {
28
+ text: string;
29
+ startMs: number;
30
+ endMs: number;
31
+ /** References Speaker.id when diarization is available */
32
+ speakerId?: string;
33
+ words: TranscriptWord[];
34
+ }
35
+ interface Speaker {
36
+ id: string;
37
+ /** Display name (e.g. 'Clinician', 'Patient'). Hosts may remap via speakerLabels props. */
38
+ name?: string;
39
+ }
40
+ interface Transcript {
41
+ durationMs: number;
42
+ speakers?: Speaker[];
43
+ words: TranscriptWord[];
44
+ segments?: TranscriptSegment[];
45
+ }
46
+ /**
47
+ * An editable word that references the original transcript word.
48
+ * Used in the edited timeline to track deletions and reordering.
49
+ */
50
+ interface EditableWord {
51
+ /** Index into the SILENCE-INSERTED baseline timeline (transcript.words
52
+ * with detected silence pseudo-words interleaved) — NOT into
53
+ * transcript.words. -1 for split/inserted entries with no baseline slot.
54
+ * Consumers persisting edits should key by this timeline. */
55
+ originalIndex: number;
56
+ /** The word data (from original transcript) */
57
+ word: TranscriptWord;
58
+ /** Whether this word is marked as deleted */
59
+ deleted: boolean;
60
+ /** Whether this word was inserted (pasted from clipboard) */
61
+ inserted?: boolean;
62
+ }
63
+ /**
64
+ * Represents a contiguous segment of playback from the original media.
65
+ * Used when playing back an edited timeline with potentially reordered/deleted words.
66
+ */
67
+ interface PlaybackSegment {
68
+ startMs: number;
69
+ endMs: number;
70
+ /** Indices into the editedWords array that this segment covers */
71
+ editedIndices: number[];
72
+ }
73
+ /** Available playback speed multipliers */
74
+ type PlaybackSpeed = 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2;
75
+ /** Array of all available speed options for dropdowns */
76
+ declare const PLAYBACK_SPEEDS: PlaybackSpeed[];
77
+ /**
78
+ * A speed marker applied to a word in the transcript.
79
+ * The speed applies from this word until the next speed marker or end of transcript.
80
+ */
81
+ interface SpeedMarker {
82
+ /** Index in the editedWords array where the speed marker is placed */
83
+ wordIndex: number;
84
+ /** The playback speed multiplier */
85
+ speed: PlaybackSpeed;
86
+ }
6
87
 
7
88
  type TranscriptGranularity = 'word' | 'segment';
8
89
  interface TranscriptViewProps extends VariantProps<typeof transcriptViewVariants> {
@@ -36,7 +117,7 @@ interface TranscriptViewProps extends VariantProps<typeof transcriptViewVariants
36
117
  'aria-label'?: string;
37
118
  }
38
119
  declare const transcriptViewVariants: (props?: ({
39
- variant?: "card" | "plain" | null | undefined;
120
+ variant?: "plain" | "card" | null | undefined;
40
121
  } & class_variance_authority_types.ClassProp) | undefined) => string;
41
122
  /** Format milliseconds as m:ss (osheet timestamp style) */
42
123
  declare function formatTimestampMs(ms: number): string;
@@ -52,4 +133,4 @@ declare function formatTimestampMs(ms: number): string;
52
133
  */
53
134
  declare const TranscriptView: React.ForwardRefExoticComponent<TranscriptViewProps & React.RefAttributes<HTMLDivElement>>;
54
135
 
55
- export { Transcript, type TranscriptGranularity, TranscriptView, type TranscriptViewProps, formatTimestampMs };
136
+ export { type EditableWord, PLAYBACK_SPEEDS, type PlaybackSegment, type PlaybackSpeed, type Speaker, type SpeedMarker, type Transcript, type TranscriptGranularity, type TranscriptSegment, TranscriptView, type TranscriptViewProps, type TranscriptWord, type WordType, formatTimestampMs };
@@ -1,8 +1,89 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { T as Transcript } from '../../transcript-Cg7uSW-C.js';
5
- export { E as EditableWord, c as PLAYBACK_SPEEDS, a as PlaybackSegment, P as PlaybackSpeed, d as Speaker, S as SpeedMarker, e as TranscriptSegment, b as TranscriptWord, W as WordType } from '../../transcript-Cg7uSW-C.js';
4
+
5
+ /**
6
+ * Transcript schema for @mieweb/ui media components.
7
+ *
8
+ * Provider-agnostic and persistence-agnostic. Canonical time unit is
9
+ * **milliseconds** (consumers with seconds-based data, e.g. osheet, adapt
10
+ * at the boundary).
11
+ *
12
+ * Shared by TranscriptView, MediaEditor, and useTranscriptEdits.
13
+ */
14
+ /** Type of transcript word - 'word' for spoken content, 'silence' for detected gaps, 'silence-newline' for longer pauses */
15
+ type WordType = 'word' | 'silence' | 'silence-newline';
16
+ interface TranscriptWord {
17
+ text: string;
18
+ startMs: number;
19
+ endMs: number;
20
+ /** References Speaker.id when diarization is available */
21
+ speakerId?: string;
22
+ confidence?: number;
23
+ /** Type of word: 'word' for spoken content, 'silence' for detected gaps. Defaults to 'word' */
24
+ wordType?: WordType;
25
+ }
26
+ /** A diarized segment of contiguous speech (osheet-style granularity) */
27
+ interface TranscriptSegment {
28
+ text: string;
29
+ startMs: number;
30
+ endMs: number;
31
+ /** References Speaker.id when diarization is available */
32
+ speakerId?: string;
33
+ words: TranscriptWord[];
34
+ }
35
+ interface Speaker {
36
+ id: string;
37
+ /** Display name (e.g. 'Clinician', 'Patient'). Hosts may remap via speakerLabels props. */
38
+ name?: string;
39
+ }
40
+ interface Transcript {
41
+ durationMs: number;
42
+ speakers?: Speaker[];
43
+ words: TranscriptWord[];
44
+ segments?: TranscriptSegment[];
45
+ }
46
+ /**
47
+ * An editable word that references the original transcript word.
48
+ * Used in the edited timeline to track deletions and reordering.
49
+ */
50
+ interface EditableWord {
51
+ /** Index into the SILENCE-INSERTED baseline timeline (transcript.words
52
+ * with detected silence pseudo-words interleaved) — NOT into
53
+ * transcript.words. -1 for split/inserted entries with no baseline slot.
54
+ * Consumers persisting edits should key by this timeline. */
55
+ originalIndex: number;
56
+ /** The word data (from original transcript) */
57
+ word: TranscriptWord;
58
+ /** Whether this word is marked as deleted */
59
+ deleted: boolean;
60
+ /** Whether this word was inserted (pasted from clipboard) */
61
+ inserted?: boolean;
62
+ }
63
+ /**
64
+ * Represents a contiguous segment of playback from the original media.
65
+ * Used when playing back an edited timeline with potentially reordered/deleted words.
66
+ */
67
+ interface PlaybackSegment {
68
+ startMs: number;
69
+ endMs: number;
70
+ /** Indices into the editedWords array that this segment covers */
71
+ editedIndices: number[];
72
+ }
73
+ /** Available playback speed multipliers */
74
+ type PlaybackSpeed = 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2;
75
+ /** Array of all available speed options for dropdowns */
76
+ declare const PLAYBACK_SPEEDS: PlaybackSpeed[];
77
+ /**
78
+ * A speed marker applied to a word in the transcript.
79
+ * The speed applies from this word until the next speed marker or end of transcript.
80
+ */
81
+ interface SpeedMarker {
82
+ /** Index in the editedWords array where the speed marker is placed */
83
+ wordIndex: number;
84
+ /** The playback speed multiplier */
85
+ speed: PlaybackSpeed;
86
+ }
6
87
 
7
88
  type TranscriptGranularity = 'word' | 'segment';
8
89
  interface TranscriptViewProps extends VariantProps<typeof transcriptViewVariants> {
@@ -36,7 +117,7 @@ interface TranscriptViewProps extends VariantProps<typeof transcriptViewVariants
36
117
  'aria-label'?: string;
37
118
  }
38
119
  declare const transcriptViewVariants: (props?: ({
39
- variant?: "card" | "plain" | null | undefined;
120
+ variant?: "plain" | "card" | null | undefined;
40
121
  } & class_variance_authority_types.ClassProp) | undefined) => string;
41
122
  /** Format milliseconds as m:ss (osheet timestamp style) */
42
123
  declare function formatTimestampMs(ms: number): string;
@@ -52,4 +133,4 @@ declare function formatTimestampMs(ms: number): string;
52
133
  */
53
134
  declare const TranscriptView: React.ForwardRefExoticComponent<TranscriptViewProps & React.RefAttributes<HTMLDivElement>>;
54
135
 
55
- export { Transcript, type TranscriptGranularity, TranscriptView, type TranscriptViewProps, formatTimestampMs };
136
+ export { type EditableWord, PLAYBACK_SPEEDS, type PlaybackSegment, type PlaybackSpeed, type Speaker, type SpeedMarker, type Transcript, type TranscriptGranularity, type TranscriptSegment, TranscriptView, type TranscriptViewProps, type TranscriptWord, type WordType, formatTimestampMs };