@revolist/ui 4.0.1-rc → 4.0.2-rc

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 (218) hide show
  1. package/README.md +6 -5
  2. package/_chunks/calendar-CpaUK7w1.js +248 -0
  3. package/_chunks/chart-frame-BC99KjGa.js +127 -0
  4. package/_chunks/choice-chips-Cs4D-3nH.js +110 -0
  5. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-BBMFmUNA.js} +41 -41
  6. package/_chunks/color-picker-D90Jg-M8.js +138 -0
  7. package/_chunks/compat.module-DDB2pm9O.js +229 -0
  8. package/_chunks/component-YDcfoOLz.js +859 -0
  9. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-ztgmsG7H.js} +29 -29
  10. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  11. package/_chunks/{controls-NEL5tDaz.js → controls-DIum-E66.js} +192 -192
  12. package/_chunks/{date-control-CYCkb1aQ.js → date-control-BJSzu79z.js} +21 -21
  13. package/_chunks/date-time-BxPJusp9.js +770 -0
  14. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-Bblyah10.js} +1 -1
  15. package/_chunks/dialog.parts-DBqo3Qwb.js +134 -0
  16. package/_chunks/{dropdown-CkGQBm1Q.js → dropdown-voWqmwAe.js} +102 -102
  17. package/_chunks/duration-87U2EoMS.js +271 -0
  18. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  19. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-D3JdS8l3.js} +8 -8
  20. package/_chunks/framework-mount-C-Zwm44H.js +54 -0
  21. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  22. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  23. package/_chunks/mount-DZe_6VtR.js +90 -0
  24. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  25. package/_chunks/{number-input-NnH57J4j.js → number-input-BeIadZuL.js} +89 -89
  26. package/_chunks/picker-DpP7iQLA.js +122 -0
  27. package/_chunks/preact.module-BBM36DnO.js +290 -0
  28. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-Ca8ZBty3.js} +10 -10
  29. package/_chunks/reorder-list-Cc3KmfAN.js +59 -0
  30. package/_chunks/request-trail-IdNiFvKH.js +347 -0
  31. package/_chunks/{rich-text-2Rla349o.js → rich-text-BzI1DyfF.js} +167 -167
  32. package/_vendor/preact/LICENSE +21 -0
  33. package/_vendor/preact/compat/src/index.d.ts +353 -0
  34. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  35. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  36. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  37. package/_vendor/preact/src/dom.d.ts +2548 -0
  38. package/_vendor/preact/src/index.d.ts +373 -0
  39. package/_vendor/preact/src/jsx.d.ts +2958 -0
  40. package/activity-message.d.ts +1 -1
  41. package/activity-message.js +16 -16
  42. package/ai/components.d.ts +1 -1
  43. package/ai/index.js +2 -2
  44. package/ai/request-trail.d.ts +1 -1
  45. package/ai/translation-context.d.ts +1 -1
  46. package/alert.d.ts +2 -2
  47. package/assignee/field.d.ts +2 -2
  48. package/assignee/index.js +87 -87
  49. package/assignee/layout.d.ts +2 -2
  50. package/assignee/picker.d.ts +1 -1
  51. package/avatar/index.js +25 -25
  52. package/avatar/index.view.d.ts +1 -1
  53. package/brush-range/component.d.ts +1 -1
  54. package/brush-range/component.js +30 -30
  55. package/buttons/delete-button.js +1 -1
  56. package/buttons/remove-button.d.ts +1 -1
  57. package/buttons/remove-button.js +3 -3
  58. package/buttons/svg-button.d.ts +1 -1
  59. package/buttons/svg-button.js +35 -35
  60. package/calendar/calendar.d.ts +1 -1
  61. package/calendar/calendar.js +1 -1
  62. package/calendar/caption.d.ts +1 -1
  63. package/calendar/day.d.ts +1 -1
  64. package/calendar/day.js +4 -4
  65. package/calendar/header.d.ts +1 -1
  66. package/calendar/header.js +35 -35
  67. package/calendar/index.js +2 -2
  68. package/calendar/month-grid.d.ts +1 -1
  69. package/calendar/month-grid.js +37 -37
  70. package/calendar/picker.d.ts +1 -1
  71. package/calendar/types.d.ts +1 -1
  72. package/calendar/year-grid.d.ts +1 -1
  73. package/calendar/year-grid.js +12 -12
  74. package/checkbox/index.d.ts +2 -2
  75. package/checkbox/index.js +9 -9
  76. package/choice-chips/index.d.ts +1 -1
  77. package/choice-chips/index.js +1 -1
  78. package/color-palette/color-palette.d.ts +1 -1
  79. package/color-palette/color-palette.js +1 -1
  80. package/color-palette/color-picker.d.ts +1 -1
  81. package/color-palette/color-picker.js +2 -2
  82. package/component-catalog.d.ts +19 -19
  83. package/control-presentation.js +18 -18
  84. package/controls.d.ts +4 -4
  85. package/controls.js +1 -1
  86. package/core/editor-commit.d.ts +1 -1
  87. package/core/editor-popup.d.ts +1 -1
  88. package/core/editor-popup.js +1 -1
  89. package/date-time/date-control.d.ts +1 -1
  90. package/date-time/field.d.ts +2 -2
  91. package/date-time/index.js +1 -1
  92. package/date-time/picker.d.ts +1 -1
  93. package/date-time/time-control.d.ts +1 -1
  94. package/date-time/time-selection.d.ts +1 -1
  95. package/date-time/types.d.ts +1 -1
  96. package/dialog/dialog-action-footer.view.d.ts +1 -1
  97. package/dialog/dialog.dom.js +52 -52
  98. package/dialog/dialog.parts.d.ts +18 -18
  99. package/dialog/dialog.parts.js +1 -1
  100. package/dialog/dialog.preact.d.ts +1 -1
  101. package/dialog/dialog.preact.js +6 -6
  102. package/distribution-chart/area-chart.d.ts +1 -1
  103. package/distribution-chart/area-chart.js +25 -25
  104. package/distribution-chart/bar-chart.d.ts +1 -1
  105. package/distribution-chart/bar-chart.js +6 -6
  106. package/distribution-chart/chart-frame.d.ts +1 -1
  107. package/distribution-chart/index.d.ts +1 -1
  108. package/distribution-chart/index.js +6 -6
  109. package/distribution-chart/line-chart.d.ts +1 -1
  110. package/distribution-chart/line-chart.js +9 -9
  111. package/distribution-chart/types.d.ts +1 -1
  112. package/dropdown/content.d.ts +1 -1
  113. package/dropdown/content.js +83 -82
  114. package/dropdown/dropdown.service.d.ts +1 -1
  115. package/dropdown/dropdown.service.js +9 -9
  116. package/dropdown/index.js +1 -1
  117. package/dropdown/lookup-field.d.ts +1 -1
  118. package/dropdown/lookup-field.js +41 -41
  119. package/dropdown/popup.d.ts +1 -1
  120. package/dropdown/popup.js +17 -16
  121. package/duration/controls.d.ts +1 -1
  122. package/duration/index.d.ts +2 -2
  123. package/duration/index.js +1 -1
  124. package/editor-actions.d.ts +1 -1
  125. package/editor-actions.js +21 -20
  126. package/editor-layout/index.d.ts +1 -1
  127. package/editor-layout/index.js +27 -27
  128. package/field-configurator.d.ts +1 -1
  129. package/field-configurator.js +93 -93
  130. package/field-reorder.hook.js +32 -32
  131. package/filter/filters/slider/preact.js +3 -3
  132. package/filter/filters/slider/single.d.ts +1 -1
  133. package/filter/filters/slider/single.js +23 -23
  134. package/filter-badge.d.ts +1 -1
  135. package/filter-badge.js +23 -22
  136. package/filter-controls.d.ts +1 -1
  137. package/filter-controls.js +31 -31
  138. package/form-controls/index.js +20 -20
  139. package/form-controls/presentation.d.ts +1 -1
  140. package/form-controls/presentation.js +44 -44
  141. package/formatting/comparison-preview.d.ts +1 -1
  142. package/formatting/control-tooltip.d.ts +1 -1
  143. package/formatting/icon-controls.d.ts +1 -1
  144. package/formatting/index.js +99 -98
  145. package/formatting/inspector-section.d.ts +1 -1
  146. package/formatting/typography-controls.d.ts +1 -1
  147. package/framework-mount.d.ts +1 -1
  148. package/framework.js +19 -19
  149. package/icons/icon.d.ts +1 -1
  150. package/icons/icon.js +1 -1
  151. package/legend.d.ts +1 -1
  152. package/legend.js +12 -12
  153. package/masked-input/index.d.ts +1 -1
  154. package/masked-input/index.js +109 -109
  155. package/native-control.d.ts +11 -11
  156. package/native-control.js +12 -12
  157. package/native.js +39 -39
  158. package/number-input/index.d.ts +1 -1
  159. package/number-input/index.js +1 -1
  160. package/package.json +1 -2
  161. package/pdf-viewer/component.d.ts +1 -1
  162. package/pdf-viewer/controller.js +1 -1
  163. package/pdf-viewer/header.d.ts +1 -1
  164. package/pdf-viewer/index.js +13 -13
  165. package/pdf-viewer/search-bar.d.ts +1 -1
  166. package/pdf-viewer/status.d.ts +1 -1
  167. package/pdf-viewer/toolbar.d.ts +1 -1
  168. package/pickers.d.ts +1 -1
  169. package/preact-mount.d.ts +1 -1
  170. package/preact-mount.js +1 -1
  171. package/preact.js +14 -14
  172. package/rating-choice.d.ts +1 -1
  173. package/rating-choice.js +1 -1
  174. package/react-adapter.d.ts +1 -1
  175. package/react.js +19 -19
  176. package/reorder-list.d.ts +1 -1
  177. package/reorder-list.js +1 -1
  178. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  179. package/resource-picker/resource-picker-avatar.js +14 -14
  180. package/resource-picker/resource-picker-option.d.ts +1 -1
  181. package/resource-picker/resource-picker-option.js +28 -28
  182. package/resource-picker/resource-picker-popup.d.ts +1 -1
  183. package/resource-picker/resource-picker-popup.js +3 -3
  184. package/resource-picker/resource-picker.d.ts +1 -1
  185. package/resource-picker/resource-picker.js +88 -88
  186. package/rich-text/index.d.ts +1 -1
  187. package/rich-text/index.js +1 -1
  188. package/rich-text/toolbar.d.ts +1 -1
  189. package/search-input/index.js +12 -12
  190. package/segmented-switch/index.d.ts +1 -1
  191. package/segmented-switch/index.js +1 -1
  192. package/status-feedback/render.d.ts +2 -2
  193. package/status-feedback/render.js +13 -13
  194. package/surfaces.js +34 -34
  195. package/svelte.js +2 -2
  196. package/switch/index.js +15 -15
  197. package/time-grid.d.ts +1 -1
  198. package/time-grid.js +58 -58
  199. package/timeline-track/component.d.ts +1 -1
  200. package/timeline-track/index.js +75 -75
  201. package/vue-adapter.d.ts +1 -1
  202. package/vue.d.ts +116 -116
  203. package/vue.js +121 -121
  204. package/_chunks/calendar-BsDxCYhI.js +0 -248
  205. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  206. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  207. package/_chunks/color-picker-BRv-__AM.js +0 -138
  208. package/_chunks/component-D4PH5UZT.js +0 -859
  209. package/_chunks/date-time-DjucJmbc.js +0 -769
  210. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  211. package/_chunks/duration-BCaktcvz.js +0 -270
  212. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  213. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  214. package/_chunks/mount-0-8opf1j.js +0 -90
  215. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  216. package/_chunks/picker-oazJ7sO_.js +0 -121
  217. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  218. package/_chunks/request-trail-D0oVzdRd.js +0 -347
@@ -1,9 +1,9 @@
1
- import { Input as e } from "../native-control.js";
2
- import { EditorActions as t } from "../editor-actions.js";
3
- import { useId as n, useRef as r, useState as i } from "preact/hooks";
4
- import { jsx as a, jsxs as o } from "preact/jsx-runtime";
1
+ import { a as e, i as t, t as n } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { t as r } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { Input as i } from "../native-control.js";
4
+ import { EditorActions as a } from "../editor-actions.js";
5
5
  //#region src/masked-input/model.ts
6
- function s(e) {
6
+ function o(e) {
7
7
  if (typeof e != "string") return;
8
8
  let t = [], n = Array.from(e);
9
9
  for (let e = 0; e < n.length; e++) {
@@ -15,14 +15,14 @@ function s(e) {
15
15
  }
16
16
  return t.some((e) => "token" in e) ? t : void 0;
17
17
  }
18
- function c(e, t) {
18
+ function s(e, t) {
19
19
  return e === "0" ? /^[0-9]$/.test(t) : e === "A" ? /^[A-Za-z]$/.test(t) : /^[A-Za-z0-9]$/.test(t);
20
20
  }
21
- function l(e, t) {
21
+ function c(e, t) {
22
22
  let n = "";
23
23
  for (let r = 0; r < e.length; r++) {
24
24
  let i = t[r];
25
- if (!i || ("literal" in i ? e[r] !== i.literal : !c(i.token, e[r]))) return {
25
+ if (!i || ("literal" in i ? e[r] !== i.literal : !s(i.token, e[r]))) return {
26
26
  complete: !1,
27
27
  prefix: !1,
28
28
  raw: n
@@ -35,14 +35,14 @@ function l(e, t) {
35
35
  raw: n
36
36
  };
37
37
  }
38
- function u(e, t) {
38
+ function l(e, t) {
39
39
  let n = (e) => ({
40
40
  valid: !1,
41
41
  value: null,
42
42
  raw: null,
43
43
  formatted: null,
44
44
  error: e
45
- }), r = s(t.mask);
45
+ }), r = o(t.mask);
46
46
  if (!r || t.store !== void 0 && t.store !== "raw" && t.store !== "formatted") return n("configuration");
47
47
  if (e == null || e === "") return t.required ? n("required") : {
48
48
  valid: !0,
@@ -51,9 +51,9 @@ function u(e, t) {
51
51
  formatted: null
52
52
  };
53
53
  if (typeof e != "string") return n("invalid");
54
- let i = Array.from(e), a = l(i, r.filter((e) => "token" in e)), o = l(i, r), c = a.complete ? a : o.complete ? o : void 0;
55
- if (!c) return n(a.prefix || o.prefix ? "incomplete" : "invalid");
56
- let u = c.raw, d = Array.from(u), f = 0, p = r.map((e) => "literal" in e ? e.literal : d[f++]).join("");
54
+ let i = Array.from(e), a = c(i, r.filter((e) => "token" in e)), s = c(i, r), l = a.complete ? a : s.complete ? s : void 0;
55
+ if (!l) return n(a.prefix || s.prefix ? "incomplete" : "invalid");
56
+ let u = l.raw, d = Array.from(u), f = 0, p = r.map((e) => "literal" in e ? e.literal : d[f++]).join("");
57
57
  return {
58
58
  valid: !0,
59
59
  raw: u,
@@ -61,24 +61,24 @@ function u(e, t) {
61
61
  value: t.store === "formatted" ? p : u
62
62
  };
63
63
  }
64
- function d(e, t) {
65
- let n = u(e, t);
64
+ function u(e, t) {
65
+ let n = l(e, t);
66
66
  return n.valid ? n.formatted ?? "" : e == null ? "" : String(e);
67
67
  }
68
68
  //#endregion
69
69
  //#region src/masked-input/edit.ts
70
- var f = "_";
71
- function p(e, t) {
70
+ var d = "_";
71
+ function f(e, t) {
72
72
  let n = t.filter((e) => "token" in e), r = Array.from(e), i = n.map(() => "");
73
73
  if (!r.length) return i;
74
74
  if (r.length === t.length) {
75
75
  let e = 0;
76
76
  if (t.every((t, n) => {
77
77
  let a = r[n];
78
- return "literal" in t ? a === t.literal : a !== f && !c(t.token, a) ? !1 : (i[e++] = a === f ? "" : a, !0);
78
+ return "literal" in t ? a === t.literal : a !== d && !s(t.token, a) ? !1 : (i[e++] = a === d ? "" : a, !0);
79
79
  })) return i;
80
80
  }
81
- if (r.length <= n.length && r.every((e, t) => "token" in n[t] && c(n[t].token, e))) return i.map((e, t) => r[t] ?? "");
81
+ if (r.length <= n.length && r.every((e, t) => "token" in n[t] && s(n[t].token, e))) return i.map((e, t) => r[t] ?? "");
82
82
  let a = 0;
83
83
  for (let e = 0; e < r.length; e++) {
84
84
  let n = t[e], o = r[e];
@@ -86,125 +86,125 @@ function p(e, t) {
86
86
  if ("literal" in n) {
87
87
  if (o !== n.literal) return;
88
88
  } else {
89
- if (o !== f && !c(n.token, o)) return;
90
- i[a++] = o === f ? "" : o;
89
+ if (o !== d && !s(n.token, o)) return;
90
+ i[a++] = o === d ? "" : o;
91
91
  }
92
92
  }
93
93
  return i;
94
94
  }
95
- function m(e, t) {
95
+ function p(e, t) {
96
96
  let n = "", r = 0, i = [], a = [];
97
- for (let o of t) "literal" in o ? n += o.literal : (i.push(n.length), n += e[r++] || f, a.push(n.length));
97
+ for (let o of t) "literal" in o ? n += o.literal : (i.push(n.length), n += e[r++] || d, a.push(n.length));
98
98
  return {
99
99
  value: n,
100
100
  starts: i,
101
101
  ends: a
102
102
  };
103
103
  }
104
- function h(e, t) {
105
- let n = s(t.mask);
104
+ function m(e, t) {
105
+ let n = o(t.mask);
106
106
  if (!n) return e;
107
- let r = p(e, n);
108
- return r ? m(r, n).value : e;
107
+ let r = f(e, n);
108
+ return r ? p(r, n).value : e;
109
109
  }
110
- function g(e, t) {
111
- let n = s(t.mask), r = n && p(e, n);
110
+ function h(e, t) {
111
+ let n = o(t.mask), r = n && f(e, n);
112
112
  if (!n || !r) return e.length;
113
- let i = m(r, n), a = r.indexOf("");
113
+ let i = p(r, n), a = r.indexOf("");
114
114
  return i.starts[a] ?? i.value.length;
115
115
  }
116
- function _(e, t) {
117
- let n = u("", t);
116
+ function g(e, t) {
117
+ let n = l("", t);
118
118
  if (n.error === "configuration") return n;
119
- let r = s(t.mask), i = p(e, r);
119
+ let r = o(t.mask), i = f(e, r);
120
120
  return i ? i.every((e) => !e) ? n : i.some((e) => !e) ? {
121
121
  valid: !1,
122
122
  value: null,
123
123
  raw: null,
124
124
  formatted: null,
125
125
  error: "incomplete"
126
- } : u(m(i, r).value, t) : u(e, t);
126
+ } : l(p(i, r).value, t) : l(e, t);
127
127
  }
128
- function v(e, t, n, r, i, a) {
129
- let o = {
128
+ function _(e, t, n, r, i, a) {
129
+ let c = {
130
130
  value: e,
131
131
  caret: t,
132
132
  accepted: !1
133
- }, l = s(a.mask);
134
- if (!l) return o;
135
- let u = p(e, l);
133
+ }, l = o(a.mask);
134
+ if (!l) return c;
135
+ let u = f(e, l);
136
136
  if (!u) {
137
- if (t !== 0 || n !== e.length) return o;
137
+ if (t !== 0 || n !== e.length) return c;
138
138
  u = l.filter((e) => "token" in e).map(() => "");
139
139
  }
140
- let d = m(u, l), f = d.ends.filter((e) => e <= t).length, h = d.starts.filter((e) => e < n).length, g = [...u];
141
- for (let e = f; e < h; e++) g[e] = "";
142
- let _ = f;
140
+ let d = p(u, l), m = d.ends.filter((e) => e <= t).length, h = d.starts.filter((e) => e < n).length, g = [...u];
141
+ for (let e = m; e < h; e++) g[e] = "";
142
+ let _ = m;
143
143
  if ([
144
144
  "deleteContentBackward",
145
145
  "deleteContentForward",
146
146
  "deleteByCut"
147
- ].includes(r)) t === n && r !== "deleteByCut" && (_ = r === "deleteContentBackward" ? Math.max(0, f - 1) : f, _ < g.length && (g[_] = ""));
147
+ ].includes(r)) t === n && r !== "deleteByCut" && (_ = r === "deleteContentBackward" ? Math.max(0, m - 1) : m, _ < g.length && (g[_] = ""));
148
148
  else if (r.startsWith("insert") && i !== null) {
149
- let e = l.flatMap((e, t) => "token" in e ? [t] : []), r = e[f] ?? l.length, a = l.slice(f === 0 ? 0 : r), s = a.filter((e) => "token" in e), u = Array.from(i), m;
150
- if (u.length <= s.length && u.every((e, t) => "token" in s[t] && c(s[t].token, e))) m = u;
149
+ let e = l.flatMap((e, t) => "token" in e ? [t] : []), r = e[m] ?? l.length, a = l.slice(m === 0 ? 0 : r), o = a.filter((e) => "token" in e), u = Array.from(i), p;
150
+ if (u.length <= o.length && u.every((e, t) => "token" in o[t] && s(o[t].token, e))) p = u;
151
151
  else {
152
- let o = l.slice(f ? e[f - 1] + 1 : 0, r).map((e) => "literal" in e ? e.literal : "").join("");
152
+ let o = l.slice(m ? e[m - 1] + 1 : 0, r).map((e) => "literal" in e ? e.literal : "").join("");
153
153
  if (t === n && i && o.includes(i)) return {
154
154
  value: d.value,
155
- caret: d.starts[f] ?? d.value.length,
155
+ caret: d.starts[m] ?? d.value.length,
156
156
  accepted: !0
157
157
  };
158
- let s = p(i, a);
158
+ let s = f(i, a);
159
159
  if (s) {
160
160
  let e = s.findLastIndex(Boolean) + 1;
161
- s.slice(0, e).every(Boolean) && (m = s.slice(0, e));
161
+ s.slice(0, e).every(Boolean) && (p = s.slice(0, e));
162
162
  }
163
163
  }
164
- if (!m || f + m.length > g.length) return o;
165
- m.forEach((e, t) => {
166
- g[f + t] = e;
167
- }), _ = f + m.length;
168
- } else return o;
169
- let v = m(g, l);
164
+ if (!p || m + p.length > g.length) return c;
165
+ p.forEach((e, t) => {
166
+ g[m + t] = e;
167
+ }), _ = m + p.length;
168
+ } else return c;
169
+ let v = p(g, l);
170
170
  return {
171
171
  value: v.value,
172
172
  caret: v.starts[_] ?? v.value.length,
173
173
  accepted: !0
174
174
  };
175
175
  }
176
- var y = /* @__PURE__ */ new WeakMap(), b = (e) => ({
176
+ var v = /* @__PURE__ */ new WeakMap(), y = (e) => ({
177
177
  value: e.value,
178
178
  start: e.selectionStart ?? 0,
179
179
  end: e.selectionEnd ?? 0
180
180
  });
181
- function x(e, t, n, r) {
182
- let i = v(e.value, e.selectionStart ?? 0, e.selectionEnd ?? e.value.length, t, n, r);
181
+ function b(e, t, n, r) {
182
+ let i = _(e.value, e.selectionStart ?? 0, e.selectionEnd ?? e.value.length, t, n, r);
183
183
  if (i.accepted) {
184
184
  if (i.value !== e.value) {
185
- let t = y.get(e);
185
+ let t = v.get(e);
186
186
  (!t || t.current !== e.value) && (t = {
187
187
  current: e.value,
188
188
  past: [],
189
189
  future: []
190
- }, y.set(e, t)), t.past.push(b(e)), t.past.length > 100 && t.past.shift(), t.future = [], t.current = i.value;
190
+ }, v.set(e, t)), t.past.push(y(e)), t.past.length > 100 && t.past.shift(), t.future = [], t.current = i.value;
191
191
  }
192
192
  e.value = i.value, e.setSelectionRange(i.caret, i.caret);
193
193
  }
194
194
  return i.accepted;
195
195
  }
196
- function S(e, t) {
197
- let n = h(e.value, t);
196
+ function x(e, t) {
197
+ let n = m(e.value, t);
198
198
  if (n === e.value) return;
199
- let r = s(t.mask), i = p(e.value, r);
199
+ let r = o(t.mask), i = f(e.value, r);
200
200
  if (!i) return;
201
- let a = m(i, r), o = (t) => {
202
- let i = p(e.value.slice(0, t), r)?.filter(Boolean).length ?? 0;
201
+ let a = p(i, r), s = (t) => {
202
+ let i = f(e.value.slice(0, t), r)?.filter(Boolean).length ?? 0;
203
203
  return a.starts[i] ?? n.length;
204
- }, c = o(e.selectionStart ?? e.value.length), l = o(e.selectionEnd ?? e.value.length);
204
+ }, c = s(e.selectionStart ?? e.value.length), l = s(e.selectionEnd ?? e.value.length);
205
205
  e.value = n, e.setSelectionRange(c, l);
206
206
  }
207
- function C(e, t, n) {
207
+ function S(e, t, n) {
208
208
  return t.isComposing || !t.cancelable || ![
209
209
  "insertText",
210
210
  "insertReplacementText",
@@ -212,91 +212,91 @@ function C(e, t, n) {
212
212
  "deleteContentBackward",
213
213
  "deleteContentForward",
214
214
  "deleteByCut"
215
- ].includes(t.inputType) || t.inputType.startsWith("insert") && t.data === null ? !1 : (t.preventDefault(), x(e, t.inputType, t.data, n), !0);
215
+ ].includes(t.inputType) || t.inputType.startsWith("insert") && t.data === null ? !1 : (t.preventDefault(), b(e, t.inputType, t.data, n), !0);
216
216
  }
217
- function w(e, t, n) {
218
- return t.clipboardData ? (t.preventDefault(), x(e, "insertFromPaste", t.clipboardData.getData("text/plain"), n), !0) : !1;
217
+ function C(e, t, n) {
218
+ return t.clipboardData ? (t.preventDefault(), b(e, "insertFromPaste", t.clipboardData.getData("text/plain"), n), !0) : !1;
219
219
  }
220
- function T(e, t) {
220
+ function w(e, t) {
221
221
  if (t.isComposing || !(t.ctrlKey || t.metaKey) || t.altKey) return !1;
222
222
  let n = t.key.toLowerCase();
223
223
  if (n !== "z" && n !== "y") return !1;
224
224
  t.preventDefault(), t.stopPropagation();
225
- let r = y.get(e);
225
+ let r = v.get(e);
226
226
  if (!r || r.current !== e.value) return !0;
227
227
  let i = n === "y" || t.shiftKey, a = (i ? r.future : r.past).pop();
228
- return a && ((i ? r.past : r.future).push(b(e)), r.current = e.value = a.value, e.setSelectionRange(a.start, a.end)), !0;
228
+ return a && ((i ? r.past : r.future).push(y(e)), r.current = e.value = a.value, e.setSelectionRange(a.start, a.end)), !0;
229
229
  }
230
230
  //#endregion
231
231
  //#region src/masked-input/index.tsx
232
- var E = {
232
+ var T = {
233
233
  required: "Enter a value.",
234
234
  invalid: "Use only the characters and separators specified by the mask.",
235
235
  incomplete: "Complete every position in the mask.",
236
236
  configuration: "Configure a mask with 0, A, or * positions and valid escapes.",
237
237
  preview: "Formatted value"
238
238
  };
239
- function D({ value: s, options: c, apply: l, cancel: u }) {
240
- let [d, f] = i(() => h(String(s ?? ""), c)), [p, m] = i(!1), [g, v] = i(!1), y = r(!1), b = n(), x = {
241
- ...E,
242
- ...c.text
243
- }, D = _(d, c), O = p || D.error === "invalid" || D.error === "configuration", k = () => {
244
- m(!0), !y.current && D.valid && l(D.value);
239
+ function E({ value: o, options: s, apply: c, cancel: l }) {
240
+ let [u, d] = t(() => m(String(o ?? ""), s)), [f, p] = t(!1), [h, _] = t(!1), v = n(!1), y = e(), b = {
241
+ ...T,
242
+ ...s.text
243
+ }, E = g(u, s), D = f || E.error === "invalid" || E.error === "configuration", O = () => {
244
+ p(!0), !v.current && E.valid && c(E.value);
245
245
  };
246
- return /* @__PURE__ */ o("div", {
246
+ return /* @__PURE__ */ r("div", {
247
247
  class: "rv-masked-draft",
248
248
  onKeyDown: (e) => {
249
- !y.current && e.target instanceof HTMLInputElement && T(e.target, e) ? f(e.target.value) : e.key === "Enter" && (e.ctrlKey || e.metaKey || e.target instanceof HTMLInputElement) && !e.isComposing && !y.current && (e.preventDefault(), k());
249
+ !v.current && e.target instanceof HTMLInputElement && w(e.target, e) ? d(e.target.value) : e.key === "Enter" && (e.ctrlKey || e.metaKey || e.target instanceof HTMLInputElement) && !e.isComposing && !v.current && (e.preventDefault(), O());
250
250
  },
251
251
  children: [
252
- /* @__PURE__ */ a(e, {
252
+ /* @__PURE__ */ r(i, {
253
253
  type: "text",
254
- value: d,
255
- "aria-label": c.label ?? "Masked identifier",
256
- "aria-invalid": O && !D.valid,
257
- "aria-describedby": `${b}-hint${O && D.error ? ` ${b}-error` : ""}`,
258
- required: c.required,
259
- placeholder: c.placeholder ?? c.mask,
254
+ value: u,
255
+ "aria-label": s.label ?? "Masked identifier",
256
+ "aria-invalid": D && !E.valid,
257
+ "aria-describedby": `${y}-hint${D && E.error ? ` ${y}-error` : ""}`,
258
+ required: s.required,
259
+ placeholder: s.placeholder ?? s.mask,
260
260
  onBeforeInput: (e) => {
261
- !y.current && C(e.currentTarget, e, c) && f(e.currentTarget.value);
261
+ !v.current && S(e.currentTarget, e, s) && d(e.currentTarget.value);
262
262
  },
263
263
  onPaste: (e) => {
264
- !y.current && w(e.currentTarget, e, c) && f(e.currentTarget.value);
264
+ !v.current && C(e.currentTarget, e, s) && d(e.currentTarget.value);
265
265
  },
266
266
  onInput: (e) => {
267
- y.current || S(e.currentTarget, c), f(e.currentTarget.value);
267
+ v.current || x(e.currentTarget, s), d(e.currentTarget.value);
268
268
  },
269
269
  onCompositionStart: () => {
270
- y.current = !0, v(!0);
270
+ v.current = !0, _(!0);
271
271
  },
272
272
  onCompositionEnd: (e) => {
273
- y.current = !1, v(!1), S(e.currentTarget, c), f(e.currentTarget.value);
273
+ v.current = !1, _(!1), x(e.currentTarget, s), d(e.currentTarget.value);
274
274
  }
275
275
  }),
276
- /* @__PURE__ */ o("span", {
277
- id: `${b}-hint`,
276
+ /* @__PURE__ */ r("span", {
277
+ id: `${y}-hint`,
278
278
  class: "rv-masked-draft__preview",
279
279
  children: [
280
- x.preview,
280
+ b.preview,
281
281
  ": ",
282
- /* @__PURE__ */ a("output", { children: D.formatted ?? c.mask })
282
+ /* @__PURE__ */ r("output", { children: E.formatted ?? s.mask })
283
283
  ]
284
284
  }),
285
- O && D.error && /* @__PURE__ */ a("span", {
286
- id: `${b}-error`,
285
+ D && E.error && /* @__PURE__ */ r("span", {
286
+ id: `${y}-error`,
287
287
  role: "alert",
288
288
  class: "rv-editor-error",
289
- children: x[D.error]
289
+ children: b[E.error]
290
290
  }),
291
- /* @__PURE__ */ a(t, {
292
- text: c.actions,
293
- disabled: !D.valid || g,
294
- apply: k,
295
- cancel: u,
296
- clear: c.required ? void 0 : () => f(h("", c))
291
+ /* @__PURE__ */ r(a, {
292
+ text: s.actions,
293
+ disabled: !E.valid || h,
294
+ apply: O,
295
+ cancel: l,
296
+ clear: s.required ? void 0 : () => d(m("", s))
297
297
  })
298
298
  ]
299
299
  });
300
300
  }
301
301
  //#endregion
302
- export { D as MaskedDraft, c as acceptsMaskToken, x as applyMaskedEdit, v as editMaskedInput, h as formatMaskedDraft, d as formatMaskedValue, C as handleMaskedBeforeInput, T as handleMaskedHistory, w as handleMaskedPaste, s as maskParts, g as maskedDraftCaret, S as normalizeMaskedInput, _ as parseMaskedDraft, u as parseMaskedInput };
302
+ export { E as MaskedDraft, s as acceptsMaskToken, b as applyMaskedEdit, _ as editMaskedInput, m as formatMaskedDraft, u as formatMaskedValue, S as handleMaskedBeforeInput, w as handleMaskedHistory, C as handleMaskedPaste, o as maskParts, h as maskedDraftCaret, x as normalizeMaskedInput, g as parseMaskedDraft, l as parseMaskedInput };
@@ -1,28 +1,28 @@
1
- import { h, JSX } from 'preact';
1
+ import { h, JSX } from './_vendor/preact/src/index';
2
2
  type NativeAttributes<K extends keyof JSX.IntrinsicElements> = Omit<JSX.IntrinsicElements[K], 'class' | 'className' | 'ref'> & {
3
3
  class?: JSX.IntrinsicElements[K]['class'] | Record<string, boolean | undefined>;
4
4
  className?: JSX.IntrinsicElements[K]['className'];
5
5
  };
6
6
  /** Transparent adapters preserve native event signatures and DOM refs. */
7
- export declare const Input: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<NativeAttributes<"input">> & {
8
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
7
+ export declare const Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"input">> & {
8
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
9
9
  }>;
10
- export declare const Select: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<NativeAttributes<"select">> & {
11
- ref?: import('preact').Ref<HTMLSelectElement> | undefined;
10
+ export declare const Select: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"select">> & {
11
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLSelectElement> | undefined;
12
12
  }>;
13
- export declare const TextArea: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<NativeAttributes<"textarea">> & {
14
- ref?: import('preact').Ref<HTMLTextAreaElement> | undefined;
13
+ export declare const TextArea: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"textarea">> & {
14
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLTextAreaElement> | undefined;
15
15
  }>;
16
- export declare const ButtonControl: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "class" | "ref"> & {
16
+ export declare const ButtonControl: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "class" | "ref"> & {
17
17
  class?: h.JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
18
18
  className?: h.JSX.Signalish<string | undefined>;
19
19
  } & {
20
20
  unstyled?: boolean;
21
21
  busy?: boolean;
22
22
  }> & {
23
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
23
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
24
24
  }>;
25
- export declare const Summary: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<NativeAttributes<"summary">> & {
26
- ref?: import('preact').Ref<HTMLElement> | undefined;
25
+ export declare const Summary: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"summary">> & {
26
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
27
27
  }>;
28
28
  export { nativeControlTag } from './control-presentation';
package/native-control.js CHANGED
@@ -1,26 +1,26 @@
1
- import { nativeControlTag as e, registerControl as t, renderControl as n } from "./control-presentation.js";
2
- import { h as r } from "preact";
3
- import { forwardRef as i } from "preact/compat";
1
+ import { c as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { n as t } from "./_chunks/compat.module-DDB2pm9O.js";
3
+ import { nativeControlTag as n, registerControl as r, renderControl as i } from "./control-presentation.js";
4
4
  //#region src/native-control.tsx
5
- function a(e, t, ...i) {
6
- let { onChange: a, ...o } = t, s = n(r, e, o, ...i);
7
- return a && !(e === "button" && t.busy) && Object.assign(s.props, { onChange: a }), s;
5
+ function a(t, n, ...r) {
6
+ let { onChange: a, ...o } = n, s = i(e, t, o, ...r);
7
+ return a && !(t === "button" && n.busy) && Object.assign(s.props, { onChange: a }), s;
8
8
  }
9
- var o = t(i((e, t) => a("input", {
9
+ var o = r(t((e, t) => a("input", {
10
10
  ...e,
11
11
  ref: t
12
- })), "input"), s = t(i(({ children: e, ...t }, n) => a("select", {
12
+ })), "input"), s = r(t(({ children: e, ...t }, n) => a("select", {
13
13
  ...t,
14
14
  ref: n
15
- }, e)), "select"), c = t(i(({ children: e, ...t }, n) => a("textarea", {
15
+ }, e)), "select"), c = r(t(({ children: e, ...t }, n) => a("textarea", {
16
16
  ...t,
17
17
  ref: n
18
- }, e)), "textarea"), l = t(i(({ children: e, ...t }, n) => a("button", {
18
+ }, e)), "textarea"), l = r(t(({ children: e, ...t }, n) => a("button", {
19
19
  ...t,
20
20
  ref: n
21
- }, e)), "button"), u = t(i(({ children: e, ...t }, n) => a("summary", {
21
+ }, e)), "button"), u = r(t(({ children: e, ...t }, n) => a("summary", {
22
22
  ...t,
23
23
  ref: n
24
24
  }, e)), "summary");
25
25
  //#endregion
26
- export { l as ButtonControl, o as Input, s as Select, u as Summary, c as TextArea, e as nativeControlTag };
26
+ export { l as ButtonControl, o as Input, s as Select, u as Summary, c as TextArea, n as nativeControlTag };
package/native.js CHANGED
@@ -1,33 +1,33 @@
1
1
  import { calculateAnchoredPopoverPosition as e } from "./core/anchored-popover.js";
2
- import { badgeClassName as t } from "./badge.js";
3
- import { createPreactElement as n, releasePreactElement as r, renderPreactInto as i } from "./preact-mount.js";
2
+ import { i as t } from "./_chunks/hooks.module-CG3gN83z.js";
3
+ import { badgeClassName as n } from "./badge.js";
4
+ import { t as r } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
5
+ import { createPreactElement as i, releasePreactElement as a, renderPreactInto as o } from "./preact-mount.js";
4
6
  import { controlAttributes as ee, controlClassName as te } from "./control-attributes.js";
5
- import { createControl as ne, decorateIconAction as a, nativeControlTag as o, registerControl as s, renderControl as c } from "./control-presentation.js";
6
- import { PaginationPanel as l, paginationItems as u, renderPaginationButton as d } from "./pagination.js";
7
- import { B as f, G as p, H as m, K as h, U as g, V as _, W as v, z as y } from "./_chunks/controls-NEL5tDaz.js";
8
- import { createControlId as b } from "./core/control-id.js";
9
- import { hideTopLayerPopup as x, showTopLayerPopup as S } from "./core/top-layer-popup.js";
10
- import { getUiMotionDuration as C, inheritUiMotion as w, isUiMotionEnabled as T } from "./core/motion.js";
11
- import { d as E, f as D, u as O } from "./_chunks/dialog.parts-Dt3KinUz.js";
12
- import { createDialogButton as k, createDialogCloseButton as A, createDialogElements as j, getDialogFocusableElements as M, trapDialogFocus as N } from "./dialog/dialog.dom.js";
13
- import { attachDialogDrag as P } from "./dialog/dialog.drag.js";
14
- import { DialogController as F, PopoverController as I, TooltipController as L, attachMenuKeyboard as R, attachResizeHandle as z, createTooltipElement as B } from "./surfaces.js";
15
- import { normalizeProgressRange as V } from "./progress/range.js";
16
- import { t as H } from "./_chunks/mount-0-8opf1j.js";
17
- import { createFormField as U, createSelectControl as W, createTextControl as re } from "./form-controls/index.js";
18
- import { AVATAR_CELL_BACKGROUNDS as G } from "./color-palette/common-palettes.js";
19
- import { AvatarElement as K, avatarTemplate as q, avatarWithTextTemplate as J, createAvatarElement as Y, getAvatarCellBackground as X, getAvatarIndex as ie, getAvatarInitials as ae } from "./avatar/index.js";
7
+ import { createControl as s, decorateIconAction as c, nativeControlTag as l, registerControl as u, renderControl as d } from "./control-presentation.js";
8
+ import { PaginationPanel as f, paginationItems as p, renderPaginationButton as m } from "./pagination.js";
9
+ import { B as h, G as g, H as _, K as v, U as y, V as b, W as x, z as S } from "./_chunks/controls-DIum-E66.js";
10
+ import { createControlId as C } from "./core/control-id.js";
11
+ import { hideTopLayerPopup as w, showTopLayerPopup as T } from "./core/top-layer-popup.js";
12
+ import { getUiMotionDuration as E, inheritUiMotion as D, isUiMotionEnabled as O } from "./core/motion.js";
13
+ import { d as k, f as A, u as j } from "./_chunks/dialog.parts-DBqo3Qwb.js";
14
+ import { createDialogButton as M, createDialogCloseButton as N, createDialogElements as P, getDialogFocusableElements as F, trapDialogFocus as I } from "./dialog/dialog.dom.js";
15
+ import { attachDialogDrag as L } from "./dialog/dialog.drag.js";
16
+ import { DialogController as R, PopoverController as z, TooltipController as B, attachMenuKeyboard as V, attachResizeHandle as H, createTooltipElement as U } from "./surfaces.js";
17
+ import { normalizeProgressRange as W } from "./progress/range.js";
18
+ import { t as G } from "./_chunks/mount-DZe_6VtR.js";
19
+ import { createFormField as K, createSelectControl as ne, createTextControl as q } from "./form-controls/index.js";
20
+ import { AVATAR_CELL_BACKGROUNDS as J } from "./color-palette/common-palettes.js";
21
+ import { AvatarElement as Y, avatarTemplate as X, avatarWithTextTemplate as Z, createAvatarElement as re, getAvatarCellBackground as ie, getAvatarIndex as ae, getAvatarInitials as oe } from "./avatar/index.js";
20
22
  import "./dialog/dialog.types.js";
21
- import { renderProgressBar as oe } from "./progress/bar.js";
22
- import { renderRangeSlider as se } from "./filter/filters/slider/component.js";
23
+ import { renderProgressBar as se } from "./progress/bar.js";
24
+ import { renderRangeSlider as ce } from "./filter/filters/slider/component.js";
23
25
  import "./filter/filters/slider/types.js";
24
- import { renderCircularProgress as ce } from "./progress/circular.js";
25
- import { applyControlPresentation as le } from "./html-controls.js";
26
- import { n as ue, t as de } from "./_chunks/native.view-8q_nwQ7x.js";
27
- import { a as fe, c as pe, d as me, f as he, h as ge, i as _e, l as ve, m as ye, n as be, o as xe, p as Se, r as Z, s as Ce, t as we, u as Te } from "./_chunks/cell-visuals-E-2oEKHg.js";
28
- import { t as Ee } from "./_chunks/color-picker-BRv-__AM.js";
29
- import { useState as De } from "preact/hooks";
30
- import { jsx as Q } from "preact/jsx-runtime";
26
+ import { renderCircularProgress as le } from "./progress/circular.js";
27
+ import { applyControlPresentation as ue } from "./html-controls.js";
28
+ import { n as de, t as fe } from "./_chunks/native.view-ByyZ1CT5.js";
29
+ import { a as pe, c as me, d as he, f as ge, h as _e, i as ve, l as ye, m as be, n as xe, o as Q, p as Se, r as Ce, s as we, t as Te, u as Ee } from "./_chunks/cell-visuals-E-2oEKHg.js";
30
+ import { t as De } from "./_chunks/color-picker-D90Jg-M8.js";
31
31
  //#region src/icons/drawing-tools.ts
32
32
  var Oe = {
33
33
  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",
@@ -40,38 +40,38 @@ var Oe = {
40
40
  //#endregion
41
41
  //#region src/color-palette/native.view.tsx
42
42
  function ke(e) {
43
- let [t, n] = De(e.value);
44
- return /* @__PURE__ */ Q(Ee, {
43
+ let [n, i] = t(e.value);
44
+ return /* @__PURE__ */ r(De, {
45
45
  ...e,
46
- value: t,
46
+ value: n,
47
47
  customHexLabel: e.customLabel,
48
48
  onChange: (t) => {
49
- n(t), e.onChange(t);
49
+ i(t), e.onChange(t);
50
50
  }
51
51
  });
52
52
  }
53
53
  function Ae(e, t) {
54
- let i = n(e.ownerDocument, /* @__PURE__ */ Q(ke, { ...t }));
55
- return e.append(i), { destroy() {
56
- r(i);
54
+ let n = i(e.ownerDocument, /* @__PURE__ */ r(ke, { ...t }));
55
+ return e.append(n), { destroy() {
56
+ a(n);
57
57
  } };
58
58
  }
59
59
  //#endregion
60
60
  //#region src/alert-native.tsx
61
61
  function $(e, { content: t, ...n }) {
62
- i(e, /* @__PURE__ */ Q(y, {
62
+ o(e, /* @__PURE__ */ r(S, {
63
63
  ...n,
64
- children: t === void 0 ? n.children : typeof t == "string" ? t : /* @__PURE__ */ Q("span", { ref: (e) => {
64
+ children: t === void 0 ? n.children : typeof t == "string" ? t : /* @__PURE__ */ r("span", { ref: (e) => {
65
65
  e && e.replaceChildren(t);
66
66
  } })
67
67
  }));
68
68
  }
69
69
  function je(e, t) {
70
- let r = n(e, /* @__PURE__ */ Q("div", {}));
71
- return $(r, t), r;
70
+ let n = i(e, /* @__PURE__ */ r("div", {}));
71
+ return $(n, t), n;
72
72
  }
73
73
  function Me(e) {
74
- i(e, null), r(e);
74
+ o(e, null), a(e);
75
75
  }
76
76
  //#endregion
77
- export { G as AVATAR_CELL_BACKGROUNDS, O as ActionFooterView, K as AvatarElement, Oe as DRAWING_TOOL_PATHS, F as DialogController, l as PaginationPanel, I as PopoverController, L as TooltipController, le as applyControlPresentation, P as attachDialogDrag, R as attachMenuKeyboard, z as attachResizeHandle, q as avatarTemplate, J as avatarWithTextTemplate, t as badgeClassName, e as calculateAnchoredPopoverPosition, ee as controlAttributes, te as controlClassName, je as createAlertElement, Y as createAvatarElement, _ as createButtonElement, ne as createControl, b as createControlId, k as createDialogButton, A as createDialogCloseButton, j as createDialogElements, U as createFormField, de as createSearchInput, W as createSelectControl, re as createTextControl, B as createTooltipElement, a as decorateIconAction, be as formatTimelineEvents, X as getAvatarCellBackground, ie as getAvatarIndex, ae as getAvatarInitials, M as getDialogFocusableElements, C as getUiMotionDuration, x as hideTopLayerPopup, w as inheritUiMotion, T as isUiMotionEnabled, H as mountAiAssistant, Ae as mountColorPicker, E as mountDialogActionFooter, o as nativeControlTag, V as normalizeProgressRange, u as paginationItems, s as registerControl, Me as releaseAlertElement, Ce as renderAggregateSummary, f as renderAlert, $ as renderAlertInto, pe as renderBadgeValue, ve as renderChange, ce as renderCircularProgress, c as renderControl, m as renderCounter, D as renderDialogActionFooter, _e as renderHeatmap, Te as renderLabelledIcon, g as renderLoadingIndicator, v as renderMenuItem, fe as renderMiniBarChart, d as renderPaginationButton, me as renderPercentageSummary, we as renderPie, oe as renderProgressBar, he as renderProgressLine, Se as renderProgressLineValue, se as renderRangeSlider, p as renderRatingStars, h as renderScalarSlider, ue as renderSearchInput, xe as renderSparkline, ye as renderThumbs, Z as renderTimeline, ge as renderTypeIcon, S as showTopLayerPopup, N as trapDialogFocus };
77
+ export { J as AVATAR_CELL_BACKGROUNDS, j as ActionFooterView, Y as AvatarElement, Oe as DRAWING_TOOL_PATHS, R as DialogController, f as PaginationPanel, z as PopoverController, B as TooltipController, ue as applyControlPresentation, L as attachDialogDrag, V as attachMenuKeyboard, H as attachResizeHandle, X as avatarTemplate, Z as avatarWithTextTemplate, n as badgeClassName, e as calculateAnchoredPopoverPosition, ee as controlAttributes, te as controlClassName, je as createAlertElement, re as createAvatarElement, b as createButtonElement, s as createControl, C as createControlId, M as createDialogButton, N as createDialogCloseButton, P as createDialogElements, K as createFormField, fe as createSearchInput, ne as createSelectControl, q as createTextControl, U as createTooltipElement, c as decorateIconAction, xe as formatTimelineEvents, ie as getAvatarCellBackground, ae as getAvatarIndex, oe as getAvatarInitials, F as getDialogFocusableElements, E as getUiMotionDuration, w as hideTopLayerPopup, D as inheritUiMotion, O as isUiMotionEnabled, G as mountAiAssistant, Ae as mountColorPicker, k as mountDialogActionFooter, l as nativeControlTag, W as normalizeProgressRange, p as paginationItems, u as registerControl, Me as releaseAlertElement, we as renderAggregateSummary, h as renderAlert, $ as renderAlertInto, me as renderBadgeValue, ye as renderChange, le as renderCircularProgress, d as renderControl, _ as renderCounter, A as renderDialogActionFooter, ve as renderHeatmap, Ee as renderLabelledIcon, y as renderLoadingIndicator, x as renderMenuItem, pe as renderMiniBarChart, m as renderPaginationButton, he as renderPercentageSummary, Te as renderPie, se as renderProgressBar, ge as renderProgressLine, Se as renderProgressLineValue, ce as renderRangeSlider, g as renderRatingStars, v as renderScalarSlider, de as renderSearchInput, Q as renderSparkline, be as renderThumbs, Ce as renderTimeline, _e as renderTypeIcon, T as showTopLayerPopup, I as trapDialogFocus };
@@ -9,4 +9,4 @@ export declare function NumberDraft({ value, options, apply, cancel, initialSele
9
9
  cancel: () => void;
10
10
  /** Printable-key editors keep the initiating character and continue at its end. */
11
11
  initialSelection?: 'all' | 'end';
12
- }): import("preact").JSX.Element;
12
+ }): import("../_vendor/preact/src/index").JSX.Element;
@@ -1 +1 @@
1
- export { t as NumberDraft, n as formatNumberDraft, r as formatNumberValue, i as parseNumberInput, a as stepNumberInput } from "../_chunks/number-input-NnH57J4j.js";
1
+ export { t as NumberDraft, n as formatNumberDraft, r as formatNumberValue, i as parseNumberInput, a as stepNumberInput } from "../_chunks/number-input-BeIadZuL.js";