@expofp/floorplan 3.0.1 → 3.0.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.
Files changed (74) hide show
  1. package/dist/browser/CookieConsent-CXdWbmhr.js +7810 -0
  2. package/dist/browser/Debug-DoJ9mct3.js +51 -0
  3. package/dist/browser/Demo-BEQponkS.js +65 -0
  4. package/dist/browser/Free-UAsV9h8C.js +65 -0
  5. package/dist/browser/Gallery-BgXxqVXz.js +3257 -0
  6. package/dist/browser/GpsLoader-CgbTy8Hz.js +152 -0
  7. package/dist/browser/KioskStore-YLbphfOD.js +212 -0
  8. package/dist/browser/Mapbox-DpLJ3tpl.js +120 -0
  9. package/dist/browser/SetKioskMode-CN5fJClI.js +49 -0
  10. package/dist/browser/ShowKiosk-vj5-CuR5.js +25 -0
  11. package/dist/browser/ThreeComponent-jLYP_yNl.js +1493 -0
  12. package/dist/browser/TouchHand-BbwYQQhu.js +66 -0
  13. package/dist/browser/ViewerMenuPanel-4kghKIxV.js +106 -0
  14. package/dist/browser/add-debug-secret-listener-DM6KcZ0J.js +26 -0
  15. package/dist/browser/boolean-editor-BrtABJXb.js +206 -0
  16. package/dist/browser/bundle.json +70 -40
  17. package/dist/browser/chunk-CG6jx9YN.js +28 -0
  18. package/dist/browser/classnames-DeFT1CBt.js +39 -0
  19. package/dist/browser/client-B6hKytWh.js +7601 -0
  20. package/dist/browser/data-BsqGAaoU.js +27969 -0
  21. package/dist/browser/debug-overlay-Cb6jZH1M.js +3995 -0
  22. package/dist/browser/debug-ui-XBqahA1W.js +86 -0
  23. package/dist/browser/dist-BcuX1Cs2.js +2581 -0
  24. package/dist/browser/favicon-Caa4UHOv.js +12 -0
  25. package/dist/browser/fetch-retry.umd-D6o13_3S.js +78 -0
  26. package/dist/browser/flex-glIwYu7S.js +1045 -0
  27. package/dist/browser/floorplan.ready-Dkfm7Nqq.js +1310 -0
  28. package/dist/browser/fuse-CrFUY0W8.js +887 -0
  29. package/dist/browser/index.js +10628 -12440
  30. package/dist/browser/jsx-runtime-P5gPgaNY.js +30 -0
  31. package/dist/browser/lib-BGCrbI0c.js +1859 -0
  32. package/dist/browser/main-B7nu_ayH.js +289 -0
  33. package/dist/browser/mobx-BwL1_Ioa.js +23 -0
  34. package/dist/browser/particles.min-r4ucWEQe.js +133 -0
  35. package/dist/browser/prop-types-_4KGi_BP.js +57 -0
  36. package/dist/browser/react-dom-BeKu02fc.js +139 -0
  37. package/dist/browser/reset-all-settings-CH3gzkuQ.js +17 -0
  38. package/dist/browser/settings-D1gM4Wtx.js +69 -0
  39. package/dist/browser/src--OC9EQnB.js +19 -0
  40. package/dist/browser/store-BpwlrbtP.js +36100 -0
  41. package/dist/browser/ui-Cy6VKwPB.js +33 -0
  42. package/dist/esm/components/Map/traffic/useBuildRoute.js +2 -2
  43. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  44. package/dist/esm/store/RootStore.js +1 -1
  45. package/package.json +4 -4
  46. package/dist/browser/Debug-b2YI2Uxo.js +0 -40
  47. package/dist/browser/Demo-aEKqZbJJ.js +0 -47
  48. package/dist/browser/Free-BGr4o53R.js +0 -51
  49. package/dist/browser/Gallery-C9n64fhu.js +0 -71
  50. package/dist/browser/GpsLoader-ChxBR2EI.js +0 -140
  51. package/dist/browser/KioskStore-DkCSeq5I.js +0 -225
  52. package/dist/browser/Mapbox-Cl0Wxz2h.js +0 -118
  53. package/dist/browser/SetKioskMode-D3EJeF9c.js +0 -249
  54. package/dist/browser/ShowKiosk-Bs5q-1RZ.js +0 -35
  55. package/dist/browser/ThreeComponent-CSsqNYDu.js +0 -1595
  56. package/dist/browser/ViewerMenuPanel-BMmB1p03.js +0 -77
  57. package/dist/browser/boolean-editor-DpnmndKH.js +0 -157
  58. package/dist/browser/client-CN_I7kK8.js +0 -10011
  59. package/dist/browser/data-CIAMSGsv.js +0 -22125
  60. package/dist/browser/debug-overlay-DjmA0D2r.js +0 -3675
  61. package/dist/browser/debug-ui-D1QGTN8V.js +0 -67
  62. package/dist/browser/favicon-BpTKNfwa.js +0 -13
  63. package/dist/browser/fetch-retry.umd-B8hV1FNr.js +0 -123
  64. package/dist/browser/flex-09atkOGP.js +0 -400
  65. package/dist/browser/floorplan.ready-BQetaqdP.js +0 -57653
  66. package/dist/browser/index-Bw6xZlSd.js +0 -161
  67. package/dist/browser/index-C71k7nSe.js +0 -3244
  68. package/dist/browser/index-CWLY6XdC.js +0 -92
  69. package/dist/browser/index-D9pdVw-U.js +0 -882
  70. package/dist/browser/index-DPSQIIUy.js +0 -57
  71. package/dist/browser/index-jp-Zhdyp.js +0 -54
  72. package/dist/browser/jsx-runtime-CoKhM3tL.js +0 -40
  73. package/dist/browser/main-DxaHLbma.js +0 -359
  74. package/dist/browser/particles.min-CsHbc6cO.js +0 -143
@@ -1,400 +0,0 @@
1
- import { r as l, ay as Y } from "./index.js";
2
- import { r as H, y } from "./index-jp-Zhdyp.js";
3
- import { j as g } from "./jsx-runtime-CoKhM3tL.js";
4
- (function() {
5
- try {
6
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
7
- e.SENTRY_RELEASE = { id: "3.0.1" };
8
- var t = new e.Error().stack;
9
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ce2f4712-ede0-4c4e-b79e-00f4daba3ce6", e._sentryDebugIdIdentifier = "sentry-dbid-ce2f4712-ede0-4c4e-b79e-00f4daba3ce6");
10
- } catch {
11
- }
12
- })();
13
- function V(e, t) {
14
- if (typeof e == "function")
15
- return e(t);
16
- e != null && (e.current = t);
17
- }
18
- function k(...e) {
19
- return (t) => {
20
- let r = !1;
21
- const a = e.map((s) => {
22
- const o = V(s, t);
23
- return !r && typeof o == "function" && (r = !0), o;
24
- });
25
- if (r)
26
- return () => {
27
- for (let s = 0; s < a.length; s++) {
28
- const o = a[s];
29
- typeof o == "function" ? o() : V(e[s], null);
30
- }
31
- };
32
- };
33
- }
34
- function Ue(...e) {
35
- return l.useCallback(k(...e), e);
36
- }
37
- // @__NO_SIDE_EFFECTS__
38
- function z(e) {
39
- const t = /* @__PURE__ */ U(e), r = l.forwardRef((a, s) => {
40
- const { children: o, ...u } = a, n = l.Children.toArray(o), i = n.find(X);
41
- if (i) {
42
- const c = i.props.children, p = n.map((m) => m === i ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : m);
43
- return /* @__PURE__ */ g.jsx(t, { ...u, ref: s, children: l.isValidElement(c) ? l.cloneElement(c, void 0, p) : null });
44
- }
45
- return /* @__PURE__ */ g.jsx(t, { ...u, ref: s, children: o });
46
- });
47
- return r.displayName = `${e}.Slot`, r;
48
- }
49
- var A = /* @__PURE__ */ z("Slot");
50
- // @__NO_SIDE_EFFECTS__
51
- function U(e) {
52
- const t = l.forwardRef((r, a) => {
53
- const { children: s, ...o } = r;
54
- if (l.isValidElement(s)) {
55
- const u = G(s), n = q(o, s.props);
56
- return s.type !== l.Fragment && (n.ref = a ? k(a, u) : u), l.cloneElement(s, n);
57
- }
58
- return l.Children.count(s) > 1 ? l.Children.only(null) : null;
59
- });
60
- return t.displayName = `${e}.SlotClone`, t;
61
- }
62
- var I = /* @__PURE__ */ Symbol("radix.slottable");
63
- // @__NO_SIDE_EFFECTS__
64
- function Xe(e) {
65
- const t = ({ children: r }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: r });
66
- return t.displayName = `${e}.Slottable`, t.__radixId = I, t;
67
- }
68
- function X(e) {
69
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === I;
70
- }
71
- function q(e, t) {
72
- const r = { ...t };
73
- for (const a in t) {
74
- const s = e[a], o = t[a];
75
- /^on[A-Z]/.test(a) ? s && o ? r[a] = (...n) => {
76
- const i = o(...n);
77
- return s(...n), i;
78
- } : s && (r[a] = s) : a === "style" ? r[a] = { ...s, ...o } : a === "className" && (r[a] = [s, o].filter(Boolean).join(" "));
79
- }
80
- return { ...e, ...r };
81
- }
82
- function G(e) {
83
- var a, s;
84
- let t = (a = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning;
85
- return r ? e.ref : (t = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
86
- }
87
- var Z = [
88
- "a",
89
- "button",
90
- "div",
91
- "form",
92
- "h2",
93
- "h3",
94
- "img",
95
- "input",
96
- "label",
97
- "li",
98
- "nav",
99
- "ol",
100
- "p",
101
- "select",
102
- "span",
103
- "svg",
104
- "ul"
105
- ], qe = Z.reduce((e, t) => {
106
- const r = /* @__PURE__ */ z(`Primitive.${t}`), a = l.forwardRef((s, o) => {
107
- const { asChild: u, ...n } = s, i = u ? r : t;
108
- return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(i, { ...n, ref: o });
109
- });
110
- return a.displayName = `Primitive.${t}`, { ...e, [t]: a };
111
- }, {});
112
- function Ge(e, t) {
113
- e && H.flushSync(() => e.dispatchEvent(t));
114
- }
115
- function Ze(e, t) {
116
- const r = l.createContext(t), a = (o) => {
117
- const { children: u, ...n } = o, i = l.useMemo(() => n, Object.values(n));
118
- return /* @__PURE__ */ g.jsx(r.Provider, { value: i, children: u });
119
- };
120
- a.displayName = e + "Provider";
121
- function s(o) {
122
- const u = l.useContext(r);
123
- if (u) return u;
124
- if (t !== void 0) return t;
125
- throw new Error(`\`${o}\` must be used within \`${e}\``);
126
- }
127
- return [a, s];
128
- }
129
- function Je(e, t = []) {
130
- let r = [];
131
- function a(o, u) {
132
- const n = l.createContext(u), i = r.length;
133
- r = [...r, u];
134
- const c = (m) => {
135
- var R;
136
- const { scope: f, children: w, ...h } = m, $ = ((R = f == null ? void 0 : f[e]) == null ? void 0 : R[i]) || n, M = l.useMemo(() => h, Object.values(h));
137
- return /* @__PURE__ */ g.jsx($.Provider, { value: M, children: w });
138
- };
139
- c.displayName = o + "Provider";
140
- function p(m, f) {
141
- var $;
142
- const w = (($ = f == null ? void 0 : f[e]) == null ? void 0 : $[i]) || n, h = l.useContext(w);
143
- if (h) return h;
144
- if (u !== void 0) return u;
145
- throw new Error(`\`${m}\` must be used within \`${o}\``);
146
- }
147
- return [c, p];
148
- }
149
- const s = () => {
150
- const o = r.map((u) => l.createContext(u));
151
- return function(n) {
152
- const i = (n == null ? void 0 : n[e]) || o;
153
- return l.useMemo(
154
- () => ({ [`__scope${e}`]: { ...n, [e]: i } }),
155
- [n, i]
156
- );
157
- };
158
- };
159
- return s.scopeName = e, [a, J(s, ...t)];
160
- }
161
- function J(...e) {
162
- const t = e[0];
163
- if (e.length === 1) return t;
164
- const r = () => {
165
- const a = e.map((s) => ({
166
- useScope: s(),
167
- scopeName: s.scopeName
168
- }));
169
- return function(o) {
170
- const u = a.reduce((n, { useScope: i, scopeName: c }) => {
171
- const m = i(o)[`__scope${c}`];
172
- return { ...n, ...m };
173
- }, {});
174
- return l.useMemo(() => ({ [`__scope${t.scopeName}`]: u }), [u]);
175
- };
176
- };
177
- return r.scopeName = t.scopeName, r;
178
- }
179
- function Ke(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
180
- return function(s) {
181
- if (e == null || e(s), r === !1 || !s.defaultPrevented)
182
- return t == null ? void 0 : t(s);
183
- };
184
- }
185
- var D = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
186
- }, K = Y[" useInsertionEffect ".trim().toString()] || D;
187
- function Qe({
188
- prop: e,
189
- defaultProp: t,
190
- onChange: r = () => {
191
- },
192
- caller: a
193
- }) {
194
- const [s, o, u] = Q({
195
- defaultProp: t,
196
- onChange: r
197
- }), n = e !== void 0, i = n ? e : s;
198
- {
199
- const p = l.useRef(e !== void 0);
200
- l.useEffect(() => {
201
- const m = p.current;
202
- m !== n && console.warn(
203
- `${a} is changing from ${m ? "controlled" : "uncontrolled"} to ${n ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
204
- ), p.current = n;
205
- }, [n, a]);
206
- }
207
- const c = l.useCallback(
208
- (p) => {
209
- var m;
210
- if (n) {
211
- const f = ee(p) ? p(e) : p;
212
- f !== e && ((m = u.current) == null || m.call(u, f));
213
- } else
214
- o(p);
215
- },
216
- [n, e, o, u]
217
- );
218
- return [i, c];
219
- }
220
- function Q({
221
- defaultProp: e,
222
- onChange: t
223
- }) {
224
- const [r, a] = l.useState(e), s = l.useRef(r), o = l.useRef(t);
225
- return K(() => {
226
- o.current = t;
227
- }, [t]), l.useEffect(() => {
228
- var u;
229
- s.current !== r && ((u = o.current) == null || u.call(o, r), s.current = r);
230
- }, [r, s]), [r, a, o];
231
- }
232
- function ee(e) {
233
- return typeof e == "function";
234
- }
235
- function et(e) {
236
- const [t, r] = l.useState(void 0);
237
- return D(() => {
238
- if (e) {
239
- r({ width: e.offsetWidth, height: e.offsetHeight });
240
- const a = new ResizeObserver((s) => {
241
- if (!Array.isArray(s) || !s.length)
242
- return;
243
- const o = s[0];
244
- let u, n;
245
- if ("borderBoxSize" in o) {
246
- const i = o.borderBoxSize, c = Array.isArray(i) ? i[0] : i;
247
- u = c.inlineSize, n = c.blockSize;
248
- } else
249
- u = e.offsetWidth, n = e.offsetHeight;
250
- r({ width: u, height: n });
251
- });
252
- return a.observe(e, { box: "border-box" }), () => a.unobserve(e);
253
- } else
254
- r(void 0);
255
- }, [e]), t;
256
- }
257
- const S = { asChild: { type: "boolean" } }, te = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, se = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, W = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], re = { color: { type: "enum", values: W, default: void 0 } }, tt = { color: { type: "enum", values: W, default: "" } }, ne = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, oe = ["normal", "start", "end", "both"], ie = { trim: { type: "enum", className: "rt-r-lt", values: oe, responsive: !0 } }, ae = ["left", "center", "right"], ue = { align: { type: "enum", className: "rt-r-ta", values: ae, responsive: !0 } }, le = ["wrap", "nowrap", "pretty", "balance"], ce = { wrap: { type: "enum", className: "rt-r-tw", values: le, responsive: !0 } }, pe = { truncate: { type: "boolean", className: "rt-truncate" } }, me = ["light", "regular", "medium", "bold"], fe = { weight: { type: "enum", className: "rt-r-weight", values: me, responsive: !0 } }, de = ["h1", "h2", "h3", "h4", "h5", "h6"], ve = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ye = { as: { type: "enum", values: de, default: "h1" }, ...S, size: { type: "enum", className: "rt-r-size", values: ve, default: "6", responsive: !0 }, ...fe, ...ue, ...ie, ...pe, ...ce, ...re, ...ne }, ge = ["initial", "xs", "sm", "md", "lg", "xl"], C = new Set(ge);
258
- function B(e, t) {
259
- return Object.prototype.hasOwnProperty.call(e, t);
260
- }
261
- function N(e) {
262
- return typeof e == "object" && e !== null && Object.keys(e).some((t) => C.has(t));
263
- }
264
- function he({ className: e, customProperties: t, ...r }) {
265
- const a = T({ allowArbitraryValues: !0, className: e, ...r }), s = be({ customProperties: t, ...r });
266
- return [a, s];
267
- }
268
- function T({ allowArbitraryValues: e, value: t, className: r, propValues: a, parseValue: s = (o) => o }) {
269
- const o = [];
270
- if (t) {
271
- if (typeof t == "string" && a.includes(t)) return _(r, t, s);
272
- if (N(t)) {
273
- const u = t;
274
- for (const n in u) {
275
- if (!B(u, n) || !C.has(n)) continue;
276
- const i = u[n];
277
- if (i !== void 0) {
278
- if (a.includes(i)) {
279
- const c = _(r, i, s), p = n === "initial" ? c : `${n}:${c}`;
280
- o.push(p);
281
- } else if (e) {
282
- const c = n === "initial" ? r : `${n}:${r}`;
283
- o.push(c);
284
- }
285
- }
286
- }
287
- return o.join(" ");
288
- }
289
- if (e) return r;
290
- }
291
- }
292
- function _(e, t, r) {
293
- const a = e ? "-" : "", s = r(t), o = s == null ? void 0 : s.startsWith("-"), u = o ? "-" : "", n = o ? s == null ? void 0 : s.substring(1) : s;
294
- return `${u}${e}${a}${n}`;
295
- }
296
- function be({ customProperties: e, value: t, propValues: r, parseValue: a = (s) => s }) {
297
- let s = {};
298
- if (!(!t || typeof t == "string" && r.includes(t))) {
299
- if (typeof t == "string" && (s = Object.fromEntries(e.map((o) => [o, t]))), N(t)) {
300
- const o = t;
301
- for (const u in o) {
302
- if (!B(o, u) || !C.has(u)) continue;
303
- const n = o[u];
304
- if (!r.includes(n)) for (const i of e) s = { [u === "initial" ? i : `${i}-${u}`]: n, ...s };
305
- }
306
- }
307
- for (const o in s) {
308
- const u = s[o];
309
- u !== void 0 && (s[o] = a(u));
310
- }
311
- return s;
312
- }
313
- }
314
- function O(...e) {
315
- let t = {};
316
- for (const r of e) r && (t = { ...t, ...r });
317
- return Object.keys(t).length ? t : void 0;
318
- }
319
- function Ne(...e) {
320
- return Object.assign({}, ...e);
321
- }
322
- function E(e, ...t) {
323
- let r, a;
324
- const s = { ...e }, o = Ne(...t);
325
- for (const u in o) {
326
- let n = s[u];
327
- const i = o[u];
328
- if (i.default !== void 0 && n === void 0 && (n = i.default), i.type === "enum" && ![i.default, ...i.values].includes(n) && !N(n) && (n = i.default), s[u] = n, "className" in i && i.className) {
329
- delete s[u];
330
- const c = "responsive" in i;
331
- if (!n || N(n) && !c) continue;
332
- if (N(n) && (i.default !== void 0 && n.initial === void 0 && (n.initial = i.default), i.type === "enum" && ([i.default, ...i.values].includes(n.initial) || (n.initial = i.default))), i.type === "enum") {
333
- const p = T({ allowArbitraryValues: !1, value: n, className: i.className, propValues: i.values, parseValue: i.parseValue });
334
- r = y(r, p);
335
- continue;
336
- }
337
- if (i.type === "string" || i.type === "enum | string") {
338
- const p = i.type === "string" ? [] : i.values, [m, f] = he({ className: i.className, customProperties: i.customProperties, propValues: p, parseValue: i.parseValue, value: n });
339
- a = O(a, f), r = y(r, m);
340
- continue;
341
- }
342
- if (i.type === "boolean" && n) {
343
- r = y(r, i.className);
344
- continue;
345
- }
346
- }
347
- }
348
- return s.className = y(r, e.className), s.style = O(a, e.style), s;
349
- }
350
- const d = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], j = { m: { type: "enum | string", values: d, responsive: !0, className: "rt-r-m", customProperties: ["--m"] }, mx: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mx", customProperties: ["--ml", "--mr"] }, my: { type: "enum | string", values: d, responsive: !0, className: "rt-r-my", customProperties: ["--mt", "--mb"] }, mt: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mt", customProperties: ["--mt"] }, mr: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mr", customProperties: ["--mr"] }, mb: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mb", customProperties: ["--mb"] }, ml: { type: "enum | string", values: d, responsive: !0, className: "rt-r-ml", customProperties: ["--ml"] } }, we = l.forwardRef((e, t) => {
351
- const { children: r, className: a, asChild: s, as: o = "h1", color: u, ...n } = E(e, ye, j);
352
- return l.createElement(A, { "data-accent-color": u, ...n, ref: t, className: y("rt-Heading", a) }, s ? r : l.createElement(o, null, r));
353
- });
354
- we.displayName = "Heading";
355
- const $e = ["none", "small", "medium", "large", "full"], st = { radius: { type: "enum", values: $e, default: void 0 } }, F = A, Pe = ["div", "span"], xe = ["none", "inline", "inline-block", "block", "contents"], Se = { as: { type: "enum", values: Pe, default: "div" }, ...S, display: { type: "enum", className: "rt-r-display", values: xe, responsive: !0 } }, v = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], Ce = { p: { type: "enum | string", className: "rt-r-p", customProperties: ["--p"], values: v, responsive: !0 }, px: { type: "enum | string", className: "rt-r-px", customProperties: ["--pl", "--pr"], values: v, responsive: !0 }, py: { type: "enum | string", className: "rt-r-py", customProperties: ["--pt", "--pb"], values: v, responsive: !0 }, pt: { type: "enum | string", className: "rt-r-pt", customProperties: ["--pt"], values: v, responsive: !0 }, pr: { type: "enum | string", className: "rt-r-pr", customProperties: ["--pr"], values: v, responsive: !0 }, pb: { type: "enum | string", className: "rt-r-pb", customProperties: ["--pb"], values: v, responsive: !0 }, pl: { type: "enum | string", className: "rt-r-pl", customProperties: ["--pl"], values: v, responsive: !0 } }, P = ["visible", "hidden", "clip", "scroll", "auto"], Ee = ["static", "relative", "absolute", "fixed", "sticky"], b = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], je = ["0", "1"], Re = ["0", "1"], Ve = ["start", "center", "end", "baseline", "stretch"], _e = ["start", "center", "end", "baseline", "stretch"], L = { ...Ce, ...te, ...se, position: { type: "enum", className: "rt-r-position", values: Ee, responsive: !0 }, inset: { type: "enum | string", className: "rt-r-inset", customProperties: ["--inset"], values: b, responsive: !0 }, top: { type: "enum | string", className: "rt-r-top", customProperties: ["--top"], values: b, responsive: !0 }, right: { type: "enum | string", className: "rt-r-right", customProperties: ["--right"], values: b, responsive: !0 }, bottom: { type: "enum | string", className: "rt-r-bottom", customProperties: ["--bottom"], values: b, responsive: !0 }, left: { type: "enum | string", className: "rt-r-left", customProperties: ["--left"], values: b, responsive: !0 }, overflow: { type: "enum", className: "rt-r-overflow", values: P, responsive: !0 }, overflowX: { type: "enum", className: "rt-r-ox", values: P, responsive: !0 }, overflowY: { type: "enum", className: "rt-r-oy", values: P, responsive: !0 }, flexBasis: { type: "string", className: "rt-r-fb", customProperties: ["--flex-basis"], responsive: !0 }, flexShrink: { type: "enum | string", className: "rt-r-fs", customProperties: ["--flex-shrink"], values: je, responsive: !0 }, flexGrow: { type: "enum | string", className: "rt-r-fg", customProperties: ["--flex-grow"], values: Re, responsive: !0 }, gridArea: { type: "string", className: "rt-r-ga", customProperties: ["--grid-area"], responsive: !0 }, gridColumn: { type: "string", className: "rt-r-gc", customProperties: ["--grid-column"], responsive: !0 }, gridColumnStart: { type: "string", className: "rt-r-gcs", customProperties: ["--grid-column-start"], responsive: !0 }, gridColumnEnd: { type: "string", className: "rt-r-gce", customProperties: ["--grid-column-end"], responsive: !0 }, gridRow: { type: "string", className: "rt-r-gr", customProperties: ["--grid-row"], responsive: !0 }, gridRowStart: { type: "string", className: "rt-r-grs", customProperties: ["--grid-row-start"], responsive: !0 }, gridRowEnd: { type: "string", className: "rt-r-gre", customProperties: ["--grid-row-end"], responsive: !0 }, alignSelf: { type: "enum", className: "rt-r-as", values: Ve, responsive: !0 }, justifySelf: { type: "enum", className: "rt-r-js", values: _e, responsive: !0 } }, Oe = l.forwardRef((e, t) => {
356
- const { className: r, asChild: a, as: s = "div", ...o } = E(e, Se, L, j);
357
- return l.createElement(a ? F : s, { ...o, ref: t, className: y("rt-Box", r) });
358
- });
359
- Oe.displayName = "Box";
360
- const x = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], ke = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: x, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: x, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: x, responsive: !0 } }, ze = ["div", "span"], Ae = ["none", "inline-flex", "flex"], Ie = ["row", "column", "row-reverse", "column-reverse"], De = ["start", "center", "end", "baseline", "stretch"], We = ["start", "center", "end", "between"], Be = ["nowrap", "wrap", "wrap-reverse"], Te = { as: { type: "enum", values: ze, default: "div" }, ...S, display: { type: "enum", className: "rt-r-display", values: Ae, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: Ie, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: De, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: We, parseValue: Fe, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: Be, responsive: !0 }, ...ke };
361
- function Fe(e) {
362
- return e === "between" ? "space-between" : e;
363
- }
364
- const Le = l.forwardRef((e, t) => {
365
- const { className: r, asChild: a, as: s = "div", ...o } = E(e, Te, L, j);
366
- return l.createElement(a ? F : s, { ...o, ref: t, className: y("rt-Flex", r) });
367
- });
368
- Le.displayName = "Flex";
369
- export {
370
- tt as A,
371
- L as B,
372
- qe as P,
373
- A as S,
374
- Qe as a,
375
- et as b,
376
- Ke as c,
377
- Je as d,
378
- j as e,
379
- st as f,
380
- we as g,
381
- Le as h,
382
- z as i,
383
- D as j,
384
- Ge as k,
385
- Ze as l,
386
- Xe as m,
387
- se as n,
388
- ne as o,
389
- Oe as p,
390
- S as q,
391
- re as r,
392
- ce as s,
393
- te as t,
394
- Ue as u,
395
- E as v,
396
- pe as w,
397
- ie as x,
398
- ue as y,
399
- fe as z
400
- };