@bysages/svelte 0.2.3 → 0.3.1

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 (173) hide show
  1. package/README.md +16 -2
  2. package/dist/{ai-BOUoSSjw.mjs → AiLoader-BEiPYOfW.mjs} +13 -40
  3. package/dist/{FileUploadRoot-IVcTAZp-.mjs → FileUploadTrigger-BgAcpLXx.mjs} +39 -3
  4. package/dist/Input-CZhcEeFU.mjs +75 -0
  5. package/dist/JsonTreeViewTree-CqRP_PwV.mjs +71 -0
  6. package/dist/{spinner-EpUWE3Hu.mjs → Spinner-DGAzGJ_8.mjs} +7 -9
  7. package/dist/{StepsRoot-Dg_3-lRb.mjs → StepsRoot-C_FYfShw.mjs} +27 -1
  8. package/dist/{TabsRoot-BMMO3B77.mjs → TabsRoot-DXd41HqW.mjs} +5 -1
  9. package/dist/TocIndicator-DPnZxTJ2.mjs +30 -0
  10. package/dist/TreeViewRoot-RBynRAly.mjs +108 -0
  11. package/dist/{ai-attachments-Y0Tf6UFL.mjs → ai-attachments-C0YVIKUc.mjs} +6 -2
  12. package/dist/{ai-prompt-input-BmyKyadu.mjs → ai-prompt-input-vh89e9EX.mjs} +67 -50
  13. package/dist/{ai-response-D5IkRFMN.mjs → ai-response-BPQPjMlC.mjs} +7 -3
  14. package/dist/{autocomplete-D7ZZ7Xpb.mjs → autocomplete-Dhuhqp-6.mjs} +10 -7
  15. package/dist/{avatar-BHYqgq4d.mjs → avatar-LR0CZ1Iz.mjs} +5 -1
  16. package/dist/{banner-LEPWtGlY.mjs → banner-Bj3FFB-O.mjs} +7 -4
  17. package/dist/bento-BTvt7gsB.mjs +73 -0
  18. package/dist/block-ui-CxsMoEoa.mjs +50 -0
  19. package/dist/{breadcrumb-C01pAq93.mjs → breadcrumb-CtBjVdxv.mjs} +6 -3
  20. package/dist/browser-gmPTH6mJ.mjs +146 -0
  21. package/dist/{calendar-0tSnHuLj.mjs → calendar-BMXmRdwJ.mjs} +1 -1
  22. package/dist/{cascade-select-C-eBcN_4.mjs → cascade-select-CfvWchiN.mjs} +32 -18
  23. package/dist/{command-fZuTfbz4.mjs → command-CZRC1T-6.mjs} +14 -8
  24. package/dist/components/ai/index.d.mts +3 -2
  25. package/dist/components/ai/index.mjs +27 -2
  26. package/dist/components/ai-action/index.d.mts +1 -1
  27. package/dist/components/ai-action/index.mjs +1 -1
  28. package/dist/components/ai-attachments/index.mjs +1 -1
  29. package/dist/components/ai-message/index.d.mts +1 -1
  30. package/dist/components/ai-message/index.mjs +1 -1
  31. package/dist/components/ai-prompt-input/index.d.mts +1 -1
  32. package/dist/components/ai-prompt-input/index.mjs +2 -2
  33. package/dist/components/ai-reasoning/index.d.mts +1 -1
  34. package/dist/components/ai-reasoning/index.mjs +1 -1
  35. package/dist/components/ai-response/index.d.mts +1 -1
  36. package/dist/components/ai-response/index.mjs +2 -2
  37. package/dist/components/ai-source/index.d.mts +1 -1
  38. package/dist/components/ai-source/index.mjs +1 -1
  39. package/dist/components/ai-suggestion/index.d.mts +1 -1
  40. package/dist/components/ai-suggestion/index.mjs +1 -1
  41. package/dist/components/ai-tool/index.d.mts +1 -1
  42. package/dist/components/ai-tool/index.mjs +1 -1
  43. package/dist/components/autocomplete/index.mjs +1 -1
  44. package/dist/components/avatar/index.d.mts +1 -1
  45. package/dist/components/avatar/index.mjs +1 -1
  46. package/dist/components/banner/index.mjs +1 -1
  47. package/dist/components/bento/index.d.mts +2 -0
  48. package/dist/components/bento/index.mjs +2 -0
  49. package/dist/components/block-ui/index.d.mts +2 -0
  50. package/dist/components/block-ui/index.mjs +2 -0
  51. package/dist/components/breadcrumb/index.mjs +1 -1
  52. package/dist/components/browser/index.d.mts +9 -0
  53. package/dist/components/browser/index.mjs +2 -0
  54. package/dist/components/calendar/index.mjs +1 -1
  55. package/dist/components/cascade-select/index.mjs +1 -1
  56. package/dist/components/command/index.mjs +1 -1
  57. package/dist/components/config-provider/index.d.mts +1 -1
  58. package/dist/components/config-provider/index.mjs +2 -1
  59. package/dist/components/data-view/index.d.mts +2 -0
  60. package/dist/components/data-view/index.mjs +2 -0
  61. package/dist/components/deferred-content/index.d.mts +2 -0
  62. package/dist/components/deferred-content/index.mjs +2 -0
  63. package/dist/components/descriptions/index.d.mts +1 -1
  64. package/dist/components/descriptions/index.mjs +1 -1
  65. package/dist/components/dock/index.d.mts +2 -0
  66. package/dist/components/dock/index.mjs +2 -0
  67. package/dist/components/dynamic-input/index.mjs +1 -1
  68. package/dist/components/file-upload/index.d.mts +3 -2
  69. package/dist/components/file-upload/index.mjs +3 -2
  70. package/dist/components/float-button/index.mjs +1 -1
  71. package/dist/components/form/index.d.mts +2 -2
  72. package/dist/components/form/index.mjs +2 -2
  73. package/dist/components/icon/index.d.mts +1 -1
  74. package/dist/components/icon/index.mjs +1 -1
  75. package/dist/components/image/index.d.mts +1 -1
  76. package/dist/components/image/index.mjs +1 -1
  77. package/dist/components/image-viewer/index.d.mts +1 -1
  78. package/dist/components/image-viewer/index.mjs +1 -1
  79. package/dist/components/input/index.d.mts +1 -1
  80. package/dist/components/input/index.mjs +1 -1
  81. package/dist/components/json-tree-view/index.d.mts +4 -4
  82. package/dist/components/json-tree-view/index.mjs +5 -1
  83. package/dist/components/layout/index.mjs +1 -1
  84. package/dist/components/list/index.mjs +1 -1
  85. package/dist/components/menubar/index.mjs +1 -1
  86. package/dist/components/order-list/index.d.mts +2 -0
  87. package/dist/components/order-list/index.mjs +2 -0
  88. package/dist/components/result/index.d.mts +12 -0
  89. package/dist/components/result/index.mjs +2 -0
  90. package/dist/components/select/index.d.mts +2 -7
  91. package/dist/components/select/index.mjs +2 -14
  92. package/dist/components/spinner/index.mjs +6 -1
  93. package/dist/components/split-button/index.mjs +1 -1
  94. package/dist/components/spotlight/index.d.mts +2 -0
  95. package/dist/components/spotlight/index.mjs +2 -0
  96. package/dist/components/steps/index.d.mts +3 -2
  97. package/dist/components/steps/index.mjs +3 -2
  98. package/dist/components/table/index.mjs +1 -1
  99. package/dist/components/tabs/index.d.mts +1 -1
  100. package/dist/components/tabs/index.mjs +1 -1
  101. package/dist/components/terminal/index.d.mts +2 -0
  102. package/dist/components/terminal/index.mjs +2 -0
  103. package/dist/components/timeline/index.d.mts +1 -1
  104. package/dist/components/timeline/index.mjs +1 -1
  105. package/dist/components/toc/index.d.mts +4 -1
  106. package/dist/components/toc/index.mjs +5 -1
  107. package/dist/components/toolbar/index.d.mts +2 -0
  108. package/dist/components/toolbar/index.mjs +2 -0
  109. package/dist/components/transfer/index.mjs +1 -1
  110. package/dist/components/tree-select/index.mjs +1 -1
  111. package/dist/components/tree-view/index.d.mts +1 -1
  112. package/dist/components/tree-view/index.mjs +4 -2
  113. package/dist/components/user/index.d.mts +2 -0
  114. package/dist/components/user/index.mjs +2 -0
  115. package/dist/components/virtual-list/index.d.mts +2 -0
  116. package/dist/components/virtual-list/index.mjs +2 -0
  117. package/dist/{config-provider-DW5wVzFr.mjs → config-provider-CZJyd3MX.mjs} +6 -14
  118. package/dist/context-Da-QMQRq.mjs +14 -0
  119. package/dist/data-view-BORK23XZ.mjs +179 -0
  120. package/dist/deferred-content-CO9YsKMQ.mjs +65 -0
  121. package/dist/{descriptions-Cv3x5qLW.mjs → descriptions-DgkA_9B-.mjs} +14 -8
  122. package/dist/dock-CKGRnXWu.mjs +84 -0
  123. package/dist/{dynamic-input-B3IBAoLs.mjs → dynamic-input-D1a-5vy-.mjs} +6 -1
  124. package/dist/{float-button-CZAda2SI.mjs → float-button-BLIHnw2u.mjs} +3 -1
  125. package/dist/{form-De-ZwM1P.mjs → form-BTL9S1gn.mjs} +4 -4
  126. package/dist/{icon-B6_cYYzO.mjs → icon-D7AeDq0M.mjs} +7 -6
  127. package/dist/{image-1Lgj8xhS.mjs → image-u_H4LtAC.mjs} +4 -0
  128. package/dist/{image-viewer-Dv3_Iyu8.mjs → image-viewer-DzoEcVSn.mjs} +20 -4
  129. package/dist/index-0k-VxNRm.d.mts +15 -0
  130. package/dist/{index-NJ21Q4f4.d.mts → index-BEfqqxjl.d.mts} +11 -1
  131. package/dist/{index-D6PrX-hf.d.mts → index-BJvo4qep.d.mts} +4 -2
  132. package/dist/{index-DTAcdUAd.d.mts → index-BkGvErBJ.d.mts} +5 -1
  133. package/dist/index-BmFfkztS.d.mts +14 -0
  134. package/dist/{index-BgLAlGbg.d.mts → index-BoR_54C_.d.mts} +3 -0
  135. package/dist/index-BolxaoaW.d.mts +18 -0
  136. package/dist/index-CAb_-2Bn.d.mts +21 -0
  137. package/dist/{index-Cd5VU1DI.d.mts → index-CV1LSzq5.d.mts} +3 -0
  138. package/dist/index-CmskeLd_.d.mts +23 -0
  139. package/dist/index-CnrohEXe.d.mts +24 -0
  140. package/dist/{index-BjVEomHj.d.mts → index-CtbGSRNw.d.mts} +719 -3781
  141. package/dist/{index-Nt0a2iYy.d.mts → index-D1U7Svy2.d.mts} +2 -2
  142. package/dist/{index-DAesWvpj.d.mts → index-D1tQgtT0.d.mts} +4 -0
  143. package/dist/index-D6eYSdmD.d.mts +28 -0
  144. package/dist/index-D9UBDdoA.d.mts +17 -0
  145. package/dist/index-DBbjFiDd.d.mts +20 -0
  146. package/dist/{index-CiHanb4T.d.mts → index-DG4OAuIf.d.mts} +4 -0
  147. package/dist/index-DGOBhwXN.d.mts +18 -0
  148. package/dist/{index-DrXCIscJ.d.mts → index-DjaHpB21.d.mts} +3 -0
  149. package/dist/index-KoqiUxmN.d.mts +20 -0
  150. package/dist/{index-BnvnT-GQ.d.mts → index-_kQsvJKo.d.mts} +6 -2
  151. package/dist/index-mshFOd-j.d.mts +20 -0
  152. package/dist/index.d.mts +28 -14
  153. package/dist/index.mjs +45 -30
  154. package/dist/{layout-WRo4P9-_.mjs → layout-GfxGYYhg.mjs} +7 -4
  155. package/dist/{list-B23lA_sc.mjs → list-BgEM9H3z.mjs} +2 -1
  156. package/dist/{menubar-Crrkg2tZ.mjs → menubar-2MPo9w5z.mjs} +1 -0
  157. package/dist/messages-DNzA55pH.mjs +17 -0
  158. package/dist/order-list-D3EhH7EX.mjs +129 -0
  159. package/dist/result-4Oee2ndu.mjs +159 -0
  160. package/dist/select-8ume4i2e.mjs +99 -0
  161. package/dist/{split-button-CGjPB9DQ.mjs → split-button-DnmVc_J0.mjs} +5 -3
  162. package/dist/spotlight-DMC5E1eS.mjs +51 -0
  163. package/dist/{table-C0AcH5Dw.mjs → table-BsdqRuvj.mjs} +63 -44
  164. package/dist/terminal-Dgw5JEz4.mjs +80 -0
  165. package/dist/{timeline-BV4eahUx.mjs → timeline-1yPOTbtY.mjs} +4 -2
  166. package/dist/toolbar-SNwuRrJr.mjs +68 -0
  167. package/dist/{transfer-0IAuhFCe.mjs → transfer-C0FLA8W1.mjs} +16 -5
  168. package/dist/{tree-select-aHymj8Zu.mjs → tree-select-CSYSYZDN.mjs} +72 -71
  169. package/dist/user-BjJSjDYV.mjs +100 -0
  170. package/dist/virtual-list-_10ypBUP.mjs +60 -0
  171. package/package.json +28 -7
  172. package/dist/Input-Biz4J1B6.mjs +0 -39
  173. package/dist/TreeViewRoot-ConQj9TX.mjs +0 -37
@@ -1,4 +1,5 @@
1
- import { t as Input } from "./Input-Biz4J1B6.mjs";
1
+ import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
2
+ import { t as Input } from "./Input-CZhcEeFU.mjs";
2
3
  import { injectComponentStyle } from "@bysages/core";
3
4
  import "svelte/internal/disclose-version";
4
5
  import * as $ from "svelte/internal/client";
@@ -21,13 +22,13 @@ var rest_excludes = /* @__PURE__ */ new Set([
21
22
  "multiple",
22
23
  "disabled"
23
24
  ]);
24
- var root = $.from_html(`<span data-part="branch-indicator" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></span>`);
25
+ var root = $.from_html(`<span data-scope="cascade-select" data-part="branch-indicator" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></span>`);
25
26
  var root_1 = $.from_html(`<li><span> </span> <!> <span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12.5 5 5L19 7"></path></svg></span></li>`);
26
27
  var root_2 = $.from_html(`<ul></ul> <!>`, 1);
27
- var root_3 = $.from_html(`<div data-part="search"><!></div>`);
28
- var root_4 = $.from_html(`<p data-part="empty">Nothing matches</p>`);
29
- var root_5 = $.from_html(`<button type="button" data-part="match"> </button>`);
30
- var root_6 = $.from_html(`<div><div><!> <div data-part="corridor"><!></div></div></div>`);
28
+ var root_3 = $.from_html(`<div data-scope="cascade-select" data-part="search"><!></div>`);
29
+ var root_4 = $.from_html(`<p data-scope="cascade-select" data-part="empty">Nothing matches</p>`);
30
+ var root_5 = $.from_html(`<button type="button" data-scope="cascade-select" data-part="match"> </button>`);
31
+ var root_6 = $.from_html(`<div><div><!> <div data-scope="cascade-select" data-part="corridor"><!></div></div></div>`);
31
32
  var root_7 = $.from_html(`<div><div><button><span> </span> <span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></span></button></div> <!></div>`);
32
33
  function CascadeSelect$1($$anchor, $$props) {
33
34
  const id = $.props_id();
@@ -90,6 +91,7 @@ function CascadeSelect$1($$anchor, $$props) {
90
91
  };
91
92
  injectComponentStyle("cascade-select");
92
93
  let value = $.prop($$props, "value", 15), placeholder = $.prop($$props, "placeholder", 3, "Select…"), filterable = $.prop($$props, "filterable", 3, false), size = $.prop($$props, "size", 3, "md"), multiple = $.prop($$props, "multiple", 3, false), disabled = $.prop($$props, "disabled", 3, false), rest = $.rest_props($$props, rest_excludes);
94
+ const messages = useComponentMessages();
93
95
  const locale = useLocaleContext();
94
96
  const env = useEnvironmentContext();
95
97
  const collection = $.derived(() => cascade.collection({
@@ -185,11 +187,15 @@ function CascadeSelect$1($$anchor, $$props) {
185
187
  };
186
188
  $.attribute_effect(button, ($0) => ({
187
189
  ...$0,
190
+ "aria-labelledby": id + ":value-text",
188
191
  onclick: event_handler,
189
192
  disabled: disabled() || void 0
190
193
  }), [() => $.get(api).getTriggerProps()]);
191
194
  var span_3 = $.child(button);
192
- $.attribute_effect(span_3, ($0) => ({ ...$0 }), [() => $.get(api).getValueTextProps()]);
195
+ $.attribute_effect(span_3, ($0) => ({
196
+ ...$0,
197
+ id: id + ":value-text"
198
+ }), [() => $.get(api).getValueTextProps()]);
193
199
  var text_1 = $.only_child(span_3, true);
194
200
  var span_4 = $.sibling(span_3, 2);
195
201
  $.attribute_effect(span_4, ($0) => ({ ...$0 }), [() => $.get(api).getIndicatorProps()]);
@@ -209,17 +215,25 @@ function CascadeSelect$1($$anchor, $$props) {
209
215
  var consequent_2 = ($$anchor) => {
210
216
  var div_4 = root_3();
211
217
  var node_5 = $.child(div_4);
212
- Input(node_5, {
213
- size: "sm",
214
- placeholder: "Filter…",
215
- "aria-label": "Filter options",
216
- get value() {
217
- return $.get(query);
218
- },
219
- set value($$value) {
220
- $.set(query, $$value, true);
221
- }
222
- });
218
+ {
219
+ let $0 = $.derived(() => messages().select.filter);
220
+ let $1 = $.derived(() => messages().select.filter);
221
+ Input(node_5, {
222
+ size: "sm",
223
+ get placeholder() {
224
+ return $.get($0);
225
+ },
226
+ get "aria-label"() {
227
+ return $.get($1);
228
+ },
229
+ get value() {
230
+ return $.get(query);
231
+ },
232
+ set value($$value) {
233
+ $.set(query, $$value, true);
234
+ }
235
+ });
236
+ }
223
237
  $.reset(div_4);
224
238
  $.append($$anchor, div_4);
225
239
  };
@@ -1,3 +1,4 @@
1
+ import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import "svelte/internal/disclose-version";
3
4
  import * as $ from "svelte/internal/client";
@@ -74,7 +75,10 @@ var root_7 = $.from_html(`<div><!></div>`);
74
75
  function Command$1($$anchor, $$props) {
75
76
  $.push($$props, true);
76
77
  injectComponentStyle("command");
77
- let items = $.prop($$props, "items", 19, () => []), open = $.prop($$props, "open", 15, false), autoFilter = $.prop($$props, "autoFilter", 3, true), emptyText = $.prop($$props, "emptyText", 3, "No matching commands");
78
+ let items = $.prop($$props, "items", 19, () => []), open = $.prop($$props, "open", 15, false), autoFilter = $.prop($$props, "autoFilter", 3, true);
79
+ const messages = useComponentMessages();
80
+ const placeholderText = $.derived(() => $$props.placeholder ?? messages().command.search);
81
+ const emptyMessage = $.derived(() => $$props.emptyText ?? messages().command.noMatches);
78
82
  let listOpen = $.state(true);
79
83
  let fieldText = $.state("");
80
84
  const { collection, set, filter } = useListCollection({
@@ -151,11 +155,12 @@ function Command$1($$anchor, $$props) {
151
155
  {
152
156
  const asChild = ($$anchor, contentProps = $.noop) => {
153
157
  var div_2 = root_7();
154
- $.attribute_effect(div_2, ($0) => ({
158
+ $.attribute_effect(div_2, ($0, $1) => ({
155
159
  ...$0,
156
160
  "data-scope": "command",
157
- "data-part": "content"
158
- }), [() => contentProps()()]);
161
+ "data-part": "content",
162
+ "aria-label": $1
163
+ }), [() => contentProps()(), () => messages().command.palette]);
159
164
  var node_7 = $.child(div_2);
160
165
  $.component(node_7, () => Combobox.Root, ($$anchor, ArkCombobox_Root) => {
161
166
  ArkCombobox_Root($$anchor, {
@@ -179,13 +184,14 @@ function Command$1($$anchor, $$props) {
179
184
  {
180
185
  const asChild = ($$anchor, inputProps = $.noop) => {
181
186
  var input_1 = root_3();
182
- $.attribute_effect(input_1, ($0) => ({
187
+ $.attribute_effect(input_1, ($0, $1) => ({
183
188
  ...$0,
184
189
  type: "text",
185
- placeholder: $$props.placeholder,
190
+ placeholder: $.get(placeholderText),
191
+ "aria-label": $1,
186
192
  "data-scope": "command",
187
193
  "data-part": "input"
188
- }), [() => inputProps()()], void 0, void 0, void 0, true);
194
+ }), [() => inputProps()(), () => messages().command.search], void 0, void 0, void 0, true);
189
195
  $.append($$anchor, input_1);
190
196
  };
191
197
  $.component(node_8, () => Combobox.Input, ($$anchor, ArkCombobox_Input) => {
@@ -276,7 +282,7 @@ function Command$1($$anchor, $$props) {
276
282
  var consequent_2 = ($$anchor) => {
277
283
  var div_6 = root_5();
278
284
  var text_3 = $.only_child(div_6, true);
279
- $.template_effect(() => $.set_text(text_3, emptyText()));
285
+ $.template_effect(() => $.set_text(text_3, $.get(emptyMessage)));
280
286
  $.append($$anchor, div_6);
281
287
  };
282
288
  $.if(node_16, ($$render) => {
@@ -1,4 +1,4 @@
1
- import { a as SourceDocumentUIPart, c as TextUIPart, d as UIMessagePart, f as AiPartProps, i as ReasoningUIPart, l as ToolUIPart, n as DataUIPart, o as SourceUrlUIPart, r as FileUIPart, s as StepStartUIPart, t as Ai, u as UIMessage } from "../../index-BjVEomHj.mjs";
1
+ import { i as Ai$1, n as AiContent, r as AiActions, t as AiLoader } from "../../AiLoader-BEiPYOfW.mjs";
2
2
  import { t as ActionProps } from "../../props-BvDM6-cm.mjs";
3
3
  import { n as MessageRole, t as MessageProps } from "../../props-CIwO25eA.mjs";
4
4
  import { t as PromptInputProps } from "../../props-U567RIQo.mjs";
@@ -7,4 +7,5 @@ import { t as ResponseProps } from "../../props-D93CbAiS.mjs";
7
7
  import { t as SourceProps } from "../../props-C2OWII_8.mjs";
8
8
  import { t as SuggestionProps } from "../../props-Dr7ABUbp.mjs";
9
9
  import { n as ToolStatus, t as ToolProps } from "../../props-B9YcQX8X.mjs";
10
- export { type ActionProps, Ai, type AiPartProps, type DataUIPart, type FileUIPart, type MessageProps, type MessageRole, type PromptInputProps, type ReasoningProps, type ReasoningUIPart, type ResponseProps, type SourceDocumentUIPart, type SourceProps, type SourceUrlUIPart, type StepStartUIPart, type SuggestionProps, type TextUIPart, type ToolProps, type ToolStatus, type ToolUIPart, type UIMessage, type UIMessagePart };
10
+ import { a as SourceDocumentUIPart, c as TextUIPart, d as UIMessagePart, f as AiPartProps, i as ReasoningUIPart, l as ToolUIPart, n as DataUIPart, o as SourceUrlUIPart, r as FileUIPart, s as StepStartUIPart, t as Ai, u as UIMessage } from "../../index-CtbGSRNw.mjs";
11
+ export { type ActionProps, Ai, AiActions, AiContent, Ai$1 as AiConversation, AiLoader, type AiPartProps, type DataUIPart, type FileUIPart, type MessageProps, type MessageRole, type PromptInputProps, type ReasoningProps, type ReasoningUIPart, type ResponseProps, type SourceDocumentUIPart, type SourceProps, type SourceUrlUIPart, type StepStartUIPart, type SuggestionProps, type TextUIPart, type ToolProps, type ToolStatus, type ToolUIPart, type UIMessage, type UIMessagePart };
@@ -1,2 +1,27 @@
1
- import { t as Ai } from "../../ai-BOUoSSjw.mjs";
2
- export { Ai };
1
+ import { t as AiAction } from "../../ai-action-DKsvxilp.mjs";
2
+ import { t as AiMessage } from "../../ai-message-DBs1fdFm.mjs";
3
+ import { t as AiPromptInput } from "../../ai-prompt-input-vh89e9EX.mjs";
4
+ import { t as AiReasoning } from "../../ai-reasoning-C4YsB2hQ.mjs";
5
+ import { t as AiResponse } from "../../ai-response-BPQPjMlC.mjs";
6
+ import { n as AiSources, t as AiSource } from "../../ai-source-CvglcFw1.mjs";
7
+ import { t as AiSuggestion } from "../../ai-suggestion-zGAQ1kkf.mjs";
8
+ import { t as AiTool } from "../../ai-tool-DY_iNbMk.mjs";
9
+ import { i as Ai$1, n as AiContent, r as AiActions, t as AiLoader } from "../../AiLoader-BEiPYOfW.mjs";
10
+ //#region src/components/ai/index.ts
11
+ const Ai = Object.assign(Ai$1, {
12
+ Conversation: Ai$1,
13
+ MessageContent: AiContent,
14
+ Message: AiMessage,
15
+ Response: AiResponse,
16
+ Reasoning: AiReasoning,
17
+ Tool: AiTool,
18
+ Sources: AiSources,
19
+ Source: AiSource,
20
+ Actions: AiActions,
21
+ Action: AiAction,
22
+ Suggestion: AiSuggestion,
23
+ PromptInput: AiPromptInput,
24
+ Loader: AiLoader
25
+ });
26
+ //#endregion
27
+ export { Ai, AiActions, AiContent, Ai$1 as AiConversation, AiLoader };
@@ -4,4 +4,4 @@ import { t as ActionProps } from "../../props-BvDM6-cm.mjs";
4
4
  * shared Button in its ghost register. */
5
5
  export declare const AiAction: import("svelte").Component<ActionProps, {}, "">;
6
6
  //#endregion
7
- export type { ActionProps };
7
+ export { AiAction as Action, type ActionProps };
@@ -1,2 +1,2 @@
1
1
  import { t as AiAction } from "../../ai-action-DKsvxilp.mjs";
2
- export { AiAction };
2
+ export { AiAction as Action, AiAction };
@@ -1,2 +1,2 @@
1
- import { n as Attachments, t as Attachment } from "../../ai-attachments-Y0Tf6UFL.mjs";
1
+ import { n as Attachments, t as Attachment } from "../../ai-attachments-C0YVIKUc.mjs";
2
2
  export { Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments };
@@ -4,4 +4,4 @@ import { n as MessageRole, t as MessageProps } from "../../props-CIwO25eA.mjs";
4
4
  * the assistant speaks flat on the paper. */
5
5
  export declare const AiMessage: import("svelte").Component<MessageProps, {}, "">;
6
6
  //#endregion
7
- export type { MessageProps, MessageRole };
7
+ export { AiMessage as Message, type MessageProps, type MessageRole };
@@ -1,2 +1,2 @@
1
1
  import { t as AiMessage } from "../../ai-message-DBs1fdFm.mjs";
2
- export { AiMessage };
2
+ export { AiMessage, AiMessage as Message };
@@ -4,4 +4,4 @@ import { t as PromptInputProps } from "../../props-U567RIQo.mjs";
4
4
  * machine's autoresize — over a footer row carrying the submit seal. */
5
5
  export declare const AiPromptInput: import("svelte").Component<PromptInputProps, {}, "value">;
6
6
  //#endregion
7
- export type { PromptInputProps };
7
+ export { AiPromptInput as PromptInput, type PromptInputProps };
@@ -1,2 +1,2 @@
1
- import { t as AiPromptInput } from "../../ai-prompt-input-BmyKyadu.mjs";
2
- export { AiPromptInput };
1
+ import { t as AiPromptInput } from "../../ai-prompt-input-vh89e9EX.mjs";
2
+ export { AiPromptInput, AiPromptInput as PromptInput };
@@ -4,4 +4,4 @@ import { t as ReasoningProps } from "../../props-BZcE7LP_.mjs";
4
4
  * register. */
5
5
  export declare const AiReasoning: import("svelte").Component<ReasoningProps, {}, "">;
6
6
  //#endregion
7
- export type { ReasoningProps };
7
+ export { AiReasoning as Reasoning, type ReasoningProps };
@@ -1,2 +1,2 @@
1
1
  import { t as AiReasoning } from "../../ai-reasoning-C4YsB2hQ.mjs";
2
- export { AiReasoning };
2
+ export { AiReasoning, AiReasoning as Reasoning };
@@ -3,4 +3,4 @@ import { t as ResponseProps } from "../../props-D93CbAiS.mjs";
3
3
  /** Markdown set on the paper — streaming-safe by construction. */
4
4
  export declare const AiResponse: import("svelte").Component<ResponseProps, {}, "">;
5
5
  //#endregion
6
- export type { ResponseProps };
6
+ export { AiResponse as Response, type ResponseProps };
@@ -1,2 +1,2 @@
1
- import { t as AiResponse } from "../../ai-response-D5IkRFMN.mjs";
2
- export { AiResponse };
1
+ import { t as AiResponse } from "../../ai-response-BPQPjMlC.mjs";
2
+ export { AiResponse, AiResponse as Response };
@@ -5,4 +5,4 @@ import { n as SourcesProps, t as SourceProps } from "../../props-C2OWII_8.mjs";
5
5
  export declare const AiSource: import("svelte").Component<SourceProps, {}, "">;
6
6
  export declare const AiSources: import("svelte").Component<SourcesProps, {}, "">;
7
7
  //#endregion
8
- export type { SourceProps, SourcesProps };
8
+ export { AiSource as Source, AiSources as Sources, type SourceProps, type SourcesProps };
@@ -1,2 +1,2 @@
1
1
  import { n as AiSources, t as AiSource } from "../../ai-source-CvglcFw1.mjs";
2
- export { AiSource, AiSources };
2
+ export { AiSource, AiSource as Source, AiSources, AiSources as Sources };
@@ -4,4 +4,4 @@ import { t as SuggestionProps } from "../../props-Dr7ABUbp.mjs";
4
4
  * the prompt. */
5
5
  export declare const AiSuggestion: import("svelte").Component<SuggestionProps, {}, "">;
6
6
  //#endregion
7
- export type { SuggestionProps };
7
+ export { AiSuggestion as Suggestion, type SuggestionProps };
@@ -1,2 +1,2 @@
1
1
  import { t as AiSuggestion } from "../../ai-suggestion-zGAQ1kkf.mjs";
2
- export { AiSuggestion };
2
+ export { AiSuggestion, AiSuggestion as Suggestion };
@@ -5,4 +5,4 @@ import { n as ToolStatus, t as ToolProps } from "../../props-B9YcQX8X.mjs";
5
5
  * input and output folded inside. */
6
6
  export declare const AiTool: import("svelte").Component<ToolProps, {}, "">;
7
7
  //#endregion
8
- export type { ToolProps, ToolStatus };
8
+ export { AiTool as Tool, type ToolProps, type ToolStatus };
@@ -1,2 +1,2 @@
1
1
  import { t as AiTool } from "../../ai-tool-DY_iNbMk.mjs";
2
- export { AiTool };
2
+ export { AiTool, AiTool as Tool };
@@ -1,2 +1,2 @@
1
- import { t as AutoComplete } from "../../autocomplete-D7ZZ7Xpb.mjs";
1
+ import { t as AutoComplete } from "../../autocomplete-Dhuhqp-6.mjs";
2
2
  export { AutoComplete };
@@ -1,2 +1,2 @@
1
- import { t as Avatar } from "../../index-Cd5VU1DI.mjs";
1
+ import { t as Avatar } from "../../index-CV1LSzq5.mjs";
2
2
  export { Avatar };
@@ -1,2 +1,2 @@
1
- import { t as Avatar } from "../../avatar-BHYqgq4d.mjs";
1
+ import { t as Avatar } from "../../avatar-LR0CZ1Iz.mjs";
2
2
  export { Avatar };
@@ -1,2 +1,2 @@
1
- import { t as Banner } from "../../banner-LEPWtGlY.mjs";
1
+ import { t as Banner } from "../../banner-Bj3FFB-O.mjs";
2
2
  export { Banner };
@@ -0,0 +1,2 @@
1
+ import { n as BentoProps, t as Bento } from "../../index-CmskeLd_.mjs";
2
+ export { Bento, type BentoProps };
@@ -0,0 +1,2 @@
1
+ import { t as Bento } from "../../bento-BTvt7gsB.mjs";
2
+ export { Bento };
@@ -0,0 +1,2 @@
1
+ import { n as BlockUIProps, t as BlockUI } from "../../index-BmFfkztS.mjs";
2
+ export { BlockUI, type BlockUIProps };
@@ -0,0 +1,2 @@
1
+ import { t as BlockUI } from "../../block-ui-CxsMoEoa.mjs";
2
+ export { BlockUI };
@@ -1,2 +1,2 @@
1
- import { t as Breadcrumb } from "../../breadcrumb-C01pAq93.mjs";
1
+ import { t as Breadcrumb } from "../../breadcrumb-CtBjVdxv.mjs";
2
2
  export { Breadcrumb };
@@ -0,0 +1,9 @@
1
+ //#region src/components/browser/index.d.ts
2
+ /** A browser window as a vessel: Root, TitleBar, Dots, UrlBar, Body. */
3
+ export declare const Browser: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, ""> & {
4
+ TitleBar: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
5
+ Dots: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
6
+ UrlBar: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
7
+ Body: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
8
+ };
9
+ //#endregion
@@ -0,0 +1,2 @@
1
+ import { t as Browser } from "../../browser-gmPTH6mJ.mjs";
2
+ export { Browser };
@@ -1,2 +1,2 @@
1
- import { t as Calendar } from "../../calendar-0tSnHuLj.mjs";
1
+ import { t as Calendar } from "../../calendar-BMXmRdwJ.mjs";
2
2
  export { Calendar };
@@ -1,2 +1,2 @@
1
- import { t as CascadeSelect } from "../../cascade-select-C-eBcN_4.mjs";
1
+ import { t as CascadeSelect } from "../../cascade-select-CfvWchiN.mjs";
2
2
  export { CascadeSelect };
@@ -1,2 +1,2 @@
1
- import { t as Command } from "../../command-fZuTfbz4.mjs";
1
+ import { t as Command } from "../../command-CZRC1T-6.mjs";
2
2
  export { Command };
@@ -1,2 +1,2 @@
1
- import { a as useConfig, i as ConfigDensity, n as ConfigProviderProps, r as ConfigContext, t as ConfigProvider } from "../../index-DTAcdUAd.mjs";
1
+ import { a as useConfig, i as ConfigDensity, n as ConfigProviderProps, r as ConfigContext, t as ConfigProvider } from "../../index-BkGvErBJ.mjs";
2
2
  export { type ConfigContext, type ConfigDensity, ConfigProvider, type ConfigProviderProps, useConfig };
@@ -1,2 +1,3 @@
1
- import { n as useConfig, t as ConfigProvider } from "../../config-provider-DW5wVzFr.mjs";
1
+ import { n as useConfig } from "../../context-Da-QMQRq.mjs";
2
+ import { t as ConfigProvider } from "../../config-provider-CZJyd3MX.mjs";
2
3
  export { ConfigProvider, useConfig };
@@ -0,0 +1,2 @@
1
+ import { n as DataViewProps, t as DataView } from "../../index-KoqiUxmN.mjs";
2
+ export { DataView, type DataViewProps };
@@ -0,0 +1,2 @@
1
+ import { t as DataView } from "../../data-view-BORK23XZ.mjs";
2
+ export { DataView };
@@ -0,0 +1,2 @@
1
+ import { n as DeferredContentProps, t as DeferredContent } from "../../index-BolxaoaW.mjs";
2
+ export { DeferredContent, type DeferredContentProps };
@@ -0,0 +1,2 @@
1
+ import { t as DeferredContent } from "../../deferred-content-CO9YsKMQ.mjs";
2
+ export { DeferredContent };
@@ -1,2 +1,2 @@
1
- import { n as DescriptionsPartProps, r as DescriptionsRootProps, t as Descriptions } from "../../index-NJ21Q4f4.mjs";
1
+ import { n as DescriptionsPartProps, r as DescriptionsRootProps, t as Descriptions } from "../../index-BEfqqxjl.mjs";
2
2
  export { Descriptions, type DescriptionsPartProps, type DescriptionsRootProps };
@@ -1,2 +1,2 @@
1
- import { t as Descriptions } from "../../descriptions-Cv3x5qLW.mjs";
1
+ import { t as Descriptions } from "../../descriptions-DgkA_9B-.mjs";
2
2
  export { Descriptions };
@@ -0,0 +1,2 @@
1
+ import { n as DockProps, t as Dock } from "../../index-CnrohEXe.mjs";
2
+ export { Dock, type DockProps };
@@ -0,0 +1,2 @@
1
+ import { t as Dock } from "../../dock-CKGRnXWu.mjs";
2
+ export { Dock };
@@ -1,2 +1,2 @@
1
- import { t as DynamicInput } from "../../dynamic-input-B3IBAoLs.mjs";
1
+ import { t as DynamicInput } from "../../dynamic-input-D1a-5vy-.mjs";
2
2
  export { DynamicInput };
@@ -1,7 +1,8 @@
1
- import { t as FileUploadRoot } from "../../FileUploadRoot-IVcTAZp-.mjs";
1
+ import { n as FileUploadRoot, t as FileUploadTrigger } from "../../FileUploadTrigger-BgAcpLXx.mjs";
2
2
  import { FileUpload as FileUpload$1 } from "@ark-ui/svelte/file-upload";
3
3
  //#region src/components/file-upload/index.d.ts
4
- export declare const FileUpload: Omit<typeof FileUpload$1, "Root"> & {
4
+ export declare const FileUpload: Omit<typeof FileUpload$1, "Root" | "Trigger"> & {
5
5
  Root: typeof FileUploadRoot;
6
+ Trigger: typeof FileUploadTrigger;
6
7
  };
7
8
  //#endregion
@@ -1,4 +1,4 @@
1
- import { t as FileUploadRoot } from "../../FileUploadRoot-IVcTAZp-.mjs";
1
+ import { n as FileUploadRoot, t as FileUploadTrigger } from "../../FileUploadTrigger-BgAcpLXx.mjs";
2
2
  import { FileUpload as FileUpload$1 } from "@ark-ui/svelte/file-upload";
3
3
  //#region src/components/file-upload/index.ts
4
4
  /** Ark's FileUpload, dressed in the paper-and-ink system: a dashed
@@ -9,7 +9,8 @@ import { FileUpload as FileUpload$1 } from "@ark-ui/svelte/file-upload";
9
9
  * Context. */
10
10
  const FileUpload = {
11
11
  ...FileUpload$1,
12
- Root: FileUploadRoot
12
+ Root: FileUploadRoot,
13
+ Trigger: FileUploadTrigger
13
14
  };
14
15
  //#endregion
15
16
  export { FileUpload };
@@ -1,2 +1,2 @@
1
- import { n as FLOAT_BUTTON_KEY, t as FloatButton } from "../../float-button-CZAda2SI.mjs";
1
+ import { n as FLOAT_BUTTON_KEY, t as FloatButton } from "../../float-button-BLIHnw2u.mjs";
2
2
  export { FLOAT_BUTTON_KEY, FloatButton };
@@ -1,2 +1,2 @@
1
- import { a as createForm, c as FormFieldProps, i as createField, l as FormProps, n as FormField, o as FormApi, r as SvelteFormApi, s as FieldApi, t as Form, u as AnyFormApi } from "../../index-Nt0a2iYy.mjs";
2
- export { type AnyFormApi, type FieldApi, Form, type FormApi, FormField, type FormFieldProps, type FormProps, type SvelteFormApi, createField, createForm };
1
+ import { a as createForm, c as FormApi, d as FormProps, f as AnyFormApi, i as createField, l as FieldApi, n as FormField, o as useField, r as SvelteFormApi, s as useForm, t as Form, u as FormFieldProps } from "../../index-D1U7Svy2.mjs";
2
+ export { type AnyFormApi, type FieldApi, Form, type FormApi, FormField, type FormFieldProps, type FormProps, type SvelteFormApi, createField, createForm, useField, useForm };
@@ -1,2 +1,2 @@
1
- import { i as createForm, n as FormField, r as createField, t as Form } from "../../form-De-ZwM1P.mjs";
2
- export { Form, FormField, createField, createForm };
1
+ import { a as useField, i as createForm, n as FormField, o as useForm, r as createField, t as Form } from "../../form-BTL9S1gn.mjs";
2
+ export { Form, FormField, createField, createForm, useField, useForm };
@@ -1,2 +1,2 @@
1
- import { n as IconProps, t as Icon } from "../../index-BnvnT-GQ.mjs";
1
+ import { n as IconProps, t as Icon } from "../../index-_kQsvJKo.mjs";
2
2
  export { Icon, type IconProps };
@@ -1,2 +1,2 @@
1
- import { t as Icon } from "../../icon-B6_cYYzO.mjs";
1
+ import { t as Icon } from "../../icon-D7AeDq0M.mjs";
2
2
  export { Icon };
@@ -1,2 +1,2 @@
1
- import { n as ImageProps, t as Image } from "../../index-DAesWvpj.mjs";
1
+ import { n as ImageProps, t as Image } from "../../index-D1tQgtT0.mjs";
2
2
  export { Image, type ImageProps };
@@ -1,2 +1,2 @@
1
- import { t as Image } from "../../image-1Lgj8xhS.mjs";
1
+ import { t as Image } from "../../image-u_H4LtAC.mjs";
2
2
  export { Image };
@@ -1,2 +1,2 @@
1
- import { n as ImageViewerProps, t as ImageViewer } from "../../index-CiHanb4T.mjs";
1
+ import { n as ImageViewerProps, t as ImageViewer } from "../../index-DG4OAuIf.mjs";
2
2
  export { ImageViewer, type ImageViewerProps };
@@ -1,2 +1,2 @@
1
- import { t as ImageViewer } from "../../image-viewer-Dv3_Iyu8.mjs";
1
+ import { t as ImageViewer } from "../../image-viewer-DzoEcVSn.mjs";
2
2
  export { ImageViewer };
@@ -1,2 +1,2 @@
1
- import { n as InputProps, t as Input } from "../../index-DrXCIscJ.mjs";
1
+ import { n as InputProps, t as Input } from "../../index-DjaHpB21.mjs";
2
2
  export { Input, type InputProps };
@@ -1,4 +1,4 @@
1
- import { t as Input$1 } from "../../Input-Biz4J1B6.mjs";
1
+ import { t as Input$1 } from "../../Input-CZhcEeFU.mjs";
2
2
  //#region src/components/input/index.ts
3
3
  /** The bare text input, dressed in the field recipe: border, surface,
4
4
  * focus halo — no shadow. Inside a Field.Root it picks up the label
@@ -1,7 +1,7 @@
1
+ import { t as JsonTreeViewTree } from "../../JsonTreeViewTree-CqRP_PwV.mjs";
1
2
  import { JsonTreeView as JsonTreeView$1 } from "@ark-ui/svelte/json-tree-view";
2
3
  //#region src/components/json-tree-view/index.d.ts
3
- /** Ark's JsonTreeView, dressed in the paper-and-ink system: the tree-view
4
- * recipes re-scoped, with value nodes reading as tabular data. The API is
5
- * Ark's own — Root, Tree, plus createJsonTreeCollection. */
6
- export declare const JsonTreeView: typeof JsonTreeView$1;
4
+ export declare const JsonTreeView: Omit<typeof JsonTreeView$1, "Tree"> & {
5
+ Tree: typeof JsonTreeViewTree;
6
+ };
7
7
  //#endregion
@@ -1,10 +1,14 @@
1
+ import { t as JsonTreeViewTree } from "../../JsonTreeViewTree-CqRP_PwV.mjs";
1
2
  import { injectComponentStyle } from "@bysages/core";
2
3
  import { JsonTreeView as JsonTreeView$1 } from "@ark-ui/svelte/json-tree-view";
3
4
  //#region src/components/json-tree-view/index.ts
4
5
  /** Ark's JsonTreeView, dressed in the paper-and-ink system: the tree-view
5
6
  * recipes re-scoped, with value nodes reading as tabular data. The API is
6
7
  * Ark's own — Root, Tree, plus createJsonTreeCollection. */
7
- const JsonTreeView = JsonTreeView$1;
8
+ const JsonTreeView = {
9
+ ...JsonTreeView$1,
10
+ Tree: JsonTreeViewTree
11
+ };
8
12
  injectComponentStyle("json-tree-view");
9
13
  //#endregion
10
14
  export { JsonTreeView };
@@ -1,2 +1,2 @@
1
- import { t as Layout } from "../../layout-WRo4P9-_.mjs";
1
+ import { t as Layout } from "../../layout-GfxGYYhg.mjs";
2
2
  export { Layout };
@@ -1,2 +1,2 @@
1
- import { t as List } from "../../list-B23lA_sc.mjs";
1
+ import { t as List } from "../../list-BgEM9H3z.mjs";
2
2
  export { List };
@@ -1,2 +1,2 @@
1
- import { t as Menubar } from "../../menubar-Crrkg2tZ.mjs";
1
+ import { t as Menubar } from "../../menubar-2MPo9w5z.mjs";
2
2
  export { Menubar };
@@ -0,0 +1,2 @@
1
+ import { n as OrderListProps, r as OrderOption, t as OrderList } from "../../index-CAb_-2Bn.mjs";
2
+ export { OrderList, type OrderListProps, type OrderOption };
@@ -0,0 +1,2 @@
1
+ import { t as OrderList } from "../../order-list-D3EhH7EX.mjs";
2
+ export { OrderList };
@@ -0,0 +1,12 @@
1
+ //#region src/components/result/index.d.ts
2
+ /** A verdict drawn after the deed — Result, Result.Icon, Result.Title,
3
+ * Result.Description, Result.Extra. */
4
+ export declare const Result: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
5
+ status?: "success" | "warning" | "danger" | "info";
6
+ }, {}, ""> & {
7
+ Icon: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
8
+ Title: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLHeadingElement>, {}, "">;
9
+ Description: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLParagraphElement>, {}, "">;
10
+ Extra: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement>, {}, "">;
11
+ };
12
+ //#endregion
@@ -0,0 +1,2 @@
1
+ import { t as Result } from "../../result-4Oee2ndu.mjs";
2
+ export { Result };