@motech-development/breeze-ui 4.8.1 → 4.10.0

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.
package/lib/index.js CHANGED
@@ -1,42 +1,230 @@
1
- import { ToggleButton as e } from "react-aria-components/ToggleButton";
2
- import { ToggleButtonGroup as t } from "react-aria-components/ToggleButtonGroup";
3
- import { createContext as n, createElement as r, useCallback as i, useContext as a, useEffect as o, useId as s, useLayoutEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as f } from "react";
1
+ import { createContext as e, createElement as t, useCallback as n, useContext as r, useEffect as i, useId as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l, useSyncExternalStore as u } from "react";
2
+ import { ToggleButton as d } from "react-aria-components/ToggleButton";
3
+ import { ToggleButtonGroup as f } from "react-aria-components/ToggleButtonGroup";
4
4
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
5
5
  import { Button as g } from "react-aria-components/Button";
6
6
  import { ProgressBarContext as _ } from "react-aria-components/ProgressBar";
7
7
  import { useSlottedContext as v } from "react-aria-components/slots";
8
8
  import { parseDate as y } from "@internationalized/date";
9
9
  import { Calendar as b, CalendarCell as x, CalendarGrid as S, CalendarGridBody as C, CalendarGridHeader as w, CalendarHeaderCell as T, CalendarHeading as E } from "react-aria-components/Calendar";
10
- import { ArrowDownLeft as D, ArrowUpRight as O, Bell as k, Building2 as A, CalendarDays as j, Camera as M, Check as N, ChevronDown as ee, ChevronLeft as te, ChevronRight as P, Clock3 as F, Download as I, Ellipsis as L, FileText as R, House as ne, List as re, LockKeyhole as z, LogOut as B, Plus as ie, Settings as ae, Trash2 as V, TriangleAlert as oe, Upload as H, Users as U, X as se } from "lucide-react";
11
- import { useObjectRef as ce } from "react-aria/useObjectRef";
12
- import { CheckboxButton as le, CheckboxField as ue } from "react-aria-components/Checkbox";
13
- import { FieldError as de } from "react-aria-components/FieldError";
14
- import { Label as fe } from "react-aria-components/Label";
15
- import { Text as pe } from "react-aria-components/Text";
16
- import { ComboBox as me, ComboBoxStateContext as he, useFilter as ge } from "react-aria-components/ComboBox";
17
- import { Group as _e } from "react-aria-components/Group";
18
- import { Input as ve } from "react-aria-components/Input";
19
- import { ListBox as ye, ListBoxItem as be } from "react-aria-components/ListBox";
20
- import { Popover as xe } from "react-aria-components/Popover";
21
- import { UNSAFE_PortalProvider as Se } from "react-aria/PortalProvider";
22
- import { I18nProvider as Ce, useLocale as we } from "react-aria-components/I18nProvider";
23
- import { Dialog as Te } from "react-aria-components/Dialog";
24
- import { Modal as Ee, ModalOverlay as De } from "react-aria-components/Modal";
25
- import { Menu as Oe, MenuItem as ke, MenuTrigger as Ae } from "react-aria-components/Menu";
26
- import { NumberField as je } from "react-aria-components/NumberField";
27
- import { Select as Me, SelectStateContext as Ne, SelectValue as Pe } from "react-aria-components/Select";
28
- import { TextField as Fe } from "react-aria-components/TextField";
29
- import { createPortal as Ie } from "react-dom";
10
+ import { ArrowDownLeft as D, ArrowUpRight as O, Bell as k, Building2 as A, CalendarDays as j, Camera as M, Check as N, ChevronDown as ee, ChevronLeft as te, ChevronRight as P, Clock3 as F, Download as I, Ellipsis as L, FileText as R, House as ne, List as re, LockKeyhole as z, LogOut as B, Plus as ie, Settings as ae, Trash2 as oe, TriangleAlert as se, Upload as V, Users as H, X as ce } from "lucide-react";
11
+ import { useObjectRef as le } from "react-aria/useObjectRef";
12
+ import { CheckboxButton as ue, CheckboxField as de } from "react-aria-components/Checkbox";
13
+ import { FieldError as fe } from "react-aria-components/FieldError";
14
+ import { Label as pe } from "react-aria-components/Label";
15
+ import { Text as me } from "react-aria-components/Text";
16
+ import { ComboBox as he, ComboBoxStateContext as ge, useFilter as _e } from "react-aria-components/ComboBox";
17
+ import { Group as ve } from "react-aria-components/Group";
18
+ import { Input as ye } from "react-aria-components/Input";
19
+ import { ListBox as be, ListBoxItem as xe } from "react-aria-components/ListBox";
20
+ import { Popover as Se } from "react-aria-components/Popover";
21
+ import { UNSAFE_PortalProvider as Ce } from "react-aria/PortalProvider";
22
+ import { I18nProvider as we, useLocale as Te } from "react-aria-components/I18nProvider";
23
+ import { Dialog as Ee } from "react-aria-components/Dialog";
24
+ import { Modal as De, ModalOverlay as Oe } from "react-aria-components/Modal";
25
+ import { Menu as ke, MenuItem as Ae, MenuTrigger as je } from "react-aria-components/Menu";
26
+ import { NumberField as Me } from "react-aria-components/NumberField";
27
+ import { GridList as Ne, GridListHeader as Pe, GridListItem as Fe, GridListSection as Ie } from "react-aria-components/GridList";
28
+ import { Select as Le, SelectStateContext as Re, SelectValue as ze } from "react-aria-components/Select";
29
+ import { TextField as Be } from "react-aria-components/TextField";
30
+ import { createPortal as Ve } from "react-dom";
31
+ //#region src/overlays/OverlayStack.ts
32
+ function He() {
33
+ let e = [], t = /* @__PURE__ */ new Set(), n = () => t.forEach((e) => e());
34
+ return {
35
+ getSnapshot: () => e,
36
+ remove: (t) => {
37
+ e = e.filter((e) => e.id !== t), n();
38
+ },
39
+ set: (t) => {
40
+ let r = e.find((e) => e.id === t.id);
41
+ r?.active === t.active && r.kind === t.kind && r.parent === t.parent && r.visual === t.visual || (e = r && (!t.active || r.active) ? e.map((e) => e.id === t.id ? t : e) : [...e.filter((e) => e.id !== t.id), t], n());
42
+ },
43
+ subscribe: (e) => (t.add(e), () => {
44
+ t.delete(e);
45
+ })
46
+ };
47
+ }
48
+ var Ue = e(null);
49
+ function We() {
50
+ let e = r(Ue);
51
+ if (!e) throw Error("Breeze components must be rendered within BreezeProvider.");
52
+ return 100 + u(e.subscribe, e.getSnapshot, e.getSnapshot).length * 2;
53
+ }
54
+ var Ge = e(null);
55
+ function Ke(e, t, n) {
56
+ let i = r(Ue), s = r(Ge), c = a();
57
+ if (!i) throw Error("Breeze components must be rendered within BreezeProvider.");
58
+ let l = u(i.subscribe, i.getSnapshot, i.getSnapshot), d = s?.id;
59
+ o(() => () => i.remove(c), [c, i]), o(() => {
60
+ i.set({
61
+ active: t,
62
+ id: c,
63
+ kind: e,
64
+ parent: d,
65
+ visual: n
66
+ });
67
+ }, [
68
+ c,
69
+ e,
70
+ t,
71
+ d,
72
+ i,
73
+ n
74
+ ]);
75
+ let f = [], p = (e) => {
76
+ if (f.includes(e)) return;
77
+ let t = l.find((t) => t.id === e.parent);
78
+ t && p(t), f.push(e);
79
+ };
80
+ l.forEach(p);
81
+ let m = (e) => {
82
+ let t = l.find((t) => t.id === e.parent);
83
+ return e.active && (!t || m(t));
84
+ }, h = f.filter(m), g = h.findIndex((e) => e.id === c), _ = t && g !== -1 && !h.slice(g + 1).some((e) => e.kind !== "popover"), v = t && h.at(-1)?.id === c, y = h.findLast((e) => e.kind === "drawer" || e.kind === "dialog"), b = f.findLast((e) => e.visual && (e.kind === "drawer" || e.kind === "dialog"));
85
+ return {
86
+ id: c,
87
+ interactive: _,
88
+ scrim: (y ?? b)?.id === c,
89
+ topmost: v,
90
+ zIndex: 100 + Math.max(0, f.findIndex((e) => e.id === c)) * 2
91
+ };
92
+ }
93
+ //#endregion
30
94
  //#region src/provider/BreezeContext.ts
31
- var Le = n(null);
32
- function W() {
33
- let e = a(Le);
95
+ var qe = e(null);
96
+ function U() {
97
+ let e = r(qe);
34
98
  if (e === null) throw Error("Breeze components must be rendered within BreezeProvider.");
35
99
  return e;
36
100
  }
37
101
  //#endregion
102
+ //#region src/motion/view-transitions.ts
103
+ var Je = /* @__PURE__ */ new Set([
104
+ "nav",
105
+ "mode",
106
+ "list",
107
+ "item",
108
+ "expand"
109
+ ]), Ye = /^[a-zA-Z_][a-zA-Z0-9_-]*$/, Xe = /* @__PURE__ */ new Set([
110
+ "auto",
111
+ "default",
112
+ "inherit",
113
+ "initial",
114
+ "none",
115
+ "revert",
116
+ "revert-layer",
117
+ "unset",
118
+ "root",
119
+ "breeze-botnav",
120
+ "breeze-navmark",
121
+ "breeze-topbar",
122
+ "breeze-topnav",
123
+ "match-element"
124
+ ]), Ze = {
125
+ botnav: {
126
+ name: "breeze-botnav",
127
+ types: ["nav", "mode"]
128
+ },
129
+ navmark: {
130
+ name: "breeze-navmark",
131
+ types: ["nav"]
132
+ },
133
+ topbar: {
134
+ name: "breeze-topbar",
135
+ types: ["nav", "mode"]
136
+ },
137
+ topnav: {
138
+ name: "breeze-topnav",
139
+ types: ["nav", "mode"]
140
+ }
141
+ };
142
+ function Qe(e) {
143
+ let t = [...new Set(e)];
144
+ if (t.some((e) => !Je.has(e))) throw TypeError("Breeze view transition types must be nav, mode, list, item or expand.");
145
+ return t;
146
+ }
147
+ function $e(e, t) {
148
+ let n = e.defaultView, r = n?.ViewTransition, i = n?.CSS?.supports;
149
+ return t.length > 0 && typeof e.startViewTransition == "function" && typeof r == "function" && "types" in r.prototype && typeof i == "function" && t.every((e) => i.call(n?.CSS, `selector(:active-view-transition-type(${e}))`));
150
+ }
151
+ function et(e) {
152
+ return e.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1;
153
+ }
154
+ function tt(e, t) {
155
+ if (!e.isConnected || e.matches("[data-breeze-overlay]") || e.closest("[hidden]") !== null || e.getClientRects().length === 0) return !1;
156
+ let n = t.defaultView?.getComputedStyle(e);
157
+ return n !== void 0 && n.display !== "none" && n.visibility !== "hidden" && n.visibility !== "collapse";
158
+ }
159
+ function nt(e, t, n) {
160
+ if (process.env.NODE_ENV === "production") return;
161
+ let r = Array.from(e.querySelectorAll("[data-breeze-transition-enabled=\"true\"][data-breeze-transition-name]")).filter((t) => tt(t, e)), i = /* @__PURE__ */ new Map();
162
+ r.forEach((e) => {
163
+ if ((e.dataset.breezeTransitionTypes?.split(/\s+/))?.some((e) => t.includes(e))) {
164
+ let t = e.dataset.breezeTransitionName;
165
+ t && i.set(t, (i.get(t) ?? 0) + 1);
166
+ }
167
+ }), i.forEach((e, r) => {
168
+ e > 1 && console.error(`Breeze view transition types "${t.join(", ")}" have duplicate participant name "${r}" in the ${n} snapshot. Eligible names must be unique in both snapshots.`);
169
+ });
170
+ }
171
+ var rt = /* @__PURE__ */ new WeakMap();
172
+ function it(e, t) {
173
+ let n = Qe(t), { document: r } = globalThis;
174
+ if (r === void 0 || n.length === 0 || !$e(r, n) || et(r)) try {
175
+ return Promise.resolve(e());
176
+ } catch (e) {
177
+ return Promise.reject(e instanceof Error ? e : Error(String(e)));
178
+ }
179
+ nt(r, n, "old"), rt.get(r)?.skipTransition();
180
+ let i = r.startViewTransition({
181
+ types: n,
182
+ update: async () => {
183
+ await e(), nt(r, n, "new");
184
+ }
185
+ });
186
+ rt.set(r, i), i.ready.catch(() => void 0);
187
+ let a = () => {
188
+ rt.get(r) === i && rt.delete(r);
189
+ };
190
+ return i.finished.then(a, a), i.updateCallbackDone;
191
+ }
192
+ function at(e) {
193
+ let t = [], n = (r) => {
194
+ if (t.includes(r)) return;
195
+ let i = e.find((e) => e.id === r.parent);
196
+ i && n(i), t.push(r);
197
+ };
198
+ e.forEach(n);
199
+ let r = (t) => {
200
+ let n = e.find((e) => e.id === t.parent);
201
+ return t.visual && (!n || r(n));
202
+ };
203
+ return t.filter(r);
204
+ }
205
+ function ot(e) {
206
+ U();
207
+ let t = r(Ue), i = r(Ge);
208
+ if (t === null) throw Error("Breeze components must be rendered within BreezeProvider.");
209
+ let a = at(u(t.subscribe, t.getSnapshot, t.getSnapshot)), o = i ? a.at(-1)?.id === i.id : a.length === 0, s = "role" in e ? Ze[e.role] : void 0, c = s?.name ?? e.name, l = Qe(s?.types ?? e.types);
210
+ if (!Ye.test(c) || s === void 0 && Xe.has(c.toLowerCase())) throw TypeError("Breeze transition participant names must be CSS custom identifiers and cannot use a name reserved by the browser or Breeze.");
211
+ if (l.length === 0) throw RangeError("Breeze transition participants require at least one transition type.");
212
+ let d = l.join(" ");
213
+ return n((e) => {
214
+ if (e === null) return;
215
+ let { dataset: t } = e, n = t.breezeTransitionName, r = t.breezeTransitionTypes, i = t.breezeTransitionEnabled, a = e.style.getPropertyValue("--breeze-transition-name"), s = e.style.getPropertyPriority("--breeze-transition-name");
216
+ return t.breezeTransitionName = c, t.breezeTransitionTypes = d, t.breezeTransitionEnabled = String(o), e.style.setProperty("--breeze-transition-name", c), () => {
217
+ n === void 0 ? delete t.breezeTransitionName : t.breezeTransitionName = n, r === void 0 ? delete t.breezeTransitionTypes : t.breezeTransitionTypes = r, i === void 0 ? delete t.breezeTransitionEnabled : t.breezeTransitionEnabled = i, a === "" ? e.style.removeProperty("--breeze-transition-name") : e.style.setProperty("--breeze-transition-name", a, s);
218
+ };
219
+ }, [
220
+ o,
221
+ c,
222
+ d
223
+ ]);
224
+ }
225
+ //#endregion
38
226
  //#region src/patterns/AppearanceControl/AppearanceControl.tsx
39
- var Re = {
227
+ var st = {
40
228
  base: {
41
229
  control: "breeze:flex breeze:items-center breeze:gap-breeze-2 breeze:font-breeze-sans",
42
230
  group: "breeze:flex breeze:items-center breeze:gap-breeze-2",
@@ -47,7 +235,7 @@ var Re = {
47
235
  size: {},
48
236
  state: { selected: "breeze:data-[selected]:border-breeze-brand breeze:data-[selected]:bg-breeze-brand-soft breeze:data-[selected]:text-breeze-brand-text breeze:forced-colors:data-[selected]:outline-2 breeze:forced-colors:data-[selected]:outline-offset-2" },
49
237
  variant: {}
50
- }, ze = [
238
+ }, ct = [
51
239
  {
52
240
  message: "appearanceLight",
53
241
  value: "light"
@@ -61,40 +249,40 @@ var Re = {
61
249
  value: "dark"
62
250
  }
63
251
  ];
64
- function Be(e) {
65
- return ze.some((t) => t.value === e);
252
+ function lt(e) {
253
+ return ct.some((t) => t.value === e);
66
254
  }
67
- function Ve() {
68
- let { appearance: n, getMessageLocale: r, messages: i, setAppearance: a } = W();
255
+ function ut() {
256
+ let { appearance: e, getMessageLocale: t, messages: n, setAppearance: r } = U();
69
257
  return /* @__PURE__ */ h("div", {
70
- className: Re.base.control,
258
+ className: st.base.control,
71
259
  children: [/* @__PURE__ */ m("span", {
72
- className: Re.base.label,
73
- lang: r("appearance"),
74
- children: i.appearance
75
- }), /* @__PURE__ */ m(t, {
76
- "aria-label": i.appearance,
77
- className: Re.base.group,
260
+ className: st.base.label,
261
+ lang: t("appearance"),
262
+ children: n.appearance
263
+ }), /* @__PURE__ */ m(f, {
264
+ "aria-label": n.appearance,
265
+ className: st.base.group,
78
266
  disallowEmptySelection: !0,
79
- lang: r("appearance"),
267
+ lang: t("appearance"),
80
268
  onSelectionChange: (e) => {
81
269
  let [t] = e;
82
- Be(t) && a(t);
270
+ lt(t) && r(t);
83
271
  },
84
- selectedKeys: [n],
272
+ selectedKeys: [e],
85
273
  selectionMode: "single",
86
- children: ze.map((t) => /* @__PURE__ */ m(e, {
87
- className: [Re.base.option, Re.state.selected].join(" "),
88
- id: t.value,
89
- lang: r(t.message),
90
- children: i[t.message]
91
- }, t.value))
274
+ children: ct.map((e) => /* @__PURE__ */ m(d, {
275
+ className: [st.base.option, st.state.selected].join(" "),
276
+ id: e.value,
277
+ lang: t(e.message),
278
+ children: n[e.message]
279
+ }, e.value))
92
280
  })]
93
281
  });
94
282
  }
95
283
  //#endregion
96
284
  //#region src/primitives/Skeleton/Skeleton.tsx
97
- var He = {
285
+ var dt = {
98
286
  base: { skeleton: "breeze:block breeze:animate-pulse breeze:appearance-none breeze:bg-breeze-ink-3 breeze:pointer-events-none breeze:forced-colors:outline breeze:forced-colors:outline-1 breeze:forced-colors:outline-[CanvasText]" },
99
287
  compound: {},
100
288
  size: {},
@@ -105,37 +293,37 @@ var He = {
105
293
  text: "breeze:block-size-breeze-3 breeze:inline-size-full breeze:rounded-breeze-xs"
106
294
  }
107
295
  };
108
- function G({ blockSize: e, inlineSize: t, label: n, shape: r = "text" }) {
109
- let { getMessageLocale: i, messages: a } = W(), o = n?.trim() || void 0, s = e ?? t ?? "0.75rem", c = {
296
+ function W({ blockSize: e, inlineSize: t, label: n, shape: r = "text" }) {
297
+ let { getMessageLocale: i, messages: a } = U(), o = n?.trim() || void 0, s = e ?? t ?? "0.75rem", c = {
110
298
  blockSize: r === "circle" ? s : e,
111
299
  inlineSize: r === "circle" ? s : t
112
300
  };
113
301
  return /* @__PURE__ */ m("progress", {
114
302
  "aria-hidden": o === void 0 || void 0,
115
303
  "aria-label": o,
116
- className: [He.base.skeleton, He.variant[r]].join(" "),
304
+ className: [dt.base.skeleton, dt.variant[r]].join(" "),
117
305
  lang: o === a.loading.trim() ? i("loading") : void 0,
118
306
  style: c
119
307
  });
120
308
  }
121
309
  //#endregion
122
310
  //#region src/primitives/VisuallyHidden/VisuallyHidden.tsx
123
- var Ue = {
311
+ var ft = {
124
312
  base: { hidden: "breeze:sr-only" },
125
313
  compound: {},
126
314
  size: {},
127
315
  state: {},
128
316
  variant: {}
129
317
  };
130
- function We({ children: e }) {
318
+ function pt({ children: e }) {
131
319
  return /* @__PURE__ */ m("span", {
132
- className: Ue.base.hidden,
320
+ className: ft.base.hidden,
133
321
  children: e
134
322
  });
135
323
  }
136
324
  //#endregion
137
325
  //#region src/primitives/Badge/Badge.tsx
138
- var Ge = {
326
+ var mt = {
139
327
  base: {
140
328
  badge: "breeze:inline-grid breeze:shrink-0 breeze:items-center breeze:whitespace-nowrap breeze:rounded-breeze-chip breeze:ps-breeze-2 breeze:pe-breeze-2 breeze:py-breeze-px breeze:text-breeze-2xs breeze:font-bold breeze:leading-breeze-snug breeze:tracking-breeze-wide",
141
329
  content: "breeze:[grid-area:1/1]",
@@ -152,29 +340,29 @@ var Ge = {
152
340
  warning: "breeze:bg-breeze-warn-soft breeze:text-breeze-warn"
153
341
  }
154
342
  };
155
- function Ke({ "aria-label": e, children: t, loading: n = !1, variant: r = "neutral" }) {
156
- let { messages: i } = W(), a = e?.trim() || void 0, o;
343
+ function ht({ "aria-label": e, children: t, loading: n = !1, variant: r = "neutral" }) {
344
+ let { messages: i } = U(), a = e?.trim() || void 0, o;
157
345
  return n ? o = /* @__PURE__ */ m("span", {
158
- className: Ge.base.skeleton,
159
- children: /* @__PURE__ */ m(G, {
346
+ className: mt.base.skeleton,
347
+ children: /* @__PURE__ */ m(W, {
160
348
  blockSize: 8,
161
349
  inlineSize: "100%",
162
350
  label: i.loading,
163
351
  shape: "rectangle"
164
352
  })
165
- }) : a !== void 0 && (o = /* @__PURE__ */ m(We, { children: a })), /* @__PURE__ */ h("span", {
353
+ }) : a !== void 0 && (o = /* @__PURE__ */ m(pt, { children: a })), /* @__PURE__ */ h("span", {
166
354
  "aria-busy": n || void 0,
167
- className: [Ge.base.badge, Ge.variant[r]].join(" "),
355
+ className: [mt.base.badge, mt.variant[r]].join(" "),
168
356
  children: [/* @__PURE__ */ m("span", {
169
357
  "aria-hidden": n || a !== void 0 ? !0 : void 0,
170
- className: [Ge.base.content, n && Ge.state.contentLoading].filter(Boolean).join(" "),
358
+ className: [mt.base.content, n && mt.state.contentLoading].filter(Boolean).join(" "),
171
359
  children: t
172
360
  }), o]
173
361
  });
174
362
  }
175
363
  //#endregion
176
364
  //#region src/primitives/Button/Button.tsx
177
- var K = {
365
+ var G = {
178
366
  base: {
179
367
  button: "breeze:relative breeze:inline-grid breeze:items-center breeze:justify-center breeze:gap-breeze-2 breeze:border breeze:border-solid breeze:rounded-breeze-ctl breeze:font-breeze-sans breeze:text-breeze-sm breeze:leading-breeze-snug breeze:cursor-pointer breeze:select-none breeze:[text-align:center] breeze:outline-offset-2 breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:any-pointer-coarse:min-block-breeze-tap breeze:any-pointer-coarse:min-inline-breeze-tap",
180
368
  label: "breeze:[grid-area:1/1]",
@@ -204,28 +392,28 @@ var K = {
204
392
  secondary: "breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:text-breeze-ink breeze:data-[hovered]:bg-breeze-sunken breeze:data-[pressed]:bg-breeze-sunken"
205
393
  }
206
394
  };
207
- function qe() {
208
- let e = v(_), { getMessageLocale: t, messages: n } = W();
395
+ function gt() {
396
+ let e = v(_), { getMessageLocale: t, messages: n } = U();
209
397
  return /* @__PURE__ */ m("progress", {
210
398
  "aria-label": n.loading,
211
- className: K.state.loadingStatus,
399
+ className: G.state.loadingStatus,
212
400
  id: e?.id,
213
401
  lang: t("loading")
214
402
  });
215
403
  }
216
- function Je({ "aria-controls": e, "aria-describedby": t, "aria-expanded": n, "aria-haspopup": i, "aria-label": a, "aria-labelledby": o, children: s, disabled: c = !1, form: l, id: u, loading: d = !1, name: f, onAction: _, ref: v, size: y = "md", type: b = "button", value: x, variant: S = "primary" }) {
217
- W();
404
+ function _t({ "aria-controls": e, "aria-describedby": n, "aria-expanded": r, "aria-haspopup": i, "aria-label": a, "aria-labelledby": o, children: s, disabled: c = !1, form: l, id: u, loading: d = !1, name: f, onAction: _, ref: v, size: y = "md", type: b = "button", value: x, variant: S = "primary" }) {
405
+ U();
218
406
  let C = [
219
- K.base.button,
220
- K.variant[S],
221
- K.size[y],
222
- c && K.state.disabled,
223
- d && K.state.loading
407
+ G.base.button,
408
+ G.variant[S],
409
+ G.size[y],
410
+ c && G.state.disabled,
411
+ d && G.state.loading
224
412
  ].filter(Boolean).join(" ");
225
413
  return /* @__PURE__ */ h(g, {
226
414
  "aria-controls": e,
227
- "aria-describedby": t,
228
- "aria-expanded": n,
415
+ "aria-describedby": n,
416
+ "aria-expanded": r,
229
417
  "aria-haspopup": i,
230
418
  "aria-label": a ?? s,
231
419
  "aria-labelledby": o,
@@ -237,7 +425,7 @@ function Je({ "aria-controls": e, "aria-describedby": t, "aria-expanded": n, "ar
237
425
  name: f,
238
426
  onPress: () => _?.(),
239
427
  ref: v,
240
- render: (e) => r("button", {
428
+ render: (e) => t("button", {
241
429
  ...e,
242
430
  "aria-busy": d || void 0,
243
431
  onClick: d ? (e) => e.preventDefault() : e.onClick,
@@ -246,18 +434,18 @@ function Je({ "aria-controls": e, "aria-describedby": t, "aria-expanded": n, "ar
246
434
  type: b,
247
435
  value: x,
248
436
  children: [/* @__PURE__ */ m("span", {
249
- className: [K.base.label, d && K.state.loadingLabel].filter(Boolean).join(" "),
437
+ className: [G.base.label, d && G.state.loadingLabel].filter(Boolean).join(" "),
250
438
  children: s
251
- }), d && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(qe, {}), /* @__PURE__ */ m("span", {
439
+ }), d && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(gt, {}), /* @__PURE__ */ m("span", {
252
440
  "aria-hidden": "true",
253
- className: [K.base.skeleton, K.compound.loading[S]].join(" "),
441
+ className: [G.base.skeleton, G.compound.loading[S]].join(" "),
254
442
  "data-breeze-skeleton": ""
255
443
  })] })]
256
444
  });
257
445
  }
258
446
  //#endregion
259
447
  //#region src/primitives/Field/field.styles.ts
260
- var q = {
448
+ var K = {
261
449
  base: {
262
450
  control: "breeze:relative breeze:inline-grid breeze:min-inline-size-0 breeze:inline-size-full",
263
451
  description: "breeze:m-0 breeze:text-breeze-xs breeze:font-normal breeze:leading-breeze-snug breeze:text-breeze-ink-3",
@@ -272,12 +460,12 @@ var q = {
272
460
  state: { loadingInput: "breeze:!opacity-0" },
273
461
  variant: {}
274
462
  };
275
- function J(...e) {
463
+ function q(...e) {
276
464
  return e.filter(Boolean).join(" ");
277
465
  }
278
466
  //#endregion
279
467
  //#region src/primitives/Icon/Icon.tsx
280
- var Ye = {
468
+ var vt = {
281
469
  add: ie,
282
470
  back: te,
283
471
  building: A,
@@ -285,8 +473,8 @@ var Ye = {
285
473
  camera: M,
286
474
  check: N,
287
475
  clock: F,
288
- close: se,
289
- delete: V,
476
+ close: ce,
477
+ delete: oe,
290
478
  document: R,
291
479
  download: I,
292
480
  expand: ee,
@@ -299,12 +487,12 @@ var Ye = {
299
487
  next: P,
300
488
  notifications: k,
301
489
  overview: ne,
302
- people: U,
490
+ people: H,
303
491
  settings: ae,
304
492
  signOut: B,
305
- upload: H,
306
- warning: oe
307
- }, Xe = {
493
+ upload: V,
494
+ warning: se
495
+ }, yt = {
308
496
  base: { icon: "breeze:block breeze:shrink-0" },
309
497
  compound: {},
310
498
  size: {
@@ -314,20 +502,20 @@ var Ye = {
314
502
  },
315
503
  state: { logicalDirection: "breeze:rtl:rotate-180" },
316
504
  variant: {}
317
- }, Ze = /* @__PURE__ */ new Set([
505
+ }, bt = /* @__PURE__ */ new Set([
318
506
  "back",
319
507
  "forward",
320
508
  "next"
321
509
  ]);
322
- function Y({ label: e, name: t, size: n = "md" }) {
323
- let r = Ye[t], i = e?.trim() || void 0;
510
+ function J({ label: e, name: t, size: n = "md" }) {
511
+ let r = vt[t], i = e?.trim() || void 0;
324
512
  return /* @__PURE__ */ m(r, {
325
513
  "aria-hidden": i === void 0 || void 0,
326
514
  "aria-label": i,
327
515
  className: [
328
- Xe.base.icon,
329
- Xe.size[n],
330
- Ze.has(t) && Xe.state.logicalDirection
516
+ yt.base.icon,
517
+ yt.size[n],
518
+ bt.has(t) && yt.state.logicalDirection
331
519
  ].filter(Boolean).join(" "),
332
520
  focusable: "false",
333
521
  role: i === void 0 ? void 0 : "img",
@@ -336,7 +524,7 @@ function Y({ label: e, name: t, size: n = "md" }) {
336
524
  }
337
525
  //#endregion
338
526
  //#region src/primitives/Calendar/Calendar.tsx
339
- var X = {
527
+ var Y = {
340
528
  base: {
341
529
  cell: "breeze:grid breeze:min-block-breeze-8 breeze:min-inline-breeze-8 breeze:any-pointer-coarse:min-block-breeze-tap breeze:any-pointer-coarse:min-inline-breeze-tap breeze:place-items-center breeze:rounded-breeze-full breeze:font-breeze-sans breeze:text-breeze-sm breeze:text-breeze-ink breeze:outline-offset-2 breeze:data-[focused]:bg-breeze-sunken breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[hovered]:bg-breeze-sunken breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:opacity-50 breeze:data-[outside-month]:text-breeze-ink-3",
342
530
  disabledRoot: "breeze:pointer-events-none breeze:[&>div:last-child]:hidden",
@@ -354,71 +542,71 @@ var X = {
354
542
  state: {},
355
543
  variant: {}
356
544
  };
357
- function Qe(e) {
545
+ function xt(e) {
358
546
  try {
359
547
  return y(e);
360
548
  } catch {
361
549
  return null;
362
550
  }
363
551
  }
364
- function $e({ disabled: e }) {
552
+ function St({ disabled: e }) {
365
553
  return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
366
- className: X.base.header,
554
+ className: Y.base.header,
367
555
  children: [
368
556
  /* @__PURE__ */ m(g, {
369
- className: X.base.navButton,
557
+ className: Y.base.navButton,
370
558
  isDisabled: e,
371
559
  slot: "previous",
372
- children: /* @__PURE__ */ m(Y, {
560
+ children: /* @__PURE__ */ m(J, {
373
561
  name: "back",
374
562
  size: "sm"
375
563
  })
376
564
  }),
377
- /* @__PURE__ */ m(E, { className: X.base.heading }),
565
+ /* @__PURE__ */ m(E, { className: Y.base.heading }),
378
566
  /* @__PURE__ */ m(g, {
379
- className: X.base.navButton,
567
+ className: Y.base.navButton,
380
568
  isDisabled: e,
381
569
  slot: "next",
382
- children: /* @__PURE__ */ m(Y, {
570
+ children: /* @__PURE__ */ m(J, {
383
571
  name: "next",
384
572
  size: "sm"
385
573
  })
386
574
  })
387
575
  ]
388
576
  }), /* @__PURE__ */ h(S, {
389
- className: X.base.grid,
577
+ className: Y.base.grid,
390
578
  weekdayStyle: "short",
391
579
  children: [/* @__PURE__ */ m(w, { children: (e) => /* @__PURE__ */ m(T, {
392
- className: X.base.weekday,
580
+ className: Y.base.weekday,
393
581
  children: e
394
- }) }), /* @__PURE__ */ m(C, { children: (t) => /* @__PURE__ */ m(x, {
395
- className: ({ isSelected: e, isToday: t }) => J(X.base.cell, e && X.base.selectedCell, t && !e && X.base.todayCell),
396
- date: t,
397
- render: (t) => r("div", {
398
- ...t,
399
- "aria-disabled": e || t["aria-disabled"],
582
+ }) }), /* @__PURE__ */ m(C, { children: (n) => /* @__PURE__ */ m(x, {
583
+ className: ({ isSelected: e, isToday: t }) => q(Y.base.cell, e && Y.base.selectedCell, t && !e && Y.base.todayCell),
584
+ date: n,
585
+ render: (n) => t("div", {
586
+ ...n,
587
+ "aria-disabled": e || n["aria-disabled"],
400
588
  ...e ? { "data-disabled": !0 } : {},
401
- tabIndex: e ? -1 : t.tabIndex
589
+ tabIndex: e ? -1 : n.tabIndex
402
590
  })
403
591
  }) })]
404
592
  })] });
405
593
  }
406
- function et({ autoFocus: e, defaultValue: t, disabled: n, label: i, onChange: a, value: s }) {
407
- let c = s?.toString(), l = u(c), [f, p] = d(s ?? void 0);
408
- o(() => {
409
- c !== l.current && (l.current = c, s != null && p(s));
410
- }, [c, s]);
411
- let h = s != null && c !== l.current ? s : f, g = s == null ? {} : {
594
+ function Ct({ autoFocus: e, defaultValue: n, disabled: r, label: a, onChange: o, value: s }) {
595
+ let u = s?.toString(), d = c(u), [f, p] = l(s ?? void 0);
596
+ i(() => {
597
+ u !== d.current && (d.current = u, s != null && p(s));
598
+ }, [u, s]);
599
+ let h = s != null && u !== d.current ? s : f, g = s == null ? {} : {
412
600
  focusedValue: h,
413
601
  onFocusChange: p
414
- }, _ = s === void 0 ? {} : { value: s }, v = t === void 0 ? {} : { defaultValue: t }, y = a === void 0 ? {} : { onChange: a };
415
- return r(b, {
416
- "aria-label": i,
417
- autoFocus: e && !n,
418
- className: J(X.base.root, n && X.base.disabledRoot),
602
+ }, _ = s === void 0 ? {} : { value: s }, v = n === void 0 ? {} : { defaultValue: n }, y = o === void 0 ? {} : { onChange: o };
603
+ return t(b, {
604
+ "aria-label": a,
605
+ autoFocus: e && !r,
606
+ className: q(Y.base.root, r && Y.base.disabledRoot),
419
607
  firstDayOfWeek: "mon",
420
- isReadOnly: n,
421
- render: n ? (e) => r("div", {
608
+ isReadOnly: r,
609
+ render: r ? (e) => t("div", {
422
610
  ...e,
423
611
  "aria-disabled": !0,
424
612
  onKeyDownCapture: (e) => {
@@ -430,13 +618,13 @@ function et({ autoFocus: e, defaultValue: t, disabled: n, label: i, onChange: a,
430
618
  ...v,
431
619
  ...y,
432
620
  ..._
433
- }, /* @__PURE__ */ m($e, { disabled: n }));
621
+ }, /* @__PURE__ */ m(St, { disabled: r }));
434
622
  }
435
- function tt({ autoFocus: e = !1, defaultValue: t, disabled: n = !1, label: r, onChange: i, value: a }) {
436
- let o = a === void 0 ? void 0 : Qe(a);
437
- return /* @__PURE__ */ m(et, {
623
+ function wt({ autoFocus: e = !1, defaultValue: t, disabled: n = !1, label: r, onChange: i, value: a }) {
624
+ let o = a === void 0 ? void 0 : xt(a);
625
+ return /* @__PURE__ */ m(Ct, {
438
626
  autoFocus: e,
439
- defaultValue: t === void 0 ? void 0 : Qe(t),
627
+ defaultValue: t === void 0 ? void 0 : xt(t),
440
628
  disabled: n,
441
629
  label: r,
442
630
  onChange: (e) => {
@@ -447,7 +635,7 @@ function tt({ autoFocus: e = !1, defaultValue: t, disabled: n = !1, label: r, on
447
635
  }
448
636
  //#endregion
449
637
  //#region src/primitives/layout.accessibility.ts
450
- function nt(e, t) {
638
+ function Tt(e, t) {
451
639
  let n = e?.trim() || void 0;
452
640
  return {
453
641
  accessibleLabel: n,
@@ -456,7 +644,7 @@ function nt(e, t) {
456
644
  }
457
645
  //#endregion
458
646
  //#region src/primitives/Card/Card.tsx
459
- var rt = {
647
+ var Et = {
460
648
  base: { card: "breeze:min-inline-size-0 breeze:rounded-breeze-panel breeze:border breeze:border-solid breeze:border-breeze-line breeze:shadow-breeze-panel" },
461
649
  compound: {},
462
650
  size: {
@@ -476,62 +664,62 @@ var rt = {
476
664
  surface: "breeze:bg-breeze-surface"
477
665
  }
478
666
  };
479
- function it({ "aria-label": e, children: t, clipped: n = !0, element: i = "div", padding: a = 4, variant: o = "surface" }) {
480
- let { accessibleLabel: s, role: c } = nt(e, i);
481
- return r(i, {
667
+ function Dt({ "aria-label": e, children: n, clipped: r = !0, element: i = "div", padding: a = 4, variant: o = "surface" }) {
668
+ let { accessibleLabel: s, role: c } = Tt(e, i);
669
+ return t(i, {
482
670
  "aria-label": s,
483
671
  className: [
484
- rt.base.card,
485
- rt.variant[o],
486
- rt.size[a],
487
- n && rt.state.clipped
672
+ Et.base.card,
673
+ Et.variant[o],
674
+ Et.size[a],
675
+ r && Et.state.clipped
488
676
  ].filter(Boolean).join(" "),
489
677
  role: c
490
- }, t);
678
+ }, n);
491
679
  }
492
680
  //#endregion
493
681
  //#region src/primitives/Field/field.presentation.tsx
494
- function at({ htmlFor: e, id: t, label: n, loading: r, onClick: i }) {
495
- return /* @__PURE__ */ m(fe, {
496
- className: q.base.label,
682
+ function Ot({ htmlFor: e, id: t, label: n, loading: r, onClick: i }) {
683
+ return /* @__PURE__ */ m(pe, {
684
+ className: K.base.label,
497
685
  htmlFor: e,
498
686
  id: t,
499
687
  onClick: i,
500
- children: r ? /* @__PURE__ */ m(G, {
688
+ children: r ? /* @__PURE__ */ m(W, {
501
689
  blockSize: "1lh",
502
690
  inlineSize: "12em",
503
691
  shape: "rectangle"
504
692
  }) : n
505
693
  });
506
694
  }
507
- function ot({ description: e, descriptionId: t, error: n, errorId: r, loading: i }) {
508
- return /* @__PURE__ */ h(p, { children: [e && /* @__PURE__ */ m(pe, {
509
- className: q.base.description,
695
+ function kt({ description: e, descriptionId: t, error: n, errorId: r, loading: i }) {
696
+ return /* @__PURE__ */ h(p, { children: [e && /* @__PURE__ */ m(me, {
697
+ className: K.base.description,
510
698
  id: t,
511
699
  slot: "description",
512
- children: i ? /* @__PURE__ */ m(G, {
700
+ children: i ? /* @__PURE__ */ m(W, {
513
701
  blockSize: "1lh",
514
702
  inlineSize: "12em",
515
703
  shape: "rectangle"
516
704
  }) : e
517
705
  }), n && (i ? /* @__PURE__ */ m("span", {
518
706
  "aria-hidden": "true",
519
- className: q.base.error,
707
+ className: K.base.error,
520
708
  id: r,
521
- children: /* @__PURE__ */ m(G, {
709
+ children: /* @__PURE__ */ m(W, {
522
710
  blockSize: "1lh",
523
711
  inlineSize: "12em",
524
712
  shape: "rectangle"
525
713
  })
526
- }) : /* @__PURE__ */ m(de, {
527
- className: q.base.error,
714
+ }) : /* @__PURE__ */ m(fe, {
715
+ className: K.base.error,
528
716
  id: r,
529
717
  children: n
530
718
  }))] });
531
719
  }
532
720
  //#endregion
533
721
  //#region src/primitives/Checkbox/Checkbox.tsx
534
- var st = {
722
+ var At = {
535
723
  base: {
536
724
  control: "breeze:relative breeze:inline-grid breeze:min-block-breeze-tap breeze:grid-flow-col breeze:items-center breeze:gap-breeze-2 breeze:cursor-pointer breeze:select-none breeze:font-breeze-sans breeze:text-breeze-sm breeze:font-medium breeze:leading-breeze-snug breeze:text-breeze-ink breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:opacity-60",
537
725
  indicator: "breeze:inline-grid breeze:block-size-breeze-5 breeze:inline-size-breeze-5 breeze:shrink-0 breeze:place-items-center breeze:rounded-breeze-chip breeze:border breeze:border-solid breeze:border-breeze-ink-3 breeze:bg-breeze-surface breeze:text-breeze-on-brand breeze:transition-colors breeze:data-[selected]:border-breeze-brand breeze:data-[selected]:bg-breeze-brand breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand",
@@ -544,10 +732,10 @@ var st = {
544
732
  state: {},
545
733
  variant: {}
546
734
  };
547
- function ct({ defaultSelected: e, description: t, disabled: n = !1, error: r, form: i, id: a, label: o, loading: s = !1, name: c, onChange: l, readOnly: u = !1, ref: d, required: f = !1, selected: g, value: _ }) {
548
- let { messages: v } = W(), y = ce(d), b = t?.trim() || void 0, x = r?.trim() || void 0, S = n || s;
549
- return /* @__PURE__ */ h(ue, {
550
- className: q.base.root,
735
+ function jt({ defaultSelected: e, description: t, disabled: n = !1, error: r, form: i, id: a, label: o, loading: s = !1, name: c, onChange: l, readOnly: u = !1, ref: d, required: f = !1, selected: g, value: _ }) {
736
+ let { messages: v } = U(), y = le(d), b = t?.trim() || void 0, x = r?.trim() || void 0, S = n || s;
737
+ return /* @__PURE__ */ h(de, {
738
+ className: K.base.root,
551
739
  defaultSelected: e,
552
740
  form: i,
553
741
  id: a,
@@ -562,19 +750,19 @@ function ct({ defaultSelected: e, description: t, disabled: n = !1, error: r, fo
562
750
  onChange: l,
563
751
  value: _,
564
752
  validationBehavior: "aria",
565
- children: [/* @__PURE__ */ m(le, {
566
- className: st.base.control,
753
+ children: [/* @__PURE__ */ m(ue, {
754
+ className: At.base.control,
567
755
  children: ({ isFocusVisible: e, isSelected: t }) => /* @__PURE__ */ h(p, { children: [s && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("span", {
568
756
  "aria-hidden": "true",
569
- className: st.base.skeletonIndicator,
570
- children: /* @__PURE__ */ m(G, {
757
+ className: At.base.skeletonIndicator,
758
+ children: /* @__PURE__ */ m(W, {
571
759
  blockSize: "100%",
572
760
  inlineSize: "100%",
573
761
  shape: "rectangle"
574
762
  })
575
763
  }), /* @__PURE__ */ m("span", {
576
- className: st.base.skeleton,
577
- children: /* @__PURE__ */ m(G, {
764
+ className: At.base.skeleton,
765
+ children: /* @__PURE__ */ m(W, {
578
766
  blockSize: "1lh",
579
767
  inlineSize: "12em",
580
768
  label: v.loading,
@@ -582,15 +770,15 @@ function ct({ defaultSelected: e, description: t, disabled: n = !1, error: r, fo
582
770
  })
583
771
  })] }), !s && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("span", {
584
772
  "aria-hidden": "true",
585
- className: st.base.indicator,
773
+ className: At.base.indicator,
586
774
  "data-focus-visible": e || void 0,
587
775
  "data-selected": t || void 0,
588
776
  children: t ? "✓" : ""
589
777
  }), /* @__PURE__ */ m("span", {
590
- className: st.base.label,
778
+ className: At.base.label,
591
779
  children: o
592
780
  })] })] })
593
- }), /* @__PURE__ */ m(ot, {
781
+ }), /* @__PURE__ */ m(kt, {
594
782
  description: b,
595
783
  error: x,
596
784
  loading: s
@@ -599,7 +787,7 @@ function ct({ defaultSelected: e, description: t, disabled: n = !1, error: r, fo
599
787
  }
600
788
  //#endregion
601
789
  //#region src/primitives/SelectionControl/SelectionControl.tsx
602
- var lt = {
790
+ var Mt = {
603
791
  base: {
604
792
  label: "breeze:[grid-area:1/1]",
605
793
  skeleton: "breeze:[grid-area:1/1] breeze:inline-size-full breeze:block-size-breeze-3",
@@ -610,44 +798,44 @@ var lt = {
610
798
  loadingLabel: "breeze:opacity-0"
611
799
  }
612
800
  };
613
- function ut({ "aria-describedby": t, "aria-label": n, "aria-labelledby": i, children: a, className: o, defaultPressed: s, disabled: c, id: l, announceLoading: u = !0, loading: f, onChange: g, pressed: _, ref: v }) {
614
- let { getMessageLocale: y, messages: b } = W(), [x, S] = d(s ?? !1), C = _ !== void 0, w = C ? _ : x;
801
+ function Nt({ "aria-describedby": e, "aria-label": n, "aria-labelledby": r, children: i, className: a, defaultPressed: o, disabled: s, id: c, announceLoading: u = !0, loading: f, onChange: g, pressed: _, ref: v }) {
802
+ let { getMessageLocale: y, messages: b } = U(), [x, S] = l(o ?? !1), C = _ !== void 0, w = C ? _ : x;
615
803
  return /* @__PURE__ */ h(p, { children: [
616
- /* @__PURE__ */ h(e, {
617
- "aria-describedby": t,
804
+ /* @__PURE__ */ h(d, {
805
+ "aria-describedby": e,
618
806
  "aria-label": n,
619
- "aria-labelledby": i,
620
- className: [o, f && lt.state.loading].filter(Boolean).join(" "),
621
- id: l,
622
- isDisabled: c,
807
+ "aria-labelledby": r,
808
+ className: [a, f && Mt.state.loading].filter(Boolean).join(" "),
809
+ id: c,
810
+ isDisabled: s,
623
811
  isSelected: w,
624
812
  onChange: (e) => {
625
813
  f || (C || S(e), g?.(e));
626
814
  },
627
815
  ref: v,
628
- render: (e) => r("button", {
816
+ render: (e) => t("button", {
629
817
  ...e,
630
818
  "aria-busy": f || void 0,
631
- "aria-disabled": c || f || void 0,
819
+ "aria-disabled": s || f || void 0,
632
820
  type: "button"
633
821
  }),
634
822
  children: [/* @__PURE__ */ m("span", {
635
- className: [lt.base.label, f && lt.state.loadingLabel].filter(Boolean).join(" "),
636
- children: a
823
+ className: [Mt.base.label, f && Mt.state.loadingLabel].filter(Boolean).join(" "),
824
+ children: i
637
825
  }), f && /* @__PURE__ */ m("span", {
638
826
  "aria-hidden": "true",
639
- className: lt.base.skeleton,
827
+ className: Mt.base.skeleton,
640
828
  "data-breeze-skeleton": "",
641
- children: /* @__PURE__ */ m(G, { inlineSize: "100%" })
829
+ children: /* @__PURE__ */ m(W, { inlineSize: "100%" })
642
830
  })]
643
831
  }),
644
832
  f && u && /* @__PURE__ */ m("span", {
645
- className: lt.base.status,
646
- children: /* @__PURE__ */ m(G, { label: b.loading })
833
+ className: Mt.base.status,
834
+ children: /* @__PURE__ */ m(W, { label: b.loading })
647
835
  }),
648
836
  u && /* @__PURE__ */ m("output", {
649
837
  "aria-live": "polite",
650
- className: lt.base.status,
838
+ className: Mt.base.status,
651
839
  lang: y("loading"),
652
840
  children: f ? b.loading : ""
653
841
  })
@@ -655,19 +843,19 @@ function ut({ "aria-describedby": t, "aria-label": n, "aria-labelledby": i, chil
655
843
  }
656
844
  //#endregion
657
845
  //#region src/primitives/Chip/Chip.tsx
658
- var dt = {
846
+ var Pt = {
659
847
  base: { chip: "breeze:inline-grid breeze:items-center breeze:justify-center breeze:whitespace-nowrap breeze:rounded-breeze-full breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:ps-breeze-3 breeze:pe-breeze-3 breeze:font-breeze-sans breeze:text-breeze-xs breeze:font-semibold breeze:text-breeze-ink breeze:cursor-pointer breeze:select-none breeze:outline-offset-2 breeze:data-[hovered]:bg-breeze-sunken breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:opacity-60 breeze:any-pointer-coarse:min-block-breeze-tap breeze:any-pointer-coarse:min-inline-breeze-tap breeze:min-block-breeze-sm" },
660
848
  compound: {},
661
849
  size: {},
662
850
  state: { pressed: "breeze:data-[selected]:border-breeze-brand breeze:data-[selected]:bg-breeze-brand-soft breeze:data-[selected]:text-breeze-brand-text breeze:forced-colors:data-[selected]:outline-2 breeze:forced-colors:data-[selected]:outline-offset-2" },
663
851
  variant: {}
664
852
  };
665
- function ft({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, children: r, defaultPressed: i, disabled: a = !1, id: o, loading: s = !1, onChange: c, pressed: l, ref: u }) {
666
- return /* @__PURE__ */ m(ut, {
853
+ function Ft({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, children: r, defaultPressed: i, disabled: a = !1, id: o, loading: s = !1, onChange: c, pressed: l, ref: u }) {
854
+ return /* @__PURE__ */ m(Nt, {
667
855
  "aria-describedby": e,
668
856
  "aria-label": t,
669
857
  "aria-labelledby": n,
670
- className: [dt.base.chip, dt.state.pressed].join(" "),
858
+ className: [Pt.base.chip, Pt.state.pressed].join(" "),
671
859
  defaultPressed: i,
672
860
  disabled: a,
673
861
  id: o,
@@ -680,7 +868,7 @@ function ft({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, chil
680
868
  }
681
869
  //#endregion
682
870
  //#region src/primitives/Collection/collection.styles.ts
683
- var Z = {
871
+ var X = {
684
872
  base: {
685
873
  badge: "breeze:ms-auto",
686
874
  content: "breeze:flex breeze:min-inline-size-0 breeze:flex-1 breeze:flex-col breeze:gap-breeze-1",
@@ -695,125 +883,59 @@ var Z = {
695
883
  size: {},
696
884
  state: {},
697
885
  variant: {}
698
- };
699
- //#endregion
700
- //#region src/overlays/OverlayStack.ts
701
- function pt() {
702
- let e = [], t = /* @__PURE__ */ new Set(), n = () => t.forEach((e) => e());
703
- return {
704
- getSnapshot: () => e,
705
- remove: (t) => {
706
- e = e.filter((e) => e.id !== t), n();
707
- },
708
- set: (t) => {
709
- let r = e.find((e) => e.id === t.id);
710
- r?.active === t.active && r.kind === t.kind && r.parent === t.parent && r.visual === t.visual || (e = r && (!t.active || r.active) ? e.map((e) => e.id === t.id ? t : e) : [...e.filter((e) => e.id !== t.id), t], n());
711
- },
712
- subscribe: (e) => (t.add(e), () => {
713
- t.delete(e);
714
- })
715
- };
716
- }
717
- var mt = n(null);
718
- function ht() {
719
- let e = a(mt);
720
- if (!e) throw Error("Breeze components must be rendered within BreezeProvider.");
721
- return 100 + f(e.subscribe, e.getSnapshot, e.getSnapshot).length * 2;
722
- }
723
- var gt = n(null);
724
- function _t(e, t, n) {
725
- let r = a(mt), i = a(gt), o = s();
726
- if (!r) throw Error("Breeze components must be rendered within BreezeProvider.");
727
- let l = f(r.subscribe, r.getSnapshot, r.getSnapshot), u = i?.id;
728
- c(() => () => r.remove(o), [o, r]), c(() => {
729
- r.set({
730
- active: t,
731
- id: o,
732
- kind: e,
733
- parent: u,
734
- visual: n
735
- });
736
- }, [
737
- o,
738
- e,
739
- t,
740
- u,
741
- r,
742
- n
743
- ]);
744
- let d = [], p = (e) => {
745
- if (d.includes(e)) return;
746
- let t = l.find((t) => t.id === e.parent);
747
- t && p(t), d.push(e);
748
- };
749
- l.forEach(p);
750
- let m = (e) => {
751
- let t = l.find((t) => t.id === e.parent);
752
- return e.active && (!t || m(t));
753
- }, h = d.filter(m), g = h.findIndex((e) => e.id === o), _ = t && g !== -1 && !h.slice(g + 1).some((e) => e.kind !== "popover"), v = t && h.at(-1)?.id === o, y = h.findLast((e) => e.kind === "drawer" || e.kind === "dialog"), b = d.findLast((e) => e.visual && (e.kind === "drawer" || e.kind === "dialog"));
754
- return {
755
- id: o,
756
- interactive: _,
757
- scrim: (y ?? b)?.id === o,
758
- topmost: v,
759
- zIndex: 100 + Math.max(0, d.findIndex((e) => e.id === o)) * 2
760
- };
761
- }
762
- //#endregion
763
- //#region src/overlays/OverlayProvider.tsx
764
- var vt = n(null), yt = "BreezeProvider portalContainer must belong to the current document and light DOM.";
765
- function bt({ children: e, portalContainer: t, locale: n }) {
766
- let { direction: r } = we(), [i] = d(pt), [a, o] = d(null);
767
- return c(() => {
886
+ }, It = e(null), Lt = "BreezeProvider portalContainer must belong to the current document and light DOM.";
887
+ function Rt({ children: e, portalContainer: t, locale: n }) {
888
+ let { direction: r } = Te(), [i] = l(He), [a, s] = l(null);
889
+ return o(() => {
768
890
  let e = t ?? document.body;
769
- if (e.ownerDocument !== document || e.getRootNode() !== document) throw Error(yt);
891
+ if (e.ownerDocument !== document || e.getRootNode() !== document) throw Error(Lt);
770
892
  let n = e.ownerDocument.createElement("div");
771
- return n.dataset.breezeRoot = "", n.dataset.breezePortal = "", e.append(n), o(n), () => n.remove();
772
- }, [t]), c(() => {
893
+ return n.dataset.breezeRoot = "", n.dataset.breezePortal = "", e.append(n), s(n), () => n.remove();
894
+ }, [t]), o(() => {
773
895
  a && (a.lang = n, a.dir = r);
774
896
  }, [
775
897
  r,
776
898
  a,
777
899
  n
778
- ]), /* @__PURE__ */ m(Se, {
900
+ ]), /* @__PURE__ */ m(Ce, {
779
901
  getContainer: () => a,
780
- children: /* @__PURE__ */ m(mt, {
902
+ children: /* @__PURE__ */ m(Ue, {
781
903
  value: i,
782
- children: /* @__PURE__ */ m(vt, {
904
+ children: /* @__PURE__ */ m(It, {
783
905
  value: a,
784
906
  children: e
785
907
  })
786
908
  })
787
909
  });
788
910
  }
789
- function xt() {
790
- return a(vt);
911
+ function zt() {
912
+ return r(It);
791
913
  }
792
914
  //#endregion
793
915
  //#region src/primitives/Collection/CollectionPopover.tsx
794
- var St = "Breeze overlay triggers and portal containers must belong to the current document and light DOM.";
795
- function Ct(e) {
916
+ var Bt = "Breeze overlay triggers and portal containers must belong to the current document and light DOM.";
917
+ function Vt(e) {
796
918
  return typeof e == "object" && !!e && "nodeType" in e && typeof e.contains == "function";
797
919
  }
798
- function wt({ children: e, className: t, containerPadding: n, isOpen: r, onOpenChange: s, triggerRef: l }) {
799
- let f = xt(), p = a(gt), h = p?.open ?? !0, [g, _] = d(p === null), [v, y] = d(!1), b = u(!1), x = u(null), S = u(null), C = u(null), w = r && h, T = _t("popover", w && g && f !== null, w || v), E = i((e) => {
920
+ function Ht({ children: e, className: t, containerPadding: a, isOpen: s, onOpenChange: u, triggerRef: d }) {
921
+ let f = zt(), p = r(Ge), h = p?.open ?? !0, [g, _] = l(p === null), [v, y] = l(!1), b = c(!1), x = c(null), S = c(null), C = c(null), w = s && h, T = Ke("popover", w && g && f !== null, w || v), E = n((e) => {
800
922
  x.current = e, y(e !== null);
801
923
  }, []);
802
- return c(() => {
803
- if (f && l.current && (l.current.ownerDocument !== document || l.current.getRootNode() !== document || f.ownerDocument !== document || f.getRootNode() !== document)) throw Error(St);
804
- }), o(() => _(!0), []), c(() => {
924
+ return o(() => {
925
+ if (f && d.current && (d.current.ownerDocument !== document || d.current.getRootNode() !== document || f.ownerDocument !== document || f.getRootNode() !== document)) throw Error(Bt);
926
+ }), i(() => _(!0), []), o(() => {
805
927
  if (!w || !T.topmost || !f) return;
806
- let e = (e) => Ct(e) && !x.current?.contains(e) && !l.current?.contains(e), t = (e, t) => !!e && !!t && (e === t || e.contains(t) || t.contains(e)), n = (e) => e.button === 0, r = null, i = () => {
928
+ let e = (e) => Vt(e) && !x.current?.contains(e) && !d.current?.contains(e), t = (e, t) => !!e && !!t && (e === t || e.contains(t) || t.contains(e)), n = (e) => e.button === 0, r = null, i = () => {
807
929
  r !== null && (clearTimeout(r), r = null);
808
930
  }, a = () => {
809
931
  i(), r = setTimeout(() => {
810
932
  r = null, C.current = null;
811
933
  }, 0);
812
934
  }, o = (e) => {
813
- n(e) && (i(), S.current = Ct(e.target) ? e.target : null, C.current = null);
814
- }, c = (t) => {
935
+ n(e) && (i(), S.current = Vt(e.target) ? e.target : null, C.current = null);
936
+ }, s = (t) => {
815
937
  if (!n(t)) return;
816
- let r = S.current, i = Ct(t.target) ? t.target : null;
938
+ let r = S.current, i = Vt(t.target) ? t.target : null;
817
939
  if (!e(i)) {
818
940
  S.current = null;
819
941
  return;
@@ -822,31 +944,31 @@ function wt({ children: e, className: t, containerPadding: n, isOpen: r, onOpenC
822
944
  C.current = i, S.current = null, a();
823
945
  return;
824
946
  }
825
- C.current = i, s(!1);
826
- }, u = () => {
947
+ C.current = i, u(!1);
948
+ }, c = () => {
827
949
  i(), S.current = null, C.current = null;
828
- }, d = (n) => {
829
- let r = Ct(n.target) ? n.target : null;
830
- e(r) && !t(C.current, r) && s(!1), i(), S.current = null, C.current = null;
950
+ }, l = (n) => {
951
+ let r = Vt(n.target) ? n.target : null;
952
+ e(r) && !t(C.current, r) && u(!1), i(), S.current = null, C.current = null;
831
953
  };
832
- return f.ownerDocument.addEventListener("pointerdown", o, !0), f.ownerDocument.addEventListener("pointerup", c, !0), f.ownerDocument.addEventListener("pointercancel", u, !0), f.ownerDocument.addEventListener("click", d, !0), () => {
833
- f.ownerDocument.removeEventListener("pointerdown", o, !0), f.ownerDocument.removeEventListener("pointerup", c, !0), f.ownerDocument.removeEventListener("pointercancel", u, !0), f.ownerDocument.removeEventListener("click", d, !0), i(), S.current = null, C.current = null;
954
+ return f.ownerDocument.addEventListener("pointerdown", o, !0), f.ownerDocument.addEventListener("pointerup", s, !0), f.ownerDocument.addEventListener("pointercancel", c, !0), f.ownerDocument.addEventListener("click", l, !0), () => {
955
+ f.ownerDocument.removeEventListener("pointerdown", o, !0), f.ownerDocument.removeEventListener("pointerup", s, !0), f.ownerDocument.removeEventListener("pointercancel", c, !0), f.ownerDocument.removeEventListener("click", l, !0), i(), S.current = null, C.current = null;
834
956
  };
835
957
  }, [
836
958
  f,
837
959
  T.topmost,
838
- s,
960
+ u,
839
961
  w,
840
- l
841
- ]), o(() => {
842
- h ? b.current = !1 : r && !b.current && (b.current = !0, s(!1));
962
+ d
963
+ ]), i(() => {
964
+ h ? b.current = !1 : s && !b.current && (b.current = !0, u(!1));
843
965
  }, [
844
- s,
966
+ u,
845
967
  h,
846
- r
847
- ]), /* @__PURE__ */ m(xe, {
968
+ s
969
+ ]), /* @__PURE__ */ m(Se, {
848
970
  className: `${t} breeze-popover`,
849
- containerPadding: n,
971
+ containerPadding: a,
850
972
  "data-breeze-interactive": T.interactive,
851
973
  "data-breeze-overlay": "popover",
852
974
  "data-breeze-topmost": T.topmost,
@@ -854,36 +976,36 @@ function wt({ children: e, className: t, containerPadding: n, isOpen: r, onOpenC
854
976
  isKeyboardDismissDisabled: !T.topmost,
855
977
  isNonModal: !0,
856
978
  isOpen: w,
857
- onOpenChange: s,
979
+ onOpenChange: u,
858
980
  placement: "bottom start",
859
- shouldCloseOnInteractOutside: (e) => S.current === null && T.topmost && !l.current?.contains(e),
981
+ shouldCloseOnInteractOutside: (e) => S.current === null && T.topmost && !d.current?.contains(e),
860
982
  style: { zIndex: T.zIndex },
861
- triggerRef: l,
983
+ triggerRef: d,
862
984
  ref: E,
863
985
  children: e
864
986
  });
865
987
  }
866
988
  //#endregion
867
989
  //#region src/primitives/Collection/DescriptorContent.tsx
868
- function Tt({ descriptor: e, isSelected: t }) {
990
+ function Ut({ descriptor: e, isSelected: t }) {
869
991
  return /* @__PURE__ */ h(p, { children: [
870
- e.icon && /* @__PURE__ */ m(Y, {
992
+ e.icon && /* @__PURE__ */ m(J, {
871
993
  name: e.icon,
872
994
  size: "sm"
873
995
  }),
874
996
  /* @__PURE__ */ h("span", {
875
- className: Z.base.content,
997
+ className: X.base.content,
876
998
  children: [/* @__PURE__ */ m("span", {
877
- className: Z.base.label,
999
+ className: X.base.label,
878
1000
  children: e.label
879
1001
  }), e.description && /* @__PURE__ */ m("span", {
880
- className: Z.base.description,
1002
+ className: X.base.description,
881
1003
  children: e.description
882
1004
  })]
883
1005
  }),
884
1006
  e.badge && /* @__PURE__ */ m("span", {
885
- className: Z.base.badge,
886
- children: /* @__PURE__ */ m(Ke, {
1007
+ className: X.base.badge,
1008
+ children: /* @__PURE__ */ m(ht, {
887
1009
  "aria-label": e.badge["aria-label"],
888
1010
  variant: e.badge.variant,
889
1011
  children: e.badge.children
@@ -891,8 +1013,8 @@ function Tt({ descriptor: e, isSelected: t }) {
891
1013
  }),
892
1014
  /* @__PURE__ */ m("span", {
893
1015
  "aria-hidden": "true",
894
- className: Z.base.selectedIndicator,
895
- children: t && /* @__PURE__ */ m(Y, {
1016
+ className: X.base.selectedIndicator,
1017
+ children: t && /* @__PURE__ */ m(J, {
896
1018
  name: "check",
897
1019
  size: "sm"
898
1020
  })
@@ -901,13 +1023,13 @@ function Tt({ descriptor: e, isSelected: t }) {
901
1023
  }
902
1024
  //#endregion
903
1025
  //#region src/primitives/Collection/DescriptorOption.tsx
904
- function Et({ descriptor: e }) {
905
- return /* @__PURE__ */ m(be, {
906
- className: Z.base.item,
1026
+ function Wt({ descriptor: e }) {
1027
+ return /* @__PURE__ */ m(xe, {
1028
+ className: X.base.item,
907
1029
  id: e.id,
908
1030
  isDisabled: e.disabled,
909
1031
  textValue: e.label,
910
- children: ({ isSelected: t }) => /* @__PURE__ */ m(Tt, {
1032
+ children: ({ isSelected: t }) => /* @__PURE__ */ m(Ut, {
911
1033
  descriptor: e,
912
1034
  isSelected: t
913
1035
  })
@@ -915,7 +1037,7 @@ function Et({ descriptor: e }) {
915
1037
  }
916
1038
  //#endregion
917
1039
  //#region src/primitives/ComboBox/ComboBox.tsx
918
- var Dt = {
1040
+ var Gt = {
919
1041
  base: {
920
1042
  group: "breeze:relative breeze:inline-flex breeze:min-block-breeze-md breeze:any-pointer-coarse:min-block-breeze-tap breeze:min-inline-size-0 breeze:inline-size-full breeze:items-stretch breeze:overflow-hidden breeze:rounded-breeze-ctl breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:has-[input[data-focus-visible]]:outline-2 breeze:has-[input[data-focus-visible]]:outline-solid breeze:has-[input[data-focus-visible]]:outline-breeze-brand breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:bg-breeze-sunken breeze:data-[invalid]:border-breeze-danger",
921
1043
  input: "breeze:min-block-breeze-md breeze:min-inline-size-0 breeze:flex-1 breeze:border-0 breeze:bg-transparent breeze:ps-breeze-3 breeze:pe-breeze-2 breeze:py-breeze-2 breeze:font-breeze-sans breeze:text-breeze-sm breeze:leading-breeze-snug breeze:text-breeze-ink breeze:outline-none breeze:placeholder:text-breeze-ink-3 breeze:data-[hovered]:border-transparent breeze:data-[focus-visible]:!outline-none breeze:data-[invalid]:border-transparent breeze:disabled:cursor-not-allowed breeze:read-only:cursor-default",
@@ -933,78 +1055,78 @@ var Dt = {
933
1055
  },
934
1056
  variant: {}
935
1057
  };
936
- function Ot(e, t, n, r) {
1058
+ function Kt(e, t, n, r) {
937
1059
  let i = t.find(({ item: t }) => t === e);
938
1060
  if (i) return i;
939
1061
  if (r && typeof e == "string") return;
940
1062
  let { id: a } = n(e);
941
1063
  return t.find((e) => e.descriptor.id === a);
942
1064
  }
943
- function kt(e, t, n, r) {
1065
+ function qt(e, t, n, r) {
944
1066
  if (e !== void 0) return e === null || r && typeof e == "string" && !t ? null : t?.id ?? n(e).id;
945
1067
  }
946
- function At(e, t, n) {
1068
+ function Jt(e, t, n) {
947
1069
  if (!(e === void 0 || !n)) return t ? t.descriptor.label : typeof e == "string" ? e : "";
948
1070
  }
949
- function jt(e, t, n) {
1071
+ function Yt(e, t, n) {
950
1072
  if (!(!n || typeof e != "string" || t)) return e;
951
1073
  }
952
- function Mt({ items: e }) {
953
- return /* @__PURE__ */ m(ye, {
954
- className: Z.base.listBox,
1074
+ function Xt({ items: e }) {
1075
+ return /* @__PURE__ */ m(be, {
1076
+ className: X.base.listBox,
955
1077
  items: e,
956
- children: (e) => /* @__PURE__ */ m(Et, { descriptor: e.descriptor })
1078
+ children: (e) => /* @__PURE__ */ m(Wt, { descriptor: e.descriptor })
957
1079
  });
958
1080
  }
959
- function Nt({ allowsCustomValue: e, hasSuggestions: t, isDisabled: n, isReadOnly: r, items: i, triggerRef: s }) {
960
- let c = a(he), l = n || r, u = !l && (t || e) && (c?.isOpen ?? !1);
961
- return o(() => {
1081
+ function Zt({ allowsCustomValue: e, hasSuggestions: t, isDisabled: n, isReadOnly: a, items: o, triggerRef: s }) {
1082
+ let c = r(ge), l = n || a, u = !l && (t || e) && (c?.isOpen ?? !1);
1083
+ return i(() => {
962
1084
  (l || !t && !e) && c?.isOpen && c.setOpen(!1);
963
1085
  }, [
964
1086
  e,
965
1087
  t,
966
1088
  l,
967
1089
  c
968
- ]), /* @__PURE__ */ m(wt, {
969
- className: Dt.base.popover,
1090
+ ]), /* @__PURE__ */ m(Ht, {
1091
+ className: Gt.base.popover,
970
1092
  isOpen: u,
971
1093
  onOpenChange: (e) => c?.setOpen(e),
972
1094
  triggerRef: s,
973
- children: /* @__PURE__ */ m(Mt, { items: i })
1095
+ children: /* @__PURE__ */ m(Xt, { items: o })
974
1096
  });
975
1097
  }
976
- function Pt({ props: e }) {
977
- let { allowsCustomValue: t = !1, autoComplete: n, autoFocus: r, defaultValue: i, description: a, disabled: c = !1, error: d, form: f, getItem: p, id: _, items: v, label: y, loading: b = !1, name: x, onChange: S, placeholder: C, readOnly: w = !1, required: T = !1, value: E } = e, { messages: D } = W(), { contains: O } = ge({ sensitivity: "base" }), k = a?.trim() || void 0, A = d?.trim() || void 0, j = c || b, M = s(), N = `${M}-description`, ee = `${M}-error`, te = [k && N, A && ee].filter(Boolean).join(" ") || void 0, P = u(null), F = l(() => v.map((e) => {
1098
+ function Qt({ props: e }) {
1099
+ let { allowsCustomValue: t = !1, autoComplete: n, autoFocus: r, defaultValue: o, description: l, disabled: u = !1, error: d, form: f, getItem: p, id: _, items: v, label: y, loading: b = !1, name: x, onChange: S, placeholder: C, readOnly: w = !1, required: T = !1, value: E } = e, { messages: D } = U(), { contains: O } = _e({ sensitivity: "base" }), k = l?.trim() || void 0, A = d?.trim() || void 0, j = u || b, M = a(), N = `${M}-description`, ee = `${M}-error`, te = [k && N, A && ee].filter(Boolean).join(" ") || void 0, P = c(null), F = s(() => v.map((e) => {
978
1100
  let t = p(e);
979
1101
  return {
980
1102
  descriptor: t,
981
1103
  id: t.id,
982
1104
  item: e
983
1105
  };
984
- }), [p, v]), I = E == null ? void 0 : Ot(E, F, p, t), L = kt(E, I, p, t), R = i == null ? void 0 : Ot(i, F, p, t), ne = kt(i, R, p, t), re = At(E, I, t), z = jt(i, R, t), B = u(L == null ? null : String(L)), ie = u(re ?? z ?? ""), ae = u(!1), V = S;
985
- o(() => {
1106
+ }), [p, v]), I = E == null ? void 0 : Kt(E, F, p, t), L = qt(E, I, p, t), R = o == null ? void 0 : Kt(o, F, p, t), ne = qt(o, R, p, t), re = Jt(E, I, t), z = Yt(o, R, t), B = c(L == null ? null : String(L)), ie = c(re ?? z ?? ""), ae = c(!1), oe = S;
1107
+ i(() => {
986
1108
  B.current = L == null ? null : String(L);
987
1109
  }, [L]);
988
- let oe = (e) => {
1110
+ let se = (e) => {
989
1111
  if (e === null) {
990
1112
  if (B.current = null, t) {
991
1113
  let e = ae.current;
992
1114
  if (ae.current = !1, ie.current || e) return;
993
1115
  }
994
- V?.(null);
1116
+ oe?.(null);
995
1117
  return;
996
1118
  }
997
1119
  ae.current = !1, B.current = String(e);
998
1120
  let n = F.find((t) => t.descriptor.id === String(e));
999
- ie.current = n?.descriptor.label ?? "", V?.(n?.item ?? null);
1000
- }, H = (e) => {
1001
- ie.current = e, ae.current = !0, t && F.find((e) => e.descriptor.id === B.current)?.descriptor.label !== e && V?.(e || null);
1002
- }, U = !b && A !== void 0, se = j ? void 0 : x;
1003
- return /* @__PURE__ */ h(me, {
1121
+ ie.current = n?.descriptor.label ?? "", oe?.(n?.item ?? null);
1122
+ }, V = (e) => {
1123
+ ie.current = e, ae.current = !0, t && F.find((e) => e.descriptor.id === B.current)?.descriptor.label !== e && oe?.(e || null);
1124
+ }, H = !b && A !== void 0, ce = j ? void 0 : x;
1125
+ return /* @__PURE__ */ h(he, {
1004
1126
  allowsCustomValue: t,
1005
1127
  allowsEmptyCollection: t,
1006
1128
  "aria-label": b ? y : void 0,
1007
- className: q.base.root,
1129
+ className: K.base.root,
1008
1130
  defaultFilter: O,
1009
1131
  defaultInputValue: z,
1010
1132
  defaultItems: F,
@@ -1013,48 +1135,48 @@ function Pt({ props: e }) {
1013
1135
  id: _,
1014
1136
  inputValue: re,
1015
1137
  isDisabled: j,
1016
- isInvalid: U,
1138
+ isInvalid: H,
1017
1139
  isReadOnly: w,
1018
1140
  isRequired: T,
1019
1141
  menuTrigger: "input",
1020
- name: se,
1021
- onInputChange: H,
1022
- onChange: oe,
1142
+ name: ce,
1143
+ onInputChange: V,
1144
+ onChange: se,
1023
1145
  value: L,
1024
1146
  validationBehavior: "aria",
1025
1147
  children: [
1026
- /* @__PURE__ */ m(at, {
1148
+ /* @__PURE__ */ m(Ot, {
1027
1149
  label: y,
1028
1150
  loading: b
1029
1151
  }),
1030
- /* @__PURE__ */ h(_e, {
1031
- className: J(Dt.base.group, b && Dt.state.loadingGroup, w && Dt.state.readOnlyGroup),
1152
+ /* @__PURE__ */ h(ve, {
1153
+ className: q(Gt.base.group, b && Gt.state.loadingGroup, w && Gt.state.readOnlyGroup),
1032
1154
  isDisabled: j,
1033
- isInvalid: U,
1155
+ isInvalid: H,
1034
1156
  isReadOnly: w,
1035
1157
  ref: P,
1036
1158
  children: [
1037
- /* @__PURE__ */ m(ve, {
1159
+ /* @__PURE__ */ m(ye, {
1038
1160
  "aria-busy": b || void 0,
1039
1161
  "aria-describedby": te,
1040
1162
  autoComplete: n,
1041
1163
  autoFocus: r,
1042
- className: J(Dt.base.input, b && Dt.state.loadingInput),
1164
+ className: q(Gt.base.input, b && Gt.state.loadingInput),
1043
1165
  form: f,
1044
1166
  placeholder: C,
1045
1167
  readOnly: w || void 0
1046
1168
  }),
1047
1169
  /* @__PURE__ */ m(g, {
1048
1170
  "aria-describedby": te,
1049
- className: J(Dt.base.trigger, b && Dt.state.loadingTrigger),
1050
- children: /* @__PURE__ */ m(Y, {
1171
+ className: q(Gt.base.trigger, b && Gt.state.loadingTrigger),
1172
+ children: /* @__PURE__ */ m(J, {
1051
1173
  name: "expand",
1052
1174
  size: "sm"
1053
1175
  })
1054
1176
  }),
1055
1177
  b && /* @__PURE__ */ m("span", {
1056
- className: Dt.base.skeleton,
1057
- children: /* @__PURE__ */ m(G, {
1178
+ className: Gt.base.skeleton,
1179
+ children: /* @__PURE__ */ m(W, {
1058
1180
  blockSize: "100%",
1059
1181
  inlineSize: "100%",
1060
1182
  label: D.loading,
@@ -1063,7 +1185,7 @@ function Pt({ props: e }) {
1063
1185
  })
1064
1186
  ]
1065
1187
  }),
1066
- /* @__PURE__ */ m(Nt, {
1188
+ /* @__PURE__ */ m(Zt, {
1067
1189
  allowsCustomValue: t,
1068
1190
  hasSuggestions: F.length > 0,
1069
1191
  isDisabled: j,
@@ -1071,7 +1193,7 @@ function Pt({ props: e }) {
1071
1193
  items: F,
1072
1194
  triggerRef: P
1073
1195
  }),
1074
- /* @__PURE__ */ m(ot, {
1196
+ /* @__PURE__ */ m(kt, {
1075
1197
  description: k,
1076
1198
  descriptionId: N,
1077
1199
  error: A,
@@ -1081,12 +1203,12 @@ function Pt({ props: e }) {
1081
1203
  ]
1082
1204
  });
1083
1205
  }
1084
- function Ft(e) {
1085
- return /* @__PURE__ */ m(Pt, { props: e });
1206
+ function $t(e) {
1207
+ return /* @__PURE__ */ m(Qt, { props: e });
1086
1208
  }
1087
1209
  //#endregion
1088
1210
  //#region src/primitives/Container/Container.tsx
1089
- var It = {
1211
+ var en = {
1090
1212
  base: { container: "breeze:mx-auto breeze:inline-size-full breeze:min-inline-size-0" },
1091
1213
  compound: {},
1092
1214
  size: {
@@ -1097,21 +1219,21 @@ var It = {
1097
1219
  state: { padded: "breeze:ps-breeze-4 breeze:pe-breeze-4 breeze:breeze-md:ps-breeze-7 breeze:breeze-md:pe-breeze-7" },
1098
1220
  variant: {}
1099
1221
  };
1100
- function Lt({ "aria-label": e, children: t, element: n = "div", padded: i = !0, width: a = "page" }) {
1101
- let { accessibleLabel: o, role: s } = nt(e, n);
1102
- return r(n, {
1222
+ function tn({ "aria-label": e, children: n, element: r = "div", padded: i = !0, width: a = "page" }) {
1223
+ let { accessibleLabel: o, role: s } = Tt(e, r);
1224
+ return t(r, {
1103
1225
  "aria-label": o,
1104
1226
  className: [
1105
- It.base.container,
1106
- It.size[a],
1107
- i && It.state.padded
1227
+ en.base.container,
1228
+ en.size[a],
1229
+ i && en.state.padded
1108
1230
  ].filter(Boolean).join(" "),
1109
1231
  role: s
1110
- }, t);
1232
+ }, n);
1111
1233
  }
1112
1234
  //#endregion
1113
1235
  //#region src/primitives/Typography/Typography.tsx
1114
- var Rt = {
1236
+ var nn = {
1115
1237
  base: { text: "breeze:m-0 breeze:font-breeze-sans" },
1116
1238
  compound: {},
1117
1239
  size: {},
@@ -1147,10 +1269,10 @@ var Rt = {
1147
1269
  }
1148
1270
  }
1149
1271
  };
1150
- function zt(e) {
1272
+ function rn(e) {
1151
1273
  return e === "heading" ? "h2" : e === "title" ? "h3" : e === "body" ? "p" : "span";
1152
1274
  }
1153
- function Bt(e, t, n, r) {
1275
+ function an(e, t, n, r) {
1154
1276
  let i;
1155
1277
  try {
1156
1278
  i = new Intl.NumberFormat(n, {
@@ -1164,7 +1286,7 @@ function Bt(e, t, n, r) {
1164
1286
  }
1165
1287
  return i.map((e) => e.type === "minusSign" ? "−" : e.value).join("");
1166
1288
  }
1167
- function Vt(e, t, n) {
1289
+ function on(e, t, n) {
1168
1290
  let r;
1169
1291
  try {
1170
1292
  r = y(e).toDate("UTC");
@@ -1176,15 +1298,15 @@ function Vt(e, t, n) {
1176
1298
  timeZone: "UTC"
1177
1299
  }).format(r);
1178
1300
  }
1179
- function Ht(e, t, n) {
1180
- return e.loading ? /* @__PURE__ */ m(G, {
1301
+ function sn(e, t, n) {
1302
+ return e.loading ? /* @__PURE__ */ m(W, {
1181
1303
  blockSize: "1lh",
1182
1304
  inlineSize: "8em",
1183
1305
  label: n
1184
- }) : e.format === "currency" ? Bt(e.value, e.currency, t, e.sign ?? "auto") : e.format === "date" ? Vt(e.value, t, e.dateStyle) : e.children;
1306
+ }) : e.format === "currency" ? an(e.value, e.currency, t, e.sign ?? "auto") : e.format === "date" ? on(e.value, t, e.dateStyle) : e.children;
1185
1307
  }
1186
- function Ut(e) {
1187
- let { locale: t, messages: n } = W(), { "aria-label": i, align: a, children: o, element: s, format: c, id: l, loading: u = !1, numeric: d = !1, tone: f = "default", truncate: g = !1, variant: _ = "body" } = e, v = s ?? zt(_), y = i?.trim() || void 0, b = a ?? (_ === "money" || d ? "end" : "start"), x = a !== void 0 || _ === "money" || d, S = Ht(e, t, n.loading), C = c !== void 0 || typeof o == "string" || typeof o == "number", w = !u && y !== void 0 && !C && [
1308
+ function cn(e) {
1309
+ let { locale: n, messages: r } = U(), { "aria-label": i, align: a, children: o, element: s, format: c, id: l, loading: u = !1, numeric: d = !1, tone: f = "default", truncate: g = !1, variant: _ = "body" } = e, v = s ?? rn(_), y = i?.trim() || void 0, b = a ?? (_ === "money" || d ? "end" : "start"), x = a !== void 0 || _ === "money" || d, S = sn(e, n, r.loading), C = c !== void 0 || typeof o == "string" || typeof o == "number", w = !u && y !== void 0 && !C && [
1188
1310
  "h1",
1189
1311
  "h2",
1190
1312
  "h3",
@@ -1193,27 +1315,27 @@ function Ut(e) {
1193
1315
  return !u && y !== void 0 && C && (S = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("span", {
1194
1316
  "aria-hidden": "true",
1195
1317
  children: S
1196
- }), /* @__PURE__ */ m(We, { children: y })] })), r(v, {
1318
+ }), /* @__PURE__ */ m(pt, { children: y })] })), t(v, {
1197
1319
  "aria-busy": u || void 0,
1198
1320
  "aria-label": T || w ? y : void 0,
1199
1321
  className: [
1200
- Rt.base.text,
1201
- Rt.variant.role[_],
1202
- Rt.variant.tone[f],
1203
- Rt.variant.align[b],
1204
- x && Rt.state.aligned,
1205
- u && v === "span" && !x && Rt.state.inlineLoading,
1206
- d && _ !== "money" && Rt.state.numeric,
1207
- g && Rt.state.truncate
1322
+ nn.base.text,
1323
+ nn.variant.role[_],
1324
+ nn.variant.tone[f],
1325
+ nn.variant.align[b],
1326
+ x && nn.state.aligned,
1327
+ u && v === "span" && !x && nn.state.inlineLoading,
1328
+ d && _ !== "money" && nn.state.numeric,
1329
+ g && nn.state.truncate
1208
1330
  ].filter(Boolean).join(" "),
1209
1331
  id: l,
1210
- lang: t,
1332
+ lang: n,
1211
1333
  role: T ? "group" : void 0
1212
1334
  }, S);
1213
1335
  }
1214
1336
  //#endregion
1215
1337
  //#region src/primitives/DatePicker/DatePicker.tsx
1216
- var Wt = {
1338
+ var ln = {
1217
1339
  base: {
1218
1340
  popover: "breeze:!inline-size-[360px] breeze:max-inline-size-[calc(100vw_-_24px)] breeze:p-breeze-3 breeze:any-pointer-coarse:!p-0 breeze-date-picker-popover",
1219
1341
  trigger: "breeze:flex breeze:min-block-breeze-md breeze:any-pointer-coarse:min-block-breeze-tap breeze:min-inline-size-0 breeze:inline-size-full breeze:items-center breeze:justify-between breeze:gap-breeze-3 breeze:rounded-breeze-ctl breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:ps-breeze-3 breeze:pe-breeze-3 breeze:py-breeze-2 breeze:font-breeze-sans breeze:text-breeze-sm breeze:text-breeze-ink breeze:outline-offset-2 breeze:data-[hovered]:border-breeze-brand breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[invalid]:border-breeze-danger breeze:disabled:cursor-not-allowed breeze:disabled:bg-breeze-sunken breeze:disabled:opacity-60",
@@ -1224,11 +1346,11 @@ var Wt = {
1224
1346
  state: {},
1225
1347
  variant: {}
1226
1348
  };
1227
- function Gt({ placeholder: e, placeholderLocale: t, value: n, valueId: r }) {
1349
+ function un({ placeholder: e, placeholderLocale: t, value: n, valueId: r }) {
1228
1350
  return /* @__PURE__ */ m("span", {
1229
- className: Wt.base.value,
1351
+ className: ln.base.value,
1230
1352
  id: r,
1231
- children: n ? /* @__PURE__ */ m(Ut, {
1353
+ children: n ? /* @__PURE__ */ m(cn, {
1232
1354
  element: "span",
1233
1355
  format: "date",
1234
1356
  value: n
@@ -1238,7 +1360,7 @@ function Gt({ placeholder: e, placeholderLocale: t, value: n, valueId: r }) {
1238
1360
  })
1239
1361
  });
1240
1362
  }
1241
- function Kt(e, t, n, r) {
1363
+ function dn(e, t, n, r) {
1242
1364
  let i = e.getBoundingClientRect().top, { top: a } = t.getBoundingClientRect(), o = a + t.clientTop, s = Math.max(o, 0), c = Math.min(o + t.clientHeight, r);
1243
1365
  if (c <= s) return;
1244
1366
  let l = Math.max(s + 8, c - n), u = 0;
@@ -1246,27 +1368,27 @@ function Kt(e, t, n, r) {
1246
1368
  let d = t.scrollHeight - t.clientHeight, f = Math.round(Math.max(0, Math.min(d, t.scrollTop + u)));
1247
1369
  return f === t.scrollTop ? void 0 : f;
1248
1370
  }
1249
- function qt(e) {
1371
+ function fn(e) {
1250
1372
  let t = e.ownerDocument.documentElement.clientHeight, n = !1;
1251
1373
  for (let r = e.parentElement; r !== null; r = r.parentElement) {
1252
1374
  let { overflowY: i } = getComputedStyle(r);
1253
1375
  if (["auto", "scroll"].includes(i) && r.scrollHeight > r.clientHeight) {
1254
- let i = Kt(e, r, 400, t);
1376
+ let i = dn(e, r, 400, t);
1255
1377
  i !== void 0 && (r.scrollTop = i, n = !0);
1256
1378
  }
1257
1379
  }
1258
1380
  return n;
1259
1381
  }
1260
- function Jt({ calendarKey: e, dialogId: t, disabled: n, isOpen: r, label: i, onChange: a, onOpenChange: s, triggerRef: c, value: l }) {
1261
- let d = u(null);
1262
- return o(() => {
1382
+ function pn({ calendarKey: e, dialogId: t, disabled: n, isOpen: r, label: a, onChange: o, onOpenChange: s, triggerRef: l, value: u }) {
1383
+ let d = c(null);
1384
+ return i(() => {
1263
1385
  if (!r) return;
1264
1386
  let e = d.current, t = e?.closest("[data-breeze-overlay=\"popover\"]");
1265
1387
  if (!e || !t) return;
1266
1388
  let n = () => {
1267
1389
  if (t.hasAttribute("inert") || t.dataset.breezeInteractive !== "true") return !1;
1268
1390
  let n = e.ownerDocument, { activeElement: r } = n;
1269
- return (r === c.current || r === n.body || r === n.documentElement) && e.querySelector("[role=\"button\"][tabindex=\"0\"]")?.focus(), !0;
1391
+ return (r === l.current || r === n.body || r === n.documentElement) && e.querySelector("[role=\"button\"][tabindex=\"0\"]")?.focus(), !0;
1270
1392
  }, i = new MutationObserver(() => {
1271
1393
  n() && i.disconnect();
1272
1394
  });
@@ -1274,37 +1396,37 @@ function Jt({ calendarKey: e, dialogId: t, disabled: n, isOpen: r, label: i, onC
1274
1396
  attributeFilter: ["data-breeze-interactive", "inert"],
1275
1397
  attributes: !0
1276
1398
  }), n() && i.disconnect(), () => i.disconnect();
1277
- }, [r, c]), /* @__PURE__ */ m(wt, {
1278
- className: Wt.base.popover,
1399
+ }, [r, l]), /* @__PURE__ */ m(Ht, {
1400
+ className: ln.base.popover,
1279
1401
  containerPadding: 4,
1280
1402
  isOpen: r,
1281
1403
  onOpenChange: s,
1282
- triggerRef: c,
1283
- children: /* @__PURE__ */ m(Te, {
1284
- "aria-label": i,
1404
+ triggerRef: l,
1405
+ children: /* @__PURE__ */ m(Ee, {
1406
+ "aria-label": a,
1285
1407
  id: t,
1286
1408
  ref: d,
1287
- children: /* @__PURE__ */ m(et, {
1409
+ children: /* @__PURE__ */ m(Ct, {
1288
1410
  autoFocus: r,
1289
1411
  disabled: n,
1290
- label: i,
1291
- onChange: a,
1292
- value: l == null ? null : Qe(l)
1412
+ label: a,
1413
+ onChange: o,
1414
+ value: u == null ? null : xt(u)
1293
1415
  }, e)
1294
1416
  })
1295
1417
  });
1296
1418
  }
1297
- function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i = !1, error: a, form: l, id: f, label: p, loading: _ = !1, name: v, onChange: y, placeholder: b, required: x = !0, value: S }) {
1298
- let { getMessageLocale: C, messages: w } = W(), T = b ?? w.selectDate, E = b === void 0 ? C("selectDate") : void 0, D = n?.trim() || void 0, O = a?.trim() || void 0, k = i || _, A = !_ && O !== void 0, j = s(), M = `${j}-label`, N = `${j}-value`, ee = `${j}-dialog`, te = D ? `${j}-description` : void 0, P = O ? `${j}-error` : void 0, F = x ? `${j}-required` : void 0, I = f ?? `${j}-trigger`, L = u(null), R = u(!1), [ne, re] = d(t), [z, B] = d(!1), [ie, ae] = d(0), [V, oe] = d(!1), H = S === void 0 ? ne : S, U = k || V, se = [
1419
+ function mn({ autoFocus: e = !1, defaultValue: n, description: r, disabled: s = !1, error: u, form: d, id: f, label: p, loading: _ = !1, name: v, onChange: y, placeholder: b, required: x = !0, value: S }) {
1420
+ let { getMessageLocale: C, messages: w } = U(), T = b ?? w.selectDate, E = b === void 0 ? C("selectDate") : void 0, D = r?.trim() || void 0, O = u?.trim() || void 0, k = s || _, A = !_ && O !== void 0, j = a(), M = `${j}-label`, N = `${j}-value`, ee = `${j}-dialog`, te = D ? `${j}-description` : void 0, P = O ? `${j}-error` : void 0, F = x ? `${j}-required` : void 0, I = f ?? `${j}-trigger`, L = c(null), R = c(!1), [ne, re] = l(n), [z, B] = l(!1), [ie, ae] = l(0), [oe, se] = l(!1), V = S === void 0 ? ne : S, H = k || oe, ce = [
1299
1421
  te,
1300
1422
  _ ? void 0 : P,
1301
1423
  F
1302
1424
  ].filter(Boolean).join(" ") || void 0;
1303
- c(() => {
1425
+ o(() => {
1304
1426
  let e = L.current;
1305
1427
  if (!e) return;
1306
1428
  let t = () => {
1307
- oe(!k && e.matches(":disabled"));
1429
+ se(!k && e.matches(":disabled"));
1308
1430
  };
1309
1431
  t();
1310
1432
  let n = new MutationObserver(t);
@@ -1313,30 +1435,30 @@ function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i =
1313
1435
  attributes: !0
1314
1436
  });
1315
1437
  return () => n.disconnect();
1316
- }, [k]), o(() => {
1438
+ }, [k]), i(() => {
1317
1439
  if (S !== void 0) return;
1318
1440
  let e = (e) => {
1319
- let n = L.current?.form;
1320
- !n || e.target !== n || queueMicrotask(() => {
1321
- e.defaultPrevented || re(t);
1441
+ let t = L.current?.form;
1442
+ !t || e.target !== t || queueMicrotask(() => {
1443
+ e.defaultPrevented || re(n);
1322
1444
  });
1323
1445
  };
1324
1446
  return document.addEventListener("reset", e, !0), () => document.removeEventListener("reset", e, !0);
1325
- }, [t, S]), o(() => {
1326
- U && z && B(!1);
1327
- }, [U, z]), o(() => {
1328
- if (!e || U || R.current) return;
1447
+ }, [n, S]), i(() => {
1448
+ H && z && B(!1);
1449
+ }, [H, z]), i(() => {
1450
+ if (!e || H || R.current) return;
1329
1451
  let t = L.current;
1330
1452
  !t || t.matches(":disabled") || (t.focus(), R.current = t.ownerDocument.activeElement === t);
1331
- }, [e, U]);
1332
- let ce = z && !U, le = (e) => {
1333
- e && (U || L.current?.matches(":disabled")) || (e && !z && ae((e) => e + 1), B(e));
1453
+ }, [e, H]);
1454
+ let le = z && !H, ue = (e) => {
1455
+ e && (H || L.current?.matches(":disabled")) || (e && !z && ae((e) => e + 1), B(e));
1334
1456
  };
1335
1457
  return /* @__PURE__ */ h("div", {
1336
- className: q.base.root,
1458
+ className: K.base.root,
1337
1459
  "data-required": x || void 0,
1338
1460
  children: [
1339
- /* @__PURE__ */ m(at, {
1461
+ /* @__PURE__ */ m(Ot, {
1340
1462
  htmlFor: I,
1341
1463
  id: M,
1342
1464
  label: p,
@@ -1344,53 +1466,53 @@ function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i =
1344
1466
  onClick: () => L.current?.focus()
1345
1467
  }),
1346
1468
  /* @__PURE__ */ h("span", {
1347
- className: q.base.control,
1469
+ className: K.base.control,
1348
1470
  children: [/* @__PURE__ */ h(g, {
1349
- className: J(Wt.base.trigger, A && "breeze:border-breeze-danger", _ && "breeze:!opacity-0"),
1471
+ className: q(ln.base.trigger, A && "breeze:border-breeze-danger", _ && "breeze:!opacity-0"),
1350
1472
  isDisabled: k,
1351
1473
  onPress: () => {
1352
- if (ce) {
1353
- le(!1);
1474
+ if (le) {
1475
+ ue(!1);
1354
1476
  return;
1355
1477
  }
1356
1478
  let e = L.current;
1357
- if (!(!e || U || e.matches(":disabled"))) {
1358
- if (qt(e)) {
1359
- typeof requestAnimationFrame > "u" ? setTimeout(() => le(!0), 0) : requestAnimationFrame(() => le(!0));
1479
+ if (!(!e || H || e.matches(":disabled"))) {
1480
+ if (fn(e)) {
1481
+ typeof requestAnimationFrame > "u" ? setTimeout(() => ue(!0), 0) : requestAnimationFrame(() => ue(!0));
1360
1482
  return;
1361
1483
  }
1362
- le(!0);
1484
+ ue(!0);
1363
1485
  }
1364
1486
  },
1365
1487
  ref: L,
1366
- render: (e) => r("button", {
1488
+ render: (e) => t("button", {
1367
1489
  ...e,
1368
1490
  "aria-busy": _ || void 0,
1369
- "aria-controls": ce ? ee : void 0,
1370
- "aria-describedby": se,
1491
+ "aria-controls": le ? ee : void 0,
1492
+ "aria-describedby": ce,
1371
1493
  "aria-errormessage": _ ? void 0 : P,
1372
- "aria-expanded": ce,
1494
+ "aria-expanded": le,
1373
1495
  "aria-haspopup": "dialog",
1374
1496
  "aria-invalid": A || void 0,
1375
1497
  "aria-label": _ ? p : void 0,
1376
1498
  "aria-labelledby": _ ? void 0 : `${M} ${N}`,
1377
1499
  "data-invalid": A || void 0,
1378
- form: l,
1500
+ form: d,
1379
1501
  id: I,
1380
1502
  type: "button"
1381
1503
  }),
1382
- children: [/* @__PURE__ */ m(Gt, {
1504
+ children: [/* @__PURE__ */ m(un, {
1383
1505
  placeholder: T,
1384
1506
  placeholderLocale: E,
1385
- value: H,
1507
+ value: V,
1386
1508
  valueId: N
1387
- }), /* @__PURE__ */ m(Y, {
1509
+ }), /* @__PURE__ */ m(J, {
1388
1510
  name: "calendar",
1389
1511
  size: "sm"
1390
1512
  })]
1391
1513
  }), _ && /* @__PURE__ */ m("span", {
1392
- className: q.base.skeleton,
1393
- children: /* @__PURE__ */ m(G, {
1514
+ className: K.base.skeleton,
1515
+ children: /* @__PURE__ */ m(W, {
1394
1516
  blockSize: "100%",
1395
1517
  inlineSize: "100%",
1396
1518
  label: w.loading,
@@ -1400,10 +1522,10 @@ function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i =
1400
1522
  }),
1401
1523
  v && /* @__PURE__ */ m("input", {
1402
1524
  disabled: k,
1403
- form: l,
1525
+ form: d,
1404
1526
  name: v,
1405
1527
  type: "hidden",
1406
- value: H ?? ""
1528
+ value: V ?? ""
1407
1529
  }),
1408
1530
  x && /* @__PURE__ */ m("span", {
1409
1531
  className: "breeze:sr-only",
@@ -1411,31 +1533,31 @@ function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i =
1411
1533
  lang: C("required"),
1412
1534
  children: w.required
1413
1535
  }),
1414
- /* @__PURE__ */ m(Jt, {
1536
+ /* @__PURE__ */ m(pn, {
1415
1537
  calendarKey: ie,
1416
1538
  dialogId: ee,
1417
- disabled: U,
1418
- isOpen: ce,
1539
+ disabled: H,
1540
+ isOpen: le,
1419
1541
  label: p,
1420
1542
  onChange: (e) => {
1421
- if (!e || U || L.current?.matches(":disabled")) return;
1543
+ if (!e || H || L.current?.matches(":disabled")) return;
1422
1544
  let t = e.toString();
1423
- S === void 0 && re(t), y?.(t), le(!1);
1545
+ S === void 0 && re(t), y?.(t), ue(!1);
1424
1546
  },
1425
- onOpenChange: le,
1547
+ onOpenChange: ue,
1426
1548
  triggerRef: L,
1427
- value: H
1549
+ value: V
1428
1550
  }),
1429
- /* @__PURE__ */ m(ot, {
1551
+ /* @__PURE__ */ m(kt, {
1430
1552
  description: D,
1431
1553
  descriptionId: te,
1432
1554
  loading: _
1433
1555
  }),
1434
1556
  O && /* @__PURE__ */ m("p", {
1435
1557
  "aria-hidden": _ || void 0,
1436
- className: q.base.error,
1558
+ className: K.base.error,
1437
1559
  id: P,
1438
- children: _ ? /* @__PURE__ */ m(G, {
1560
+ children: _ ? /* @__PURE__ */ m(W, {
1439
1561
  blockSize: "1lh",
1440
1562
  inlineSize: "12em",
1441
1563
  shape: "rectangle"
@@ -1446,7 +1568,7 @@ function Yt({ autoFocus: e = !1, defaultValue: t, description: n, disabled: i =
1446
1568
  }
1447
1569
  //#endregion
1448
1570
  //#region src/overlays/OverlaySurface.tsx
1449
- var Xt = {
1571
+ var hn = {
1450
1572
  base: {
1451
1573
  content: "breeze-overlay-content",
1452
1574
  header: "breeze-overlay-header",
@@ -1461,74 +1583,74 @@ var Xt = {
1461
1583
  fullscreen: "breeze-fullscreen",
1462
1584
  popover: "breeze-popover"
1463
1585
  }
1464
- }, Zt = "Breeze overlay triggers and portal containers must belong to the current document and light DOM.";
1465
- function Qt(e) {
1586
+ }, gn = "Breeze overlay triggers and portal containers must belong to the current document and light DOM.";
1587
+ function _n(e) {
1466
1588
  return typeof e == "object" && !!e && "nodeType" in e && typeof e.contains == "function";
1467
1589
  }
1468
- function $t(e) {
1590
+ function vn(e) {
1469
1591
  return e.dataset?.breezeOverlay !== void 0;
1470
1592
  }
1471
- function en({ children: e, defaultOpen: t = !1, dismissible: n = !0, kind: r, onOpenChange: s, open: f, placement: g = "bottom", title: _, trigger: v }) {
1472
- let { getMessageLocale: y, messages: b } = W(), x = r === "popover" || r === "fullscreen", S = xt(), C = a(gt), [w, T] = d(C === null);
1473
- o(() => T(!0), []);
1474
- let [E, D] = d(t), O = f ?? E, k = C?.open ?? !0, A = O && k, j = u(null), M = u(null), N = u(null), [ee, te] = d(!1), P = u(!1), F = u(null), I = u(null), L = u(null), R = u(null), ne = u(!1);
1475
- c(() => {
1476
- if (S && j.current && (j.current.ownerDocument !== document || j.current.getRootNode() !== document || S.ownerDocument !== document || S.getRootNode() !== document)) throw Error(Zt);
1593
+ function yn({ children: e, defaultOpen: t = !1, dismissible: a = !0, kind: u, onOpenChange: d, open: f, placement: g = "bottom", title: _, trigger: v }) {
1594
+ let { getMessageLocale: y, messages: b } = U(), x = u === "popover" || u === "fullscreen", S = zt(), C = r(Ge), [w, T] = l(C === null);
1595
+ i(() => T(!0), []);
1596
+ let [E, D] = l(t), O = f ?? E, k = C?.open ?? !0, A = O && k, j = c(null), M = c(null), N = c(null), [ee, te] = l(!1), P = c(!1), F = c(null), I = c(null), L = c(null), R = c(null), ne = c(!1);
1597
+ o(() => {
1598
+ if (S && j.current && (j.current.ownerDocument !== document || j.current.getRootNode() !== document || S.ownerDocument !== document || S.getRootNode() !== document)) throw Error(gn);
1477
1599
  }, [S]);
1478
- let re = l(() => r === "fullscreen" ? { current: S } : j, [S, r]), z = _t(r, A && w && S !== null, A || ee), B = i((e) => {
1600
+ let re = s(() => u === "fullscreen" ? { current: S } : j, [S, u]), z = Ke(u, A && w && S !== null, A || ee), B = n((e) => {
1479
1601
  if (!e && !k) {
1480
1602
  if (ne.current) return;
1481
1603
  O && (ne.current = !0);
1482
1604
  }
1483
- f === void 0 && D(e), s?.(e);
1605
+ f === void 0 && D(e), d?.(e);
1484
1606
  }, [
1485
1607
  f,
1486
- s,
1608
+ d,
1487
1609
  k,
1488
1610
  O
1489
1611
  ]);
1490
- o(() => {
1612
+ i(() => {
1491
1613
  k ? ne.current = !1 : O && B(!1);
1492
1614
  }, [
1493
1615
  B,
1494
1616
  k,
1495
1617
  O
1496
- ]), o(() => {
1497
- if (r !== "popover" || !A || !n || !z.topmost || !S) return;
1618
+ ]), i(() => {
1619
+ if (u !== "popover" || !A || !a || !z.topmost || !S) return;
1498
1620
  let e = () => {
1499
1621
  I.current !== null && (clearTimeout(I.current), I.current = null);
1500
- }, t = (e, t) => !!e && !!t && (e === t || e.contains(t) || t.contains(e)), i = (e) => e.button === 0, a = (e) => Qt(e) && !M.current?.contains(e) && !j.current?.contains(e), o = (t) => {
1501
- i(t) && (e(), R.current = null, L.current = Qt(t.target) ? t.target : null);
1502
- }, s = (n) => {
1503
- if (!i(n)) return;
1504
- let r = L.current, o = Qt(n.target) ? n.target : null;
1505
- !a(r) || !a(o) || (e(), I.current = setTimeout(() => {
1622
+ }, t = (e, t) => !!e && !!t && (e === t || e.contains(t) || t.contains(e)), n = (e) => e.button === 0, r = (e) => _n(e) && !M.current?.contains(e) && !j.current?.contains(e), i = (t) => {
1623
+ n(t) && (e(), R.current = null, L.current = _n(t.target) ? t.target : null);
1624
+ }, o = (i) => {
1625
+ if (!n(i)) return;
1626
+ let a = L.current, o = _n(i.target) ? i.target : null;
1627
+ !r(a) || !r(o) || (e(), I.current = setTimeout(() => {
1506
1628
  I.current = null;
1507
1629
  let e = R.current, n = L.current;
1508
1630
  R.current = null, L.current = null, !(t(e, o) && t(e, n)) && B(!1);
1509
1631
  }, 0));
1510
- }, c = () => {
1632
+ }, s = () => {
1511
1633
  e(), R.current = null, L.current = null;
1512
- }, l = (n) => {
1513
- let r = Qt(n.target) ? n.target : null;
1514
- if (e(), a(r)) {
1634
+ }, c = (n) => {
1635
+ let i = _n(n.target) ? n.target : null;
1636
+ if (e(), r(i)) {
1515
1637
  let e = R.current, n = L.current;
1516
- if (R.current = null, L.current = null, t(e, r) && t(e, n)) return;
1638
+ if (R.current = null, L.current = null, t(e, i) && t(e, n)) return;
1517
1639
  B(!1);
1518
1640
  }
1519
1641
  };
1520
- return S.ownerDocument.addEventListener("pointerdown", o, !0), S.ownerDocument.addEventListener("pointerup", s, !0), S.ownerDocument.addEventListener("pointercancel", c, !0), S.ownerDocument.addEventListener("click", l, !0), () => {
1521
- e(), S.ownerDocument.removeEventListener("pointerdown", o, !0), S.ownerDocument.removeEventListener("pointerup", s, !0), S.ownerDocument.removeEventListener("pointercancel", c, !0), S.ownerDocument.removeEventListener("click", l, !0), R.current = null, L.current = null;
1642
+ return S.ownerDocument.addEventListener("pointerdown", i, !0), S.ownerDocument.addEventListener("pointerup", o, !0), S.ownerDocument.addEventListener("pointercancel", s, !0), S.ownerDocument.addEventListener("click", c, !0), () => {
1643
+ e(), S.ownerDocument.removeEventListener("pointerdown", i, !0), S.ownerDocument.removeEventListener("pointerup", o, !0), S.ownerDocument.removeEventListener("pointercancel", s, !0), S.ownerDocument.removeEventListener("click", c, !0), R.current = null, L.current = null;
1522
1644
  };
1523
1645
  }, [
1524
1646
  B,
1525
- n,
1647
+ a,
1526
1648
  S,
1527
- r,
1649
+ u,
1528
1650
  z.topmost,
1529
1651
  A
1530
1652
  ]);
1531
- let ie = C?.restoreFocus, ae = C?.id, V = i(() => {
1653
+ let ie = C?.restoreFocus, ae = C?.id, oe = n(() => {
1532
1654
  let e = j.current, t = S?.ownerDocument, n = t?.activeElement;
1533
1655
  if (!t || !S) return;
1534
1656
  let r = ae ? t.getElementById(ae) : null;
@@ -1543,65 +1665,65 @@ function en({ children: e, defaultOpen: t = !1, dismissible: n = !0, kind: r, on
1543
1665
  S,
1544
1666
  ae,
1545
1667
  ie
1546
- ]), oe = i(() => {
1668
+ ]), se = n(() => {
1547
1669
  F.current !== null && (clearTimeout(F.current), F.current = null);
1548
- }, []), H = i((e) => {
1670
+ }, []), V = n((e) => {
1549
1671
  queueMicrotask(() => {
1550
- !e.isConnected || e.closest("[inert], [data-exiting]") || (oe(), e.focus({ preventScroll: !0 }), F.current = setTimeout(() => {
1672
+ !e.isConnected || e.closest("[inert], [data-exiting]") || (se(), e.focus({ preventScroll: !0 }), F.current = setTimeout(() => {
1551
1673
  let { ownerDocument: t } = e, { activeElement: n } = t;
1552
1674
  e.isConnected && !e.closest("[inert], [data-exiting]") && (n === e || n === t.body) && (P.current = !0, e.blur(), e.focus({ preventScroll: !0 }), P.current = !1), F.current = null;
1553
1675
  }, 500));
1554
1676
  });
1555
- }, [oe]), U = u(A);
1556
- o(() => {
1557
- let e = U.current;
1558
- U.current = A, !(!x || !A || e || !N.current) && H(N.current);
1677
+ }, [se]), H = c(A);
1678
+ i(() => {
1679
+ let e = H.current;
1680
+ H.current = A, !(!x || !A || e || !N.current) && V(N.current);
1559
1681
  }, [
1560
- H,
1682
+ V,
1561
1683
  x,
1562
1684
  A
1563
1685
  ]);
1564
- let se = i((e) => {
1686
+ let ce = n((e) => {
1565
1687
  N.current = e;
1566
1688
  let t = () => {
1567
- oe(), N.current = null, te(!1), requestAnimationFrame(V);
1689
+ se(), N.current = null, te(!1), requestAnimationFrame(oe);
1568
1690
  };
1569
1691
  if (!e) {
1570
1692
  t();
1571
1693
  return;
1572
1694
  }
1573
- return te(!0), x && H(e), t;
1695
+ return te(!0), x && V(e), t;
1574
1696
  }, [
1575
- oe,
1576
- H,
1697
+ se,
1698
+ V,
1577
1699
  x,
1578
- V
1579
- ]), ce = l(() => ({
1700
+ oe
1701
+ ]), le = s(() => ({
1580
1702
  id: z.id,
1581
1703
  open: A,
1582
- restoreFocus: V
1704
+ restoreFocus: oe
1583
1705
  }), [
1584
1706
  z.id,
1585
1707
  A,
1586
- V
1587
- ]), le = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
1588
- className: Xt.base.header,
1708
+ oe
1709
+ ]), ue = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
1710
+ className: hn.base.header,
1589
1711
  children: [/* @__PURE__ */ m("h2", {
1590
- className: Xt.base.title,
1712
+ className: hn.base.title,
1591
1713
  children: _
1592
1714
  }), /* @__PURE__ */ m("span", {
1593
1715
  lang: y("close"),
1594
- children: /* @__PURE__ */ m(Je, {
1716
+ children: /* @__PURE__ */ m(_t, {
1595
1717
  onAction: () => B(!1),
1596
1718
  variant: "quiet",
1597
1719
  children: b.close
1598
1720
  })
1599
1721
  })]
1600
- }), e] }), ue = /* @__PURE__ */ m(gt, {
1601
- value: ce,
1722
+ }), e] }), de = /* @__PURE__ */ m(Ge, {
1723
+ value: le,
1602
1724
  children: x ? /* @__PURE__ */ m("section", {
1603
1725
  "aria-label": _,
1604
- className: Xt.base.content,
1726
+ className: hn.base.content,
1605
1727
  id: z.id,
1606
1728
  onBlur: (e) => {
1607
1729
  if (P.current) {
@@ -1609,66 +1731,66 @@ function en({ children: e, defaultOpen: t = !1, dismissible: n = !0, kind: r, on
1609
1731
  return;
1610
1732
  }
1611
1733
  let { relatedTarget: t } = e;
1612
- r === "popover" && n && z.topmost && Qt(t) && !e.currentTarget.contains(t) && !j.current?.contains(t) && (R.current = t);
1734
+ u === "popover" && a && z.topmost && _n(t) && !e.currentTarget.contains(t) && !j.current?.contains(t) && (R.current = t);
1613
1735
  },
1614
- ref: se,
1736
+ ref: ce,
1615
1737
  role: "dialog",
1616
1738
  tabIndex: -1,
1617
- children: le
1618
- }) : /* @__PURE__ */ m(Te, {
1739
+ children: ue
1740
+ }) : /* @__PURE__ */ m(Ee, {
1619
1741
  "aria-label": _,
1620
- className: Xt.base.content,
1742
+ className: hn.base.content,
1621
1743
  id: z.id,
1622
- ref: se,
1623
- children: le
1744
+ ref: ce,
1745
+ children: ue
1624
1746
  })
1625
1747
  });
1626
- return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(Je, {
1748
+ return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(_t, {
1627
1749
  "aria-controls": A ? z.id : void 0,
1628
1750
  "aria-expanded": A,
1629
1751
  "aria-haspopup": "dialog",
1630
1752
  onAction: () => B(!x || !A),
1631
1753
  ref: j,
1632
1754
  children: v
1633
- }), S && w && (x ? /* @__PURE__ */ m(xe, {
1634
- className: Xt.variant[r],
1635
- "data-breeze-overlay": r,
1755
+ }), S && w && (x ? /* @__PURE__ */ m(Se, {
1756
+ className: hn.variant[u],
1757
+ "data-breeze-overlay": u,
1636
1758
  "data-breeze-topmost": z.topmost,
1637
1759
  "data-breeze-interactive": z.interactive,
1638
1760
  inert: !z.interactive,
1639
1761
  isNonModal: !0,
1640
1762
  isOpen: A,
1641
- isKeyboardDismissDisabled: !n || !z.topmost,
1763
+ isKeyboardDismissDisabled: !a || !z.topmost,
1642
1764
  onOpenChange: B,
1643
1765
  placement: g,
1644
1766
  ref: M,
1645
- shouldCloseOnInteractOutside: (e) => r === "popover" && n && z.topmost && !j.current?.contains(e),
1767
+ shouldCloseOnInteractOutside: (e) => u === "popover" && a && z.topmost && !j.current?.contains(e),
1646
1768
  style: { zIndex: z.zIndex },
1647
1769
  triggerRef: re,
1648
- children: ue
1649
- }) : /* @__PURE__ */ m(De, {
1770
+ children: de
1771
+ }) : /* @__PURE__ */ m(Oe, {
1650
1772
  className: "breeze-overlay-backdrop",
1651
- "data-breeze-overlay": r,
1773
+ "data-breeze-overlay": u,
1652
1774
  "data-breeze-scrim": z.scrim,
1653
1775
  "data-breeze-topmost": z.topmost,
1654
1776
  "data-breeze-interactive": z.interactive,
1655
1777
  inert: !z.interactive,
1656
- isDismissable: n && z.topmost,
1657
- isKeyboardDismissDisabled: !n || !z.topmost,
1778
+ isDismissable: a && z.topmost,
1779
+ isKeyboardDismissDisabled: !a || !z.topmost,
1658
1780
  isOpen: A,
1659
1781
  onOpenChange: B,
1660
- shouldCloseOnInteractOutside: (e) => z.topmost && $t(e),
1782
+ shouldCloseOnInteractOutside: (e) => z.topmost && vn(e),
1661
1783
  style: { zIndex: z.zIndex },
1662
- children: /* @__PURE__ */ m(Ee, {
1663
- className: Xt.variant[r],
1664
- children: ue
1784
+ children: /* @__PURE__ */ m(De, {
1785
+ className: hn.variant[u],
1786
+ children: de
1665
1787
  })
1666
1788
  }))] });
1667
1789
  }
1668
1790
  //#endregion
1669
1791
  //#region src/primitives/Dialog/Dialog.tsx
1670
- function tn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o }) {
1671
- return /* @__PURE__ */ m(en, {
1792
+ function bn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o }) {
1793
+ return /* @__PURE__ */ m(yn, {
1672
1794
  defaultOpen: t,
1673
1795
  dismissible: n,
1674
1796
  onOpenChange: r,
@@ -1681,8 +1803,8 @@ function tn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open
1681
1803
  }
1682
1804
  //#endregion
1683
1805
  //#region src/primitives/Drawer/Drawer.tsx
1684
- function nn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o }) {
1685
- return /* @__PURE__ */ m(en, {
1806
+ function xn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o }) {
1807
+ return /* @__PURE__ */ m(yn, {
1686
1808
  defaultOpen: t,
1687
1809
  dismissible: n,
1688
1810
  onOpenChange: r,
@@ -1695,7 +1817,7 @@ function nn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open
1695
1817
  }
1696
1818
  //#endregion
1697
1819
  //#region src/primitives/Grid/Grid.tsx
1698
- var rn = {
1820
+ var Sn = {
1699
1821
  base: { grid: "breeze:grid breeze:min-inline-size-0" },
1700
1822
  compound: { columns: {
1701
1823
  1: {
@@ -1731,21 +1853,21 @@ var rn = {
1731
1853
  state: {},
1732
1854
  variant: {}
1733
1855
  };
1734
- function an({ "aria-label": e, children: t, collapseBelow: n = "md", columns: i = 2, element: a = "div", gap: o = 4 }) {
1735
- let { accessibleLabel: s, role: c } = nt(e, a);
1736
- return r(a, {
1856
+ function Cn({ "aria-label": e, children: n, collapseBelow: r = "md", columns: i = 2, element: a = "div", gap: o = 4 }) {
1857
+ let { accessibleLabel: s, role: c } = Tt(e, a);
1858
+ return t(a, {
1737
1859
  "aria-label": s,
1738
1860
  className: [
1739
- rn.base.grid,
1740
- rn.compound.columns[i][n],
1741
- rn.size[o]
1861
+ Sn.base.grid,
1862
+ Sn.compound.columns[i][r],
1863
+ Sn.size[o]
1742
1864
  ].join(" "),
1743
1865
  role: c
1744
- }, t);
1866
+ }, n);
1745
1867
  }
1746
1868
  //#endregion
1747
1869
  //#region src/primitives/IconTile/IconTile.tsx
1748
- var on = {
1870
+ var wn = {
1749
1871
  base: { tile: "breeze:inline-flex breeze:shrink-0 breeze:items-center breeze:justify-center" },
1750
1872
  compound: {},
1751
1873
  size: {
@@ -1767,15 +1889,15 @@ var on = {
1767
1889
  }
1768
1890
  }
1769
1891
  };
1770
- function sn({ label: e, name: t, shape: n = "square", size: r = "lg", tone: i = "brand" }) {
1892
+ function Tn({ label: e, name: t, shape: n = "square", size: r = "lg", tone: i = "brand" }) {
1771
1893
  return /* @__PURE__ */ m("span", {
1772
1894
  className: [
1773
- on.base.tile,
1774
- on.variant.tone[i],
1775
- on.variant.shape[n],
1776
- on.size[r]
1895
+ wn.base.tile,
1896
+ wn.variant.tone[i],
1897
+ wn.variant.shape[n],
1898
+ wn.size[r]
1777
1899
  ].join(" "),
1778
- children: /* @__PURE__ */ m(Y, {
1900
+ children: /* @__PURE__ */ m(J, {
1779
1901
  label: e,
1780
1902
  name: t,
1781
1903
  size: r === "lg" ? "md" : "sm"
@@ -1784,7 +1906,7 @@ function sn({ label: e, name: t, shape: n = "square", size: r = "lg", tone: i =
1784
1906
  }
1785
1907
  //#endregion
1786
1908
  //#region src/primitives/Inline/Inline.tsx
1787
- var cn = {
1909
+ var En = {
1788
1910
  base: { inline: "breeze:flex breeze:min-inline-size-0" },
1789
1911
  compound: {},
1790
1912
  size: {
@@ -1814,23 +1936,66 @@ var cn = {
1814
1936
  }
1815
1937
  }
1816
1938
  };
1817
- function ln({ "aria-label": e, children: t, element: n = "div", gap: i = 3, justify: a = "start", verticalAlign: o = "center", wrap: s = !1 }) {
1818
- let { accessibleLabel: c, role: l } = nt(e, n);
1819
- return r(n, {
1939
+ function Dn({ "aria-label": e, children: n, element: r = "div", gap: i = 3, justify: a = "start", verticalAlign: o = "center", wrap: s = !1 }) {
1940
+ let { accessibleLabel: c, role: l } = Tt(e, r);
1941
+ return t(r, {
1820
1942
  "aria-label": c,
1821
1943
  className: [
1822
- cn.base.inline,
1823
- cn.variant.align[o],
1824
- cn.variant.justify[a],
1825
- cn.size[i],
1826
- s && cn.state.wrap
1944
+ En.base.inline,
1945
+ En.variant.align[o],
1946
+ En.variant.justify[a],
1947
+ En.size[i],
1948
+ s && En.state.wrap
1827
1949
  ].filter(Boolean).join(" "),
1828
1950
  role: l
1829
- }, t);
1951
+ }, n);
1952
+ }
1953
+ //#endregion
1954
+ //#region src/primitives/Link/Link.tsx
1955
+ var On = {
1956
+ base: { link: "breeze:font-medium breeze:underline breeze:underline-offset-2 breeze:outline-offset-2 breeze:focus-visible:outline-2 breeze:focus-visible:outline-solid breeze:focus-visible:outline-breeze-brand" },
1957
+ compound: {},
1958
+ size: {},
1959
+ state: {},
1960
+ variant: {
1961
+ default: "breeze:text-breeze-brand-text breeze:decoration-current breeze:hover:text-breeze-brand-hover",
1962
+ subtle: "breeze:text-breeze-ink-2 breeze:decoration-breeze-line-strong breeze:hover:text-breeze-ink"
1963
+ }
1964
+ };
1965
+ function kn(e, t) {
1966
+ if (e.defaultPrevented || e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || t !== void 0 && t !== !1) return !1;
1967
+ let n = e.currentTarget, r = n.getAttribute("target"), i = document.querySelector("base[target]")?.getAttribute("target"), a = r || i || "";
1968
+ if (a.toLowerCase() !== "" && a.toLowerCase() !== "_self") return !1;
1969
+ let o = new URL(n.href, document.baseURI);
1970
+ return !(o.protocol !== "http:" && o.protocol !== "https:" || o.origin !== window.location.origin || o.hash !== "" || n.getAttribute("href")?.includes("#"));
1971
+ }
1972
+ function An({ "aria-current": e, "aria-describedby": t, "aria-label": n, "aria-labelledby": r, children: i, download: a, href: o, hrefLang: s, id: c, lang: l, ref: u, rel: d, target: f, title: p, type: h, transitionTypes: g = [], variant: _ = "default" }) {
1973
+ let { router: v } = U();
1974
+ return /* @__PURE__ */ m("a", {
1975
+ "aria-current": e,
1976
+ "aria-describedby": t,
1977
+ "aria-label": n,
1978
+ "aria-labelledby": r,
1979
+ className: [On.base.link, On.variant[_]].join(" "),
1980
+ download: a,
1981
+ href: o,
1982
+ hrefLang: s,
1983
+ id: c,
1984
+ lang: l,
1985
+ onClick: (e) => {
1986
+ v === void 0 || !kn(e, a) || (e.preventDefault(), v.navigate(o, { transitionTypes: g }));
1987
+ },
1988
+ ref: u,
1989
+ rel: d,
1990
+ target: f,
1991
+ title: p,
1992
+ type: h,
1993
+ children: i
1994
+ });
1830
1995
  }
1831
1996
  //#endregion
1832
1997
  //#region src/primitives/Menu/Menu.tsx
1833
- var Q = {
1998
+ var Z = {
1834
1999
  base: {
1835
2000
  badge: "breeze:ms-auto",
1836
2001
  content: "breeze:flex breeze:min-inline-size-0 breeze:flex-1 breeze:flex-col breeze:gap-breeze-1",
@@ -1851,30 +2016,30 @@ var Q = {
1851
2016
  state: {},
1852
2017
  variant: {}
1853
2018
  };
1854
- function un({ descriptionId: e, descriptor: t }) {
2019
+ function jn({ descriptionId: e, descriptor: t }) {
1855
2020
  return /* @__PURE__ */ h(p, { children: [
1856
2021
  /* @__PURE__ */ m("span", {
1857
2022
  "aria-hidden": "true",
1858
- className: Q.base.icon,
1859
- children: t.icon && /* @__PURE__ */ m(Y, {
2023
+ className: Z.base.icon,
2024
+ children: t.icon && /* @__PURE__ */ m(J, {
1860
2025
  name: t.icon,
1861
2026
  size: "sm"
1862
2027
  })
1863
2028
  }),
1864
2029
  /* @__PURE__ */ h("span", {
1865
- className: Q.base.content,
2030
+ className: Z.base.content,
1866
2031
  children: [/* @__PURE__ */ m("span", {
1867
- className: Q.base.label,
2032
+ className: Z.base.label,
1868
2033
  children: t.label
1869
2034
  }), t.description && /* @__PURE__ */ m("span", {
1870
- className: Q.base.description,
2035
+ className: Z.base.description,
1871
2036
  id: e,
1872
2037
  children: t.description
1873
2038
  })]
1874
2039
  }),
1875
2040
  t.badge && /* @__PURE__ */ m("span", {
1876
- className: Q.base.badge,
1877
- children: /* @__PURE__ */ m(Ke, {
2041
+ className: Z.base.badge,
2042
+ children: /* @__PURE__ */ m(ht, {
1878
2043
  "aria-label": t.badge["aria-label"],
1879
2044
  variant: t.badge.variant,
1880
2045
  children: t.badge.children
@@ -1882,74 +2047,74 @@ function un({ descriptionId: e, descriptor: t }) {
1882
2047
  })
1883
2048
  ] });
1884
2049
  }
1885
- function dn(e) {
2050
+ function Mn(e) {
1886
2051
  if (!e.badge) return e.label;
1887
2052
  let t = e.badge["aria-label"]?.trim() || e.badge.children;
1888
2053
  return `${e.label}, ${t}`;
1889
2054
  }
1890
- function fn({ loading: e }) {
1891
- let { getMessageLocale: t, messages: n } = W();
2055
+ function Nn({ loading: e }) {
2056
+ let { getMessageLocale: t, messages: n } = U();
1892
2057
  return /* @__PURE__ */ h(p, { children: [e && /* @__PURE__ */ m("span", {
1893
- className: Q.base.triggerLoadingStatus,
1894
- children: /* @__PURE__ */ m(G, { label: n.loading })
2058
+ className: Z.base.triggerLoadingStatus,
2059
+ children: /* @__PURE__ */ m(W, { label: n.loading })
1895
2060
  }), /* @__PURE__ */ m("output", {
1896
2061
  "aria-live": "polite",
1897
- className: Q.base.triggerLoadingStatus,
2062
+ className: Z.base.triggerLoadingStatus,
1898
2063
  lang: t("loading"),
1899
2064
  children: e ? n.loading : ""
1900
2065
  })] });
1901
2066
  }
1902
- function pn({ defaultOpen: e, getItem: t, items: n, loading: a = !1, onAction: o, onOpenChange: f, open: _, trigger: v, triggerIcon: y }) {
1903
- W();
1904
- let [b, x] = d(e ?? !1), S = _ ?? b, C = u(null), w = u(!1), T = s(), E = l(() => n.map(t), [t, n]), D = i((e) => {
1905
- a && e || (_ === void 0 && x(e), f?.(e));
2067
+ function Pn({ defaultOpen: e, getItem: r, items: i, loading: u = !1, onAction: d, onOpenChange: f, open: _, trigger: v, triggerIcon: y }) {
2068
+ U();
2069
+ let [b, x] = l(e ?? !1), S = _ ?? b, C = c(null), w = c(!1), T = a(), E = s(() => i.map(r), [r, i]), D = n((e) => {
2070
+ u && e || (_ === void 0 && x(e), f?.(e));
1906
2071
  }, [
1907
2072
  _,
1908
- a,
2073
+ u,
1909
2074
  f
1910
2075
  ]);
1911
- return c(() => {
2076
+ return o(() => {
1912
2077
  !S && w.current && (w.current = !1, requestAnimationFrame(() => {
1913
2078
  let e = C.current;
1914
2079
  e && e.ownerDocument.activeElement === e.ownerDocument.body && e.focus();
1915
2080
  }));
1916
- }, [S]), /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h(Ae, {
2081
+ }, [S]), /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h(je, {
1917
2082
  isOpen: S,
1918
2083
  onOpenChange: D,
1919
2084
  children: [/* @__PURE__ */ h(g, {
1920
2085
  "aria-haspopup": "menu",
1921
- className: Q.base.trigger,
1922
- isPending: a,
2086
+ className: Z.base.trigger,
2087
+ isPending: u,
1923
2088
  ref: C,
1924
- render: (e) => r("button", {
2089
+ render: (e) => t("button", {
1925
2090
  ...e,
1926
- "aria-busy": a || void 0,
2091
+ "aria-busy": u || void 0,
1927
2092
  type: "button"
1928
2093
  }),
1929
2094
  children: [
1930
- y && /* @__PURE__ */ m(Y, {
2095
+ y && /* @__PURE__ */ m(J, {
1931
2096
  name: y,
1932
2097
  size: "sm"
1933
2098
  }),
1934
2099
  /* @__PURE__ */ h("span", {
1935
- className: Q.base.triggerLabel,
2100
+ className: Z.base.triggerLabel,
1936
2101
  children: [/* @__PURE__ */ m("span", {
1937
- className: [Q.base.triggerLabelContent, a && "breeze:opacity-0"].filter(Boolean).join(" "),
2102
+ className: [Z.base.triggerLabelContent, u && "breeze:opacity-0"].filter(Boolean).join(" "),
1938
2103
  children: v
1939
- }), a && /* @__PURE__ */ m("span", {
2104
+ }), u && /* @__PURE__ */ m("span", {
1940
2105
  "aria-hidden": "true",
1941
- className: Q.base.triggerLabelSkeleton,
2106
+ className: Z.base.triggerLabelSkeleton,
1942
2107
  "data-breeze-skeleton": "",
1943
- children: /* @__PURE__ */ m(G, {})
2108
+ children: /* @__PURE__ */ m(W, {})
1944
2109
  })]
1945
2110
  }),
1946
- /* @__PURE__ */ m(Y, {
2111
+ /* @__PURE__ */ m(J, {
1947
2112
  name: "expand",
1948
2113
  size: "sm"
1949
2114
  })
1950
2115
  ]
1951
- }), /* @__PURE__ */ m(wt, {
1952
- className: Q.base.popover,
2116
+ }), /* @__PURE__ */ m(Ht, {
2117
+ className: Z.base.popover,
1953
2118
  isOpen: S,
1954
2119
  onOpenChange: D,
1955
2120
  triggerRef: C,
@@ -1957,23 +2122,23 @@ function pn({ defaultOpen: e, getItem: t, items: n, loading: a = !1, onAction: o
1957
2122
  onKeyDownCapture: (e) => {
1958
2123
  e.key === "Escape" && (w.current = !0);
1959
2124
  },
1960
- children: /* @__PURE__ */ m(Oe, {
1961
- className: Q.base.menu,
2125
+ children: /* @__PURE__ */ m(ke, {
2126
+ className: Z.base.menu,
1962
2127
  id: T,
1963
2128
  onAction: (e) => {
1964
2129
  let t = E.find((t) => t.id === e);
1965
- t && (w.current = !0, o?.(t));
2130
+ t && (w.current = !0, d?.(t));
1966
2131
  },
1967
2132
  children: E.map((e, t) => {
1968
2133
  let n = `${T}-description-${t}`;
1969
- return /* @__PURE__ */ m(ke, {
2134
+ return /* @__PURE__ */ m(Ae, {
1970
2135
  "aria-describedby": e.description ? n : void 0,
1971
- "aria-label": dn(e),
1972
- className: Q.base.item,
2136
+ "aria-label": Mn(e),
2137
+ className: Z.base.item,
1973
2138
  id: e.id,
1974
2139
  isDisabled: e.disabled,
1975
2140
  textValue: e.label,
1976
- children: /* @__PURE__ */ m(un, {
2141
+ children: /* @__PURE__ */ m(jn, {
1977
2142
  descriptionId: n,
1978
2143
  descriptor: e
1979
2144
  })
@@ -1982,11 +2147,11 @@ function pn({ defaultOpen: e, getItem: t, items: n, loading: a = !1, onAction: o
1982
2147
  })
1983
2148
  })
1984
2149
  })]
1985
- }), /* @__PURE__ */ m(fn, { loading: a })] });
2150
+ }), /* @__PURE__ */ m(Nn, { loading: u })] });
1986
2151
  }
1987
2152
  //#endregion
1988
2153
  //#region src/primitives/NumberField/NumberField.tsx
1989
- var $ = {
2154
+ var Q = {
1990
2155
  base: {
1991
2156
  group: "breeze:relative breeze:inline-flex breeze:min-block-breeze-md breeze:min-inline-size-0 breeze:inline-size-full breeze:items-stretch breeze:overflow-hidden breeze:rounded-breeze-ctl breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:has-[input[data-focus-visible]]:outline-2 breeze:has-[input[data-focus-visible]]:outline-solid breeze:has-[input[data-focus-visible]]:outline-breeze-brand breeze:has-[input[data-invalid]]:border-breeze-danger breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:bg-breeze-sunken",
1992
2157
  input: "breeze:min-block-breeze-md breeze:min-inline-size-0 breeze:flex-1 breeze:border-0 breeze:rounded-none breeze:bg-transparent breeze:tabular-nums breeze:outline-none breeze:placeholder:text-breeze-ink-3 breeze:data-[hovered]:border-transparent breeze:data-[focus-visible]:!outline-none breeze:data-[invalid]:border-transparent breeze:disabled:cursor-not-allowed breeze:read-only:cursor-default",
@@ -2003,13 +2168,13 @@ var $ = {
2003
2168
  },
2004
2169
  variant: {}
2005
2170
  };
2006
- function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, disabled: a = !1, error: o, form: s, formatOptions: c, id: l, label: u, loading: d = !1, maxValue: f, minValue: p, name: _, onChange: v, placeholder: y, readOnly: b = !1, ref: x, required: S = !1, step: C, value: w }) {
2007
- let { messages: T } = W(), E = i?.trim() || void 0, D = o?.trim() || void 0, O = a || d;
2008
- return /* @__PURE__ */ h(je, {
2009
- autoFocus: t,
2171
+ function Fn({ autoComplete: e, autoFocus: n, defaultValue: r, description: i, disabled: a = !1, error: o, form: s, formatOptions: c, id: l, label: u, loading: d = !1, maxValue: f, minValue: p, name: _, onChange: v, placeholder: y, readOnly: b = !1, ref: x, required: S = !1, step: C, value: w }) {
2172
+ let { messages: T } = U(), E = i?.trim() || void 0, D = o?.trim() || void 0, O = a || d;
2173
+ return /* @__PURE__ */ h(Me, {
2174
+ autoFocus: n,
2010
2175
  "aria-label": d ? u : void 0,
2011
- className: q.base.root,
2012
- defaultValue: n,
2176
+ className: K.base.root,
2177
+ defaultValue: r,
2013
2178
  form: s,
2014
2179
  formatOptions: c,
2015
2180
  id: l,
@@ -2025,24 +2190,24 @@ function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2025
2190
  validationBehavior: "aria",
2026
2191
  value: w,
2027
2192
  children: [
2028
- /* @__PURE__ */ m(at, {
2193
+ /* @__PURE__ */ m(Ot, {
2029
2194
  label: u,
2030
2195
  loading: d
2031
2196
  }),
2032
- /* @__PURE__ */ h(_e, {
2033
- className: J($.base.group, b && !d && $.state.readOnlyGroup, d && $.state.loadingGroup),
2197
+ /* @__PURE__ */ h(ve, {
2198
+ className: q(Q.base.group, b && !d && Q.state.readOnlyGroup, d && Q.state.loadingGroup),
2034
2199
  children: [
2035
- /* @__PURE__ */ m(ve, {
2200
+ /* @__PURE__ */ m(ye, {
2036
2201
  "aria-busy": d || void 0,
2037
- className: J(q.base.input, $.base.input, d && $.state.loadingInput),
2202
+ className: q(K.base.input, Q.base.input, d && Q.state.loadingInput),
2038
2203
  autoComplete: e,
2039
2204
  placeholder: y,
2040
2205
  form: s,
2041
2206
  ref: x
2042
2207
  }),
2043
2208
  /* @__PURE__ */ m(g, {
2044
- className: J($.base.stepButton, d && $.state.loadingStepButton),
2045
- render: (e) => r("button", {
2209
+ className: q(Q.base.stepButton, d && Q.state.loadingStepButton),
2210
+ render: (e) => t("button", {
2046
2211
  ...e,
2047
2212
  "aria-hidden": d || void 0,
2048
2213
  type: "button"
@@ -2052,8 +2217,8 @@ function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2052
2217
  children: "−"
2053
2218
  }),
2054
2219
  /* @__PURE__ */ m(g, {
2055
- className: J($.base.stepButton, d && $.state.loadingStepButton),
2056
- render: (e) => r("button", {
2220
+ className: q(Q.base.stepButton, d && Q.state.loadingStepButton),
2221
+ render: (e) => t("button", {
2057
2222
  ...e,
2058
2223
  "aria-hidden": d || void 0,
2059
2224
  type: "button"
@@ -2063,8 +2228,8 @@ function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2063
2228
  children: "+"
2064
2229
  }),
2065
2230
  d && /* @__PURE__ */ m("span", {
2066
- className: $.base.skeleton,
2067
- children: /* @__PURE__ */ m(G, {
2231
+ className: Q.base.skeleton,
2232
+ children: /* @__PURE__ */ m(W, {
2068
2233
  blockSize: "100%",
2069
2234
  inlineSize: "100%",
2070
2235
  label: T.loading,
@@ -2073,7 +2238,7 @@ function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2073
2238
  })
2074
2239
  ]
2075
2240
  }),
2076
- /* @__PURE__ */ m(ot, {
2241
+ /* @__PURE__ */ m(kt, {
2077
2242
  description: E,
2078
2243
  error: D,
2079
2244
  loading: d
@@ -2083,8 +2248,8 @@ function mn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2083
2248
  }
2084
2249
  //#endregion
2085
2250
  //#region src/primitives/Popover/Popover.tsx
2086
- function hn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o, placement: s }) {
2087
- return /* @__PURE__ */ m(en, {
2251
+ function In({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open: i, title: a, trigger: o, placement: s }) {
2252
+ return /* @__PURE__ */ m(yn, {
2088
2253
  defaultOpen: t,
2089
2254
  dismissible: n,
2090
2255
  onOpenChange: r,
@@ -2097,66 +2262,313 @@ function hn({ children: e, defaultOpen: t, dismissible: n, onOpenChange: r, open
2097
2262
  });
2098
2263
  }
2099
2264
  //#endregion
2265
+ //#region src/primitives/RowList/RowList.tsx
2266
+ var $ = {
2267
+ base: {
2268
+ badge: "breeze:block breeze:inline-size-full breeze:max-inline-size-full breeze:min-inline-size-0 breeze:overflow-hidden breeze:whitespace-nowrap breeze:[&>span]:max-inline-size-full breeze:[&>span]:min-inline-size-0 breeze:[&>span]:overflow-hidden breeze:[&>span>span:first-child]:min-inline-size-0 breeze:[&>span>span:first-child]:overflow-hidden breeze:[&>span>span:first-child]:text-ellipsis",
2269
+ container: "breeze:min-inline-size-0 breeze:inline-size-full",
2270
+ content: "breeze:flex breeze:min-inline-size-0 breeze:flex-1 breeze:flex-col",
2271
+ description: "breeze:break-words breeze:text-breeze-xs breeze:font-normal breeze:leading-breeze-snug breeze:text-breeze-ink-3",
2272
+ emptyMessage: "breeze:box-border breeze:inline-size-full breeze:min-inline-size-0 breeze:px-breeze-3 breeze:py-breeze-3 breeze:text-breeze-sm breeze:text-breeze-ink-2",
2273
+ grid: "breeze:inline-size-full breeze:min-inline-size-0 breeze:flex breeze:flex-col breeze:gap-0",
2274
+ header: "breeze:box-border breeze:inline-size-full breeze:min-inline-size-0 breeze:grid breeze:grid-cols-[minmax(0,2fr)_minmax(0,1fr)_minmax(0,1fr)] breeze:items-center breeze:gap-breeze-4 breeze:border-breeze-line breeze:border-be breeze:px-breeze-3 breeze:py-breeze-2 breeze:text-breeze-xs breeze:font-medium breeze:text-breeze-ink-2 breeze:max-breeze-md:grid-cols-1 breeze:max-breeze-md:gap-breeze-1",
2275
+ headerLabel: "breeze:col-start-1 breeze:min-inline-size-0 breeze:break-words",
2276
+ icon: "breeze:block-size-breeze-4 breeze:inline-size-breeze-4 breeze:shrink-0",
2277
+ item: "breeze:box-border breeze:inline-size-full breeze:min-inline-size-0 breeze:grid breeze:grid-cols-[minmax(0,2fr)_minmax(0,1fr)_minmax(0,1fr)] breeze:items-center breeze:gap-breeze-4 breeze:border-breeze-line breeze:border-be breeze:px-breeze-3 breeze:py-breeze-3 breeze:text-start breeze:outline-offset-[-2px] breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:opacity-50 breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[hovered]:bg-breeze-sunken breeze:data-[pressed]:bg-breeze-sunken breeze:any-pointer-coarse:min-block-breeze-tap breeze:max-breeze-md:grid-cols-1 breeze:max-breeze-md:gap-breeze-1",
2278
+ label: "breeze:min-inline-size-0 breeze:break-words breeze:font-medium",
2279
+ leading: "breeze:col-start-1 breeze:flex breeze:min-inline-size-0 breeze:flex-col breeze:items-start breeze:gap-breeze-2",
2280
+ loadMore: "breeze:flex breeze:min-inline-size-0 breeze:justify-center breeze:py-breeze-3",
2281
+ loadingLeading: "breeze:flex breeze:min-inline-size-0 breeze:flex-col breeze:gap-breeze-2",
2282
+ loadingMoneyPlaceholder: "breeze:flex breeze:justify-end breeze:font-breeze-sans breeze:text-breeze-4xl breeze:font-semibold breeze:leading-breeze-tight breeze:tracking-breeze-tightest breeze:tabular-nums breeze:[&>progress]:[font:inherit]",
2283
+ loadingPlaceholder: "breeze:flex breeze:justify-end breeze:max-breeze-md:justify-start",
2284
+ loadingRow: "breeze:box-border breeze:inline-size-full breeze:min-inline-size-0 breeze:grid breeze:grid-cols-[minmax(0,2fr)_minmax(0,1fr)_minmax(0,1fr)] breeze:items-center breeze:gap-breeze-4 breeze:border-breeze-line breeze:border-be breeze:px-breeze-3 breeze:py-breeze-3 breeze:max-breeze-md:grid-cols-1 breeze:max-breeze-md:gap-breeze-1",
2285
+ loadingStatus: "breeze:sr-only",
2286
+ metadata: "breeze:col-start-2 breeze:min-inline-size-0 breeze:break-words breeze:text-end breeze:max-breeze-md:col-start-1 breeze:max-breeze-md:text-start",
2287
+ primary: "breeze:flex breeze:inline-size-full breeze:min-inline-size-0 breeze:items-start breeze:gap-breeze-2",
2288
+ section: "breeze:flex breeze:min-inline-size-0 breeze:flex-col",
2289
+ skeletonRows: "breeze:flex breeze:min-inline-size-0 breeze:flex-col",
2290
+ value: "breeze:col-start-3 breeze:min-inline-size-0 breeze:break-words breeze:text-end breeze:max-breeze-md:col-start-1 breeze:max-breeze-md:text-start"
2291
+ },
2292
+ compound: {},
2293
+ size: {},
2294
+ state: {},
2295
+ variant: {}
2296
+ };
2297
+ function Ln(e) {
2298
+ let t = [], n = /* @__PURE__ */ new Map();
2299
+ return e.forEach((e) => {
2300
+ if (!e.section) {
2301
+ t.push({
2302
+ descriptor: e,
2303
+ kind: "row"
2304
+ });
2305
+ return;
2306
+ }
2307
+ let r = n.get(e.section.id);
2308
+ if (r) r.items.push(e);
2309
+ else {
2310
+ let r = {
2311
+ id: e.section.id,
2312
+ items: [e],
2313
+ label: e.section.label
2314
+ };
2315
+ n.set(r.id, r), t.push({
2316
+ group: r,
2317
+ kind: "section"
2318
+ });
2319
+ }
2320
+ }), t;
2321
+ }
2322
+ function Rn() {
2323
+ return /* @__PURE__ */ m(W, {
2324
+ blockSize: "1lh",
2325
+ inlineSize: "min(100%, 8em)"
2326
+ });
2327
+ }
2328
+ var zn = [
2329
+ "first",
2330
+ "second",
2331
+ "third"
2332
+ ];
2333
+ function Bn() {
2334
+ return /* @__PURE__ */ m("div", {
2335
+ className: $.base.skeletonRows,
2336
+ children: zn.map((e) => /* @__PURE__ */ h("div", {
2337
+ className: $.base.loadingRow,
2338
+ children: [
2339
+ /* @__PURE__ */ h("div", {
2340
+ className: $.base.loadingLeading,
2341
+ children: [/* @__PURE__ */ m(W, {
2342
+ blockSize: "1lh",
2343
+ inlineSize: "min(100%, 9em)"
2344
+ }), /* @__PURE__ */ m(W, {
2345
+ blockSize: "1lh",
2346
+ inlineSize: "min(100%, 14em)"
2347
+ })]
2348
+ }),
2349
+ /* @__PURE__ */ m("div", {
2350
+ className: $.base.metadata,
2351
+ children: /* @__PURE__ */ m("div", {
2352
+ className: $.base.loadingPlaceholder,
2353
+ children: /* @__PURE__ */ m(W, {
2354
+ blockSize: "1lh",
2355
+ inlineSize: "min(100%, 7em)"
2356
+ })
2357
+ })
2358
+ }),
2359
+ /* @__PURE__ */ m("div", {
2360
+ className: $.base.value,
2361
+ children: /* @__PURE__ */ m("div", {
2362
+ className: $.base.loadingPlaceholder,
2363
+ children: /* @__PURE__ */ m(W, {
2364
+ blockSize: "1lh",
2365
+ inlineSize: "min(100%, 5em)"
2366
+ })
2367
+ })
2368
+ })
2369
+ ]
2370
+ }, e))
2371
+ });
2372
+ }
2373
+ function Vn({ descriptor: e }) {
2374
+ let { metadata: t } = e;
2375
+ return t ? e.loading ? /* @__PURE__ */ m("div", {
2376
+ className: $.base.loadingPlaceholder,
2377
+ children: /* @__PURE__ */ m(Rn, {})
2378
+ }) : t.format === "date" ? /* @__PURE__ */ m(cn, {
2379
+ element: "span",
2380
+ format: "date",
2381
+ dateStyle: "medium",
2382
+ tone: "secondary",
2383
+ value: t.value,
2384
+ variant: "caption"
2385
+ }) : /* @__PURE__ */ m(cn, {
2386
+ element: "span",
2387
+ tone: "secondary",
2388
+ variant: "caption",
2389
+ children: t.value
2390
+ }) : null;
2391
+ }
2392
+ function Hn({ descriptor: e }) {
2393
+ let { value: t } = e;
2394
+ return t ? e.loading ? /* @__PURE__ */ m("div", {
2395
+ className: t.format === "currency" ? $.base.loadingMoneyPlaceholder : $.base.loadingPlaceholder,
2396
+ children: t.format === "currency" ? /* @__PURE__ */ m(W, {
2397
+ blockSize: "1lh",
2398
+ inlineSize: "min(100%, 4em)"
2399
+ }) : /* @__PURE__ */ m(Rn, {})
2400
+ }) : t.format === "currency" ? /* @__PURE__ */ m(cn, {
2401
+ element: "span",
2402
+ format: "currency",
2403
+ currency: t.currency,
2404
+ tone: "secondary",
2405
+ value: t.value,
2406
+ variant: "money"
2407
+ }) : /* @__PURE__ */ m(cn, {
2408
+ element: "span",
2409
+ tone: "secondary",
2410
+ variant: "body",
2411
+ children: t.value
2412
+ }) : null;
2413
+ }
2414
+ function Un({ descriptor: e }) {
2415
+ return /* @__PURE__ */ h(p, { children: [
2416
+ /* @__PURE__ */ h("div", {
2417
+ className: $.base.leading,
2418
+ children: [/* @__PURE__ */ h("div", {
2419
+ className: $.base.primary,
2420
+ children: [e.icon && /* @__PURE__ */ m("span", {
2421
+ "aria-hidden": "true",
2422
+ className: $.base.icon,
2423
+ children: /* @__PURE__ */ m(J, {
2424
+ name: e.icon,
2425
+ size: "sm"
2426
+ })
2427
+ }), /* @__PURE__ */ h("span", {
2428
+ className: $.base.content,
2429
+ children: [/* @__PURE__ */ m("span", {
2430
+ className: $.base.label,
2431
+ children: e.label
2432
+ }), e.description && /* @__PURE__ */ m("span", {
2433
+ className: $.base.description,
2434
+ children: e.description
2435
+ })]
2436
+ })]
2437
+ }), e.badge && /* @__PURE__ */ m("span", {
2438
+ className: $.base.badge,
2439
+ children: /* @__PURE__ */ m(ht, {
2440
+ "aria-label": e.badge["aria-label"],
2441
+ variant: e.badge.variant,
2442
+ children: e.badge.children
2443
+ })
2444
+ })]
2445
+ }),
2446
+ e.metadata && /* @__PURE__ */ m("div", {
2447
+ className: $.base.metadata,
2448
+ children: /* @__PURE__ */ m(Vn, { descriptor: e })
2449
+ }),
2450
+ e.value && /* @__PURE__ */ m("div", {
2451
+ className: $.base.value,
2452
+ children: /* @__PURE__ */ m(Hn, { descriptor: e })
2453
+ })
2454
+ ] });
2455
+ }
2456
+ function Wn(e, t) {
2457
+ return /* @__PURE__ */ m(Fe, {
2458
+ className: $.base.item,
2459
+ id: `row:${e.id}`,
2460
+ isDisabled: e.disabled,
2461
+ onAction: () => t(e),
2462
+ textValue: e.label,
2463
+ children: /* @__PURE__ */ m(Un, { descriptor: e })
2464
+ }, `row:${e.id}`);
2465
+ }
2466
+ function Gn({ "aria-label": e, getItem: t, items: n, loading: r = !1, loadMore: i, onAction: a }) {
2467
+ let { getMessageLocale: o, messages: s } = U(), c = Ln(n.map(t)), l = i?.loading ?? !1, u = r || l, d = "";
2468
+ return u ? d = s.loading : n.length === 0 && (d = s.noItemsToDisplay), /* @__PURE__ */ h("div", {
2469
+ className: $.base.container,
2470
+ children: [
2471
+ /* @__PURE__ */ m(Ne, {
2472
+ "aria-busy": r || void 0,
2473
+ "aria-label": e,
2474
+ className: $.base.grid,
2475
+ renderEmptyState: () => u ? /* @__PURE__ */ m(Bn, {}) : /* @__PURE__ */ m("div", {
2476
+ className: $.base.emptyMessage,
2477
+ lang: o("noItemsToDisplay"),
2478
+ children: s.noItemsToDisplay
2479
+ }),
2480
+ selectionMode: "none",
2481
+ children: c.map((e) => e.kind === "row" ? Wn(e.descriptor, a) : /* @__PURE__ */ h(Ie, {
2482
+ className: $.base.section,
2483
+ id: `section:${e.group.id}`,
2484
+ children: [/* @__PURE__ */ m(Pe, {
2485
+ className: $.base.header,
2486
+ children: /* @__PURE__ */ m("span", {
2487
+ className: $.base.headerLabel,
2488
+ children: e.group.label
2489
+ })
2490
+ }), e.group.items.map((e) => Wn(e, a))]
2491
+ }, `section:${e.group.id}`))
2492
+ }),
2493
+ /* @__PURE__ */ m("output", {
2494
+ "aria-live": "polite",
2495
+ className: $.base.loadingStatus,
2496
+ lang: o(u ? "loading" : "noItemsToDisplay"),
2497
+ children: d
2498
+ }),
2499
+ i && /* @__PURE__ */ m("div", {
2500
+ className: $.base.loadMore,
2501
+ children: /* @__PURE__ */ m(_t, {
2502
+ loading: l,
2503
+ onAction: i.onAction,
2504
+ variant: "quiet",
2505
+ children: i.label
2506
+ })
2507
+ })
2508
+ ]
2509
+ });
2510
+ }
2511
+ //#endregion
2100
2512
  //#region src/primitives/Select/Select.tsx
2101
- var gn = {
2513
+ var Kn = {
2102
2514
  base: { trigger: "breeze:flex breeze:min-block-breeze-md breeze:any-pointer-coarse:min-block-breeze-tap breeze:min-inline-size-0 breeze:inline-size-full breeze:items-center breeze:justify-between breeze:rounded-breeze-ctl breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:ps-breeze-3 breeze:pe-breeze-3 breeze:py-breeze-2 breeze:font-breeze-sans breeze:text-breeze-sm breeze:text-breeze-ink breeze:outline-offset-2 breeze:data-[hovered]:border-breeze-brand breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[invalid]:border-breeze-danger breeze:disabled:cursor-not-allowed breeze:disabled:bg-breeze-sunken breeze:disabled:opacity-60" },
2103
2515
  compound: {},
2104
2516
  size: {},
2105
2517
  state: { readOnlyTrigger: "breeze:cursor-default breeze:bg-breeze-sunken" },
2106
2518
  variant: {}
2107
2519
  };
2108
- function _n({ items: e }) {
2109
- return /* @__PURE__ */ m(ye, {
2110
- className: Z.base.listBox,
2520
+ function qn({ items: e }) {
2521
+ return /* @__PURE__ */ m(be, {
2522
+ className: X.base.listBox,
2111
2523
  items: e,
2112
- children: (e) => /* @__PURE__ */ m(be, {
2113
- className: Z.base.item,
2524
+ children: (e) => /* @__PURE__ */ m(xe, {
2525
+ className: X.base.item,
2114
2526
  id: e.descriptor.id,
2115
2527
  isDisabled: e.descriptor.disabled,
2116
2528
  textValue: e.descriptor.label,
2117
2529
  value: e,
2118
- children: ({ isSelected: t }) => /* @__PURE__ */ m(Tt, {
2530
+ children: ({ isSelected: t }) => /* @__PURE__ */ m(Ut, {
2119
2531
  descriptor: e.descriptor,
2120
2532
  isSelected: t
2121
2533
  })
2122
2534
  })
2123
2535
  });
2124
2536
  }
2125
- function vn({ form: e, interactionDisabled: t, name: n, readOnly: r }) {
2126
- let i = a(Ne);
2127
- return !r || t || !n || i === null ? null : /* @__PURE__ */ m("input", {
2537
+ function Jn({ form: e, interactionDisabled: t, name: n, readOnly: i }) {
2538
+ let a = r(Re);
2539
+ return !i || t || !n || a === null ? null : /* @__PURE__ */ m("input", {
2128
2540
  form: e,
2129
2541
  name: n,
2130
2542
  type: "hidden",
2131
- value: i.value === null ? "" : String(i.value)
2543
+ value: a.value === null ? "" : String(a.value)
2132
2544
  });
2133
2545
  }
2134
- function yn({ disabled: e, items: t, readOnly: n, triggerRef: r }) {
2135
- let i = a(Ne), s = e || n || t.length === 0, c = !s && (i?.isOpen ?? !1);
2136
- return o(() => {
2137
- s && i?.isOpen && i.setOpen(!1);
2138
- }, [s, i]), /* @__PURE__ */ m(wt, {
2139
- className: Z.base.popover,
2546
+ function Yn({ disabled: e, items: t, readOnly: n, triggerRef: a }) {
2547
+ let o = r(Re), s = e || n || t.length === 0, c = !s && (o?.isOpen ?? !1);
2548
+ return i(() => {
2549
+ s && o?.isOpen && o.setOpen(!1);
2550
+ }, [s, o]), /* @__PURE__ */ m(Ht, {
2551
+ className: X.base.popover,
2140
2552
  isOpen: c,
2141
- onOpenChange: (e) => i?.setOpen(e),
2142
- triggerRef: r,
2143
- children: /* @__PURE__ */ m(_n, { items: t })
2553
+ onOpenChange: (e) => o?.setOpen(e),
2554
+ triggerRef: a,
2555
+ children: /* @__PURE__ */ m(qn, { items: t })
2144
2556
  });
2145
2557
  }
2146
- function bn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, disabled: a = !1, error: o, form: c, getItem: d, id: f, items: p, label: _, loading: v = !1, name: y, onChange: b, placeholder: x, readOnly: S = !1, required: C = !1, value: w }) {
2147
- let { messages: T } = W(), E = i?.trim() || void 0, D = o?.trim() || void 0, O = a || v, k = !v && D !== void 0, A = s(), j = f ?? `${A}-control`, M = u(null), N = l(() => p.map((e) => ({
2558
+ function Xn({ autoComplete: e, autoFocus: n, defaultValue: r, description: i, disabled: o = !1, error: l, form: u, getItem: d, id: f, items: p, label: _, loading: v = !1, name: y, onChange: b, placeholder: x, readOnly: S = !1, required: C = !1, value: w }) {
2559
+ let { messages: T } = U(), E = i?.trim() || void 0, D = l?.trim() || void 0, O = o || v, k = !v && D !== void 0, A = a(), j = f ?? `${A}-control`, M = c(null), N = s(() => p.map((e) => ({
2148
2560
  descriptor: d(e),
2149
2561
  item: e
2150
2562
  })), [d, p]), ee;
2151
2563
  ee = w === void 0 ? void 0 : w === null ? null : d(w).id;
2152
- let te = n == null ? null : d(n).id;
2153
- return /* @__PURE__ */ h(Me, {
2564
+ let te = r == null ? null : d(r).id;
2565
+ return /* @__PURE__ */ h(Le, {
2154
2566
  "aria-label": v ? _ : void 0,
2155
2567
  autoComplete: e,
2156
- autoFocus: t,
2157
- className: q.base.root,
2568
+ autoFocus: n,
2569
+ className: K.base.root,
2158
2570
  defaultValue: te,
2159
- form: c,
2571
+ form: u,
2160
2572
  id: j,
2161
2573
  isDisabled: O || S,
2162
2574
  isInvalid: k,
@@ -2171,19 +2583,19 @@ function bn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2171
2583
  validationBehavior: "aria",
2172
2584
  value: ee,
2173
2585
  children: [
2174
- /* @__PURE__ */ m(at, {
2586
+ /* @__PURE__ */ m(Ot, {
2175
2587
  htmlFor: j,
2176
2588
  label: _,
2177
2589
  loading: v,
2178
2590
  onClick: () => M.current?.focus()
2179
2591
  }),
2180
2592
  /* @__PURE__ */ h("div", {
2181
- className: q.base.control,
2593
+ className: K.base.control,
2182
2594
  children: [/* @__PURE__ */ h(g, {
2183
- className: J(gn.base.trigger, S && gn.state.readOnlyTrigger, v && "breeze:!opacity-0"),
2595
+ className: q(Kn.base.trigger, S && Kn.state.readOnlyTrigger, v && "breeze:!opacity-0"),
2184
2596
  isDisabled: O,
2185
2597
  ref: M,
2186
- render: (e) => r("button", {
2598
+ render: (e) => t("button", {
2187
2599
  ...e,
2188
2600
  "aria-busy": v || void 0,
2189
2601
  "aria-disabled": S || void 0,
@@ -2191,16 +2603,16 @@ function bn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2191
2603
  "data-invalid": k || void 0,
2192
2604
  type: "button"
2193
2605
  }),
2194
- children: [/* @__PURE__ */ m(Pe, {
2195
- className: J(Z.base.content, "breeze:text-start"),
2606
+ children: [/* @__PURE__ */ m(ze, {
2607
+ className: q(X.base.content, "breeze:text-start"),
2196
2608
  children: ({ isPlaceholder: e, selectedText: t }) => e ? x ?? "" : t
2197
- }), /* @__PURE__ */ m(Y, {
2609
+ }), /* @__PURE__ */ m(J, {
2198
2610
  name: "expand",
2199
2611
  size: "sm"
2200
2612
  })]
2201
2613
  }), v && /* @__PURE__ */ m("span", {
2202
- className: q.base.skeleton,
2203
- children: /* @__PURE__ */ m(G, {
2614
+ className: K.base.skeleton,
2615
+ children: /* @__PURE__ */ m(W, {
2204
2616
  blockSize: "100%",
2205
2617
  inlineSize: "100%",
2206
2618
  label: T.loading,
@@ -2208,19 +2620,19 @@ function bn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2208
2620
  })
2209
2621
  })]
2210
2622
  }),
2211
- /* @__PURE__ */ m(yn, {
2623
+ /* @__PURE__ */ m(Yn, {
2212
2624
  disabled: O,
2213
2625
  items: N,
2214
2626
  readOnly: S,
2215
2627
  triggerRef: M
2216
2628
  }),
2217
- /* @__PURE__ */ m(vn, {
2218
- form: c,
2629
+ /* @__PURE__ */ m(Jn, {
2630
+ form: u,
2219
2631
  interactionDisabled: O,
2220
2632
  name: y,
2221
2633
  readOnly: S
2222
2634
  }),
2223
- /* @__PURE__ */ m(ot, {
2635
+ /* @__PURE__ */ m(kt, {
2224
2636
  description: E,
2225
2637
  error: D,
2226
2638
  loading: v
@@ -2230,7 +2642,7 @@ function bn({ autoComplete: e, autoFocus: t, defaultValue: n, description: i, di
2230
2642
  }
2231
2643
  //#endregion
2232
2644
  //#region src/primitives/Separator/Separator.tsx
2233
- var xn = {
2645
+ var Zn = {
2234
2646
  base: { separator: "breeze:m-0 breeze:shrink-0 breeze:border-0 breeze:bg-breeze-line breeze:forced-colors:bg-[CanvasText]" },
2235
2647
  compound: {},
2236
2648
  size: {},
@@ -2240,15 +2652,15 @@ var xn = {
2240
2652
  vertical: "breeze:block-size-full breeze:inline-size-breeze-px"
2241
2653
  }
2242
2654
  };
2243
- function Sn({ orientation: e = "horizontal" }) {
2655
+ function Qn({ orientation: e = "horizontal" }) {
2244
2656
  return /* @__PURE__ */ m("hr", {
2245
2657
  "aria-orientation": e,
2246
- className: [xn.base.separator, xn.variant[e]].join(" ")
2658
+ className: [Zn.base.separator, Zn.variant[e]].join(" ")
2247
2659
  });
2248
2660
  }
2249
2661
  //#endregion
2250
2662
  //#region src/primitives/Stack/Stack.tsx
2251
- var Cn = {
2663
+ var $n = {
2252
2664
  base: { stack: "breeze:flex breeze:min-inline-size-0 breeze:flex-col" },
2253
2665
  compound: {},
2254
2666
  size: {
@@ -2270,24 +2682,24 @@ var Cn = {
2270
2682
  stretch: "breeze:items-stretch"
2271
2683
  }
2272
2684
  };
2273
- function wn({ "aria-label": e, children: t, element: n = "div", gap: i = 3, horizontalAlign: a = "stretch" }) {
2274
- let { accessibleLabel: o, role: s } = nt(e, n);
2275
- return r(n, {
2685
+ function er({ "aria-label": e, children: n, element: r = "div", gap: i = 3, horizontalAlign: a = "stretch" }) {
2686
+ let { accessibleLabel: o, role: s } = Tt(e, r);
2687
+ return t(r, {
2276
2688
  "aria-label": o,
2277
2689
  className: [
2278
- Cn.base.stack,
2279
- Cn.variant[a],
2280
- Cn.size[i]
2690
+ $n.base.stack,
2691
+ $n.variant[a],
2692
+ $n.size[i]
2281
2693
  ].join(" "),
2282
2694
  role: s
2283
- }, t);
2695
+ }, n);
2284
2696
  }
2285
2697
  //#endregion
2286
2698
  //#region src/primitives/TextField/TextField.tsx
2287
- function Tn({ autoComplete: e, autoFocus: t, defaultValue: n, description: r, disabled: i = !1, error: a, form: o, id: s, label: c, loading: l = !1, name: u, onChange: d, placeholder: f, readOnly: p = !1, ref: g, required: _ = !1, type: v = "text", value: y }) {
2288
- let { messages: b } = W(), x = r?.trim() || void 0, S = a?.trim() || void 0, C = i || l;
2289
- return /* @__PURE__ */ h(Fe, {
2290
- className: q.base.root,
2699
+ function tr({ autoComplete: e, autoFocus: t, defaultValue: n, description: r, disabled: i = !1, error: a, form: o, id: s, label: c, loading: l = !1, name: u, onChange: d, placeholder: f, readOnly: p = !1, ref: g, required: _ = !1, type: v = "text", value: y }) {
2700
+ let { messages: b } = U(), x = r?.trim() || void 0, S = a?.trim() || void 0, C = i || l;
2701
+ return /* @__PURE__ */ h(Be, {
2702
+ className: K.base.root,
2291
2703
  defaultValue: n,
2292
2704
  "aria-label": l ? c : void 0,
2293
2705
  id: s,
@@ -2301,23 +2713,23 @@ function Tn({ autoComplete: e, autoFocus: t, defaultValue: n, description: r, di
2301
2713
  validationBehavior: "aria",
2302
2714
  value: y,
2303
2715
  children: [
2304
- /* @__PURE__ */ m(at, {
2716
+ /* @__PURE__ */ m(Ot, {
2305
2717
  label: c,
2306
2718
  loading: l
2307
2719
  }),
2308
2720
  /* @__PURE__ */ h("span", {
2309
- className: q.base.control,
2310
- children: [/* @__PURE__ */ m(ve, {
2721
+ className: K.base.control,
2722
+ children: [/* @__PURE__ */ m(ye, {
2311
2723
  "aria-busy": l || void 0,
2312
- className: J(q.base.input, l && q.state.loadingInput),
2724
+ className: q(K.base.input, l && K.state.loadingInput),
2313
2725
  autoComplete: e,
2314
2726
  autoFocus: t,
2315
2727
  form: o,
2316
2728
  placeholder: f,
2317
2729
  ref: g
2318
2730
  }), l && /* @__PURE__ */ m("span", {
2319
- className: q.base.skeleton,
2320
- children: /* @__PURE__ */ m(G, {
2731
+ className: K.base.skeleton,
2732
+ children: /* @__PURE__ */ m(W, {
2321
2733
  blockSize: "100%",
2322
2734
  inlineSize: "100%",
2323
2735
  label: b.loading,
@@ -2325,7 +2737,7 @@ function Tn({ autoComplete: e, autoFocus: t, defaultValue: n, description: r, di
2325
2737
  })
2326
2738
  })]
2327
2739
  }),
2328
- /* @__PURE__ */ m(ot, {
2740
+ /* @__PURE__ */ m(kt, {
2329
2741
  description: x,
2330
2742
  error: S,
2331
2743
  loading: l
@@ -2335,48 +2747,48 @@ function Tn({ autoComplete: e, autoFocus: t, defaultValue: n, description: r, di
2335
2747
  }
2336
2748
  //#endregion
2337
2749
  //#region src/primitives/Toast/Toast.tsx
2338
- var En = 2600, Dn = "BreezeProvider toastLimit must be a positive integer.", On = "Toast components must be rendered within BreezeProvider.";
2339
- function kn(e) {
2750
+ var nr = 2600, rr = "BreezeProvider toastLimit must be a positive integer.", ir = "Toast components must be rendered within BreezeProvider.";
2751
+ function ar(e) {
2340
2752
  return e.isIntersecting && e.intersectionRatio >= 1;
2341
2753
  }
2342
- function An(e, t, n, r) {
2754
+ function or(e, t, n, r) {
2343
2755
  let i = Number(e.target.dataset.breezeToastId);
2344
- t.has(i) && (kn(e) ? n(i) : r(i));
2345
- }
2346
- var jn = n(null), Mn = n(!0), Nn = n(null);
2347
- function Pn({ children: e }) {
2348
- W();
2349
- let t = a(Mn), n = a(Nn), [r, i] = d(() => n?.message ?? null);
2350
- return o(() => {
2351
- if (!t || typeof document < "u" && document.hidden || r === e) return;
2352
- let a = setTimeout(() => {
2353
- i(e), n?.remember(e);
2756
+ t.has(i) && (ar(e) ? n(i) : r(i));
2757
+ }
2758
+ var sr = e(null), cr = e(!0), lr = e(null);
2759
+ function ur({ children: e }) {
2760
+ U();
2761
+ let t = r(cr), n = r(lr), [a, o] = l(() => n?.message ?? null);
2762
+ return i(() => {
2763
+ if (!t || typeof document < "u" && document.hidden || a === e) return;
2764
+ let r = setTimeout(() => {
2765
+ o(e), n?.remember(e);
2354
2766
  }, 0);
2355
- return () => clearTimeout(a);
2767
+ return () => clearTimeout(r);
2356
2768
  }, [
2357
2769
  e,
2358
2770
  n,
2359
2771
  t,
2360
- r
2772
+ a
2361
2773
  ]), /* @__PURE__ */ h("div", {
2362
2774
  "aria-atomic": "true",
2363
- "aria-label": r ?? void 0,
2775
+ "aria-label": a ?? void 0,
2364
2776
  "aria-live": "polite",
2365
2777
  className: "breeze-toast",
2366
2778
  role: "status",
2367
- children: [/* @__PURE__ */ m(Y, {
2779
+ children: [/* @__PURE__ */ m(J, {
2368
2780
  name: "check",
2369
2781
  size: "sm"
2370
- }), /* @__PURE__ */ m("span", { children: r })]
2782
+ }), /* @__PURE__ */ m("span", { children: a })]
2371
2783
  });
2372
2784
  }
2373
- function Fn({ children: e, limit: t }) {
2374
- let n = xt(), r = ht(), a = u(null), [s, l] = d(() => typeof document > "u" || !document.hidden), [f, p] = d([]), g = u(0), _ = u(/* @__PURE__ */ new Map()), v = u(/* @__PURE__ */ new Set()), y = u(/* @__PURE__ */ new Map());
2375
- if (!Number.isInteger(t) || t < 1) throw RangeError(Dn);
2376
- let b = i((e, t) => {
2785
+ function dr({ children: e, limit: t }) {
2786
+ let r = zt(), a = We(), s = c(null), [u, d] = l(() => typeof document > "u" || !document.hidden), [f, p] = l([]), g = c(0), _ = c(/* @__PURE__ */ new Map()), v = c(/* @__PURE__ */ new Set()), y = c(/* @__PURE__ */ new Map());
2787
+ if (!Number.isInteger(t) || t < 1) throw RangeError(rr);
2788
+ let b = n((e, t) => {
2377
2789
  let n = y.current.get(e);
2378
2790
  n !== void 0 && (n.message = t);
2379
- }, []), x = i((e) => {
2791
+ }, []), x = n((e) => {
2380
2792
  let t = g.current;
2381
2793
  g.current += 1, y.current.set(t, {
2382
2794
  message: null,
@@ -2385,29 +2797,29 @@ function Fn({ children: e, limit: t }) {
2385
2797
  id: t,
2386
2798
  message: e
2387
2799
  }]);
2388
- }, [b]), S = i((e) => {
2800
+ }, [b]), S = n((e) => {
2389
2801
  _.current.delete(e), v.current.delete(e), y.current.delete(e), p((t) => t.filter((t) => t.id !== e));
2390
- }, []), C = i(() => {
2802
+ }, []), C = n(() => {
2391
2803
  Array.from(_.current.values()).forEach(({ handle: e }) => {
2392
2804
  e !== null && clearTimeout(e);
2393
2805
  }), _.current.clear();
2394
- }, []), w = i((e, t = Date.now()) => {
2806
+ }, []), w = n((e, t = Date.now()) => {
2395
2807
  let n = _.current.get(e);
2396
2808
  n?.handle === null || n?.startedAt === null || n === void 0 || (n.remaining = Math.max(0, n.remaining - Math.max(0, t - n.startedAt)), clearTimeout(n.handle), n.handle = null, n.startedAt = null, n.remaining === 0 && S(e));
2397
- }, [S]), T = i(() => {
2809
+ }, [S]), T = n(() => {
2398
2810
  let e = Date.now();
2399
2811
  Array.from(_.current.keys()).forEach((t) => {
2400
2812
  w(t, e);
2401
2813
  });
2402
- }, [w]), E = i((e) => {
2814
+ }, [w]), E = n((e) => {
2403
2815
  let t = _.current.get(e);
2404
2816
  t?.handle !== null && t?.handle !== void 0 && clearTimeout(t.handle), _.current.delete(e);
2405
- }, []), D = i((e) => {
2817
+ }, []), D = n((e) => {
2406
2818
  let t = _.current.get(e);
2407
- if (!s || typeof document < "u" && document.hidden || t !== void 0 && t.handle !== null) return;
2819
+ if (!u || typeof document < "u" && document.hidden || t !== void 0 && t.handle !== null) return;
2408
2820
  let n = t ?? {
2409
2821
  handle: null,
2410
- remaining: En,
2822
+ remaining: nr,
2411
2823
  startedAt: null
2412
2824
  };
2413
2825
  if (n.remaining <= 0) {
@@ -2415,14 +2827,14 @@ function Fn({ children: e, limit: t }) {
2415
2827
  return;
2416
2828
  }
2417
2829
  n.startedAt = Date.now(), n.handle = setTimeout(() => S(e), n.remaining), _.current.set(e, n);
2418
- }, [S, s]);
2419
- o(() => {
2830
+ }, [S, u]);
2831
+ i(() => {
2420
2832
  let e = () => {
2421
2833
  let e = !document.hidden;
2422
- e || T(), l(e);
2834
+ e || T(), d(e);
2423
2835
  };
2424
2836
  return document.addEventListener("visibilitychange", e), e(), () => document.removeEventListener("visibilitychange", e);
2425
- }, [T]), c(() => {
2837
+ }, [T]), o(() => {
2426
2838
  let e = f.slice(0, t), n = new Set(e.map(({ id: e }) => e)), r = new Set(f.map(({ id: e }) => e));
2427
2839
  e.forEach(({ id: e }) => v.current.add(e)), Array.from(_.current.keys()).forEach((e) => {
2428
2840
  n.has(e) || (r.has(e) ? w(e) : E(e));
@@ -2432,71 +2844,71 @@ function Fn({ children: e, limit: t }) {
2432
2844
  w,
2433
2845
  f,
2434
2846
  E
2435
- ]), o(() => {
2436
- let e = f.slice(0, t), r = new Set(e.map(({ id: e }) => e)), i = a.current;
2437
- if (n === null || i === null || !s) return;
2847
+ ]), i(() => {
2848
+ let e = f.slice(0, t), n = new Set(e.map(({ id: e }) => e)), i = s.current;
2849
+ if (r === null || i === null || !u) return;
2438
2850
  if (typeof IntersectionObserver > "u") {
2439
2851
  e.forEach((e) => D(e.id));
2440
2852
  return;
2441
2853
  }
2442
- let o, c = setTimeout(() => {
2443
- o = new IntersectionObserver((e) => {
2444
- e.forEach((e) => An(e, r, D, w));
2854
+ let a, o = setTimeout(() => {
2855
+ a = new IntersectionObserver((e) => {
2856
+ e.forEach((e) => or(e, n, D, w));
2445
2857
  }, { threshold: 1 }), Array.from(i.children).forEach((e) => {
2446
- e instanceof HTMLElement && e.dataset.breezeToastId !== void 0 && !e.hidden && o?.observe(e);
2858
+ e instanceof HTMLElement && e.dataset.breezeToastId !== void 0 && !e.hidden && a?.observe(e);
2447
2859
  });
2448
2860
  }, 0);
2449
2861
  return () => {
2450
- clearTimeout(c), o?.disconnect();
2862
+ clearTimeout(o), a?.disconnect();
2451
2863
  };
2452
2864
  }, [
2453
- n,
2454
- s,
2865
+ r,
2866
+ u,
2455
2867
  t,
2456
2868
  w,
2457
2869
  f,
2458
2870
  E,
2459
2871
  D
2460
- ]), o(() => C, [C]);
2872
+ ]), i(() => C, [C]);
2461
2873
  let O = f.slice(0, t), k = new Set(O.map(({ id: e }) => e)), A = f.filter(({ id: e }) => k.has(e) || v.current.has(e));
2462
- return /* @__PURE__ */ m(Mn, {
2463
- value: s,
2464
- children: /* @__PURE__ */ h(jn, {
2874
+ return /* @__PURE__ */ m(cr, {
2875
+ value: u,
2876
+ children: /* @__PURE__ */ h(sr, {
2465
2877
  value: x,
2466
- children: [e, n && Ie(/* @__PURE__ */ m("div", {
2467
- ref: a,
2878
+ children: [e, r && Ve(/* @__PURE__ */ m("div", {
2879
+ ref: s,
2468
2880
  className: "breeze-toast-region",
2469
2881
  "data-breeze-toast-region": "",
2470
2882
  "data-live-announcer": "",
2471
2883
  "data-react-aria-top-layer": "",
2472
- style: { zIndex: r },
2884
+ style: { zIndex: a },
2473
2885
  children: A.map(({ id: e, message: t }) => {
2474
2886
  let n = !k.has(e);
2475
2887
  return /* @__PURE__ */ m("div", {
2476
2888
  "aria-hidden": n ? "true" : void 0,
2477
2889
  "data-breeze-toast-id": e,
2478
2890
  hidden: n,
2479
- children: /* @__PURE__ */ m(Nn, {
2891
+ children: /* @__PURE__ */ m(lr, {
2480
2892
  value: y.current.get(e) ?? null,
2481
- children: /* @__PURE__ */ m(Mn, {
2482
- value: s && !n,
2483
- children: /* @__PURE__ */ m(Pn, { children: t })
2893
+ children: /* @__PURE__ */ m(cr, {
2894
+ value: u && !n,
2895
+ children: /* @__PURE__ */ m(ur, { children: t })
2484
2896
  })
2485
2897
  })
2486
2898
  }, e);
2487
2899
  })
2488
- }), n)]
2900
+ }), r)]
2489
2901
  })
2490
2902
  });
2491
2903
  }
2492
- function In() {
2493
- let e = a(jn);
2494
- if (e === null) throw Error(On);
2904
+ function fr() {
2905
+ let e = r(sr);
2906
+ if (e === null) throw Error(ir);
2495
2907
  return e;
2496
2908
  }
2497
2909
  //#endregion
2498
2910
  //#region src/primitives/Toggle/Toggle.tsx
2499
- var Ln = {
2911
+ var pr = {
2500
2912
  base: { toggle: "breeze:inline-grid breeze:items-center breeze:justify-center breeze:rounded-breeze-ctl breeze:border breeze:border-solid breeze:border-breeze-line-strong breeze:bg-breeze-surface breeze:font-breeze-sans breeze:font-semibold breeze:text-breeze-ink breeze:cursor-pointer breeze:select-none breeze:outline-offset-2 breeze:data-[hovered]:bg-breeze-sunken breeze:data-[focus-visible]:outline-2 breeze:data-[focus-visible]:outline-solid breeze:data-[focus-visible]:outline-breeze-brand breeze:data-[disabled]:cursor-not-allowed breeze:data-[disabled]:opacity-60 breeze:any-pointer-coarse:min-block-breeze-tap breeze:any-pointer-coarse:min-inline-breeze-tap" },
2501
2913
  compound: {},
2502
2914
  size: {
@@ -2507,15 +2919,15 @@ var Ln = {
2507
2919
  state: { pressed: "breeze:data-[selected]:border-breeze-brand breeze:data-[selected]:bg-breeze-brand-soft breeze:data-[selected]:text-breeze-brand-text breeze:forced-colors:data-[selected]:outline-2 breeze:forced-colors:data-[selected]:outline-offset-2" },
2508
2920
  variant: {}
2509
2921
  };
2510
- function Rn({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, children: r, defaultPressed: i, disabled: a = !1, id: o, loading: s = !1, onChange: c, pressed: l, ref: u, size: d = "md" }) {
2511
- return /* @__PURE__ */ m(ut, {
2922
+ function mr({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, children: r, defaultPressed: i, disabled: a = !1, id: o, loading: s = !1, onChange: c, pressed: l, ref: u, size: d = "md" }) {
2923
+ return /* @__PURE__ */ m(Nt, {
2512
2924
  "aria-describedby": e,
2513
2925
  "aria-label": t,
2514
2926
  "aria-labelledby": n,
2515
2927
  className: [
2516
- Ln.base.toggle,
2517
- Ln.size[d],
2518
- Ln.state.pressed
2928
+ pr.base.toggle,
2929
+ pr.size[d],
2930
+ pr.state.pressed
2519
2931
  ].join(" "),
2520
2932
  defaultPressed: i,
2521
2933
  disabled: a,
@@ -2529,7 +2941,7 @@ function Rn({ "aria-describedby": e, "aria-label": t, "aria-labelledby": n, chil
2529
2941
  }
2530
2942
  //#endregion
2531
2943
  //#region src/primitives/ToggleGroup/ToggleGroup.tsx
2532
- var zn = {
2944
+ var hr = {
2533
2945
  base: {
2534
2946
  description: "breeze:text-breeze-2xs breeze:font-normal breeze:leading-breeze-snug breeze:text-breeze-ink-3",
2535
2947
  group: "breeze:inline-flex breeze:items-center breeze:gap-breeze-1 breeze:rounded-breeze-ctl breeze:bg-breeze-sunken breeze:p-breeze-1 breeze:font-breeze-sans",
@@ -2547,52 +2959,52 @@ var zn = {
2547
2959
  state: { selected: "breeze:data-[selected]:border-breeze-line-strong breeze:data-[selected]:bg-breeze-surface breeze:data-[selected]:text-breeze-ink breeze:forced-colors:data-[selected]:outline-2 breeze:forced-colors:data-[selected]:outline-offset-2" },
2548
2960
  variant: {}
2549
2961
  };
2550
- function Bn({ "aria-describedby": e, "aria-label": t, defaultSelected: n, disabled: r = !1, getItem: i, id: a, items: o, loading: s = !1, onChange: c, selected: l, size: u = "md" }) {
2551
- let { getMessageLocale: f, messages: g } = W(), [_, v] = d(() => n == null ? null : i(n).id), y = o.map((e) => ({
2962
+ function gr({ "aria-describedby": e, "aria-label": t, defaultSelected: n, disabled: r = !1, getItem: i, id: a, items: o, loading: s = !1, onChange: c, selected: u, size: d = "md" }) {
2963
+ let { getMessageLocale: f, messages: g } = U(), [_, v] = l(() => n == null ? null : i(n).id), y = o.map((e) => ({
2552
2964
  descriptor: i(e),
2553
2965
  item: e
2554
2966
  })), b = _;
2555
- return l !== void 0 && (b = l === null ? null : i(l).id), /* @__PURE__ */ h(p, { children: [
2967
+ return u !== void 0 && (b = u === null ? null : i(u).id), /* @__PURE__ */ h(p, { children: [
2556
2968
  /* @__PURE__ */ h("fieldset", {
2557
2969
  "aria-describedby": e,
2558
2970
  "aria-busy": s || void 0,
2559
- className: `${zn.base.group} breeze:border-0 breeze:m-0 breeze:min-inline-size-0`,
2971
+ className: `${hr.base.group} breeze:border-0 breeze:m-0 breeze:min-inline-size-0`,
2560
2972
  disabled: r,
2561
2973
  id: a,
2562
2974
  children: [/* @__PURE__ */ m("legend", {
2563
2975
  className: "breeze:sr-only",
2564
2976
  children: t
2565
- }), y.map(({ descriptor: e, item: t }) => /* @__PURE__ */ m(ut, {
2977
+ }), y.map(({ descriptor: e, item: t }) => /* @__PURE__ */ m(Nt, {
2566
2978
  announceLoading: !1,
2567
2979
  className: [
2568
- zn.base.item,
2569
- zn.size[u],
2570
- zn.state.selected
2980
+ hr.base.item,
2981
+ hr.size[d],
2982
+ hr.state.selected
2571
2983
  ].join(" "),
2572
2984
  disabled: r || e.disabled === !0,
2573
2985
  loading: s,
2574
2986
  onChange: (n) => {
2575
- l === void 0 && v(n ? e.id : null), c?.(n ? t : null);
2987
+ u === void 0 && v(n ? e.id : null), c?.(n ? t : null);
2576
2988
  },
2577
2989
  pressed: b === e.id,
2578
2990
  children: /* @__PURE__ */ h("span", {
2579
- className: zn.base.optionDetails,
2991
+ className: hr.base.optionDetails,
2580
2992
  children: [
2581
- e.icon && /* @__PURE__ */ m(Y, {
2993
+ e.icon && /* @__PURE__ */ m(J, {
2582
2994
  name: e.icon,
2583
2995
  size: "sm"
2584
2996
  }),
2585
2997
  /* @__PURE__ */ h("span", {
2586
- className: zn.base.optionContent,
2998
+ className: hr.base.optionContent,
2587
2999
  children: [/* @__PURE__ */ m("span", {
2588
- className: zn.base.label,
3000
+ className: hr.base.label,
2589
3001
  children: e.label
2590
3002
  }), e.description && /* @__PURE__ */ m("span", {
2591
- className: zn.base.description,
3003
+ className: hr.base.description,
2592
3004
  children: e.description
2593
3005
  })]
2594
3006
  }),
2595
- e.badge && /* @__PURE__ */ m(Ke, {
3007
+ e.badge && /* @__PURE__ */ m(ht, {
2596
3008
  "aria-label": e.badge["aria-label"],
2597
3009
  variant: e.badge.variant,
2598
3010
  children: e.badge.children
@@ -2603,7 +3015,7 @@ function Bn({ "aria-describedby": e, "aria-label": t, defaultSelected: n, disabl
2603
3015
  }),
2604
3016
  s && /* @__PURE__ */ m("span", {
2605
3017
  className: "breeze:sr-only",
2606
- children: /* @__PURE__ */ m(G, { label: g.loading })
3018
+ children: /* @__PURE__ */ m(W, { label: g.loading })
2607
3019
  }),
2608
3020
  /* @__PURE__ */ m("output", {
2609
3021
  "aria-live": "polite",
@@ -2615,23 +3027,24 @@ function Bn({ "aria-describedby": e, "aria-label": t, defaultSelected: n, disabl
2615
3027
  }
2616
3028
  //#endregion
2617
3029
  //#region src/provider/en-GB.ts
2618
- var Vn = {
3030
+ var _r = {
2619
3031
  appearance: "Appearance",
2620
3032
  appearanceAutomatic: "Auto",
2621
3033
  appearanceDark: "Dark",
2622
3034
  appearanceLight: "Light",
2623
3035
  close: "Close",
2624
3036
  loading: "Loading",
3037
+ noItemsToDisplay: "No items to display.",
2625
3038
  required: "Required",
2626
3039
  selectDate: "Select a date"
2627
3040
  };
2628
3041
  //#endregion
2629
3042
  //#region src/provider/BreezeProvider.tsx
2630
- function Hn(e, t) {
3043
+ function vr(e, t) {
2631
3044
  return e === "automatic" ? t ? "dark" : "light" : e;
2632
3045
  }
2633
- function Un({ children: e }) {
2634
- let { direction: t, locale: n } = we();
3046
+ function yr({ children: e }) {
3047
+ let { direction: t, locale: n } = Te();
2635
3048
  return /* @__PURE__ */ m("div", {
2636
3049
  "data-breeze-root": "",
2637
3050
  dir: t,
@@ -2639,63 +3052,66 @@ function Un({ children: e }) {
2639
3052
  children: e
2640
3053
  });
2641
3054
  }
2642
- function Wn({ appearance: e, children: t, defaultAppearance: n = "automatic", locale: r, messages: a, onAppearanceChange: s, portalContainer: u, toastLimit: f = 3 }) {
2643
- let [p] = d(() => typeof window > "u" || !window.matchMedia ? null : window.matchMedia("(prefers-color-scheme: dark)")), [h, g] = d(() => p?.matches ?? !1), [_, v] = d(n), y = e ?? _, b = Hn(y, h);
2644
- o(() => {
2645
- if (!p) return;
2646
- g(p.matches);
3055
+ function br({ appearance: e, children: t, defaultAppearance: r = "automatic", locale: a, messages: c, onAppearanceChange: u, portalContainer: d, router: f, toastLimit: p = 3 }) {
3056
+ let [h] = l(() => typeof window > "u" || !window.matchMedia ? null : window.matchMedia("(prefers-color-scheme: dark)")), [g, _] = l(() => h?.matches ?? !1), [v, y] = l(r), b = e ?? v, x = vr(b, g);
3057
+ i(() => {
3058
+ if (!h) return;
3059
+ _(h.matches);
2647
3060
  let e = (e) => {
2648
- g(e.matches);
3061
+ _(e.matches);
2649
3062
  };
2650
- return p.addEventListener("change", e), () => p.removeEventListener("change", e);
2651
- }, [p]), c(() => {
3063
+ return h.addEventListener("change", e), () => h.removeEventListener("change", e);
3064
+ }, [h]), o(() => {
2652
3065
  let { documentElement: e } = document, t = e.dataset.theme, n = e.style.colorScheme;
2653
- return e.dataset.theme = b, e.style.colorScheme = b, () => {
3066
+ return e.dataset.theme = x, e.style.colorScheme = x, () => {
2654
3067
  t === void 0 ? delete e.dataset.theme : e.dataset.theme = t, e.style.colorScheme = n;
2655
3068
  };
2656
- }, [b]);
2657
- let x = i((t) => {
2658
- e === void 0 && v(t), s?.(t);
2659
- }, [e, s]), S = i((e) => a?.[e] === void 0 ? "en-GB" : r, [r, a]);
2660
- return /* @__PURE__ */ m(Ce, {
2661
- locale: r,
2662
- children: /* @__PURE__ */ m(Le, {
2663
- value: l(() => ({
2664
- appearance: y,
2665
- getMessageLocale: S,
2666
- locale: r,
3069
+ }, [x]);
3070
+ let S = n((t) => {
3071
+ e === void 0 && y(t), u?.(t);
3072
+ }, [e, u]), C = n((e) => c?.[e] === void 0 ? "en-GB" : a, [a, c]);
3073
+ return /* @__PURE__ */ m(we, {
3074
+ locale: a,
3075
+ children: /* @__PURE__ */ m(qe, {
3076
+ value: s(() => ({
3077
+ appearance: b,
3078
+ getMessageLocale: C,
3079
+ locale: a,
2667
3080
  messages: {
2668
- appearance: a?.appearance ?? Vn.appearance,
2669
- appearanceAutomatic: a?.appearanceAutomatic ?? Vn.appearanceAutomatic,
2670
- appearanceDark: a?.appearanceDark ?? Vn.appearanceDark,
2671
- appearanceLight: a?.appearanceLight ?? Vn.appearanceLight,
2672
- close: a?.close ?? Vn.close,
2673
- loading: a?.loading ?? Vn.loading,
2674
- required: a?.required ?? Vn.required,
2675
- selectDate: a?.selectDate ?? Vn.selectDate
3081
+ appearance: c?.appearance ?? _r.appearance,
3082
+ appearanceAutomatic: c?.appearanceAutomatic ?? _r.appearanceAutomatic,
3083
+ appearanceDark: c?.appearanceDark ?? _r.appearanceDark,
3084
+ appearanceLight: c?.appearanceLight ?? _r.appearanceLight,
3085
+ close: c?.close ?? _r.close,
3086
+ loading: c?.loading ?? _r.loading,
3087
+ noItemsToDisplay: c?.noItemsToDisplay ?? _r.noItemsToDisplay,
3088
+ required: c?.required ?? _r.required,
3089
+ selectDate: c?.selectDate ?? _r.selectDate
2676
3090
  },
2677
- resolvedAppearance: b,
2678
- setAppearance: x
3091
+ resolvedAppearance: x,
3092
+ router: f,
3093
+ setAppearance: S
2679
3094
  }), [
2680
- y,
2681
- S,
2682
- r,
2683
- a,
2684
3095
  b,
2685
- x
3096
+ C,
3097
+ a,
3098
+ c,
3099
+ x,
3100
+ f,
3101
+ S
2686
3102
  ]),
2687
- children: /* @__PURE__ */ m(bt, {
2688
- locale: r,
2689
- portalContainer: u,
2690
- children: /* @__PURE__ */ m(Fn, {
2691
- limit: f,
2692
- children: /* @__PURE__ */ m(Un, { children: t })
3103
+ children: /* @__PURE__ */ m(Rt, {
3104
+ locale: a,
3105
+ portalContainer: d,
3106
+ children: /* @__PURE__ */ m(dr, {
3107
+ limit: p,
3108
+ children: /* @__PURE__ */ m(yr, { children: t })
2693
3109
  })
2694
3110
  })
2695
3111
  })
2696
3112
  });
2697
3113
  }
2698
3114
  //#endregion
2699
- export { Ve as AppearanceControl, Ke as Badge, Wn as BreezeProvider, Je as Button, tt as Calendar, it as Card, ct as Checkbox, ft as Chip, Ft as ComboBox, Lt as Container, Yt as DatePicker, tn as Dialog, nn as Drawer, an as Grid, Y as Icon, sn as IconTile, ln as Inline, pn as Menu, mn as NumberField, hn as Popover, bn as Select, Sn as Separator, G as Skeleton, wn as Stack, Tn as TextField, Pn as Toast, Rn as Toggle, Bn as ToggleGroup, Ut as Typography, We as VisuallyHidden, In as useToast };
3115
+ export { ut as AppearanceControl, ht as Badge, br as BreezeProvider, _t as Button, wt as Calendar, Dt as Card, jt as Checkbox, Ft as Chip, $t as ComboBox, tn as Container, mn as DatePicker, bn as Dialog, xn as Drawer, Cn as Grid, J as Icon, Tn as IconTile, Dn as Inline, An as Link, Pn as Menu, Fn as NumberField, In as Popover, Gn as RowList, Xn as Select, Qn as Separator, W as Skeleton, er as Stack, tr as TextField, ur as Toast, mr as Toggle, gr as ToggleGroup, cn as Typography, pt as VisuallyHidden, it as startViewTransition, fr as useToast, ot as useViewTransitionParticipant };
2700
3116
 
2701
3117
  //# sourceMappingURL=index.js.map