@spscommerce/ds-react 8.13.0 → 8.14.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/lib/index.cjs.js +26 -26
- package/lib/index.es.js +109 -106
- package/lib/tile-list/SpsTile.d.ts +1 -0
- package/package.json +12 -12
package/lib/index.es.js
CHANGED
|
@@ -6,7 +6,7 @@ var Lg = (e, t, n) => t in e ? Og(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Gt = (e, t, n) => Lg(e, typeof t != "symbol" ? t + "" : t, n), Fl = (e, t, n) => t.has(e) || Bl("Cannot " + n);
|
|
7
7
|
var Hn = (e, t, n) => (Fl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Rs = (e, t, n) => t.has(e) ? Bl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Sn = (e, t, n, r) => (Fl(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
8
8
|
import * as s from "react";
|
|
9
|
-
import q, { useRef as fe, useEffect as We, useState as qe, useCallback as
|
|
9
|
+
import q, { useRef as fe, useEffect as We, useState as qe, useCallback as At, useMemo as et, createContext as Od, useContext as nn, useReducer as Jo, useLayoutEffect as Ld } from "react";
|
|
10
10
|
import { getPath as zr, setPath as Rg, deepFreeze as Vl, diff as Pg, DiffChange as Wn, debounce as Ag, flatten as Bg, code as y, crumblePath as Fg, traversePath as Vg, forEachNestedObject as $g, constrain as Kg, lockToAnimationFrames as Hg } from "@spscommerce/utils";
|
|
11
11
|
import * as Er from "moment-timezone";
|
|
12
12
|
import gt from "moment-timezone";
|
|
@@ -688,7 +688,7 @@ function qb(e, t = {}) {
|
|
|
688
688
|
zb(e);
|
|
689
689
|
const [, n] = qe({}), r = fe(!1);
|
|
690
690
|
r.current = !1;
|
|
691
|
-
const a = fe(t), o =
|
|
691
|
+
const a = fe(t), o = At((h) => {
|
|
692
692
|
var E, T;
|
|
693
693
|
const S = u.current;
|
|
694
694
|
let v;
|
|
@@ -811,9 +811,9 @@ function qb(e, t = {}) {
|
|
|
811
811
|
...S,
|
|
812
812
|
formValue: v || S.formValue
|
|
813
813
|
}, r.current || n({});
|
|
814
|
-
}, []), l =
|
|
814
|
+
}, []), l = At((h, S) => {
|
|
815
815
|
h || S ? o({ value: h, updateFormOptions: S }) : o();
|
|
816
|
-
}, [o]), c =
|
|
816
|
+
}, [o]), c = At((h, S, v = !1, E, T = !1) => {
|
|
817
817
|
h ? o({
|
|
818
818
|
path: h,
|
|
819
819
|
value: S,
|
|
@@ -825,9 +825,9 @@ function qb(e, t = {}) {
|
|
|
825
825
|
Vl(e);
|
|
826
826
|
const h = js(e, [], c);
|
|
827
827
|
return t && As(e, h, t, !1, !0), h;
|
|
828
|
-
}, []), m =
|
|
828
|
+
}, []), m = At(() => (u.current.formMeta.markAsDirty(), a.current && Io(u.current.formMeta, a.current, (h, S) => {
|
|
829
829
|
(typeof S == "function" || Array.isArray(S)) && h.validate(zr(u.current.formValue, h.path));
|
|
830
|
-
}), u.current.formMeta.isValid()), []), f =
|
|
830
|
+
}), u.current.formMeta.isValid()), []), f = At(() => u.current.formValue, []), u = fe({
|
|
831
831
|
formValue: e,
|
|
832
832
|
formMeta: p,
|
|
833
833
|
updateForm: l,
|
|
@@ -1699,7 +1699,7 @@ function DM(e, t, n = []) {
|
|
|
1699
1699
|
return r;
|
|
1700
1700
|
}, n);
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function It(e) {
|
|
1703
1703
|
return typeof e == "function" ? e() : e;
|
|
1704
1704
|
}
|
|
1705
1705
|
const Ud = function({
|
|
@@ -4199,7 +4199,7 @@ var jt = function(t) {
|
|
|
4199
4199
|
border: l,
|
|
4200
4200
|
padding: p
|
|
4201
4201
|
};
|
|
4202
|
-
},
|
|
4202
|
+
}, Rt = function(t) {
|
|
4203
4203
|
var n = t.slice(0, -2), r = t.slice(-2);
|
|
4204
4204
|
if (r !== "px")
|
|
4205
4205
|
return 0;
|
|
@@ -4222,20 +4222,20 @@ var jt = function(t) {
|
|
|
4222
4222
|
return n === void 0 && (n = _y()), ea(t, n);
|
|
4223
4223
|
}, cp = function(t, n) {
|
|
4224
4224
|
var r = {
|
|
4225
|
-
top:
|
|
4226
|
-
right:
|
|
4227
|
-
bottom:
|
|
4228
|
-
left:
|
|
4225
|
+
top: Rt(n.marginTop),
|
|
4226
|
+
right: Rt(n.marginRight),
|
|
4227
|
+
bottom: Rt(n.marginBottom),
|
|
4228
|
+
left: Rt(n.marginLeft)
|
|
4229
4229
|
}, a = {
|
|
4230
|
-
top:
|
|
4231
|
-
right:
|
|
4232
|
-
bottom:
|
|
4233
|
-
left:
|
|
4230
|
+
top: Rt(n.paddingTop),
|
|
4231
|
+
right: Rt(n.paddingRight),
|
|
4232
|
+
bottom: Rt(n.paddingBottom),
|
|
4233
|
+
left: Rt(n.paddingLeft)
|
|
4234
4234
|
}, o = {
|
|
4235
|
-
top:
|
|
4236
|
-
right:
|
|
4237
|
-
bottom:
|
|
4238
|
-
left:
|
|
4235
|
+
top: Rt(n.borderTopWidth),
|
|
4236
|
+
right: Rt(n.borderRightWidth),
|
|
4237
|
+
bottom: Rt(n.borderBottomWidth),
|
|
4238
|
+
left: Rt(n.borderLeftWidth)
|
|
4239
4239
|
};
|
|
4240
4240
|
return li({
|
|
4241
4241
|
borderBox: t,
|
|
@@ -4304,7 +4304,7 @@ function In() {
|
|
|
4304
4304
|
function $y(e, t) {
|
|
4305
4305
|
return Se({}, e, {}, t);
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function Bt(e, t, n) {
|
|
4308
4308
|
var r = t.map(function(a) {
|
|
4309
4309
|
var o = $y(n, a.options);
|
|
4310
4310
|
return e.addEventListener(a.eventName, a.fn, o), function() {
|
|
@@ -4350,7 +4350,7 @@ var Hy = function(e) {
|
|
|
4350
4350
|
}
|
|
4351
4351
|
var n = t.prototype;
|
|
4352
4352
|
return n.componentDidMount = function() {
|
|
4353
|
-
this.unbind =
|
|
4353
|
+
this.unbind = Bt(window, [{
|
|
4354
4354
|
eventName: "error",
|
|
4355
4355
|
fn: this.onWindowError
|
|
4356
4356
|
}]);
|
|
@@ -4437,7 +4437,7 @@ var Hy = function(e) {
|
|
|
4437
4437
|
x: t.x + n.x,
|
|
4438
4438
|
y: t.y + n.y
|
|
4439
4439
|
};
|
|
4440
|
-
},
|
|
4440
|
+
}, Mt = function(t, n) {
|
|
4441
4441
|
return {
|
|
4442
4442
|
x: t.x - n.x,
|
|
4443
4443
|
y: t.y - n.y
|
|
@@ -4518,7 +4518,7 @@ var Hy = function(e) {
|
|
|
4518
4518
|
};
|
|
4519
4519
|
}, ci = function(e, t) {
|
|
4520
4520
|
e.frame || (process.env.NODE_ENV, F());
|
|
4521
|
-
var n = e.frame, r =
|
|
4521
|
+
var n = e.frame, r = Mt(t, n.scroll.initial), a = _r(r), o = Se({}, n, {
|
|
4522
4522
|
scroll: {
|
|
4523
4523
|
initial: n.scroll.initial,
|
|
4524
4524
|
current: t,
|
|
@@ -4964,7 +4964,7 @@ var uT = function(e) {
|
|
|
4964
4964
|
var t = yT(e), n = e.droppable, r = n ? Ao(n, t) : t;
|
|
4965
4965
|
return r;
|
|
4966
4966
|
}, wp = function(e, t) {
|
|
4967
|
-
var n =
|
|
4967
|
+
var n = Mt(t, e.scroll.initial), r = _r(n), a = jt({
|
|
4968
4968
|
top: t.y,
|
|
4969
4969
|
bottom: t.y + e.frame.height,
|
|
4970
4970
|
left: t.x,
|
|
@@ -5031,10 +5031,10 @@ var ET = function(e) {
|
|
|
5031
5031
|
}, wT = function(e, t) {
|
|
5032
5032
|
return ut(e.scroll.diff.displacement, t);
|
|
5033
5033
|
}, hi = function(e) {
|
|
5034
|
-
var t = e.pageBorderBoxCenter, n = e.draggable, r = e.viewport, a = wT(r, t), o =
|
|
5034
|
+
var t = e.pageBorderBoxCenter, n = e.draggable, r = e.viewport, a = wT(r, t), o = Mt(a, n.page.borderBox.center);
|
|
5035
5035
|
return ut(n.client.borderBox.center, o);
|
|
5036
5036
|
}, Cp = function(e) {
|
|
5037
|
-
var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, a = e.viewport, o = e.withDroppableDisplacement, l = e.onlyOnMainAxis, c = l === void 0 ? !1 : l, p =
|
|
5037
|
+
var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, a = e.viewport, o = e.withDroppableDisplacement, l = e.onlyOnMainAxis, c = l === void 0 ? !1 : l, p = Mt(r, t.page.borderBox.center), m = fs(t.page.borderBox, p), f = {
|
|
5038
5038
|
target: m,
|
|
5039
5039
|
destination: n,
|
|
5040
5040
|
withDroppableDisplacement: o,
|
|
@@ -5090,7 +5090,7 @@ var ET = function(e) {
|
|
|
5090
5090
|
scrollJumpRequest: null
|
|
5091
5091
|
};
|
|
5092
5092
|
}
|
|
5093
|
-
var T =
|
|
5093
|
+
var T = Mt(S, c), C = ET({
|
|
5094
5094
|
impact: h,
|
|
5095
5095
|
viewport: l,
|
|
5096
5096
|
destination: r,
|
|
@@ -5145,7 +5145,7 @@ var ET = function(e) {
|
|
|
5145
5145
|
})[0];
|
|
5146
5146
|
}, Pc = function(t, n) {
|
|
5147
5147
|
var r = t.page.borderBox.center;
|
|
5148
|
-
return On(t.descriptor.id, n) ?
|
|
5148
|
+
return On(t.descriptor.id, n) ? Mt(r, n.displacedBy.point) : r;
|
|
5149
5149
|
}, NT = function(t, n) {
|
|
5150
5150
|
var r = t.page.borderBox;
|
|
5151
5151
|
return On(t.descriptor.id, n) ? fs(r, _r(n.displacedBy.point)) : r;
|
|
@@ -5326,11 +5326,11 @@ var ET = function(e) {
|
|
|
5326
5326
|
impact: h,
|
|
5327
5327
|
scrollJumpRequest: null
|
|
5328
5328
|
};
|
|
5329
|
-
},
|
|
5329
|
+
}, _t = function(e) {
|
|
5330
5330
|
var t = e.at;
|
|
5331
5331
|
return t ? t.type === "REORDER" ? t.destination.droppableId : t.combine.droppableId : null;
|
|
5332
5332
|
}, OT = function(t, n) {
|
|
5333
|
-
var r =
|
|
5333
|
+
var r = _t(t);
|
|
5334
5334
|
return r ? n[r] : null;
|
|
5335
5335
|
}, LT = function(e) {
|
|
5336
5336
|
var t = e.state, n = e.type, r = OT(t.impact, t.dimensions.droppables), a = !!r, o = t.dimensions.droppables[t.critical.droppable.id], l = r || o, c = l.axis.direction, p = c === "vertical" && (n === "MOVE_UP" || n === "MOVE_DOWN") || c === "horizontal" && (n === "MOVE_LEFT" || n === "MOVE_RIGHT");
|
|
@@ -5489,7 +5489,7 @@ var VT = function(e) {
|
|
|
5489
5489
|
var n;
|
|
5490
5490
|
return Se({}, e, (n = {}, n[t.descriptor.id] = t, n));
|
|
5491
5491
|
}, HT = function(t) {
|
|
5492
|
-
var n = t.previousImpact, r = t.impact, a = t.droppables, o =
|
|
5492
|
+
var n = t.previousImpact, r = t.impact, a = t.droppables, o = _t(n), l = _t(r);
|
|
5493
5493
|
if (!o || o === l)
|
|
5494
5494
|
return a;
|
|
5495
5495
|
var c = a[o];
|
|
@@ -5502,7 +5502,7 @@ var VT = function(e) {
|
|
|
5502
5502
|
previousImpact: a,
|
|
5503
5503
|
impact: o,
|
|
5504
5504
|
droppables: r
|
|
5505
|
-
}), c =
|
|
5505
|
+
}), c = _t(o);
|
|
5506
5506
|
if (!c)
|
|
5507
5507
|
return l;
|
|
5508
5508
|
var p = r[c];
|
|
@@ -5511,7 +5511,7 @@ var VT = function(e) {
|
|
|
5511
5511
|
var m = Np(p, t, n);
|
|
5512
5512
|
return Si(l, m);
|
|
5513
5513
|
}, Zr = function(e) {
|
|
5514
|
-
var t = e.state, n = e.clientSelection, r = e.dimensions, a = e.viewport, o = e.impact, l = e.scrollJumpRequest, c = a || t.viewport, p = r || t.dimensions, m = n || t.current.client.selection, f =
|
|
5514
|
+
var t = e.state, n = e.clientSelection, r = e.dimensions, a = e.viewport, o = e.impact, l = e.scrollJumpRequest, c = a || t.viewport, p = r || t.dimensions, m = n || t.current.client.selection, f = Mt(m, t.initial.client.selection), u = {
|
|
5515
5515
|
offset: f,
|
|
5516
5516
|
selection: m,
|
|
5517
5517
|
borderBoxCenter: ut(t.initial.client.borderBoxCenter, f)
|
|
@@ -5591,7 +5591,7 @@ var _p = function(e) {
|
|
|
5591
5591
|
}, Lp = function(e) {
|
|
5592
5592
|
var t = e.state, n = e.dimensions, r = e.viewport;
|
|
5593
5593
|
t.movementMode !== "SNAP" && (process.env.NODE_ENV, F());
|
|
5594
|
-
var a = t.impact, o = r || t.viewport, l = n || t.dimensions, c = l.draggables, p = l.droppables, m = c[t.critical.draggable.id], f =
|
|
5594
|
+
var a = t.impact, o = r || t.viewport, l = n || t.dimensions, c = l.draggables, p = l.droppables, m = c[t.critical.draggable.id], f = _t(a);
|
|
5595
5595
|
f || (process.env.NODE_ENV !== "production" ? F(!1, "Must be over a destination in SNAP movement mode") : F());
|
|
5596
5596
|
var u = p[f], h = _p({
|
|
5597
5597
|
impact: a,
|
|
@@ -5694,7 +5694,7 @@ var _p = function(e) {
|
|
|
5694
5694
|
var c = {
|
|
5695
5695
|
droppables: a,
|
|
5696
5696
|
draggables: l
|
|
5697
|
-
}, p =
|
|
5697
|
+
}, p = _t(t.impact), m = p ? c.droppables[p] : null, f = c.draggables[t.critical.draggable.id], u = c.droppables[t.critical.droppable.id], h = Rp({
|
|
5698
5698
|
draggable: f,
|
|
5699
5699
|
home: u,
|
|
5700
5700
|
draggables: l,
|
|
@@ -6153,14 +6153,14 @@ var SE = function(e) {
|
|
|
6153
6153
|
var o = a / Fc, l = Vo + bE * o, c = r === "CANCEL" ? l * vE : l;
|
|
6154
6154
|
return Number(c.toFixed(2));
|
|
6155
6155
|
}, TE = function(e) {
|
|
6156
|
-
var t = e.impact, n = e.draggable, r = e.dimensions, a = e.viewport, o = e.afterCritical, l = r.draggables, c = r.droppables, p =
|
|
6156
|
+
var t = e.impact, n = e.draggable, r = e.dimensions, a = e.viewport, o = e.afterCritical, l = r.draggables, c = r.droppables, p = _t(t), m = p ? c[p] : null, f = c[n.descriptor.droppableId], u = Op({
|
|
6157
6157
|
impact: t,
|
|
6158
6158
|
draggable: n,
|
|
6159
6159
|
draggables: l,
|
|
6160
6160
|
afterCritical: o,
|
|
6161
6161
|
droppable: m || f,
|
|
6162
6162
|
viewport: a
|
|
6163
|
-
}), h =
|
|
6163
|
+
}), h = Mt(u, n.client.borderBox.center);
|
|
6164
6164
|
return h;
|
|
6165
6165
|
}, EE = function(e) {
|
|
6166
6166
|
var t = e.draggables, n = e.reason, r = e.lastImpact, a = e.home, o = e.viewport, l = e.onLiftImpact;
|
|
@@ -6285,7 +6285,7 @@ function DE(e) {
|
|
|
6285
6285
|
return o !== In;
|
|
6286
6286
|
}
|
|
6287
6287
|
function c() {
|
|
6288
|
-
l() && (process.env.NODE_ENV !== "production" ? F(!1, "Cannot start scroll listener when already active") : F()), o =
|
|
6288
|
+
l() && (process.env.NODE_ENV !== "production" ? F(!1, "Cannot start scroll listener when already active") : F()), o = Bt(window, [a]);
|
|
6289
6289
|
}
|
|
6290
6290
|
function p() {
|
|
6291
6291
|
l() || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot stop scroll listener when not active") : F()), r.cancel(), o(), o = In;
|
|
@@ -6525,7 +6525,7 @@ var NE = function(t) {
|
|
|
6525
6525
|
}
|
|
6526
6526
|
};
|
|
6527
6527
|
n = requestAnimationFrame(function() {
|
|
6528
|
-
n = null, t =
|
|
6528
|
+
n = null, t = Bt(window, [l]);
|
|
6529
6529
|
});
|
|
6530
6530
|
}
|
|
6531
6531
|
};
|
|
@@ -6641,7 +6641,7 @@ function GE(e) {
|
|
|
6641
6641
|
};
|
|
6642
6642
|
}
|
|
6643
6643
|
var $p = function(e) {
|
|
6644
|
-
var t = e.scrollHeight, n = e.scrollWidth, r = e.height, a = e.width, o =
|
|
6644
|
+
var t = e.scrollHeight, n = e.scrollWidth, r = e.height, a = e.width, o = Mt({
|
|
6645
6645
|
x: n,
|
|
6646
6646
|
y: t
|
|
6647
6647
|
}, {
|
|
@@ -6988,7 +6988,7 @@ var jE = function(e, t) {
|
|
|
6988
6988
|
}
|
|
6989
6989
|
var u = ZE({
|
|
6990
6990
|
center: l,
|
|
6991
|
-
destination:
|
|
6991
|
+
destination: _t(t.impact),
|
|
6992
6992
|
droppables: t.dimensions.droppables
|
|
6993
6993
|
});
|
|
6994
6994
|
if (u) {
|
|
@@ -7047,9 +7047,9 @@ var jE = function(e, t) {
|
|
|
7047
7047
|
var u = aw(m, f);
|
|
7048
7048
|
if (!u)
|
|
7049
7049
|
return n(m.descriptor.id, f), null;
|
|
7050
|
-
var h =
|
|
7050
|
+
var h = Mt(f, u);
|
|
7051
7051
|
n(m.descriptor.id, h);
|
|
7052
|
-
var S =
|
|
7052
|
+
var S = Mt(f, h);
|
|
7053
7053
|
return S;
|
|
7054
7054
|
}, l = function(m, f, u) {
|
|
7055
7055
|
if (!m || !wi(f, u))
|
|
@@ -7057,14 +7057,14 @@ var jE = function(e, t) {
|
|
|
7057
7057
|
var h = sw(f, u);
|
|
7058
7058
|
if (!h)
|
|
7059
7059
|
return r(u), null;
|
|
7060
|
-
var S =
|
|
7060
|
+
var S = Mt(u, h);
|
|
7061
7061
|
r(S);
|
|
7062
|
-
var v =
|
|
7062
|
+
var v = Mt(u, S);
|
|
7063
7063
|
return v;
|
|
7064
7064
|
}, c = function(m) {
|
|
7065
7065
|
var f = m.scrollJumpRequest;
|
|
7066
7066
|
if (f) {
|
|
7067
|
-
var u =
|
|
7067
|
+
var u = _t(m.impact);
|
|
7068
7068
|
u || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot perform a jump scroll when there is no destination") : F());
|
|
7069
7069
|
var h = o(m.dimensions.droppables[u], f);
|
|
7070
7070
|
if (h) {
|
|
@@ -7185,7 +7185,7 @@ var jE = function(e, t) {
|
|
|
7185
7185
|
dropAnimating: Yr(l, "dropAnimating"),
|
|
7186
7186
|
userCancel: Yr(l, "userCancel")
|
|
7187
7187
|
};
|
|
7188
|
-
},
|
|
7188
|
+
}, Ot = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Ld : We, lo = function() {
|
|
7189
7189
|
var t = document.querySelector("head");
|
|
7190
7190
|
return t || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot find the head to append a style to") : F()), t;
|
|
7191
7191
|
}, Uc = function(t) {
|
|
@@ -7202,7 +7202,7 @@ function hw(e, t) {
|
|
|
7202
7202
|
var h = r.current;
|
|
7203
7203
|
h || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot set dynamic style element if it is not set") : F()), h.textContent = u;
|
|
7204
7204
|
}, []);
|
|
7205
|
-
|
|
7205
|
+
Ot(function() {
|
|
7206
7206
|
!r.current && !a.current || (process.env.NODE_ENV !== "production" ? F(!1, "style elements already mounted") : F());
|
|
7207
7207
|
var u = Uc(t), h = Uc(t);
|
|
7208
7208
|
return r.current = u, a.current = h, u.setAttribute(xr + "-always", e), h.setAttribute(xr + "-dynamic", e), lo().appendChild(u), lo().appendChild(h), l(n.always), o(n.resting), function() {
|
|
@@ -7273,7 +7273,7 @@ function Sw(e) {
|
|
|
7273
7273
|
var S = document.activeElement;
|
|
7274
7274
|
S && S.getAttribute(kr.draggableId) === h && (n.current = h);
|
|
7275
7275
|
}, []);
|
|
7276
|
-
|
|
7276
|
+
Ot(function() {
|
|
7277
7277
|
return a.current = !0, function() {
|
|
7278
7278
|
a.current = !1;
|
|
7279
7279
|
var h = r.current;
|
|
@@ -7716,7 +7716,7 @@ function Uw(e) {
|
|
|
7716
7716
|
passive: !1,
|
|
7717
7717
|
capture: !0
|
|
7718
7718
|
};
|
|
7719
|
-
n.current =
|
|
7719
|
+
n.current = Bt(window, [a, r], u);
|
|
7720
7720
|
}, [a, r]), l = he(function() {
|
|
7721
7721
|
var f = t.current;
|
|
7722
7722
|
f.type !== "IDLE" && (t.current = qc, n.current(), o());
|
|
@@ -7739,7 +7739,7 @@ function Uw(e) {
|
|
|
7739
7739
|
t.current = v;
|
|
7740
7740
|
}
|
|
7741
7741
|
});
|
|
7742
|
-
n.current =
|
|
7742
|
+
n.current = Bt(window, h, u);
|
|
7743
7743
|
}, [c, l]), m = he(function(u, h) {
|
|
7744
7744
|
t.current.type !== "IDLE" && (process.env.NODE_ENV !== "production" ? F(!1, "Expected to move from IDLE to PENDING drag") : F()), t.current = {
|
|
7745
7745
|
type: "PENDING",
|
|
@@ -7747,7 +7747,7 @@ function Uw(e) {
|
|
|
7747
7747
|
actions: u
|
|
7748
7748
|
}, p();
|
|
7749
7749
|
}, [p]);
|
|
7750
|
-
|
|
7750
|
+
Ot(function() {
|
|
7751
7751
|
return o(), function() {
|
|
7752
7752
|
n.current();
|
|
7753
7753
|
};
|
|
@@ -7844,7 +7844,7 @@ function Jw(e) {
|
|
|
7844
7844
|
function f() {
|
|
7845
7845
|
p || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot stop capturing a keyboard drag when not capturing") : F()), p = !1, t.current(), r();
|
|
7846
7846
|
}
|
|
7847
|
-
t.current =
|
|
7847
|
+
t.current = Bt(window, qw(m, f), {
|
|
7848
7848
|
capture: !0,
|
|
7849
7849
|
passive: !1
|
|
7850
7850
|
});
|
|
@@ -7855,9 +7855,9 @@ function Jw(e) {
|
|
|
7855
7855
|
passive: !1,
|
|
7856
7856
|
capture: !0
|
|
7857
7857
|
};
|
|
7858
|
-
t.current =
|
|
7858
|
+
t.current = Bt(window, [n], o);
|
|
7859
7859
|
}, [n]);
|
|
7860
|
-
|
|
7860
|
+
Ot(function() {
|
|
7861
7861
|
return r(), function() {
|
|
7862
7862
|
t.current();
|
|
7863
7863
|
};
|
|
@@ -7996,7 +7996,7 @@ function tC(e) {
|
|
|
7996
7996
|
capture: !0,
|
|
7997
7997
|
passive: !1
|
|
7998
7998
|
};
|
|
7999
|
-
n.current =
|
|
7999
|
+
n.current = Bt(window, [o], S);
|
|
8000
8000
|
}, [o]), c = he(function() {
|
|
8001
8001
|
var h = t.current;
|
|
8002
8002
|
h.type !== "IDLE" && (h.type === "PENDING" && clearTimeout(h.longPressTimerId), a(po), n.current(), l());
|
|
@@ -8013,7 +8013,7 @@ function tC(e) {
|
|
|
8013
8013
|
cancel: p,
|
|
8014
8014
|
completed: c,
|
|
8015
8015
|
getPhase: r
|
|
8016
|
-
}, E =
|
|
8016
|
+
}, E = Bt(window, eC(v), S), T = Bt(window, Qw(v), S);
|
|
8017
8017
|
n.current = function() {
|
|
8018
8018
|
E(), T();
|
|
8019
8019
|
};
|
|
@@ -8036,14 +8036,14 @@ function tC(e) {
|
|
|
8036
8036
|
longPressTimerId: E
|
|
8037
8037
|
}), m();
|
|
8038
8038
|
}, [m, r, a, f]);
|
|
8039
|
-
|
|
8039
|
+
Ot(function() {
|
|
8040
8040
|
return l(), function() {
|
|
8041
8041
|
n.current();
|
|
8042
8042
|
var v = r();
|
|
8043
8043
|
v.type === "PENDING" && (clearTimeout(v.longPressTimerId), a(po));
|
|
8044
8044
|
};
|
|
8045
|
-
}, [r, l, a]),
|
|
8046
|
-
var S =
|
|
8045
|
+
}, [r, l, a]), Ot(function() {
|
|
8046
|
+
var S = Bt(window, [{
|
|
8047
8047
|
eventName: "touchmove",
|
|
8048
8048
|
fn: function() {
|
|
8049
8049
|
},
|
|
@@ -8198,7 +8198,7 @@ function fC(e) {
|
|
|
8198
8198
|
if (O === void 0 && (O = {
|
|
8199
8199
|
shouldBlockNextClick: !1
|
|
8200
8200
|
}), A.cleanup(), O.shouldBlockNextClick) {
|
|
8201
|
-
var $ =
|
|
8201
|
+
var $ = Bt(window, [{
|
|
8202
8202
|
eventName: "click",
|
|
8203
8203
|
fn: mC,
|
|
8204
8204
|
options: {
|
|
@@ -8312,13 +8312,13 @@ function SC(e) {
|
|
|
8312
8312
|
})[0], p = he(function(N, I) {
|
|
8313
8313
|
N.isDragging && !I.isDragging && c.tryAbandon();
|
|
8314
8314
|
}, [c]);
|
|
8315
|
-
|
|
8315
|
+
Ot(function() {
|
|
8316
8316
|
var N = n.getState(), I = n.subscribe(function() {
|
|
8317
8317
|
var x = n.getState();
|
|
8318
8318
|
p(N, x), N = x;
|
|
8319
8319
|
});
|
|
8320
8320
|
return I;
|
|
8321
|
-
}, [c, n, p]),
|
|
8321
|
+
}, [c, n, p]), Ot(function() {
|
|
8322
8322
|
return c.tryAbandon;
|
|
8323
8323
|
}, [c.tryAbandon]);
|
|
8324
8324
|
var m = he(function(C) {
|
|
@@ -8725,13 +8725,13 @@ function PC(e) {
|
|
|
8725
8725
|
callbacks: N
|
|
8726
8726
|
};
|
|
8727
8727
|
}, [N, c, r]);
|
|
8728
|
-
|
|
8728
|
+
Ot(function() {
|
|
8729
8729
|
return p.current = I.descriptor, a.droppable.register(I), function() {
|
|
8730
8730
|
t.current && (process.env.NODE_ENV !== "production" && He("Unsupported: changing the droppableId or type of a Droppable during a drag"), T()), a.droppable.unregister(I);
|
|
8731
8731
|
};
|
|
8732
|
-
}, [N, c, T, I, o, a.droppable]),
|
|
8732
|
+
}, [N, c, T, I, o, a.droppable]), Ot(function() {
|
|
8733
8733
|
t.current && o.updateDroppableIsEnabled(p.current.id, !e.isDropDisabled);
|
|
8734
|
-
}, [e.isDropDisabled, o]),
|
|
8734
|
+
}, [e.isDropDisabled, o]), Ot(function() {
|
|
8735
8735
|
t.current && o.updateDroppableIsCombineEnabled(p.current.id, e.isCombineEnabled);
|
|
8736
8736
|
}, [e.isCombineEnabled, o]);
|
|
8737
8737
|
}
|
|
@@ -8958,11 +8958,11 @@ function XC(e) {
|
|
|
8958
8958
|
getDimension: m
|
|
8959
8959
|
};
|
|
8960
8960
|
}, [n, m, p, t]), u = fe(f), h = fe(!0);
|
|
8961
|
-
|
|
8961
|
+
Ot(function() {
|
|
8962
8962
|
return r.draggable.register(u.current), function() {
|
|
8963
8963
|
return r.draggable.unregister(u.current);
|
|
8964
8964
|
};
|
|
8965
|
-
}, [r.draggable]),
|
|
8965
|
+
}, [r.draggable]), Ot(function() {
|
|
8966
8966
|
if (h.current) {
|
|
8967
8967
|
h.current = !1;
|
|
8968
8968
|
return;
|
|
@@ -9099,7 +9099,7 @@ function aD() {
|
|
|
9099
9099
|
if (o.isDragging) {
|
|
9100
9100
|
if (o.critical.draggable.id !== l.draggableId)
|
|
9101
9101
|
return null;
|
|
9102
|
-
var c = o.current.client.offset, p = o.dimensions.draggables[l.draggableId], m =
|
|
9102
|
+
var c = o.current.client.offset, p = o.dimensions.draggables[l.draggableId], m = _t(o.impact), f = sD(o.impact), u = o.forceShouldAnimate;
|
|
9103
9103
|
return n(e(c.x, c.y), o.movementMode, p, l.isClone, m, f, u);
|
|
9104
9104
|
}
|
|
9105
9105
|
if (o.phase === "DROP_ANIMATING") {
|
|
@@ -9367,7 +9367,7 @@ var ho = function(t, n) {
|
|
|
9367
9367
|
var S = c.critical;
|
|
9368
9368
|
if (!ho(f, S))
|
|
9369
9369
|
return n;
|
|
9370
|
-
var v = ed(S, c.dimensions), E =
|
|
9370
|
+
var v = ed(S, c.dimensions), E = _t(c.impact) === m;
|
|
9371
9371
|
return a(m, u, E, E, v, h);
|
|
9372
9372
|
}
|
|
9373
9373
|
if (c.phase === "DROP_ANIMATING") {
|
|
@@ -9375,13 +9375,13 @@ var ho = function(t, n) {
|
|
|
9375
9375
|
if (!ho(f, T.critical))
|
|
9376
9376
|
return n;
|
|
9377
9377
|
var C = ed(T.critical, c.dimensions);
|
|
9378
|
-
return a(m, u, iu(T.result) === m,
|
|
9378
|
+
return a(m, u, iu(T.result) === m, _t(T.impact) === m, C, h);
|
|
9379
9379
|
}
|
|
9380
9380
|
if (c.phase === "IDLE" && c.completed && !c.shouldFlush) {
|
|
9381
9381
|
var N = c.completed;
|
|
9382
9382
|
if (!ho(f, N.critical))
|
|
9383
9383
|
return n;
|
|
9384
|
-
var I =
|
|
9384
|
+
var I = _t(N.impact) === m, x = !!(N.impact.at && N.impact.at.type === "COMBINE"), k = N.critical.droppable.id === m;
|
|
9385
9385
|
return I ? x ? t : n : k ? t : n;
|
|
9386
9386
|
}
|
|
9387
9387
|
return n;
|
|
@@ -9636,7 +9636,7 @@ function mu(e) {
|
|
|
9636
9636
|
pu,
|
|
9637
9637
|
{
|
|
9638
9638
|
title: c,
|
|
9639
|
-
content:
|
|
9639
|
+
content: It(o),
|
|
9640
9640
|
icon: l,
|
|
9641
9641
|
"data-testid": `${p}__header`
|
|
9642
9642
|
}
|
|
@@ -9656,7 +9656,7 @@ function mu(e) {
|
|
|
9656
9656
|
"data-testid": `${p}__tab`
|
|
9657
9657
|
});
|
|
9658
9658
|
})
|
|
9659
|
-
), /* @__PURE__ */ s.createElement("div", { className: "sps-card__body", "data-testid": `${p}__body--tab-active` }, h.content)) : /* @__PURE__ */ s.createElement("div", { className: "sps-card__body", "data-testid": `${p}__body` }, n), a && /* @__PURE__ */ s.createElement("div", { className: "sps-card__footer", "data-testid": `${p}__footer` },
|
|
9659
|
+
), /* @__PURE__ */ s.createElement("div", { className: "sps-card__body", "data-testid": `${p}__body--tab-active` }, h.content)) : /* @__PURE__ */ s.createElement("div", { className: "sps-card__body", "data-testid": `${p}__body` }, n), a && /* @__PURE__ */ s.createElement("div", { className: "sps-card__footer", "data-testid": `${p}__footer` }, It(a)));
|
|
9660
9660
|
}
|
|
9661
9661
|
Object.assign(mu, {
|
|
9662
9662
|
props: ED,
|
|
@@ -13685,12 +13685,12 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13685
13685
|
function on(i) {
|
|
13686
13686
|
return i.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
13687
13687
|
}
|
|
13688
|
-
function
|
|
13688
|
+
function Lt(i) {
|
|
13689
13689
|
return i < 0 ? Math.ceil(i) || 0 : Math.floor(i);
|
|
13690
13690
|
}
|
|
13691
13691
|
function Ce(i) {
|
|
13692
13692
|
var d = +i, g = 0;
|
|
13693
|
-
return d !== 0 && isFinite(d) && (g =
|
|
13693
|
+
return d !== 0 && isFinite(d) && (g = Lt(d)), g;
|
|
13694
13694
|
}
|
|
13695
13695
|
var Ca = {};
|
|
13696
13696
|
function Fe(i, d) {
|
|
@@ -14844,7 +14844,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14844
14844
|
default:
|
|
14845
14845
|
P = this - b;
|
|
14846
14846
|
}
|
|
14847
|
-
return g ? P :
|
|
14847
|
+
return g ? P : Lt(P);
|
|
14848
14848
|
}
|
|
14849
14849
|
function ks(i, d) {
|
|
14850
14850
|
if (i.date() < d.date())
|
|
@@ -15416,7 +15416,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15416
15416
|
}
|
|
15417
15417
|
function og() {
|
|
15418
15418
|
var i = this._milliseconds, d = this._days, g = this._months, b = this._data, D, P, j, pe, ye;
|
|
15419
|
-
return i >= 0 && d >= 0 && g >= 0 || i <= 0 && d <= 0 && g <= 0 || (i += Rl(Ka(g) + d) * 864e5, d = 0, g = 0), b.milliseconds = i % 1e3, D =
|
|
15419
|
+
return i >= 0 && d >= 0 && g >= 0 || i <= 0 && d <= 0 && g <= 0 || (i += Rl(Ka(g) + d) * 864e5, d = 0, g = 0), b.milliseconds = i % 1e3, D = Lt(i / 1e3), b.seconds = D % 60, P = Lt(D / 60), b.minutes = P % 60, j = Lt(P / 60), b.hours = j % 24, d += Lt(j / 24), ye = Lt(Pl(d)), g += ye, d -= Rl(Ka(ye)), pe = Lt(g / 12), g %= 12, b.days = d, b.months = g, b.years = pe, this;
|
|
15420
15420
|
}
|
|
15421
15421
|
function Pl(i) {
|
|
15422
15422
|
return i * 4800 / 146097;
|
|
@@ -15474,7 +15474,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15474
15474
|
}
|
|
15475
15475
|
var vg = Kn("milliseconds"), yg = Kn("seconds"), Tg = Kn("minutes"), Eg = Kn("hours"), wg = Kn("days"), Cg = Kn("months"), Dg = Kn("years");
|
|
15476
15476
|
function Ng() {
|
|
15477
|
-
return
|
|
15477
|
+
return Lt(this.days() / 7);
|
|
15478
15478
|
}
|
|
15479
15479
|
var fn = Math.round, cr = {
|
|
15480
15480
|
ss: 44,
|
|
@@ -15519,7 +15519,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15519
15519
|
if (!this.isValid())
|
|
15520
15520
|
return this.localeData().invalidDate();
|
|
15521
15521
|
var i = Ha(this._milliseconds) / 1e3, d = Ha(this._days), g = Ha(this._months), b, D, P, j, pe = this.asSeconds(), ye, Ne, yt, hn;
|
|
15522
|
-
return pe ? (b =
|
|
15522
|
+
return pe ? (b = Lt(i / 60), D = Lt(b / 60), i %= 60, b %= 60, P = Lt(g / 12), g %= 12, j = i ? i.toFixed(3).replace(/\.?0+$/, "") : "", ye = pe < 0 ? "-" : "", Ne = dr(this._months) !== dr(pe) ? "-" : "", yt = dr(this._days) !== dr(pe) ? "-" : "", hn = dr(this._milliseconds) !== dr(pe) ? "-" : "", ye + "P" + (P ? Ne + P + "Y" : "") + (g ? Ne + g + "M" : "") + (d ? yt + d + "D" : "") + (D || b || i ? "T" : "") + (D ? hn + D + "H" : "") + (b ? hn + b + "M" : "") + (i ? hn + j + "S" : "")) : "P0D";
|
|
15523
15523
|
}
|
|
15524
15524
|
var Ie = Ns.prototype;
|
|
15525
15525
|
Ie.isValid = Ch, Ie.abs = rg, Ie.add = sg, Ie.subtract = ag, Ie.as = ig, Ie.asMilliseconds = Al, Ie.asSeconds = lg, Ie.asMinutes = cg, Ie.asHours = dg, Ie.asDays = pg, Ie.asWeeks = ug, Ie.asMonths = mg, Ie.asQuarters = fg, Ie.asYears = hg, Ie.valueOf = Sg, Ie._bubble = og, Ie.clone = gg, Ie.get = bg, Ie.milliseconds = vg, Ie.seconds = yg, Ie.minutes = Tg, Ie.hours = Eg, Ie.days = wg, Ie.weeks = Ng, Ie.months = Cg, Ie.years = Dg, Ie.humanize = _g, Ie.toISOString = Ls, Ie.toString = Ls, Ie.toJSON = Ls, Ie.locale = El, Ie.localeData = Cl, Ie.toIsoString = O(
|
|
@@ -16706,7 +16706,7 @@ function Ai(e) {
|
|
|
16706
16706
|
showOn: Ct.MANUAL,
|
|
16707
16707
|
isShown: C
|
|
16708
16708
|
},
|
|
16709
|
-
|
|
16709
|
+
It(E === en.ERROR ? a : o)
|
|
16710
16710
|
));
|
|
16711
16711
|
}
|
|
16712
16712
|
Object.assign(Ai, {
|
|
@@ -17851,7 +17851,7 @@ function Nu({
|
|
|
17851
17851
|
showOn: Ct.MANUAL,
|
|
17852
17852
|
isShown: N
|
|
17853
17853
|
},
|
|
17854
|
-
|
|
17854
|
+
It(n)
|
|
17855
17855
|
), e));
|
|
17856
17856
|
}
|
|
17857
17857
|
Object.assign(Nu, {
|
|
@@ -18443,7 +18443,7 @@ function ku({
|
|
|
18443
18443
|
isShown: C,
|
|
18444
18444
|
altPosition: Ee.TOP_MIDDLE
|
|
18445
18445
|
},
|
|
18446
|
-
|
|
18446
|
+
It(o)
|
|
18447
18447
|
), /* @__PURE__ */ s.createElement(
|
|
18448
18448
|
zt,
|
|
18449
18449
|
{
|
|
@@ -18453,7 +18453,7 @@ function ku({
|
|
|
18453
18453
|
isShown: I,
|
|
18454
18454
|
altPosition: Ee.LEFT_MIDDLE
|
|
18455
18455
|
},
|
|
18456
|
-
|
|
18456
|
+
It(p) || ie()
|
|
18457
18457
|
), (V == null ? void 0 : V.hasPreventativeErrors()) && /* @__PURE__ */ s.createElement(
|
|
18458
18458
|
zt,
|
|
18459
18459
|
{
|
|
@@ -18463,7 +18463,7 @@ function ku({
|
|
|
18463
18463
|
isShown: L,
|
|
18464
18464
|
altPosition: Ee.LEFT_MIDDLE
|
|
18465
18465
|
},
|
|
18466
|
-
|
|
18466
|
+
It(p) || R()
|
|
18467
18467
|
), /* @__PURE__ */ s.createElement(
|
|
18468
18468
|
zt,
|
|
18469
18469
|
{
|
|
@@ -28830,7 +28830,7 @@ function hr(e) {
|
|
|
28830
28830
|
t.current = e;
|
|
28831
28831
|
}, [
|
|
28832
28832
|
e
|
|
28833
|
-
]),
|
|
28833
|
+
]), At((...n) => {
|
|
28834
28834
|
const r = t.current;
|
|
28835
28835
|
return r == null ? void 0 : r(...n);
|
|
28836
28836
|
}, []);
|
|
@@ -28882,7 +28882,7 @@ function fm() {
|
|
|
28882
28882
|
}
|
|
28883
28883
|
let Bx = !!(typeof window < "u" && window.document && window.document.createElement), ca = /* @__PURE__ */ new Map();
|
|
28884
28884
|
function hm(e) {
|
|
28885
|
-
let [t, n] = qe(e), r = fe(null), a = Lx(t), o =
|
|
28885
|
+
let [t, n] = qe(e), r = fe(null), a = Lx(t), o = At((l) => {
|
|
28886
28886
|
r.current = l;
|
|
28887
28887
|
}, []);
|
|
28888
28888
|
return Bx && ca.set(a, o), ys(() => {
|
|
@@ -29121,7 +29121,7 @@ function ym(e) {
|
|
|
29121
29121
|
});
|
|
29122
29122
|
}
|
|
29123
29123
|
function Tm() {
|
|
29124
|
-
let e = fe(/* @__PURE__ */ new Map()), t =
|
|
29124
|
+
let e = fe(/* @__PURE__ */ new Map()), t = At((a, o, l, c) => {
|
|
29125
29125
|
let p = c != null && c.once ? (...m) => {
|
|
29126
29126
|
e.current.delete(l), l(...m);
|
|
29127
29127
|
} : l;
|
|
@@ -29131,11 +29131,11 @@ function Tm() {
|
|
|
29131
29131
|
fn: p,
|
|
29132
29132
|
options: c
|
|
29133
29133
|
}), a.addEventListener(o, l, c);
|
|
29134
|
-
}, []), n =
|
|
29134
|
+
}, []), n = At((a, o, l, c) => {
|
|
29135
29135
|
var p;
|
|
29136
29136
|
let m = ((p = e.current.get(l)) === null || p === void 0 ? void 0 : p.fn) || l;
|
|
29137
29137
|
a.removeEventListener(o, m, c), e.current.delete(l);
|
|
29138
|
-
}, []), r =
|
|
29138
|
+
}, []), r = At(() => {
|
|
29139
29139
|
e.current.forEach((a, o) => {
|
|
29140
29140
|
n(a.eventTarget, a.type, o, a.options);
|
|
29141
29141
|
});
|
|
@@ -29279,7 +29279,7 @@ function Cm(e, t, n) {
|
|
|
29279
29279
|
}, [
|
|
29280
29280
|
l
|
|
29281
29281
|
]);
|
|
29282
|
-
let c = l ? e : r, p =
|
|
29282
|
+
let c = l ? e : r, p = At((m, ...f) => {
|
|
29283
29283
|
let u = (h, ...S) => {
|
|
29284
29284
|
n && (Object.is(c, h) || n(h, ...S)), l || (c = h);
|
|
29285
29285
|
};
|
|
@@ -29705,7 +29705,7 @@ function Ck(e) {
|
|
|
29705
29705
|
function da(e) {
|
|
29706
29706
|
Qn = !0, Ck(e) && (Ts = "keyboard", qi("keyboard", e));
|
|
29707
29707
|
}
|
|
29708
|
-
function
|
|
29708
|
+
function Pt(e) {
|
|
29709
29709
|
Ts = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Qn = !0, qi("pointer", e));
|
|
29710
29710
|
}
|
|
29711
29711
|
function Im(e) {
|
|
@@ -29723,7 +29723,7 @@ function Cd(e) {
|
|
|
29723
29723
|
let r = t.HTMLElement.prototype.focus;
|
|
29724
29724
|
t.HTMLElement.prototype.focus = function() {
|
|
29725
29725
|
Qn = !0, r.apply(this, arguments);
|
|
29726
|
-
}, n.addEventListener("keydown", da, !0), n.addEventListener("keyup", da, !0), n.addEventListener("click", Im, !0), t.addEventListener("focus", Mm, !0), t.addEventListener("blur", _m, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown",
|
|
29726
|
+
}, n.addEventListener("keydown", da, !0), n.addEventListener("keyup", da, !0), n.addEventListener("click", Im, !0), t.addEventListener("focus", Mm, !0), t.addEventListener("blur", _m, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", Pt, !0), n.addEventListener("pointermove", Pt, !0), n.addEventListener("pointerup", Pt, !0)) : (n.addEventListener("mousedown", Pt, !0), n.addEventListener("mousemove", Pt, !0), n.addEventListener("mouseup", Pt, !0)), t.addEventListener("beforeunload", () => {
|
|
29727
29727
|
Om(e);
|
|
29728
29728
|
}, {
|
|
29729
29729
|
once: !0
|
|
@@ -29733,7 +29733,7 @@ function Cd(e) {
|
|
|
29733
29733
|
}
|
|
29734
29734
|
const Om = (e, t) => {
|
|
29735
29735
|
const n = Jn(e), r = kt(e);
|
|
29736
|
-
t && r.removeEventListener("DOMContentLoaded", t), Qr.has(n) && (n.HTMLElement.prototype.focus = Qr.get(n).focus, r.removeEventListener("keydown", da, !0), r.removeEventListener("keyup", da, !0), r.removeEventListener("click", Im, !0), n.removeEventListener("focus", Mm, !0), n.removeEventListener("blur", _m, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown",
|
|
29736
|
+
t && r.removeEventListener("DOMContentLoaded", t), Qr.has(n) && (n.HTMLElement.prototype.focus = Qr.get(n).focus, r.removeEventListener("keydown", da, !0), r.removeEventListener("keyup", da, !0), r.removeEventListener("click", Im, !0), n.removeEventListener("focus", Mm, !0), n.removeEventListener("blur", _m, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Pt, !0), r.removeEventListener("pointermove", Pt, !0), r.removeEventListener("pointerup", Pt, !0)) : (r.removeEventListener("mousedown", Pt, !0), r.removeEventListener("mousemove", Pt, !0), r.removeEventListener("mouseup", Pt, !0)), Qr.delete(n));
|
|
29737
29737
|
};
|
|
29738
29738
|
function Dk(e) {
|
|
29739
29739
|
const t = kt(e);
|
|
@@ -30788,7 +30788,7 @@ class qk {
|
|
|
30788
30788
|
function Jk(e) {
|
|
30789
30789
|
let { filter: t } = e, n = zk(e), r = et(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
30790
30790
|
e.disabledKeys
|
|
30791
|
-
]), a =
|
|
30791
|
+
]), a = At((m) => t ? new Id(t(m)) : new Id(m), [
|
|
30792
30792
|
t
|
|
30793
30793
|
]), o = et(() => ({
|
|
30794
30794
|
suppressTextValueWarning: e.suppressTextValueWarning
|
|
@@ -31005,7 +31005,7 @@ function lI(e) {
|
|
|
31005
31005
|
formMeta: c
|
|
31006
31006
|
},
|
|
31007
31007
|
/* @__PURE__ */ s.createElement("div", { className: "sps-advanced-search__form" }, t),
|
|
31008
|
-
/* @__PURE__ */ s.createElement("div", { className: "sps-advanced-search__footer" }, a && /* @__PURE__ */ s.createElement("div", { id: "footer_links" },
|
|
31008
|
+
/* @__PURE__ */ s.createElement("div", { className: "sps-advanced-search__footer" }, a && /* @__PURE__ */ s.createElement("div", { id: "footer_links" }, It(a)), /* @__PURE__ */ s.createElement("div", { className: "sps-advanced-search__footer-controls" }, /* @__PURE__ */ s.createElement(
|
|
31009
31009
|
Ze,
|
|
31010
31010
|
{
|
|
31011
31011
|
kind: Xe.DEFAULT,
|
|
@@ -31876,7 +31876,7 @@ function HM() {
|
|
|
31876
31876
|
a.onClose && a.onClose(), a.closed = !0, e.every((o) => o.closed) && t([]);
|
|
31877
31877
|
}
|
|
31878
31878
|
},
|
|
31879
|
-
|
|
31879
|
+
It(a.content)
|
|
31880
31880
|
)), [e]), r = s.useCallback((a) => {
|
|
31881
31881
|
t((o) => [
|
|
31882
31882
|
...o,
|
|
@@ -34874,7 +34874,8 @@ const t_ = {
|
|
|
34874
34874
|
title: { type: "string", required: "true" },
|
|
34875
34875
|
warning: "boolean",
|
|
34876
34876
|
warningIcon: "ReactNodeOrRenderFn",
|
|
34877
|
-
disabled: "boolean"
|
|
34877
|
+
disabled: "boolean",
|
|
34878
|
+
tagElement: "ReactNodeOrRenderFn"
|
|
34878
34879
|
};
|
|
34879
34880
|
function nM(e) {
|
|
34880
34881
|
const {
|
|
@@ -34889,8 +34890,9 @@ function nM(e) {
|
|
|
34889
34890
|
warning: m = !1,
|
|
34890
34891
|
warningIcon: f,
|
|
34891
34892
|
disabled: u = !1,
|
|
34892
|
-
|
|
34893
|
-
|
|
34893
|
+
tagElement: h,
|
|
34894
|
+
...S
|
|
34895
|
+
} = e, v = K(
|
|
34894
34896
|
p || "sps-tile",
|
|
34895
34897
|
t,
|
|
34896
34898
|
o && "sps-tile--error",
|
|
@@ -34903,14 +34905,15 @@ function nM(e) {
|
|
|
34903
34905
|
}, [m, o]), /* @__PURE__ */ s.createElement("div", { className: "sps-tile-container sfg-col-3 sfg-break-col-6" }, /* @__PURE__ */ s.createElement(
|
|
34904
34906
|
"a",
|
|
34905
34907
|
{
|
|
34906
|
-
className:
|
|
34908
|
+
className: v,
|
|
34907
34909
|
href: u ? void 0 : n,
|
|
34908
34910
|
target: r,
|
|
34909
34911
|
rel: r === "_blank" ? "noopener noreferrer" : void 0,
|
|
34910
|
-
...
|
|
34912
|
+
...S
|
|
34911
34913
|
},
|
|
34912
|
-
(m || o) && /* @__PURE__ */ s.createElement("div", { className: "sps-tile--icon" }, m && (f ?
|
|
34913
|
-
|
|
34914
|
+
(m || o) && /* @__PURE__ */ s.createElement("div", { className: "sps-tile--icon" }, m && (f ? It(f) : /* @__PURE__ */ s.createElement("i", { className: K("sps-icon", "sps-icon-status-warning") })), o && (l ? It(l) : /* @__PURE__ */ s.createElement("i", { className: K("sps-icon", "sps-icon-ban") }))),
|
|
34915
|
+
h && /* @__PURE__ */ s.createElement("div", { className: "sps-tile--tag" }, It(h)),
|
|
34916
|
+
/* @__PURE__ */ s.createElement("div", { className: "sps-tile--content" }, /* @__PURE__ */ s.createElement("div", { className: "sps-tile--image" }, typeof a == "string" ? /* @__PURE__ */ s.createElement("img", { className: "sps-tile--image", src: a, alt: "" }) : It(a)), /* @__PURE__ */ s.createElement("div", { className: "sps-tile--title" }, /* @__PURE__ */ s.createElement("p", null, c, r === "_blank" && /* @__PURE__ */ s.createElement("i", { className: K("sps-icon", "sps-icon-tabs") }))))
|
|
34914
34917
|
));
|
|
34915
34918
|
}
|
|
34916
34919
|
Object.assign(nM, {
|
|
@@ -35754,7 +35757,7 @@ export {
|
|
|
35754
35757
|
Cb as addOnChangeErrorKey,
|
|
35755
35758
|
Db as addOnSubmitErrorKey,
|
|
35756
35759
|
DM as bindProps,
|
|
35757
|
-
|
|
35760
|
+
It as contentOf,
|
|
35758
35761
|
Zs as date,
|
|
35759
35762
|
Lb as dateConstraint,
|
|
35760
35763
|
Ob as dateRange,
|