@factorialco/f0-react 1.244.1 → 1.246.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/experimental.d.ts +274 -129
- package/dist/experimental.js +11597 -11924
- package/dist/f0.d.ts +342 -89
- package/dist/f0.js +321 -316
- package/dist/global.d.ts +21 -0
- package/dist/{hooks-DfWgtHhy.js → hooks-rjsVZjmG.js} +32174 -31880
- package/dist/styles.css +1 -1
- package/package.json +2 -1
package/dist/f0.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as _, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as He, av as M, aw as Je, ax as da, ay as fa, az as Ce, aA as pa, aB as Ue, aC as ma, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na } from "./hooks-rjsVZjmG.js";
|
|
2
|
+
import { bp as en, br as tn, bA as an, aO as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aX as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, bw as bn, b2 as gn, b4 as xn, b5 as wn, b6 as Pn, b7 as Sn, ba as Cn, bb as Nn, bc as An, bd as On, bf as kn, b3 as Ln, be as Dn, b9 as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aW as Rn, b1 as zn, b8 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-rjsVZjmG.js";
|
|
3
3
|
import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
|
|
4
4
|
import * as fe from "react";
|
|
5
|
-
import k, { PureComponent as
|
|
6
|
-
const
|
|
5
|
+
import k, { PureComponent as Aa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Oa, Children as ka, createContext as La } from "react";
|
|
6
|
+
const Nr = {
|
|
7
7
|
approvals: {
|
|
8
8
|
history: "Approval history",
|
|
9
9
|
statuses: {
|
|
@@ -43,7 +43,8 @@ const Sr = {
|
|
|
43
43
|
thumbsUp: "Like",
|
|
44
44
|
thumbsDown: "Dislike",
|
|
45
45
|
other: "Other actions",
|
|
46
|
-
toggle: "Toggle"
|
|
46
|
+
toggle: "Toggle",
|
|
47
|
+
toggleDropdownMenu: "Toggle dropdown menu"
|
|
47
48
|
},
|
|
48
49
|
status: {
|
|
49
50
|
selected: {
|
|
@@ -217,10 +218,7 @@ const Sr = {
|
|
|
217
218
|
noResults: "No results found",
|
|
218
219
|
loadingMore: "Loading..."
|
|
219
220
|
}
|
|
220
|
-
},
|
|
221
|
-
name: "Link",
|
|
222
|
-
type: "info"
|
|
223
|
-
}, pt), Nr = [
|
|
221
|
+
}, Ar = [
|
|
224
222
|
"person",
|
|
225
223
|
"team",
|
|
226
224
|
"company",
|
|
@@ -235,41 +233,41 @@ function R(e) {
|
|
|
235
233
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
236
234
|
}, R(e);
|
|
237
235
|
}
|
|
238
|
-
function
|
|
236
|
+
function Da(e, t) {
|
|
239
237
|
if (!(e instanceof t))
|
|
240
238
|
throw new TypeError("Cannot call a class as a function");
|
|
241
239
|
}
|
|
242
|
-
function
|
|
240
|
+
function Ta(e, t) {
|
|
243
241
|
for (var r = 0; r < t.length; r++) {
|
|
244
242
|
var a = t[r];
|
|
245
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e,
|
|
243
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Qe(a.key), a);
|
|
246
244
|
}
|
|
247
245
|
}
|
|
248
|
-
function
|
|
249
|
-
return t &&
|
|
246
|
+
function Fa(e, t, r) {
|
|
247
|
+
return t && Ta(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
250
248
|
}
|
|
251
|
-
function
|
|
252
|
-
return t = Q(t),
|
|
249
|
+
function Ia(e, t, r) {
|
|
250
|
+
return t = Q(t), _a(e, Xe() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
|
|
253
251
|
}
|
|
254
|
-
function
|
|
252
|
+
function _a(e, t) {
|
|
255
253
|
if (t && (R(t) === "object" || typeof t == "function"))
|
|
256
254
|
return t;
|
|
257
255
|
if (t !== void 0)
|
|
258
256
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
259
|
-
return
|
|
257
|
+
return Ea(e);
|
|
260
258
|
}
|
|
261
|
-
function
|
|
259
|
+
function Ea(e) {
|
|
262
260
|
if (e === void 0)
|
|
263
261
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
264
262
|
return e;
|
|
265
263
|
}
|
|
266
|
-
function
|
|
264
|
+
function Xe() {
|
|
267
265
|
try {
|
|
268
266
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
269
267
|
}));
|
|
270
268
|
} catch {
|
|
271
269
|
}
|
|
272
|
-
return (
|
|
270
|
+
return (Xe = function() {
|
|
273
271
|
return !!e;
|
|
274
272
|
})();
|
|
275
273
|
}
|
|
@@ -278,7 +276,7 @@ function Q(e) {
|
|
|
278
276
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
279
277
|
}, Q(e);
|
|
280
278
|
}
|
|
281
|
-
function
|
|
279
|
+
function ja(e, t) {
|
|
282
280
|
if (typeof t != "function" && t !== null)
|
|
283
281
|
throw new TypeError("Super expression must either be null or a function");
|
|
284
282
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ce(e, t);
|
|
@@ -288,14 +286,14 @@ function ce(e, t) {
|
|
|
288
286
|
return a.__proto__ = o, a;
|
|
289
287
|
}, ce(e, t);
|
|
290
288
|
}
|
|
291
|
-
function
|
|
292
|
-
return t =
|
|
289
|
+
function Ze(e, t, r) {
|
|
290
|
+
return t = Qe(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
293
291
|
}
|
|
294
|
-
function
|
|
295
|
-
var t =
|
|
292
|
+
function Qe(e) {
|
|
293
|
+
var t = $a(e, "string");
|
|
296
294
|
return R(t) == "symbol" ? t : t + "";
|
|
297
295
|
}
|
|
298
|
-
function
|
|
296
|
+
function $a(e, t) {
|
|
299
297
|
if (R(e) != "object" || !e) return e;
|
|
300
298
|
var r = e[Symbol.toPrimitive];
|
|
301
299
|
if (r !== void 0) {
|
|
@@ -307,23 +305,23 @@ function Ea(e, t) {
|
|
|
307
305
|
}
|
|
308
306
|
var re = /* @__PURE__ */ function(e) {
|
|
309
307
|
function t() {
|
|
310
|
-
return
|
|
308
|
+
return Da(this, t), Ia(this, t, arguments);
|
|
311
309
|
}
|
|
312
|
-
return
|
|
310
|
+
return ja(t, e), Fa(t, [{
|
|
313
311
|
key: "render",
|
|
314
312
|
value: function() {
|
|
315
313
|
return null;
|
|
316
314
|
}
|
|
317
315
|
}]);
|
|
318
316
|
}(k.Component);
|
|
319
|
-
|
|
320
|
-
|
|
317
|
+
Ze(re, "displayName", "ZAxis");
|
|
318
|
+
Ze(re, "defaultProps", {
|
|
321
319
|
zAxisId: 0,
|
|
322
320
|
range: [64, 64],
|
|
323
321
|
scale: "auto",
|
|
324
322
|
type: "number"
|
|
325
323
|
});
|
|
326
|
-
var
|
|
324
|
+
var Ba = ["option", "isActive"];
|
|
327
325
|
function G() {
|
|
328
326
|
return G = Object.assign ? Object.assign.bind() : function(e) {
|
|
329
327
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -334,9 +332,9 @@ function G() {
|
|
|
334
332
|
return e;
|
|
335
333
|
}, G.apply(this, arguments);
|
|
336
334
|
}
|
|
337
|
-
function
|
|
335
|
+
function Ma(e, t) {
|
|
338
336
|
if (e == null) return {};
|
|
339
|
-
var r =
|
|
337
|
+
var r = Ra(e, t), a, o;
|
|
340
338
|
if (Object.getOwnPropertySymbols) {
|
|
341
339
|
var s = Object.getOwnPropertySymbols(e);
|
|
342
340
|
for (o = 0; o < s.length; o++)
|
|
@@ -344,7 +342,7 @@ function $a(e, t) {
|
|
|
344
342
|
}
|
|
345
343
|
return r;
|
|
346
344
|
}
|
|
347
|
-
function
|
|
345
|
+
function Ra(e, t) {
|
|
348
346
|
if (e == null) return {};
|
|
349
347
|
var r = {};
|
|
350
348
|
for (var a in e)
|
|
@@ -354,8 +352,8 @@ function Ma(e, t) {
|
|
|
354
352
|
}
|
|
355
353
|
return r;
|
|
356
354
|
}
|
|
357
|
-
function
|
|
358
|
-
var t = e.option, r = e.isActive, a =
|
|
355
|
+
function za(e) {
|
|
356
|
+
var t = e.option, r = e.isActive, a = Ma(e, Ba);
|
|
359
357
|
return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, G({
|
|
360
358
|
option: /* @__PURE__ */ k.createElement(mt, G({
|
|
361
359
|
type: t
|
|
@@ -376,15 +374,15 @@ function z(e) {
|
|
|
376
374
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
377
375
|
}, z(e);
|
|
378
376
|
}
|
|
379
|
-
function
|
|
380
|
-
return
|
|
377
|
+
function V() {
|
|
378
|
+
return V = Object.assign ? Object.assign.bind() : function(e) {
|
|
381
379
|
for (var t = 1; t < arguments.length; t++) {
|
|
382
380
|
var r = arguments[t];
|
|
383
381
|
for (var a in r)
|
|
384
382
|
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
385
383
|
}
|
|
386
384
|
return e;
|
|
387
|
-
},
|
|
385
|
+
}, V.apply(this, arguments);
|
|
388
386
|
}
|
|
389
387
|
function Ae(e, t) {
|
|
390
388
|
var r = Object.keys(e);
|
|
@@ -407,41 +405,41 @@ function F(e) {
|
|
|
407
405
|
}
|
|
408
406
|
return e;
|
|
409
407
|
}
|
|
410
|
-
function
|
|
408
|
+
function Ka(e, t) {
|
|
411
409
|
if (!(e instanceof t))
|
|
412
410
|
throw new TypeError("Cannot call a class as a function");
|
|
413
411
|
}
|
|
414
412
|
function Oe(e, t) {
|
|
415
413
|
for (var r = 0; r < t.length; r++) {
|
|
416
414
|
var a = t[r];
|
|
417
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e,
|
|
415
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, tt(a.key), a);
|
|
418
416
|
}
|
|
419
417
|
}
|
|
420
|
-
function
|
|
418
|
+
function Wa(e, t, r) {
|
|
421
419
|
return t && Oe(e.prototype, t), r && Oe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
422
420
|
}
|
|
423
|
-
function
|
|
424
|
-
return t = ee(t),
|
|
421
|
+
function Ga(e, t, r) {
|
|
422
|
+
return t = ee(t), Va(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
|
|
425
423
|
}
|
|
426
|
-
function
|
|
424
|
+
function Va(e, t) {
|
|
427
425
|
if (t && (z(t) === "object" || typeof t == "function"))
|
|
428
426
|
return t;
|
|
429
427
|
if (t !== void 0)
|
|
430
428
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
431
|
-
return
|
|
429
|
+
return qa(e);
|
|
432
430
|
}
|
|
433
|
-
function
|
|
431
|
+
function qa(e) {
|
|
434
432
|
if (e === void 0)
|
|
435
433
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
436
434
|
return e;
|
|
437
435
|
}
|
|
438
|
-
function
|
|
436
|
+
function et() {
|
|
439
437
|
try {
|
|
440
438
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
441
439
|
}));
|
|
442
440
|
} catch {
|
|
443
441
|
}
|
|
444
|
-
return (
|
|
442
|
+
return (et = function() {
|
|
445
443
|
return !!e;
|
|
446
444
|
})();
|
|
447
445
|
}
|
|
@@ -450,7 +448,7 @@ function ee(e) {
|
|
|
450
448
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
451
449
|
}, ee(e);
|
|
452
450
|
}
|
|
453
|
-
function
|
|
451
|
+
function Ya(e, t) {
|
|
454
452
|
if (typeof t != "function" && t !== null)
|
|
455
453
|
throw new TypeError("Super expression must either be null or a function");
|
|
456
454
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ue(e, t);
|
|
@@ -461,13 +459,13 @@ function ue(e, t) {
|
|
|
461
459
|
}, ue(e, t);
|
|
462
460
|
}
|
|
463
461
|
function j(e, t, r) {
|
|
464
|
-
return t =
|
|
462
|
+
return t = tt(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
465
463
|
}
|
|
466
|
-
function
|
|
467
|
-
var t =
|
|
464
|
+
function tt(e) {
|
|
465
|
+
var t = Ha(e, "string");
|
|
468
466
|
return z(t) == "symbol" ? t : t + "";
|
|
469
467
|
}
|
|
470
|
-
function
|
|
468
|
+
function Ha(e, t) {
|
|
471
469
|
if (z(e) != "object" || !e) return e;
|
|
472
470
|
var r = e[Symbol.toPrimitive];
|
|
473
471
|
if (r !== void 0) {
|
|
@@ -480,10 +478,10 @@ function Va(e, t) {
|
|
|
480
478
|
var Y = /* @__PURE__ */ function(e) {
|
|
481
479
|
function t() {
|
|
482
480
|
var r;
|
|
483
|
-
|
|
481
|
+
Ka(this, t);
|
|
484
482
|
for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++)
|
|
485
483
|
o[s] = arguments[s];
|
|
486
|
-
return r =
|
|
484
|
+
return r = Ga(this, t, [].concat(o)), j(r, "state", {
|
|
487
485
|
isAnimationFinished: !1
|
|
488
486
|
}), j(r, "handleAnimationEnd", function() {
|
|
489
487
|
r.setState({
|
|
@@ -495,18 +493,18 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
495
493
|
});
|
|
496
494
|
}), j(r, "id", St("recharts-scatter-")), r;
|
|
497
495
|
}
|
|
498
|
-
return
|
|
496
|
+
return Ya(t, e), Wa(t, [{
|
|
499
497
|
key: "renderSymbolsStatically",
|
|
500
498
|
value: function(a) {
|
|
501
499
|
var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
|
|
502
500
|
return a.map(function(c, f) {
|
|
503
501
|
var h = i === f, u = h ? d : l, x = F(F({}, m), c);
|
|
504
|
-
return /* @__PURE__ */ k.createElement(K,
|
|
502
|
+
return /* @__PURE__ */ k.createElement(K, V({
|
|
505
503
|
className: "recharts-scatter-symbol",
|
|
506
504
|
key: "symbol-".concat(c == null ? void 0 : c.cx, "-").concat(c == null ? void 0 : c.cy, "-").concat(c == null ? void 0 : c.size, "-").concat(f)
|
|
507
505
|
}, ht(o.props, c, f), {
|
|
508
506
|
role: "img"
|
|
509
|
-
}), /* @__PURE__ */ k.createElement(
|
|
507
|
+
}), /* @__PURE__ */ k.createElement(za, V({
|
|
510
508
|
option: u,
|
|
511
509
|
isActive: h,
|
|
512
510
|
key: "symbol-".concat(f)
|
|
@@ -562,7 +560,7 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
562
560
|
var a = this.props.isAnimationActive;
|
|
563
561
|
if (a && !this.state.isAnimationFinished)
|
|
564
562
|
return null;
|
|
565
|
-
var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m =
|
|
563
|
+
var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Te(i, bt);
|
|
566
564
|
return m ? m.map(function(c, f) {
|
|
567
565
|
var h = c.props, u = h.direction, x = h.dataKey;
|
|
568
566
|
return /* @__PURE__ */ k.cloneElement(c, {
|
|
@@ -611,7 +609,7 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
611
609
|
}, m), {}, {
|
|
612
610
|
points: c
|
|
613
611
|
});
|
|
614
|
-
return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt,
|
|
612
|
+
return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt, V({}, g, {
|
|
615
613
|
type: d
|
|
616
614
|
})), /* @__PURE__ */ k.createElement(K, {
|
|
617
615
|
className: "recharts-scatter-line",
|
|
@@ -651,7 +649,7 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
651
649
|
} : null;
|
|
652
650
|
}
|
|
653
651
|
}]);
|
|
654
|
-
}(
|
|
652
|
+
}(Aa);
|
|
655
653
|
j(Y, "displayName", "Scatter");
|
|
656
654
|
j(Y, "defaultProps", {
|
|
657
655
|
xAxisId: 0,
|
|
@@ -669,7 +667,7 @@ j(Y, "defaultProps", {
|
|
|
669
667
|
animationEasing: "linear"
|
|
670
668
|
});
|
|
671
669
|
j(Y, "getComposedData", function(e) {
|
|
672
|
-
var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c =
|
|
670
|
+
var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Te(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, x = a ? a.range : re.defaultProps.range, A = x && x[0], S = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
|
|
673
671
|
var C = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
|
|
674
672
|
name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
|
|
675
673
|
unit: t.unit || "",
|
|
@@ -693,7 +691,7 @@ j(Y, "getComposedData", function(e) {
|
|
|
693
691
|
dataKey: u,
|
|
694
692
|
type: m
|
|
695
693
|
});
|
|
696
|
-
var
|
|
694
|
+
var T = we({
|
|
697
695
|
axis: t,
|
|
698
696
|
ticks: l,
|
|
699
697
|
bandSize: S,
|
|
@@ -709,9 +707,9 @@ j(Y, "getComposedData", function(e) {
|
|
|
709
707
|
dataKey: h
|
|
710
708
|
}), p = v !== "-" ? a.scale(v) : A, P = Math.sqrt(Math.max(p, 0) / Math.PI);
|
|
711
709
|
return F(F({}, b), {}, {
|
|
712
|
-
cx:
|
|
710
|
+
cx: T,
|
|
713
711
|
cy: E,
|
|
714
|
-
x:
|
|
712
|
+
x: T - P,
|
|
715
713
|
y: E - P,
|
|
716
714
|
xAxis: t,
|
|
717
715
|
yAxis: r,
|
|
@@ -726,7 +724,7 @@ j(Y, "getComposedData", function(e) {
|
|
|
726
724
|
},
|
|
727
725
|
tooltipPayload: L,
|
|
728
726
|
tooltipPosition: {
|
|
729
|
-
x:
|
|
727
|
+
x: T,
|
|
730
728
|
y: E
|
|
731
729
|
},
|
|
732
730
|
payload: b
|
|
@@ -736,7 +734,7 @@ j(Y, "getComposedData", function(e) {
|
|
|
736
734
|
points: g
|
|
737
735
|
}, i);
|
|
738
736
|
});
|
|
739
|
-
var
|
|
737
|
+
var Ja = At({
|
|
740
738
|
chartName: "ComposedChart",
|
|
741
739
|
GraphicalChild: [Ie, Ot, _e, Y],
|
|
742
740
|
axisComponents: [{
|
|
@@ -751,7 +749,7 @@ var Ya = At({
|
|
|
751
749
|
}],
|
|
752
750
|
formatAxisMap: kt
|
|
753
751
|
});
|
|
754
|
-
const
|
|
752
|
+
const Ua = (e) => {
|
|
755
753
|
const t = (r) => {
|
|
756
754
|
const { cx: a, cy: o, fill: s, payload: l } = r, d = () => {
|
|
757
755
|
if (!l) return "-";
|
|
@@ -775,16 +773,16 @@ const Ha = (e) => {
|
|
|
775
773
|
});
|
|
776
774
|
};
|
|
777
775
|
return t.displayName = `Scatter-${e}`, t;
|
|
778
|
-
},
|
|
776
|
+
}, Xa = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
|
|
779
777
|
hide: !0
|
|
780
778
|
}, label: o = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: d, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, x) => {
|
|
781
|
-
var v, L,
|
|
782
|
-
const A = Lt(t), S = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...S, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) =>
|
|
783
|
-
return n(
|
|
779
|
+
var v, L, T, E;
|
|
780
|
+
const A = Lt(t), S = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...S, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Dt(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), C = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
|
|
781
|
+
return n(Tt, {
|
|
784
782
|
config: e,
|
|
785
783
|
ref: x,
|
|
786
784
|
aspect: d,
|
|
787
|
-
children: N(
|
|
785
|
+
children: N(Ja, {
|
|
788
786
|
accessibilityLayer: !0,
|
|
789
787
|
data: A,
|
|
790
788
|
margin: {
|
|
@@ -827,7 +825,7 @@ const Ha = (e) => {
|
|
|
827
825
|
yAxisId: "right",
|
|
828
826
|
orientation: "right",
|
|
829
827
|
tick: !0,
|
|
830
|
-
width: a.width ?? w + 20 + (C.length > 0 && ((
|
|
828
|
+
width: a.width ?? w + 20 + (C.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
|
|
831
829
|
hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
|
|
832
830
|
label: (E = y[0]) != null && E.axisLabel ? {
|
|
833
831
|
value: y[0].axisLabel,
|
|
@@ -839,7 +837,7 @@ const Ha = (e) => {
|
|
|
839
837
|
hide: r == null ? void 0 : r.hide,
|
|
840
838
|
tick: m ? (p) => {
|
|
841
839
|
var be, ge;
|
|
842
|
-
const { x: P, y: H, payload: ve } = p, ye = ((be = t.find((
|
|
840
|
+
const { x: P, y: H, payload: ve } = p, ye = ((be = t.find((pt) => pt.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, ft = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
|
|
843
841
|
return N("g", {
|
|
844
842
|
transform: `translate(${P},${H})`,
|
|
845
843
|
children: [n("text", {
|
|
@@ -855,7 +853,7 @@ const Ha = (e) => {
|
|
|
855
853
|
dy: 28,
|
|
856
854
|
textAnchor: "middle",
|
|
857
855
|
className: "!fill-f1-foreground text-sm font-medium",
|
|
858
|
-
children:
|
|
856
|
+
children: ft
|
|
859
857
|
})]
|
|
860
858
|
});
|
|
861
859
|
} : void 0
|
|
@@ -885,9 +883,9 @@ const Ha = (e) => {
|
|
|
885
883
|
r: 4,
|
|
886
884
|
isAnimationActive: !1,
|
|
887
885
|
yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
|
|
888
|
-
shape:
|
|
889
|
-
}, `scatter-${String(p)}`)), i && n(
|
|
890
|
-
content: n(
|
|
886
|
+
shape: Ua(String(p))
|
|
887
|
+
}, `scatter-${String(p)}`)), i && n(Bt, {
|
|
888
|
+
content: n(Mt, {
|
|
891
889
|
nameKey: "label"
|
|
892
890
|
}),
|
|
893
891
|
align: "center",
|
|
@@ -897,21 +895,21 @@ const Ha = (e) => {
|
|
|
897
895
|
})]
|
|
898
896
|
})
|
|
899
897
|
});
|
|
900
|
-
},
|
|
901
|
-
var me = "Progress", he = 100, [
|
|
898
|
+
}, Za = je(Xa);
|
|
899
|
+
var me = "Progress", he = 100, [Qa, Or] = Rt(me), [er, tr] = Qa(me), at = fe.forwardRef(
|
|
902
900
|
(e, t) => {
|
|
903
901
|
const {
|
|
904
902
|
__scopeProgress: r,
|
|
905
903
|
value: a = null,
|
|
906
904
|
max: o,
|
|
907
|
-
getValueLabel: s =
|
|
905
|
+
getValueLabel: s = ar,
|
|
908
906
|
...l
|
|
909
907
|
} = e;
|
|
910
|
-
(o || o === 0) && !ke(o) && console.error(
|
|
908
|
+
(o || o === 0) && !ke(o) && console.error(rr(`${o}`, "Progress"));
|
|
911
909
|
const d = ke(o) ? o : he;
|
|
912
|
-
a !== null && !Le(a, d) && console.error(
|
|
910
|
+
a !== null && !Le(a, d) && console.error(nr(`${a}`, "Progress"));
|
|
913
911
|
const i = Le(a, d) ? a : null, m = te(i) ? s(i, d) : void 0;
|
|
914
|
-
return /* @__PURE__ */ n(
|
|
912
|
+
return /* @__PURE__ */ n(er, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
|
|
915
913
|
$e.div,
|
|
916
914
|
{
|
|
917
915
|
"aria-valuemax": d,
|
|
@@ -919,7 +917,7 @@ var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.for
|
|
|
919
917
|
"aria-valuenow": te(i) ? i : void 0,
|
|
920
918
|
"aria-valuetext": m,
|
|
921
919
|
role: "progressbar",
|
|
922
|
-
"data-state":
|
|
920
|
+
"data-state": ot(i, d),
|
|
923
921
|
"data-value": i ?? void 0,
|
|
924
922
|
"data-max": d,
|
|
925
923
|
...l,
|
|
@@ -928,14 +926,14 @@ var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.for
|
|
|
928
926
|
) });
|
|
929
927
|
}
|
|
930
928
|
);
|
|
931
|
-
|
|
932
|
-
var
|
|
929
|
+
at.displayName = me;
|
|
930
|
+
var rt = "ProgressIndicator", nt = fe.forwardRef(
|
|
933
931
|
(e, t) => {
|
|
934
|
-
const { __scopeProgress: r, ...a } = e, o =
|
|
932
|
+
const { __scopeProgress: r, ...a } = e, o = tr(rt, r);
|
|
935
933
|
return /* @__PURE__ */ n(
|
|
936
934
|
$e.div,
|
|
937
935
|
{
|
|
938
|
-
"data-state":
|
|
936
|
+
"data-state": ot(o.value, o.max),
|
|
939
937
|
"data-value": o.value ?? void 0,
|
|
940
938
|
"data-max": o.max,
|
|
941
939
|
...a,
|
|
@@ -944,11 +942,11 @@ var at = "ProgressIndicator", rt = fe.forwardRef(
|
|
|
944
942
|
);
|
|
945
943
|
}
|
|
946
944
|
);
|
|
947
|
-
|
|
948
|
-
function
|
|
945
|
+
nt.displayName = rt;
|
|
946
|
+
function ar(e, t) {
|
|
949
947
|
return `${Math.round(e / t * 100)}%`;
|
|
950
948
|
}
|
|
951
|
-
function
|
|
949
|
+
function ot(e, t) {
|
|
952
950
|
return e == null ? "indeterminate" : e === t ? "complete" : "loading";
|
|
953
951
|
}
|
|
954
952
|
function te(e) {
|
|
@@ -960,10 +958,10 @@ function ke(e) {
|
|
|
960
958
|
function Le(e, t) {
|
|
961
959
|
return te(e) && !isNaN(e) && e <= t && e >= 0;
|
|
962
960
|
}
|
|
963
|
-
function
|
|
961
|
+
function rr(e, t) {
|
|
964
962
|
return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${he}\`.`;
|
|
965
963
|
}
|
|
966
|
-
function
|
|
964
|
+
function nr(e, t) {
|
|
967
965
|
return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
968
966
|
- a positive number
|
|
969
967
|
- less than the value passed to \`max\` (or ${he} if no \`max\` prop is set)
|
|
@@ -971,12 +969,12 @@ function ar(e, t) {
|
|
|
971
969
|
|
|
972
970
|
Defaulting to \`null\`.`;
|
|
973
971
|
}
|
|
974
|
-
var
|
|
975
|
-
const
|
|
972
|
+
var it = at, or = nt;
|
|
973
|
+
const st = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(it, {
|
|
976
974
|
ref: a,
|
|
977
975
|
className: _("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
|
|
978
976
|
...r,
|
|
979
|
-
children: n(
|
|
977
|
+
children: n(or, {
|
|
980
978
|
className: "h-full w-full flex-1 transition-all",
|
|
981
979
|
style: {
|
|
982
980
|
backgroundColor: r.color,
|
|
@@ -984,15 +982,15 @@ const it = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(ot, {
|
|
|
984
982
|
}
|
|
985
983
|
})
|
|
986
984
|
}));
|
|
987
|
-
|
|
988
|
-
const
|
|
985
|
+
st.displayName = it.displayName;
|
|
986
|
+
const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
|
|
989
987
|
const s = a ? W(a) : W("categorical-1"), l = e / t * 100;
|
|
990
988
|
return N("div", {
|
|
991
989
|
className: "flex items-center space-x-2",
|
|
992
990
|
"aria-live": "polite",
|
|
993
991
|
children: [n("div", {
|
|
994
992
|
className: "flex-grow",
|
|
995
|
-
children: n(
|
|
993
|
+
children: n(st, {
|
|
996
994
|
color: s,
|
|
997
995
|
value: l,
|
|
998
996
|
className: "w-full",
|
|
@@ -1006,78 +1004,78 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
|
|
|
1006
1004
|
children: r
|
|
1007
1005
|
})]
|
|
1008
1006
|
});
|
|
1009
|
-
},
|
|
1007
|
+
}, sr = je(ir), kr = I(
|
|
1010
1008
|
{
|
|
1011
1009
|
name: "AreaChart",
|
|
1012
1010
|
type: "info"
|
|
1013
1011
|
},
|
|
1014
|
-
|
|
1015
|
-
),
|
|
1012
|
+
qt
|
|
1013
|
+
), Lr = I(
|
|
1016
1014
|
{
|
|
1017
1015
|
name: "BarChart",
|
|
1018
1016
|
type: "info"
|
|
1019
1017
|
},
|
|
1020
|
-
|
|
1021
|
-
),
|
|
1018
|
+
zt
|
|
1019
|
+
), Dr = I(
|
|
1022
1020
|
{
|
|
1023
1021
|
name: "CategoryBarChart",
|
|
1024
1022
|
type: "info"
|
|
1025
1023
|
},
|
|
1026
|
-
|
|
1024
|
+
Kt
|
|
1027
1025
|
), Tr = I(
|
|
1028
1026
|
{
|
|
1029
1027
|
name: "LineChart",
|
|
1030
1028
|
type: "info"
|
|
1031
1029
|
},
|
|
1032
|
-
|
|
1033
|
-
),
|
|
1030
|
+
Wt
|
|
1031
|
+
), Fr = I(
|
|
1034
1032
|
{
|
|
1035
1033
|
name: "PieChart",
|
|
1036
1034
|
type: "info"
|
|
1037
1035
|
},
|
|
1038
|
-
|
|
1039
|
-
),
|
|
1036
|
+
Gt
|
|
1037
|
+
), Ir = I(
|
|
1040
1038
|
{
|
|
1041
1039
|
name: "VerticalBarChart",
|
|
1042
1040
|
type: "info"
|
|
1043
1041
|
},
|
|
1044
1042
|
Vt
|
|
1045
|
-
),
|
|
1043
|
+
), _r = I(
|
|
1046
1044
|
{
|
|
1047
1045
|
name: "ProgressBarChart",
|
|
1048
1046
|
type: "info"
|
|
1049
1047
|
},
|
|
1050
|
-
|
|
1051
|
-
),
|
|
1048
|
+
sr
|
|
1049
|
+
), Er = I(
|
|
1052
1050
|
{
|
|
1053
1051
|
name: "ComboChart",
|
|
1054
1052
|
type: "info"
|
|
1055
1053
|
},
|
|
1056
|
-
|
|
1057
|
-
), de = ({ count: e, list: t }) => {
|
|
1058
|
-
const [r, a] =
|
|
1054
|
+
Za
|
|
1055
|
+
), jr = Yt, $r = Be, Br = ["default", "outline", "neutral"], Mr = Be, Rr = ["sm", "md", "lg"], zr = Ht, de = ({ count: e, list: t }) => {
|
|
1056
|
+
const [r, a] = D(!1), o = n(Z, {
|
|
1059
1057
|
label: `+${e}`
|
|
1060
1058
|
});
|
|
1061
1059
|
return t != null && t.length ? N(Me, {
|
|
1062
1060
|
open: r,
|
|
1063
1061
|
onOpenChange: a,
|
|
1064
|
-
children: [n(
|
|
1062
|
+
children: [n(Re, {
|
|
1065
1063
|
asChild: !0,
|
|
1066
1064
|
children: n("button", {
|
|
1067
|
-
className:
|
|
1065
|
+
className: Jt("inline-flex flex-shrink-0 items-center"),
|
|
1068
1066
|
children: o
|
|
1069
1067
|
})
|
|
1070
|
-
}), n(
|
|
1068
|
+
}), n(ze, {
|
|
1071
1069
|
className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
|
|
1072
1070
|
align: "end",
|
|
1073
|
-
children: N(
|
|
1071
|
+
children: N(Ke, {
|
|
1074
1072
|
className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
|
|
1075
1073
|
children: [t.map((s, l) => n("div", {
|
|
1076
1074
|
className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
|
|
1077
1075
|
children: n(Z, {
|
|
1078
1076
|
...s
|
|
1079
1077
|
})
|
|
1080
|
-
}, l)), n(
|
|
1078
|
+
}, l)), n(We, {
|
|
1081
1079
|
orientation: "vertical",
|
|
1082
1080
|
className: "[&_div]:bg-f1-background"
|
|
1083
1081
|
})]
|
|
@@ -1086,9 +1084,9 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
|
|
|
1086
1084
|
}) : o;
|
|
1087
1085
|
};
|
|
1088
1086
|
de.displayName = "ChipCounter";
|
|
1089
|
-
const
|
|
1087
|
+
const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
|
|
1090
1088
|
if (a === "fill")
|
|
1091
|
-
return n(
|
|
1089
|
+
return n(Ut, {
|
|
1092
1090
|
items: e,
|
|
1093
1091
|
renderListItem: (i) => n(Z, {
|
|
1094
1092
|
...i
|
|
@@ -1113,13 +1111,13 @@ const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
|
|
|
1113
1111
|
})]
|
|
1114
1112
|
});
|
|
1115
1113
|
};
|
|
1116
|
-
|
|
1117
|
-
const
|
|
1118
|
-
const [m, c] =
|
|
1119
|
-
|
|
1114
|
+
lt.displayName = "F0ChipList";
|
|
1115
|
+
const Kr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
|
|
1116
|
+
const [m, c] = D(""), [f, h] = D(!1), u = Ve();
|
|
1117
|
+
B(() => {
|
|
1120
1118
|
c(r.toString(e == null ? void 0 : e.value, u));
|
|
1121
1119
|
}, [e, r, u]);
|
|
1122
|
-
const x = (g) =>
|
|
1120
|
+
const x = (g) => Qt(g, r, {
|
|
1123
1121
|
minDate: o,
|
|
1124
1122
|
maxDate: s
|
|
1125
1123
|
}), A = (g, b) => {
|
|
@@ -1139,9 +1137,9 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
|
|
|
1139
1137
|
A(m, r);
|
|
1140
1138
|
};
|
|
1141
1139
|
return n(ae, {
|
|
1142
|
-
children: n(
|
|
1140
|
+
children: n(Xt, {
|
|
1143
1141
|
...d,
|
|
1144
|
-
icon:
|
|
1142
|
+
icon: Zt,
|
|
1145
1143
|
ref: i,
|
|
1146
1144
|
onFocus: () => a == null ? void 0 : a(!0),
|
|
1147
1145
|
onClear: () => {
|
|
@@ -1161,13 +1159,13 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
|
|
|
1161
1159
|
})
|
|
1162
1160
|
});
|
|
1163
1161
|
});
|
|
1164
|
-
|
|
1165
|
-
function
|
|
1166
|
-
const [i, m] =
|
|
1167
|
-
|
|
1162
|
+
ct.displayName = "DateInput";
|
|
1163
|
+
function lr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
|
|
1164
|
+
const [i, m] = D(), [c, f] = D(l);
|
|
1165
|
+
B(() => {
|
|
1168
1166
|
f(l);
|
|
1169
1167
|
}, [l]);
|
|
1170
|
-
const h =
|
|
1168
|
+
const h = Ve(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
|
|
1171
1169
|
const v = y || u;
|
|
1172
1170
|
if (!Se[v])
|
|
1173
1171
|
throw new Error(`Invalid granularity ${v}`);
|
|
@@ -1185,13 +1183,13 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
|
|
|
1185
1183
|
granularity: y.granularity
|
|
1186
1184
|
} : void 0;
|
|
1187
1185
|
}, [x]), S = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
|
|
1188
|
-
|
|
1186
|
+
B(() => {
|
|
1189
1187
|
const y = A(t);
|
|
1190
1188
|
ie(i, y) || m(y);
|
|
1191
1189
|
}, [t]);
|
|
1192
1190
|
const O = (y) => {
|
|
1193
|
-
const v = A(y),
|
|
1194
|
-
g(v),
|
|
1191
|
+
const v = A(y), T = x(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
|
|
1192
|
+
g(v), T && f(!1);
|
|
1195
1193
|
}, g = (y) => {
|
|
1196
1194
|
const v = A(y);
|
|
1197
1195
|
if (m(v), !ie(v, i)) {
|
|
@@ -1202,12 +1200,12 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
|
|
|
1202
1200
|
var v;
|
|
1203
1201
|
f(y), (v = d.onOpenChange) == null || v.call(d, y);
|
|
1204
1202
|
}, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), C = pe(null);
|
|
1205
|
-
return
|
|
1203
|
+
return B(() => {
|
|
1206
1204
|
c && C.current && requestAnimationFrame(() => {
|
|
1207
1205
|
var y;
|
|
1208
1206
|
(y = C.current) == null || y.focus();
|
|
1209
1207
|
});
|
|
1210
|
-
}, [c]), n(
|
|
1208
|
+
}, [c]), n(ea, {
|
|
1211
1209
|
hideCalendarInput: !0,
|
|
1212
1210
|
onSelect: O,
|
|
1213
1211
|
value: i,
|
|
@@ -1218,7 +1216,7 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
|
|
|
1218
1216
|
open: c,
|
|
1219
1217
|
onOpenChange: b,
|
|
1220
1218
|
asChild: !0,
|
|
1221
|
-
children: n(
|
|
1219
|
+
children: n(ct, {
|
|
1222
1220
|
ref: C,
|
|
1223
1221
|
...d,
|
|
1224
1222
|
value: i,
|
|
@@ -1227,18 +1225,18 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
|
|
|
1227
1225
|
})
|
|
1228
1226
|
});
|
|
1229
1227
|
}
|
|
1230
|
-
const
|
|
1228
|
+
const Wr = ta, Gr = Ge(
|
|
1231
1229
|
"F0DatePicker",
|
|
1232
|
-
|
|
1233
|
-
),
|
|
1230
|
+
lr
|
|
1231
|
+
), cr = {
|
|
1234
1232
|
xs: 1,
|
|
1235
1233
|
sm: 2,
|
|
1236
1234
|
md: 2,
|
|
1237
1235
|
lg: 2
|
|
1238
|
-
},
|
|
1236
|
+
}, ur = q(function({ widgets: t, children: r }, a) {
|
|
1239
1237
|
const o = pe(null);
|
|
1240
|
-
|
|
1241
|
-
const s =
|
|
1238
|
+
Oa(a, () => o.current);
|
|
1239
|
+
const s = ka.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
|
|
1242
1240
|
className: "h-full @5xl:h-auto [&>div]:h-full",
|
|
1243
1241
|
children: l
|
|
1244
1242
|
}, d));
|
|
@@ -1249,8 +1247,8 @@ const jr = Qt, $r = We(
|
|
|
1249
1247
|
className: "@container",
|
|
1250
1248
|
children: [N("div", {
|
|
1251
1249
|
className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
|
|
1252
|
-
children: [n(
|
|
1253
|
-
columns:
|
|
1250
|
+
children: [n(aa, {
|
|
1251
|
+
columns: cr,
|
|
1254
1252
|
showArrows: !1,
|
|
1255
1253
|
children: s
|
|
1256
1254
|
}), n("main", {
|
|
@@ -1271,7 +1269,7 @@ const jr = Qt, $r = We(
|
|
|
1271
1269
|
})]
|
|
1272
1270
|
})
|
|
1273
1271
|
});
|
|
1274
|
-
}),
|
|
1272
|
+
}), dr = q(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
|
|
1275
1273
|
return n("div", {
|
|
1276
1274
|
ref: s,
|
|
1277
1275
|
className: "h-full",
|
|
@@ -1280,62 +1278,62 @@ const jr = Qt, $r = We(
|
|
|
1280
1278
|
children: [n("main", {
|
|
1281
1279
|
className: _("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", o ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", a === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
|
|
1282
1280
|
children: t
|
|
1283
|
-
}), n(
|
|
1281
|
+
}), n(fr, {
|
|
1284
1282
|
sticky: o,
|
|
1285
1283
|
className: _("order-1", a === "right" ? "md:order-1" : "md:order-3"),
|
|
1286
1284
|
children: r
|
|
1287
1285
|
})]
|
|
1288
1286
|
})
|
|
1289
1287
|
});
|
|
1290
|
-
}),
|
|
1288
|
+
}), fr = ({ children: e, className: t }) => n("aside", {
|
|
1291
1289
|
className: _("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
|
|
1292
1290
|
children: e
|
|
1293
|
-
}),
|
|
1291
|
+
}), pr = ra({
|
|
1294
1292
|
base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
|
|
1295
1293
|
variants: {
|
|
1296
1294
|
variant: {
|
|
1297
1295
|
narrow: "max-w-screen-lg"
|
|
1298
1296
|
}
|
|
1299
1297
|
}
|
|
1300
|
-
}),
|
|
1298
|
+
}), ut = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(qe, {
|
|
1301
1299
|
layout: "standard",
|
|
1302
1300
|
children: n("section", {
|
|
1303
1301
|
ref: o,
|
|
1304
1302
|
className: _("relative flex-1 overflow-auto", r),
|
|
1305
1303
|
...a,
|
|
1306
1304
|
children: n("div", {
|
|
1307
|
-
className: _(
|
|
1305
|
+
className: _(pr({
|
|
1308
1306
|
variant: t
|
|
1309
1307
|
})),
|
|
1310
1308
|
children: e
|
|
1311
1309
|
})
|
|
1312
1310
|
})
|
|
1313
1311
|
}));
|
|
1314
|
-
|
|
1315
|
-
const
|
|
1312
|
+
ut.displayName = "StandardLayout";
|
|
1313
|
+
const Vr = I({
|
|
1316
1314
|
name: "StandardLayout",
|
|
1317
1315
|
type: "layout"
|
|
1318
|
-
},
|
|
1316
|
+
}, ut), qr = I({
|
|
1319
1317
|
name: "TwoColumnLayout",
|
|
1320
1318
|
type: "layout"
|
|
1321
|
-
},
|
|
1319
|
+
}, dr), Yr = I({
|
|
1322
1320
|
name: "HomeLayout",
|
|
1323
1321
|
type: "layout"
|
|
1324
|
-
},
|
|
1322
|
+
}, ur), mr = ({ benefits: e }) => n("div", {
|
|
1325
1323
|
className: "flex flex-col gap-2",
|
|
1326
|
-
children: e.map((t, r) => n(
|
|
1324
|
+
children: e.map((t, r) => n(hr, {
|
|
1327
1325
|
text: t
|
|
1328
1326
|
}, r))
|
|
1329
|
-
}),
|
|
1327
|
+
}), hr = ({ text: e }) => N("div", {
|
|
1330
1328
|
className: "flex flex-row items-start gap-2",
|
|
1331
|
-
children: [n(
|
|
1332
|
-
icon:
|
|
1329
|
+
children: [n(oa, {
|
|
1330
|
+
icon: ia,
|
|
1333
1331
|
size: "md",
|
|
1334
1332
|
className: "text-f1-icon-positive"
|
|
1335
1333
|
}), n("span", {
|
|
1336
1334
|
children: e
|
|
1337
1335
|
})]
|
|
1338
|
-
}),
|
|
1336
|
+
}), dt = q(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
|
|
1339
1337
|
ref: i,
|
|
1340
1338
|
className: _("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
|
|
1341
1339
|
children: [n("div", {
|
|
@@ -1353,7 +1351,7 @@ const Mr = I({
|
|
|
1353
1351
|
className: "flex flex-col gap-2",
|
|
1354
1352
|
children: [N("div", {
|
|
1355
1353
|
className: "flex flex-row items-center gap-2",
|
|
1356
|
-
children: [s && n(
|
|
1354
|
+
children: [s && n(Ye, {
|
|
1357
1355
|
module: s
|
|
1358
1356
|
}), l && n("p", {
|
|
1359
1357
|
className: "text-base font-medium text-f1-foreground",
|
|
@@ -1361,7 +1359,7 @@ const Mr = I({
|
|
|
1361
1359
|
})]
|
|
1362
1360
|
}), d && n("div", {
|
|
1363
1361
|
className: "flex justify-start",
|
|
1364
|
-
children: n(
|
|
1362
|
+
children: n(na, {
|
|
1365
1363
|
icon: d.icon,
|
|
1366
1364
|
text: d.label
|
|
1367
1365
|
})
|
|
@@ -1369,7 +1367,7 @@ const Mr = I({
|
|
|
1369
1367
|
className: "font-bold text-xl text-f1-foreground",
|
|
1370
1368
|
children: e
|
|
1371
1369
|
})]
|
|
1372
|
-
}), n(
|
|
1370
|
+
}), n(mr, {
|
|
1373
1371
|
benefits: r
|
|
1374
1372
|
})]
|
|
1375
1373
|
}), a && n("div", {
|
|
@@ -1378,38 +1376,38 @@ const Mr = I({
|
|
|
1378
1376
|
})]
|
|
1379
1377
|
})]
|
|
1380
1378
|
}));
|
|
1381
|
-
|
|
1382
|
-
function
|
|
1383
|
-
const [l, d] =
|
|
1384
|
-
return
|
|
1379
|
+
dt.displayName = "ProductBlankslate";
|
|
1380
|
+
function vr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
|
|
1381
|
+
const [l, d] = D(e);
|
|
1382
|
+
return B(() => {
|
|
1385
1383
|
d(e);
|
|
1386
|
-
}, [e]), n(
|
|
1384
|
+
}, [e]), n(sa, {
|
|
1387
1385
|
open: l,
|
|
1388
1386
|
onOpenChange: (m) => {
|
|
1389
1387
|
d(m), m || t();
|
|
1390
1388
|
},
|
|
1391
1389
|
modal: !0,
|
|
1392
|
-
children: N(
|
|
1390
|
+
children: N(la, {
|
|
1393
1391
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
1394
1392
|
container: s,
|
|
1395
1393
|
children: [N("div", {
|
|
1396
1394
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
1397
|
-
children: [N(
|
|
1395
|
+
children: [N(ca, {
|
|
1398
1396
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
1399
|
-
children: [o && n(
|
|
1397
|
+
children: [o && n(Ye, {
|
|
1400
1398
|
module: o,
|
|
1401
1399
|
size: "lg"
|
|
1402
1400
|
}), r]
|
|
1403
|
-
}), n(
|
|
1401
|
+
}), n(ua, {
|
|
1404
1402
|
variant: "outline",
|
|
1405
|
-
icon:
|
|
1403
|
+
icon: He,
|
|
1406
1404
|
onClick: t,
|
|
1407
1405
|
label: "Close modal",
|
|
1408
1406
|
hideLabel: !0
|
|
1409
1407
|
})]
|
|
1410
|
-
}), N(
|
|
1408
|
+
}), N(Ke, {
|
|
1411
1409
|
className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
|
|
1412
|
-
children: [a, n(
|
|
1410
|
+
children: [a, n(We, {
|
|
1413
1411
|
orientation: "vertical",
|
|
1414
1412
|
className: "[&_div]:bg-f1-background"
|
|
1415
1413
|
})]
|
|
@@ -1417,8 +1415,8 @@ function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
|
|
|
1417
1415
|
})
|
|
1418
1416
|
});
|
|
1419
1417
|
}
|
|
1420
|
-
function
|
|
1421
|
-
const [O, g] =
|
|
1418
|
+
function Hr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: x, tag: A, showResponseDialog: S = !0 }) {
|
|
1419
|
+
const [O, g] = D(e), [b, w] = D(null), [C, y] = D(!1), v = async () => {
|
|
1422
1420
|
if (c != null && c.onClick) {
|
|
1423
1421
|
y(!0);
|
|
1424
1422
|
try {
|
|
@@ -1431,9 +1429,9 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
|
|
|
1431
1429
|
}
|
|
1432
1430
|
}, L = () => {
|
|
1433
1431
|
g(!1), t == null || t();
|
|
1434
|
-
},
|
|
1432
|
+
}, T = C;
|
|
1435
1433
|
return N(ae, {
|
|
1436
|
-
children: [n(
|
|
1434
|
+
children: [n(vr, {
|
|
1437
1435
|
isOpen: O,
|
|
1438
1436
|
onClose: L,
|
|
1439
1437
|
title: f,
|
|
@@ -1441,7 +1439,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
|
|
|
1441
1439
|
portalContainer: x,
|
|
1442
1440
|
children: n("div", {
|
|
1443
1441
|
className: "pb-4 pl-4",
|
|
1444
|
-
children: n(
|
|
1442
|
+
children: n(dt, {
|
|
1445
1443
|
title: r,
|
|
1446
1444
|
image: a,
|
|
1447
1445
|
benefits: o,
|
|
@@ -1449,14 +1447,14 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
|
|
|
1449
1447
|
tag: A,
|
|
1450
1448
|
actions: N("div", {
|
|
1451
1449
|
className: "flex gap-3",
|
|
1452
|
-
children: [c && n(
|
|
1450
|
+
children: [c && n(M, {
|
|
1453
1451
|
variant: c.variant,
|
|
1454
|
-
label:
|
|
1452
|
+
label: T ? d.label : c.label,
|
|
1455
1453
|
icon: c.icon || void 0,
|
|
1456
1454
|
onClick: v,
|
|
1457
1455
|
loading: c.loading,
|
|
1458
1456
|
size: c.size
|
|
1459
|
-
}), u && n(
|
|
1457
|
+
}), u && n(M, {
|
|
1460
1458
|
onClick: u.onClick,
|
|
1461
1459
|
label: u.label,
|
|
1462
1460
|
variant: u.variant,
|
|
@@ -1466,7 +1464,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
|
|
|
1466
1464
|
})
|
|
1467
1465
|
})
|
|
1468
1466
|
})
|
|
1469
|
-
}), b && S && n(
|
|
1467
|
+
}), b && S && n(Je, {
|
|
1470
1468
|
open: !0,
|
|
1471
1469
|
onClose: () => {
|
|
1472
1470
|
L(), w(null);
|
|
@@ -1480,26 +1478,26 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
|
|
|
1480
1478
|
})]
|
|
1481
1479
|
});
|
|
1482
1480
|
}
|
|
1483
|
-
function
|
|
1484
|
-
const [m, c] =
|
|
1481
|
+
function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
|
|
1482
|
+
const [m, c] = D(!1), f = () => {
|
|
1485
1483
|
c(!0), a && a();
|
|
1486
1484
|
};
|
|
1487
|
-
|
|
1485
|
+
B(() => {
|
|
1488
1486
|
l && l(!m);
|
|
1489
1487
|
}, [l, m]);
|
|
1490
1488
|
const h = e == null ? void 0 : e.includes(".mp4");
|
|
1491
1489
|
return n(ae, {
|
|
1492
|
-
children: m ? null : N(
|
|
1490
|
+
children: m ? null : N(da, {
|
|
1493
1491
|
style: {
|
|
1494
1492
|
width: s
|
|
1495
1493
|
},
|
|
1496
1494
|
className: "relative bg-f1-background p-1",
|
|
1497
|
-
children: [N(
|
|
1495
|
+
children: [N(fa, {
|
|
1498
1496
|
children: [o && n("div", {
|
|
1499
1497
|
className: "absolute right-2 top-2 z-10",
|
|
1500
|
-
children: n(
|
|
1498
|
+
children: n(M, {
|
|
1501
1499
|
variant: "ghost",
|
|
1502
|
-
icon:
|
|
1500
|
+
icon: He,
|
|
1503
1501
|
size: "sm",
|
|
1504
1502
|
hideLabel: !0,
|
|
1505
1503
|
onClick: f,
|
|
@@ -1530,9 +1528,9 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
|
|
|
1530
1528
|
})]
|
|
1531
1529
|
})]
|
|
1532
1530
|
})]
|
|
1533
|
-
}), d && n(
|
|
1531
|
+
}), d && n(pa, {
|
|
1534
1532
|
className: "p-3",
|
|
1535
|
-
children: d.map((u) => u.type === "upsell" ? n(
|
|
1533
|
+
children: d.map((u) => u.type === "upsell" ? n(Ue, {
|
|
1536
1534
|
label: u.label,
|
|
1537
1535
|
onRequest: u.onClick,
|
|
1538
1536
|
errorMessage: u.errorMessage,
|
|
@@ -1542,7 +1540,7 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
|
|
|
1542
1540
|
closeLabel: u.closeLabel,
|
|
1543
1541
|
showConfirmation: i && u.showConfirmation,
|
|
1544
1542
|
variant: u.variant
|
|
1545
|
-
}, u.label) : n(
|
|
1543
|
+
}, u.label) : n(M, {
|
|
1546
1544
|
label: u.label,
|
|
1547
1545
|
onClick: u.onClick,
|
|
1548
1546
|
variant: u.variant
|
|
@@ -1551,8 +1549,8 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
|
|
|
1551
1549
|
})
|
|
1552
1550
|
});
|
|
1553
1551
|
}
|
|
1554
|
-
const
|
|
1555
|
-
const s = (i) => i.variant === "promote" ? n(
|
|
1552
|
+
const br = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
|
|
1553
|
+
const s = (i) => i.variant === "promote" ? n(Ue, {
|
|
1556
1554
|
label: i.label,
|
|
1557
1555
|
onRequest: async () => {
|
|
1558
1556
|
await i.onClick();
|
|
@@ -1565,14 +1563,14 @@ const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
|
|
|
1565
1563
|
showIcon: i.showIcon,
|
|
1566
1564
|
showConfirmation: i.showConfirmation,
|
|
1567
1565
|
variant: i.variant
|
|
1568
|
-
}) : n(
|
|
1566
|
+
}) : n(M, {
|
|
1569
1567
|
onClick: i.onClick,
|
|
1570
1568
|
label: i.label,
|
|
1571
1569
|
variant: i.variant || "default",
|
|
1572
1570
|
size: "md",
|
|
1573
1571
|
icon: i.icon
|
|
1574
1572
|
}), l = (t == null ? void 0 : t.variant) !== "promote" ? t : void 0, d = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0;
|
|
1575
|
-
return N(
|
|
1573
|
+
return N(ma, {
|
|
1576
1574
|
ref: o,
|
|
1577
1575
|
...a,
|
|
1578
1576
|
primaryAction: l,
|
|
@@ -1580,9 +1578,9 @@ const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
|
|
|
1580
1578
|
children: [(t == null ? void 0 : t.variant) === "promote" && s(t), (r == null ? void 0 : r.variant) === "promote" && s(r)]
|
|
1581
1579
|
});
|
|
1582
1580
|
});
|
|
1583
|
-
|
|
1584
|
-
function
|
|
1585
|
-
const [O, g] =
|
|
1581
|
+
br.displayName = "UpsellingBanner";
|
|
1582
|
+
function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = ha, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: S = !1 }) {
|
|
1583
|
+
const [O, g] = D(!1), [b, w] = D(null), [C, y] = D(null), v = (P) => {
|
|
1586
1584
|
t(P), A && A();
|
|
1587
1585
|
}, L = async (P) => {
|
|
1588
1586
|
if (P.type === "upsell") {
|
|
@@ -1593,7 +1591,7 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
|
|
|
1593
1591
|
g(!0), w("error");
|
|
1594
1592
|
}
|
|
1595
1593
|
}
|
|
1596
|
-
},
|
|
1594
|
+
}, T = () => {
|
|
1597
1595
|
w(null), g(!1), y(null), t(!1);
|
|
1598
1596
|
}, E = e && !O, p = x == null ? void 0 : x.map((P) => P.type === "upsell" ? {
|
|
1599
1597
|
...P,
|
|
@@ -1603,9 +1601,9 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
|
|
|
1603
1601
|
children: [N(Me, {
|
|
1604
1602
|
open: E,
|
|
1605
1603
|
onOpenChange: v,
|
|
1606
|
-
children: [n(
|
|
1604
|
+
children: [n(Re, {
|
|
1607
1605
|
asChild: !0,
|
|
1608
|
-
children: n(
|
|
1606
|
+
children: n(M, {
|
|
1609
1607
|
variant: a,
|
|
1610
1608
|
label: r,
|
|
1611
1609
|
size: o,
|
|
@@ -1613,11 +1611,11 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
|
|
|
1613
1611
|
onClick: () => t(e),
|
|
1614
1612
|
hideLabel: S
|
|
1615
1613
|
})
|
|
1616
|
-
}), n(
|
|
1614
|
+
}), n(ze, {
|
|
1617
1615
|
side: l,
|
|
1618
1616
|
align: d,
|
|
1619
1617
|
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
1620
|
-
children: n(
|
|
1618
|
+
children: n(yr, {
|
|
1621
1619
|
mediaUrl: m,
|
|
1622
1620
|
title: c,
|
|
1623
1621
|
description: f,
|
|
@@ -1629,9 +1627,9 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
|
|
|
1629
1627
|
showConfirmation: !1
|
|
1630
1628
|
})
|
|
1631
1629
|
})]
|
|
1632
|
-
}), (C == null ? void 0 : C.type) === "upsell" && C.showConfirmation && b && n(
|
|
1630
|
+
}), (C == null ? void 0 : C.type) === "upsell" && C.showConfirmation && b && n(Je, {
|
|
1633
1631
|
open: !0,
|
|
1634
|
-
onClose:
|
|
1632
|
+
onClose: T,
|
|
1635
1633
|
success: b === "success",
|
|
1636
1634
|
errorMessage: C.errorMessage,
|
|
1637
1635
|
successMessage: C.successMessage,
|
|
@@ -1641,11 +1639,11 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
|
|
|
1641
1639
|
})]
|
|
1642
1640
|
});
|
|
1643
1641
|
}
|
|
1644
|
-
const
|
|
1645
|
-
const r = pe(null), [a, o] =
|
|
1646
|
-
return
|
|
1642
|
+
const gr = La(null), xr = ({ children: e, fullScreen: t = !0 }) => {
|
|
1643
|
+
const r = pe(null), [a, o] = D(r.current);
|
|
1644
|
+
return Na(() => {
|
|
1647
1645
|
o(r.current);
|
|
1648
|
-
}, []), n(
|
|
1646
|
+
}, []), n(gr.Provider, {
|
|
1649
1647
|
value: {
|
|
1650
1648
|
element: a
|
|
1651
1649
|
},
|
|
@@ -1658,27 +1656,27 @@ const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
|
|
|
1658
1656
|
children: e
|
|
1659
1657
|
})
|
|
1660
1658
|
});
|
|
1661
|
-
},
|
|
1659
|
+
}, wr = ({ children: e }) => n(Ca, {
|
|
1662
1660
|
reducedMotion: "user",
|
|
1663
1661
|
children: e
|
|
1664
|
-
}),
|
|
1665
|
-
children: n(
|
|
1662
|
+
}), Ur = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(wr, {
|
|
1663
|
+
children: n(va, {
|
|
1666
1664
|
isDev: d,
|
|
1667
1665
|
showExperimentalWarnings: m,
|
|
1668
|
-
children: n(
|
|
1666
|
+
children: n(ya, {
|
|
1669
1667
|
...l,
|
|
1670
|
-
children: n(
|
|
1668
|
+
children: n(ba, {
|
|
1671
1669
|
...s,
|
|
1672
|
-
children: n(
|
|
1670
|
+
children: n(ga, {
|
|
1673
1671
|
...r,
|
|
1674
|
-
children: n(
|
|
1672
|
+
children: n(xr, {
|
|
1675
1673
|
...t,
|
|
1676
|
-
children: n(
|
|
1677
|
-
children: n(
|
|
1674
|
+
children: n(xa, {
|
|
1675
|
+
children: n(wa, {
|
|
1678
1676
|
initiallyEnabled: a,
|
|
1679
|
-
children: n(
|
|
1677
|
+
children: n(Pa, {
|
|
1680
1678
|
...o,
|
|
1681
|
-
children: n(
|
|
1679
|
+
children: n(Sa, {
|
|
1682
1680
|
handler: i,
|
|
1683
1681
|
children: e
|
|
1684
1682
|
})
|
|
@@ -1690,96 +1688,103 @@ const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
|
|
|
1690
1688
|
})
|
|
1691
1689
|
})
|
|
1692
1690
|
})
|
|
1693
|
-
}),
|
|
1691
|
+
}), De = (e) => `datacollection-${e}`, Xr = {
|
|
1694
1692
|
get: async (e) => JSON.parse(
|
|
1695
|
-
localStorage.getItem(
|
|
1693
|
+
localStorage.getItem(De(e)) ?? "{}"
|
|
1696
1694
|
),
|
|
1697
1695
|
set: async (e, t) => {
|
|
1698
|
-
localStorage.setItem(
|
|
1696
|
+
localStorage.setItem(De(e), JSON.stringify(t));
|
|
1699
1697
|
}
|
|
1700
1698
|
};
|
|
1701
1699
|
export {
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1700
|
+
kr as AreaChart,
|
|
1701
|
+
en as Await,
|
|
1702
|
+
Lr as BarChart,
|
|
1703
|
+
Dr as CategoryBarChart,
|
|
1704
|
+
Er as ComboChart,
|
|
1705
|
+
tn as DndProvider,
|
|
1706
|
+
an as EmojiImage,
|
|
1707
|
+
rn as F0Avatar,
|
|
1708
|
+
nn as F0AvatarAlert,
|
|
1709
|
+
on as F0AvatarCompany,
|
|
1710
|
+
sn as F0AvatarDate,
|
|
1711
|
+
ln as F0AvatarEmoji,
|
|
1712
|
+
cn as F0AvatarFile,
|
|
1713
|
+
un as F0AvatarIcon,
|
|
1714
|
+
dn as F0AvatarList,
|
|
1715
|
+
Ye as F0AvatarModule,
|
|
1716
|
+
fn as F0AvatarPerson,
|
|
1717
|
+
pn as F0AvatarTeam,
|
|
1718
|
+
M as F0Button,
|
|
1719
|
+
mn as F0ButtonDropdown,
|
|
1720
|
+
hn as F0ButtonToggle,
|
|
1721
|
+
vn as F0Card,
|
|
1722
|
+
yn as F0Checkbox,
|
|
1723
|
+
Kr as F0ChipList,
|
|
1724
|
+
Gr as F0DatePicker,
|
|
1725
|
+
bn as F0EventCatcherProvider,
|
|
1726
|
+
oa as F0Icon,
|
|
1727
|
+
gn as F0Link,
|
|
1728
|
+
Ur as F0Provider,
|
|
1729
|
+
xn as F0TagAlert,
|
|
1730
|
+
wn as F0TagBalance,
|
|
1731
|
+
Pn as F0TagCompany,
|
|
1732
|
+
Sn as F0TagDot,
|
|
1733
|
+
Cn as F0TagList,
|
|
1734
|
+
Nn as F0TagPerson,
|
|
1735
|
+
na as F0TagRaw,
|
|
1736
|
+
An as F0TagStatus,
|
|
1737
|
+
On as F0TagTeam,
|
|
1738
|
+
kn as GROUP_ID_SYMBOL,
|
|
1739
|
+
Yr as HomeLayout,
|
|
1740
1740
|
Tr as LineChart,
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
jr as
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1741
|
+
Ln as OneFilterPicker,
|
|
1742
|
+
Fr as PieChart,
|
|
1743
|
+
wa as PrivacyModeProvider,
|
|
1744
|
+
dt as ProductBlankslate,
|
|
1745
|
+
Dn as ProductCard,
|
|
1746
|
+
Hr as ProductModal,
|
|
1747
|
+
yr as ProductWidget,
|
|
1748
|
+
_r as ProgressBarChart,
|
|
1749
|
+
Vr as StandardLayout,
|
|
1750
|
+
Tn as TagCounter,
|
|
1751
|
+
qr as TwoColumnLayout,
|
|
1752
|
+
Je as UpsellRequestResponseDialog,
|
|
1753
|
+
br as UpsellingBanner,
|
|
1754
|
+
Ue as UpsellingButton,
|
|
1755
|
+
Jr as UpsellingPopover,
|
|
1756
|
+
Ir as VerticalBarChart,
|
|
1757
|
+
Ar as avatarVariants,
|
|
1758
|
+
Fn as buildTranslations,
|
|
1759
|
+
Mr as buttonDropdownSizes,
|
|
1760
|
+
Br as buttonDropdownVariants,
|
|
1761
|
+
$r as buttonSizes,
|
|
1762
|
+
Rr as buttonToggleSizes,
|
|
1763
|
+
jr as buttonVariants,
|
|
1764
|
+
In as createAtlaskitDriver,
|
|
1765
|
+
_n as createDataSourceDefinition,
|
|
1766
|
+
Xr as dataCollectionLocalStorageHandler,
|
|
1767
|
+
Wr as datepickerSizes,
|
|
1768
|
+
Nr as defaultTranslations,
|
|
1769
|
+
Ge as experimental,
|
|
1770
|
+
En as getAnimationVariants,
|
|
1771
|
+
jn as getDataSourcePaginationType,
|
|
1772
|
+
$n as getEmojiLabel,
|
|
1773
|
+
Bn as isInfiniteScrollPagination,
|
|
1774
|
+
Mn as isPageBasedPagination,
|
|
1775
|
+
zr as linkVariants,
|
|
1776
|
+
Rn as modules,
|
|
1777
|
+
zn as predefinedPresets,
|
|
1778
|
+
Kn as tagDotColors,
|
|
1779
|
+
Wn as useData,
|
|
1780
|
+
Gn as useDataSource,
|
|
1781
|
+
Vn as useDndEvents,
|
|
1782
|
+
qn as useDraggable,
|
|
1783
|
+
Yn as useDroppableList,
|
|
1784
|
+
Hn as useEmojiConfetti,
|
|
1785
|
+
Jn as useGroups,
|
|
1786
|
+
Un as usePrivacyMode,
|
|
1787
|
+
Xn as useReducedMotion,
|
|
1788
|
+
Zn as useSelectable,
|
|
1789
|
+
Qn as useXRay
|
|
1785
1790
|
};
|