@devtron-labs/devtron-fe-common-lib 1.21.0-pre-1 → 1.21.0-pre-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-Bk9fbaTc.js → @code-editor-CbjaXEDh.js} +7129 -7114
- package/dist/{@common-rjsf-BxSCSypB.js → @common-rjsf-D6L1dLHH.js} +22 -22
- package/dist/{@framer-motion-BbD0XILR.js → @framer-motion-LZK2bgCK.js} +61 -61
- package/dist/{@react-dates-DLCF81bK.js → @react-dates-CbpfVsC0.js} +1 -1
- package/dist/{@react-select-CK9Bxd-k.js → @react-select-BuPEYnTv.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-J61SX97M.js → @react-virtualized-sticky-tree-DX7VkyTZ.js} +1 -1
- package/dist/{@vendor-DEAetXNs.js → @vendor-BsABdDGm.js} +14677 -13807
- package/dist/Common/Constants.d.ts +0 -5
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +3 -1
- package/dist/Shared/Components/Table/types.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +9 -0
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +1 -1
- package/dist/Shared/Services/common.service.d.ts +1 -1
- package/dist/Shared/validations.d.ts +1 -1
- package/dist/index.d.ts +10 -5
- package/dist/index.js +355 -354
- package/package.json +3 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as n,
|
|
1
|
+
import { j as n, aM as v, aO as J, aN as K } from "./@vendor-BsABdDGm.js";
|
|
2
2
|
import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
|
|
3
3
|
import z, { getDefaultRegistry as Q } from "@rjsf/core";
|
|
4
|
-
import { T as O, j as
|
|
4
|
+
import { T as O, j as w, c as N, b as F, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-CbjaXEDh.js";
|
|
5
5
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
|
|
6
6
|
import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
|
|
7
7
|
import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
|
|
@@ -38,7 +38,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
38
38
|
}
|
|
39
39
|
) })
|
|
40
40
|
] });
|
|
41
|
-
},
|
|
41
|
+
}, S = ({
|
|
42
42
|
showLabel: e,
|
|
43
43
|
label: t,
|
|
44
44
|
required: s,
|
|
@@ -108,7 +108,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
108
108
|
registry: c
|
|
109
109
|
}
|
|
110
110
|
)
|
|
111
|
-
] }) : /* @__PURE__ */ n.jsx(
|
|
111
|
+
] }) : /* @__PURE__ */ n.jsx(S, { label: u, required: d, showLabel: !0, id: r.$id, children: /* @__PURE__ */ n.jsx(
|
|
112
112
|
A,
|
|
113
113
|
{
|
|
114
114
|
label: u,
|
|
@@ -200,7 +200,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
200
200
|
}
|
|
201
201
|
),
|
|
202
202
|
/* @__PURE__ */ n.jsx(
|
|
203
|
-
|
|
203
|
+
S,
|
|
204
204
|
{
|
|
205
205
|
label: s,
|
|
206
206
|
showLabel: j,
|
|
@@ -283,7 +283,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
283
283
|
e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([r, a]) => {
|
|
284
284
|
H(a, `${t}/${r}`, s);
|
|
285
285
|
}), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (s[t] = T(e.updatePath ?? t)));
|
|
286
|
-
},
|
|
286
|
+
}, Ne = (e) => {
|
|
287
287
|
const t = {};
|
|
288
288
|
return H(e, "", t), t;
|
|
289
289
|
}, M = (e, t, s) => {
|
|
@@ -299,7 +299,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
299
299
|
return delete a[r], a;
|
|
300
300
|
}
|
|
301
301
|
return e;
|
|
302
|
-
},
|
|
302
|
+
}, Se = (e, t) => {
|
|
303
303
|
if (!e || typeof e != "object" || Array.isArray(e))
|
|
304
304
|
throw new Error("Invalid object");
|
|
305
305
|
if (!t || !t.startsWith("/"))
|
|
@@ -317,33 +317,33 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
317
317
|
return;
|
|
318
318
|
const l = v({
|
|
319
319
|
json: t,
|
|
320
|
-
path:
|
|
320
|
+
path: N(a),
|
|
321
321
|
resultType: "value",
|
|
322
322
|
wrap: !1
|
|
323
323
|
});
|
|
324
|
-
l === void 0 ? r =
|
|
324
|
+
l === void 0 ? r = Se(r, a) : r = w([F(a, l), r]);
|
|
325
325
|
const o = v({
|
|
326
326
|
json: e,
|
|
327
|
-
path:
|
|
327
|
+
path: N(a),
|
|
328
328
|
resultType: "value",
|
|
329
329
|
wrap: !1
|
|
330
330
|
});
|
|
331
|
-
o !== void 0 && (r =
|
|
331
|
+
o !== void 0 && (r = w([F(i, o), r]));
|
|
332
332
|
}), t && r ? J(t, K(t, r), !1, !1).newDocument : r);
|
|
333
|
-
},
|
|
333
|
+
}, we = ({ formData: e, schemaPathToUpdatePathMap: t }) => w([
|
|
334
334
|
...Object.entries(t).map(([s, r]) => {
|
|
335
335
|
if (s === r || !r)
|
|
336
336
|
return {};
|
|
337
337
|
const a = v({
|
|
338
338
|
json: e,
|
|
339
|
-
path:
|
|
339
|
+
path: N(r),
|
|
340
340
|
resultType: "value",
|
|
341
341
|
wrap: !1
|
|
342
342
|
});
|
|
343
|
-
return a === void 0 ? {} :
|
|
343
|
+
return a === void 0 ? {} : F(s, a);
|
|
344
344
|
}),
|
|
345
345
|
structuredClone(e)
|
|
346
|
-
]),
|
|
346
|
+
]), Fe = ({
|
|
347
347
|
disabled: e,
|
|
348
348
|
formData: t,
|
|
349
349
|
idSchema: s,
|
|
@@ -376,7 +376,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
376
376
|
if (!_.path)
|
|
377
377
|
throw new Error("Empty path property of hidden descriptor field");
|
|
378
378
|
const y = v({
|
|
379
|
-
path:
|
|
379
|
+
path: N(_.path),
|
|
380
380
|
json: m,
|
|
381
381
|
resultType: "value",
|
|
382
382
|
wrap: !1
|
|
@@ -388,7 +388,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
388
388
|
}).map((p) => p.content);
|
|
389
389
|
return h ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
390
390
|
/* @__PURE__ */ n.jsx(
|
|
391
|
-
|
|
391
|
+
S,
|
|
392
392
|
{
|
|
393
393
|
label: d,
|
|
394
394
|
required: o,
|
|
@@ -399,7 +399,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
399
399
|
}
|
|
400
400
|
),
|
|
401
401
|
u
|
|
402
|
-
] }) : /* @__PURE__ */ n.jsx(
|
|
402
|
+
] }) : /* @__PURE__ */ n.jsx(S, { label: d, required: o, showLabel: !0, id: s.$id, children: u }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
403
403
|
x,
|
|
404
404
|
u
|
|
405
405
|
] });
|
|
@@ -422,7 +422,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
422
422
|
"div",
|
|
423
423
|
{
|
|
424
424
|
className: `${a.properties && !c && t.$id !== "root" ? "dc__border-left pl-12" : ""} ${t.$id === "root" ? "dc__separated-flexbox dc__separated-flexbox--vertical" : "flexbox-col dc__gap-8"}`,
|
|
425
|
-
children: /* @__PURE__ */ n.jsx(
|
|
425
|
+
children: /* @__PURE__ */ n.jsx(Fe, { ...e })
|
|
426
426
|
}
|
|
427
427
|
)
|
|
428
428
|
] });
|
|
@@ -542,12 +542,12 @@ import './assets/@common-rjsf.css';const P = {
|
|
|
542
542
|
WrapIfAdditionalTemplate: Pe
|
|
543
543
|
}, Ie = z, De = ne, qe = G((e, t) => {
|
|
544
544
|
const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = E(() => {
|
|
545
|
-
const o =
|
|
545
|
+
const o = Ne(e.schema);
|
|
546
546
|
return {
|
|
547
547
|
schemaPathToUpdatePathMap: o,
|
|
548
548
|
isUpdatePathKeywordPresent: Object.entries(o).some(([c, d]) => c !== d)
|
|
549
549
|
};
|
|
550
|
-
}, [e.schema]), a = E(() => r ?
|
|
550
|
+
}, [e.schema]), a = E(() => r ? we({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: s }) : e.formData, [e.formData, s, r]), i = (o) => {
|
|
551
551
|
if (!e.onChange)
|
|
552
552
|
return;
|
|
553
553
|
const c = D({
|
|
@@ -598,7 +598,7 @@ export {
|
|
|
598
598
|
Je as H,
|
|
599
599
|
qe as R,
|
|
600
600
|
Ke as a,
|
|
601
|
-
|
|
601
|
+
Ne as b,
|
|
602
602
|
T as c,
|
|
603
603
|
Ve as g
|
|
604
604
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aY as m, aZ as lt, a_ as R, a$ as Zr, b0 as Le, b1 as oe, b2 as T, b3 as $e, b4 as at, b5 as Kt, b6 as Q, b7 as $r, b8 as oi, b9 as si, ba as ui, bb as li, bc as fi, bd as ci, be as vi, bf as di, bg as qr, bh as pi, bi as hi, bj as mi, bk as gi, bl as yi, bm as Jr, bn as Pt, bo as he, bp as X, bq as bi, br as Qr, bs as z, bt as tn, bu as me, bv as Z, bw as Pi, bx as Ot, by as Vi, bz as Ti, bA as en, bB as Ft, bC as O, bD as ge, bE as Si, bF as se, bG as xi, bH as Ci } from "./@vendor-BsABdDGm.js";
|
|
2
2
|
import * as Y from "react";
|
|
3
3
|
import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
|
|
4
4
|
var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
|
|
@@ -156,7 +156,7 @@ function ne(t) {
|
|
|
156
156
|
function un(t) {
|
|
157
157
|
return !!(ne(t) || t.variants);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Gi(t, e) {
|
|
160
160
|
if (ne(t)) {
|
|
161
161
|
var r = t.initial, n = t.animate;
|
|
162
162
|
return {
|
|
@@ -166,8 +166,8 @@ function Ki(t, e) {
|
|
|
166
166
|
}
|
|
167
167
|
return t.inherit !== !1 ? e : {};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
var e =
|
|
169
|
+
function Ki(t) {
|
|
170
|
+
var e = Gi(t, F(ee)), r = e.initial, n = e.animate;
|
|
171
171
|
return Vt(function() {
|
|
172
172
|
return { initial: r, animate: n };
|
|
173
173
|
}, [Je(r), Je(n)]);
|
|
@@ -244,7 +244,7 @@ function Zi(t) {
|
|
|
244
244
|
function a(u, l) {
|
|
245
245
|
var f = $i(u);
|
|
246
246
|
u = m(m({}, u), { layoutId: f });
|
|
247
|
-
var v = F(_t), c = null, d =
|
|
247
|
+
var v = F(_t), c = null, d = Ki(u), p = v.isStatic ? void 0 : ki(), h = s(u, v.isStatic);
|
|
248
248
|
return !v.isStatic && xt && (d.visualElement = _i(o, h, m(m({}, v), u), r), Xi(p, u, d.visualElement, n || jt.projectionNodeConstructor), c = Oi(u, d.visualElement, e)), Y.createElement(
|
|
249
249
|
Wi,
|
|
250
250
|
{ visualElement: d.visualElement, props: m(m({}, v), u) },
|
|
@@ -413,10 +413,10 @@ var sa = function(t, e) {
|
|
|
413
413
|
rotateX: at,
|
|
414
414
|
rotateY: at,
|
|
415
415
|
rotateZ: at,
|
|
416
|
-
scale:
|
|
417
|
-
scaleX:
|
|
418
|
-
scaleY:
|
|
419
|
-
scaleZ:
|
|
416
|
+
scale: Kt,
|
|
417
|
+
scaleX: Kt,
|
|
418
|
+
scaleY: Kt,
|
|
419
|
+
scaleZ: Kt,
|
|
420
420
|
skew: at,
|
|
421
421
|
skewX: at,
|
|
422
422
|
skewY: at,
|
|
@@ -951,21 +951,21 @@ function za(t) {
|
|
|
951
951
|
isInView: !1
|
|
952
952
|
}), u = !!(r || n || i);
|
|
953
953
|
o.once && a.current.hasEnteredView && (u = !1);
|
|
954
|
-
var l = typeof IntersectionObserver > "u" ? Ya :
|
|
954
|
+
var l = typeof IntersectionObserver > "u" ? Ya : Ka;
|
|
955
955
|
l(u, a.current, e, o);
|
|
956
956
|
}
|
|
957
|
-
var
|
|
957
|
+
var Ga = {
|
|
958
958
|
some: 0,
|
|
959
959
|
all: 1
|
|
960
960
|
};
|
|
961
|
-
function
|
|
961
|
+
function Ka(t, e, r, n) {
|
|
962
962
|
var i = n.root, s = n.margin, o = n.amount, a = o === void 0 ? "some" : o, u = n.once;
|
|
963
963
|
N(function() {
|
|
964
964
|
if (t) {
|
|
965
965
|
var l = {
|
|
966
966
|
root: i?.current,
|
|
967
967
|
rootMargin: s,
|
|
968
|
-
threshold: typeof a == "number" ? a :
|
|
968
|
+
threshold: typeof a == "number" ? a : Ga[a]
|
|
969
969
|
}, f = function(v) {
|
|
970
970
|
var c, d = v.isIntersecting;
|
|
971
971
|
if (e.isInView !== d && (e.isInView = d, !(u && !d && e.hasEnteredView))) {
|
|
@@ -1120,7 +1120,7 @@ var Qt = function(t) {
|
|
|
1120
1120
|
}), ze = function(t) {
|
|
1121
1121
|
return Ja[t];
|
|
1122
1122
|
};
|
|
1123
|
-
function
|
|
1123
|
+
function Ge(t, e) {
|
|
1124
1124
|
var r, n = ze(t);
|
|
1125
1125
|
return n !== he && (n = Pt), (r = n.getAnimatableNone) === null || r === void 0 ? void 0 : r.call(n, e);
|
|
1126
1126
|
}
|
|
@@ -1135,7 +1135,7 @@ function to(t) {
|
|
|
1135
1135
|
return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
|
|
1136
1136
|
}
|
|
1137
1137
|
function eo(t, e) {
|
|
1138
|
-
var r, n, i =
|
|
1138
|
+
var r, n, i = Ke(t, e) || {};
|
|
1139
1139
|
return (n = (r = i.delay) !== null && r !== void 0 ? r : t.delay) !== null && n !== void 0 ? n : 0;
|
|
1140
1140
|
}
|
|
1141
1141
|
function ro(t) {
|
|
@@ -1146,8 +1146,8 @@ function no(t, e, r) {
|
|
|
1146
1146
|
return Array.isArray(e.to) && ((n = t.duration) !== null && n !== void 0 || (t.duration = 0.8)), ro(e), Qa(t) || (t = m(m({}, t), qa(r, e.to))), m(m({}, e), to(t));
|
|
1147
1147
|
}
|
|
1148
1148
|
function io(t, e, r, n, i) {
|
|
1149
|
-
var s, o =
|
|
1150
|
-
a === "none" && u && typeof r == "string" ? a =
|
|
1149
|
+
var s, o = Ke(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
|
|
1150
|
+
a === "none" && u && typeof r == "string" ? a = Ge(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
|
|
1151
1151
|
var l = ur(t, a);
|
|
1152
1152
|
tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
|
|
1153
1153
|
function f() {
|
|
@@ -1179,9 +1179,9 @@ function cr(t) {
|
|
|
1179
1179
|
return t === 0 || typeof t == "string" && parseFloat(t) === 0 && t.indexOf(" ") === -1;
|
|
1180
1180
|
}
|
|
1181
1181
|
function vr(t) {
|
|
1182
|
-
return typeof t == "number" ? 0 :
|
|
1182
|
+
return typeof t == "number" ? 0 : Ge("", t);
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function Ke(t, e) {
|
|
1185
1185
|
return t[e] || t.default || t;
|
|
1186
1186
|
}
|
|
1187
1187
|
function Ye(t, e, r, n) {
|
|
@@ -1343,7 +1343,7 @@ function ho(t, e, r) {
|
|
|
1343
1343
|
if (u)
|
|
1344
1344
|
for (var l = 0; l < u; l++) {
|
|
1345
1345
|
var f = a[l], v = e[f], c = null;
|
|
1346
|
-
Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c =
|
|
1346
|
+
Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ge(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
1349
1349
|
function mo(t, e) {
|
|
@@ -1475,26 +1475,26 @@ function Co(t) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
function u(f, v) {
|
|
1477
1477
|
for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(D) {
|
|
1478
|
-
var x = To[D], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x],
|
|
1478
|
+
var x = To[D], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x], G = W(M), B = x === v ? w.isActive : null;
|
|
1479
1479
|
B === !1 && (P = D);
|
|
1480
|
-
var H = M === p[x] && M !== d[x] &&
|
|
1480
|
+
var H = M === p[x] && M !== d[x] && G;
|
|
1481
1481
|
if (H && i && t.manuallyAnimateOnMount && (H = !1), w.protectedKeys = m({}, b), // If it isn't active and hasn't *just* been set as inactive
|
|
1482
1482
|
!w.isActive && B === null || // If we didn't and don't have any defined prop for this animation type
|
|
1483
1483
|
!M && !w.prevProp || // Or if the prop doesn't define an animation
|
|
1484
1484
|
_e(M) || typeof M == "boolean")
|
|
1485
1485
|
return "continue";
|
|
1486
1486
|
var rt = Ao(w.prevProp, M), nt = rt || // If we're making this variant active, we want to always make it active
|
|
1487
|
-
x === v && w.isActive && !H &&
|
|
1488
|
-
D > P &&
|
|
1489
|
-
B === !1 && (
|
|
1490
|
-
var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt),
|
|
1487
|
+
x === v && w.isActive && !H && G || // If we removed a higher-priority variant (i is in reverse order)
|
|
1488
|
+
D > P && G, it = Array.isArray(M) ? M : [M], K = it.reduce(s, {});
|
|
1489
|
+
B === !1 && (K = {});
|
|
1490
|
+
var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), K), ht = function(V) {
|
|
1491
1491
|
nt = !0, g.delete(V), w.needsAnimating[V] = !0;
|
|
1492
1492
|
};
|
|
1493
1493
|
for (var _ in zt) {
|
|
1494
|
-
var E =
|
|
1494
|
+
var E = K[_], y = pt[_];
|
|
1495
1495
|
b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !Fn(E, y) || rt ? ht(_) : w.protectedKeys[_] = !0 : E !== void 0 ? ht(_) : g.add(_) : E !== void 0 && g.has(_) ? ht(_) : w.protectedKeys[_] = !0);
|
|
1496
1496
|
}
|
|
1497
|
-
w.prevProp = M, w.prevResolvedValues =
|
|
1497
|
+
w.prevProp = M, w.prevResolvedValues = K, w.isActive && (b = m(m({}, b), K)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
|
|
1498
1498
|
return {
|
|
1499
1499
|
animation: V,
|
|
1500
1500
|
options: m({ type: x }, f)
|
|
@@ -1767,12 +1767,12 @@ function _o(t, e) {
|
|
|
1767
1767
|
function ve(t) {
|
|
1768
1768
|
return t === void 0 || t === 1;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function Gn(t) {
|
|
1771
1771
|
var e = t.scale, r = t.scaleX, n = t.scaleY;
|
|
1772
1772
|
return !ve(e) || !ve(r) || !ve(n);
|
|
1773
1773
|
}
|
|
1774
1774
|
function ot(t) {
|
|
1775
|
-
return
|
|
1775
|
+
return Gn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
|
|
1776
1776
|
}
|
|
1777
1777
|
function xr(t) {
|
|
1778
1778
|
return t && t !== "0%";
|
|
@@ -1787,7 +1787,7 @@ function Cr(t, e, r, n, i) {
|
|
|
1787
1787
|
function Ae(t, e, r, n, i) {
|
|
1788
1788
|
e === void 0 && (e = 0), r === void 0 && (r = 1), t.min = Cr(t.min, e, r, n, i), t.max = Cr(t.max, e, r, n, i);
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1790
|
+
function Kn(t, e) {
|
|
1791
1791
|
var r = e.x, n = e.y;
|
|
1792
1792
|
Ae(t.x, r.translate, r.scale, r.originPoint), Ae(t.y, n.translate, n.scale, n.originPoint);
|
|
1793
1793
|
}
|
|
@@ -1798,7 +1798,7 @@ function No(t, e, r, n) {
|
|
|
1798
1798
|
if (o) {
|
|
1799
1799
|
e.x = e.y = 1;
|
|
1800
1800
|
for (var a, u, l = 0; l < o; l++)
|
|
1801
|
-
a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale,
|
|
1801
|
+
a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Kn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
function st(t, e) {
|
|
@@ -1815,11 +1815,11 @@ function yt(t, e) {
|
|
|
1815
1815
|
function Yn(t, e) {
|
|
1816
1816
|
return zn(_o(t.getBoundingClientRect(), e));
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function Go(t, e, r) {
|
|
1819
1819
|
var n = Yn(t, r), i = e.scroll;
|
|
1820
1820
|
return i && (st(n.x, i.x), st(n.y, i.y)), n;
|
|
1821
1821
|
}
|
|
1822
|
-
var
|
|
1822
|
+
var Ko = /* @__PURE__ */ new WeakMap(), Yo = (
|
|
1823
1823
|
/** @class */
|
|
1824
1824
|
function() {
|
|
1825
1825
|
function t(e) {
|
|
@@ -1896,7 +1896,7 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
|
|
|
1896
1896
|
var s = this.visualElement.projection;
|
|
1897
1897
|
if (!s || !s.layout)
|
|
1898
1898
|
return !1;
|
|
1899
|
-
var o =
|
|
1899
|
+
var o = Go(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
|
|
1900
1900
|
if (n) {
|
|
1901
1901
|
var u = n(Uo(a));
|
|
1902
1902
|
this.hasMutatedConstraints = !!u, u && (a = zn(u));
|
|
@@ -1958,7 +1958,7 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
|
|
|
1958
1958
|
}
|
|
1959
1959
|
}, t.prototype.addListeners = function() {
|
|
1960
1960
|
var e = this, r;
|
|
1961
|
-
|
|
1961
|
+
Ko.set(this.visualElement, this);
|
|
1962
1962
|
var n = this.visualElement.getInstance(), i = bt(n, "pointerdown", function(l) {
|
|
1963
1963
|
var f = e.getProps(), v = f.drag, c = f.dragListener, d = c === void 0 ? !0 : c;
|
|
1964
1964
|
v && d && e.start(l);
|
|
@@ -2091,7 +2091,7 @@ var kn = function(t) {
|
|
|
2091
2091
|
return function(c, d) {
|
|
2092
2092
|
var p = c.parent, h = c.props, g = c.presenceId, b = c.blockInitialAnimation, P = c.visualState, S = c.shouldReduceMotion;
|
|
2093
2093
|
d === void 0 && (d = {});
|
|
2094
|
-
var C = !1, A = P.latestValues, I = P.renderState, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(),
|
|
2094
|
+
var C = !1, A = P.latestValues, I = P.renderState, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), G = {}, B = m({}, A), H;
|
|
2095
2095
|
function rt() {
|
|
2096
2096
|
!D || !C || (nt(), a(D, I, h.style, E.projection));
|
|
2097
2097
|
}
|
|
@@ -2101,9 +2101,9 @@ var kn = function(t) {
|
|
|
2101
2101
|
function it() {
|
|
2102
2102
|
x.notifyUpdate(A);
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2105
|
-
var U = V.onChange(function(
|
|
2106
|
-
A[y] =
|
|
2104
|
+
function K(y, V) {
|
|
2105
|
+
var U = V.onChange(function(Gt) {
|
|
2106
|
+
A[y] = Gt, h.onUpdate && Z.update(it, !1, !0);
|
|
2107
2107
|
}), At = V.onRenderRequest(E.scheduleRender);
|
|
2108
2108
|
M.set(y, function() {
|
|
2109
2109
|
U(), At();
|
|
@@ -2169,7 +2169,7 @@ var kn = function(t) {
|
|
|
2169
2169
|
},
|
|
2170
2170
|
mount: function(y) {
|
|
2171
2171
|
C = !0, D = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
|
|
2172
|
-
return
|
|
2172
|
+
return K(U, V);
|
|
2173
2173
|
}), p?.children.add(E), E.setProps(h);
|
|
2174
2174
|
},
|
|
2175
2175
|
/**
|
|
@@ -2260,7 +2260,7 @@ var kn = function(t) {
|
|
|
2260
2260
|
* Add a motion value and bind it to this visual element.
|
|
2261
2261
|
*/
|
|
2262
2262
|
addValue: function(y, V) {
|
|
2263
|
-
E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(),
|
|
2263
|
+
E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), K(y, V);
|
|
2264
2264
|
},
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Remove a motion value and unbind any active subscriptions.
|
|
@@ -2342,7 +2342,7 @@ var kn = function(t) {
|
|
|
2342
2342
|
* added to our map, old ones removed, and listeners updated.
|
|
2343
2343
|
*/
|
|
2344
2344
|
setProps: function(y) {
|
|
2345
|
-
(y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y),
|
|
2345
|
+
(y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), G = qo(E, v(h), G);
|
|
2346
2346
|
},
|
|
2347
2347
|
getProps: function() {
|
|
2348
2348
|
return h;
|
|
@@ -2375,8 +2375,8 @@ var kn = function(t) {
|
|
|
2375
2375
|
return h.initial !== void 0 && (V.initial = h.initial), V;
|
|
2376
2376
|
}
|
|
2377
2377
|
for (var U = {}, At = 0; At < Jo; At++) {
|
|
2378
|
-
var
|
|
2379
|
-
(W(ae) || ae === !1) && (U[
|
|
2378
|
+
var Gt = Xn[At], ae = h[Gt];
|
|
2379
|
+
(W(ae) || ae === !1) && (U[Gt] = ae);
|
|
2380
2380
|
}
|
|
2381
2381
|
return U;
|
|
2382
2382
|
}
|
|
@@ -2910,11 +2910,11 @@ function ri(t) {
|
|
|
2910
2910
|
l.target = void 0, l.relativeTarget = void 0;
|
|
2911
2911
|
return;
|
|
2912
2912
|
}
|
|
2913
|
-
var
|
|
2913
|
+
var G = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Gs, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, M) || w, it = !x && w;
|
|
2914
2914
|
if (!((C = l.resumeFrom) === null || C === void 0) && C.instance || it || x && (nt || !l.currentAnimation)) {
|
|
2915
2915
|
l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(D, it);
|
|
2916
|
-
var
|
|
2917
|
-
p.shouldReduceMotion && (
|
|
2916
|
+
var K = m(m({}, Ke(G, "layout")), { onPlay: H, onComplete: rt });
|
|
2917
|
+
p.shouldReduceMotion && (K.delay = 0, K.type = !1), l.startAnimation(K);
|
|
2918
2918
|
} else
|
|
2919
2919
|
!x && l.animationProgress === 0 && l.finishAnimation(), l.isLead() && ((I = (A = l.options).onExitComplete) === null || I === void 0 || I.call(A));
|
|
2920
2920
|
l.targetLayout = M;
|
|
@@ -2956,10 +2956,10 @@ function ri(t) {
|
|
|
2956
2956
|
}, o.prototype.didUpdate = function() {
|
|
2957
2957
|
var a = this.isUpdateBlocked();
|
|
2958
2958
|
if (a) {
|
|
2959
|
-
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(
|
|
2959
|
+
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Gr);
|
|
2960
2960
|
return;
|
|
2961
2961
|
}
|
|
2962
|
-
this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(
|
|
2962
|
+
this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ks), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ms), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
|
|
2963
2963
|
}, o.prototype.clearAllSnapshots = function() {
|
|
2964
2964
|
this.nodes.forEach(Os), this.sharedNodes.forEach(Ns);
|
|
2965
2965
|
}, o.prototype.scheduleUpdateProjection = function() {
|
|
@@ -3041,7 +3041,7 @@ function ri(t) {
|
|
|
3041
3041
|
for (var f = 0; f < this.path.length; f++) {
|
|
3042
3042
|
var v = this.path[f];
|
|
3043
3043
|
if (v.instance && ot(v.latestValues)) {
|
|
3044
|
-
|
|
3044
|
+
Gn(v.latestValues) && v.updateSnapshot();
|
|
3045
3045
|
var c = j(), d = v.measure();
|
|
3046
3046
|
k(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
|
|
3047
3047
|
}
|
|
@@ -3056,7 +3056,7 @@ function ri(t) {
|
|
|
3056
3056
|
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
|
3057
3057
|
}, o.prototype.resolveTargetDelta = function() {
|
|
3058
3058
|
var a, u = this.options, l = u.layout, f = u.layoutId;
|
|
3059
|
-
!this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), k(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Do(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : k(this.target, this.layout.actual),
|
|
3059
|
+
!this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), k(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Do(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : k(this.target, this.layout.actual), Kn(this.target, this.targetDelta)) : k(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.target, this.relativeParent.target), k(this.relativeTarget, this.relativeTargetOrigin)))));
|
|
3060
3060
|
}, o.prototype.getClosestProjectingParent = function() {
|
|
3061
3061
|
if (!(!this.parent || ot(this.parent.latestValues)))
|
|
3062
3062
|
return (this.parent.relativeTarget || this.parent.targetDelta) && this.parent.layout ? this.parent : this.parent.getClosestProjectingParent();
|
|
@@ -3087,7 +3087,7 @@ function ri(t) {
|
|
|
3087
3087
|
var h = j(), g = v?.isShared, b = (((f = this.getStack()) === null || f === void 0 ? void 0 : f.members.length) || 0) <= 1, P = !!(g && !b && this.options.crossfade === !0 && !this.path.some(zs));
|
|
3088
3088
|
this.animationProgress = 0, this.mixTargetDelta = function(S) {
|
|
3089
3089
|
var C, A = S / 1e3;
|
|
3090
|
-
|
|
3090
|
+
Kr(p.x, a.x, A), Kr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Mt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
|
|
3091
3091
|
}, this.mixTargetDelta(0);
|
|
3092
3092
|
}, o.prototype.startAnimation = function(a) {
|
|
3093
3093
|
var u = this, l, f;
|
|
@@ -3176,7 +3176,7 @@ function ri(t) {
|
|
|
3176
3176
|
if (P[I] !== void 0) {
|
|
3177
3177
|
var D = $t[I], x = D.correct, w = D.applyTo, M = x(P[I], g);
|
|
3178
3178
|
if (w)
|
|
3179
|
-
for (var
|
|
3179
|
+
for (var G = w.length, B = 0; B < G; B++)
|
|
3180
3180
|
p[w[B]] = M;
|
|
3181
3181
|
else
|
|
3182
3182
|
p[I] = M;
|
|
@@ -3188,7 +3188,7 @@ function ri(t) {
|
|
|
3188
3188
|
this.root.nodes.forEach(function(a) {
|
|
3189
3189
|
var u;
|
|
3190
3190
|
return (u = a.currentAnimation) === null || u === void 0 ? void 0 : u.stop();
|
|
3191
|
-
}), this.root.nodes.forEach(
|
|
3191
|
+
}), this.root.nodes.forEach(Gr), this.root.sharedNodes.clear();
|
|
3192
3192
|
}, o;
|
|
3193
3193
|
}()
|
|
3194
3194
|
);
|
|
@@ -3235,7 +3235,7 @@ function Is(t) {
|
|
|
3235
3235
|
function Os(t) {
|
|
3236
3236
|
t.clearSnapshot();
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function Gr(t) {
|
|
3239
3239
|
t.clearMeasurements();
|
|
3240
3240
|
}
|
|
3241
3241
|
function Fs(t) {
|
|
@@ -3257,7 +3257,7 @@ function _s(t) {
|
|
|
3257
3257
|
function Ns(t) {
|
|
3258
3258
|
t.removeLeadSnapshot();
|
|
3259
3259
|
}
|
|
3260
|
-
function
|
|
3260
|
+
function Kr(t, e, r) {
|
|
3261
3261
|
t.translate = O(e.translate, 0, r), t.scale = O(e.scale, 1, r), t.origin = e.origin, t.originPoint = e.originPoint;
|
|
3262
3262
|
}
|
|
3263
3263
|
function Yr(t, e, r, n) {
|
|
@@ -3269,11 +3269,11 @@ function Hs(t, e, r, n) {
|
|
|
3269
3269
|
function zs(t) {
|
|
3270
3270
|
return t.animationValues && t.animationValues.opacityExit !== void 0;
|
|
3271
3271
|
}
|
|
3272
|
-
var
|
|
3272
|
+
var Gs = {
|
|
3273
3273
|
duration: 0.45,
|
|
3274
3274
|
ease: [0.4, 0, 0.1, 1]
|
|
3275
3275
|
};
|
|
3276
|
-
function
|
|
3276
|
+
function Ks(t, e) {
|
|
3277
3277
|
for (var r = t.root, n = t.path.length - 1; n >= 0; n--)
|
|
3278
3278
|
if (t.path[n].instance) {
|
|
3279
3279
|
r = t.path[n];
|
|
@@ -3431,7 +3431,7 @@ var uu = function(t) {
|
|
|
3431
3431
|
if (C.indexOf(x) === -1) {
|
|
3432
3432
|
var w = b.get(x);
|
|
3433
3433
|
if (w) {
|
|
3434
|
-
var M = S.indexOf(x),
|
|
3434
|
+
var M = S.indexOf(x), G = function() {
|
|
3435
3435
|
b.delete(x), h.delete(x);
|
|
3436
3436
|
var B = g.current.findIndex(function(H) {
|
|
3437
3437
|
return H.key === x;
|
|
@@ -3442,7 +3442,7 @@ var uu = function(t) {
|
|
|
3442
3442
|
f(), s && s();
|
|
3443
3443
|
}
|
|
3444
3444
|
};
|
|
3445
|
-
p.splice(M, 0, Y.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete:
|
|
3445
|
+
p.splice(M, 0, Y.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: G, custom: r, presenceAffectsLayout: u }, w));
|
|
3446
3446
|
}
|
|
3447
3447
|
}
|
|
3448
3448
|
}), p = p.map(function(x) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Te from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { bI as he, bJ as Ke, bK as we, bL as cn, bM as Le, bN as Je, bO as tt, bP as at, bQ as et, bR as lt, bS as nt, bT as so, bU as fn, bV as uo, bW as bt, bX as ei, bY as hn, bZ as co, b_ as fo, b$ as ho, c0 as vn, c1 as Fe, c2 as pn, c3 as ti, c4 as wn, c5 as ai, c6 as ni, c7 as ri, c8 as Rt, c9 as oi, ca as ii, cb as li } from "./@vendor-BsABdDGm.js";
|
|
3
3
|
import { r as Ne, h as si, g as di } from "./@moment-CGWt8tF2.js";
|
|
4
4
|
import './assets/@react-dates.css';var Wt = {}, jt = {}, zt = {}, Nn;
|
|
5
5
|
function Ve() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cc as xt, cd as v, c0 as re, ce as h, c7 as f, cf as Y, cg as U, ch as xe, ci as Bt, cj as Ue, ck as Ft, cl as Vt, cm as Et, cn as yt, co as Wt, cp as Xt, cq as ne, cr as Zt } from "./@vendor-BsABdDGm.js";
|
|
2
2
|
import * as y from "react";
|
|
3
3
|
import { useRef as j, useState as ee, useMemo as q, useCallback as D, createContext as Nt, useContext as St, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
|
|
4
4
|
import { createPortal as Tt } from "react-dom";
|
|
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
|
|
|
2
2
|
var E = (a, h, e) => h in a ? v(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
|
|
3
3
|
var f = (a, h, e) => E(a, typeof h != "symbol" ? h + "" : h, e);
|
|
4
4
|
import u, { createRef as k } from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { cs as x } from "./@vendor-BsABdDGm.js";
|
|
6
6
|
const b = () => typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor) ? "-webkit-sticky" : "sticky";
|
|
7
7
|
var g;
|
|
8
8
|
(function(a) {
|