@revolist/ui 4.0.6 → 4.0.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 (187) hide show
  1. package/README.md +37 -1
  2. package/_chunks/{arrow-up-Cw8hW9vp.js → arrow-up-BSYhTAus.js} +1 -1
  3. package/_chunks/{calculator-CDWOuAcp.js → calculator-BG0Xd_Uw.js} +1 -1
  4. package/_chunks/{calendar-BQYQLu8Q.js → calendar-CQHVwHLW.js} +3 -3
  5. package/_chunks/{chart-frame-GprenwEg.js → chart-frame-pj5EQxXr.js} +5 -5
  6. package/_chunks/{check-BwI7iCAm.js → check-BFIC9pge.js} +1 -1
  7. package/_chunks/{chevron-down-GbplLa6s.js → chevron-down-BkrpxJYD.js} +1 -1
  8. package/_chunks/{chevron-right-CM3ljziP.js → chevron-right-DZ79RmYV.js} +1 -1
  9. package/_chunks/{chevron-up-BLuNMPDn.js → chevron-up-Dt846uIR.js} +1 -1
  10. package/_chunks/{choice-chips-C5OxD0GV.js → choice-chips-BIGT7gjO.js} +4 -4
  11. package/_chunks/{clock-BOhPNlW3.js → clock-DTfr4p2S.js} +1 -1
  12. package/_chunks/{color-palette-7siNch__.js → color-palette-DL0f3igd.js} +3 -3
  13. package/_chunks/{color-picker-Cfc9eqZb.js → color-picker-BWBM9GE1.js} +7 -7
  14. package/_chunks/{component-C3k_8uIq.js → component-B22CtP21.js} +58 -43
  15. package/_chunks/{component-metadata-DlVkpW3h.js → component-metadata-B_hLjtM0.js} +4 -1
  16. package/_chunks/{configurator-actions-vRnI54mO.js → configurator-actions-BhIk4oM_.js} +18 -18
  17. package/_chunks/{configurator-field-icon-CmcM_sPs.js → configurator-field-icon-B0S_208W.js} +2 -2
  18. package/_chunks/{control-BRfF5DWQ.js → control-zCLB1tGz.js} +2 -2
  19. package/_chunks/{controller-BbiQuRt-.js → controller-ChkqiANQ.js} +1 -1
  20. package/_chunks/{controls-B3EgM_DS.js → controls-Ip2E6jIu.js} +10 -9
  21. package/_chunks/{date-control-87dcA5br.js → date-control-UmJvxQ5C.js} +4 -4
  22. package/_chunks/{date-time-CfiFYodx.js → date-time-B9YGqree.js} +57 -57
  23. package/_chunks/{delete-button-jneO24wa.js → delete-button-DQSK6G-4.js} +1 -1
  24. package/_chunks/{dialog.parts-NqEEVc9P.js → dialog.parts-CpMwNhTM.js} +5 -5
  25. package/_chunks/{duration-BGZ_qJ99.js → duration-BrsE4QgL.js} +15 -15
  26. package/_chunks/{editor-commit-Dyo-FMgD.js → editor-commit-BXIUX0As.js} +2 -2
  27. package/_chunks/{editor-popup-NNP9Fh9U.js → editor-popup-Ds0GPAcn.js} +3 -3
  28. package/_chunks/{field-configurator-DPulsY3l.js → field-configurator-BMQnmWNd.js} +10 -9
  29. package/_chunks/{field-context-C4_WrO2z.js → field-context-0oUi-w-G.js} +1 -1
  30. package/_chunks/{framework-mount-D4I8HpVp.js → framework-mount-CX0oj05W.js} +3 -3
  31. package/_chunks/{hooks.module-CG3gN83z.js → hooks.module-CXpO2xq6.js} +2 -2
  32. package/_chunks/{icon-toolbar-BAAdEvr9.js → icon-toolbar-C4J_Wqph.js} +6 -6
  33. package/_chunks/{jsxRuntime.module-F6UFnpT-.js → jsxRuntime.module-ksX_VSbv.js} +2 -2
  34. package/_chunks/{magnifying-glass-CvrTDSkB.js → magnifying-glass-BFZrFs8M.js} +1 -1
  35. package/_chunks/{minus-BOAR3A1C.js → minus-DE8NPK_D.js} +1 -1
  36. package/_chunks/{mount-C8CnIW9k.js → mount-BgI_QV2H.js} +7 -7
  37. package/_chunks/native-C9tJWAXF.js +52 -0
  38. package/_chunks/{native-CJm3eq3-.js → native-RudS9C_q.js} +2 -2
  39. package/_chunks/{native-control-um1L1wgZ.js → native-control-DjJ8Na3T.js} +49 -44
  40. package/_chunks/{number-input-CKiA4d1N.js → number-input-Bb5guKP4.js} +4 -4
  41. package/_chunks/{picker-igNshTRC.js → picker-DDUmhT93.js} +5 -5
  42. package/_chunks/{plus-CbGRkIGl.js → plus-BaXticu7.js} +1 -1
  43. package/_chunks/{popup-DECYM9FI.js → popup-HEUnOeq-.js} +5 -5
  44. package/_chunks/{preact.module-BBM36DnO.js → preact.module-DzTStiZX.js} +1 -1
  45. package/_chunks/{rating-choice-CepVfGUq.js → rating-choice-CtrABPp-.js} +3 -3
  46. package/_chunks/{render-bTk3curw.js → render-C6PFWlqh.js} +2 -2
  47. package/_chunks/{reorder-list-B4w3aARt.js → reorder-list-DvwZcFPH.js} +4 -4
  48. package/_chunks/{request-trail-B1zVRPEf.js → request-trail-D5PKrBlC.js} +11 -11
  49. package/_chunks/{rich-text-Ci4d6dHn.js → rich-text-DW1vcBAY.js} +31 -31
  50. package/_chunks/{rotate-left-BF6G883o.js → rotate-left-CTHmcGBP.js} +1 -1
  51. package/_chunks/{rotate-right-Iha5ScJ1.js → rotate-right-BIfKgVun.js} +1 -1
  52. package/_chunks/{selection-list-tooltips-m00U3L6z.js → selection-list-tooltips-j84Wufjj.js} +8 -4
  53. package/_chunks/{title-tooltip-ncldbUwS.js → title-tooltip-DKiWhsL7.js} +1 -1
  54. package/_chunks/tooltip-BkuH0JdW.js +93 -0
  55. package/_chunks/tooltip-session-BBKkwhLZ.js +244 -0
  56. package/_chunks/{tooltip-text-BN5WdGHn.js → tooltip-text-CH_c2J-J.js} +2 -2
  57. package/_chunks/top-layer-popup-DU1r_2v5.js +107 -0
  58. package/_chunks/{xmark-DD_PBvZI.js → xmark-DQRQfXZI.js} +1 -1
  59. package/activity-message.js +1 -1
  60. package/ai/index.js +2 -2
  61. package/angular/angular.d.ts +2 -0
  62. package/angular/angular.js +1 -0
  63. package/assignee/index.js +28 -28
  64. package/avatar/index.js +3 -3
  65. package/browser/favicon.svg +9 -0
  66. package/browser/pdf-viewer.css +2 -0
  67. package/browser/pdf.worker.min.mjs +28 -0
  68. package/browser/pdfjs-LICENSE +177 -0
  69. package/browser/revo-ui.global.js +671 -0
  70. package/browser/revo-ui.js +35538 -0
  71. package/browser/robots.txt +4 -0
  72. package/browser.d.ts +3 -0
  73. package/browser.js +34 -0
  74. package/brush-range/component.js +2 -2
  75. package/buttons/delete-button.js +1 -1
  76. package/buttons/remove-button.js +2 -2
  77. package/buttons/svg-button.js +4 -4
  78. package/calendar/_calendar.scss +12 -4
  79. package/calendar/calendar.js +1 -1
  80. package/calendar/day.js +1 -1
  81. package/calendar/header.js +2 -2
  82. package/calendar/index.js +2 -2
  83. package/calendar/month-grid.js +1 -1
  84. package/calendar/year-grid.js +1 -1
  85. package/checkbox/index.js +1 -1
  86. package/choice-chips/index.js +1 -1
  87. package/color-palette/color-palette.js +1 -1
  88. package/color-palette/color-picker.js +2 -2
  89. package/configurator-actions.js +1 -1
  90. package/configurator-aggregation-list.js +6 -6
  91. package/configurator-drop-zone.js +3 -3
  92. package/configurator-field-icon.js +1 -1
  93. package/configurator-focus.js +1 -1
  94. package/configurator-sections.js +3 -3
  95. package/control-presentation.js +2 -2
  96. package/controls.js +2 -2
  97. package/core/editor-popup.js +1 -1
  98. package/core/popover-controller.d.ts +31 -6
  99. package/core/popover-controller.js +171 -46
  100. package/core/popup-ownership.d.ts +1 -1
  101. package/core/tooltip-options.d.ts +143 -0
  102. package/core/tooltip-options.js +20 -0
  103. package/core/tooltip-session.d.ts +32 -8
  104. package/core/tooltip-surface.d.ts +14 -3
  105. package/core/tooltip.d.ts +20 -19
  106. package/core/top-layer-popup.d.ts +2 -1
  107. package/core/top-layer-popup.js +1 -1
  108. package/date-time/index.js +1 -1
  109. package/dialog/dialog.dom.js +3 -3
  110. package/dialog/dialog.parts.js +1 -1
  111. package/dialog/dialog.preact.js +1 -1
  112. package/distribution-chart/area-chart.js +3 -3
  113. package/distribution-chart/bar-chart.js +2 -2
  114. package/distribution-chart/index.js +1 -1
  115. package/distribution-chart/line-chart.js +2 -2
  116. package/dropdown/content.d.ts +3 -1
  117. package/dropdown/content.js +1 -1
  118. package/dropdown/control.js +1 -1
  119. package/dropdown/dropdown.service.js +56 -56
  120. package/dropdown/index.js +2 -2
  121. package/dropdown/lookup-field.js +7 -7
  122. package/dropdown/popup.js +1 -1
  123. package/duration/index.js +1 -1
  124. package/editor-actions.js +3 -3
  125. package/editor-layout/index.js +3 -3
  126. package/field-configurator.js +1 -1
  127. package/field-reorder.hook.js +1 -1
  128. package/filter/filters/slider/preact.js +1 -1
  129. package/filter/filters/slider/runtime.js +1 -1
  130. package/filter/filters/slider/single.js +2 -2
  131. package/filter-badge.js +4 -4
  132. package/filter-controls.js +3 -3
  133. package/form-controls/index.js +3 -3
  134. package/form-controls/presentation.js +4 -4
  135. package/formatting/index.js +7 -7
  136. package/framework.js +135 -135
  137. package/history-controls.js +3 -3
  138. package/icon-toolbar.js +1 -1
  139. package/icons/icon.js +1 -1
  140. package/legend.js +1 -1
  141. package/masked-input/index.js +3 -3
  142. package/native-control.js +1 -1
  143. package/native.js +29 -79
  144. package/number-input/index.js +1 -1
  145. package/package.json +21 -1
  146. package/pagination.js +1 -1
  147. package/pdf-viewer/controller.js +1 -1
  148. package/pdf-viewer/index.js +3 -3
  149. package/pickers.d.ts +11 -4
  150. package/preact-mount.js +1 -1
  151. package/preact.d.ts +2 -0
  152. package/preact.js +66 -65
  153. package/rating-choice.js +1 -1
  154. package/react-adapter.d.ts +1 -1
  155. package/react.d.ts +2 -0
  156. package/react.js +64 -63
  157. package/reorder-list.js +1 -1
  158. package/resource-picker/resource-picker-avatar.js +2 -2
  159. package/resource-picker/resource-picker-option.js +1 -1
  160. package/resource-picker/resource-picker-popup.js +2 -2
  161. package/resource-picker/resource-picker.js +5 -5
  162. package/rich-text/index.js +1 -1
  163. package/search-input/index.js +3 -3
  164. package/segmented-switch/index.js +1 -1
  165. package/select.js +1 -1
  166. package/selection-list.js +1 -1
  167. package/status-feedback/exit-snapshot.js +1 -1
  168. package/status-feedback/header.js +3 -3
  169. package/status-feedback/index.js +1 -1
  170. package/status-feedback/popover.js +1 -1
  171. package/status-feedback/render.js +1 -1
  172. package/styles.css +1 -1
  173. package/surfaces.d.ts +1 -0
  174. package/surfaces.js +25 -24
  175. package/svelte.d.ts +2 -0
  176. package/svelte.js +30 -29
  177. package/switch/index.js +2 -2
  178. package/time-grid.js +4 -4
  179. package/timeline-track/_style.scss +33 -2
  180. package/timeline-track/component.d.ts +10 -1
  181. package/timeline-track/index.js +136 -74
  182. package/ui.css +1 -1
  183. package/vue.d.ts +11 -13
  184. package/vue.js +94 -90
  185. package/_chunks/tooltip-h-Z8yFBY.js +0 -54
  186. package/_chunks/tooltip-session-CBtRMBPr.js +0 -110
  187. package/_chunks/top-layer-popup-CKJ7VJOF.js +0 -59
@@ -1,28 +1,28 @@
1
- import { i as e } from "./preact.module-BBM36DnO.js";
2
- import { a as t, i as n, n as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
3
- import { t as o } from "./jsxRuntime.module-F6UFnpT-.js";
1
+ import { i as e } from "./preact.module-DzTStiZX.js";
2
+ import { a as t, i as n, n as r, r as i, t as a } from "./hooks.module-CXpO2xq6.js";
3
+ import { t as o } from "./jsxRuntime.module-ksX_VSbv.js";
4
4
  import { createPreactElement as s, releasePreactElement as c } from "../preact-mount.js";
5
5
  import { createControlId as l } from "../core/control-id.js";
6
6
  import { SvgIcon as u } from "../icons/icon.js";
7
- import { n as d } from "./native-control-um1L1wgZ.js";
8
- import "./chevron-down-GbplLa6s.js";
9
- import { R as f, t as p } from "./controls-B3EgM_DS.js";
7
+ import { n as d } from "./native-control-DjJ8Na3T.js";
8
+ import "./chevron-down-BkrpxJYD.js";
9
+ import { R as f, t as p } from "./controls-Ip2E6jIu.js";
10
10
  import { EditorList as m, EditorListItem as h } from "../editor-layout/index.js";
11
- import { t as g } from "./clock-BOhPNlW3.js";
12
- import { i as _, s as v } from "./iso-CJQl2kmq.js";
13
- import { f as y, h as b, m as x, p as S } from "./model-CFrBgRHm.js";
14
- import { n as C, t as w } from "./date-control-87dcA5br.js";
15
- import { t as T } from "./picker-igNshTRC.js";
16
- import { t as E } from "./editor-popup-NNP9Fh9U.js";
17
- import { n as D } from "./editor-commit-Dyo-FMgD.js";
18
- import { EditorActions as O } from "../editor-actions.js";
11
+ import { t as g } from "./clock-DTfr4p2S.js";
12
+ import { EditorActions as _ } from "../editor-actions.js";
13
+ import { n as v } from "./editor-commit-BXIUX0As.js";
14
+ import { i as y, s as b } from "./iso-CJQl2kmq.js";
15
+ import { f as x, h as S, m as C, p as w } from "./model-CFrBgRHm.js";
16
+ import { n as T, t as E } from "./date-control-UmJvxQ5C.js";
17
+ import { t as D } from "./picker-DDUmhT93.js";
18
+ import { t as O } from "./editor-popup-Ds0GPAcn.js";
19
19
  //#region internal/dates/src/date-controls.ts
20
20
  var k = /^(\d{4})-(\d{2})-(\d{2})$/, A = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/, j = /^(\d{2}):(\d{2})(?::(\d{2}))?$/;
21
21
  function M(e, t, n = "minute") {
22
22
  if (Number.isNaN(t.getTime())) return "";
23
23
  let r = `${P(t.getHours())}:${P(t.getMinutes())}${n === "second" ? `:${P(t.getSeconds())}` : ""}`;
24
24
  if (e === "time") return r;
25
- let i = _(t);
25
+ let i = y(t);
26
26
  return e === "date" ? i : `${i}T${r}`;
27
27
  }
28
28
  function N(e, t, n = /* @__PURE__ */ new Date()) {
@@ -84,7 +84,7 @@ function V(e, t, n) {
84
84
  return n === "datetime" ? `${R(e)}T${t}` : t;
85
85
  }
86
86
  function ee(e, t) {
87
- return e === "date" ? v(t) : e === "datetime" ? !!L(t.replace(/(\d{2}:\d{2}:\d{2})\.\d{1,3}$/, "$1")) : !!N(e, t);
87
+ return e === "date" ? b(t) : e === "datetime" ? !!L(t.replace(/(\d{2}:\d{2}:\d{2})\.\d{1,3}$/, "$1")) : !!N(e, t);
88
88
  }
89
89
  function H(e) {
90
90
  let t = N("time", e);
@@ -216,18 +216,18 @@ function re(e, t, n = "") {
216
216
  let { kind: r = "date", selection: i = "single", value: a, calendar: o = {} } = e, s = {
217
217
  ...Y,
218
218
  ...e.text
219
- }, c = a && !Array.isArray(a) && typeof a == "object" ? a : void 0, l = typeof a == "string" ? a : "", u = c?.from ?? "", d = c?.to ?? "", f = e.required ?? o.required ?? !1, p = c ? [u, d] : Array.isArray(a) ? a : l ? [l] : [], m = (e) => v(e) && (!o.minDate || e >= o.minDate) && (!o.maxDate || e <= o.maxDate) && !o.isDateDisabled?.(e) && !o.isMonthDisabled?.(y(e, o.calendarSystem)), h = (t) => ee(r, t) && (r === "time" || m(R(t))) && (r === "date" || U(z(t), {
219
+ }, c = a && !Array.isArray(a) && typeof a == "object" ? a : void 0, l = typeof a == "string" ? a : "", u = c?.from ?? "", d = c?.to ?? "", f = e.required ?? o.required ?? !1, p = c ? [u, d] : Array.isArray(a) ? a : l ? [l] : [], m = (e) => b(e) && (!o.minDate || e >= o.minDate) && (!o.maxDate || e <= o.maxDate) && !o.isDateDisabled?.(e) && !o.isMonthDisabled?.(x(e, o.calendarSystem)), h = (t) => ee(r, t) && (r === "time" || m(R(t))) && (r === "date" || U(z(t), {
220
220
  min: e.minTime,
221
221
  max: e.maxTime,
222
222
  step: e.timeStep
223
- })), g = c && d ? x(R(u), R(d)) : 0, _ = i === "multiple" ? p.length : g, b = !p.length && !f || i === "single" || (!o.min || _ >= o.min) && (o.max === void 0 || _ <= o.max), C = (() => {
223
+ })), g = c && d ? C(R(u), R(d)) : 0, _ = i === "multiple" ? p.length : g, v = !p.length && !f || i === "single" || (!o.min || _ >= o.min) && (o.max === void 0 || _ <= o.max), y = (() => {
224
224
  if (r === "time" || !c?.to || !o.excludeDisabled || !p.every(h)) return !0;
225
225
  if (g > 366e3) return !1;
226
- for (let e = R(u); e <= R(d); e = S(e, 1)) if (!m(e)) return !1;
226
+ for (let e = R(u); e <= R(d); e = w(e, 1)) if (!m(e)) return !1;
227
227
  return !0;
228
- })(), w = "", T = r === "time" || p.every((e) => {
228
+ })(), S = "", T = r === "time" || p.every((e) => {
229
229
  let n = R(e);
230
- if (!v(n)) return !1;
230
+ if (!b(n)) return !1;
231
231
  let r = o.validateSelection?.(n, {
232
232
  month: o.month ?? t,
233
233
  view: o.defaultView ?? "month",
@@ -240,11 +240,11 @@ function re(e, t, n = "") {
240
240
  to: n
241
241
  }
242
242
  });
243
- return typeof r == "string" && (w = r), r !== !1 && typeof r != "string";
244
- }), E = !n && b && T && C && (!f || p.length > 0) && p.every(h) && (i !== "multiple" || new Set(p).size === p.length) && (!c || !!d && u <= d) && (i !== "multiple" || r === "date"), D = (t) => e.text?.[t] ?? e.text?.invalid ?? s[t] ?? s.invalid, O = r === "time" ? [] : p.map(R);
243
+ return typeof r == "string" && (S = r), r !== !1 && typeof r != "string";
244
+ }), E = !n && v && T && y && (!f || p.length > 0) && p.every(h) && (i !== "multiple" || new Set(p).size === p.length) && (!c || !!d && u <= d) && (i !== "multiple" || r === "date"), D = (t) => e.text?.[t] ?? e.text?.invalid ?? s[t] ?? s.invalid, O = r === "time" ? [] : p.map(R);
245
245
  return {
246
246
  valid: E,
247
- errorMessage: n || w || (!p.length && f ? D("requiredValue") : c && (!u || !d) ? D("invalidRange") : O.some((e) => !v(e)) ? D("invalidDate") : O.some((e) => o.minDate && e < o.minDate || o.maxDate && e > o.maxDate) ? D("outOfRange") : O.some((e) => !m(e)) || !C ? D("disabledDate") : c && (!d || u > d) ? D("invalidRange") : !b || i === "multiple" && new Set(p).size !== p.length ? D("selectionCount") : s.invalid),
247
+ errorMessage: n || S || (!p.length && f ? D("requiredValue") : c && (!u || !d) ? D("invalidRange") : O.some((e) => !b(e)) ? D("invalidDate") : O.some((e) => o.minDate && e < o.minDate || o.maxDate && e > o.maxDate) ? D("outOfRange") : O.some((e) => !m(e)) || !y ? D("disabledDate") : c && (!d || u > d) ? D("invalidRange") : !v || i === "multiple" && new Set(p).size !== p.length ? D("selectionCount") : s.invalid),
248
248
  validDate: m
249
249
  };
250
250
  }
@@ -410,10 +410,10 @@ function oe(t) {
410
410
  }, [h] = n(() => l("rv-date-error")), g = (e) => r === "date" ? e : R(e), _ = {
411
411
  locale: u.locale,
412
412
  ...typeof t.dateInput == "object" ? t.dateInput : {}
413
- }, [x, S] = n(t.endpoint === "to" ? "to" : void 0), [C, E] = n(""), D = s && !Array.isArray(s) && typeof s == "object" ? s : void 0, O = typeof s == "string" ? s : "", k = Array.isArray(s) ? s : [], A = D?.from ?? "", j = D?.to ?? "", M = R(r === "time" ? b() : t.endpoint === "to" ? j : A || O || k[0] || ""), [N, P] = n(() => u.defaultMonth ?? y(v(M) ? M : b(), u.calendarSystem)), F = t.required ?? u.required ?? !1, { valid: I, errorMessage: L, validDate: ee } = re(t, N, C);
413
+ }, [v, y] = n(t.endpoint === "to" ? "to" : void 0), [C, w] = n(""), T = s && !Array.isArray(s) && typeof s == "object" ? s : void 0, O = typeof s == "string" ? s : "", k = Array.isArray(s) ? s : [], A = T?.from ?? "", j = T?.to ?? "", M = R(r === "time" ? S() : t.endpoint === "to" ? j : A || O || k[0] || ""), [N, P] = n(() => u.defaultMonth ?? x(b(M) ? M : S(), u.calendarSystem)), F = t.required ?? u.required ?? !1, { valid: I, errorMessage: L, validDate: ee } = re(t, N, C);
414
414
  i(() => t.onValidityChange?.(!!I), [I]);
415
415
  let H = (e, n = !1) => {
416
- E(""), c(e), (t.onValidChange || n) && re({
416
+ w(""), c(e), (t.onValidChange || n) && re({
417
417
  ...t,
418
418
  value: e
419
419
  }, N).valid && (t.onValidChange?.(e), n && t.onSelectionComplete?.(e));
@@ -421,7 +421,7 @@ function oe(t) {
421
421
  H(e, r === "date" && a !== "multiple");
422
422
  }, W = (e) => {
423
423
  if (!ee(e)) return;
424
- let t = y(e, u.calendarSystem);
424
+ let t = x(e, u.calendarSystem);
425
425
  t !== (u.month ?? N) && (P(t), u.onMonthChange?.(t));
426
426
  }, G = (e, t) => {
427
427
  if (typeof t != "string") return;
@@ -453,21 +453,21 @@ function oe(t) {
453
453
  },
454
454
  required: F,
455
455
  onInvalidSelection: (e, t) => {
456
- E(e || m.invalid), u.onInvalidSelection?.(e, t);
456
+ w(e || m.invalid), u.onInvalidSelection?.(e, t);
457
457
  }
458
458
  }, J;
459
459
  if (a === "multiple") J = {
460
460
  ...q,
461
461
  mode: "multiple",
462
- selected: k.filter(v),
462
+ selected: k.filter(b),
463
463
  onSelectionChange: (e) => U([...e])
464
464
  };
465
- else if (a === "range" && !x) J = {
465
+ else if (a === "range" && !v) J = {
466
466
  ...q,
467
467
  mode: "range",
468
- selected: A && v(R(A)) ? {
468
+ selected: A && b(R(A)) ? {
469
469
  from: R(A),
470
- ...j && v(R(j)) ? { to: R(j) } : {}
470
+ ...j && b(R(j)) ? { to: R(j) } : {}
471
471
  } : void 0,
472
472
  onSelectionChange: (e) => U(e ? {
473
473
  from: B(e.from, A, r),
@@ -475,16 +475,16 @@ function oe(t) {
475
475
  } : null)
476
476
  };
477
477
  else {
478
- let e = a === "range" ? x === "to" ? j : A : O;
478
+ let e = a === "range" ? v === "to" ? j : A : O;
479
479
  J = {
480
480
  ...q,
481
481
  mode: "single",
482
- selected: e && v(R(e)) ? R(e) : void 0,
482
+ selected: e && b(R(e)) ? R(e) : void 0,
483
483
  onSelectionChange: (t) => {
484
484
  U(a === "range" ? t ? {
485
485
  from: A,
486
486
  to: j,
487
- [x ?? "from"]: B(t, e, r)
487
+ [v ?? "from"]: B(t, e, r)
488
488
  } : null : t ? B(t, O, r) : null);
489
489
  }
490
490
  };
@@ -496,16 +496,16 @@ function oe(t) {
496
496
  class: `rv-temporal-picker__endpoints ${t.classNames?.endpoints ?? ""}`,
497
497
  children: [/* @__PURE__ */ o(p, {
498
498
  "aria-label": `${m.startDate}: ${A}`,
499
- "aria-pressed": x !== "to",
499
+ "aria-pressed": v !== "to",
500
500
  onClick: () => {
501
- S(void 0), A && P(y(R(A), u.calendarSystem)), E("");
501
+ y(void 0), A && P(x(R(A), u.calendarSystem)), w("");
502
502
  },
503
503
  children: A ? R(A) : "—"
504
504
  }), /* @__PURE__ */ o(p, {
505
505
  "aria-label": `${m.endDate}: ${j}`,
506
- "aria-pressed": x === "to",
506
+ "aria-pressed": v === "to",
507
507
  onClick: () => {
508
- S("to"), j && P(y(R(j), u.calendarSystem)), E("");
508
+ y("to"), j && P(x(R(j), u.calendarSystem)), w("");
509
509
  },
510
510
  children: j ? R(j) : "—"
511
511
  })]
@@ -518,13 +518,13 @@ function oe(t) {
518
518
  class: "rv-temporal-picker__endpoint",
519
519
  role: "group",
520
520
  "aria-label": m.startDate,
521
- children: [/* @__PURE__ */ o(w, {
521
+ children: [/* @__PURE__ */ o(E, {
522
522
  label: m.startDate,
523
523
  value: g(A),
524
524
  options: _,
525
525
  invalid: !I,
526
526
  errorId: h,
527
- onFocus: () => S(void 0),
527
+ onFocus: () => y(void 0),
528
528
  onChange: (e) => G("from", e)
529
529
  }), r === "datetime" && K(A, m.startTime, (e) => H({
530
530
  from: V(A, e, r),
@@ -534,19 +534,19 @@ function oe(t) {
534
534
  class: "rv-temporal-picker__endpoint",
535
535
  role: "group",
536
536
  "aria-label": m.endDate,
537
- children: [/* @__PURE__ */ o(w, {
537
+ children: [/* @__PURE__ */ o(E, {
538
538
  label: m.endDate,
539
539
  value: g(j),
540
540
  options: _,
541
541
  invalid: !I,
542
542
  errorId: h,
543
- onFocus: () => S("to"),
543
+ onFocus: () => y("to"),
544
544
  onChange: (e) => G("to", e)
545
545
  }), r === "datetime" && K(j, m.endTime, (e) => H({
546
546
  from: A,
547
547
  to: V(j, e, r)
548
548
  }), !1)]
549
- })] }) : /* @__PURE__ */ o(w, {
549
+ })] }) : /* @__PURE__ */ o(E, {
550
550
  label: a === "multiple" ? m.dates : m.date,
551
551
  value: a === "multiple" ? k : g(O),
552
552
  multiple: a === "multiple",
@@ -561,7 +561,7 @@ function oe(t) {
561
561
  }),
562
562
  /* @__PURE__ */ o("div", {
563
563
  class: "rv-temporal-picker__body",
564
- children: [r !== "time" && /* @__PURE__ */ o(T, { ...J }), r !== "date" && a !== "range" && /* @__PURE__ */ o(Z, {
564
+ children: [r !== "time" && /* @__PURE__ */ o(D, { ...J }), r !== "date" && a !== "range" && /* @__PURE__ */ o(Z, {
565
565
  collapsible: r === "datetime" && d,
566
566
  value: z(O),
567
567
  label: m.time,
@@ -628,14 +628,14 @@ function oe(t) {
628
628
  function Q({ value: e, options: t, apply: r, cancel: i, onValidChange: a, clearable: s = !0 }) {
629
629
  let [c, l] = n(e), [u, d] = n(!1), [p, m] = n(""), h = (e) => {
630
630
  l(e), m("");
631
- }, g = t.autoApply !== !1, _ = JSON.stringify(c) !== JSON.stringify(e), v = (e) => {
631
+ }, g = t.autoApply !== !1, y = JSON.stringify(c) !== JSON.stringify(e), b = (e) => {
632
632
  let t = r(e) || "";
633
633
  return m(t), !t;
634
- }, y = () => u ? v(c) : !1;
635
- return D(() => !_ || y(), g), /* @__PURE__ */ o("div", {
634
+ }, x = () => u ? b(c) : !1;
635
+ return v(() => !y || x(), g), /* @__PURE__ */ o("div", {
636
636
  class: `rv-temporal-draft${t.kind === "time" ? " rv-temporal-draft--time" : ""}`,
637
637
  onKeyDown: (e) => {
638
- e.key === "Enter" && !e.isComposing && (e.ctrlKey || e.metaKey || g && e.target instanceof HTMLInputElement) && (e.preventDefault(), y());
638
+ e.key === "Enter" && !e.isComposing && (e.ctrlKey || e.metaKey || g && e.target instanceof HTMLInputElement) && (e.preventDefault(), x());
639
639
  },
640
640
  children: [
641
641
  /* @__PURE__ */ o(oe, {
@@ -644,21 +644,21 @@ function Q({ value: e, options: t, apply: r, cancel: i, onValidChange: a, cleara
644
644
  onChange: h,
645
645
  onValidChange: a,
646
646
  onValidityChange: d,
647
- onSelectionComplete: g ? v : void 0
647
+ onSelectionComplete: g ? b : void 0
648
648
  }),
649
649
  p && /* @__PURE__ */ o(f, {
650
650
  tone: "danger",
651
651
  children: p
652
652
  }),
653
- /* @__PURE__ */ o(O, {
653
+ /* @__PURE__ */ o(_, {
654
654
  text: t.actions,
655
655
  showConfirm: t.showActions ?? !g,
656
656
  disabled: !u,
657
- apply: y,
657
+ apply: x,
658
658
  cancel: i,
659
659
  clear: !s || (t.required ?? t.calendar?.required) ? void 0 : () => {
660
660
  let e = t.selection === "multiple" ? [] : null;
661
- h(e), g && v(e);
661
+ h(e), g && b(e);
662
662
  }
663
663
  })
664
664
  ]
@@ -707,7 +707,7 @@ function se({ value: e, kind: t = "date", picker: n, livePickerUpdates: r, onVal
707
707
  let t = typeof e == "string" ? e : "";
708
708
  t === i || v.current.input.disabled || v.current.input.readOnly || (i = t, v.current.onValueChange?.(t));
709
709
  };
710
- _.current = E(h.current, (i) => /* @__PURE__ */ o(Q, {
710
+ _.current = O(h.current, (i) => /* @__PURE__ */ o(Q, {
711
711
  value: e || null,
712
712
  options: {
713
713
  ...n,
@@ -733,7 +733,7 @@ function se({ value: e, kind: t = "date", picker: n, livePickerUpdates: r, onVal
733
733
  }
734
734
  });
735
735
  },
736
- children: /* @__PURE__ */ o(u, { svg: t === "time" ? g : C })
736
+ children: /* @__PURE__ */ o(u, { svg: t === "time" ? g : T })
737
737
  })]
738
738
  });
739
739
  }
@@ -748,7 +748,7 @@ function ce(e, t, n) {
748
748
  disabled: e.disabled || e.readOnly,
749
749
  "aria-label": X(t.kind ?? "date", t.text),
750
750
  onClick: () => {
751
- e.disabled || e.readOnly || (r ? r.close() : r = E(e, (r) => /* @__PURE__ */ o(Q, {
751
+ e.disabled || e.readOnly || (r ? r.close() : r = O(e, (r) => /* @__PURE__ */ o(Q, {
752
752
  value: e.value || null,
753
753
  options: {
754
754
  ...t,
@@ -769,7 +769,7 @@ function ce(e, t, n) {
769
769
  }
770
770
  }));
771
771
  },
772
- children: /* @__PURE__ */ o(u, { svg: t.kind === "time" ? g : C })
772
+ children: /* @__PURE__ */ o(u, { svg: t.kind === "time" ? g : T })
773
773
  }));
774
774
  e.after(i);
775
775
  let a = e.ownerDocument.defaultView?.MutationObserver, l = a ? new a(() => {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
1
+ import { t as e } from "./jsxRuntime.module-ksX_VSbv.js";
2
2
  //#region package/icons/cancel.svg?raw
3
3
  var t = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path fill=\"currentColor\" d=\"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z\"/></svg>", n = ({ onClick: n, disabled: r, rounded: i, className: a, onMouseDown: o, onDblClick: s, locale: c = {
4
4
  title: "Remove",
@@ -1,9 +1,9 @@
1
- import { i as e } from "./preact.module-BBM36DnO.js";
2
- import { t } from "./jsxRuntime.module-F6UFnpT-.js";
1
+ import { i as e } from "./preact.module-DzTStiZX.js";
2
+ import { t } from "./jsxRuntime.module-ksX_VSbv.js";
3
3
  import { createPreactElement as n, releasePreactElement as r } from "../preact-mount.js";
4
- import { n as i, t as a } from "./native-control-um1L1wgZ.js";
5
- import { r as o } from "./popup-DECYM9FI.js";
6
- import { t as s } from "./xmark-DD_PBvZI.js";
4
+ import { n as i, t as a } from "./native-control-DjJ8Na3T.js";
5
+ import { r as o } from "./popup-HEUnOeq-.js";
6
+ import { t as s } from "./xmark-DQRQfXZI.js";
7
7
  //#region package/dialog/dialog-action-footer.tsx
8
8
  function c({ cancel: e = {}, save: n = {}, deleteAction: r = !1, reset: i = !1, start: o, end: s, children: c, actionsClass: l = "", class: u = "", ...d }) {
9
9
  let f = (e, n, r, i = "", o = "button") => {
@@ -1,11 +1,11 @@
1
- import { i as e } from "./preact.module-BBM36DnO.js";
2
- import { c as t, i as n, t as r } from "./hooks.module-CG3gN83z.js";
3
- import { t as i } from "./jsxRuntime.module-F6UFnpT-.js";
4
- import { l as a, n as o } from "./native-control-um1L1wgZ.js";
1
+ import { i as e } from "./preact.module-DzTStiZX.js";
2
+ import { c as t, i as n, t as r } from "./hooks.module-CXpO2xq6.js";
3
+ import { t as i } from "./jsxRuntime.module-ksX_VSbv.js";
4
+ import { l as a, n as o } from "./native-control-DjJ8Na3T.js";
5
5
  import { SegmentedSwitch as s } from "../segmented-switch/index.js";
6
- import { SingleValueSlider as c } from "../filter/filters/slider/single.js";
7
- import { n as l } from "./editor-commit-Dyo-FMgD.js";
8
- import { EditorActions as u } from "../editor-actions.js";
6
+ import { EditorActions as c } from "../editor-actions.js";
7
+ import { n as l } from "./editor-commit-BXIUX0As.js";
8
+ import { SingleValueSlider as u } from "../filter/filters/slider/single.js";
9
9
  //#region internal/dates/src/duration.ts
10
10
  var d = {
11
11
  m: "minute",
@@ -112,10 +112,10 @@ var v = {
112
112
  year: "year"
113
113
  };
114
114
  function y(t) {
115
- let { unit: n, amount: r } = t, o = t.onCommit ?? t.onChange, l = [...new Set(t.allowedUnits ?? Object.keys(v))], u = typeof t.slider == "object" ? t.slider : {}, d = Number.isFinite(t.min) ? Math.max(0, t.min) : 0, f = Math.max(d + 100, r), p = Number.isFinite(t.max) ? t.max : Number.isFinite(u.max) ? u.max : f, m = Number.isFinite(u.step) && u.step > 0 ? u.step : 1;
115
+ let { unit: n, amount: r } = t, o = t.onCommit ?? t.onChange, c = [...new Set(t.allowedUnits ?? Object.keys(v))], l = typeof t.slider == "object" ? t.slider : {}, d = Number.isFinite(t.min) ? Math.max(0, t.min) : 0, f = Math.max(d + 100, r), p = Number.isFinite(t.max) ? t.max : Number.isFinite(l.max) ? l.max : f, m = Number.isFinite(l.step) && l.step > 0 ? l.step : 1;
116
116
  return /* @__PURE__ */ i(e, { children: [t.slider && /* @__PURE__ */ i("span", {
117
117
  class: "rv-duration-field__slider",
118
- children: [/* @__PURE__ */ i(c, {
118
+ children: [/* @__PURE__ */ i(u, {
119
119
  min: d,
120
120
  max: p,
121
121
  step: m,
@@ -136,13 +136,13 @@ function y(t) {
136
136
  })]
137
137
  }), t.unitButtons && /* @__PURE__ */ i("span", {
138
138
  class: "rv-duration-field__modes",
139
- children: [l.length === 0 ? null : l.length > 5 ? /* @__PURE__ */ i(a, {
139
+ children: [c.length === 0 ? null : c.length > 5 ? /* @__PURE__ */ i(a, {
140
140
  className: "rv-select",
141
141
  config: {
142
142
  ariaLabel: t.unitLabel ?? "Duration unit",
143
143
  topLayer: !0
144
144
  },
145
- source: l.map((e) => ({
145
+ source: c.map((e) => ({
146
146
  value: e,
147
147
  label: t.unitLabels?.[e] ?? v[e]
148
148
  })),
@@ -153,7 +153,7 @@ function y(t) {
153
153
  role: "radiogroup",
154
154
  ariaLabel: t.unitLabel ?? "Duration unit",
155
155
  value: n,
156
- options: l.map((e) => ({
156
+ options: c.map((e) => ({
157
157
  value: e,
158
158
  label: t.unitLabels?.[e] ?? v[e],
159
159
  ariaLabel: t.unitLabels?.[e] ?? e
@@ -237,7 +237,7 @@ function b(e) {
237
237
  });
238
238
  }
239
239
  function x({ value: e, options: t, apply: a, cancel: o }) {
240
- let [s, c] = n(!1), [d, f] = n(e), [p, m] = n(0), h = t.autoApply !== !1, g = r(!1), v = r(e), y = (e = !1) => {
240
+ let [s, u] = n(!1), [d, f] = n(e), [p, m] = n(0), h = t.autoApply !== !1, g = r(!1), v = r(e), y = (e = !1) => {
241
241
  let n = _(v.current, t);
242
242
  return n.valid ? ((e || !h || g.current) && (g.current = !1, a(n.value)), !0) : !1;
243
243
  };
@@ -255,8 +255,8 @@ function x({ value: e, options: t, apply: a, cancel: o }) {
255
255
  onDraftChange: (e) => {
256
256
  g.current = !0, v.current = e;
257
257
  },
258
- onValidityChange: c
259
- }, p), /* @__PURE__ */ i(u, {
258
+ onValidityChange: u
259
+ }, p), /* @__PURE__ */ i(c, {
260
260
  showConfirm: t.showActions ?? !h,
261
261
  text: t.actions,
262
262
  disabled: !s,
@@ -1,5 +1,5 @@
1
- import { s as e } from "./preact.module-BBM36DnO.js";
2
- import { r as t, s as n, t as r } from "./hooks.module-CG3gN83z.js";
1
+ import { s as e } from "./preact.module-DzTStiZX.js";
2
+ import { r as t, s as n, t as r } from "./hooks.module-CXpO2xq6.js";
3
3
  //#region package/core/editor-commit.tsx
4
4
  var i = e(void 0);
5
5
  function a(e, a = !0) {
@@ -1,8 +1,8 @@
1
1
  import { calculateAnchoredPopoverPosition as e } from "../core/anchored-popover.js";
2
- import { t } from "./jsxRuntime.module-F6UFnpT-.js";
2
+ import { t } from "./jsxRuntime.module-ksX_VSbv.js";
3
3
  import { createPreactElement as n, releasePreactElement as r } from "../preact-mount.js";
4
- import { i, r as a, t as o } from "./top-layer-popup-CKJ7VJOF.js";
5
- import { t as s } from "./editor-commit-Dyo-FMgD.js";
4
+ import { i, r as a, t as o } from "./top-layer-popup-DU1r_2v5.js";
5
+ import { t as s } from "./editor-commit-BXIUX0As.js";
6
6
  //#region package/core/editor-popup-position.ts
7
7
  function c(t, n, r, { gap: i = 4, inset: a = 8, fitViewport: o = !1 } = {}) {
8
8
  let s = Math.max(0, r.height - a - t.bottom - i), c = Math.max(0, t.top - a - i), l = n.height <= s || s >= c ? "below" : "above", u = l === "below" ? s : c, d = o && n.height > u ? Math.max(u, r.height - 2 * a) : u, f = Math.min(n.height, d), p = l === "below" ? t.bottom + i : t.top - f - i;
@@ -1,15 +1,15 @@
1
- import { c as e } from "./preact.module-BBM36DnO.js";
2
- import { a as t, i as n, r, t as i } from "./hooks.module-CG3gN83z.js";
3
- import { t as a } from "./jsxRuntime.module-F6UFnpT-.js";
1
+ import { c as e } from "./preact.module-DzTStiZX.js";
2
+ import { a as t, i as n, r, t as i } from "./hooks.module-CXpO2xq6.js";
3
+ import { t as a } from "./jsxRuntime.module-ksX_VSbv.js";
4
4
  import { SvgIcon as o } from "../icons/icon.js";
5
- import { t as s } from "./native-control-um1L1wgZ.js";
6
- import { n as c } from "./delete-button-jneO24wa.js";
5
+ import { t as s } from "./native-control-DjJ8Na3T.js";
6
+ import { n as c } from "./delete-button-DQSK6G-4.js";
7
7
  import { RemoveButton as l } from "../buttons/remove-button.js";
8
- import { B as u, S as d } from "./controls-B3EgM_DS.js";
9
- import { t as f } from "./chevron-right-CM3ljziP.js";
10
- import { t as p } from "./tooltip-text-BN5WdGHn.js";
8
+ import { B as u, S as d } from "./controls-Ip2E6jIu.js";
9
+ import { t as f } from "./chevron-right-DZ79RmYV.js";
10
+ import { t as p } from "./tooltip-text-CH_c2J-J.js";
11
11
  import { DisclosureSummary as m } from "../form-controls/presentation.js";
12
- //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/table-columns.svg?raw
12
+ //#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/table-columns.svg?raw
13
13
  var h = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z\"/></svg>";
14
14
  //#endregion
15
15
  //#region package/field-expansion.ts
@@ -148,6 +148,7 @@ function A({ children: e, className: t = "", ...n }) {
148
148
  function j({ children: e, active: t = !1, label: n, className: r = "" }) {
149
149
  return /* @__PURE__ */ a(p, {
150
150
  className: `rv-configurator-status-badge ${r}`,
151
+ role: "img",
151
152
  "data-active": t ? "true" : void 0,
152
153
  title: n,
153
154
  "aria-label": n,
@@ -1,4 +1,4 @@
1
- import { s as e } from "./preact.module-BBM36DnO.js";
1
+ import { s as e } from "./preact.module-DzTStiZX.js";
2
2
  //#region package/form-controls/field-context.ts
3
3
  var t = e({});
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
- import { c as e, r as t } from "./preact.module-BBM36DnO.js";
2
- import { r as n, t as r } from "./hooks.module-CG3gN83z.js";
3
- import { n as i } from "./component-metadata-DlVkpW3h.js";
1
+ import { c as e, r as t } from "./preact.module-DzTStiZX.js";
2
+ import { r as n, t as r } from "./hooks.module-CXpO2xq6.js";
3
+ import { n as i } from "./component-metadata-B_hLjtM0.js";
4
4
  //#region package/framework-mount.ts
5
5
  function a(i, a) {
6
6
  let o = /* @__PURE__ */ new Map(), s = !1, c = 0;
@@ -1,5 +1,5 @@
1
- import { l as e } from "./preact.module-BBM36DnO.js";
2
- //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/hooks/dist/hooks.module.js
1
+ import { l as e } from "./preact.module-DzTStiZX.js";
2
+ //#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/hooks/dist/hooks.module.js
3
3
  var t, n, r, i, a = 0, o = [], s = e, c = s.__b, l = s.__r, u = s.diffed, d = s.__c, f = s.unmount, p = s.__;
4
4
  function m(e, t) {
5
5
  s.__h && s.__h(n, e, a || t), a = 0;
@@ -1,9 +1,9 @@
1
- import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
2
- import { t } from "./title-tooltip-ncldbUwS.js";
3
- import { n, t as r } from "./arrow-up-Cw8hW9vp.js";
4
- import { t as i } from "./rotate-left-BF6G883o.js";
5
- import { t as a } from "./plus-CbGRkIGl.js";
6
- import { t as o } from "./minus-BOAR3A1C.js";
1
+ import { t as e } from "./jsxRuntime.module-ksX_VSbv.js";
2
+ import { t } from "./title-tooltip-DKiWhsL7.js";
3
+ import { n, t as r } from "./arrow-up-BSYhTAus.js";
4
+ import { t as i } from "./rotate-left-CTHmcGBP.js";
5
+ import { t as a } from "./plus-BaXticu7.js";
6
+ import { t as o } from "./minus-DE8NPK_D.js";
7
7
  //#endregion
8
8
  //#region package/icon-toolbar.tsx
9
9
  var s = {
@@ -1,5 +1,5 @@
1
- import { l as e } from "./preact.module-BBM36DnO.js";
2
- //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
1
+ import { l as e } from "./preact.module-DzTStiZX.js";
2
+ //#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
3
3
  var t = 0;
4
4
  Array.isArray;
5
5
  function n(n, r, i, a, o, s) {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/magnifying-glass.svg?raw
1
+ //#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/magnifying-glass.svg?raw
2
2
  var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z\"/></svg>";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/minus.svg?raw
1
+ //#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/minus.svg?raw
2
2
  var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z\"/></svg>";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,11 +1,11 @@
1
- import { i as e, r as t } from "./preact.module-BBM36DnO.js";
2
- import { c as n, i as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
3
- import { E as o, _ as s, a as c, c as l, i as u, m as d, n as f, o as p, p as m, r as h, t as g, u as _, v, y } from "./request-trail-B1zVRPEf.js";
4
- import { t as b } from "./jsxRuntime.module-F6UFnpT-.js";
5
- import { n as x } from "./popup-DECYM9FI.js";
6
- import { p as S, t as C } from "./controls-B3EgM_DS.js";
1
+ import { i as e, r as t } from "./preact.module-DzTStiZX.js";
2
+ import { c as n, i as r, r as i, t as a } from "./hooks.module-CXpO2xq6.js";
3
+ import { E as o, _ as s, a as c, c as l, i as u, m as d, n as f, o as p, p as m, r as h, t as g, u as _, v, y } from "./request-trail-D5PKrBlC.js";
4
+ import { t as b } from "./jsxRuntime.module-ksX_VSbv.js";
5
+ import { n as x } from "./popup-HEUnOeq-.js";
6
+ import { p as S, t as C } from "./controls-Ip2E6jIu.js";
7
7
  import { HistoryControls as w } from "../history-controls.js";
8
- import { n as T } from "./render-bTk3curw.js";
8
+ import { n as T } from "./render-C6PFWlqh.js";
9
9
  //#region package/ai/transcript.ts
10
10
  var E = (e) => new TextEncoder().encode(JSON.stringify(e)).byteLength, D = (e) => {
11
11
  if (!e) return "";
@@ -0,0 +1,52 @@
1
+ import { i as e } from "./hooks.module-CXpO2xq6.js";
2
+ import { t } from "./jsxRuntime.module-ksX_VSbv.js";
3
+ import { createPreactElement as n, releasePreactElement as r, renderPreactInto as i } from "../preact-mount.js";
4
+ import { R as a } from "./controls-Ip2E6jIu.js";
5
+ import { t as o } from "./color-picker-BWBM9GE1.js";
6
+ //#region package/icons/drawing-tools.ts
7
+ var s = {
8
+ link: "M10 13a5 5 0 0 0 7 .5l3-3a5 5 0 0 0-7-7l-2 2 M14 11a5 5 0 0 0-7-.5l-3 3a5 5 0 0 0 7 7l2-2",
9
+ select: "M5 3 19 12 12 13 9 20Z M12 13l5 7",
10
+ rectangle: "M4 5h16v14H4Z",
11
+ line: "M5 19 19 5 M4 18l2 2 M18 4l2 2",
12
+ arrow: "M5 19 19 5 M9 5h10v10",
13
+ note: "M5 3h14v14l-4 4H5Z M15 21v-4h4 M8 8h8 M8 12h6"
14
+ };
15
+ //#endregion
16
+ //#region package/color-palette/native.tsx
17
+ function c(n) {
18
+ let [r, i] = e(n.value);
19
+ return /* @__PURE__ */ t(o, {
20
+ ...n,
21
+ value: r,
22
+ customHexLabel: n.customLabel,
23
+ onChange: (e) => {
24
+ i(e), n.onChange(e);
25
+ }
26
+ });
27
+ }
28
+ function l(e, i) {
29
+ let a = n(e.ownerDocument, /* @__PURE__ */ t(c, { ...i }));
30
+ return e.append(a), { destroy() {
31
+ r(a);
32
+ } };
33
+ }
34
+ //#endregion
35
+ //#region package/alert-native.tsx
36
+ function u(e, { content: n, ...r }) {
37
+ i(e, /* @__PURE__ */ t(a, {
38
+ ...r,
39
+ children: n === void 0 ? r.children : typeof n == "string" ? n : /* @__PURE__ */ t("span", { ref: (e) => {
40
+ e && e.replaceChildren(n);
41
+ } })
42
+ }));
43
+ }
44
+ function d(e, r) {
45
+ let i = n(e, /* @__PURE__ */ t("div", {}));
46
+ return u(i, r), i;
47
+ }
48
+ function f(e) {
49
+ i(e, null), r(e);
50
+ }
51
+ //#endregion
52
+ export { s as a, l as i, f as n, u as r, d as t };
@@ -1,5 +1,5 @@
1
- import { c as e } from "./preact.module-BBM36DnO.js";
2
- import { t } from "./jsxRuntime.module-F6UFnpT-.js";
1
+ import { c as e } from "./preact.module-DzTStiZX.js";
2
+ import { t } from "./jsxRuntime.module-ksX_VSbv.js";
3
3
  import { createPreactElement as n } from "../preact-mount.js";
4
4
  import { controlClassName as r } from "../control-attributes.js";
5
5
  import { renderControl as i } from "../control-presentation.js";