@mieweb/ui 0.11.0-dev.1 → 0.11.0-dev.10

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 (171) hide show
  1. package/dist/ag-grid.cjs +11 -2
  2. package/dist/ag-grid.cjs.map +1 -1
  3. package/dist/ag-grid.d.cts +8 -0
  4. package/dist/ag-grid.d.ts +8 -0
  5. package/dist/ag-grid.js +11 -2
  6. package/dist/ag-grid.js.map +1 -1
  7. package/dist/brands/index.cjs +12 -12
  8. package/dist/brands/index.js +3 -3
  9. package/dist/{chunk-U2RS574O.cjs → chunk-2GBVJHWN.cjs} +120 -63
  10. package/dist/chunk-2GBVJHWN.cjs.map +1 -0
  11. package/dist/{chunk-7UTBDFFL.cjs → chunk-2S76TRBJ.cjs} +4 -4
  12. package/dist/{chunk-7UTBDFFL.cjs.map → chunk-2S76TRBJ.cjs.map} +1 -1
  13. package/dist/{chunk-IJYTASQQ.cjs → chunk-3AD4HFYI.cjs} +15 -7
  14. package/dist/chunk-3AD4HFYI.cjs.map +1 -0
  15. package/dist/{chunk-CFI3TQMA.cjs → chunk-56C7K4MV.cjs} +9 -4
  16. package/dist/chunk-56C7K4MV.cjs.map +1 -0
  17. package/dist/{chunk-TNUL4LGG.js → chunk-5ILCNY74.js} +15 -7
  18. package/dist/chunk-5ILCNY74.js.map +1 -0
  19. package/dist/{chunk-AFDW64EF.cjs → chunk-5K7PRPSV.cjs} +30 -2
  20. package/dist/chunk-5K7PRPSV.cjs.map +1 -0
  21. package/dist/{chunk-QQCHM7BZ.cjs → chunk-5VA2HJ5B.cjs} +6 -6
  22. package/dist/{chunk-QQCHM7BZ.cjs.map → chunk-5VA2HJ5B.cjs.map} +1 -1
  23. package/dist/{chunk-PJ6CC53R.cjs → chunk-AKMTPCLC.cjs} +13 -8
  24. package/dist/chunk-AKMTPCLC.cjs.map +1 -0
  25. package/dist/{chunk-OODVC2UD.cjs → chunk-AWSSWNJY.cjs} +2 -2
  26. package/dist/{chunk-OODVC2UD.cjs.map → chunk-AWSSWNJY.cjs.map} +1 -1
  27. package/dist/chunk-BFVYM6IT.cjs +345 -0
  28. package/dist/chunk-BFVYM6IT.cjs.map +1 -0
  29. package/dist/{chunk-VVDE4CHU.js → chunk-C4GEPUE7.js} +13 -8
  30. package/dist/chunk-C4GEPUE7.js.map +1 -0
  31. package/dist/{chunk-TJ4GWQPM.js → chunk-DAAJ3B2T.js} +121 -65
  32. package/dist/chunk-DAAJ3B2T.js.map +1 -0
  33. package/dist/{chunk-QJ2L5RU6.js → chunk-DSQCYX7L.js} +2 -2
  34. package/dist/{chunk-QJ2L5RU6.js.map → chunk-DSQCYX7L.js.map} +1 -1
  35. package/dist/{chunk-NUB5HRKS.js → chunk-DT3X3RBM.js} +3 -3
  36. package/dist/{chunk-NUB5HRKS.js.map → chunk-DT3X3RBM.js.map} +1 -1
  37. package/dist/{chunk-AG5EKCE4.js → chunk-EBQG3NGT.js} +30 -2
  38. package/dist/chunk-EBQG3NGT.js.map +1 -0
  39. package/dist/{chunk-MYAU2ZUC.cjs → chunk-GDKOYVX3.cjs} +14 -10
  40. package/dist/chunk-GDKOYVX3.cjs.map +1 -0
  41. package/dist/{chunk-JTSKPDPH.cjs → chunk-HIYQ3M5V.cjs} +4 -3
  42. package/dist/chunk-HIYQ3M5V.cjs.map +1 -0
  43. package/dist/{chunk-7IBZA7G6.js → chunk-I6Y2KLTZ.js} +5 -2
  44. package/dist/chunk-I6Y2KLTZ.js.map +1 -0
  45. package/dist/chunk-IZY4CMOO.js +715 -0
  46. package/dist/chunk-IZY4CMOO.js.map +1 -0
  47. package/dist/{chunk-753ENNB6.js → chunk-J3QEMZCH.js} +2 -2
  48. package/dist/{chunk-753ENNB6.js.map → chunk-J3QEMZCH.js.map} +1 -1
  49. package/dist/{chunk-S2JZL4JC.js → chunk-JM4YFLO4.js} +22 -15
  50. package/dist/chunk-JM4YFLO4.js.map +1 -0
  51. package/dist/{chunk-QX6AAVDE.cjs → chunk-L4APW65W.cjs} +15 -6
  52. package/dist/chunk-L4APW65W.cjs.map +1 -0
  53. package/dist/{chunk-OHKO5THF.cjs → chunk-MGFRGPWI.cjs} +3 -2
  54. package/dist/chunk-MGFRGPWI.cjs.map +1 -0
  55. package/dist/{chunk-RM2HPQIC.js → chunk-MQ5WJ3NO.js} +4 -4
  56. package/dist/chunk-MQ5WJ3NO.js.map +1 -0
  57. package/dist/{chunk-VNWJTCBQ.js → chunk-MQOYDQTF.js} +4 -3
  58. package/dist/chunk-MQOYDQTF.js.map +1 -0
  59. package/dist/chunk-MZA2LDS4.js +321 -0
  60. package/dist/chunk-MZA2LDS4.js.map +1 -0
  61. package/dist/{chunk-VYNFJVRZ.js → chunk-N6XBE47W.js} +3 -3
  62. package/dist/{chunk-VYNFJVRZ.js.map → chunk-N6XBE47W.js.map} +1 -1
  63. package/dist/{chunk-T5BBZQ66.js → chunk-OTIKWEFZ.js} +9 -4
  64. package/dist/chunk-OTIKWEFZ.js.map +1 -0
  65. package/dist/{chunk-YZCM7CXK.js → chunk-OZKJYLN6.js} +3 -3
  66. package/dist/{chunk-YZCM7CXK.js.map → chunk-OZKJYLN6.js.map} +1 -1
  67. package/dist/{chunk-ZSGEGISB.cjs → chunk-PHUTJKHL.cjs} +5 -2
  68. package/dist/chunk-PHUTJKHL.cjs.map +1 -0
  69. package/dist/{chunk-FMEA6WAY.cjs → chunk-Q6QLGCL7.cjs} +9 -9
  70. package/dist/{chunk-FMEA6WAY.cjs.map → chunk-Q6QLGCL7.cjs.map} +1 -1
  71. package/dist/{chunk-XOIIUO6O.js → chunk-QDNHN7R2.js} +3 -2
  72. package/dist/chunk-QDNHN7R2.js.map +1 -0
  73. package/dist/{chunk-XRVMYT5G.cjs → chunk-QKW2QCGI.cjs} +5 -5
  74. package/dist/chunk-QKW2QCGI.cjs.map +1 -0
  75. package/dist/{chunk-NAH65KPK.cjs → chunk-TOJ56HKQ.cjs} +2 -2
  76. package/dist/{chunk-NAH65KPK.cjs.map → chunk-TOJ56HKQ.cjs.map} +1 -1
  77. package/dist/chunk-TRZLN32I.cjs +740 -0
  78. package/dist/chunk-TRZLN32I.cjs.map +1 -0
  79. package/dist/{chunk-O6XDA3SI.js → chunk-UY2EZYIC.js} +15 -6
  80. package/dist/chunk-UY2EZYIC.js.map +1 -0
  81. package/dist/{chunk-2BPIVWAK.js → chunk-V5VPECJI.js} +14 -10
  82. package/dist/chunk-V5VPECJI.js.map +1 -0
  83. package/dist/{chunk-O6BJMVGT.cjs → chunk-XZNHS7YQ.cjs} +24 -17
  84. package/dist/chunk-XZNHS7YQ.cjs.map +1 -0
  85. package/dist/components/AudioPlayer/index.cjs +7 -6
  86. package/dist/components/AudioPlayer/index.js +2 -1
  87. package/dist/components/CollabStatus/index.cjs +5 -4
  88. package/dist/components/CollabStatus/index.js +2 -1
  89. package/dist/components/CountryCodeDropdown/index.cjs +4 -4
  90. package/dist/components/CountryCodeDropdown/index.js +1 -1
  91. package/dist/components/DateInput/index.cjs +2 -2
  92. package/dist/components/DateInput/index.js +1 -1
  93. package/dist/components/DictationButton/index.cjs +23 -0
  94. package/dist/components/DictationButton/index.cjs.map +1 -0
  95. package/dist/components/DictationButton/index.d.cts +78 -0
  96. package/dist/components/DictationButton/index.d.ts +78 -0
  97. package/dist/components/DictationButton/index.js +6 -0
  98. package/dist/components/DictationButton/index.js.map +1 -0
  99. package/dist/components/Markdown/index.cjs +10 -10
  100. package/dist/components/Markdown/index.js +2 -2
  101. package/dist/components/MediaEditor/index.cjs +8 -7
  102. package/dist/components/MediaEditor/index.js +3 -2
  103. package/dist/components/PhoneInput/index.cjs +3 -3
  104. package/dist/components/PhoneInput/index.js +1 -1
  105. package/dist/components/RecordButton/index.cjs +4 -4
  106. package/dist/components/RecordButton/index.js +1 -1
  107. package/dist/components/Slider/index.cjs +6 -5
  108. package/dist/components/Slider/index.js +2 -1
  109. package/dist/components/SliderCalculator/index.cjs +5 -4
  110. package/dist/components/SliderCalculator/index.js +3 -2
  111. package/dist/components/SuperChat/index.cjs +14 -14
  112. package/dist/components/SuperChat/index.cjs.map +1 -1
  113. package/dist/components/SuperChat/index.d.cts +10 -6
  114. package/dist/components/SuperChat/index.d.ts +10 -6
  115. package/dist/components/SuperChat/index.js +4 -4
  116. package/dist/components/SuperChat/index.js.map +1 -1
  117. package/dist/components/SuperChat/plugins/index.cjs +3 -3
  118. package/dist/components/SuperChat/plugins/index.d.cts +2 -2
  119. package/dist/components/SuperChat/plugins/index.d.ts +2 -2
  120. package/dist/components/SuperChat/plugins/index.js +2 -2
  121. package/dist/components/Table/index.cjs +9 -9
  122. package/dist/components/Table/index.d.cts +17 -1
  123. package/dist/components/Table/index.d.ts +17 -1
  124. package/dist/components/Table/index.js +1 -1
  125. package/dist/deck.cjs +1 -1
  126. package/dist/deck.cjs.map +1 -1
  127. package/dist/deck.js +1 -1
  128. package/dist/deck.js.map +1 -1
  129. package/dist/esheet.cjs +5 -5
  130. package/dist/esheet.js +2 -2
  131. package/dist/index.cjs +600 -1134
  132. package/dist/index.cjs.map +1 -1
  133. package/dist/index.d.cts +154 -14
  134. package/dist/index.d.ts +154 -14
  135. package/dist/index.js +230 -834
  136. package/dist/index.js.map +1 -1
  137. package/dist/styles/init.css +39 -0
  138. package/dist/styles.css +1 -1
  139. package/dist/tailwind-preset.cjs +4 -4
  140. package/dist/tailwind-preset.js +1 -1
  141. package/dist/{types-Cx1FHLq2.d.ts → types-DSWbrVkM.d.cts} +1 -1
  142. package/dist/{types-Cx1FHLq2.d.cts → types-DSWbrVkM.d.ts} +1 -1
  143. package/dist/whisperTranscribe-AV752TZI.cjs +81 -0
  144. package/dist/whisperTranscribe-AV752TZI.cjs.map +1 -0
  145. package/dist/whisperTranscribe-UBNUWXUQ.js +4 -0
  146. package/dist/whisperTranscribe-UBNUWXUQ.js.map +1 -0
  147. package/package.json +1 -1
  148. package/dist/chunk-2BPIVWAK.js.map +0 -1
  149. package/dist/chunk-7IBZA7G6.js.map +0 -1
  150. package/dist/chunk-AFDW64EF.cjs.map +0 -1
  151. package/dist/chunk-AG5EKCE4.js.map +0 -1
  152. package/dist/chunk-CFI3TQMA.cjs.map +0 -1
  153. package/dist/chunk-IJYTASQQ.cjs.map +0 -1
  154. package/dist/chunk-JTSKPDPH.cjs.map +0 -1
  155. package/dist/chunk-MYAU2ZUC.cjs.map +0 -1
  156. package/dist/chunk-O6BJMVGT.cjs.map +0 -1
  157. package/dist/chunk-O6XDA3SI.js.map +0 -1
  158. package/dist/chunk-OHKO5THF.cjs.map +0 -1
  159. package/dist/chunk-PJ6CC53R.cjs.map +0 -1
  160. package/dist/chunk-QX6AAVDE.cjs.map +0 -1
  161. package/dist/chunk-RM2HPQIC.js.map +0 -1
  162. package/dist/chunk-S2JZL4JC.js.map +0 -1
  163. package/dist/chunk-T5BBZQ66.js.map +0 -1
  164. package/dist/chunk-TJ4GWQPM.js.map +0 -1
  165. package/dist/chunk-TNUL4LGG.js.map +0 -1
  166. package/dist/chunk-U2RS574O.cjs.map +0 -1
  167. package/dist/chunk-VNWJTCBQ.js.map +0 -1
  168. package/dist/chunk-VVDE4CHU.js.map +0 -1
  169. package/dist/chunk-XOIIUO6O.js.map +0 -1
  170. package/dist/chunk-XRVMYT5G.cjs.map +0 -1
  171. package/dist/chunk-ZSGEGISB.cjs.map +0 -1
@@ -0,0 +1,78 @@
1
+ import * as React from 'react';
2
+ import { RecordButtonSize, RecordButtonVariant } from '../RecordButton/index.cjs';
3
+ import 'class-variance-authority/types';
4
+
5
+ type DictationStatus = 'idle' | 'recording' | 'transcribing' | 'error';
6
+ /** Turns recorded audio into text. Reject to report an error; honor `signal` to support cancel. */
7
+ type DictationTranscribe = (audio: Blob, signal: AbortSignal) => Promise<string>;
8
+ interface UseDictationOptions {
9
+ /** Called with the final, trimmed transcript. Not called for empty results or after cancel. */
10
+ onText: (text: string) => void;
11
+ /** Transcription provider. Defaults to on-device Whisper (audio never leaves the browser). */
12
+ transcribe?: DictationTranscribe;
13
+ /** Called with the underlying error (permission denied, provider failure, …). */
14
+ onError?: (error: Error) => void;
15
+ /** Auto-stop after this many seconds. `0` disables the limit. Default 300. */
16
+ maxDurationSeconds?: number;
17
+ /**
18
+ * Reuse a mic stream the host already holds (e.g. a wake-word listener) instead of opening one.
19
+ * Its tracks are never stopped by the hook. Falls back to `getUserMedia` when it returns no live audio.
20
+ */
21
+ getStream?: () => MediaStream | null | undefined;
22
+ }
23
+ interface UseDictationResult {
24
+ status: DictationStatus;
25
+ error: Error | null;
26
+ /** Milliseconds recorded so far in the current session. */
27
+ elapsedMs: number;
28
+ start: () => Promise<void>;
29
+ /** Stop recording and transcribe. */
30
+ stop: () => void;
31
+ /** Discard the recording or in-flight transcription. `onText` will not fire. */
32
+ cancel: () => void;
33
+ }
34
+ /**
35
+ * Headless speech-to-text for a single speaker: record, then transcribe to editable text.
36
+ * Owns the mic lifecycle; every async step is tied to a session id so stale results are dropped.
37
+ */
38
+ declare function useDictation({ onText, transcribe, onError, maxDurationSeconds, getStream, }: UseDictationOptions): UseDictationResult;
39
+
40
+ interface DictationButtonLabels {
41
+ start: string;
42
+ stop: string;
43
+ listening: string;
44
+ transcribing: string;
45
+ error: string;
46
+ micBlocked: string;
47
+ }
48
+ declare const defaultDictationLabels: DictationButtonLabels;
49
+ /** Drive dictation from code, e.g. when a wake word fires. */
50
+ interface DictationButtonHandle {
51
+ /** Does nothing while `disabled` or while a take is already in progress. */
52
+ start: () => void;
53
+ /** Stop recording and transcribe. */
54
+ stop: () => void;
55
+ /** Discard the take; `onText` will not fire. */
56
+ cancel: () => void;
57
+ }
58
+ interface DictationButtonProps extends UseDictationOptions, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick' | 'onError' | 'disabled' | 'className' | 'aria-label' | 'aria-pressed' | 'aria-busy'> {
59
+ disabled?: boolean;
60
+ size?: RecordButtonSize;
61
+ variant?: RecordButtonVariant;
62
+ /** Show `m:ss` while recording. */
63
+ showDuration?: boolean;
64
+ /** Show the listening/transcribing/error caption. It is always announced to screen readers. */
65
+ showStatus?: boolean;
66
+ /** Override any user-facing string (i18n). */
67
+ labels?: Partial<DictationButtonLabels>;
68
+ className?: string;
69
+ /** Start, stop or cancel from code. `ref` stays the `<button>`. */
70
+ handleRef?: React.Ref<DictationButtonHandle>;
71
+ }
72
+ /**
73
+ * Mic button that turns speech into editable text via `onText`. Never sends anything itself.
74
+ * Escape while recording discards the take.
75
+ */
76
+ declare const DictationButton: React.ForwardRefExoticComponent<DictationButtonProps & React.RefAttributes<HTMLButtonElement>>;
77
+
78
+ export { DictationButton, type DictationButtonHandle, type DictationButtonLabels, type DictationButtonProps, type DictationStatus, type DictationTranscribe, type UseDictationOptions, type UseDictationResult, defaultDictationLabels, useDictation };
@@ -0,0 +1,78 @@
1
+ import * as React from 'react';
2
+ import { RecordButtonSize, RecordButtonVariant } from '../RecordButton/index.js';
3
+ import 'class-variance-authority/types';
4
+
5
+ type DictationStatus = 'idle' | 'recording' | 'transcribing' | 'error';
6
+ /** Turns recorded audio into text. Reject to report an error; honor `signal` to support cancel. */
7
+ type DictationTranscribe = (audio: Blob, signal: AbortSignal) => Promise<string>;
8
+ interface UseDictationOptions {
9
+ /** Called with the final, trimmed transcript. Not called for empty results or after cancel. */
10
+ onText: (text: string) => void;
11
+ /** Transcription provider. Defaults to on-device Whisper (audio never leaves the browser). */
12
+ transcribe?: DictationTranscribe;
13
+ /** Called with the underlying error (permission denied, provider failure, …). */
14
+ onError?: (error: Error) => void;
15
+ /** Auto-stop after this many seconds. `0` disables the limit. Default 300. */
16
+ maxDurationSeconds?: number;
17
+ /**
18
+ * Reuse a mic stream the host already holds (e.g. a wake-word listener) instead of opening one.
19
+ * Its tracks are never stopped by the hook. Falls back to `getUserMedia` when it returns no live audio.
20
+ */
21
+ getStream?: () => MediaStream | null | undefined;
22
+ }
23
+ interface UseDictationResult {
24
+ status: DictationStatus;
25
+ error: Error | null;
26
+ /** Milliseconds recorded so far in the current session. */
27
+ elapsedMs: number;
28
+ start: () => Promise<void>;
29
+ /** Stop recording and transcribe. */
30
+ stop: () => void;
31
+ /** Discard the recording or in-flight transcription. `onText` will not fire. */
32
+ cancel: () => void;
33
+ }
34
+ /**
35
+ * Headless speech-to-text for a single speaker: record, then transcribe to editable text.
36
+ * Owns the mic lifecycle; every async step is tied to a session id so stale results are dropped.
37
+ */
38
+ declare function useDictation({ onText, transcribe, onError, maxDurationSeconds, getStream, }: UseDictationOptions): UseDictationResult;
39
+
40
+ interface DictationButtonLabels {
41
+ start: string;
42
+ stop: string;
43
+ listening: string;
44
+ transcribing: string;
45
+ error: string;
46
+ micBlocked: string;
47
+ }
48
+ declare const defaultDictationLabels: DictationButtonLabels;
49
+ /** Drive dictation from code, e.g. when a wake word fires. */
50
+ interface DictationButtonHandle {
51
+ /** Does nothing while `disabled` or while a take is already in progress. */
52
+ start: () => void;
53
+ /** Stop recording and transcribe. */
54
+ stop: () => void;
55
+ /** Discard the take; `onText` will not fire. */
56
+ cancel: () => void;
57
+ }
58
+ interface DictationButtonProps extends UseDictationOptions, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick' | 'onError' | 'disabled' | 'className' | 'aria-label' | 'aria-pressed' | 'aria-busy'> {
59
+ disabled?: boolean;
60
+ size?: RecordButtonSize;
61
+ variant?: RecordButtonVariant;
62
+ /** Show `m:ss` while recording. */
63
+ showDuration?: boolean;
64
+ /** Show the listening/transcribing/error caption. It is always announced to screen readers. */
65
+ showStatus?: boolean;
66
+ /** Override any user-facing string (i18n). */
67
+ labels?: Partial<DictationButtonLabels>;
68
+ className?: string;
69
+ /** Start, stop or cancel from code. `ref` stays the `<button>`. */
70
+ handleRef?: React.Ref<DictationButtonHandle>;
71
+ }
72
+ /**
73
+ * Mic button that turns speech into editable text via `onText`. Never sends anything itself.
74
+ * Escape while recording discards the take.
75
+ */
76
+ declare const DictationButton: React.ForwardRefExoticComponent<DictationButtonProps & React.RefAttributes<HTMLButtonElement>>;
77
+
78
+ export { DictationButton, type DictationButtonHandle, type DictationButtonLabels, type DictationButtonProps, type DictationStatus, type DictationTranscribe, type UseDictationOptions, type UseDictationResult, defaultDictationLabels, useDictation };
@@ -0,0 +1,6 @@
1
+ export { DictationButton, defaultDictationLabels, useDictation } from '../../chunk-MZA2LDS4.js';
2
+ import '../../chunk-MQOYDQTF.js';
3
+ import '../../chunk-TQONQSJO.js';
4
+ import '../../chunk-PX6F3LHL.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNAH65KPK_cjs = require('../../chunk-NAH65KPK.cjs');
3
+ var chunkTOJ56HKQ_cjs = require('../../chunk-TOJ56HKQ.cjs');
4
+ var chunkIGDO62KR_cjs = require('../../chunk-IGDO62KR.cjs');
4
5
  var chunkSW2E7XKY_cjs = require('../../chunk-SW2E7XKY.cjs');
5
6
  var chunkERACGSDY_cjs = require('../../chunk-ERACGSDY.cjs');
6
7
  var chunk32ZCJOSR_cjs = require('../../chunk-32ZCJOSR.cjs');
7
- var chunkIGDO62KR_cjs = require('../../chunk-IGDO62KR.cjs');
8
8
  var chunkRIUQP2QS_cjs = require('../../chunk-RIUQP2QS.cjs');
9
9
  require('../../chunk-EACNRR3C.cjs');
10
10
  require('../../chunk-ANMX7YDL.cjs');
@@ -16,19 +16,23 @@ require('../../chunk-EUAMEVVI.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "CodeBlock", {
18
18
  enumerable: true,
19
- get: function () { return chunkNAH65KPK_cjs.CodeBlock; }
19
+ get: function () { return chunkTOJ56HKQ_cjs.CodeBlock; }
20
20
  });
21
21
  Object.defineProperty(exports, "MarkdownRenderer", {
22
22
  enumerable: true,
23
- get: function () { return chunkNAH65KPK_cjs.MarkdownRenderer; }
23
+ get: function () { return chunkTOJ56HKQ_cjs.MarkdownRenderer; }
24
24
  });
25
25
  Object.defineProperty(exports, "highlightCode", {
26
26
  enumerable: true,
27
- get: function () { return chunkNAH65KPK_cjs.highlightCode; }
27
+ get: function () { return chunkTOJ56HKQ_cjs.highlightCode; }
28
28
  });
29
29
  Object.defineProperty(exports, "useMarkdown", {
30
30
  enumerable: true,
31
- get: function () { return chunkNAH65KPK_cjs.useMarkdown; }
31
+ get: function () { return chunkTOJ56HKQ_cjs.useMarkdown; }
32
+ });
33
+ Object.defineProperty(exports, "SurveyBlock", {
34
+ enumerable: true,
35
+ get: function () { return chunkIGDO62KR_cjs.SurveyBlock; }
32
36
  });
33
37
  Object.defineProperty(exports, "CsvBlock", {
34
38
  enumerable: true,
@@ -42,10 +46,6 @@ Object.defineProperty(exports, "MermaidBlock", {
42
46
  enumerable: true,
43
47
  get: function () { return chunk32ZCJOSR_cjs.MermaidBlock; }
44
48
  });
45
- Object.defineProperty(exports, "SurveyBlock", {
46
- enumerable: true,
47
- get: function () { return chunkIGDO62KR_cjs.SurveyBlock; }
48
- });
49
49
  Object.defineProperty(exports, "FenceBlock", {
50
50
  enumerable: true,
51
51
  get: function () { return chunkRIUQP2QS_cjs.FenceBlock; }
@@ -1,8 +1,8 @@
1
- export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-QJ2L5RU6.js';
1
+ export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-DSQCYX7L.js';
2
+ export { SurveyBlock } from '../../chunk-RSJGTWLM.js';
2
3
  export { CsvBlock } from '../../chunk-P7D7BYFE.js';
3
4
  export { HtmlPreviewBlock } from '../../chunk-FGLIP6YR.js';
4
5
  export { MermaidBlock } from '../../chunk-7QW6TU4X.js';
5
- export { SurveyBlock } from '../../chunk-RSJGTWLM.js';
6
6
  export { FenceBlock } from '../../chunk-HDY7YQFX.js';
7
7
  import '../../chunk-N5JDL4VE.js';
8
8
  import '../../chunk-WFBUBT54.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkO6BJMVGT_cjs = require('../../chunk-O6BJMVGT.cjs');
4
- require('../../chunk-MYAU2ZUC.cjs');
3
+ var chunkXZNHS7YQ_cjs = require('../../chunk-XZNHS7YQ.cjs');
4
+ require('../../chunk-GDKOYVX3.cjs');
5
5
  require('../../chunk-KQ6GLYFZ.cjs');
6
6
  require('../../chunk-7AECNMYV.cjs');
7
7
  require('../../chunk-NPKPCYAT.cjs');
@@ -16,6 +16,7 @@ require('../../chunk-FHY3K6PL.cjs');
16
16
  require('../../chunk-FSGEDDF2.cjs');
17
17
  require('../../chunk-AOHJILLU.cjs');
18
18
  require('../../chunk-SCV7C55E.cjs');
19
+ require('../../chunk-Z3WMDVMR.cjs');
19
20
  require('../../chunk-EACNRR3C.cjs');
20
21
  require('../../chunk-ANMX7YDL.cjs');
21
22
  require('../../chunk-DXEPYK3I.cjs');
@@ -27,23 +28,23 @@ require('../../chunk-EUAMEVVI.cjs');
27
28
 
28
29
  Object.defineProperty(exports, "FillerWordsModal", {
29
30
  enumerable: true,
30
- get: function () { return chunkO6BJMVGT_cjs.FillerWordsModal; }
31
+ get: function () { return chunkXZNHS7YQ_cjs.FillerWordsModal; }
31
32
  });
32
33
  Object.defineProperty(exports, "MediaEditor", {
33
34
  enumerable: true,
34
- get: function () { return chunkO6BJMVGT_cjs.MediaEditor; }
35
+ get: function () { return chunkXZNHS7YQ_cjs.MediaEditor; }
35
36
  });
36
37
  Object.defineProperty(exports, "SilenceSettingsModal", {
37
38
  enumerable: true,
38
- get: function () { return chunkO6BJMVGT_cjs.SilenceSettingsModal; }
39
+ get: function () { return chunkXZNHS7YQ_cjs.SilenceSettingsModal; }
39
40
  });
40
41
  Object.defineProperty(exports, "SpeedMarkerMenu", {
41
42
  enumerable: true,
42
- get: function () { return chunkO6BJMVGT_cjs.SpeedMarkerMenu; }
43
+ get: function () { return chunkXZNHS7YQ_cjs.SpeedMarkerMenu; }
43
44
  });
44
45
  Object.defineProperty(exports, "WordEditorModal", {
45
46
  enumerable: true,
46
- get: function () { return chunkO6BJMVGT_cjs.WordEditorModal; }
47
+ get: function () { return chunkXZNHS7YQ_cjs.WordEditorModal; }
47
48
  });
48
49
  //# sourceMappingURL=index.cjs.map
49
50
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-S2JZL4JC.js';
2
- import '../../chunk-2BPIVWAK.js';
1
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-JM4YFLO4.js';
2
+ import '../../chunk-V5VPECJI.js';
3
3
  import '../../chunk-N54FYWG6.js';
4
4
  import '../../chunk-753Z3NXL.js';
5
5
  import '../../chunk-UUI7WXI5.js';
@@ -14,6 +14,7 @@ import '../../chunk-T4ME7QCT.js';
14
14
  import '../../chunk-62ZOA6PX.js';
15
15
  import '../../chunk-WSNMQQ4P.js';
16
16
  import '../../chunk-VSQF22GL.js';
17
+ import '../../chunk-YVKBXNPK.js';
17
18
  import '../../chunk-N5JDL4VE.js';
18
19
  import '../../chunk-WFBUBT54.js';
19
20
  import '../../chunk-GVM6DTR5.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHKO5THF_cjs = require('../../chunk-OHKO5THF.cjs');
3
+ var chunkMGFRGPWI_cjs = require('../../chunk-MGFRGPWI.cjs');
4
4
  require('../../chunk-L7YQBSEL.cjs');
5
5
  require('../../chunk-I44YNYI6.cjs');
6
6
  require('../../chunk-Z5S5JEJD.cjs');
@@ -11,11 +11,11 @@ require('../../chunk-EUAMEVVI.cjs');
11
11
 
12
12
  Object.defineProperty(exports, "PhoneInput", {
13
13
  enumerable: true,
14
- get: function () { return chunkOHKO5THF_cjs.PhoneInput; }
14
+ get: function () { return chunkMGFRGPWI_cjs.PhoneInput; }
15
15
  });
16
16
  Object.defineProperty(exports, "PhoneInputGroup", {
17
17
  enumerable: true,
18
- get: function () { return chunkOHKO5THF_cjs.PhoneInputGroup; }
18
+ get: function () { return chunkMGFRGPWI_cjs.PhoneInputGroup; }
19
19
  });
20
20
  //# sourceMappingURL=index.cjs.map
21
21
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { PhoneInput, PhoneInputGroup } from '../../chunk-XOIIUO6O.js';
1
+ export { PhoneInput, PhoneInputGroup } from '../../chunk-QDNHN7R2.js';
2
2
  import '../../chunk-ZVPJ2MH6.js';
3
3
  import '../../chunk-6NZXWKUE.js';
4
4
  import '../../chunk-3IMM2PM4.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJTSKPDPH_cjs = require('../../chunk-JTSKPDPH.cjs');
3
+ var chunkHIYQ3M5V_cjs = require('../../chunk-HIYQ3M5V.cjs');
4
4
  require('../../chunk-S5RVSXDV.cjs');
5
5
  require('../../chunk-EUAMEVVI.cjs');
6
6
 
@@ -8,15 +8,15 @@ require('../../chunk-EUAMEVVI.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "RecordButton", {
10
10
  enumerable: true,
11
- get: function () { return chunkJTSKPDPH_cjs.RecordButton; }
11
+ get: function () { return chunkHIYQ3M5V_cjs.RecordButton; }
12
12
  });
13
13
  Object.defineProperty(exports, "formatDuration", {
14
14
  enumerable: true,
15
- get: function () { return chunkJTSKPDPH_cjs.formatDuration; }
15
+ get: function () { return chunkHIYQ3M5V_cjs.formatDuration; }
16
16
  });
17
17
  Object.defineProperty(exports, "recordButtonVariants", {
18
18
  enumerable: true,
19
- get: function () { return chunkJTSKPDPH_cjs.recordButtonVariants; }
19
+ get: function () { return chunkHIYQ3M5V_cjs.recordButtonVariants; }
20
20
  });
21
21
  //# sourceMappingURL=index.cjs.map
22
22
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-VNWJTCBQ.js';
1
+ export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-MQOYDQTF.js';
2
2
  import '../../chunk-TQONQSJO.js';
3
3
  import '../../chunk-PX6F3LHL.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkMYAU2ZUC_cjs = require('../../chunk-MYAU2ZUC.cjs');
3
+ var chunkGDKOYVX3_cjs = require('../../chunk-GDKOYVX3.cjs');
4
+ require('../../chunk-Z3WMDVMR.cjs');
4
5
  require('../../chunk-S5RVSXDV.cjs');
5
6
  require('../../chunk-EUAMEVVI.cjs');
6
7
 
@@ -8,19 +9,19 @@ require('../../chunk-EUAMEVVI.cjs');
8
9
 
9
10
  Object.defineProperty(exports, "Slider", {
10
11
  enumerable: true,
11
- get: function () { return chunkMYAU2ZUC_cjs.Slider; }
12
+ get: function () { return chunkGDKOYVX3_cjs.Slider; }
12
13
  });
13
14
  Object.defineProperty(exports, "sliderRangeVariants", {
14
15
  enumerable: true,
15
- get: function () { return chunkMYAU2ZUC_cjs.sliderRangeVariants; }
16
+ get: function () { return chunkGDKOYVX3_cjs.sliderRangeVariants; }
16
17
  });
17
18
  Object.defineProperty(exports, "sliderThumbVariants", {
18
19
  enumerable: true,
19
- get: function () { return chunkMYAU2ZUC_cjs.sliderThumbVariants; }
20
+ get: function () { return chunkGDKOYVX3_cjs.sliderThumbVariants; }
20
21
  });
21
22
  Object.defineProperty(exports, "sliderTrackVariants", {
22
23
  enumerable: true,
23
- get: function () { return chunkMYAU2ZUC_cjs.sliderTrackVariants; }
24
+ get: function () { return chunkGDKOYVX3_cjs.sliderTrackVariants; }
24
25
  });
25
26
  //# sourceMappingURL=index.cjs.map
26
27
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,5 @@
1
- export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from '../../chunk-2BPIVWAK.js';
1
+ export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from '../../chunk-V5VPECJI.js';
2
+ import '../../chunk-YVKBXNPK.js';
2
3
  import '../../chunk-TQONQSJO.js';
3
4
  import '../../chunk-PX6F3LHL.js';
4
5
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunk7UTBDFFL_cjs = require('../../chunk-7UTBDFFL.cjs');
4
- require('../../chunk-MYAU2ZUC.cjs');
3
+ var chunk2S76TRBJ_cjs = require('../../chunk-2S76TRBJ.cjs');
4
+ require('../../chunk-GDKOYVX3.cjs');
5
5
  require('../../chunk-YW2AKBLS.cjs');
6
+ require('../../chunk-Z3WMDVMR.cjs');
6
7
  require('../../chunk-S5RVSXDV.cjs');
7
8
  require('../../chunk-EUAMEVVI.cjs');
8
9
 
@@ -10,11 +11,11 @@ require('../../chunk-EUAMEVVI.cjs');
10
11
 
11
12
  Object.defineProperty(exports, "AnimatedNumber", {
12
13
  enumerable: true,
13
- get: function () { return chunk7UTBDFFL_cjs.AnimatedNumber; }
14
+ get: function () { return chunk2S76TRBJ_cjs.AnimatedNumber; }
14
15
  });
15
16
  Object.defineProperty(exports, "SliderCalculator", {
16
17
  enumerable: true,
17
- get: function () { return chunk7UTBDFFL_cjs.SliderCalculator; }
18
+ get: function () { return chunk2S76TRBJ_cjs.SliderCalculator; }
18
19
  });
19
20
  //# sourceMappingURL=index.cjs.map
20
21
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,7 @@
1
- export { AnimatedNumber, SliderCalculator } from '../../chunk-NUB5HRKS.js';
2
- import '../../chunk-2BPIVWAK.js';
1
+ export { AnimatedNumber, SliderCalculator } from '../../chunk-DT3X3RBM.js';
2
+ import '../../chunk-V5VPECJI.js';
3
3
  import '../../chunk-XDU65GLW.js';
4
+ import '../../chunk-YVKBXNPK.js';
4
5
  import '../../chunk-TQONQSJO.js';
5
6
  import '../../chunk-PX6F3LHL.js';
6
7
  //# sourceMappingURL=index.js.map
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
4
- var chunkXRVMYT5G_cjs = require('../../chunk-XRVMYT5G.cjs');
5
- var chunkU2RS574O_cjs = require('../../chunk-U2RS574O.cjs');
4
+ var chunkQKW2QCGI_cjs = require('../../chunk-QKW2QCGI.cjs');
5
+ var chunk2GBVJHWN_cjs = require('../../chunk-2GBVJHWN.cjs');
6
6
  var chunkAJPFQF3H_cjs = require('../../chunk-AJPFQF3H.cjs');
7
7
  require('../../chunk-GLXTVCHN.cjs');
8
8
  var chunkKQ6GLYFZ_cjs = require('../../chunk-KQ6GLYFZ.cjs');
9
9
  require('../../chunk-ZNUMOJOI.cjs');
10
10
  var chunkPINIBEIU_cjs = require('../../chunk-PINIBEIU.cjs');
11
- require('../../chunk-PJ6CC53R.cjs');
11
+ require('../../chunk-AKMTPCLC.cjs');
12
12
  require('../../chunk-VBWRH4UW.cjs');
13
13
  var chunkVPTASZ2O_cjs = require('../../chunk-VPTASZ2O.cjs');
14
14
  require('../../chunk-254QK722.cjs');
@@ -119,7 +119,7 @@ function MessageMedia({
119
119
  }
120
120
  ) : null,
121
121
  attachment.caption && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: attachment.caption }),
122
- onOpen && /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.ButtonGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(
122
+ onOpen && /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.ButtonGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(
123
123
  chunkANMX7YDL_cjs.Button,
124
124
  {
125
125
  "data-media-launch-id": launchId,
@@ -226,7 +226,7 @@ function ParticipantAvatar({
226
226
  src: participant?.avatar,
227
227
  alt: "",
228
228
  name: participant?.name ?? "?",
229
- fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.SparklesIcon, { size: "sm" }) : void 0,
229
+ fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.SparklesIcon, { size: "sm" }) : void 0,
230
230
  style: { backgroundColor },
231
231
  "aria-hidden": "true",
232
232
  className: "shrink-0"
@@ -762,7 +762,7 @@ ${block.text}
762
762
  isSelf ? "flex-row-reverse" : "flex-row"
763
763
  ),
764
764
  children: /* @__PURE__ */ jsxRuntime.jsx(
765
- chunkXRVMYT5G_cjs.ChatBubble,
765
+ chunkQKW2QCGI_cjs.ChatBubble,
766
766
  {
767
767
  ref: bubbleRef,
768
768
  "data-slot": "superchat-bubble",
@@ -826,7 +826,7 @@ ${block.text}
826
826
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
827
827
  message.content?.map((block, i) => {
828
828
  if (block.type === "tool_use" && block.toolCall) {
829
- return /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.MCPToolCallDisplay, { toolCall: block.toolCall }, i);
829
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.MCPToolCallDisplay, { toolCall: block.toolCall }, i);
830
830
  }
831
831
  if ((block.type === "text" || block.type === "thinking") && block.text) {
832
832
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -879,7 +879,7 @@ ${block.text}
879
879
  },
880
880
  attachment.id
881
881
  )),
882
- streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.AITypingIndicator, {}) })
882
+ streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.AITypingIndicator, {}) })
883
883
  ] })
884
884
  }
885
885
  )
@@ -1236,7 +1236,7 @@ function VirtualThread({
1236
1236
  style: {
1237
1237
  position: "absolute",
1238
1238
  top: 0,
1239
- left: 0,
1239
+ insetInlineStart: 0,
1240
1240
  width: "100%",
1241
1241
  transform: `translateY(${virtualRow.start}px)`
1242
1242
  },
@@ -1411,7 +1411,7 @@ function SuperChat({
1411
1411
  mediaItems.length
1412
1412
  ]);
1413
1413
  React3__namespace.useEffect(() => {
1414
- chunkU2RS574O_cjs.notifyComposerMigrationOnce("SuperChat");
1414
+ chunk2GBVJHWN_cjs.notifyComposerMigrationOnce("SuperChat");
1415
1415
  }, []);
1416
1416
  const renderText = React3__namespace.useMemo(
1417
1417
  () => renderTextContent ?? createMarkdownRenderer({
@@ -1762,7 +1762,7 @@ function SuperChat({
1762
1762
  onClick: () => onConversationClosed(conversation),
1763
1763
  "aria-label": "Close conversation",
1764
1764
  className: "rounded-md p-1 text-neutral-400 hover:bg-neutral-100 dark:hover:bg-neutral-800",
1765
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.CloseIcon, {})
1765
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.CloseIcon, {})
1766
1766
  }
1767
1767
  )
1768
1768
  ]
@@ -1777,7 +1777,7 @@ function SuperChat({
1777
1777
  "data-slot": "superchat-media-view",
1778
1778
  className: "flex min-h-0 flex-1 flex-col",
1779
1779
  children: [
1780
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.ButtonGroup, { className: "justify-start", children: /* @__PURE__ */ jsxRuntime.jsx(
1780
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQKW2QCGI_cjs.ButtonGroup, { className: "justify-start", children: /* @__PURE__ */ jsxRuntime.jsx(
1781
1781
  chunkANMX7YDL_cjs.Button,
1782
1782
  {
1783
1783
  ref: backToConversationRef,
@@ -1883,7 +1883,7 @@ function SuperChat({
1883
1883
  mode: "presence",
1884
1884
  className: "absolute inset-x-0 bottom-0 z-20",
1885
1885
  children: /* @__PURE__ */ jsxRuntime.jsx(
1886
- chunkXRVMYT5G_cjs.JumpToBottomButton,
1886
+ chunkQKW2QCGI_cjs.JumpToBottomButton,
1887
1887
  {
1888
1888
  dataSlot: "superchat-jump-to-bottom",
1889
1889
  hasNewMessages: hasNewBelow,
@@ -1897,7 +1897,7 @@ function SuperChat({
1897
1897
  }
1898
1898
  ),
1899
1899
  /* @__PURE__ */ jsxRuntime.jsx(
1900
- chunkU2RS574O_cjs.ChatComposer,
1900
+ chunk2GBVJHWN_cjs.ChatComposer,
1901
1901
  {
1902
1902
  value: draft,
1903
1903
  onValueChange: handleDraftChange,