dawn-ui-react 1.0.0-alpha → 1.0.0-alpha.2
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/dist/{Input-Br91lfPH.js → Input-DXDwtOqf.js} +4 -4
- package/dist/{clamp-C6OCmUfq.js → clamp-CYKyjuJR.js} +45 -45
- package/dist/dawn-ui-react.js +249 -249
- package/dist/{field-errors-BDUanNiE.js → field-errors-DVQtEKG3.js} +1 -1
- package/dist/{field-input-0WxX-93A.js → field-input-Doplzz0V.js} +3 -3
- package/dist/{field-input-group-Dcwadst3.js → field-input-group-CzX_hAjq.js} +2 -2
- package/dist/{field-input-group-input-CLQz2SPo.js → field-input-group-input-micw-J2Y.js} +2 -2
- package/dist/{field-label-DwF_1o76.js → field-label-C2atREm0.js} +1 -1
- package/dist/{field-select-BmvhGVSz.js → field-select--mY7GbNz.js} +40 -40
- package/dist/{field-slider-oL8pDrCe.js → field-slider-D54-Z8Ds.js} +47 -47
- package/dist/{form-context-CzC_p5DL.js → form-context-DqrRdk0d.js} +29 -29
- package/dist/{input-group-D3zocoNy.js → input-group-DgFUfXr7.js} +1 -1
- package/dist/{input-group-input-CHby62R-.js → input-group-input-DNZQ6g-3.js} +1 -1
- package/dist/{input.types-Dl_61f0y.js → input.types-D8b-1Bcm.js} +1 -1
- package/dist/{useLabelableId-VWw8rfpn.js → useLabelableId-BaWKrZ8_.js} +12 -12
- package/package.json +2 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { i as t } from "./form-context-
|
|
2
|
+
import { i as t } from "./form-context-DqrRdk0d.js";
|
|
3
3
|
import { t as n } from "./cn-CXogf8HW.js";
|
|
4
4
|
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/field/field-errors.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { i as t } from "./form-context-
|
|
2
|
+
import { i as t } from "./form-context-DqrRdk0d.js";
|
|
3
3
|
import { t as n } from "./cn-CXogf8HW.js";
|
|
4
|
-
import { t as r } from "./Input-
|
|
5
|
-
import { t as i } from "./input.types-
|
|
4
|
+
import { t as r } from "./Input-DXDwtOqf.js";
|
|
5
|
+
import { t as i } from "./input.types-D8b-1Bcm.js";
|
|
6
6
|
import { useRef as a, useState as o } from "react";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/input/input.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e } from "./form-context-
|
|
1
|
+
import { i as e } from "./form-context-DqrRdk0d.js";
|
|
2
2
|
import { t } from "./cn-CXogf8HW.js";
|
|
3
|
-
import { t as n } from "./input-group-
|
|
3
|
+
import { t as n } from "./input-group-DgFUfXr7.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/field/field-input-group.tsx
|
|
6
6
|
var i = ({ className: i, children: a, ref: o, ...s }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e } from "./form-context-
|
|
1
|
+
import { i as e } from "./form-context-DqrRdk0d.js";
|
|
2
2
|
import { t } from "./cn-CXogf8HW.js";
|
|
3
|
-
import { t as n } from "./input-group-input-
|
|
3
|
+
import { t as n } from "./input-group-input-DNZQ6g-3.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/field/field-input-group-input.tsx
|
|
6
6
|
var i = ({ className: i, ref: a, ...o }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { i as t } from "./form-context-
|
|
2
|
+
import { i as t } from "./form-context-DqrRdk0d.js";
|
|
3
3
|
import { t as n } from "./cn-CXogf8HW.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/field/field-label.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { F as t, G as n, H as r, I as i, J as a, K as o, M as s, Q as c, T as l, U as u, V as d, W as f, X as p, Z as m, _ as h, f as g, i as _, k as v, q as y, v as b } from "./form-context-
|
|
3
|
-
import { C as x, H as S, N as C, P as ee, U as w, W as T, c as E, h as D, i as O, l as k, n as A, o as j, p as M, r as te, s as N, t as ne, u as re } from "./useLabelableId-
|
|
4
|
-
import { $t as P, At as F, Bt as ie, Ct as I, D as L, Dt as ae, E as R, Et as z, Ft as B, G as V, H as oe, Ht as H, I as se, J as U, Jt as ce, K as le, Lt as W, M as G, Mt as ue, Nt as K, Ot as de, P as fe, Pt as pe, Q as q, Qt as me, Rt as he, S as J, St as ge, T as Y, Tt as _e, U as ve, Ut as ye, Vt as be, W as xe, Wt as Se, X as Ce, Xt as we, Y as Te, Z as Ee, Zt as De, _ as Oe, _t as ke, a as Ae, an as X, at as je, c as Me, dn as Ne, f as Pe, fn as Fe, g as Ie, h as Le, hn as Re, i as ze, j as Be, jt as Ve, kt as He, l as Ue, ln as We, m as Ge, mn as Ke, n as qe, nn as Je, on as Ye, p as Xe, q as Ze, qt as Qe, r as $e, t as et, un as tt, vt as nt, wt as rt, x as it, yt as at, z as ot, zt as st } from "./clamp-
|
|
2
|
+
import { F as t, G as n, H as r, I as i, J as a, K as o, M as s, Q as c, T as l, U as u, V as d, W as f, X as p, Z as m, _ as h, f as g, i as _, k as v, q as y, v as b } from "./form-context-DqrRdk0d.js";
|
|
3
|
+
import { C as x, H as S, N as C, P as ee, U as w, W as T, c as E, h as D, i as O, l as k, n as A, o as j, p as M, r as te, s as N, t as ne, u as re } from "./useLabelableId-BaWKrZ8_.js";
|
|
4
|
+
import { $t as P, At as F, Bt as ie, Ct as I, D as L, Dt as ae, E as R, Et as z, Ft as B, G as V, H as oe, Ht as H, I as se, J as U, Jt as ce, K as le, Lt as W, M as G, Mt as ue, Nt as K, Ot as de, P as fe, Pt as pe, Q as q, Qt as me, Rt as he, S as J, St as ge, T as Y, Tt as _e, U as ve, Ut as ye, Vt as be, W as xe, Wt as Se, X as Ce, Xt as we, Y as Te, Z as Ee, Zt as De, _ as Oe, _t as ke, a as Ae, an as X, at as je, c as Me, dn as Ne, f as Pe, fn as Fe, g as Ie, h as Le, hn as Re, i as ze, j as Be, jt as Ve, kt as He, l as Ue, ln as We, m as Ge, mn as Ke, n as qe, nn as Je, on as Ye, p as Xe, q as Ze, qt as Qe, r as $e, t as et, un as tt, vt as nt, wt as rt, x as it, yt as at, z as ot, zt as st } from "./clamp-CYKyjuJR.js";
|
|
5
5
|
import { t as ct } from "./cn-CXogf8HW.js";
|
|
6
6
|
import * as Z from "react";
|
|
7
7
|
import { jsx as Q, jsxs as lt } from "react/jsx-runtime";
|
|
8
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
8
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/utils/esm/useScrollLock.js
|
|
9
9
|
var ut = {}, dt = {}, ft = "";
|
|
10
10
|
function pt(e) {
|
|
11
11
|
if (typeof document > "u") return !1;
|
|
@@ -112,7 +112,7 @@ function vt(e = !0, t = null) {
|
|
|
112
112
|
}, [e, t]);
|
|
113
113
|
}
|
|
114
114
|
//#endregion
|
|
115
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
115
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus.js
|
|
116
116
|
var yt = 0;
|
|
117
117
|
function bt(e, t = {}) {
|
|
118
118
|
let { preventScroll: r = !1, cancelPrevious: i = !0, sync: a = !1 } = t;
|
|
@@ -125,7 +125,7 @@ function bt(e, t = {}) {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
128
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers.js
|
|
129
129
|
var xt = {
|
|
130
130
|
inert: /* @__PURE__ */ new WeakMap(),
|
|
131
131
|
"aria-hidden": /* @__PURE__ */ new WeakMap()
|
|
@@ -189,7 +189,7 @@ function Mt(e, t = {}) {
|
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
//#endregion
|
|
192
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
192
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js
|
|
193
193
|
function Nt(e, t) {
|
|
194
194
|
let n = v(re(e));
|
|
195
195
|
return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
|
|
@@ -476,7 +476,7 @@ function Vt(e) {
|
|
|
476
476
|
] });
|
|
477
477
|
}
|
|
478
478
|
//#endregion
|
|
479
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
479
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClick.js
|
|
480
480
|
function Ht(e, t = {}) {
|
|
481
481
|
let n = "rootStore" in e ? e.rootStore : e, r = n.context.dataRef, { enabled: i = !0, event: a = "click", toggle: o = !0, ignoreMouse: s = !1, stickIfOpen: c = !0, touchOpenDelay: l = 0, reason: u = S } = t, d = Z.useRef(void 0), p = Fe(), m = Te(), h = Z.useMemo(() => ({
|
|
482
482
|
onPointerDown(e) {
|
|
@@ -532,7 +532,7 @@ function Ht(e, t = {}) {
|
|
|
532
532
|
return Z.useMemo(() => i ? { reference: h } : f, [i, h]);
|
|
533
533
|
}
|
|
534
534
|
//#endregion
|
|
535
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
535
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js
|
|
536
536
|
var Ut = "Escape";
|
|
537
537
|
function Wt(e, t, n) {
|
|
538
538
|
switch (e) {
|
|
@@ -806,7 +806,7 @@ function Yt(e, t) {
|
|
|
806
806
|
]);
|
|
807
807
|
}
|
|
808
808
|
//#endregion
|
|
809
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
809
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js
|
|
810
810
|
function Xt(e, t) {
|
|
811
811
|
let n = "rootStore" in e ? e.rootStore : e, r = n.context.dataRef, i = n.useState("open"), { listRef: a, elementsRef: o, activeIndex: s, onMatch: c, onTypingChange: l, enabled: u = !0, resetMs: d = 750, selectedIndex: f = null } = t, h = Te(), g = Z.useRef(""), _ = Z.useRef(f ?? s ?? -1), v = Z.useRef(null);
|
|
812
812
|
p(() => {
|
|
@@ -867,7 +867,7 @@ function Xt(e, t) {
|
|
|
867
867
|
]);
|
|
868
868
|
}
|
|
869
869
|
//#endregion
|
|
870
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
870
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/utils/esm/useEnhancedClickHandler.js
|
|
871
871
|
function Zt(e) {
|
|
872
872
|
let t = Z.useRef(""), n = Z.useCallback((n) => {
|
|
873
873
|
n.defaultPrevented || (t.current = n.pointerType, e(n, n.pointerType));
|
|
@@ -884,7 +884,7 @@ function Zt(e) {
|
|
|
884
884
|
};
|
|
885
885
|
}
|
|
886
886
|
//#endregion
|
|
887
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
887
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/useOpenInteractionType.js
|
|
888
888
|
function Qt(e) {
|
|
889
889
|
let [t, n] = Z.useState(null), r = m((t, r) => {
|
|
890
890
|
e || n(r || (Je ? "touch" : ""));
|
|
@@ -906,12 +906,12 @@ function Qt(e) {
|
|
|
906
906
|
]);
|
|
907
907
|
}
|
|
908
908
|
//#endregion
|
|
909
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
909
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/utils/esm/inertValue.js
|
|
910
910
|
function $t(e) {
|
|
911
911
|
return o(19) ? e : e ? "true" : void 0;
|
|
912
912
|
}
|
|
913
913
|
//#endregion
|
|
914
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
914
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/InternalBackdrop.js
|
|
915
915
|
var en = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
916
916
|
let { cutout: n, ...r } = e, i;
|
|
917
917
|
if (n) {
|
|
@@ -934,7 +934,7 @@ var en = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
934
934
|
});
|
|
935
935
|
process.env.NODE_ENV !== "production" && (en.displayName = "InternalBackdrop");
|
|
936
936
|
//#endregion
|
|
937
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
937
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/internals/itemEquality.js
|
|
938
938
|
var tn = (e, t) => Object.is(e, t);
|
|
939
939
|
function nn(e, t, n) {
|
|
940
940
|
return e == null || t == null ? Object.is(e, t) : n(e, t);
|
|
@@ -949,7 +949,7 @@ function on(e, t, n) {
|
|
|
949
949
|
return e.filter((e) => !nn(t, e, n));
|
|
950
950
|
}
|
|
951
951
|
//#endregion
|
|
952
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
952
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/internals/serializeValue.js
|
|
953
953
|
function sn(e) {
|
|
954
954
|
if (e == null) return "";
|
|
955
955
|
if (typeof e == "string") return e;
|
|
@@ -960,7 +960,7 @@ function sn(e) {
|
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
962
|
//#endregion
|
|
963
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
963
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/internals/resolveValueLabel.js
|
|
964
964
|
function cn(e) {
|
|
965
965
|
return e != null && e.length > 0 && typeof e[0] == "object" && e[0] != null && "items" in e[0];
|
|
966
966
|
}
|
|
@@ -1009,7 +1009,7 @@ function pn(e, t, n) {
|
|
|
1009
1009
|
return e.reduce((e, r, i) => (i > 0 && e.push(", "), e.push(/* @__PURE__ */ Q(Z.Fragment, { children: fn(r, t, n) }, i)), e), []);
|
|
1010
1010
|
}
|
|
1011
1011
|
//#endregion
|
|
1012
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1012
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js
|
|
1013
1013
|
function mn(e) {
|
|
1014
1014
|
let t = e.getBoundingClientRect();
|
|
1015
1015
|
if (process.env.NODE_ENV !== "production") return t;
|
|
@@ -1024,7 +1024,7 @@ function mn(e) {
|
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
1026
1026
|
//#endregion
|
|
1027
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1027
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/useAnchoredPopupScrollLock.js
|
|
1028
1028
|
var hn = 20;
|
|
1029
1029
|
function gn(e, t, n, r) {
|
|
1030
1030
|
let [i, a] = Z.useState(!1);
|
|
@@ -1042,7 +1042,7 @@ function gn(e, t, n, r) {
|
|
|
1042
1042
|
]), vt(e && (!t || i), r);
|
|
1043
1043
|
}
|
|
1044
1044
|
//#endregion
|
|
1045
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1045
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/toolbar/root/ToolbarRootContext.js
|
|
1046
1046
|
var _n = /* @__PURE__ */ Z.createContext(void 0);
|
|
1047
1047
|
process.env.NODE_ENV !== "production" && (_n.displayName = "ToolbarRootContext");
|
|
1048
1048
|
function vn(e) {
|
|
@@ -1051,7 +1051,7 @@ function vn(e) {
|
|
|
1051
1051
|
return t;
|
|
1052
1052
|
}
|
|
1053
1053
|
//#endregion
|
|
1054
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@
|
|
1054
|
+
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/utils/esm/usePreviousValue.js
|
|
1055
1055
|
function yn(e) {
|
|
1056
1056
|
let [t, n] = Z.useState({
|
|
1057
1057
|
current: e,
|
|
@@ -1063,7 +1063,7 @@ function yn(e) {
|
|
|
1063
1063
|
}), t.previous;
|
|
1064
1064
|
}
|
|
1065
1065
|
//#endregion
|
|
1066
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1066
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/styles.js
|
|
1067
1067
|
var bn = "base-ui-disable-scrollbar", xn = {
|
|
1068
1068
|
className: bn,
|
|
1069
1069
|
getElement(e) {
|
|
@@ -1085,7 +1085,7 @@ function Cn(e, t) {
|
|
|
1085
1085
|
return a && o ? r <= i ? 0 : t : a ? 0 : o ? t : n;
|
|
1086
1086
|
}
|
|
1087
1087
|
//#endregion
|
|
1088
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1088
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/root/SelectRootContext.js
|
|
1089
1089
|
var wn = /* @__PURE__ */ Z.createContext(null);
|
|
1090
1090
|
process.env.NODE_ENV !== "production" && (wn.displayName = "SelectRootContext");
|
|
1091
1091
|
var Tn = /* @__PURE__ */ Z.createContext(null);
|
|
@@ -1101,7 +1101,7 @@ function Dn() {
|
|
|
1101
1101
|
return e;
|
|
1102
1102
|
}
|
|
1103
1103
|
//#endregion
|
|
1104
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1104
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/store.js
|
|
1105
1105
|
var $ = {
|
|
1106
1106
|
id: Y((e) => e.id),
|
|
1107
1107
|
labelId: Y((e) => e.labelId),
|
|
@@ -1140,7 +1140,7 @@ var $ = {
|
|
|
1140
1140
|
hasScrollArrows: Y((e) => e.hasScrollArrows)
|
|
1141
1141
|
};
|
|
1142
1142
|
//#endregion
|
|
1143
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1143
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/root/SelectRoot.js
|
|
1144
1144
|
function On(e) {
|
|
1145
1145
|
let { id: t, value: n, defaultValue: i = null, onValueChange: a, open: o, defaultOpen: s = !1, onOpenChange: l, name: d, form: h, autoComplete: g, disabled: _ = !1, readOnly: v = !1, required: b = !1, modal: x = !0, actionsRef: S, inputRef: C, onOpenChangeComplete: w, items: E, multiple: D = !1, itemToStringLabel: k, itemToStringValue: A, isItemEqualToValue: j = tn, highlightItemOnHover: N = !0, children: re } = e, { clearErrors: P } = Ue(), { setDirty: F, setTouched: ie, setFocused: I, shouldValidateOnChange: ae, validityData: R, setFilled: z, name: B, disabled: oe, validation: H, validationMode: se } = O(), U = ne({ id: t }), ce = oe || _, W = B ?? d, [G, ue] = T({
|
|
1146
1146
|
controlled: n,
|
|
@@ -1436,7 +1436,7 @@ function On(e) {
|
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
1438
1438
|
//#endregion
|
|
1439
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1439
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/trigger/SelectTrigger.js
|
|
1440
1440
|
var kn = 2, An = 400, jn = 200, Mn = {
|
|
1441
1441
|
...Xe,
|
|
1442
1442
|
...j,
|
|
@@ -1531,7 +1531,7 @@ var kn = 2, An = 400, jn = 200, Mn = {
|
|
|
1531
1531
|
});
|
|
1532
1532
|
process.env.NODE_ENV !== "production" && (Nn.displayName = "SelectTrigger");
|
|
1533
1533
|
//#endregion
|
|
1534
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1534
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/value/SelectValue.js
|
|
1535
1535
|
var Pn = { value: () => null }, Fn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1536
1536
|
let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = En(), u = J(c, $.value), f = J(c, $.items), p = J(c, $.itemToStringLabel), m = J(c, $.hasSelectedValue), h = !m && a != null && i == null, g = J(c, $.hasNullItemLabel, h), _ = {
|
|
1537
1537
|
value: u,
|
|
@@ -1546,7 +1546,7 @@ var Pn = { value: () => null }, Fn = /* @__PURE__ */ Z.forwardRef(function(e, t)
|
|
|
1546
1546
|
});
|
|
1547
1547
|
process.env.NODE_ENV !== "production" && (Fn.displayName = "SelectValue");
|
|
1548
1548
|
//#endregion
|
|
1549
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1549
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/icon/SelectIcon.js
|
|
1550
1550
|
var In = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1551
1551
|
let { className: n, render: r, style: i, ...a } = e, { store: o } = En();
|
|
1552
1552
|
return d("span", e, {
|
|
@@ -1561,11 +1561,11 @@ var In = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1561
1561
|
});
|
|
1562
1562
|
process.env.NODE_ENV !== "production" && (In.displayName = "SelectIcon");
|
|
1563
1563
|
//#endregion
|
|
1564
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1564
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/portal/SelectPortalContext.js
|
|
1565
1565
|
var Ln = /* @__PURE__ */ Z.createContext(void 0);
|
|
1566
1566
|
process.env.NODE_ENV !== "production" && (Ln.displayName = "SelectPortalContext");
|
|
1567
1567
|
//#endregion
|
|
1568
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1568
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/portal/SelectPortal.js
|
|
1569
1569
|
var Rn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1570
1570
|
let { store: n } = En(), r = J(n, $.mounted), i = J(n, $.forceMount);
|
|
1571
1571
|
return r || i ? /* @__PURE__ */ Q(Ln.Provider, {
|
|
@@ -1578,7 +1578,7 @@ var Rn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1578
1578
|
});
|
|
1579
1579
|
process.env.NODE_ENV !== "production" && (Rn.displayName = "SelectPortal");
|
|
1580
1580
|
//#endregion
|
|
1581
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1581
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/positioner/SelectPositionerContext.js
|
|
1582
1582
|
var zn = /* @__PURE__ */ Z.createContext(void 0);
|
|
1583
1583
|
process.env.NODE_ENV !== "production" && (zn.displayName = "SelectPositionerContext");
|
|
1584
1584
|
function Bn() {
|
|
@@ -1587,7 +1587,7 @@ function Bn() {
|
|
|
1587
1587
|
return e;
|
|
1588
1588
|
}
|
|
1589
1589
|
//#endregion
|
|
1590
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1590
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/popup/utils.js
|
|
1591
1591
|
function Vn(e, t) {
|
|
1592
1592
|
e && Object.assign(e.style, t);
|
|
1593
1593
|
}
|
|
@@ -1680,7 +1680,7 @@ var Hn = {
|
|
|
1680
1680
|
});
|
|
1681
1681
|
process.env.NODE_ENV !== "production" && (Wn.displayName = "SelectPositioner");
|
|
1682
1682
|
//#endregion
|
|
1683
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1683
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/popup/SelectPopup.js
|
|
1684
1684
|
var Gn = {
|
|
1685
1685
|
...Pe,
|
|
1686
1686
|
...We
|
|
@@ -1893,7 +1893,7 @@ function $n(e) {
|
|
|
1893
1893
|
};
|
|
1894
1894
|
}
|
|
1895
1895
|
//#endregion
|
|
1896
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1896
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/list/SelectList.js
|
|
1897
1897
|
var er = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1898
1898
|
let { className: n, render: r, style: i, ...a } = e, { store: o, scrollHandlerRef: s } = En(), { alignItemWithTriggerActive: c } = Bn(), l = J(o, $.hasScrollArrows), u = J(o, $.openMethod), f = J(o, $.multiple), p = {
|
|
1899
1899
|
id: `${J(o, $.id)}-list`,
|
|
@@ -1914,7 +1914,7 @@ var er = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1914
1914
|
});
|
|
1915
1915
|
process.env.NODE_ENV !== "production" && (er.displayName = "SelectList");
|
|
1916
1916
|
//#endregion
|
|
1917
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1917
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/scroll-arrow/SelectScrollArrow.js
|
|
1918
1918
|
var tr = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1919
1919
|
let { render: n, className: r, style: i, direction: a, keepMounted: o = !1, ...s } = e, c = a === "up", { store: l, popupRef: u, listRef: f, handleScrollArrowVisibility: m, scrollArrowsMountedCountRef: h } = En(), { side: g, scrollDownArrowRef: _, scrollUpArrowRef: v } = Bn(), y = J(l, c ? $.scrollUpArrowVisible : $.scrollDownArrowVisible), b = J(l, $.openMethod), x = y && b !== "touch", S = Te(), C = c ? v : _, { transitionStatus: ee, setMounted: w } = Ye(x);
|
|
1920
1920
|
p(() => (h.current += 1, l.state.hasScrollArrows || l.set("hasScrollArrows", !0), () => {
|
|
@@ -1991,7 +1991,7 @@ function nr(e, t, n, r, i, a) {
|
|
|
1991
1991
|
return c > o && l ? Cn(l.offsetTop + l.offsetHeight - r + i, a) : a;
|
|
1992
1992
|
}
|
|
1993
1993
|
//#endregion
|
|
1994
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1994
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/scroll-down-arrow/SelectScrollDownArrow.js
|
|
1995
1995
|
var rr = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1996
1996
|
return /* @__PURE__ */ Q(tr, {
|
|
1997
1997
|
...e,
|
|
@@ -2001,7 +2001,7 @@ var rr = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
2001
2001
|
});
|
|
2002
2002
|
process.env.NODE_ENV !== "production" && (rr.displayName = "SelectScrollDownArrow");
|
|
2003
2003
|
//#endregion
|
|
2004
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
2004
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/select/scroll-up-arrow/SelectScrollUpArrow.js
|
|
2005
2005
|
var ir = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
2006
2006
|
return /* @__PURE__ */ Q(tr, {
|
|
2007
2007
|
...e,
|
|
@@ -2011,7 +2011,7 @@ var ir = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
2011
2011
|
});
|
|
2012
2012
|
process.env.NODE_ENV !== "production" && (ir.displayName = "SelectScrollUpArrow");
|
|
2013
2013
|
//#endregion
|
|
2014
|
-
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.
|
|
2014
|
+
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.10_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@phosphor-icons/react/dist/defs/CaretDown.es.js
|
|
2015
2015
|
var ar = /* @__PURE__ */ new Map([
|
|
2016
2016
|
["bold", /* @__PURE__ */ Z.createElement(Z.Fragment, null, /* @__PURE__ */ Z.createElement("path", { d: "M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z" }))],
|
|
2017
2017
|
["duotone", /* @__PURE__ */ Z.createElement(Z.Fragment, null, /* @__PURE__ */ Z.createElement("path", {
|
|
@@ -2049,7 +2049,7 @@ var ar = /* @__PURE__ */ new Map([
|
|
|
2049
2049
|
}));
|
|
2050
2050
|
cr.displayName = "CaretDownIcon";
|
|
2051
2051
|
//#endregion
|
|
2052
|
-
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.
|
|
2052
|
+
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.10_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js
|
|
2053
2053
|
var lr = Z.forwardRef((e, t) => /* @__PURE__ */ Z.createElement(g, {
|
|
2054
2054
|
ref: t,
|
|
2055
2055
|
...e,
|
|
@@ -2057,7 +2057,7 @@ var lr = Z.forwardRef((e, t) => /* @__PURE__ */ Z.createElement(g, {
|
|
|
2057
2057
|
}));
|
|
2058
2058
|
lr.displayName = "CaretUpIcon";
|
|
2059
2059
|
//#endregion
|
|
2060
|
-
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.
|
|
2060
|
+
//#region node_modules/.pnpm/@phosphor-icons+react@2.1.10_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@phosphor-icons/react/dist/csr/CaretUpDown.es.js
|
|
2061
2061
|
var ur = Z.forwardRef((e, t) => /* @__PURE__ */ Z.createElement(g, {
|
|
2062
2062
|
ref: t,
|
|
2063
2063
|
...e,
|