@factorialco/f0-react 1.242.0 → 1.243.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 +26 -23
- package/dist/experimental.js +12563 -14899
- package/dist/f0.d.ts +174 -5
- package/dist/f0.js +1277 -480
- package/dist/{hooks-VZh3f1RF.js → hooks-DfWgtHhy.js} +54612 -52244
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
1
|
+
import { C as _, L as pt, S as xe, a as mt, f as ne, b as K, c as ht, A as vt, i as U, d as yt, e as Te, E as bt, g as X, h as gt, j as xt, k as wt, l as Pt, m as $, n as De, u as Ct, G as St, o as Nt, p as we, q as At, r as _e, s as Ot, B as Ie, X as Ee, Y as le, t as kt, v as je, w as Lt, x as Ft, y as Tt, z as Dt, D as _t, F as It, H as Et, I as jt, J as Pe, K as $t, M as W, N as oe, O as Mt, P as Bt, Q as Rt, R as $e, T as I, U as zt, V as Kt, W as Wt, Z as Gt, _ as qt, $ as Vt, a0 as Z, a1 as Me, a2 as Be, a3 as Ht, a4 as Re, a5 as ze, a6 as Ke, a7 as We, a8 as Yt, a9 as Ge, aa as Jt, ab as Ut, ac as Xt, ad as Ce, ae as ie, af as Zt, ag as Qt, ah as qe, ai as ea, aj as ta, ak as Ve, al as aa, am as ra, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as He, at as B, au as Ye, av as ca, aw as ua, ax as Se, ay as da, az as Je, aA as fa, aB as pa, 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 Ca } from "./hooks-DfWgtHhy.js";
|
|
2
|
+
import { bl as Hr, aM as Yr, bn as Jr, bw as Ur, aN as Xr, aO as Zr, aP as Qr, aQ as en, aR as tn, aS as an, aT as rn, aU as nn, aW as on, aX as sn, aY as ln, aZ as cn, bs as un, b0 as dn, b1 as fn, b2 as pn, b3 as mn, b6 as hn, b7 as vn, b8 as yn, b9 as bn, bb as gn, a$ as xn, ba as wn, b5 as Pn, bt as Cn, bm as Sn, bg as Nn, bj as An, bf as On, bx as kn, be as Ln, bd as Fn, aV as Tn, a_ as Dn, b4 as _n, bc as In, bh as En, bo as jn, bp as $n, bq as Mn, by as Bn, bi as Rn, br as zn, bv as Kn, bk as Wn, bu as Gn } from "./hooks-DfWgtHhy.js";
|
|
3
|
+
import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
|
|
4
|
+
import * as fe from "react";
|
|
5
|
+
import k, { PureComponent as Sa, useState as F, forwardRef as V, useEffect as M, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Na, Children as Aa, createContext as Oa } from "react";
|
|
6
|
+
const Cr = {
|
|
7
7
|
approvals: {
|
|
8
8
|
history: "Approval history",
|
|
9
9
|
statuses: {
|
|
@@ -217,406 +217,1199 @@ const ka = {
|
|
|
217
217
|
noResults: "No results found",
|
|
218
218
|
loadingMore: "Loading..."
|
|
219
219
|
}
|
|
220
|
-
},
|
|
220
|
+
}, Sr = _({
|
|
221
221
|
name: "Link",
|
|
222
222
|
type: "info"
|
|
223
|
-
},
|
|
223
|
+
}, pt), Nr = [
|
|
224
224
|
"person",
|
|
225
225
|
"team",
|
|
226
226
|
"company",
|
|
227
227
|
"file",
|
|
228
228
|
"flag"
|
|
229
229
|
];
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
function R(e) {
|
|
231
|
+
"@babel/helpers - typeof";
|
|
232
|
+
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
233
|
+
return typeof t;
|
|
234
|
+
} : function(t) {
|
|
235
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
236
|
+
}, R(e);
|
|
237
|
+
}
|
|
238
|
+
function ka(e, t) {
|
|
239
|
+
if (!(e instanceof t))
|
|
240
|
+
throw new TypeError("Cannot call a class as a function");
|
|
241
|
+
}
|
|
242
|
+
function La(e, t) {
|
|
243
|
+
for (var r = 0; r < t.length; r++) {
|
|
244
|
+
var a = t[r];
|
|
245
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Ze(a.key), a);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function Fa(e, t, r) {
|
|
249
|
+
return t && La(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
250
|
+
}
|
|
251
|
+
function Ta(e, t, r) {
|
|
252
|
+
return t = Q(t), Da(e, Ue() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
|
|
253
|
+
}
|
|
254
|
+
function Da(e, t) {
|
|
255
|
+
if (t && (R(t) === "object" || typeof t == "function"))
|
|
256
|
+
return t;
|
|
257
|
+
if (t !== void 0)
|
|
258
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
259
|
+
return _a(e);
|
|
260
|
+
}
|
|
261
|
+
function _a(e) {
|
|
262
|
+
if (e === void 0)
|
|
263
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
264
|
+
return e;
|
|
265
|
+
}
|
|
266
|
+
function Ue() {
|
|
267
|
+
try {
|
|
268
|
+
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
269
|
+
}));
|
|
270
|
+
} catch {
|
|
271
|
+
}
|
|
272
|
+
return (Ue = function() {
|
|
273
|
+
return !!e;
|
|
274
|
+
})();
|
|
275
|
+
}
|
|
276
|
+
function Q(e) {
|
|
277
|
+
return Q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
278
|
+
return r.__proto__ || Object.getPrototypeOf(r);
|
|
279
|
+
}, Q(e);
|
|
280
|
+
}
|
|
281
|
+
function Ia(e, t) {
|
|
282
|
+
if (typeof t != "function" && t !== null)
|
|
283
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
284
|
+
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ce(e, t);
|
|
285
|
+
}
|
|
286
|
+
function ce(e, t) {
|
|
287
|
+
return ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, o) {
|
|
288
|
+
return a.__proto__ = o, a;
|
|
289
|
+
}, ce(e, t);
|
|
290
|
+
}
|
|
291
|
+
function Xe(e, t, r) {
|
|
292
|
+
return t = Ze(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
293
|
+
}
|
|
294
|
+
function Ze(e) {
|
|
295
|
+
var t = Ea(e, "string");
|
|
296
|
+
return R(t) == "symbol" ? t : t + "";
|
|
297
|
+
}
|
|
298
|
+
function Ea(e, t) {
|
|
299
|
+
if (R(e) != "object" || !e) return e;
|
|
300
|
+
var r = e[Symbol.toPrimitive];
|
|
301
|
+
if (r !== void 0) {
|
|
302
|
+
var a = r.call(e, t);
|
|
303
|
+
if (R(a) != "object") return a;
|
|
304
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
305
|
+
}
|
|
306
|
+
return String(e);
|
|
307
|
+
}
|
|
308
|
+
var re = /* @__PURE__ */ function(e) {
|
|
309
|
+
function t() {
|
|
310
|
+
return ka(this, t), Ta(this, t, arguments);
|
|
311
|
+
}
|
|
312
|
+
return Ia(t, e), Fa(t, [{
|
|
313
|
+
key: "render",
|
|
314
|
+
value: function() {
|
|
315
|
+
return null;
|
|
316
|
+
}
|
|
317
|
+
}]);
|
|
318
|
+
}(k.Component);
|
|
319
|
+
Xe(re, "displayName", "ZAxis");
|
|
320
|
+
Xe(re, "defaultProps", {
|
|
321
|
+
zAxisId: 0,
|
|
322
|
+
range: [64, 64],
|
|
323
|
+
scale: "auto",
|
|
324
|
+
type: "number"
|
|
325
|
+
});
|
|
326
|
+
var ja = ["option", "isActive"];
|
|
327
|
+
function G() {
|
|
328
|
+
return G = Object.assign ? Object.assign.bind() : function(e) {
|
|
329
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
330
|
+
var r = arguments[t];
|
|
331
|
+
for (var a in r)
|
|
332
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
333
|
+
}
|
|
334
|
+
return e;
|
|
335
|
+
}, G.apply(this, arguments);
|
|
336
|
+
}
|
|
337
|
+
function $a(e, t) {
|
|
338
|
+
if (e == null) return {};
|
|
339
|
+
var r = Ma(e, t), a, o;
|
|
340
|
+
if (Object.getOwnPropertySymbols) {
|
|
341
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
342
|
+
for (o = 0; o < s.length; o++)
|
|
343
|
+
a = s[o], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
|
|
344
|
+
}
|
|
345
|
+
return r;
|
|
346
|
+
}
|
|
347
|
+
function Ma(e, t) {
|
|
348
|
+
if (e == null) return {};
|
|
349
|
+
var r = {};
|
|
350
|
+
for (var a in e)
|
|
351
|
+
if (Object.prototype.hasOwnProperty.call(e, a)) {
|
|
352
|
+
if (t.indexOf(a) >= 0) continue;
|
|
353
|
+
r[a] = e[a];
|
|
354
|
+
}
|
|
355
|
+
return r;
|
|
356
|
+
}
|
|
357
|
+
function Ba(e) {
|
|
358
|
+
var t = e.option, r = e.isActive, a = $a(e, ja);
|
|
359
|
+
return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, G({
|
|
360
|
+
option: /* @__PURE__ */ k.createElement(mt, G({
|
|
361
|
+
type: t
|
|
362
|
+
}, a)),
|
|
363
|
+
isActive: r,
|
|
364
|
+
shapeType: "symbols"
|
|
365
|
+
}, a)) : /* @__PURE__ */ k.createElement(xe, G({
|
|
366
|
+
option: t,
|
|
367
|
+
isActive: r,
|
|
368
|
+
shapeType: "symbols"
|
|
369
|
+
}, a));
|
|
370
|
+
}
|
|
371
|
+
function z(e) {
|
|
372
|
+
"@babel/helpers - typeof";
|
|
373
|
+
return z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
374
|
+
return typeof t;
|
|
375
|
+
} : function(t) {
|
|
376
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
377
|
+
}, z(e);
|
|
378
|
+
}
|
|
379
|
+
function q() {
|
|
380
|
+
return q = Object.assign ? Object.assign.bind() : function(e) {
|
|
381
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
382
|
+
var r = arguments[t];
|
|
383
|
+
for (var a in r)
|
|
384
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
385
|
+
}
|
|
386
|
+
return e;
|
|
387
|
+
}, q.apply(this, arguments);
|
|
388
|
+
}
|
|
389
|
+
function Ae(e, t) {
|
|
390
|
+
var r = Object.keys(e);
|
|
391
|
+
if (Object.getOwnPropertySymbols) {
|
|
392
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
393
|
+
t && (a = a.filter(function(o) {
|
|
394
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
395
|
+
})), r.push.apply(r, a);
|
|
396
|
+
}
|
|
397
|
+
return r;
|
|
398
|
+
}
|
|
399
|
+
function D(e) {
|
|
400
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
401
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
402
|
+
t % 2 ? Ae(Object(r), !0).forEach(function(a) {
|
|
403
|
+
j(e, a, r[a]);
|
|
404
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ae(Object(r)).forEach(function(a) {
|
|
405
|
+
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
return e;
|
|
409
|
+
}
|
|
410
|
+
function Ra(e, t) {
|
|
411
|
+
if (!(e instanceof t))
|
|
412
|
+
throw new TypeError("Cannot call a class as a function");
|
|
413
|
+
}
|
|
414
|
+
function Oe(e, t) {
|
|
415
|
+
for (var r = 0; r < t.length; r++) {
|
|
416
|
+
var a = t[r];
|
|
417
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, et(a.key), a);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function za(e, t, r) {
|
|
421
|
+
return t && Oe(e.prototype, t), r && Oe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
422
|
+
}
|
|
423
|
+
function Ka(e, t, r) {
|
|
424
|
+
return t = ee(t), Wa(e, Qe() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
|
|
425
|
+
}
|
|
426
|
+
function Wa(e, t) {
|
|
427
|
+
if (t && (z(t) === "object" || typeof t == "function"))
|
|
428
|
+
return t;
|
|
429
|
+
if (t !== void 0)
|
|
430
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
431
|
+
return Ga(e);
|
|
432
|
+
}
|
|
433
|
+
function Ga(e) {
|
|
434
|
+
if (e === void 0)
|
|
435
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
436
|
+
return e;
|
|
437
|
+
}
|
|
438
|
+
function Qe() {
|
|
439
|
+
try {
|
|
440
|
+
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
441
|
+
}));
|
|
442
|
+
} catch {
|
|
443
|
+
}
|
|
444
|
+
return (Qe = function() {
|
|
445
|
+
return !!e;
|
|
446
|
+
})();
|
|
447
|
+
}
|
|
448
|
+
function ee(e) {
|
|
449
|
+
return ee = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
450
|
+
return r.__proto__ || Object.getPrototypeOf(r);
|
|
451
|
+
}, ee(e);
|
|
452
|
+
}
|
|
453
|
+
function qa(e, t) {
|
|
454
|
+
if (typeof t != "function" && t !== null)
|
|
455
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
456
|
+
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ue(e, t);
|
|
457
|
+
}
|
|
458
|
+
function ue(e, t) {
|
|
459
|
+
return ue = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, o) {
|
|
460
|
+
return a.__proto__ = o, a;
|
|
461
|
+
}, ue(e, t);
|
|
462
|
+
}
|
|
463
|
+
function j(e, t, r) {
|
|
464
|
+
return t = et(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
465
|
+
}
|
|
466
|
+
function et(e) {
|
|
467
|
+
var t = Va(e, "string");
|
|
468
|
+
return z(t) == "symbol" ? t : t + "";
|
|
469
|
+
}
|
|
470
|
+
function Va(e, t) {
|
|
471
|
+
if (z(e) != "object" || !e) return e;
|
|
472
|
+
var r = e[Symbol.toPrimitive];
|
|
473
|
+
if (r !== void 0) {
|
|
474
|
+
var a = r.call(e, t);
|
|
475
|
+
if (z(a) != "object") return a;
|
|
476
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
477
|
+
}
|
|
478
|
+
return String(e);
|
|
479
|
+
}
|
|
480
|
+
var H = /* @__PURE__ */ function(e) {
|
|
481
|
+
function t() {
|
|
482
|
+
var r;
|
|
483
|
+
Ra(this, t);
|
|
484
|
+
for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++)
|
|
485
|
+
o[s] = arguments[s];
|
|
486
|
+
return r = Ka(this, t, [].concat(o)), j(r, "state", {
|
|
487
|
+
isAnimationFinished: !1
|
|
488
|
+
}), j(r, "handleAnimationEnd", function() {
|
|
489
|
+
r.setState({
|
|
490
|
+
isAnimationFinished: !0
|
|
491
|
+
});
|
|
492
|
+
}), j(r, "handleAnimationStart", function() {
|
|
493
|
+
r.setState({
|
|
494
|
+
isAnimationFinished: !1
|
|
495
|
+
});
|
|
496
|
+
}), j(r, "id", Ct("recharts-scatter-")), r;
|
|
497
|
+
}
|
|
498
|
+
return qa(t, e), za(t, [{
|
|
499
|
+
key: "renderSymbolsStatically",
|
|
500
|
+
value: function(a) {
|
|
501
|
+
var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
|
|
502
|
+
return a.map(function(c, f) {
|
|
503
|
+
var h = i === f, u = h ? d : l, x = D(D({}, m), c);
|
|
504
|
+
return /* @__PURE__ */ k.createElement(K, q({
|
|
505
|
+
className: "recharts-scatter-symbol",
|
|
506
|
+
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
|
+
}, ht(o.props, c, f), {
|
|
508
|
+
role: "img"
|
|
509
|
+
}), /* @__PURE__ */ k.createElement(Ba, q({
|
|
510
|
+
option: u,
|
|
511
|
+
isActive: h,
|
|
512
|
+
key: "symbol-".concat(f)
|
|
513
|
+
}, x)));
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
}, {
|
|
517
|
+
key: "renderSymbolsWithAnimation",
|
|
518
|
+
value: function() {
|
|
519
|
+
var a = this, o = this.props, s = o.points, l = o.isAnimationActive, d = o.animationBegin, i = o.animationDuration, m = o.animationEasing, c = o.animationId, f = this.state.prevPoints;
|
|
520
|
+
return /* @__PURE__ */ k.createElement(vt, {
|
|
521
|
+
begin: d,
|
|
522
|
+
duration: i,
|
|
523
|
+
isActive: l,
|
|
524
|
+
easing: m,
|
|
525
|
+
from: {
|
|
526
|
+
t: 0
|
|
527
|
+
},
|
|
528
|
+
to: {
|
|
529
|
+
t: 1
|
|
530
|
+
},
|
|
531
|
+
key: "pie-".concat(c),
|
|
532
|
+
onAnimationEnd: this.handleAnimationEnd,
|
|
533
|
+
onAnimationStart: this.handleAnimationStart
|
|
534
|
+
}, function(h) {
|
|
535
|
+
var u = h.t, x = s.map(function(A, C) {
|
|
536
|
+
var O = f && f[C];
|
|
537
|
+
if (O) {
|
|
538
|
+
var g = U(O.cx, A.cx), b = U(O.cy, A.cy), w = U(O.size, A.size);
|
|
539
|
+
return D(D({}, A), {}, {
|
|
540
|
+
cx: g(u),
|
|
541
|
+
cy: b(u),
|
|
542
|
+
size: w(u)
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
var S = U(0, A.size);
|
|
546
|
+
return D(D({}, A), {}, {
|
|
547
|
+
size: S(u)
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
return /* @__PURE__ */ k.createElement(K, null, a.renderSymbolsStatically(x));
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
}, {
|
|
554
|
+
key: "renderSymbols",
|
|
555
|
+
value: function() {
|
|
556
|
+
var a = this.props, o = a.points, s = a.isAnimationActive, l = this.state.prevPoints;
|
|
557
|
+
return s && o && o.length && (!l || !yt(l, o)) ? this.renderSymbolsWithAnimation() : this.renderSymbolsStatically(o);
|
|
558
|
+
}
|
|
559
|
+
}, {
|
|
560
|
+
key: "renderErrorBar",
|
|
561
|
+
value: function() {
|
|
562
|
+
var a = this.props.isAnimationActive;
|
|
563
|
+
if (a && !this.state.isAnimationFinished)
|
|
564
|
+
return null;
|
|
565
|
+
var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Te(i, bt);
|
|
566
|
+
return m ? m.map(function(c, f) {
|
|
567
|
+
var h = c.props, u = h.direction, x = h.dataKey;
|
|
568
|
+
return /* @__PURE__ */ k.cloneElement(c, {
|
|
569
|
+
key: "".concat(u, "-").concat(x, "-").concat(s[f]),
|
|
570
|
+
data: s,
|
|
571
|
+
xAxis: l,
|
|
572
|
+
yAxis: d,
|
|
573
|
+
layout: u === "x" ? "vertical" : "horizontal",
|
|
574
|
+
dataPointFormatter: function(C, O) {
|
|
575
|
+
return {
|
|
576
|
+
x: C.cx,
|
|
577
|
+
y: C.cy,
|
|
578
|
+
value: u === "x" ? +C.node.x : +C.node.y,
|
|
579
|
+
errorVal: X(C, O)
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
});
|
|
583
|
+
}) : null;
|
|
584
|
+
}
|
|
585
|
+
}, {
|
|
586
|
+
key: "renderLine",
|
|
587
|
+
value: function() {
|
|
588
|
+
var a = this.props, o = a.points, s = a.line, l = a.lineType, d = a.lineJointType, i = ne(this.props, !1), m = ne(s, !1), c, f;
|
|
589
|
+
if (l === "joint")
|
|
590
|
+
c = o.map(function(b) {
|
|
591
|
+
return {
|
|
592
|
+
x: b.cx,
|
|
593
|
+
y: b.cy
|
|
594
|
+
};
|
|
595
|
+
});
|
|
596
|
+
else if (l === "fitting") {
|
|
597
|
+
var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, C = h.b, O = function(w) {
|
|
598
|
+
return A * w + C;
|
|
599
|
+
};
|
|
600
|
+
c = [{
|
|
601
|
+
x: u,
|
|
602
|
+
y: O(u)
|
|
603
|
+
}, {
|
|
604
|
+
x,
|
|
605
|
+
y: O(x)
|
|
606
|
+
}];
|
|
607
|
+
}
|
|
608
|
+
var g = D(D(D({}, i), {}, {
|
|
609
|
+
fill: "none",
|
|
610
|
+
stroke: i && i.fill
|
|
611
|
+
}, m), {}, {
|
|
612
|
+
points: c
|
|
613
|
+
});
|
|
614
|
+
return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt, q({}, g, {
|
|
615
|
+
type: d
|
|
616
|
+
})), /* @__PURE__ */ k.createElement(K, {
|
|
617
|
+
className: "recharts-scatter-line",
|
|
618
|
+
key: "recharts-scatter-line"
|
|
619
|
+
}, f);
|
|
620
|
+
}
|
|
621
|
+
}, {
|
|
622
|
+
key: "render",
|
|
623
|
+
value: function() {
|
|
624
|
+
var a = this.props, o = a.hide, s = a.points, l = a.line, d = a.className, i = a.xAxis, m = a.yAxis, c = a.left, f = a.top, h = a.width, u = a.height, x = a.id, A = a.isAnimationActive;
|
|
625
|
+
if (o || !s || !s.length)
|
|
626
|
+
return null;
|
|
627
|
+
var C = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), g = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = g || b, S = $(x) ? this.id : x;
|
|
628
|
+
return /* @__PURE__ */ k.createElement(K, {
|
|
629
|
+
className: O,
|
|
630
|
+
clipPath: w ? "url(#clipPath-".concat(S, ")") : null
|
|
631
|
+
}, g || b ? /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", {
|
|
632
|
+
id: "clipPath-".concat(S)
|
|
633
|
+
}, /* @__PURE__ */ k.createElement("rect", {
|
|
634
|
+
x: g ? c : c - h / 2,
|
|
635
|
+
y: b ? f : f - u / 2,
|
|
636
|
+
width: g ? h : h * 2,
|
|
637
|
+
height: b ? u : u * 2
|
|
638
|
+
}))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ k.createElement(K, {
|
|
639
|
+
key: "recharts-scatter-symbols"
|
|
640
|
+
}, this.renderSymbols()), (!A || C) && De.renderCallByParent(this.props, s));
|
|
641
|
+
}
|
|
642
|
+
}], [{
|
|
643
|
+
key: "getDerivedStateFromProps",
|
|
644
|
+
value: function(a, o) {
|
|
645
|
+
return a.animationId !== o.prevAnimationId ? {
|
|
646
|
+
prevAnimationId: a.animationId,
|
|
647
|
+
curPoints: a.points,
|
|
648
|
+
prevPoints: o.curPoints
|
|
649
|
+
} : a.points !== o.curPoints ? {
|
|
650
|
+
curPoints: a.points
|
|
651
|
+
} : null;
|
|
652
|
+
}
|
|
653
|
+
}]);
|
|
654
|
+
}(Sa);
|
|
655
|
+
j(H, "displayName", "Scatter");
|
|
656
|
+
j(H, "defaultProps", {
|
|
657
|
+
xAxisId: 0,
|
|
658
|
+
yAxisId: 0,
|
|
659
|
+
zAxisId: 0,
|
|
660
|
+
legendType: "circle",
|
|
661
|
+
lineType: "joint",
|
|
662
|
+
lineJointType: "linear",
|
|
663
|
+
data: [],
|
|
664
|
+
shape: "circle",
|
|
665
|
+
hide: !1,
|
|
666
|
+
isAnimationActive: !St.isSsr,
|
|
667
|
+
animationBegin: 0,
|
|
668
|
+
animationDuration: 400,
|
|
669
|
+
animationEasing: "linear"
|
|
670
|
+
});
|
|
671
|
+
j(H, "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 = 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], C = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
|
|
673
|
+
var S = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
|
|
674
|
+
name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
|
|
675
|
+
unit: t.unit || "",
|
|
676
|
+
value: S,
|
|
677
|
+
payload: b,
|
|
678
|
+
dataKey: f,
|
|
679
|
+
type: m
|
|
680
|
+
}, {
|
|
681
|
+
name: $(r.dataKey) ? o.props.name : r.name || r.dataKey,
|
|
682
|
+
unit: r.unit || "",
|
|
683
|
+
value: y,
|
|
684
|
+
payload: b,
|
|
685
|
+
dataKey: h,
|
|
686
|
+
type: m
|
|
687
|
+
}];
|
|
688
|
+
v !== "-" && L.push({
|
|
689
|
+
name: a.name || a.dataKey,
|
|
690
|
+
unit: a.unit || "",
|
|
691
|
+
value: v,
|
|
692
|
+
payload: b,
|
|
693
|
+
dataKey: u,
|
|
694
|
+
type: m
|
|
695
|
+
});
|
|
696
|
+
var T = we({
|
|
697
|
+
axis: t,
|
|
698
|
+
ticks: l,
|
|
699
|
+
bandSize: C,
|
|
700
|
+
entry: b,
|
|
701
|
+
index: w,
|
|
702
|
+
dataKey: f
|
|
703
|
+
}), E = we({
|
|
704
|
+
axis: r,
|
|
705
|
+
ticks: d,
|
|
706
|
+
bandSize: O,
|
|
707
|
+
entry: b,
|
|
708
|
+
index: w,
|
|
709
|
+
dataKey: h
|
|
710
|
+
}), p = v !== "-" ? a.scale(v) : A, P = Math.sqrt(Math.max(p, 0) / Math.PI);
|
|
711
|
+
return D(D({}, b), {}, {
|
|
712
|
+
cx: T,
|
|
713
|
+
cy: E,
|
|
714
|
+
x: T - P,
|
|
715
|
+
y: E - P,
|
|
716
|
+
xAxis: t,
|
|
717
|
+
yAxis: r,
|
|
718
|
+
zAxis: a,
|
|
719
|
+
width: 2 * P,
|
|
720
|
+
height: 2 * P,
|
|
721
|
+
size: p,
|
|
722
|
+
node: {
|
|
723
|
+
x: S,
|
|
724
|
+
y,
|
|
725
|
+
z: v
|
|
726
|
+
},
|
|
727
|
+
tooltipPayload: L,
|
|
728
|
+
tooltipPosition: {
|
|
729
|
+
x: T,
|
|
730
|
+
y: E
|
|
731
|
+
},
|
|
732
|
+
payload: b
|
|
733
|
+
}, c && c[w] && c[w].props);
|
|
734
|
+
});
|
|
735
|
+
return D({
|
|
736
|
+
points: g
|
|
737
|
+
}, i);
|
|
738
|
+
});
|
|
739
|
+
var Ha = At({
|
|
740
|
+
chartName: "ComposedChart",
|
|
741
|
+
GraphicalChild: [_e, Ot, Ie, H],
|
|
742
|
+
axisComponents: [{
|
|
743
|
+
axisType: "xAxis",
|
|
744
|
+
AxisComp: Ee
|
|
745
|
+
}, {
|
|
746
|
+
axisType: "yAxis",
|
|
747
|
+
AxisComp: le
|
|
748
|
+
}, {
|
|
749
|
+
axisType: "zAxis",
|
|
750
|
+
AxisComp: re
|
|
751
|
+
}],
|
|
752
|
+
formatAxisMap: kt
|
|
753
|
+
});
|
|
754
|
+
const Ya = (e) => {
|
|
755
|
+
const t = (r) => {
|
|
756
|
+
const { cx: a, cy: o, fill: s, payload: l } = r, d = () => {
|
|
757
|
+
if (!l) return "-";
|
|
758
|
+
if (l[e] !== void 0)
|
|
759
|
+
return l[e];
|
|
760
|
+
for (const [i, m] of Object.entries(l))
|
|
761
|
+
if (typeof m == "number" && i !== "x")
|
|
762
|
+
return m;
|
|
763
|
+
return "-";
|
|
764
|
+
};
|
|
765
|
+
return n("circle", {
|
|
766
|
+
cx: a,
|
|
767
|
+
cy: o,
|
|
768
|
+
r: 4,
|
|
769
|
+
fill: s,
|
|
770
|
+
stroke: "white",
|
|
771
|
+
strokeWidth: 2,
|
|
772
|
+
ref: (i) => {
|
|
773
|
+
i != null && i.parentElement && i.parentElement.setAttribute("aria-label", `Data point: ${d()}`);
|
|
774
|
+
}
|
|
775
|
+
});
|
|
776
|
+
};
|
|
777
|
+
return t.displayName = `Scatter-${e}`, t;
|
|
778
|
+
}, Ja = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
|
|
779
|
+
hide: !0
|
|
780
|
+
}, 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, T, E;
|
|
782
|
+
const A = Lt(t), C = 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 = [...C, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Ft(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), S = [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");
|
|
783
|
+
return n(Tt, {
|
|
784
|
+
config: e,
|
|
785
|
+
ref: x,
|
|
786
|
+
aspect: d,
|
|
787
|
+
children: N(Ha, {
|
|
788
|
+
accessibilityLayer: !0,
|
|
789
|
+
data: A,
|
|
790
|
+
margin: {
|
|
791
|
+
left: a && !a.hide ? 0 : 12,
|
|
792
|
+
right: 12,
|
|
793
|
+
top: o ? 24 : 0,
|
|
794
|
+
bottom: m ? 24 : 12
|
|
795
|
+
},
|
|
796
|
+
stackOffset: void 0,
|
|
797
|
+
onClick: (p) => {
|
|
798
|
+
if (!u || !p.activeLabel || !p.activePayload)
|
|
799
|
+
return;
|
|
800
|
+
const P = {
|
|
801
|
+
label: p.activeLabel,
|
|
802
|
+
values: {}
|
|
803
|
+
};
|
|
804
|
+
for (const Y of p.activePayload)
|
|
805
|
+
P.values[Y.name] = Y.value;
|
|
806
|
+
u(P);
|
|
807
|
+
},
|
|
808
|
+
children: [!s && n(Dt, {
|
|
809
|
+
..._t(),
|
|
810
|
+
content: n(It, {
|
|
811
|
+
yAxisFormatter: a.tickFormatter
|
|
812
|
+
})
|
|
813
|
+
}), !l && n(Et, {
|
|
814
|
+
...jt()
|
|
815
|
+
}), S.length > 0 && n(le, {
|
|
816
|
+
...Pe(a),
|
|
817
|
+
tick: !0,
|
|
818
|
+
width: a.width ?? w + 20 + (y.length > 0 && ((v = S[0]) != null && v.axisLabel) ? 20 : 0),
|
|
819
|
+
hide: a.hide || S.some((p) => p == null ? void 0 : p.hideAxis),
|
|
820
|
+
label: (L = S[0]) != null && L.axisLabel ? {
|
|
821
|
+
value: S[0].axisLabel,
|
|
822
|
+
angle: -90,
|
|
823
|
+
position: "insideLeft"
|
|
824
|
+
} : void 0
|
|
825
|
+
}), y.length > 0 && n(le, {
|
|
826
|
+
...Pe(a),
|
|
827
|
+
yAxisId: "right",
|
|
828
|
+
orientation: "right",
|
|
829
|
+
tick: !0,
|
|
830
|
+
width: a.width ?? w + 20 + (S.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
|
|
831
|
+
hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
|
|
832
|
+
label: (E = y[0]) != null && E.axisLabel ? {
|
|
833
|
+
value: y[0].axisLabel,
|
|
834
|
+
angle: 90,
|
|
835
|
+
position: "insideRight"
|
|
836
|
+
} : void 0
|
|
837
|
+
}), n(Ee, {
|
|
838
|
+
...$t(r),
|
|
839
|
+
hide: r == null ? void 0 : r.hide,
|
|
840
|
+
tick: m ? (p) => {
|
|
841
|
+
var be, ge;
|
|
842
|
+
const { x: P, y: Y, payload: ve } = p, ye = ((be = t.find((ft) => ft.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, dt = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
|
|
843
|
+
return N("g", {
|
|
844
|
+
transform: `translate(${P},${Y})`,
|
|
845
|
+
children: [n("text", {
|
|
846
|
+
x: 0,
|
|
847
|
+
y: 0,
|
|
848
|
+
dy: 12,
|
|
849
|
+
textAnchor: "middle",
|
|
850
|
+
className: "text-sm font-medium !text-f1-foreground-secondary",
|
|
851
|
+
children: ve.value
|
|
852
|
+
}), !!J && n("text", {
|
|
853
|
+
x: 0,
|
|
854
|
+
y: 0,
|
|
855
|
+
dy: 28,
|
|
856
|
+
textAnchor: "middle",
|
|
857
|
+
className: "!fill-f1-foreground text-sm font-medium",
|
|
858
|
+
children: dt
|
|
859
|
+
})]
|
|
860
|
+
});
|
|
861
|
+
} : void 0
|
|
862
|
+
}), C.map((p, P) => n(Ie, {
|
|
863
|
+
isAnimationActive: !1,
|
|
864
|
+
dataKey: String(p),
|
|
865
|
+
fill: e[p].color ? W(e[p].color) : oe(P),
|
|
866
|
+
radius: 4,
|
|
867
|
+
maxBarSize: 32,
|
|
868
|
+
children: o && n(De, {
|
|
869
|
+
position: "top",
|
|
870
|
+
offset: 10,
|
|
871
|
+
className: "fill-f1-foreground",
|
|
872
|
+
fontSize: 12
|
|
873
|
+
}, `label-${String(p)}`)
|
|
874
|
+
}, `bar-${String(p)}`)), O.map((p, P) => n(_e, {
|
|
875
|
+
type: (f == null ? void 0 : f.lineType) ?? "natural",
|
|
876
|
+
dataKey: String(p),
|
|
877
|
+
stroke: e[p].color ? W(e[p].color) : oe(C.length + P),
|
|
878
|
+
strokeWidth: 2,
|
|
879
|
+
dot: (f == null ? void 0 : f.dot) ?? !1,
|
|
880
|
+
isAnimationActive: !1,
|
|
881
|
+
yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0
|
|
882
|
+
}, `line-${String(p)}`)), g.map((p, P) => n(H, {
|
|
883
|
+
dataKey: String(p),
|
|
884
|
+
fill: e[p].color ? W(e[p].color) : oe(C.length + O.length + P),
|
|
885
|
+
r: 4,
|
|
886
|
+
isAnimationActive: !1,
|
|
887
|
+
yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
|
|
888
|
+
shape: Ya(String(p))
|
|
889
|
+
}, `scatter-${String(p)}`)), i && n(Mt, {
|
|
890
|
+
content: n(Bt, {
|
|
891
|
+
nameKey: "label"
|
|
892
|
+
}),
|
|
893
|
+
align: "center",
|
|
894
|
+
verticalAlign: "bottom",
|
|
895
|
+
layout: "vertical",
|
|
896
|
+
className: "flex-row items-start gap-4 pr-3 pt-2"
|
|
897
|
+
})]
|
|
898
|
+
})
|
|
899
|
+
});
|
|
900
|
+
}, Ua = je(Ja);
|
|
901
|
+
var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.forwardRef(
|
|
902
|
+
(e, t) => {
|
|
232
903
|
const {
|
|
233
|
-
__scopeProgress:
|
|
234
|
-
value:
|
|
235
|
-
max:
|
|
236
|
-
getValueLabel:
|
|
237
|
-
...
|
|
238
|
-
} =
|
|
239
|
-
(
|
|
240
|
-
const d =
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
return /* @__PURE__ */
|
|
244
|
-
|
|
904
|
+
__scopeProgress: r,
|
|
905
|
+
value: a = null,
|
|
906
|
+
max: o,
|
|
907
|
+
getValueLabel: s = er,
|
|
908
|
+
...l
|
|
909
|
+
} = e;
|
|
910
|
+
(o || o === 0) && !ke(o) && console.error(tr(`${o}`, "Progress"));
|
|
911
|
+
const d = ke(o) ? o : he;
|
|
912
|
+
a !== null && !Le(a, d) && console.error(ar(`${a}`, "Progress"));
|
|
913
|
+
const i = Le(a, d) ? a : null, m = te(i) ? s(i, d) : void 0;
|
|
914
|
+
return /* @__PURE__ */ n(Za, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
|
|
915
|
+
$e.div,
|
|
245
916
|
{
|
|
246
917
|
"aria-valuemax": d,
|
|
247
918
|
"aria-valuemin": 0,
|
|
248
|
-
"aria-valuenow":
|
|
249
|
-
"aria-valuetext":
|
|
919
|
+
"aria-valuenow": te(i) ? i : void 0,
|
|
920
|
+
"aria-valuetext": m,
|
|
250
921
|
role: "progressbar",
|
|
251
|
-
"data-state":
|
|
252
|
-
"data-value":
|
|
922
|
+
"data-state": nt(i, d),
|
|
923
|
+
"data-value": i ?? void 0,
|
|
253
924
|
"data-max": d,
|
|
254
|
-
...
|
|
255
|
-
ref:
|
|
925
|
+
...l,
|
|
926
|
+
ref: t
|
|
256
927
|
}
|
|
257
928
|
) });
|
|
258
929
|
}
|
|
259
930
|
);
|
|
260
|
-
|
|
261
|
-
var
|
|
262
|
-
(
|
|
263
|
-
const { __scopeProgress:
|
|
264
|
-
return /* @__PURE__ */
|
|
265
|
-
|
|
931
|
+
tt.displayName = me;
|
|
932
|
+
var at = "ProgressIndicator", rt = fe.forwardRef(
|
|
933
|
+
(e, t) => {
|
|
934
|
+
const { __scopeProgress: r, ...a } = e, o = Qa(at, r);
|
|
935
|
+
return /* @__PURE__ */ n(
|
|
936
|
+
$e.div,
|
|
266
937
|
{
|
|
267
|
-
"data-state":
|
|
268
|
-
"data-value":
|
|
269
|
-
"data-max":
|
|
270
|
-
...
|
|
271
|
-
ref:
|
|
938
|
+
"data-state": nt(o.value, o.max),
|
|
939
|
+
"data-value": o.value ?? void 0,
|
|
940
|
+
"data-max": o.max,
|
|
941
|
+
...a,
|
|
942
|
+
ref: t
|
|
272
943
|
}
|
|
273
944
|
);
|
|
274
945
|
}
|
|
275
946
|
);
|
|
276
|
-
|
|
277
|
-
function
|
|
278
|
-
return `${Math.round(
|
|
947
|
+
rt.displayName = at;
|
|
948
|
+
function er(e, t) {
|
|
949
|
+
return `${Math.round(e / t * 100)}%`;
|
|
279
950
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
951
|
+
function nt(e, t) {
|
|
952
|
+
return e == null ? "indeterminate" : e === t ? "complete" : "loading";
|
|
282
953
|
}
|
|
283
|
-
function
|
|
284
|
-
return typeof
|
|
954
|
+
function te(e) {
|
|
955
|
+
return typeof e == "number";
|
|
285
956
|
}
|
|
286
|
-
function
|
|
287
|
-
return
|
|
957
|
+
function ke(e) {
|
|
958
|
+
return te(e) && !isNaN(e) && e > 0;
|
|
288
959
|
}
|
|
289
|
-
function
|
|
290
|
-
return
|
|
960
|
+
function Le(e, t) {
|
|
961
|
+
return te(e) && !isNaN(e) && e <= t && e >= 0;
|
|
291
962
|
}
|
|
292
|
-
function
|
|
293
|
-
return `Invalid prop \`max\` of value \`${
|
|
963
|
+
function tr(e, t) {
|
|
964
|
+
return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${he}\`.`;
|
|
294
965
|
}
|
|
295
|
-
function
|
|
296
|
-
return `Invalid prop \`value\` of value \`${
|
|
966
|
+
function ar(e, t) {
|
|
967
|
+
return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
297
968
|
- a positive number
|
|
298
|
-
- less than the value passed to \`max\` (or ${
|
|
969
|
+
- less than the value passed to \`max\` (or ${he} if no \`max\` prop is set)
|
|
299
970
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
300
971
|
|
|
301
972
|
Defaulting to \`null\`.`;
|
|
302
973
|
}
|
|
303
|
-
var
|
|
304
|
-
const
|
|
305
|
-
ref:
|
|
306
|
-
className:
|
|
307
|
-
...
|
|
308
|
-
children:
|
|
974
|
+
var ot = tt, rr = rt;
|
|
975
|
+
const it = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(ot, {
|
|
976
|
+
ref: a,
|
|
977
|
+
className: I("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
|
|
978
|
+
...r,
|
|
979
|
+
children: n(rr, {
|
|
309
980
|
className: "h-full w-full flex-1 transition-all",
|
|
310
981
|
style: {
|
|
311
|
-
backgroundColor:
|
|
312
|
-
transform: `translateX(-${100 - (
|
|
982
|
+
backgroundColor: r.color,
|
|
983
|
+
transform: `translateX(-${100 - (t || 0)}%)`
|
|
313
984
|
}
|
|
314
985
|
})
|
|
315
986
|
}));
|
|
316
|
-
|
|
317
|
-
const
|
|
318
|
-
const
|
|
319
|
-
return
|
|
987
|
+
it.displayName = ot.displayName;
|
|
988
|
+
const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
|
|
989
|
+
const s = a ? W(a) : W("categorical-1"), l = e / t * 100;
|
|
990
|
+
return N("div", {
|
|
320
991
|
className: "flex items-center space-x-2",
|
|
321
992
|
"aria-live": "polite",
|
|
322
|
-
children: [
|
|
993
|
+
children: [n("div", {
|
|
323
994
|
className: "flex-grow",
|
|
324
|
-
children:
|
|
325
|
-
color:
|
|
326
|
-
value:
|
|
995
|
+
children: n(it, {
|
|
996
|
+
color: s,
|
|
997
|
+
value: l,
|
|
327
998
|
className: "w-full",
|
|
328
999
|
"aria-valuemin": 0,
|
|
329
|
-
"aria-valuemax":
|
|
330
|
-
"aria-valuenow":
|
|
331
|
-
"aria-label": `${
|
|
1000
|
+
"aria-valuemax": t,
|
|
1001
|
+
"aria-valuenow": e,
|
|
1002
|
+
"aria-label": `${l.toFixed(1)}%`
|
|
332
1003
|
})
|
|
333
|
-
}),
|
|
1004
|
+
}), r && n("div", {
|
|
334
1005
|
className: "flex-shrink-0 text-sm font-medium",
|
|
335
|
-
children:
|
|
1006
|
+
children: r
|
|
336
1007
|
})]
|
|
337
1008
|
});
|
|
338
|
-
},
|
|
1009
|
+
}, or = je(nr), Or = _(
|
|
339
1010
|
{
|
|
340
1011
|
name: "AreaChart",
|
|
341
1012
|
type: "info"
|
|
342
1013
|
},
|
|
343
|
-
|
|
344
|
-
),
|
|
1014
|
+
zt
|
|
1015
|
+
), kr = _(
|
|
345
1016
|
{
|
|
346
1017
|
name: "BarChart",
|
|
347
1018
|
type: "info"
|
|
348
1019
|
},
|
|
349
|
-
|
|
350
|
-
),
|
|
1020
|
+
Kt
|
|
1021
|
+
), Lr = _(
|
|
351
1022
|
{
|
|
352
1023
|
name: "CategoryBarChart",
|
|
353
1024
|
type: "info"
|
|
354
1025
|
},
|
|
355
|
-
|
|
356
|
-
),
|
|
1026
|
+
Wt
|
|
1027
|
+
), Fr = _(
|
|
357
1028
|
{
|
|
358
1029
|
name: "LineChart",
|
|
359
1030
|
type: "info"
|
|
360
1031
|
},
|
|
361
|
-
|
|
362
|
-
),
|
|
1032
|
+
Gt
|
|
1033
|
+
), Tr = _(
|
|
363
1034
|
{
|
|
364
1035
|
name: "PieChart",
|
|
365
1036
|
type: "info"
|
|
366
1037
|
},
|
|
367
|
-
|
|
368
|
-
),
|
|
1038
|
+
qt
|
|
1039
|
+
), Dr = _(
|
|
369
1040
|
{
|
|
370
1041
|
name: "VerticalBarChart",
|
|
371
1042
|
type: "info"
|
|
372
1043
|
},
|
|
373
|
-
|
|
374
|
-
),
|
|
1044
|
+
Vt
|
|
1045
|
+
), _r = _(
|
|
375
1046
|
{
|
|
376
1047
|
name: "ProgressBarChart",
|
|
377
1048
|
type: "info"
|
|
378
1049
|
},
|
|
379
|
-
|
|
380
|
-
),
|
|
381
|
-
|
|
382
|
-
|
|
1050
|
+
or
|
|
1051
|
+
), Ir = _(
|
|
1052
|
+
{
|
|
1053
|
+
name: "ComboChart",
|
|
1054
|
+
type: "info"
|
|
1055
|
+
},
|
|
1056
|
+
Ua
|
|
1057
|
+
), de = ({ count: e, list: t }) => {
|
|
1058
|
+
const [r, a] = F(!1), o = n(Z, {
|
|
1059
|
+
label: `+${e}`
|
|
383
1060
|
});
|
|
384
|
-
return
|
|
385
|
-
open:
|
|
386
|
-
onOpenChange:
|
|
387
|
-
children: [
|
|
1061
|
+
return t != null && t.length ? N(Me, {
|
|
1062
|
+
open: r,
|
|
1063
|
+
onOpenChange: a,
|
|
1064
|
+
children: [n(Be, {
|
|
388
1065
|
asChild: !0,
|
|
389
|
-
children:
|
|
390
|
-
className:
|
|
391
|
-
children:
|
|
1066
|
+
children: n("button", {
|
|
1067
|
+
className: Ht("inline-flex flex-shrink-0 items-center"),
|
|
1068
|
+
children: o
|
|
392
1069
|
})
|
|
393
|
-
}),
|
|
1070
|
+
}), n(Re, {
|
|
394
1071
|
className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
|
|
395
1072
|
align: "end",
|
|
396
|
-
children:
|
|
1073
|
+
children: N(ze, {
|
|
397
1074
|
className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
|
|
398
|
-
children: [
|
|
1075
|
+
children: [t.map((s, l) => n("div", {
|
|
399
1076
|
className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
|
|
400
|
-
children:
|
|
401
|
-
...
|
|
1077
|
+
children: n(Z, {
|
|
1078
|
+
...s
|
|
402
1079
|
})
|
|
403
|
-
},
|
|
1080
|
+
}, l)), n(Ke, {
|
|
404
1081
|
orientation: "vertical",
|
|
405
1082
|
className: "[&_div]:bg-f1-background"
|
|
406
1083
|
})]
|
|
407
1084
|
})
|
|
408
1085
|
})]
|
|
409
|
-
}) :
|
|
1086
|
+
}) : o;
|
|
410
1087
|
};
|
|
411
|
-
|
|
412
|
-
const
|
|
413
|
-
if (
|
|
414
|
-
return
|
|
415
|
-
items:
|
|
416
|
-
renderListItem: (
|
|
417
|
-
...
|
|
1088
|
+
de.displayName = "ChipCounter";
|
|
1089
|
+
const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
|
|
1090
|
+
if (a === "fill")
|
|
1091
|
+
return n(Yt, {
|
|
1092
|
+
items: e,
|
|
1093
|
+
renderListItem: (i) => n(Z, {
|
|
1094
|
+
...i
|
|
418
1095
|
}),
|
|
419
1096
|
renderDropdownItem: () => null,
|
|
420
|
-
forceShowingOverflowIndicator:
|
|
421
|
-
renderOverflowIndicator: (
|
|
422
|
-
count: (
|
|
423
|
-
list:
|
|
1097
|
+
forceShowingOverflowIndicator: r !== void 0,
|
|
1098
|
+
renderOverflowIndicator: (i) => n(de, {
|
|
1099
|
+
count: (r ?? 0) + i,
|
|
1100
|
+
list: r ? void 0 : e.slice(e.length - i)
|
|
424
1101
|
}),
|
|
425
1102
|
overflowIndicatorWithPopover: !1,
|
|
426
1103
|
className: "flex-1"
|
|
427
1104
|
});
|
|
428
|
-
const
|
|
429
|
-
return
|
|
1105
|
+
const o = e.slice(0, t), s = e.slice(t), l = r ?? e.length - t, d = l > 0;
|
|
1106
|
+
return N("div", {
|
|
430
1107
|
className: "flex items-center gap-2",
|
|
431
|
-
children: [
|
|
432
|
-
...
|
|
433
|
-
},
|
|
434
|
-
count:
|
|
435
|
-
list:
|
|
1108
|
+
children: [o.map((i, m) => n(Z, {
|
|
1109
|
+
...i
|
|
1110
|
+
}, m)), d && n(de, {
|
|
1111
|
+
count: l,
|
|
1112
|
+
list: r ? void 0 : s
|
|
436
1113
|
})]
|
|
437
1114
|
});
|
|
438
1115
|
};
|
|
439
|
-
|
|
440
|
-
const
|
|
1116
|
+
st.displayName = "F0ChipList";
|
|
1117
|
+
const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
|
|
1118
|
+
const [m, c] = F(""), [f, h] = F(!1), u = Ge();
|
|
1119
|
+
M(() => {
|
|
1120
|
+
c(r.toString(e == null ? void 0 : e.value, u));
|
|
1121
|
+
}, [e, r, u]);
|
|
1122
|
+
const x = (g) => Xt(g, r, {
|
|
1123
|
+
minDate: o,
|
|
1124
|
+
maxDate: s
|
|
1125
|
+
}), A = (g, b) => {
|
|
1126
|
+
if (g === "") {
|
|
1127
|
+
t == null || t({
|
|
1128
|
+
value: void 0,
|
|
1129
|
+
granularity: b.key
|
|
1130
|
+
}), h(d.required ?? !1);
|
|
1131
|
+
return;
|
|
1132
|
+
}
|
|
1133
|
+
const w = b.toRange(b.fromString(g, u));
|
|
1134
|
+
w && x(w == null ? void 0 : w.from) && x(w == null ? void 0 : w.to) ? (t == null || t({
|
|
1135
|
+
value: w,
|
|
1136
|
+
granularity: b.key
|
|
1137
|
+
}), h(!1)) : h(!0);
|
|
1138
|
+
}, C = () => {
|
|
1139
|
+
A(m, r);
|
|
1140
|
+
};
|
|
1141
|
+
return n(ae, {
|
|
1142
|
+
children: n(Jt, {
|
|
1143
|
+
...d,
|
|
1144
|
+
icon: Ut,
|
|
1145
|
+
ref: i,
|
|
1146
|
+
onFocus: () => a == null ? void 0 : a(!0),
|
|
1147
|
+
onClear: () => {
|
|
1148
|
+
l == null || l(), c(""), A("", r);
|
|
1149
|
+
},
|
|
1150
|
+
onKeyDown: (g) => {
|
|
1151
|
+
g.key === "Enter" && C();
|
|
1152
|
+
},
|
|
1153
|
+
type: "text",
|
|
1154
|
+
onChange: (g) => {
|
|
1155
|
+
c(g);
|
|
1156
|
+
},
|
|
1157
|
+
error: f || d.error,
|
|
1158
|
+
onBlur: C,
|
|
1159
|
+
value: m,
|
|
1160
|
+
onClickContent: () => a == null ? void 0 : a(!0)
|
|
1161
|
+
})
|
|
1162
|
+
});
|
|
1163
|
+
});
|
|
1164
|
+
lt.displayName = "DateInput";
|
|
1165
|
+
function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
|
|
1166
|
+
const [i, m] = F(), [c, f] = F(l);
|
|
1167
|
+
M(() => {
|
|
1168
|
+
f(l);
|
|
1169
|
+
}, [l]);
|
|
1170
|
+
const h = Ge(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
|
|
1171
|
+
const v = y || u;
|
|
1172
|
+
if (!Ce[v])
|
|
1173
|
+
throw new Error(`Invalid granularity ${v}`);
|
|
1174
|
+
return {
|
|
1175
|
+
...Ce[v],
|
|
1176
|
+
key: v
|
|
1177
|
+
};
|
|
1178
|
+
}, [u]), A = Ne((y) => {
|
|
1179
|
+
var L;
|
|
1180
|
+
if (!y)
|
|
1181
|
+
return;
|
|
1182
|
+
const v = x(y == null ? void 0 : y.granularity);
|
|
1183
|
+
return y ? {
|
|
1184
|
+
value: v.toRange(v.calendarMode === "range" ? y.value : ((L = y.value) == null ? void 0 : L.from) ?? void 0),
|
|
1185
|
+
granularity: y.granularity
|
|
1186
|
+
} : void 0;
|
|
1187
|
+
}, [x]), C = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
|
|
1188
|
+
M(() => {
|
|
1189
|
+
const y = A(t);
|
|
1190
|
+
ie(i, y) || m(y);
|
|
1191
|
+
}, [t]);
|
|
1192
|
+
const O = (y) => {
|
|
1193
|
+
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);
|
|
1194
|
+
g(v), T && f(!1);
|
|
1195
|
+
}, g = (y) => {
|
|
1196
|
+
const v = A(y);
|
|
1197
|
+
if (m(v), !ie(v, i)) {
|
|
1198
|
+
const L = x(v == null ? void 0 : v.granularity);
|
|
1199
|
+
e == null || e(v, L.toString(v == null ? void 0 : v.value, h));
|
|
1200
|
+
}
|
|
1201
|
+
}, b = (y) => {
|
|
1202
|
+
var v;
|
|
1203
|
+
f(y), (v = d.onOpenChange) == null || v.call(d, y);
|
|
1204
|
+
}, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), S = pe(null);
|
|
1205
|
+
return M(() => {
|
|
1206
|
+
c && S.current && requestAnimationFrame(() => {
|
|
1207
|
+
var y;
|
|
1208
|
+
(y = S.current) == null || y.focus();
|
|
1209
|
+
});
|
|
1210
|
+
}, [c]), n(Zt, {
|
|
1211
|
+
hideCalendarInput: !0,
|
|
1212
|
+
onSelect: O,
|
|
1213
|
+
value: i,
|
|
1214
|
+
presets: w,
|
|
1215
|
+
granularities: a,
|
|
1216
|
+
minDate: o,
|
|
1217
|
+
maxDate: s,
|
|
1218
|
+
open: c,
|
|
1219
|
+
onOpenChange: b,
|
|
1220
|
+
asChild: !0,
|
|
1221
|
+
children: n(lt, {
|
|
1222
|
+
ref: S,
|
|
1223
|
+
...d,
|
|
1224
|
+
value: i,
|
|
1225
|
+
granularity: C,
|
|
1226
|
+
onDateChange: g
|
|
1227
|
+
})
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
const jr = Qt, $r = We(
|
|
1231
|
+
"F0DatePicker",
|
|
1232
|
+
ir
|
|
1233
|
+
), sr = {
|
|
441
1234
|
xs: 1,
|
|
442
1235
|
sm: 2,
|
|
443
1236
|
md: 2,
|
|
444
1237
|
lg: 2
|
|
445
|
-
},
|
|
446
|
-
const
|
|
447
|
-
|
|
448
|
-
const
|
|
1238
|
+
}, lr = V(function({ widgets: t, children: r }, a) {
|
|
1239
|
+
const o = pe(null);
|
|
1240
|
+
Na(a, () => o.current);
|
|
1241
|
+
const s = Aa.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
|
|
449
1242
|
className: "h-full @5xl:h-auto [&>div]:h-full",
|
|
450
|
-
children:
|
|
1243
|
+
children: l
|
|
451
1244
|
}, d));
|
|
452
|
-
return
|
|
1245
|
+
return n(qe, {
|
|
453
1246
|
layout: "home",
|
|
454
|
-
children:
|
|
455
|
-
ref:
|
|
1247
|
+
children: N("div", {
|
|
1248
|
+
ref: o,
|
|
456
1249
|
className: "@container",
|
|
457
|
-
children: [
|
|
1250
|
+
children: [N("div", {
|
|
458
1251
|
className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
|
|
459
|
-
children: [
|
|
460
|
-
columns:
|
|
1252
|
+
children: [n(ea, {
|
|
1253
|
+
columns: sr,
|
|
461
1254
|
showArrows: !1,
|
|
462
|
-
children: i
|
|
463
|
-
}), e("main", {
|
|
464
1255
|
children: s
|
|
1256
|
+
}), n("main", {
|
|
1257
|
+
children: r
|
|
465
1258
|
})]
|
|
466
|
-
}),
|
|
1259
|
+
}), N("div", {
|
|
467
1260
|
className: "hidden grid-cols-3 gap-5 px-6 pb-6 pt-2 @5xl:grid",
|
|
468
|
-
children: [
|
|
1261
|
+
children: [n("div", {
|
|
469
1262
|
className: "col-span-3 flex flex-row gap-5 *:flex-1",
|
|
470
|
-
children:
|
|
471
|
-
}),
|
|
1263
|
+
children: s.slice(0, 3)
|
|
1264
|
+
}), n("main", {
|
|
472
1265
|
className: "col-span-2",
|
|
473
|
-
children:
|
|
474
|
-
}),
|
|
1266
|
+
children: r
|
|
1267
|
+
}), n("div", {
|
|
475
1268
|
className: "flex flex-1 flex-col gap-5",
|
|
476
|
-
children:
|
|
1269
|
+
children: s.slice(3)
|
|
477
1270
|
})]
|
|
478
1271
|
})]
|
|
479
1272
|
})
|
|
480
1273
|
});
|
|
481
|
-
}),
|
|
482
|
-
return
|
|
483
|
-
ref:
|
|
1274
|
+
}), cr = V(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
|
|
1275
|
+
return n("div", {
|
|
1276
|
+
ref: s,
|
|
484
1277
|
className: "h-full",
|
|
485
|
-
children:
|
|
486
|
-
className:
|
|
487
|
-
children: [
|
|
488
|
-
className:
|
|
1278
|
+
children: N("div", {
|
|
1279
|
+
className: I("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", o && "md:sticky md:top-0 md:max-h-full"),
|
|
1280
|
+
children: [n("main", {
|
|
1281
|
+
className: I("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
|
+
children: t
|
|
1283
|
+
}), n(ur, {
|
|
1284
|
+
sticky: o,
|
|
1285
|
+
className: I("order-1", a === "right" ? "md:order-1" : "md:order-3"),
|
|
489
1286
|
children: r
|
|
490
|
-
}), e(ma, {
|
|
491
|
-
sticky: t,
|
|
492
|
-
className: b("order-1", o === "right" ? "md:order-1" : "md:order-3"),
|
|
493
|
-
children: s
|
|
494
1287
|
})]
|
|
495
1288
|
})
|
|
496
1289
|
});
|
|
497
|
-
}),
|
|
498
|
-
className:
|
|
499
|
-
children:
|
|
500
|
-
}),
|
|
1290
|
+
}), ur = ({ children: e, className: t }) => n("aside", {
|
|
1291
|
+
className: I("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
|
+
children: e
|
|
1293
|
+
}), dr = ta({
|
|
501
1294
|
base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
|
|
502
1295
|
variants: {
|
|
503
1296
|
variant: {
|
|
504
1297
|
narrow: "max-w-screen-lg"
|
|
505
1298
|
}
|
|
506
1299
|
}
|
|
507
|
-
}),
|
|
1300
|
+
}), ct = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(qe, {
|
|
508
1301
|
layout: "standard",
|
|
509
|
-
children:
|
|
510
|
-
ref:
|
|
511
|
-
className:
|
|
512
|
-
...
|
|
513
|
-
children:
|
|
514
|
-
className:
|
|
515
|
-
variant:
|
|
1302
|
+
children: n("section", {
|
|
1303
|
+
ref: o,
|
|
1304
|
+
className: I("relative flex-1 overflow-auto", r),
|
|
1305
|
+
...a,
|
|
1306
|
+
children: n("div", {
|
|
1307
|
+
className: I(dr({
|
|
1308
|
+
variant: t
|
|
516
1309
|
})),
|
|
517
|
-
children:
|
|
1310
|
+
children: e
|
|
518
1311
|
})
|
|
519
1312
|
})
|
|
520
1313
|
}));
|
|
521
|
-
|
|
522
|
-
const
|
|
1314
|
+
ct.displayName = "StandardLayout";
|
|
1315
|
+
const Mr = _({
|
|
523
1316
|
name: "StandardLayout",
|
|
524
1317
|
type: "layout"
|
|
525
|
-
},
|
|
1318
|
+
}, ct), Br = _({
|
|
526
1319
|
name: "TwoColumnLayout",
|
|
527
1320
|
type: "layout"
|
|
528
|
-
},
|
|
1321
|
+
}, cr), Rr = _({
|
|
529
1322
|
name: "HomeLayout",
|
|
530
1323
|
type: "layout"
|
|
531
|
-
},
|
|
1324
|
+
}, lr), fr = ({ benefits: e }) => n("div", {
|
|
532
1325
|
className: "flex flex-col gap-2",
|
|
533
|
-
children:
|
|
534
|
-
text:
|
|
535
|
-
},
|
|
536
|
-
}),
|
|
1326
|
+
children: e.map((t, r) => n(pr, {
|
|
1327
|
+
text: t
|
|
1328
|
+
}, r))
|
|
1329
|
+
}), pr = ({ text: e }) => N("div", {
|
|
537
1330
|
className: "flex flex-row items-start gap-2",
|
|
538
|
-
children: [
|
|
539
|
-
icon:
|
|
1331
|
+
children: [n(ra, {
|
|
1332
|
+
icon: na,
|
|
540
1333
|
size: "md",
|
|
541
1334
|
className: "text-f1-icon-positive"
|
|
542
|
-
}),
|
|
543
|
-
children:
|
|
1335
|
+
}), n("span", {
|
|
1336
|
+
children: e
|
|
544
1337
|
})]
|
|
545
|
-
}),
|
|
546
|
-
ref:
|
|
547
|
-
className:
|
|
548
|
-
children: [
|
|
1338
|
+
}), ut = V(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
|
|
1339
|
+
ref: i,
|
|
1340
|
+
className: I("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
|
|
1341
|
+
children: [n("div", {
|
|
549
1342
|
className: "aspect-auto flex-shrink-0 overflow-hidden rounded-xl py-1 pl-1",
|
|
550
|
-
children:
|
|
551
|
-
src:
|
|
1343
|
+
children: n("img", {
|
|
1344
|
+
src: t,
|
|
552
1345
|
alt: "",
|
|
553
1346
|
className: "h-full w-full rounded-lg object-cover"
|
|
554
1347
|
})
|
|
555
|
-
}),
|
|
1348
|
+
}), N("div", {
|
|
556
1349
|
className: "flex flex-col justify-center gap-8 px-8 py-5",
|
|
557
|
-
children: [
|
|
1350
|
+
children: [N("div", {
|
|
558
1351
|
className: "flex flex-col gap-5",
|
|
559
|
-
children: [
|
|
1352
|
+
children: [N("div", {
|
|
560
1353
|
className: "flex flex-col gap-2",
|
|
561
|
-
children: [
|
|
1354
|
+
children: [N("div", {
|
|
562
1355
|
className: "flex flex-row items-center gap-2",
|
|
563
|
-
children: [
|
|
564
|
-
module:
|
|
565
|
-
}),
|
|
1356
|
+
children: [s && n(Ve, {
|
|
1357
|
+
module: s
|
|
1358
|
+
}), l && n("p", {
|
|
566
1359
|
className: "text-base font-medium text-f1-foreground",
|
|
567
|
-
children:
|
|
1360
|
+
children: l
|
|
568
1361
|
})]
|
|
569
|
-
}), d &&
|
|
1362
|
+
}), d && n("div", {
|
|
570
1363
|
className: "flex justify-start",
|
|
571
|
-
children:
|
|
1364
|
+
children: n(aa, {
|
|
572
1365
|
icon: d.icon,
|
|
573
1366
|
text: d.label
|
|
574
1367
|
})
|
|
575
|
-
}),
|
|
1368
|
+
}), n("h2", {
|
|
576
1369
|
className: "font-bold text-xl text-f1-foreground",
|
|
577
|
-
children:
|
|
1370
|
+
children: e
|
|
578
1371
|
})]
|
|
579
|
-
}),
|
|
580
|
-
benefits:
|
|
1372
|
+
}), n(fr, {
|
|
1373
|
+
benefits: r
|
|
581
1374
|
})]
|
|
582
|
-
}),
|
|
1375
|
+
}), a && n("div", {
|
|
583
1376
|
className: "flex gap-3",
|
|
584
|
-
children:
|
|
1377
|
+
children: a
|
|
585
1378
|
})]
|
|
586
1379
|
})]
|
|
587
1380
|
}));
|
|
588
|
-
|
|
589
|
-
function
|
|
590
|
-
const [
|
|
591
|
-
return
|
|
592
|
-
d(
|
|
593
|
-
}, [
|
|
594
|
-
open:
|
|
595
|
-
onOpenChange: (
|
|
596
|
-
d(
|
|
1381
|
+
ut.displayName = "ProductBlankslate";
|
|
1382
|
+
function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
|
|
1383
|
+
const [l, d] = F(e);
|
|
1384
|
+
return M(() => {
|
|
1385
|
+
d(e);
|
|
1386
|
+
}, [e]), n(oa, {
|
|
1387
|
+
open: l,
|
|
1388
|
+
onOpenChange: (m) => {
|
|
1389
|
+
d(m), m || t();
|
|
597
1390
|
},
|
|
598
1391
|
modal: !0,
|
|
599
|
-
children:
|
|
1392
|
+
children: N(ia, {
|
|
600
1393
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
601
|
-
container:
|
|
602
|
-
children: [
|
|
1394
|
+
container: s,
|
|
1395
|
+
children: [N("div", {
|
|
603
1396
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
604
|
-
children: [
|
|
1397
|
+
children: [N(sa, {
|
|
605
1398
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
606
|
-
children: [
|
|
607
|
-
module:
|
|
1399
|
+
children: [o && n(Ve, {
|
|
1400
|
+
module: o,
|
|
608
1401
|
size: "lg"
|
|
609
|
-
}),
|
|
610
|
-
}),
|
|
1402
|
+
}), r]
|
|
1403
|
+
}), n(la, {
|
|
611
1404
|
variant: "outline",
|
|
612
|
-
icon:
|
|
613
|
-
onClick:
|
|
1405
|
+
icon: He,
|
|
1406
|
+
onClick: t,
|
|
614
1407
|
label: "Close modal",
|
|
615
1408
|
hideLabel: !0
|
|
616
1409
|
})]
|
|
617
|
-
}),
|
|
1410
|
+
}), N(ze, {
|
|
618
1411
|
className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
|
|
619
|
-
children: [
|
|
1412
|
+
children: [a, n(Ke, {
|
|
620
1413
|
orientation: "vertical",
|
|
621
1414
|
className: "[&_div]:bg-f1-background"
|
|
622
1415
|
})]
|
|
@@ -624,46 +1417,46 @@ function ba({ isOpen: a, onClose: r, title: s, children: o, module: t, portalCon
|
|
|
624
1417
|
})
|
|
625
1418
|
});
|
|
626
1419
|
}
|
|
627
|
-
function
|
|
628
|
-
const [
|
|
629
|
-
if (
|
|
630
|
-
|
|
1420
|
+
function zr({ 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: C = !0 }) {
|
|
1421
|
+
const [O, g] = F(e), [b, w] = F(null), [S, y] = F(!1), v = async () => {
|
|
1422
|
+
if (c != null && c.onClick) {
|
|
1423
|
+
y(!0);
|
|
631
1424
|
try {
|
|
632
|
-
await
|
|
1425
|
+
await c.onClick(), g(!1), C && w("success");
|
|
633
1426
|
} catch {
|
|
634
|
-
|
|
1427
|
+
C && w("error");
|
|
635
1428
|
} finally {
|
|
636
|
-
|
|
1429
|
+
y(!1);
|
|
637
1430
|
}
|
|
638
1431
|
}
|
|
639
|
-
},
|
|
640
|
-
|
|
641
|
-
},
|
|
642
|
-
return
|
|
643
|
-
children: [
|
|
644
|
-
isOpen:
|
|
645
|
-
onClose:
|
|
646
|
-
title:
|
|
647
|
-
module:
|
|
648
|
-
portalContainer:
|
|
649
|
-
children:
|
|
1432
|
+
}, L = () => {
|
|
1433
|
+
g(!1), t == null || t();
|
|
1434
|
+
}, T = S;
|
|
1435
|
+
return N(ae, {
|
|
1436
|
+
children: [n(mr, {
|
|
1437
|
+
isOpen: O,
|
|
1438
|
+
onClose: L,
|
|
1439
|
+
title: f,
|
|
1440
|
+
module: h,
|
|
1441
|
+
portalContainer: x,
|
|
1442
|
+
children: n("div", {
|
|
650
1443
|
className: "pb-4 pl-4",
|
|
651
|
-
children:
|
|
652
|
-
title:
|
|
653
|
-
image:
|
|
654
|
-
benefits:
|
|
1444
|
+
children: n(ut, {
|
|
1445
|
+
title: r,
|
|
1446
|
+
image: a,
|
|
1447
|
+
benefits: o,
|
|
655
1448
|
withShadow: !1,
|
|
656
|
-
tag:
|
|
657
|
-
actions:
|
|
1449
|
+
tag: A,
|
|
1450
|
+
actions: N("div", {
|
|
658
1451
|
className: "flex gap-3",
|
|
659
|
-
children: [
|
|
660
|
-
variant:
|
|
661
|
-
label:
|
|
662
|
-
icon:
|
|
663
|
-
onClick:
|
|
664
|
-
loading:
|
|
665
|
-
size:
|
|
666
|
-
}), u &&
|
|
1452
|
+
children: [c && n(B, {
|
|
1453
|
+
variant: c.variant,
|
|
1454
|
+
label: T ? d.label : c.label,
|
|
1455
|
+
icon: c.icon || void 0,
|
|
1456
|
+
onClick: v,
|
|
1457
|
+
loading: c.loading,
|
|
1458
|
+
size: c.size
|
|
1459
|
+
}), u && n(B, {
|
|
667
1460
|
onClick: u.onClick,
|
|
668
1461
|
label: u.label,
|
|
669
1462
|
variant: u.variant,
|
|
@@ -673,73 +1466,73 @@ function za({ isOpen: a, onClose: r, title: s, image: o, benefits: t, errorMessa
|
|
|
673
1466
|
})
|
|
674
1467
|
})
|
|
675
1468
|
})
|
|
676
|
-
}),
|
|
1469
|
+
}), b && C && n(Ye, {
|
|
677
1470
|
open: !0,
|
|
678
1471
|
onClose: () => {
|
|
679
|
-
|
|
1472
|
+
L(), w(null);
|
|
680
1473
|
},
|
|
681
|
-
success:
|
|
682
|
-
errorMessage:
|
|
683
|
-
successMessage:
|
|
684
|
-
nextSteps:
|
|
685
|
-
closeLabel:
|
|
686
|
-
portalContainer:
|
|
1474
|
+
success: b === "success",
|
|
1475
|
+
errorMessage: s,
|
|
1476
|
+
successMessage: l,
|
|
1477
|
+
nextSteps: i,
|
|
1478
|
+
closeLabel: m,
|
|
1479
|
+
portalContainer: x
|
|
687
1480
|
})]
|
|
688
1481
|
});
|
|
689
1482
|
}
|
|
690
|
-
function
|
|
691
|
-
const [
|
|
692
|
-
|
|
1483
|
+
function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
|
|
1484
|
+
const [m, c] = F(!1), f = () => {
|
|
1485
|
+
c(!0), a && a();
|
|
693
1486
|
};
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}, [
|
|
697
|
-
const
|
|
698
|
-
return
|
|
699
|
-
children:
|
|
1487
|
+
M(() => {
|
|
1488
|
+
l && l(!m);
|
|
1489
|
+
}, [l, m]);
|
|
1490
|
+
const h = e == null ? void 0 : e.includes(".mp4");
|
|
1491
|
+
return n(ae, {
|
|
1492
|
+
children: m ? null : N(ca, {
|
|
700
1493
|
style: {
|
|
701
|
-
width:
|
|
1494
|
+
width: s
|
|
702
1495
|
},
|
|
703
1496
|
className: "relative bg-f1-background p-1",
|
|
704
|
-
children: [
|
|
705
|
-
children: [
|
|
1497
|
+
children: [N(ua, {
|
|
1498
|
+
children: [o && n("div", {
|
|
706
1499
|
className: "absolute right-2 top-2 z-10",
|
|
707
|
-
children:
|
|
1500
|
+
children: n(B, {
|
|
708
1501
|
variant: "ghost",
|
|
709
|
-
icon:
|
|
1502
|
+
icon: He,
|
|
710
1503
|
size: "sm",
|
|
711
1504
|
hideLabel: !0,
|
|
712
|
-
onClick:
|
|
1505
|
+
onClick: f,
|
|
713
1506
|
label: "Close"
|
|
714
1507
|
})
|
|
715
|
-
}),
|
|
716
|
-
children: [
|
|
717
|
-
children:
|
|
718
|
-
src:
|
|
1508
|
+
}), N("div", {
|
|
1509
|
+
children: [n("div", {
|
|
1510
|
+
children: e && (h ? n("video", {
|
|
1511
|
+
src: e,
|
|
719
1512
|
autoPlay: !0,
|
|
720
1513
|
muted: !0,
|
|
721
1514
|
loop: !0,
|
|
722
1515
|
playsInline: !0,
|
|
723
1516
|
className: "h-full w-full rounded-md"
|
|
724
|
-
}) :
|
|
725
|
-
src:
|
|
726
|
-
alt:
|
|
1517
|
+
}) : n("img", {
|
|
1518
|
+
src: e,
|
|
1519
|
+
alt: t,
|
|
727
1520
|
className: "h-full w-full rounded-md"
|
|
728
1521
|
}))
|
|
729
|
-
}),
|
|
1522
|
+
}), N("div", {
|
|
730
1523
|
className: "flex flex-col gap-[2px] p-3",
|
|
731
|
-
children: [
|
|
1524
|
+
children: [n(Se, {
|
|
732
1525
|
className: "text-lg font-medium",
|
|
733
|
-
children:
|
|
734
|
-
}),
|
|
1526
|
+
children: t
|
|
1527
|
+
}), n(Se, {
|
|
735
1528
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
736
|
-
children:
|
|
1529
|
+
children: r
|
|
737
1530
|
})]
|
|
738
1531
|
})]
|
|
739
1532
|
})]
|
|
740
|
-
}), d &&
|
|
1533
|
+
}), d && n(da, {
|
|
741
1534
|
className: "p-3",
|
|
742
|
-
children: d.map((u) => u.type === "upsell" ?
|
|
1535
|
+
children: d.map((u) => u.type === "upsell" ? n(Je, {
|
|
743
1536
|
label: u.label,
|
|
744
1537
|
onRequest: u.onClick,
|
|
745
1538
|
errorMessage: u.errorMessage,
|
|
@@ -747,9 +1540,9 @@ function xa({ mediaUrl: a, title: r, description: s, onClose: o, dismissible: t,
|
|
|
747
1540
|
loadingState: u.loadingState,
|
|
748
1541
|
nextSteps: u.nextSteps,
|
|
749
1542
|
closeLabel: u.closeLabel,
|
|
750
|
-
showConfirmation:
|
|
1543
|
+
showConfirmation: i && u.showConfirmation,
|
|
751
1544
|
variant: u.variant
|
|
752
|
-
}, u.label) :
|
|
1545
|
+
}, u.label) : n(B, {
|
|
753
1546
|
label: u.label,
|
|
754
1547
|
onClick: u.onClick,
|
|
755
1548
|
variant: u.variant
|
|
@@ -758,136 +1551,136 @@ function xa({ mediaUrl: a, title: r, description: s, onClose: o, dismissible: t,
|
|
|
758
1551
|
})
|
|
759
1552
|
});
|
|
760
1553
|
}
|
|
761
|
-
const
|
|
762
|
-
const
|
|
763
|
-
label:
|
|
1554
|
+
const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
|
|
1555
|
+
const s = (i) => i.variant === "promote" ? n(Je, {
|
|
1556
|
+
label: i.label,
|
|
764
1557
|
onRequest: async () => {
|
|
765
|
-
await
|
|
1558
|
+
await i.onClick();
|
|
766
1559
|
},
|
|
767
|
-
errorMessage:
|
|
768
|
-
successMessage:
|
|
769
|
-
loadingState:
|
|
770
|
-
nextSteps:
|
|
771
|
-
closeLabel:
|
|
772
|
-
showIcon:
|
|
773
|
-
showConfirmation:
|
|
774
|
-
variant:
|
|
775
|
-
}) :
|
|
776
|
-
onClick:
|
|
777
|
-
label:
|
|
778
|
-
variant:
|
|
1560
|
+
errorMessage: i.errorMessage,
|
|
1561
|
+
successMessage: i.successMessage,
|
|
1562
|
+
loadingState: i.loadingState,
|
|
1563
|
+
nextSteps: i.nextSteps,
|
|
1564
|
+
closeLabel: i.closeLabel,
|
|
1565
|
+
showIcon: i.showIcon,
|
|
1566
|
+
showConfirmation: i.showConfirmation,
|
|
1567
|
+
variant: i.variant
|
|
1568
|
+
}) : n(B, {
|
|
1569
|
+
onClick: i.onClick,
|
|
1570
|
+
label: i.label,
|
|
1571
|
+
variant: i.variant || "default",
|
|
779
1572
|
size: "md",
|
|
780
|
-
icon:
|
|
781
|
-
}),
|
|
782
|
-
return
|
|
783
|
-
ref:
|
|
784
|
-
...
|
|
785
|
-
primaryAction:
|
|
1573
|
+
icon: i.icon
|
|
1574
|
+
}), 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(fa, {
|
|
1576
|
+
ref: o,
|
|
1577
|
+
...a,
|
|
1578
|
+
primaryAction: l,
|
|
786
1579
|
secondaryAction: d,
|
|
787
|
-
children: [(
|
|
1580
|
+
children: [(t == null ? void 0 : t.variant) === "promote" && s(t), (r == null ? void 0 : r.variant) === "promote" && s(r)]
|
|
788
1581
|
});
|
|
789
1582
|
});
|
|
790
|
-
|
|
791
|
-
function
|
|
792
|
-
const [
|
|
793
|
-
|
|
794
|
-
},
|
|
795
|
-
if (
|
|
796
|
-
|
|
1583
|
+
vr.displayName = "UpsellingBanner";
|
|
1584
|
+
function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = pa, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: C = !1 }) {
|
|
1585
|
+
const [O, g] = F(!1), [b, w] = F(null), [S, y] = F(null), v = (P) => {
|
|
1586
|
+
t(P), A && A();
|
|
1587
|
+
}, L = async (P) => {
|
|
1588
|
+
if (P.type === "upsell") {
|
|
1589
|
+
y(P);
|
|
797
1590
|
try {
|
|
798
|
-
await
|
|
1591
|
+
await P.onClick(), P.showConfirmation && (g(!0), w("success"));
|
|
799
1592
|
} catch {
|
|
800
|
-
|
|
1593
|
+
g(!0), w("error");
|
|
801
1594
|
}
|
|
802
1595
|
}
|
|
803
|
-
},
|
|
804
|
-
|
|
805
|
-
},
|
|
806
|
-
...
|
|
807
|
-
onClick: () =>
|
|
808
|
-
} :
|
|
809
|
-
return
|
|
810
|
-
children: [
|
|
811
|
-
open:
|
|
812
|
-
onOpenChange:
|
|
813
|
-
children: [
|
|
1596
|
+
}, T = () => {
|
|
1597
|
+
w(null), g(!1), y(null), t(!1);
|
|
1598
|
+
}, E = e && !O, p = x == null ? void 0 : x.map((P) => P.type === "upsell" ? {
|
|
1599
|
+
...P,
|
|
1600
|
+
onClick: () => L(P)
|
|
1601
|
+
} : P);
|
|
1602
|
+
return N(ae, {
|
|
1603
|
+
children: [N(Me, {
|
|
1604
|
+
open: E,
|
|
1605
|
+
onOpenChange: v,
|
|
1606
|
+
children: [n(Be, {
|
|
814
1607
|
asChild: !0,
|
|
815
|
-
children:
|
|
816
|
-
variant:
|
|
817
|
-
label:
|
|
818
|
-
size:
|
|
819
|
-
icon:
|
|
820
|
-
onClick: () =>
|
|
821
|
-
hideLabel:
|
|
1608
|
+
children: n(B, {
|
|
1609
|
+
variant: a,
|
|
1610
|
+
label: r,
|
|
1611
|
+
size: o,
|
|
1612
|
+
icon: s ? i : void 0,
|
|
1613
|
+
onClick: () => t(e),
|
|
1614
|
+
hideLabel: C
|
|
822
1615
|
})
|
|
823
|
-
}),
|
|
824
|
-
side:
|
|
1616
|
+
}), n(Re, {
|
|
1617
|
+
side: l,
|
|
825
1618
|
align: d,
|
|
826
1619
|
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
827
|
-
children:
|
|
828
|
-
mediaUrl:
|
|
829
|
-
title:
|
|
830
|
-
description:
|
|
831
|
-
onClose: () =>
|
|
1620
|
+
children: n(hr, {
|
|
1621
|
+
mediaUrl: m,
|
|
1622
|
+
title: c,
|
|
1623
|
+
description: f,
|
|
1624
|
+
onClose: () => t(!1),
|
|
832
1625
|
dismissible: !1,
|
|
833
|
-
width:
|
|
1626
|
+
width: h,
|
|
834
1627
|
trackVisibility: u,
|
|
835
|
-
actions:
|
|
1628
|
+
actions: p,
|
|
836
1629
|
showConfirmation: !1
|
|
837
1630
|
})
|
|
838
1631
|
})]
|
|
839
|
-
}), (
|
|
1632
|
+
}), (S == null ? void 0 : S.type) === "upsell" && S.showConfirmation && b && n(Ye, {
|
|
840
1633
|
open: !0,
|
|
841
|
-
onClose:
|
|
842
|
-
success:
|
|
843
|
-
errorMessage:
|
|
844
|
-
successMessage:
|
|
845
|
-
nextSteps:
|
|
846
|
-
closeLabel:
|
|
1634
|
+
onClose: T,
|
|
1635
|
+
success: b === "success",
|
|
1636
|
+
errorMessage: S.errorMessage,
|
|
1637
|
+
successMessage: S.successMessage,
|
|
1638
|
+
nextSteps: S.nextSteps,
|
|
1639
|
+
closeLabel: S.closeLabel,
|
|
847
1640
|
portalContainer: null
|
|
848
1641
|
})]
|
|
849
1642
|
});
|
|
850
1643
|
}
|
|
851
|
-
const
|
|
852
|
-
const
|
|
853
|
-
return
|
|
854
|
-
|
|
855
|
-
}, []),
|
|
1644
|
+
const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
|
|
1645
|
+
const r = pe(null), [a, o] = F(r.current);
|
|
1646
|
+
return Ca(() => {
|
|
1647
|
+
o(r.current);
|
|
1648
|
+
}, []), n(yr.Provider, {
|
|
856
1649
|
value: {
|
|
857
|
-
element:
|
|
1650
|
+
element: a
|
|
858
1651
|
},
|
|
859
|
-
children:
|
|
860
|
-
ref:
|
|
1652
|
+
children: n("div", {
|
|
1653
|
+
ref: r,
|
|
861
1654
|
id: "f0-layout",
|
|
862
|
-
className:
|
|
863
|
-
"flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]":
|
|
1655
|
+
className: I({
|
|
1656
|
+
"flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": t
|
|
864
1657
|
}),
|
|
865
|
-
children:
|
|
1658
|
+
children: e
|
|
866
1659
|
})
|
|
867
1660
|
});
|
|
868
|
-
},
|
|
1661
|
+
}, gr = ({ children: e }) => n(Pa, {
|
|
869
1662
|
reducedMotion: "user",
|
|
870
|
-
children:
|
|
871
|
-
}),
|
|
872
|
-
children:
|
|
1663
|
+
children: e
|
|
1664
|
+
}), Wr = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(gr, {
|
|
1665
|
+
children: n(ma, {
|
|
873
1666
|
isDev: d,
|
|
874
|
-
showExperimentalWarnings:
|
|
875
|
-
children:
|
|
876
|
-
...
|
|
877
|
-
children:
|
|
878
|
-
...
|
|
879
|
-
children:
|
|
880
|
-
...
|
|
881
|
-
children:
|
|
882
|
-
...
|
|
883
|
-
children:
|
|
884
|
-
children:
|
|
885
|
-
initiallyEnabled:
|
|
886
|
-
children:
|
|
887
|
-
...
|
|
888
|
-
children:
|
|
889
|
-
handler:
|
|
890
|
-
children:
|
|
1667
|
+
showExperimentalWarnings: m,
|
|
1668
|
+
children: n(ha, {
|
|
1669
|
+
...l,
|
|
1670
|
+
children: n(va, {
|
|
1671
|
+
...s,
|
|
1672
|
+
children: n(ya, {
|
|
1673
|
+
...r,
|
|
1674
|
+
children: n(br, {
|
|
1675
|
+
...t,
|
|
1676
|
+
children: n(ba, {
|
|
1677
|
+
children: n(ga, {
|
|
1678
|
+
initiallyEnabled: a,
|
|
1679
|
+
children: n(xa, {
|
|
1680
|
+
...o,
|
|
1681
|
+
children: n(wa, {
|
|
1682
|
+
handler: i,
|
|
1683
|
+
children: e
|
|
891
1684
|
})
|
|
892
1685
|
})
|
|
893
1686
|
})
|
|
@@ -897,92 +1690,96 @@ const Ca = aa(null), wa = ({ children: a, fullScreen: r = !0 }) => {
|
|
|
897
1690
|
})
|
|
898
1691
|
})
|
|
899
1692
|
})
|
|
900
|
-
}),
|
|
901
|
-
get: async (
|
|
902
|
-
localStorage.getItem(
|
|
1693
|
+
}), Fe = (e) => `datacollection-${e}`, Gr = {
|
|
1694
|
+
get: async (e) => JSON.parse(
|
|
1695
|
+
localStorage.getItem(Fe(e)) ?? "{}"
|
|
903
1696
|
),
|
|
904
|
-
set: async (
|
|
905
|
-
localStorage.setItem(
|
|
1697
|
+
set: async (e, t) => {
|
|
1698
|
+
localStorage.setItem(Fe(e), JSON.stringify(t));
|
|
906
1699
|
}
|
|
907
1700
|
};
|
|
908
1701
|
export {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1702
|
+
Or as AreaChart,
|
|
1703
|
+
Hr as Await,
|
|
1704
|
+
kr as BarChart,
|
|
1705
|
+
B as Button,
|
|
1706
|
+
Lr as CategoryBarChart,
|
|
1707
|
+
Ir as ComboChart,
|
|
1708
|
+
Yr as CopyButton,
|
|
1709
|
+
Jr as DndProvider,
|
|
1710
|
+
Ur as EmojiImage,
|
|
1711
|
+
Xr as F0Avatar,
|
|
1712
|
+
Zr as F0AvatarAlert,
|
|
1713
|
+
Qr as F0AvatarCompany,
|
|
1714
|
+
en as F0AvatarDate,
|
|
1715
|
+
tn as F0AvatarEmoji,
|
|
1716
|
+
an as F0AvatarFile,
|
|
1717
|
+
rn as F0AvatarIcon,
|
|
1718
|
+
nn as F0AvatarList,
|
|
1719
|
+
Ve as F0AvatarModule,
|
|
1720
|
+
on as F0AvatarPerson,
|
|
1721
|
+
sn as F0AvatarTeam,
|
|
1722
|
+
ln as F0Card,
|
|
1723
|
+
cn as F0Checkbox,
|
|
1724
|
+
Er as F0ChipList,
|
|
1725
|
+
$r as F0DatePicker,
|
|
1726
|
+
un as F0EventCatcherProvider,
|
|
1727
|
+
ra as F0Icon,
|
|
1728
|
+
Wr as F0Provider,
|
|
1729
|
+
dn as F0TagAlert,
|
|
1730
|
+
fn as F0TagBalance,
|
|
1731
|
+
pn as F0TagCompany,
|
|
1732
|
+
mn as F0TagDot,
|
|
1733
|
+
hn as F0TagList,
|
|
1734
|
+
vn as F0TagPerson,
|
|
1735
|
+
aa as F0TagRaw,
|
|
1736
|
+
yn as F0TagStatus,
|
|
1737
|
+
bn as F0TagTeam,
|
|
1738
|
+
gn as GROUP_ID_SYMBOL,
|
|
1739
|
+
Rr as HomeLayout,
|
|
1740
|
+
Fr as LineChart,
|
|
1741
|
+
Sr as Link,
|
|
1742
|
+
xn as OneFilterPicker,
|
|
1743
|
+
Tr as PieChart,
|
|
1744
|
+
ga as PrivacyModeProvider,
|
|
1745
|
+
ut as ProductBlankslate,
|
|
1746
|
+
wn as ProductCard,
|
|
1747
|
+
zr as ProductModal,
|
|
1748
|
+
hr as ProductWidget,
|
|
1749
|
+
_r as ProgressBarChart,
|
|
1750
|
+
Mr as StandardLayout,
|
|
1751
|
+
Pn as TagCounter,
|
|
1752
|
+
Br as TwoColumnLayout,
|
|
1753
|
+
Ye as UpsellRequestResponseDialog,
|
|
1754
|
+
vr as UpsellingBanner,
|
|
1755
|
+
Je as UpsellingButton,
|
|
1756
|
+
Kr as UpsellingPopover,
|
|
1757
|
+
Dr as VerticalBarChart,
|
|
1758
|
+
Nr as avatarVariants,
|
|
1759
|
+
Cn as buildTranslations,
|
|
1760
|
+
Sn as createAtlaskitDriver,
|
|
1761
|
+
Nn as createDataSourceDefinition,
|
|
1762
|
+
Gr as dataCollectionLocalStorageHandler,
|
|
1763
|
+
jr as datepickerSizes,
|
|
1764
|
+
Cr as defaultTranslations,
|
|
1765
|
+
We as experimental,
|
|
1766
|
+
An as getAnimationVariants,
|
|
1767
|
+
On as getDataSourcePaginationType,
|
|
1768
|
+
kn as getEmojiLabel,
|
|
1769
|
+
Ln as isInfiniteScrollPagination,
|
|
1770
|
+
Fn as isPageBasedPagination,
|
|
1771
|
+
Tn as modules,
|
|
1772
|
+
Dn as predefinedPresets,
|
|
1773
|
+
_n as tagDotColors,
|
|
1774
|
+
In as useData,
|
|
1775
|
+
En as useDataSource,
|
|
1776
|
+
jn as useDndEvents,
|
|
1777
|
+
$n as useDraggable,
|
|
1778
|
+
Mn as useDroppableList,
|
|
1779
|
+
Bn as useEmojiConfetti,
|
|
1780
|
+
Rn as useGroups,
|
|
1781
|
+
zn as usePrivacyMode,
|
|
1782
|
+
Kn as useReducedMotion,
|
|
1783
|
+
Wn as useSelectable,
|
|
1784
|
+
Gn as useXRay
|
|
988
1785
|
};
|