@factorialco/f0-react 1.202.0 → 1.203.1
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/experimental.js +22 -6
- package/dist/f0.d.ts +4 -2
- package/dist/f0.js +266 -258
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -21508,9 +21508,16 @@ const kA = ({
|
|
|
21508
21508
|
"group after:absolute after:inset-y-0 after:-right-px after:z-10 after:hidden after:h-full after:w-10 after:bg-gradient-to-r after:from-transparent after:via-f1-background after:via-75% after:to-f1-background after:transition-all after:content-[''] hover:after:via-[#F5F6F8] hover:after:to-[#F5F6F8] dark:hover:after:via-[#192231] dark:hover:after:to-[#192231] md:after:block hover:md:bg-f1-background-hover"
|
|
21509
21509
|
),
|
|
21510
21510
|
children: [
|
|
21511
|
-
/* @__PURE__ */
|
|
21511
|
+
/* @__PURE__ */ d(
|
|
21512
|
+
"div",
|
|
21513
|
+
{
|
|
21514
|
+
onClick: f,
|
|
21515
|
+
className: "pointer-events-auto absolute inset-0"
|
|
21516
|
+
}
|
|
21517
|
+
),
|
|
21518
|
+
/* @__PURE__ */ b("div", { className: "pointer-events-none flex flex-1 flex-row items-center gap-2", children: [
|
|
21512
21519
|
t.selectable && c !== void 0 && // z-10 is needed here to prevent the checkbox from not being selectable when itemHref is provided
|
|
21513
|
-
/* @__PURE__ */ d("div", { className: "z-10 hidden items-center justify-end md:flex", children: /* @__PURE__ */ d(
|
|
21520
|
+
/* @__PURE__ */ d("div", { className: "pointer-events-auto z-10 hidden items-center justify-end md:flex", children: /* @__PURE__ */ d(
|
|
21514
21521
|
Yl,
|
|
21515
21522
|
{
|
|
21516
21523
|
checked: n.has(c),
|
|
@@ -21519,7 +21526,16 @@ const kA = ({
|
|
|
21519
21526
|
hideLabel: !0
|
|
21520
21527
|
}
|
|
21521
21528
|
) }),
|
|
21522
|
-
l && /* @__PURE__ */ d(
|
|
21529
|
+
l && /* @__PURE__ */ d(
|
|
21530
|
+
Li,
|
|
21531
|
+
{
|
|
21532
|
+
href: l,
|
|
21533
|
+
className: "pointer-events-auto absolute inset-0 block",
|
|
21534
|
+
tabIndex: 0,
|
|
21535
|
+
onClick: f,
|
|
21536
|
+
children: /* @__PURE__ */ d("span", { className: "sr-only", children: a.view })
|
|
21537
|
+
}
|
|
21538
|
+
),
|
|
21523
21539
|
/* @__PURE__ */ d(
|
|
21524
21540
|
_A,
|
|
21525
21541
|
{
|
|
@@ -21532,13 +21548,13 @@ const kA = ({
|
|
|
21532
21548
|
/* @__PURE__ */ d("div", { className: "flex flex-col items-start md:flex-row md:items-center [&>div]:justify-end", children: (r || []).filter((v) => {
|
|
21533
21549
|
var x;
|
|
21534
21550
|
return !((x = v.hide) != null && x.call(v, e));
|
|
21535
|
-
}).map((v) => /* @__PURE__ */ d("div", {
|
|
21551
|
+
}).map((v) => /* @__PURE__ */ d("div", { children: /* @__PURE__ */ d("div", { className: "flex items-center justify-center px-0 py-1 md:p-3 [&>span]:whitespace-nowrap", children: o(e, v) }) }, String(v.label))) }),
|
|
21536
21552
|
t.itemActions && /* @__PURE__ */ b(xe, { children: [
|
|
21537
21553
|
/* @__PURE__ */ d(
|
|
21538
21554
|
f9,
|
|
21539
21555
|
{
|
|
21540
21556
|
dropDownOpen: y,
|
|
21541
|
-
className: "hidden md:flex",
|
|
21557
|
+
className: "pointer-events-auto hidden md:flex",
|
|
21542
21558
|
children: /* @__PURE__ */ d(
|
|
21543
21559
|
u9,
|
|
21544
21560
|
{
|
|
@@ -21562,7 +21578,7 @@ const kA = ({
|
|
|
21562
21578
|
"div",
|
|
21563
21579
|
{
|
|
21564
21580
|
className: L(
|
|
21565
|
-
"absolute right-3 top-3 flex h-8 w-8 items-center justify-center md:hidden",
|
|
21581
|
+
"pointer-events-auto absolute right-3 top-3 flex h-8 w-8 items-center justify-center md:hidden",
|
|
21566
21582
|
t.itemActions && "right-12"
|
|
21567
21583
|
),
|
|
21568
21584
|
children: /* @__PURE__ */ d(
|
package/dist/f0.d.ts
CHANGED
|
@@ -839,6 +839,8 @@ declare type DataCollectionExtendFetchOptions<NavigationFilters extends Navigati
|
|
|
839
839
|
navigationFilters: NavigationFiltersState<NavigationFilters>;
|
|
840
840
|
};
|
|
841
841
|
|
|
842
|
+
export declare const dataCollectionLocalStorageHandler: DataCollectionStorageHandler;
|
|
843
|
+
|
|
842
844
|
/**
|
|
843
845
|
* Extended base fetch options for data collection
|
|
844
846
|
*/
|
|
@@ -905,11 +907,11 @@ declare type DataCollectionStatus = {
|
|
|
905
907
|
visualization?: number;
|
|
906
908
|
};
|
|
907
909
|
|
|
908
|
-
declare type DataCollectionStorage = {
|
|
910
|
+
export declare type DataCollectionStorage = {
|
|
909
911
|
settings?: DataCollectionSettings;
|
|
910
912
|
} & DataCollectionStatus;
|
|
911
913
|
|
|
912
|
-
declare type DataCollectionStorageHandler = {
|
|
914
|
+
export declare type DataCollectionStorageHandler = {
|
|
913
915
|
get: (key: string) => Promise<DataCollectionStorage>;
|
|
914
916
|
set: (key: string, storage: DataCollectionStorage) => Promise<void>;
|
|
915
917
|
};
|
package/dist/f0.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as g, L as
|
|
2
|
-
import { az as
|
|
3
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { C as g, L as ge, c as ve, P as U, a as b, f as be, b as xe, A as Ce, B as ye, d as we, e as Ne, g as Le, V as Pe, h as G, i as W, j as Se, k as J, S as Y, l as M, m as X, n as Fe, O as ke, o as K, p as De, q as Me, F as Q, r as Te, s as Ie, t as Be, D as Re, u as Oe, v as $e, w as Ee, x as Z, y as w, U as ee, z as _e, E as je, G as z, H as ze, I as ae, J as Ve, K as qe, M as Ae, N as He, Q as Ue, R as Ge, X as We, T as Je, W as Ye, Y as Xe, Z as Ke, _ as Qe } from "./hooks-CSPFCwyM.js";
|
|
2
|
+
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as es, a3 as as, a4 as ss, a5 as rs, a6 as ts, a7 as ls, a9 as os, aa as ns, ab as is, ac as cs, aG as ds, ae as us, af as fs, ag as hs, ah as ms, ak as ps, al as gs, am as vs, an as bs, ap as xs, ad as Cs, ao as ys, aj as ws, aH as Ns, aA as Ls, au as Ps, ax as Ss, at as Fs, aL as ks, as as Ds, ar as Ms, a8 as Ts, ai as Is, aq as Bs, av as Rs, aC as Os, aD as $s, aE as Es, aM as _s, aw as js, aF as zs, aJ as Vs, ay as qs, aI as As } from "./hooks-CSPFCwyM.js";
|
|
3
|
+
import { jsx as e, jsxs as d, Fragment as $ } from "react/jsx-runtime";
|
|
4
4
|
import * as E from "react";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import Ze, { useState as v, forwardRef as I, useRef as se, useImperativeHandle as ea, Children as aa, useEffect as re, createContext as sa } from "react";
|
|
6
|
+
const Fa = {
|
|
7
7
|
approvals: {
|
|
8
8
|
history: "Approval history",
|
|
9
9
|
statuses: {
|
|
@@ -193,35 +193,35 @@ const Sa = {
|
|
|
193
193
|
noResults: "No results found",
|
|
194
194
|
loadingMore: "Loading..."
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, ka = g(
|
|
197
197
|
{
|
|
198
198
|
name: "Link",
|
|
199
199
|
type: "info"
|
|
200
200
|
},
|
|
201
|
-
|
|
202
|
-
),
|
|
203
|
-
var _ = "Progress", j = 100, [
|
|
201
|
+
ge
|
|
202
|
+
), Da = ["person", "team", "company", "file"];
|
|
203
|
+
var _ = "Progress", j = 100, [ra, Ma] = ve(_), [ta, la] = ra(_), te = E.forwardRef(
|
|
204
204
|
(a, s) => {
|
|
205
205
|
const {
|
|
206
206
|
__scopeProgress: r,
|
|
207
207
|
value: t = null,
|
|
208
208
|
max: l,
|
|
209
|
-
getValueLabel:
|
|
209
|
+
getValueLabel: c = oa,
|
|
210
210
|
...n
|
|
211
211
|
} = a;
|
|
212
|
-
(l || l === 0) && !V(l) && console.error(
|
|
212
|
+
(l || l === 0) && !V(l) && console.error(na(`${l}`, "Progress"));
|
|
213
213
|
const i = V(l) ? l : j;
|
|
214
|
-
t !== null && !q(t, i) && console.error(
|
|
215
|
-
const o = q(t, i) ? t : null, f = T(o) ?
|
|
216
|
-
return /* @__PURE__ */ e(
|
|
217
|
-
|
|
214
|
+
t !== null && !q(t, i) && console.error(ia(`${t}`, "Progress"));
|
|
215
|
+
const o = q(t, i) ? t : null, f = T(o) ? c(o, i) : void 0;
|
|
216
|
+
return /* @__PURE__ */ e(ta, { scope: r, value: o, max: i, children: /* @__PURE__ */ e(
|
|
217
|
+
U.div,
|
|
218
218
|
{
|
|
219
219
|
"aria-valuemax": i,
|
|
220
220
|
"aria-valuemin": 0,
|
|
221
221
|
"aria-valuenow": T(o) ? o : void 0,
|
|
222
222
|
"aria-valuetext": f,
|
|
223
223
|
role: "progressbar",
|
|
224
|
-
"data-state":
|
|
224
|
+
"data-state": ne(o, i),
|
|
225
225
|
"data-value": o ?? void 0,
|
|
226
226
|
"data-max": i,
|
|
227
227
|
...n,
|
|
@@ -230,14 +230,14 @@ var _ = "Progress", j = 100, [sa, Da] = ge(_), [ra, ta] = sa(_), re = E.forwardR
|
|
|
230
230
|
) });
|
|
231
231
|
}
|
|
232
232
|
);
|
|
233
|
-
|
|
234
|
-
var
|
|
233
|
+
te.displayName = _;
|
|
234
|
+
var le = "ProgressIndicator", oe = E.forwardRef(
|
|
235
235
|
(a, s) => {
|
|
236
|
-
const { __scopeProgress: r, ...t } = a, l =
|
|
236
|
+
const { __scopeProgress: r, ...t } = a, l = la(le, r);
|
|
237
237
|
return /* @__PURE__ */ e(
|
|
238
|
-
|
|
238
|
+
U.div,
|
|
239
239
|
{
|
|
240
|
-
"data-state":
|
|
240
|
+
"data-state": ne(l.value, l.max),
|
|
241
241
|
"data-value": l.value ?? void 0,
|
|
242
242
|
"data-max": l.max,
|
|
243
243
|
...t,
|
|
@@ -246,11 +246,11 @@ var te = "ProgressIndicator", le = E.forwardRef(
|
|
|
246
246
|
);
|
|
247
247
|
}
|
|
248
248
|
);
|
|
249
|
-
|
|
250
|
-
function
|
|
249
|
+
oe.displayName = le;
|
|
250
|
+
function oa(a, s) {
|
|
251
251
|
return `${Math.round(a / s * 100)}%`;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function ne(a, s) {
|
|
254
254
|
return a == null ? "indeterminate" : a === s ? "complete" : "loading";
|
|
255
255
|
}
|
|
256
256
|
function T(a) {
|
|
@@ -262,10 +262,10 @@ function V(a) {
|
|
|
262
262
|
function q(a, s) {
|
|
263
263
|
return T(a) && !isNaN(a) && a <= s && a >= 0;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function na(a, s) {
|
|
266
266
|
return `Invalid prop \`max\` of value \`${a}\` supplied to \`${s}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${j}\`.`;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function ia(a, s) {
|
|
269
269
|
return `Invalid prop \`value\` of value \`${a}\` supplied to \`${s}\`. The \`value\` prop must be:
|
|
270
270
|
- a positive number
|
|
271
271
|
- less than the value passed to \`max\` (or ${j} if no \`max\` prop is set)
|
|
@@ -273,9 +273,9 @@ function na(a, s) {
|
|
|
273
273
|
|
|
274
274
|
Defaulting to \`null\`.`;
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
const
|
|
278
|
-
|
|
276
|
+
var ie = te, ca = oe;
|
|
277
|
+
const ce = E.forwardRef(({ className: a, value: s, ...r }, t) => /* @__PURE__ */ e(
|
|
278
|
+
ie,
|
|
279
279
|
{
|
|
280
280
|
ref: t,
|
|
281
281
|
className: b(
|
|
@@ -284,7 +284,7 @@ const ie = E.forwardRef(({ className: a, value: s, ...r }, t) => /* @__PURE__ */
|
|
|
284
284
|
),
|
|
285
285
|
...r,
|
|
286
286
|
children: /* @__PURE__ */ e(
|
|
287
|
-
|
|
287
|
+
ca,
|
|
288
288
|
{
|
|
289
289
|
className: "h-full w-full flex-1 transition-all",
|
|
290
290
|
style: {
|
|
@@ -295,14 +295,14 @@ const ie = E.forwardRef(({ className: a, value: s, ...r }, t) => /* @__PURE__ */
|
|
|
295
295
|
)
|
|
296
296
|
}
|
|
297
297
|
));
|
|
298
|
-
|
|
298
|
+
ce.displayName = ie.displayName;
|
|
299
299
|
const da = ({ value: a, max: s = 100, label: r, color: t }, l) => {
|
|
300
|
-
const
|
|
301
|
-
return /* @__PURE__ */
|
|
300
|
+
const c = t || xe(0), n = a / s * 100;
|
|
301
|
+
return /* @__PURE__ */ d("div", { className: "flex items-center space-x-2", "aria-live": "polite", children: [
|
|
302
302
|
/* @__PURE__ */ e("div", { className: "flex-grow", children: /* @__PURE__ */ e(
|
|
303
|
-
|
|
303
|
+
ce,
|
|
304
304
|
{
|
|
305
|
-
color:
|
|
305
|
+
color: c,
|
|
306
306
|
value: n,
|
|
307
307
|
className: "w-full",
|
|
308
308
|
"aria-valuemin": 0,
|
|
@@ -313,68 +313,68 @@ const da = ({ value: a, max: s = 100, label: r, color: t }, l) => {
|
|
|
313
313
|
) }),
|
|
314
314
|
r && /* @__PURE__ */ e("div", { className: "flex-shrink-0 text-sm font-medium", children: r })
|
|
315
315
|
] });
|
|
316
|
-
},
|
|
316
|
+
}, ua = be(da), Ta = g(
|
|
317
317
|
{
|
|
318
318
|
name: "AreaChart",
|
|
319
319
|
type: "info"
|
|
320
320
|
},
|
|
321
|
-
|
|
322
|
-
),
|
|
321
|
+
Ce
|
|
322
|
+
), Ia = g(
|
|
323
323
|
{
|
|
324
324
|
name: "BarChart",
|
|
325
325
|
type: "info"
|
|
326
326
|
},
|
|
327
|
-
|
|
327
|
+
ye
|
|
328
328
|
), Ba = g(
|
|
329
329
|
{
|
|
330
330
|
name: "CategoryBarChart",
|
|
331
331
|
type: "info"
|
|
332
332
|
},
|
|
333
|
-
ye
|
|
334
|
-
), Ia = g(
|
|
335
|
-
{
|
|
336
|
-
name: "LineChart",
|
|
337
|
-
type: "info"
|
|
338
|
-
},
|
|
339
333
|
we
|
|
340
334
|
), Ra = g(
|
|
341
335
|
{
|
|
342
|
-
name: "
|
|
336
|
+
name: "LineChart",
|
|
343
337
|
type: "info"
|
|
344
338
|
},
|
|
345
339
|
Ne
|
|
346
340
|
), Oa = g(
|
|
347
341
|
{
|
|
348
|
-
name: "
|
|
342
|
+
name: "PieChart",
|
|
349
343
|
type: "info"
|
|
350
344
|
},
|
|
351
345
|
Le
|
|
352
346
|
), $a = g(
|
|
347
|
+
{
|
|
348
|
+
name: "VerticalBarChart",
|
|
349
|
+
type: "info"
|
|
350
|
+
},
|
|
351
|
+
Pe
|
|
352
|
+
), Ea = g(
|
|
353
353
|
{
|
|
354
354
|
name: "ProgressBarChart",
|
|
355
355
|
type: "info"
|
|
356
356
|
},
|
|
357
|
-
|
|
357
|
+
ua
|
|
358
358
|
), O = ({ count: a, list: s }) => {
|
|
359
359
|
const [r, t] = v(!1), l = /* @__PURE__ */ e(M, { label: `+${a}` });
|
|
360
|
-
return s != null && s.length ? /* @__PURE__ */
|
|
361
|
-
/* @__PURE__ */ e(
|
|
360
|
+
return s != null && s.length ? /* @__PURE__ */ d(G, { open: r, onOpenChange: t, children: [
|
|
361
|
+
/* @__PURE__ */ e(W, { asChild: !0, children: /* @__PURE__ */ e("button", { className: Se("inline-flex flex-shrink-0 items-center"), children: l }) }),
|
|
362
362
|
/* @__PURE__ */ e(
|
|
363
|
-
|
|
363
|
+
J,
|
|
364
364
|
{
|
|
365
365
|
className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
|
|
366
366
|
align: "end",
|
|
367
|
-
children: /* @__PURE__ */
|
|
368
|
-
s.map((
|
|
367
|
+
children: /* @__PURE__ */ d(Y, { className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col", children: [
|
|
368
|
+
s.map((c, n) => /* @__PURE__ */ e(
|
|
369
369
|
"div",
|
|
370
370
|
{
|
|
371
371
|
className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
|
|
372
|
-
children: /* @__PURE__ */ e(M, { ...
|
|
372
|
+
children: /* @__PURE__ */ e(M, { ...c })
|
|
373
373
|
},
|
|
374
374
|
n
|
|
375
375
|
)),
|
|
376
376
|
/* @__PURE__ */ e(
|
|
377
|
-
|
|
377
|
+
X,
|
|
378
378
|
{
|
|
379
379
|
orientation: "vertical",
|
|
380
380
|
className: "[&_div]:bg-f1-background"
|
|
@@ -394,7 +394,7 @@ const de = ({
|
|
|
394
394
|
}) => {
|
|
395
395
|
if (t === "fill")
|
|
396
396
|
return /* @__PURE__ */ e(
|
|
397
|
-
|
|
397
|
+
ke,
|
|
398
398
|
{
|
|
399
399
|
items: a,
|
|
400
400
|
renderListItem: (o) => /* @__PURE__ */ e(M, { ...o }),
|
|
@@ -411,45 +411,45 @@ const de = ({
|
|
|
411
411
|
className: "flex-1"
|
|
412
412
|
}
|
|
413
413
|
);
|
|
414
|
-
const l = a.slice(0, s),
|
|
415
|
-
return /* @__PURE__ */
|
|
414
|
+
const l = a.slice(0, s), c = a.slice(s), n = r ?? a.length - s, i = n > 0;
|
|
415
|
+
return /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
|
|
416
416
|
l.map((o, f) => /* @__PURE__ */ e(M, { ...o }, f)),
|
|
417
417
|
i && /* @__PURE__ */ e(
|
|
418
418
|
O,
|
|
419
419
|
{
|
|
420
420
|
count: n,
|
|
421
|
-
list: r ? void 0 :
|
|
421
|
+
list: r ? void 0 : c
|
|
422
422
|
}
|
|
423
423
|
)
|
|
424
424
|
] });
|
|
425
425
|
};
|
|
426
426
|
de.displayName = "F0ChipList";
|
|
427
|
-
const
|
|
427
|
+
const _a = Fe(
|
|
428
428
|
"F0ChipList",
|
|
429
429
|
de
|
|
430
|
-
),
|
|
430
|
+
), fa = {
|
|
431
431
|
xs: 1,
|
|
432
432
|
sm: 2,
|
|
433
433
|
md: 2,
|
|
434
434
|
lg: 2
|
|
435
|
-
},
|
|
436
|
-
const l =
|
|
437
|
-
|
|
438
|
-
const
|
|
439
|
-
return /* @__PURE__ */ e(
|
|
440
|
-
/* @__PURE__ */
|
|
441
|
-
/* @__PURE__ */ e(
|
|
435
|
+
}, ha = I(function({ widgets: s, children: r }, t) {
|
|
436
|
+
const l = se(null);
|
|
437
|
+
ea(t, () => l.current);
|
|
438
|
+
const c = aa.toArray(s).filter((n) => !!n).map((n, i) => /* @__PURE__ */ e("div", { className: "h-full @5xl:h-auto [&>div]:h-full", children: n }, i));
|
|
439
|
+
return /* @__PURE__ */ e(K, { layout: "home", children: /* @__PURE__ */ d("div", { ref: l, className: "@container", children: [
|
|
440
|
+
/* @__PURE__ */ d("div", { className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden", children: [
|
|
441
|
+
/* @__PURE__ */ e(De, { columns: fa, showArrows: !1, children: c }),
|
|
442
442
|
/* @__PURE__ */ e("main", { children: r })
|
|
443
443
|
] }),
|
|
444
|
-
/* @__PURE__ */
|
|
445
|
-
/* @__PURE__ */ e("div", { className: "col-span-3 flex flex-row gap-5 *:flex-1", children:
|
|
444
|
+
/* @__PURE__ */ d("div", { className: "hidden grid-cols-3 gap-5 px-6 pb-6 pt-2 @5xl:grid", children: [
|
|
445
|
+
/* @__PURE__ */ e("div", { className: "col-span-3 flex flex-row gap-5 *:flex-1", children: c.slice(0, 3) }),
|
|
446
446
|
/* @__PURE__ */ e("main", { className: "col-span-2", children: r }),
|
|
447
|
-
/* @__PURE__ */ e("div", { className: "flex flex-1 flex-col gap-5", children:
|
|
447
|
+
/* @__PURE__ */ e("div", { className: "flex flex-1 flex-col gap-5", children: c.slice(3) })
|
|
448
448
|
] })
|
|
449
449
|
] }) });
|
|
450
|
-
}),
|
|
450
|
+
}), ma = I(
|
|
451
451
|
function({ children: s, sideContent: r, mainColumnPosition: t = "left" }, l) {
|
|
452
|
-
return /* @__PURE__ */ e("div", { ref: l, className: "h-full overflow-auto", children: /* @__PURE__ */
|
|
452
|
+
return /* @__PURE__ */ e("div", { ref: l, className: "h-full overflow-auto", children: /* @__PURE__ */ d(
|
|
453
453
|
"div",
|
|
454
454
|
{
|
|
455
455
|
className: b(
|
|
@@ -473,14 +473,14 @@ const Ea = Se(
|
|
|
473
473
|
}
|
|
474
474
|
) });
|
|
475
475
|
}
|
|
476
|
-
), A = ({ children: a }) => /* @__PURE__ */ e("aside", { className: "py-5 pl-2 pr-4 sm:basis-1/4 sm:pb-6", children: a }), pa =
|
|
476
|
+
), A = ({ children: a }) => /* @__PURE__ */ e("aside", { className: "py-5 pl-2 pr-4 sm:basis-1/4 sm:pb-6", children: a }), pa = Me({
|
|
477
477
|
base: "relative flex min-h-full w-full flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
|
|
478
478
|
variants: {
|
|
479
479
|
variant: {
|
|
480
480
|
narrow: "max-w-screen-lg"
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
}),
|
|
483
|
+
}), ue = Ze.forwardRef(({ children: a, variant: s, className: r, ...t }, l) => /* @__PURE__ */ e(K, { layout: "standard", children: /* @__PURE__ */ e(
|
|
484
484
|
"section",
|
|
485
485
|
{
|
|
486
486
|
ref: l,
|
|
@@ -489,39 +489,39 @@ const Ea = Se(
|
|
|
489
489
|
children: /* @__PURE__ */ e("div", { className: b(pa({ variant: s })), children: a })
|
|
490
490
|
}
|
|
491
491
|
) }));
|
|
492
|
-
|
|
493
|
-
const
|
|
492
|
+
ue.displayName = "StandardLayout";
|
|
493
|
+
const ja = g(
|
|
494
494
|
{
|
|
495
495
|
name: "StandardLayout",
|
|
496
496
|
type: "layout"
|
|
497
497
|
},
|
|
498
|
-
|
|
499
|
-
),
|
|
498
|
+
ue
|
|
499
|
+
), za = g(
|
|
500
500
|
{
|
|
501
501
|
name: "TwoColumnLayout",
|
|
502
502
|
type: "layout"
|
|
503
503
|
},
|
|
504
|
-
|
|
505
|
-
),
|
|
504
|
+
ma
|
|
505
|
+
), Va = g(
|
|
506
506
|
{
|
|
507
507
|
name: "HomeLayout",
|
|
508
508
|
type: "layout"
|
|
509
509
|
},
|
|
510
|
-
|
|
511
|
-
),
|
|
512
|
-
/* @__PURE__ */ e(
|
|
510
|
+
ha
|
|
511
|
+
), ga = ({ benefits: a }) => /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: a.map((s, r) => /* @__PURE__ */ e(va, { text: s }, r)) }), va = ({ text: a }) => /* @__PURE__ */ d("div", { className: "flex flex-row items-start gap-2", children: [
|
|
512
|
+
/* @__PURE__ */ e(Ie, { icon: Be, size: "md", className: "text-f1-icon-positive" }),
|
|
513
513
|
/* @__PURE__ */ e("span", { children: a })
|
|
514
|
-
] }),
|
|
514
|
+
] }), fe = I(
|
|
515
515
|
({
|
|
516
516
|
title: a,
|
|
517
517
|
image: s,
|
|
518
518
|
benefits: r,
|
|
519
519
|
actions: t,
|
|
520
520
|
withShadow: l = !0,
|
|
521
|
-
module:
|
|
521
|
+
module: c,
|
|
522
522
|
moduleName: n,
|
|
523
523
|
tag: i
|
|
524
|
-
}, o) => /* @__PURE__ */
|
|
524
|
+
}, o) => /* @__PURE__ */ d(
|
|
525
525
|
"div",
|
|
526
526
|
{
|
|
527
527
|
ref: o,
|
|
@@ -538,17 +538,17 @@ const _a = g(
|
|
|
538
538
|
className: "h-full w-full rounded-lg object-cover"
|
|
539
539
|
}
|
|
540
540
|
) }),
|
|
541
|
-
/* @__PURE__ */
|
|
542
|
-
/* @__PURE__ */
|
|
543
|
-
/* @__PURE__ */
|
|
544
|
-
/* @__PURE__ */
|
|
545
|
-
|
|
541
|
+
/* @__PURE__ */ d("div", { className: "flex flex-col justify-center gap-8 px-8 py-5", children: [
|
|
542
|
+
/* @__PURE__ */ d("div", { className: "flex flex-col gap-5", children: [
|
|
543
|
+
/* @__PURE__ */ d("div", { className: "flex flex-col gap-2", children: [
|
|
544
|
+
/* @__PURE__ */ d("div", { className: "flex flex-row items-center gap-2", children: [
|
|
545
|
+
c && /* @__PURE__ */ e(Q, { module: c }),
|
|
546
546
|
n && /* @__PURE__ */ e("p", { className: "text-base font-medium text-f1-foreground", children: n })
|
|
547
547
|
] }),
|
|
548
|
-
i && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ e(
|
|
548
|
+
i && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ e(Te, { icon: i.icon, text: i.label }) }),
|
|
549
549
|
/* @__PURE__ */ e("h2", { className: "font-bold text-xl text-f1-foreground", children: a })
|
|
550
550
|
] }),
|
|
551
|
-
/* @__PURE__ */ e(
|
|
551
|
+
/* @__PURE__ */ e(ga, { benefits: r })
|
|
552
552
|
] }),
|
|
553
553
|
t && /* @__PURE__ */ e("div", { className: "flex gap-3", children: t })
|
|
554
554
|
] })
|
|
@@ -556,46 +556,46 @@ const _a = g(
|
|
|
556
556
|
}
|
|
557
557
|
)
|
|
558
558
|
);
|
|
559
|
-
|
|
560
|
-
function
|
|
559
|
+
fe.displayName = "ProductBlankslate";
|
|
560
|
+
function ba({
|
|
561
561
|
isOpen: a,
|
|
562
562
|
onClose: s,
|
|
563
563
|
title: r,
|
|
564
564
|
children: t,
|
|
565
565
|
module: l,
|
|
566
|
-
portalContainer:
|
|
566
|
+
portalContainer: c
|
|
567
567
|
}) {
|
|
568
568
|
const [n, i] = v(a);
|
|
569
|
-
return
|
|
569
|
+
return re(() => {
|
|
570
570
|
i(a);
|
|
571
|
-
}, [a]), /* @__PURE__ */ e(
|
|
571
|
+
}, [a]), /* @__PURE__ */ e(Re, { open: n, onOpenChange: (f) => {
|
|
572
572
|
i(f), f || s();
|
|
573
|
-
}, modal: !0, children: /* @__PURE__ */
|
|
574
|
-
|
|
573
|
+
}, modal: !0, children: /* @__PURE__ */ d(
|
|
574
|
+
Oe,
|
|
575
575
|
{
|
|
576
576
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
577
|
-
container:
|
|
577
|
+
container: c,
|
|
578
578
|
children: [
|
|
579
|
-
/* @__PURE__ */
|
|
580
|
-
/* @__PURE__ */
|
|
581
|
-
l && /* @__PURE__ */ e(
|
|
579
|
+
/* @__PURE__ */ d("div", { className: "flex flex-row items-center justify-between px-4 py-4", children: [
|
|
580
|
+
/* @__PURE__ */ d($e, { className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground", children: [
|
|
581
|
+
l && /* @__PURE__ */ e(Q, { module: l, size: "lg" }),
|
|
582
582
|
r
|
|
583
583
|
] }),
|
|
584
584
|
/* @__PURE__ */ e(
|
|
585
|
-
|
|
585
|
+
Ee,
|
|
586
586
|
{
|
|
587
587
|
variant: "outline",
|
|
588
|
-
icon:
|
|
588
|
+
icon: Z,
|
|
589
589
|
onClick: s,
|
|
590
590
|
label: "Close modal",
|
|
591
591
|
hideLabel: !0
|
|
592
592
|
}
|
|
593
593
|
)
|
|
594
594
|
] }),
|
|
595
|
-
/* @__PURE__ */
|
|
595
|
+
/* @__PURE__ */ d(Y, { className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col", children: [
|
|
596
596
|
t,
|
|
597
597
|
/* @__PURE__ */ e(
|
|
598
|
-
|
|
598
|
+
X,
|
|
599
599
|
{
|
|
600
600
|
orientation: "vertical",
|
|
601
601
|
className: "[&_div]:bg-f1-background"
|
|
@@ -606,13 +606,13 @@ function va({
|
|
|
606
606
|
}
|
|
607
607
|
) });
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function qa({
|
|
610
610
|
isOpen: a,
|
|
611
611
|
onClose: s,
|
|
612
612
|
title: r,
|
|
613
613
|
image: t,
|
|
614
614
|
benefits: l,
|
|
615
|
-
errorMessage:
|
|
615
|
+
errorMessage: c,
|
|
616
616
|
successMessage: n,
|
|
617
617
|
loadingState: i,
|
|
618
618
|
nextSteps: o,
|
|
@@ -624,38 +624,38 @@ function Va({
|
|
|
624
624
|
portalContainer: x,
|
|
625
625
|
tag: S
|
|
626
626
|
}) {
|
|
627
|
-
const [
|
|
627
|
+
const [B, F] = v(a), [C, y] = v(null), [P, m] = v(!1), k = async () => {
|
|
628
628
|
if (h != null && h.onClick) {
|
|
629
|
-
|
|
629
|
+
m(!0);
|
|
630
630
|
try {
|
|
631
631
|
await h.onClick(), F(!1), y("success");
|
|
632
632
|
} catch {
|
|
633
633
|
y("error");
|
|
634
634
|
} finally {
|
|
635
|
-
|
|
635
|
+
m(!1);
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
}, D = () => {
|
|
639
639
|
F(!1), s == null || s();
|
|
640
640
|
}, R = P;
|
|
641
|
-
return /* @__PURE__ */
|
|
641
|
+
return /* @__PURE__ */ d($, { children: [
|
|
642
642
|
/* @__PURE__ */ e(
|
|
643
|
-
|
|
643
|
+
ba,
|
|
644
644
|
{
|
|
645
|
-
isOpen:
|
|
645
|
+
isOpen: B,
|
|
646
646
|
onClose: D,
|
|
647
647
|
title: N,
|
|
648
648
|
module: L,
|
|
649
649
|
portalContainer: x,
|
|
650
650
|
children: /* @__PURE__ */ e("div", { className: "pb-4 pl-4", children: /* @__PURE__ */ e(
|
|
651
|
-
|
|
651
|
+
fe,
|
|
652
652
|
{
|
|
653
653
|
title: r,
|
|
654
654
|
image: t,
|
|
655
655
|
benefits: l,
|
|
656
656
|
withShadow: !1,
|
|
657
657
|
tag: S,
|
|
658
|
-
actions: /* @__PURE__ */
|
|
658
|
+
actions: /* @__PURE__ */ d("div", { className: "flex gap-3", children: [
|
|
659
659
|
h && /* @__PURE__ */ e(
|
|
660
660
|
w,
|
|
661
661
|
{
|
|
@@ -683,14 +683,14 @@ function Va({
|
|
|
683
683
|
}
|
|
684
684
|
),
|
|
685
685
|
C && /* @__PURE__ */ e(
|
|
686
|
-
|
|
686
|
+
ee,
|
|
687
687
|
{
|
|
688
688
|
open: !0,
|
|
689
689
|
onClose: () => {
|
|
690
690
|
D(), y(null);
|
|
691
691
|
},
|
|
692
692
|
success: C === "success",
|
|
693
|
-
errorMessage:
|
|
693
|
+
errorMessage: c,
|
|
694
694
|
successMessage: n,
|
|
695
695
|
nextSteps: o,
|
|
696
696
|
closeLabel: f,
|
|
@@ -699,13 +699,13 @@ function Va({
|
|
|
699
699
|
)
|
|
700
700
|
] });
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function xa({
|
|
703
703
|
mediaUrl: a,
|
|
704
704
|
title: s,
|
|
705
705
|
description: r,
|
|
706
706
|
onClose: t,
|
|
707
707
|
dismissible: l,
|
|
708
|
-
width:
|
|
708
|
+
width: c,
|
|
709
709
|
trackVisibility: n,
|
|
710
710
|
actions: i,
|
|
711
711
|
showConfirmation: o = !0
|
|
@@ -713,24 +713,24 @@ function ba({
|
|
|
713
713
|
const [f, h] = v(!1), N = () => {
|
|
714
714
|
h(!0), t && t();
|
|
715
715
|
};
|
|
716
|
-
|
|
716
|
+
re(() => {
|
|
717
717
|
n && n(!f);
|
|
718
718
|
}, [n, f]);
|
|
719
719
|
const L = a == null ? void 0 : a.includes(".mp4");
|
|
720
|
-
return /* @__PURE__ */ e($, { children: f ? null : /* @__PURE__ */
|
|
721
|
-
/* @__PURE__ */
|
|
720
|
+
return /* @__PURE__ */ e($, { children: f ? null : /* @__PURE__ */ d(_e, { style: { width: c }, className: "relative bg-f1-background p-1", children: [
|
|
721
|
+
/* @__PURE__ */ d(je, { children: [
|
|
722
722
|
l && /* @__PURE__ */ e("div", { className: "absolute right-2 top-2 z-10", children: /* @__PURE__ */ e(
|
|
723
723
|
w,
|
|
724
724
|
{
|
|
725
725
|
variant: "ghost",
|
|
726
|
-
icon:
|
|
726
|
+
icon: Z,
|
|
727
727
|
size: "sm",
|
|
728
728
|
hideLabel: !0,
|
|
729
729
|
onClick: N,
|
|
730
730
|
label: "Close"
|
|
731
731
|
}
|
|
732
732
|
) }),
|
|
733
|
-
/* @__PURE__ */
|
|
733
|
+
/* @__PURE__ */ d("div", { children: [
|
|
734
734
|
/* @__PURE__ */ e("div", { children: a && (L ? /* @__PURE__ */ e(
|
|
735
735
|
"video",
|
|
736
736
|
{
|
|
@@ -749,15 +749,15 @@ function ba({
|
|
|
749
749
|
className: "h-full w-full rounded-md"
|
|
750
750
|
}
|
|
751
751
|
)) }),
|
|
752
|
-
/* @__PURE__ */
|
|
752
|
+
/* @__PURE__ */ d("div", { className: "flex flex-col gap-[2px] p-3", children: [
|
|
753
753
|
/* @__PURE__ */ e(z, { className: "text-lg font-medium", children: s }),
|
|
754
754
|
/* @__PURE__ */ e(z, { className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary", children: r })
|
|
755
755
|
] })
|
|
756
756
|
] })
|
|
757
757
|
] }),
|
|
758
|
-
i && /* @__PURE__ */ e(
|
|
758
|
+
i && /* @__PURE__ */ e(ze, { className: "p-3", children: i.map(
|
|
759
759
|
(u) => u.type === "upsell" ? /* @__PURE__ */ e(
|
|
760
|
-
|
|
760
|
+
ae,
|
|
761
761
|
{
|
|
762
762
|
label: u.label,
|
|
763
763
|
onRequest: u.onClick,
|
|
@@ -782,10 +782,10 @@ function ba({
|
|
|
782
782
|
) })
|
|
783
783
|
] }) });
|
|
784
784
|
}
|
|
785
|
-
const
|
|
785
|
+
const Ca = I(
|
|
786
786
|
function({ primaryAction: s, secondaryAction: r, ...t }, l) {
|
|
787
|
-
const
|
|
788
|
-
|
|
787
|
+
const c = (o) => o.variant === "promote" ? /* @__PURE__ */ e(
|
|
788
|
+
ae,
|
|
789
789
|
{
|
|
790
790
|
label: o.label,
|
|
791
791
|
onRequest: async () => {
|
|
@@ -810,32 +810,32 @@ const xa = B(
|
|
|
810
810
|
icon: o.icon
|
|
811
811
|
}
|
|
812
812
|
), n = (s == null ? void 0 : s.variant) !== "promote" ? s : void 0, i = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0;
|
|
813
|
-
return /* @__PURE__ */
|
|
814
|
-
|
|
813
|
+
return /* @__PURE__ */ d(
|
|
814
|
+
Ve,
|
|
815
815
|
{
|
|
816
816
|
ref: l,
|
|
817
817
|
...t,
|
|
818
818
|
primaryAction: n,
|
|
819
819
|
secondaryAction: i,
|
|
820
820
|
children: [
|
|
821
|
-
(s == null ? void 0 : s.variant) === "promote" &&
|
|
822
|
-
(r == null ? void 0 : r.variant) === "promote" &&
|
|
821
|
+
(s == null ? void 0 : s.variant) === "promote" && c(s),
|
|
822
|
+
(r == null ? void 0 : r.variant) === "promote" && c(r)
|
|
823
823
|
]
|
|
824
824
|
}
|
|
825
825
|
);
|
|
826
826
|
}
|
|
827
827
|
);
|
|
828
|
-
|
|
829
|
-
function
|
|
828
|
+
Ca.displayName = "UpsellingBanner";
|
|
829
|
+
function Aa({
|
|
830
830
|
isOpen: a,
|
|
831
831
|
setIsOpen: s,
|
|
832
832
|
label: r,
|
|
833
833
|
variant: t = "promote",
|
|
834
834
|
size: l = "md",
|
|
835
|
-
showIcon:
|
|
835
|
+
showIcon: c = !0,
|
|
836
836
|
side: n = "right",
|
|
837
837
|
align: i = "center",
|
|
838
|
-
icon: o =
|
|
838
|
+
icon: o = qe,
|
|
839
839
|
mediaUrl: f,
|
|
840
840
|
title: h,
|
|
841
841
|
description: N,
|
|
@@ -843,46 +843,46 @@ function qa({
|
|
|
843
843
|
trackVisibility: u,
|
|
844
844
|
actions: x,
|
|
845
845
|
onClick: S,
|
|
846
|
-
hideLabel:
|
|
846
|
+
hideLabel: B = !1
|
|
847
847
|
}) {
|
|
848
|
-
const [F, C] = v(!1), [y, P] = v(null), [
|
|
849
|
-
s(
|
|
850
|
-
}, R = async (
|
|
851
|
-
if (
|
|
852
|
-
k(
|
|
848
|
+
const [F, C] = v(!1), [y, P] = v(null), [m, k] = v(null), D = (p) => {
|
|
849
|
+
s(p), S && S();
|
|
850
|
+
}, R = async (p) => {
|
|
851
|
+
if (p.type === "upsell") {
|
|
852
|
+
k(p);
|
|
853
853
|
try {
|
|
854
|
-
await
|
|
854
|
+
await p.onClick(), p.showConfirmation && (C(!0), P("success"));
|
|
855
855
|
} catch {
|
|
856
856
|
C(!0), P("error");
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
-
},
|
|
859
|
+
}, he = () => {
|
|
860
860
|
P(null), C(!1), k(null), s(!1);
|
|
861
|
-
},
|
|
862
|
-
...
|
|
863
|
-
onClick: () => R(
|
|
864
|
-
} :
|
|
865
|
-
return /* @__PURE__ */
|
|
866
|
-
/* @__PURE__ */
|
|
867
|
-
/* @__PURE__ */ e(
|
|
861
|
+
}, me = a && !F, pe = x == null ? void 0 : x.map((p) => p.type === "upsell" ? {
|
|
862
|
+
...p,
|
|
863
|
+
onClick: () => R(p)
|
|
864
|
+
} : p);
|
|
865
|
+
return /* @__PURE__ */ d($, { children: [
|
|
866
|
+
/* @__PURE__ */ d(G, { open: me, onOpenChange: D, children: [
|
|
867
|
+
/* @__PURE__ */ e(W, { asChild: !0, children: /* @__PURE__ */ e(
|
|
868
868
|
w,
|
|
869
869
|
{
|
|
870
870
|
variant: t,
|
|
871
871
|
label: r,
|
|
872
872
|
size: l,
|
|
873
|
-
icon:
|
|
873
|
+
icon: c ? o : void 0,
|
|
874
874
|
onClick: () => s(a),
|
|
875
|
-
hideLabel:
|
|
875
|
+
hideLabel: B
|
|
876
876
|
}
|
|
877
877
|
) }),
|
|
878
878
|
/* @__PURE__ */ e(
|
|
879
|
-
|
|
879
|
+
J,
|
|
880
880
|
{
|
|
881
881
|
side: n,
|
|
882
882
|
align: i,
|
|
883
883
|
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
884
884
|
children: /* @__PURE__ */ e(
|
|
885
|
-
|
|
885
|
+
xa,
|
|
886
886
|
{
|
|
887
887
|
mediaUrl: f,
|
|
888
888
|
title: h,
|
|
@@ -898,28 +898,28 @@ function qa({
|
|
|
898
898
|
}
|
|
899
899
|
)
|
|
900
900
|
] }),
|
|
901
|
-
(
|
|
902
|
-
|
|
901
|
+
(m == null ? void 0 : m.type) === "upsell" && m.showConfirmation && y && /* @__PURE__ */ e(
|
|
902
|
+
ee,
|
|
903
903
|
{
|
|
904
904
|
open: !0,
|
|
905
|
-
onClose:
|
|
905
|
+
onClose: he,
|
|
906
906
|
success: y === "success",
|
|
907
|
-
errorMessage:
|
|
908
|
-
successMessage:
|
|
909
|
-
nextSteps:
|
|
910
|
-
closeLabel:
|
|
907
|
+
errorMessage: m.errorMessage,
|
|
908
|
+
successMessage: m.successMessage,
|
|
909
|
+
nextSteps: m.nextSteps,
|
|
910
|
+
closeLabel: m.closeLabel,
|
|
911
911
|
portalContainer: null
|
|
912
912
|
}
|
|
913
913
|
)
|
|
914
914
|
] });
|
|
915
915
|
}
|
|
916
|
-
const
|
|
916
|
+
const ya = sa(
|
|
917
917
|
null
|
|
918
|
-
),
|
|
919
|
-
const r =
|
|
920
|
-
return
|
|
918
|
+
), wa = ({ children: a, fullScreen: s = !0 }) => {
|
|
919
|
+
const r = se(null), [t, l] = v(r.current);
|
|
920
|
+
return Qe(() => {
|
|
921
921
|
l(r.current);
|
|
922
|
-
}, []), /* @__PURE__ */ e(
|
|
922
|
+
}, []), /* @__PURE__ */ e(ya.Provider, { value: { element: t }, children: /* @__PURE__ */ e(
|
|
923
923
|
"div",
|
|
924
924
|
{
|
|
925
925
|
ref: r,
|
|
@@ -930,30 +930,30 @@ const Ca = aa(
|
|
|
930
930
|
children: a
|
|
931
931
|
}
|
|
932
932
|
) });
|
|
933
|
-
},
|
|
933
|
+
}, Na = ({
|
|
934
934
|
children: a
|
|
935
|
-
}) => /* @__PURE__ */ e(
|
|
935
|
+
}) => /* @__PURE__ */ e(Ke, { reducedMotion: "user", children: a }), Ha = ({
|
|
936
936
|
children: a,
|
|
937
937
|
layout: s,
|
|
938
938
|
link: r,
|
|
939
939
|
privacyModeInitiallyEnabled: t,
|
|
940
940
|
image: l,
|
|
941
|
-
i18n:
|
|
941
|
+
i18n: c,
|
|
942
942
|
l10n: n,
|
|
943
943
|
isDev: i = !1,
|
|
944
944
|
dataCollectionStorageHandler: o,
|
|
945
945
|
showExperimentalWarnings: f = !1
|
|
946
|
-
}) => /* @__PURE__ */ e(
|
|
947
|
-
|
|
946
|
+
}) => /* @__PURE__ */ e(Na, { children: /* @__PURE__ */ e(
|
|
947
|
+
Ae,
|
|
948
948
|
{
|
|
949
949
|
isDev: i,
|
|
950
950
|
showExperimentalWarnings: f,
|
|
951
|
-
children: /* @__PURE__ */ e(
|
|
952
|
-
|
|
951
|
+
children: /* @__PURE__ */ e(He, { ...n, children: /* @__PURE__ */ e(Ue, { ...c, children: /* @__PURE__ */ e(Ge, { ...r, children: /* @__PURE__ */ e(wa, { ...s, children: /* @__PURE__ */ e(We, { children: /* @__PURE__ */ e(
|
|
952
|
+
Je,
|
|
953
953
|
{
|
|
954
954
|
initiallyEnabled: t,
|
|
955
955
|
children: /* @__PURE__ */ e(Ye, { ...l, children: /* @__PURE__ */ e(
|
|
956
|
-
|
|
956
|
+
Xe,
|
|
957
957
|
{
|
|
958
958
|
handler: o,
|
|
959
959
|
children: a
|
|
@@ -962,84 +962,92 @@ const Ca = aa(
|
|
|
962
962
|
}
|
|
963
963
|
) }) }) }) }) })
|
|
964
964
|
}
|
|
965
|
-
) })
|
|
965
|
+
) }), H = (a) => `datacollection-${a}`, Ua = {
|
|
966
|
+
get: async (a) => JSON.parse(
|
|
967
|
+
localStorage.getItem(H(a)) ?? "{}"
|
|
968
|
+
),
|
|
969
|
+
set: async (a, s) => {
|
|
970
|
+
localStorage.setItem(H(a), JSON.stringify(s));
|
|
971
|
+
}
|
|
972
|
+
};
|
|
966
973
|
export {
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
974
|
+
Ta as AreaChart,
|
|
975
|
+
Ja as Await,
|
|
976
|
+
Ia as BarChart,
|
|
970
977
|
w as Button,
|
|
971
978
|
Ba as CategoryBarChart,
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
Bs as
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
979
|
+
Ya as CopyButton,
|
|
980
|
+
Xa as DndProvider,
|
|
981
|
+
Ka as EmojiImage,
|
|
982
|
+
Qa as F0Avatar,
|
|
983
|
+
Za as F0AvatarAlert,
|
|
984
|
+
es as F0AvatarCompany,
|
|
985
|
+
as as F0AvatarDate,
|
|
986
|
+
ss as F0AvatarEmoji,
|
|
987
|
+
rs as F0AvatarFile,
|
|
988
|
+
ts as F0AvatarIcon,
|
|
989
|
+
ls as F0AvatarList,
|
|
990
|
+
Q as F0AvatarModule,
|
|
991
|
+
os as F0AvatarPerson,
|
|
992
|
+
ns as F0AvatarTeam,
|
|
993
|
+
is as F0Card,
|
|
994
|
+
cs as F0Checkbox,
|
|
995
|
+
_a as F0ChipList,
|
|
996
|
+
ds as F0EventCatcherProvider,
|
|
997
|
+
Ie as F0Icon,
|
|
998
|
+
Ha as F0Provider,
|
|
999
|
+
us as F0TagAlert,
|
|
1000
|
+
fs as F0TagBalance,
|
|
1001
|
+
hs as F0TagCompany,
|
|
1002
|
+
ms as F0TagDot,
|
|
1003
|
+
ps as F0TagList,
|
|
1004
|
+
gs as F0TagPerson,
|
|
1005
|
+
Te as F0TagRaw,
|
|
1006
|
+
vs as F0TagStatus,
|
|
1007
|
+
bs as F0TagTeam,
|
|
1008
|
+
xs as GROUP_ID_SYMBOL,
|
|
1009
|
+
Va as HomeLayout,
|
|
1010
|
+
Ra as LineChart,
|
|
1011
|
+
ka as Link,
|
|
1012
|
+
Cs as OneFilterPicker,
|
|
1013
|
+
Oa as PieChart,
|
|
1014
|
+
Je as PrivacyModeProvider,
|
|
1015
|
+
fe as ProductBlankslate,
|
|
1016
|
+
ys as ProductCard,
|
|
1017
|
+
qa as ProductModal,
|
|
1018
|
+
xa as ProductWidget,
|
|
1019
|
+
Ea as ProgressBarChart,
|
|
1020
|
+
ja as StandardLayout,
|
|
1021
|
+
ws as TagCounter,
|
|
1022
|
+
za as TwoColumnLayout,
|
|
1023
|
+
ee as UpsellRequestResponseDialog,
|
|
1024
|
+
Ca as UpsellingBanner,
|
|
1025
|
+
ae as UpsellingButton,
|
|
1026
|
+
Aa as UpsellingPopover,
|
|
1027
|
+
$a as VerticalBarChart,
|
|
1028
|
+
Da as avatarVariants,
|
|
1029
|
+
Ns as buildTranslations,
|
|
1030
|
+
Ls as createAtlaskitDriver,
|
|
1031
|
+
Ps as createDataSourceDefinition,
|
|
1032
|
+
Ua as dataCollectionLocalStorageHandler,
|
|
1033
|
+
Fa as defaultTranslations,
|
|
1034
|
+
Fe as experimental,
|
|
1035
|
+
Ss as getAnimationVariants,
|
|
1036
|
+
Fs as getDataSourcePaginationType,
|
|
1037
|
+
ks as getEmojiLabel,
|
|
1038
|
+
Ds as isInfiniteScrollPagination,
|
|
1039
|
+
Ms as isPageBasedPagination,
|
|
1040
|
+
Ts as modules,
|
|
1041
|
+
Is as tagDotColors,
|
|
1042
|
+
Bs as useData,
|
|
1043
|
+
Rs as useDataSource,
|
|
1044
|
+
Os as useDndEvents,
|
|
1045
|
+
$s as useDraggable,
|
|
1046
|
+
Es as useDroppableList,
|
|
1047
|
+
_s as useEmojiConfetti,
|
|
1048
|
+
js as useGroups,
|
|
1049
|
+
zs as usePrivacyMode,
|
|
1050
|
+
Vs as useReducedMotion,
|
|
1051
|
+
qs as useSelectable,
|
|
1052
|
+
As as useXRay
|
|
1045
1053
|
};
|