@spscommerce/ds-react 7.10.2 → 7.10.3
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/form/hooks/useSpsForm.d.ts +0 -1
- package/lib/index.cjs.js +56 -56
- package/lib/index.es.js +303 -304
- package/lib/toggle/SpsToggle.d.ts +1 -1
- package/package.json +12 -12
package/lib/index.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var FS = Object.defineProperty;
|
|
2
2
|
var $S = (e, t, n) => t in e ? FS(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
3
|
+
var It = (e, t, n) => ($S(e, typeof t != "symbol" ? t + "" : t, n), n), Kl = (e, t, n) => {
|
|
4
4
|
if (!t.has(e))
|
|
5
5
|
throw TypeError("Cannot " + n);
|
|
6
6
|
};
|
|
7
|
-
var
|
|
7
|
+
var Dn = (e, t, n) => (Kl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Ns = (e, t, n) => {
|
|
8
8
|
if (t.has(e))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
11
|
-
},
|
|
11
|
+
}, Xt = (e, t, n, r) => (Kl(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
12
12
|
import * as s from "react";
|
|
13
|
-
import Y, { useRef as pe, useEffect as Le, useMemo as He, useCallback as
|
|
13
|
+
import Y, { useRef as pe, useEffect as Le, useMemo as He, useCallback as nn, useReducer as sa, createContext as VS, useContext as rn, useLayoutEffect as aa, useState as Ve } from "react";
|
|
14
14
|
import { noI18nI18n as KS, ButtonKind as Ge, ButtonType as So, SpinnerSize as HS, Position as be, ZStratum as WS, SpsOptionListOption as bo, SPS_ACTION_DEFAULTS as Kd, DropdownKind as $a, SpsIcon as je, ClickableTagKind as GS, TagKind as dr, SpsIconSize as oa, TooltipShowTrigger as it, TOOLTIP_HIDE_DELAY_MS_DEFAULT as US, TooltipKind as $t, GrowlerKind as vo, GrowlerIcon as YS, GROWLER_VISIBLE_DURATION_MS as Hl, GROWLER_FADEOUT_DURATION_MS as jS, SortDirection as Ft, FeedbackBlockKind as Hd, FeedbackBlockIcons as Wd, ModalKind as Wl, ModalSize as zS, DEFAULT_PAGE_SIZE_OPTIONS as qS, SteppedProgressBarColor as JS, StdButtonKind as ZS, SpsTaskStatus as xs, TASK_QUEUE_NOTIFICATION_DURATION_MS as Gl, SpsTaskStatusIcons as Ul, RingSize as Gd, WizardSubstepConditions as Yl, SpsInsightTileIcons as XS, KeyValueListTitleColor as QS, SpsFilterTileKind as eb } from "@spscommerce/ds-shared";
|
|
15
15
|
import { code as E, deepFreeze as jl, getPath as $s, setPath as tb, diff as nb, DiffChange as Yn, debounce as rb, flatten as sb, crumblePath as ab, traversePath as ob, forEachNestedObject as ib, lockToAnimationFrames as lb, constrain as cb } from "@spscommerce/utils";
|
|
16
16
|
import * as pr from "moment-timezone";
|
|
@@ -118,7 +118,7 @@ Object.assign(ia, {
|
|
|
118
118
|
props: jd,
|
|
119
119
|
displayName: "SpsForm"
|
|
120
120
|
});
|
|
121
|
-
function
|
|
121
|
+
function Et(e) {
|
|
122
122
|
return typeof e == "function" ? e() : e;
|
|
123
123
|
}
|
|
124
124
|
const gb = {
|
|
@@ -167,7 +167,7 @@ function zd(e) {
|
|
|
167
167
|
className: "sps-advanced-search__footer"
|
|
168
168
|
}, a && /* @__PURE__ */ s.createElement("div", {
|
|
169
169
|
id: "footer_links"
|
|
170
|
-
},
|
|
170
|
+
}, Et(a)), /* @__PURE__ */ s.createElement("div", {
|
|
171
171
|
className: "sps-advanced-search__footer-controls"
|
|
172
172
|
}, /* @__PURE__ */ s.createElement(We, {
|
|
173
173
|
kind: Ge.DEFAULT,
|
|
@@ -472,7 +472,7 @@ let ot = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) =>
|
|
|
472
472
|
function Sr(e) {
|
|
473
473
|
return pe(e || ot());
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function wt(e, t) {
|
|
476
476
|
const n = Sr(e), r = pe(`${n.current}_ctrl`);
|
|
477
477
|
return Le(() => {
|
|
478
478
|
t && (t.id = r.current, t.update());
|
|
@@ -510,12 +510,12 @@ function xb(e) {
|
|
|
510
510
|
return typeof n == "function" && n instanceof n && Jd.call(n) == wb;
|
|
511
511
|
}
|
|
512
512
|
var Zd = xb;
|
|
513
|
-
const
|
|
513
|
+
const Ct = /* @__PURE__ */ new Set(), Xr = /* @__PURE__ */ new Set(), Sn = /* @__PURE__ */ new Set(), Ho = /* @__PURE__ */ new Set();
|
|
514
514
|
function Ib(e) {
|
|
515
|
-
|
|
515
|
+
Ct.has(e) || Sn.has(e) || Ho.has(e) || Xr.add(e);
|
|
516
516
|
}
|
|
517
517
|
function kb(e) {
|
|
518
|
-
|
|
518
|
+
Ct.has(e) || Sn.has(e) || Xr.has(e) || Ho.add(e);
|
|
519
519
|
}
|
|
520
520
|
const Va = pr.default || pr, la = "MM/DD/YYYY", Mb = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, Xd = Symbol("Date Parse Error");
|
|
521
521
|
function jn(e) {
|
|
@@ -635,8 +635,8 @@ const se = Object.freeze({
|
|
|
635
635
|
}
|
|
636
636
|
return null;
|
|
637
637
|
};
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
Ct.add("dateFormat");
|
|
639
|
+
Ct.add("dateValidity");
|
|
640
640
|
const _b = function(t) {
|
|
641
641
|
if (Array.isArray(t)) {
|
|
642
642
|
const n = Us(t);
|
|
@@ -647,7 +647,7 @@ const _b = function(t) {
|
|
|
647
647
|
}
|
|
648
648
|
return null;
|
|
649
649
|
};
|
|
650
|
-
|
|
650
|
+
Ct.add("dateRangeOrder");
|
|
651
651
|
const Lb = function({
|
|
652
652
|
minDate: t,
|
|
653
653
|
maxDate: n
|
|
@@ -669,14 +669,14 @@ const Lb = function({
|
|
|
669
669
|
return o.hasOwnProperty("year") ? r(o) : null;
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
|
-
|
|
672
|
+
Ct.add("dateConstraint");
|
|
673
673
|
const Ob = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
674
674
|
__proto__: null,
|
|
675
675
|
date: Us,
|
|
676
676
|
dateRange: _b,
|
|
677
677
|
dateConstraint: Lb
|
|
678
678
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
679
|
-
function
|
|
679
|
+
function bn(e, t) {
|
|
680
680
|
for (const n of [].concat(e)) {
|
|
681
681
|
const r = t(n);
|
|
682
682
|
if (r)
|
|
@@ -688,14 +688,14 @@ const Rb = function(t) {
|
|
|
688
688
|
function n(r) {
|
|
689
689
|
return Number(r) >= t ? null : { min: t };
|
|
690
690
|
}
|
|
691
|
-
return (r) =>
|
|
691
|
+
return (r) => bn(r, n);
|
|
692
692
|
};
|
|
693
|
-
|
|
693
|
+
Ct.add("min");
|
|
694
694
|
const Pb = function(t) {
|
|
695
695
|
function n(r) {
|
|
696
696
|
return Number(r) <= t ? null : { max: t };
|
|
697
697
|
}
|
|
698
|
-
return (r) =>
|
|
698
|
+
return (r) => bn(r, n);
|
|
699
699
|
};
|
|
700
700
|
Xr.add("max");
|
|
701
701
|
const Bb = function(t) {
|
|
@@ -706,59 +706,59 @@ const Ab = function(t) {
|
|
|
706
706
|
function n(r) {
|
|
707
707
|
return r === void 0 || r.toString().length < t ? { minLength: t } : null;
|
|
708
708
|
}
|
|
709
|
-
return (r) =>
|
|
709
|
+
return (r) => bn(r, n);
|
|
710
710
|
};
|
|
711
|
-
|
|
711
|
+
Ct.add("minLength");
|
|
712
712
|
const Fb = function(t) {
|
|
713
713
|
function n(r) {
|
|
714
714
|
return r == null || Array.isArray(r) && r.length < t ? { minLengthArray: t } : null;
|
|
715
715
|
}
|
|
716
716
|
return (r) => n(r);
|
|
717
717
|
};
|
|
718
|
-
|
|
718
|
+
Ct.add("minLengthArray");
|
|
719
719
|
const $b = function(t) {
|
|
720
720
|
function n(r) {
|
|
721
721
|
return r === void 0 || r.toString().length <= t ? null : { maxLength: t };
|
|
722
722
|
}
|
|
723
|
-
return (r) =>
|
|
723
|
+
return (r) => bn(r, n);
|
|
724
724
|
};
|
|
725
|
-
|
|
725
|
+
Sn.add("maxLength");
|
|
726
726
|
const Vb = function(t) {
|
|
727
727
|
function n(r) {
|
|
728
728
|
return r == null || Array.isArray(r) && r.length <= t ? null : { maxLengthArray: t };
|
|
729
729
|
}
|
|
730
730
|
return (r) => n(r);
|
|
731
731
|
};
|
|
732
|
-
|
|
732
|
+
Ct.add("maxLengthArray");
|
|
733
733
|
const Kb = function(t) {
|
|
734
734
|
const n = t instanceof RegExp ? t : new RegExp(t);
|
|
735
735
|
function r(a) {
|
|
736
736
|
return n.test(a) ? null : { pattern: t };
|
|
737
737
|
}
|
|
738
|
-
return (a) =>
|
|
738
|
+
return (a) => bn(a, r);
|
|
739
739
|
};
|
|
740
|
-
|
|
740
|
+
Ct.add("pattern");
|
|
741
741
|
const Hb = function(e) {
|
|
742
742
|
function t(n) {
|
|
743
743
|
return /^\p{L}*$/u.test(n) ? null : { alpha: !0 };
|
|
744
744
|
}
|
|
745
|
-
return
|
|
745
|
+
return bn(e, t);
|
|
746
746
|
};
|
|
747
|
-
|
|
747
|
+
Sn.add("alpha");
|
|
748
748
|
const Wb = function(e) {
|
|
749
749
|
function t(n) {
|
|
750
750
|
return /^[0-9,. ]*$/.test(n) ? null : { numeric: !0 };
|
|
751
751
|
}
|
|
752
|
-
return
|
|
752
|
+
return bn(e, t);
|
|
753
753
|
};
|
|
754
|
-
|
|
754
|
+
Sn.add("numeric");
|
|
755
755
|
const Gb = function(e) {
|
|
756
756
|
function t(n) {
|
|
757
757
|
return /^[^0-9]*$/.test(n) ? null : { nonNumeric: !0 };
|
|
758
758
|
}
|
|
759
|
-
return
|
|
759
|
+
return bn(e, t);
|
|
760
760
|
};
|
|
761
|
-
|
|
761
|
+
Sn.add("nonNumeric");
|
|
762
762
|
const Wo = Object.freeze({
|
|
763
763
|
...Ob,
|
|
764
764
|
min: Rb,
|
|
@@ -772,7 +772,7 @@ const Wo = Object.freeze({
|
|
|
772
772
|
alpha: Hb,
|
|
773
773
|
numeric: Wb,
|
|
774
774
|
nonNumeric: Gb,
|
|
775
|
-
OnBlurErrorKeys:
|
|
775
|
+
OnBlurErrorKeys: Ct
|
|
776
776
|
});
|
|
777
777
|
function Go(e, t = []) {
|
|
778
778
|
const n = t.reduce(
|
|
@@ -781,27 +781,26 @@ function Go(e, t = []) {
|
|
|
781
781
|
);
|
|
782
782
|
return Object.keys(n).length ? n : null;
|
|
783
783
|
}
|
|
784
|
-
var
|
|
784
|
+
var tn = /* @__PURE__ */ ((e) => (e[e.ON_CHANGE = 0] = "ON_CHANGE", e[e.ON_BLUR = 1] = "ON_BLUR", e[e.ON_SUBMIT = 2] = "ON_SUBMIT", e))(tn || {});
|
|
785
785
|
function _M(e, t = {}, n = []) {
|
|
786
786
|
for (const [r, a] of Object.entries(t))
|
|
787
787
|
a === 0 ? Ib(r) : a === 2 && kb(r);
|
|
788
788
|
return s.useCallback(e, n);
|
|
789
789
|
}
|
|
790
|
-
var
|
|
790
|
+
var Mn, pn, un;
|
|
791
791
|
class rr {
|
|
792
792
|
constructor(t, n) {
|
|
793
|
-
|
|
794
|
-
Ns(this, kn, null);
|
|
795
|
-
Ns(this, pn, null);
|
|
793
|
+
It(this, "validators", []);
|
|
796
794
|
Ns(this, Mn, null);
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
795
|
+
Ns(this, pn, null);
|
|
796
|
+
Ns(this, un, null);
|
|
797
|
+
It(this, "preventativeErrors", []);
|
|
798
|
+
It(this, "submitted", !1);
|
|
800
799
|
this.path = t, this.update = n;
|
|
801
800
|
}
|
|
802
801
|
get errors() {
|
|
803
802
|
var t, n, r;
|
|
804
|
-
return
|
|
803
|
+
return Dn(this, Mn) === null && Dn(this, pn) === null && Dn(this, un) === null ? null : { ...(t = Dn(this, Mn)) != null ? t : {}, ...(n = Dn(this, pn)) != null ? n : {}, ...(r = Dn(this, un)) != null ? r : {} };
|
|
805
804
|
}
|
|
806
805
|
setValidators(t) {
|
|
807
806
|
return this.update(this.path, null, void 0, t), this;
|
|
@@ -810,9 +809,9 @@ class rr {
|
|
|
810
809
|
if (this.validators && this.validators.length > 0) {
|
|
811
810
|
const a = Go(t, this.validators);
|
|
812
811
|
let o = { onSubmit: {}, onChange: {}, onBlur: {} };
|
|
813
|
-
a && (o = Object.keys(a).reduce((l, c) => (Ho.has(c) ? l.onSubmit[c] = a[c] : Xr.has(c) ? l.onChange[c] = a[c] : l.onBlur[c] = a[c], l), o)), (typeof n > "u" || n ===
|
|
812
|
+
a && (o = Object.keys(a).reduce((l, c) => (Ho.has(c) ? l.onSubmit[c] = a[c] : Xr.has(c) ? l.onChange[c] = a[c] : l.onBlur[c] = a[c], l), o)), (typeof n > "u" || n === tn.ON_CHANGE) && Xt(this, pn, Object.keys(o.onChange).length === 0 ? null : o.onChange), (typeof n > "u" || n === tn.ON_BLUR) && Xt(this, un, Object.keys(o.onBlur).length === 0 ? null : o.onBlur), (typeof n > "u" || n === tn.ON_SUBMIT) && (Xt(this, Mn, Object.keys(o.onSubmit).length === 0 ? null : o.onSubmit), Xt(this, pn, Object.keys(o.onChange).length === 0 ? null : o.onChange), Xt(this, un, Object.keys(o.onBlur).length === 0 ? null : o.onBlur)), r || this.update(), this.isFocused() && this.onFocus && this.onFocus();
|
|
814
813
|
} else
|
|
815
|
-
this.errors && (
|
|
814
|
+
this.errors && (Xt(this, Mn, null), Xt(this, un, null), Xt(this, pn, null), r || this.update());
|
|
816
815
|
return this;
|
|
817
816
|
}
|
|
818
817
|
isValid() {
|
|
@@ -844,18 +843,18 @@ class rr {
|
|
|
844
843
|
onBlur() {
|
|
845
844
|
}
|
|
846
845
|
}
|
|
847
|
-
|
|
846
|
+
Mn = new WeakMap(), pn = new WeakMap(), un = new WeakMap();
|
|
848
847
|
class Ys extends rr {
|
|
849
848
|
constructor() {
|
|
850
849
|
super(...arguments);
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
850
|
+
It(this, "id", ot());
|
|
851
|
+
It(this, "focused", !1);
|
|
852
|
+
It(this, "pristine", !0);
|
|
854
853
|
}
|
|
855
854
|
setValue(n) {
|
|
856
855
|
if (this.preventativeErrors = [], this.validators && this.validators.length > 0) {
|
|
857
856
|
const r = Go(n, this.validators);
|
|
858
|
-
if (r && Object.keys(r).filter((o) =>
|
|
857
|
+
if (r && Object.keys(r).filter((o) => Sn.has(o)).length > 0) {
|
|
859
858
|
this.preventativeErrors = Object.keys(r);
|
|
860
859
|
return;
|
|
861
860
|
}
|
|
@@ -866,7 +865,7 @@ class Ys extends rr {
|
|
|
866
865
|
return this.pristine;
|
|
867
866
|
}
|
|
868
867
|
markAsPristine() {
|
|
869
|
-
return this.pristine = !0, this.
|
|
868
|
+
return this.pristine = !0, this.update(), this;
|
|
870
869
|
}
|
|
871
870
|
markAsDirty() {
|
|
872
871
|
return this.pristine = !1, this.update(), this;
|
|
@@ -887,7 +886,7 @@ class Ys extends rr {
|
|
|
887
886
|
class sr extends Ys {
|
|
888
887
|
constructor(n, r, a) {
|
|
889
888
|
super(a ? r : n, a || r);
|
|
890
|
-
|
|
889
|
+
It(this, "fields");
|
|
891
890
|
a && this.inferMembers(n);
|
|
892
891
|
}
|
|
893
892
|
isFocused() {
|
|
@@ -1001,7 +1000,7 @@ function zb(e, t = {}) {
|
|
|
1001
1000
|
jl(e);
|
|
1002
1001
|
const m = Vs(e, [], p);
|
|
1003
1002
|
return t && Is(e, m, t, !0, !0), m;
|
|
1004
|
-
}, []), r = pe(), a = pe(t), o =
|
|
1003
|
+
}, []), r = pe(), a = pe(t), o = nn((m, f) => {
|
|
1005
1004
|
var S, y, w;
|
|
1006
1005
|
let h;
|
|
1007
1006
|
if (r.current = void 0, f)
|
|
@@ -1011,7 +1010,7 @@ function zb(e, t = {}) {
|
|
|
1011
1010
|
if (T) {
|
|
1012
1011
|
T.focused = !1;
|
|
1013
1012
|
const D = $s(m.formValue, f.path);
|
|
1014
|
-
T.validate(D,
|
|
1013
|
+
T.validate(D, tn.ON_BLUR);
|
|
1015
1014
|
}
|
|
1016
1015
|
} else if (f.newValidators) {
|
|
1017
1016
|
if (a.current) {
|
|
@@ -1031,7 +1030,7 @@ function zb(e, t = {}) {
|
|
|
1031
1030
|
if (T) {
|
|
1032
1031
|
T.submitted = !0;
|
|
1033
1032
|
const D = $s(m.formValue, f.path);
|
|
1034
|
-
T.validate(D,
|
|
1033
|
+
T.validate(D, tn.ON_SUBMIT);
|
|
1035
1034
|
}
|
|
1036
1035
|
} else
|
|
1037
1036
|
h = To(m.formValue, f.path), tb(h, f.path, f.value);
|
|
@@ -1103,12 +1102,12 @@ function zb(e, t = {}) {
|
|
|
1103
1102
|
let O = m.formMeta, M = h;
|
|
1104
1103
|
if (O) {
|
|
1105
1104
|
for (const L of b)
|
|
1106
|
-
O = O.fields[L], M = M[L], D.has(O) || O.validate(M,
|
|
1105
|
+
O = O.fields[L], M = M[L], D.has(O) || O.validate(M, tn.ON_CHANGE);
|
|
1107
1106
|
if (N === Yn.ADDITION || N === Yn.ALTERATION) {
|
|
1108
1107
|
const L = O.fields[k];
|
|
1109
|
-
if (!D.has(L) && (O.fields[k].validate(I[k],
|
|
1108
|
+
if (!D.has(L) && (O.fields[k].validate(I[k], tn.ON_CHANGE), N === Yn.ADDITION && L.fields))
|
|
1110
1109
|
for (const [R, K] of Object.entries(L.fields))
|
|
1111
|
-
K.validate(I[k][R],
|
|
1110
|
+
K.validate(I[k][R], tn.ON_CHANGE);
|
|
1112
1111
|
}
|
|
1113
1112
|
}
|
|
1114
1113
|
}
|
|
@@ -1442,7 +1441,7 @@ function ur(e, t, n, {
|
|
|
1442
1441
|
}
|
|
1443
1442
|
const Ot = VS(null);
|
|
1444
1443
|
function Qr(e, t = []) {
|
|
1445
|
-
const n =
|
|
1444
|
+
const n = rn(Ot);
|
|
1446
1445
|
return He(() => (r) => {
|
|
1447
1446
|
const o = n && n.parentElementRef && n.parentElementRef.current || document.body;
|
|
1448
1447
|
let l = null, c = o.lastElementChild;
|
|
@@ -1521,9 +1520,9 @@ function tv(e, t, n) {
|
|
|
1521
1520
|
}
|
|
1522
1521
|
class Pn {
|
|
1523
1522
|
constructor(t, n) {
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1523
|
+
It(this, "nativeEvent");
|
|
1524
|
+
It(this, "currentTarget");
|
|
1525
|
+
It(this, "isPgStoppedInternal", !1);
|
|
1527
1526
|
this.target = t, this.currentTarget = t, this.nativeEvent = new CustomEvent("change", n), Object.defineProperty(this.nativeEvent, "target", {
|
|
1528
1527
|
value: t,
|
|
1529
1528
|
writable: !1,
|
|
@@ -1571,7 +1570,7 @@ class Pn {
|
|
|
1571
1570
|
function nv(e, t) {
|
|
1572
1571
|
return { ...e, ...t };
|
|
1573
1572
|
}
|
|
1574
|
-
function
|
|
1573
|
+
function sn(e) {
|
|
1575
1574
|
return sa(
|
|
1576
1575
|
nv,
|
|
1577
1576
|
e
|
|
@@ -1585,7 +1584,7 @@ function rv({
|
|
|
1585
1584
|
searchPlaceholder: a = "Search\u2026",
|
|
1586
1585
|
searchInputRef: o
|
|
1587
1586
|
}) {
|
|
1588
|
-
const [l, c] =
|
|
1587
|
+
const [l, c] = sn({
|
|
1589
1588
|
isAsync: typeof t == "function",
|
|
1590
1589
|
pending: !1,
|
|
1591
1590
|
value: r,
|
|
@@ -1757,13 +1756,13 @@ const es = s.forwardRef((e, t) => {
|
|
|
1757
1756
|
), [ne, le] = s.useState(-1), [ee, Te] = s.useState(I), De = t || s.useRef(null), re = s.useRef(null), Ze = s.useRef(null), Ke = Qr("sps-option-list-portal"), lt = s.useContext(Ot), [St, ct] = A || [be.BOTTOM_LEFT, be.TOP_LEFT], [[ge, Ae], Ye] = s.useState([{}, !1]), de = s.useRef(null), [
|
|
1758
1757
|
Ne,
|
|
1759
1758
|
Me,
|
|
1760
|
-
|
|
1759
|
+
Dt
|
|
1761
1760
|
] = rv(
|
|
1762
1761
|
{ ...e, searchInputRef: de }
|
|
1763
1762
|
), [we, ls] = tv(
|
|
1764
1763
|
e,
|
|
1765
1764
|
Me,
|
|
1766
|
-
|
|
1765
|
+
Dt
|
|
1767
1766
|
);
|
|
1768
1767
|
s.useEffect(() => {
|
|
1769
1768
|
Ye(
|
|
@@ -1861,8 +1860,8 @@ const es = s.forwardRef((e, t) => {
|
|
|
1861
1860
|
]), cs = s.useCallback((he) => {
|
|
1862
1861
|
const ce = we.findIndex((rt) => {
|
|
1863
1862
|
if (rt.textKey) {
|
|
1864
|
-
const
|
|
1865
|
-
return rt.value[
|
|
1863
|
+
const yn = rt.textKey;
|
|
1864
|
+
return rt.value[yn].toLowerCase().charAt([0]) === he.key.toLocaleLowerCase();
|
|
1866
1865
|
}
|
|
1867
1866
|
return rt.value.toString().toLowerCase().charAt([0]) === he.key.toLocaleLowerCase();
|
|
1868
1867
|
});
|
|
@@ -1898,7 +1897,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1898
1897
|
}, [I]), s.useEffect(() => {
|
|
1899
1898
|
M && nt(M);
|
|
1900
1899
|
}, [M]), s.useEffect(() => {
|
|
1901
|
-
!ee && re.current && (
|
|
1900
|
+
!ee && re.current && (Dt({ value: "" }), re.current.scrollTop = 0), ee && _ && _(Ae);
|
|
1902
1901
|
}, [ee]);
|
|
1903
1902
|
const Nr = F ? F / 16 : z, xr = Nr ? { maxHeight: `${Nr}rem` } : {};
|
|
1904
1903
|
return Ke(
|
|
@@ -1922,7 +1921,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1922
1921
|
}, u), (J || Me.pending) && /* @__PURE__ */ s.createElement("div", {
|
|
1923
1922
|
className: "sps-option-list__loading"
|
|
1924
1923
|
}, /* @__PURE__ */ s.createElement(np, null)), !J && !Me.pending && we.map((he, ce) => {
|
|
1925
|
-
const rt = `${k}-option-${ce}`,
|
|
1924
|
+
const rt = `${k}-option-${ce}`, yn = iv(he.value, Q, r), En = Xl(
|
|
1926
1925
|
Dr.current,
|
|
1927
1926
|
r || "",
|
|
1928
1927
|
he
|
|
@@ -1931,17 +1930,17 @@ const es = s.forwardRef((e, t) => {
|
|
|
1931
1930
|
key: rt,
|
|
1932
1931
|
id: rt,
|
|
1933
1932
|
role: x,
|
|
1934
|
-
"aria-selected":
|
|
1933
|
+
"aria-selected": yn,
|
|
1935
1934
|
href: he.href,
|
|
1936
1935
|
className: V(
|
|
1937
1936
|
"sps-option-list__option",
|
|
1938
1937
|
he.caption && "sps-option-list__option--has-caption",
|
|
1939
1938
|
he.disabled && "sps-option-list__option--disabled",
|
|
1940
1939
|
he.bold && "sps-option-list__option--bold",
|
|
1941
|
-
(
|
|
1940
|
+
(yn || En) && "sps-option-list__option--selected",
|
|
1942
1941
|
ne === ce && "sps-option-list__option--highlighted"
|
|
1943
1942
|
),
|
|
1944
|
-
onClick: (Ir) => Cr(Ir, he,
|
|
1943
|
+
onClick: (Ir) => Cr(Ir, he, En),
|
|
1945
1944
|
onMouseOver: () => le(ce),
|
|
1946
1945
|
tabIndex: -1,
|
|
1947
1946
|
ref: ne === ce ? Ze : null,
|
|
@@ -2134,7 +2133,7 @@ function Uo({
|
|
|
2134
2133
|
"data-testid": N,
|
|
2135
2134
|
...k
|
|
2136
2135
|
}) {
|
|
2137
|
-
const b = a || r, { wrapperId: I, controlId: O } =
|
|
2136
|
+
const b = a || r, { wrapperId: I, controlId: O } = wt(c, b), [M, L] = sn({
|
|
2138
2137
|
keyDown: null,
|
|
2139
2138
|
opensUpward: !1
|
|
2140
2139
|
}), R = s.useRef(null), K = s.useRef(null), _ = s.useRef(null), {
|
|
@@ -3137,7 +3136,7 @@ function vr({
|
|
|
3137
3136
|
unsafelyReplaceClassName: f,
|
|
3138
3137
|
...h
|
|
3139
3138
|
}) {
|
|
3140
|
-
const S = a || r, y = s.useRef(null), [w, T] = s.useState(e), [D, N] = s.useState(l), { wrapperId: k, controlId: b } =
|
|
3139
|
+
const S = a || r, y = s.useRef(null), [w, T] = s.useState(e), [D, N] = s.useState(l), { wrapperId: k, controlId: b } = wt(o, S);
|
|
3141
3140
|
s.useEffect(() => T(e), [e]), s.useEffect(() => N(l), [l]), s.useEffect(() => {
|
|
3142
3141
|
y.current && (y.current.indeterminate = D);
|
|
3143
3142
|
}, [D]);
|
|
@@ -3629,7 +3628,7 @@ function Dv(e) {
|
|
|
3629
3628
|
function Nv(e) {
|
|
3630
3629
|
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
3631
3630
|
}
|
|
3632
|
-
function
|
|
3631
|
+
function In(e) {
|
|
3633
3632
|
var t = typeof e;
|
|
3634
3633
|
return process.env.NODE_ENV !== "production" && (t = wv(e)), t;
|
|
3635
3634
|
}
|
|
@@ -3639,11 +3638,11 @@ function lp(e, t, n) {
|
|
|
3639
3638
|
throw new Error(process.env.NODE_ENV === "production" ? pt(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
3640
3639
|
if (typeof t == "function" && typeof n > "u" && (n = t, t = void 0), typeof n < "u") {
|
|
3641
3640
|
if (typeof n != "function")
|
|
3642
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(1) : "Expected the enhancer to be a function. Instead, received: '" +
|
|
3641
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(1) : "Expected the enhancer to be a function. Instead, received: '" + In(n) + "'");
|
|
3643
3642
|
return n(lp)(e, t);
|
|
3644
3643
|
}
|
|
3645
3644
|
if (typeof e != "function")
|
|
3646
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(2) : "Expected the root reducer to be a function. Instead, received: '" +
|
|
3645
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(2) : "Expected the root reducer to be a function. Instead, received: '" + In(e) + "'");
|
|
3647
3646
|
var a = e, o = t, l = [], c = l, p = !1;
|
|
3648
3647
|
function u() {
|
|
3649
3648
|
c === l && (c = l.slice());
|
|
@@ -3655,7 +3654,7 @@ function lp(e, t, n) {
|
|
|
3655
3654
|
}
|
|
3656
3655
|
function f(w) {
|
|
3657
3656
|
if (typeof w != "function")
|
|
3658
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(4) : "Expected the listener to be a function. Instead, received: '" +
|
|
3657
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(4) : "Expected the listener to be a function. Instead, received: '" + In(w) + "'");
|
|
3659
3658
|
if (p)
|
|
3660
3659
|
throw new Error(process.env.NODE_ENV === "production" ? pt(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
3661
3660
|
var T = !0;
|
|
@@ -3671,7 +3670,7 @@ function lp(e, t, n) {
|
|
|
3671
3670
|
}
|
|
3672
3671
|
function h(w) {
|
|
3673
3672
|
if (!Tv(w))
|
|
3674
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(7) : "Actions must be plain objects. Instead, the actual type was: '" +
|
|
3673
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(7) : "Actions must be plain objects. Instead, the actual type was: '" + In(w) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
3675
3674
|
if (typeof w.type > "u")
|
|
3676
3675
|
throw new Error(process.env.NODE_ENV === "production" ? pt(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
3677
3676
|
if (p)
|
|
@@ -3689,7 +3688,7 @@ function lp(e, t, n) {
|
|
|
3689
3688
|
}
|
|
3690
3689
|
function S(w) {
|
|
3691
3690
|
if (typeof w != "function")
|
|
3692
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(10) : "Expected the nextReducer to be a function. Instead, received: '" +
|
|
3691
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(10) : "Expected the nextReducer to be a function. Instead, received: '" + In(w));
|
|
3693
3692
|
a = w, h({
|
|
3694
3693
|
type: nc.REPLACE
|
|
3695
3694
|
});
|
|
@@ -3699,7 +3698,7 @@ function lp(e, t, n) {
|
|
|
3699
3698
|
return w = {
|
|
3700
3699
|
subscribe: function(N) {
|
|
3701
3700
|
if (typeof N != "object" || N === null)
|
|
3702
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(11) : "Expected the observer to be an object. Instead, received: '" +
|
|
3701
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(11) : "Expected the observer to be an object. Instead, received: '" + In(N) + "'");
|
|
3703
3702
|
function k() {
|
|
3704
3703
|
N.next && N.next(m());
|
|
3705
3704
|
}
|
|
@@ -3738,7 +3737,7 @@ function sc(e, t) {
|
|
|
3738
3737
|
if (typeof e == "function")
|
|
3739
3738
|
return rc(e, t);
|
|
3740
3739
|
if (typeof e != "object" || e === null)
|
|
3741
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(16) : "bindActionCreators expected an object or a function, but instead received: '" +
|
|
3740
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(16) : "bindActionCreators expected an object or a function, but instead received: '" + In(e) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
|
|
3742
3741
|
var n = {};
|
|
3743
3742
|
for (var r in e) {
|
|
3744
3743
|
var a = e[r];
|
|
@@ -4685,11 +4684,11 @@ function ry(e, t) {
|
|
|
4685
4684
|
};
|
|
4686
4685
|
function A(W) {
|
|
4687
4686
|
var J = He(function() {
|
|
4688
|
-
var Me = W.reactReduxForwardedRef,
|
|
4689
|
-
return [W.context, Me,
|
|
4687
|
+
var Me = W.reactReduxForwardedRef, Dt = js(W, qv);
|
|
4688
|
+
return [W.context, Me, Dt];
|
|
4690
4689
|
}, [W]), H = J[0], F = J[1], z = J[2], j = He(function() {
|
|
4691
4690
|
return H && H.Consumer && mr.exports.isContextConsumer(/* @__PURE__ */ Y.createElement(H.Consumer, null)) ? H : I;
|
|
4692
|
-
}, [H, I]), te =
|
|
4691
|
+
}, [H, I]), te = rn(j), X = Boolean(W.store) && Boolean(W.store.getState) && Boolean(W.store.dispatch), G = Boolean(te) && Boolean(te.store);
|
|
4693
4692
|
if (process.env.NODE_ENV !== "production" && !X && !G)
|
|
4694
4693
|
throw new Error('Could not find "store" in the context of ' + ('"' + R + '". Either wrap the root component in a <Provider>, ') + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + R + " in connect options."));
|
|
4695
4694
|
var oe = X ? W.store : te.store, ne = He(function() {
|
|
@@ -4697,8 +4696,8 @@ function ry(e, t) {
|
|
|
4697
4696
|
}, [oe]), le = He(function() {
|
|
4698
4697
|
if (!m)
|
|
4699
4698
|
return Zv;
|
|
4700
|
-
var Me = pp(oe, X ? null : te.subscription),
|
|
4701
|
-
return [Me,
|
|
4699
|
+
var Me = pp(oe, X ? null : te.subscription), Dt = Me.notifyNestedSubs.bind(Me);
|
|
4700
|
+
return [Me, Dt];
|
|
4702
4701
|
}, [oe, X, te]), ee = le[0], Te = le[1], De = He(function() {
|
|
4703
4702
|
return X ? te : ue({}, te, {
|
|
4704
4703
|
subscription: ee
|
|
@@ -5017,7 +5016,7 @@ var _t = function(t) {
|
|
|
5017
5016
|
border: l,
|
|
5018
5017
|
padding: p
|
|
5019
5018
|
};
|
|
5020
|
-
},
|
|
5019
|
+
}, vt = function(t) {
|
|
5021
5020
|
var n = t.slice(0, -2), r = t.slice(-2);
|
|
5022
5021
|
if (r !== "px")
|
|
5023
5022
|
return 0;
|
|
@@ -5040,20 +5039,20 @@ var _t = function(t) {
|
|
|
5040
5039
|
return n === void 0 && (n = My()), zs(t, n);
|
|
5041
5040
|
}, Ep = function(t, n) {
|
|
5042
5041
|
var r = {
|
|
5043
|
-
top:
|
|
5044
|
-
right:
|
|
5045
|
-
bottom:
|
|
5046
|
-
left:
|
|
5042
|
+
top: vt(n.marginTop),
|
|
5043
|
+
right: vt(n.marginRight),
|
|
5044
|
+
bottom: vt(n.marginBottom),
|
|
5045
|
+
left: vt(n.marginLeft)
|
|
5047
5046
|
}, a = {
|
|
5048
|
-
top:
|
|
5049
|
-
right:
|
|
5050
|
-
bottom:
|
|
5051
|
-
left:
|
|
5047
|
+
top: vt(n.paddingTop),
|
|
5048
|
+
right: vt(n.paddingRight),
|
|
5049
|
+
bottom: vt(n.paddingBottom),
|
|
5050
|
+
left: vt(n.paddingLeft)
|
|
5052
5051
|
}, o = {
|
|
5053
|
-
top:
|
|
5054
|
-
right:
|
|
5055
|
-
bottom:
|
|
5056
|
-
left:
|
|
5052
|
+
top: vt(n.borderTopWidth),
|
|
5053
|
+
right: vt(n.borderRightWidth),
|
|
5054
|
+
bottom: vt(n.borderBottomWidth),
|
|
5055
|
+
left: vt(n.borderLeftWidth)
|
|
5057
5056
|
};
|
|
5058
5057
|
return Xo({
|
|
5059
5058
|
borderBox: t,
|
|
@@ -5119,12 +5118,12 @@ function wp(e, t) {
|
|
|
5119
5118
|
Ry || typeof window < "u" && window[$y] || (n = console)[e].apply(n, Fy(t));
|
|
5120
5119
|
}
|
|
5121
5120
|
var Re = wp.bind(null, "warn"), Co = wp.bind(null, "error");
|
|
5122
|
-
function
|
|
5121
|
+
function mn() {
|
|
5123
5122
|
}
|
|
5124
5123
|
function Vy(e, t) {
|
|
5125
5124
|
return ue({}, e, {}, t);
|
|
5126
5125
|
}
|
|
5127
|
-
function
|
|
5126
|
+
function yt(e, t, n) {
|
|
5128
5127
|
var r = t.map(function(a) {
|
|
5129
5128
|
var o = Vy(n, a.options);
|
|
5130
5129
|
return e.addEventListener(a.eventName, a.fn, o), function() {
|
|
@@ -5153,7 +5152,7 @@ var Hy = function(e) {
|
|
|
5153
5152
|
function t() {
|
|
5154
5153
|
for (var r, a = arguments.length, o = new Array(a), l = 0; l < a; l++)
|
|
5155
5154
|
o[l] = arguments[l];
|
|
5156
|
-
return r = e.call.apply(e, [this].concat(o)) || this, r.callbacks = null, r.unbind =
|
|
5155
|
+
return r = e.call.apply(e, [this].concat(o)) || this, r.callbacks = null, r.unbind = mn, r.onWindowError = function(c) {
|
|
5157
5156
|
var p = r.getCallbacks();
|
|
5158
5157
|
p.isDragging() && (p.tryAbort(), process.env.NODE_ENV !== "production" && Re(`
|
|
5159
5158
|
An error was caught by our window 'error' event listener while a drag was occurring.
|
|
@@ -5171,7 +5170,7 @@ var Hy = function(e) {
|
|
|
5171
5170
|
}
|
|
5172
5171
|
var n = t.prototype;
|
|
5173
5172
|
return n.componentDidMount = function() {
|
|
5174
|
-
this.unbind =
|
|
5173
|
+
this.unbind = yt(window, [{
|
|
5175
5174
|
eventName: "error",
|
|
5176
5175
|
fn: this.onWindowError
|
|
5177
5176
|
}]);
|
|
@@ -5263,7 +5262,7 @@ var Hy = function(e) {
|
|
|
5263
5262
|
x: t.x - n.x,
|
|
5264
5263
|
y: t.y - n.y
|
|
5265
5264
|
};
|
|
5266
|
-
},
|
|
5265
|
+
}, fn = function(t, n) {
|
|
5267
5266
|
return t.x === n.x && t.y === n.y;
|
|
5268
5267
|
}, yr = function(t) {
|
|
5269
5268
|
return {
|
|
@@ -5376,7 +5375,7 @@ function ei(e, t) {
|
|
|
5376
5375
|
return n;
|
|
5377
5376
|
return -1;
|
|
5378
5377
|
}
|
|
5379
|
-
function
|
|
5378
|
+
function vn(e, t) {
|
|
5380
5379
|
if (e.find)
|
|
5381
5380
|
return e.find(t);
|
|
5382
5381
|
var n = ei(e, t);
|
|
@@ -5467,12 +5466,12 @@ var ma = qe(function(e, t) {
|
|
|
5467
5466
|
displaced: zr,
|
|
5468
5467
|
displacedBy: Mp,
|
|
5469
5468
|
at: null
|
|
5470
|
-
},
|
|
5469
|
+
}, Tt = function(e, t) {
|
|
5471
5470
|
return function(n) {
|
|
5472
5471
|
return e <= n && n <= t;
|
|
5473
5472
|
};
|
|
5474
5473
|
}, _p = function(e) {
|
|
5475
|
-
var t =
|
|
5474
|
+
var t = Tt(e.top, e.bottom), n = Tt(e.left, e.right);
|
|
5476
5475
|
return function(r) {
|
|
5477
5476
|
var a = t(r.top) && t(r.bottom) && n(r.left) && n(r.right);
|
|
5478
5477
|
if (a)
|
|
@@ -5487,7 +5486,7 @@ var ma = qe(function(e, t) {
|
|
|
5487
5486
|
return f;
|
|
5488
5487
|
};
|
|
5489
5488
|
}, nE = function(e) {
|
|
5490
|
-
var t =
|
|
5489
|
+
var t = Tt(e.top, e.bottom), n = Tt(e.left, e.right);
|
|
5491
5490
|
return function(r) {
|
|
5492
5491
|
var a = t(r.top) && t(r.bottom) && n(r.left) && n(r.right);
|
|
5493
5492
|
return a;
|
|
@@ -5514,7 +5513,7 @@ var ma = qe(function(e, t) {
|
|
|
5514
5513
|
crossAxisSize: "height"
|
|
5515
5514
|
}, rE = function(e) {
|
|
5516
5515
|
return function(t) {
|
|
5517
|
-
var n =
|
|
5516
|
+
var n = Tt(t.top, t.bottom), r = Tt(t.left, t.right);
|
|
5518
5517
|
return function(a) {
|
|
5519
5518
|
return e === ni ? n(a.top) && n(a.bottom) : r(a.left) && r(a.right);
|
|
5520
5519
|
};
|
|
@@ -5616,7 +5615,7 @@ function Xs(e) {
|
|
|
5616
5615
|
displacedBy: o,
|
|
5617
5616
|
destination: r
|
|
5618
5617
|
});
|
|
5619
|
-
var m =
|
|
5618
|
+
var m = vn(n, function(w) {
|
|
5620
5619
|
return w.descriptor.index === c;
|
|
5621
5620
|
});
|
|
5622
5621
|
if (!m)
|
|
@@ -5646,14 +5645,14 @@ function Xs(e) {
|
|
|
5646
5645
|
}
|
|
5647
5646
|
};
|
|
5648
5647
|
}
|
|
5649
|
-
function
|
|
5648
|
+
function gn(e, t) {
|
|
5650
5649
|
return Boolean(t.effected[e]);
|
|
5651
5650
|
}
|
|
5652
5651
|
var uE = function(e) {
|
|
5653
5652
|
var t = e.isMovingForward, n = e.destination, r = e.draggables, a = e.combine, o = e.afterCritical;
|
|
5654
5653
|
if (!n.isCombineEnabled)
|
|
5655
5654
|
return null;
|
|
5656
|
-
var l = a.draggableId, c = r[l], p = c.descriptor.index, u =
|
|
5655
|
+
var l = a.draggableId, c = r[l], p = c.descriptor.index, u = gn(l, o);
|
|
5657
5656
|
return u ? t ? p : p - 1 : t ? p + 1 : p;
|
|
5658
5657
|
}, mE = function(e) {
|
|
5659
5658
|
var t = e.isMovingForward, n = e.isInHomeList, r = e.insideDestination, a = e.location;
|
|
@@ -5699,7 +5698,7 @@ var uE = function(e) {
|
|
|
5699
5698
|
});
|
|
5700
5699
|
}, hE = function(e) {
|
|
5701
5700
|
var t = e.displaced, n = e.afterCritical, r = e.combineWith, a = e.displacedBy, o = Boolean(t.visible[r] || t.invisible[r]);
|
|
5702
|
-
return
|
|
5701
|
+
return gn(r, n) ? o ? Je : yr(a.point) : o ? a.point : Je;
|
|
5703
5702
|
}, gE = function(e) {
|
|
5704
5703
|
var t = e.afterCritical, n = e.impact, r = e.draggables, a = ua(n);
|
|
5705
5704
|
a || (process.env.NODE_ENV, B(!1));
|
|
@@ -5736,7 +5735,7 @@ var uE = function(e) {
|
|
|
5736
5735
|
var u = t.displaced, m = t.displacedBy, f = u.all[0];
|
|
5737
5736
|
if (f) {
|
|
5738
5737
|
var h = r[f];
|
|
5739
|
-
if (
|
|
5738
|
+
if (gn(f, o))
|
|
5740
5739
|
return Lc({
|
|
5741
5740
|
axis: p,
|
|
5742
5741
|
moveRelativeTo: h.page,
|
|
@@ -5752,7 +5751,7 @@ var uE = function(e) {
|
|
|
5752
5751
|
var y = l[l.length - 1];
|
|
5753
5752
|
if (y.descriptor.id === n.descriptor.id)
|
|
5754
5753
|
return c.borderBox.center;
|
|
5755
|
-
if (
|
|
5754
|
+
if (gn(y.descriptor.id, o)) {
|
|
5756
5755
|
var w = zs(y.page, yr(o.displacedBy.point));
|
|
5757
5756
|
return _c({
|
|
5758
5757
|
axis: p,
|
|
@@ -5930,7 +5929,7 @@ var TE = function(e) {
|
|
|
5930
5929
|
var t = e.isMovingForward, n = e.pageBorderBoxCenter, r = e.source, a = e.droppables, o = e.viewport, l = r.subject.active;
|
|
5931
5930
|
if (!l)
|
|
5932
5931
|
return null;
|
|
5933
|
-
var c = r.axis, p =
|
|
5932
|
+
var c = r.axis, p = Tt(l[c.start], l[c.end]), u = pa(a).filter(function(f) {
|
|
5934
5933
|
return f !== r;
|
|
5935
5934
|
}).filter(function(f) {
|
|
5936
5935
|
return f.isEnabled;
|
|
@@ -5942,7 +5941,7 @@ var TE = function(e) {
|
|
|
5942
5941
|
var h = st(f);
|
|
5943
5942
|
return t ? l[c.crossAxisEnd] < h[c.crossAxisEnd] : h[c.crossAxisStart] < l[c.crossAxisStart];
|
|
5944
5943
|
}).filter(function(f) {
|
|
5945
|
-
var h = st(f), S =
|
|
5944
|
+
var h = st(f), S = Tt(h[c.start], h[c.end]);
|
|
5946
5945
|
return p(h[c.start]) || p(h[c.end]) || S(l[c.start]) || S(l[c.end]);
|
|
5947
5946
|
}).sort(function(f, h) {
|
|
5948
5947
|
var S = st(f)[c.crossAxisStart], y = st(h)[c.crossAxisStart];
|
|
@@ -5955,7 +5954,7 @@ var TE = function(e) {
|
|
|
5955
5954
|
if (u.length === 1)
|
|
5956
5955
|
return u[0];
|
|
5957
5956
|
var m = u.filter(function(f) {
|
|
5958
|
-
var h =
|
|
5957
|
+
var h = Tt(st(f)[c.start], st(f)[c.end]);
|
|
5959
5958
|
return h(n[c.line]);
|
|
5960
5959
|
});
|
|
5961
5960
|
return m.length === 1 ? m[0] : m.length > 1 ? m.sort(function(f, h) {
|
|
@@ -5966,10 +5965,10 @@ var TE = function(e) {
|
|
|
5966
5965
|
})[0];
|
|
5967
5966
|
}, Rc = function(t, n) {
|
|
5968
5967
|
var r = t.page.borderBox.center;
|
|
5969
|
-
return
|
|
5968
|
+
return gn(t.descriptor.id, n) ? ft(r, n.displacedBy.point) : r;
|
|
5970
5969
|
}, NE = function(t, n) {
|
|
5971
5970
|
var r = t.page.borderBox;
|
|
5972
|
-
return
|
|
5971
|
+
return gn(t.descriptor.id, n) ? ts(r, yr(n.displacedBy.point)) : r;
|
|
5973
5972
|
}, xE = function(e) {
|
|
5974
5973
|
var t = e.pageBorderBoxCenter, n = e.viewport, r = e.destination, a = e.insideDestination, o = e.afterCritical, l = a.filter(function(c) {
|
|
5975
5974
|
return Op({
|
|
@@ -6179,11 +6178,11 @@ var TE = function(e) {
|
|
|
6179
6178
|
afterCritical: t.afterCritical
|
|
6180
6179
|
});
|
|
6181
6180
|
};
|
|
6182
|
-
function
|
|
6181
|
+
function kn(e) {
|
|
6183
6182
|
return e.phase === "DRAGGING" || e.phase === "COLLECTING";
|
|
6184
6183
|
}
|
|
6185
6184
|
function $p(e) {
|
|
6186
|
-
var t =
|
|
6185
|
+
var t = Tt(e.top, e.bottom), n = Tt(e.left, e.right);
|
|
6187
6186
|
return function(a) {
|
|
6188
6187
|
return t(a.y) && n(a.x);
|
|
6189
6188
|
};
|
|
@@ -6212,7 +6211,7 @@ function BE(e) {
|
|
|
6212
6211
|
return !1;
|
|
6213
6212
|
if ($p(l)(t.center))
|
|
6214
6213
|
return !0;
|
|
6215
|
-
var c = o.axis, p = l.center[c.crossAxisLine], u = t[c.crossAxisStart], m = t[c.crossAxisEnd], f =
|
|
6214
|
+
var c = o.axis, p = l.center[c.crossAxisLine], u = t[c.crossAxisStart], m = t[c.crossAxisEnd], f = Tt(l[c.crossAxisStart], l[c.crossAxisEnd]), h = f(u), S = f(m);
|
|
6216
6215
|
return !h && !S ? !0 : h ? u < p : m > p;
|
|
6217
6216
|
});
|
|
6218
6217
|
return a.length ? a.length === 1 ? a[0].descriptor.id : PE({
|
|
@@ -6236,8 +6235,8 @@ function FE(e) {
|
|
|
6236
6235
|
return n ? r && n.descriptor.index > t.descriptor.index ? n.descriptor.index - 1 : n.descriptor.index : null;
|
|
6237
6236
|
}
|
|
6238
6237
|
var $E = function(e) {
|
|
6239
|
-
var t = e.pageBorderBoxWithDroppableScroll, n = e.draggable, r = e.destination, a = e.insideDestination, o = e.last, l = e.viewport, c = e.afterCritical, p = r.axis, u = ns(r.axis, n.displaceBy), m = u.value, f = t[p.start], h = t[p.end], S = ma(n, a), y =
|
|
6240
|
-
var D = T.descriptor.id, N = T.page.borderBox.center[p.line], k =
|
|
6238
|
+
var t = e.pageBorderBoxWithDroppableScroll, n = e.draggable, r = e.destination, a = e.insideDestination, o = e.last, l = e.viewport, c = e.afterCritical, p = r.axis, u = ns(r.axis, n.displaceBy), m = u.value, f = t[p.start], h = t[p.end], S = ma(n, a), y = vn(S, function(T) {
|
|
6239
|
+
var D = T.descriptor.id, N = T.page.borderBox.center[p.line], k = gn(D, c), b = Kp({
|
|
6241
6240
|
displaced: o,
|
|
6242
6241
|
id: D
|
|
6243
6242
|
});
|
|
@@ -6260,8 +6259,8 @@ var $E = function(e) {
|
|
|
6260
6259
|
var t = e.draggable, n = e.pageBorderBoxWithDroppableScroll, r = e.previousImpact, a = e.destination, o = e.insideDestination, l = e.afterCritical;
|
|
6261
6260
|
if (!a.isCombineEnabled)
|
|
6262
6261
|
return null;
|
|
6263
|
-
var c = a.axis, p = ns(a.axis, t.displaceBy), u = p.value, m = n[c.start], f = n[c.end], h = ma(t, o), S =
|
|
6264
|
-
var T = w.descriptor.id, D = w.page.borderBox, N = D[c.size], k = N / VE, b =
|
|
6262
|
+
var c = a.axis, p = ns(a.axis, t.displaceBy), u = p.value, m = n[c.start], f = n[c.end], h = ma(t, o), S = vn(h, function(w) {
|
|
6263
|
+
var T = w.descriptor.id, D = w.page.borderBox, N = D[c.size], k = N / VE, b = gn(T, l), I = Kp({
|
|
6265
6264
|
displaced: r.displaced,
|
|
6266
6265
|
id: T
|
|
6267
6266
|
});
|
|
@@ -6635,9 +6634,9 @@ var Pc = {
|
|
|
6635
6634
|
if (t.type === "MOVE") {
|
|
6636
6635
|
if (e.phase === "DROP_PENDING")
|
|
6637
6636
|
return e;
|
|
6638
|
-
|
|
6637
|
+
kn(e) || (process.env.NODE_ENV !== "production" ? B(!1, t.type + " not permitted in phase " + e.phase) : B(!1));
|
|
6639
6638
|
var N = t.payload.client;
|
|
6640
|
-
return
|
|
6639
|
+
return fn(N, e.current.client.selection) ? e : Wr({
|
|
6641
6640
|
state: e,
|
|
6642
6641
|
clientSelection: N,
|
|
6643
6642
|
impact: No(e) ? e.impact : null
|
|
@@ -6646,7 +6645,7 @@ var Pc = {
|
|
|
6646
6645
|
if (t.type === "UPDATE_DROPPABLE_SCROLL") {
|
|
6647
6646
|
if (e.phase === "DROP_PENDING" || e.phase === "COLLECTING")
|
|
6648
6647
|
return Qa(e);
|
|
6649
|
-
|
|
6648
|
+
kn(e) || (process.env.NODE_ENV !== "production" ? B(!1, t.type + " not permitted in phase " + e.phase) : B(!1));
|
|
6650
6649
|
var k = t.payload, b = k.id, I = k.newScroll, O = e.dimensions.droppables[b];
|
|
6651
6650
|
if (!O)
|
|
6652
6651
|
return e;
|
|
@@ -6656,7 +6655,7 @@ var Pc = {
|
|
|
6656
6655
|
if (t.type === "UPDATE_DROPPABLE_IS_ENABLED") {
|
|
6657
6656
|
if (e.phase === "DROP_PENDING")
|
|
6658
6657
|
return e;
|
|
6659
|
-
|
|
6658
|
+
kn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Attempting to move in an unsupported phase " + e.phase) : B(!1));
|
|
6660
6659
|
var L = t.payload, R = L.id, K = L.isEnabled, _ = e.dimensions.droppables[R];
|
|
6661
6660
|
_ || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot find Droppable[id: " + R + "] to toggle its enabled state") : B(!1)), _.isEnabled === K && (process.env.NODE_ENV !== "production" ? B(!1, "Trying to set droppable isEnabled to " + String(K) + `
|
|
6662
6661
|
but it is already ` + String(_.isEnabled)) : B(!1));
|
|
@@ -6668,7 +6667,7 @@ var Pc = {
|
|
|
6668
6667
|
if (t.type === "UPDATE_DROPPABLE_IS_COMBINE_ENABLED") {
|
|
6669
6668
|
if (e.phase === "DROP_PENDING")
|
|
6670
6669
|
return e;
|
|
6671
|
-
|
|
6670
|
+
kn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Attempting to move in an unsupported phase " + e.phase) : B(!1));
|
|
6672
6671
|
var x = t.payload, A = x.id, Q = x.isCombineEnabled, q = e.dimensions.droppables[A];
|
|
6673
6672
|
q || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot find Droppable[id: " + A + "] to toggle its isCombineEnabled state") : B(!1)), q.isCombineEnabled === Q && (process.env.NODE_ENV !== "production" ? B(!1, "Trying to set droppable isCombineEnabled to " + String(Q) + `
|
|
6674
6673
|
but it is already ` + String(q.isCombineEnabled)) : B(!1));
|
|
@@ -6680,9 +6679,9 @@ var Pc = {
|
|
|
6680
6679
|
if (t.type === "MOVE_BY_WINDOW_SCROLL") {
|
|
6681
6680
|
if (e.phase === "DROP_PENDING" || e.phase === "DROP_ANIMATING")
|
|
6682
6681
|
return e;
|
|
6683
|
-
|
|
6682
|
+
kn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot move by window in phase " + e.phase) : B(!1)), e.isWindowScrollAllowed || (process.env.NODE_ENV !== "production" ? B(!1, "Window scrolling is currently not supported for fixed lists") : B(!1));
|
|
6684
6683
|
var J = t.payload.newScroll;
|
|
6685
|
-
if (
|
|
6684
|
+
if (fn(e.viewport.scroll.current, J))
|
|
6686
6685
|
return Qa(e);
|
|
6687
6686
|
var H = Pp(e.viewport, J);
|
|
6688
6687
|
return No(e) ? Up({
|
|
@@ -6694,10 +6693,10 @@ var Pc = {
|
|
|
6694
6693
|
});
|
|
6695
6694
|
}
|
|
6696
6695
|
if (t.type === "UPDATE_VIEWPORT_MAX_SCROLL") {
|
|
6697
|
-
if (!
|
|
6696
|
+
if (!kn(e))
|
|
6698
6697
|
return e;
|
|
6699
6698
|
var F = t.payload.maxScroll;
|
|
6700
|
-
if (
|
|
6699
|
+
if (fn(F, e.viewport.scroll.max))
|
|
6701
6700
|
return e;
|
|
6702
6701
|
var z = ue({}, e.viewport, {
|
|
6703
6702
|
scroll: ue({}, e.viewport.scroll, {
|
|
@@ -6948,17 +6947,17 @@ var gT = function(e) {
|
|
|
6948
6947
|
outOfTheWay: 0.2,
|
|
6949
6948
|
minDropTime: 0.33,
|
|
6950
6949
|
maxDropTime: 0.55
|
|
6951
|
-
},
|
|
6952
|
-
fluid: "opacity " +
|
|
6953
|
-
snap: "transform " +
|
|
6950
|
+
}, Nn = di.outOfTheWay + "s " + ci.outOfTheWay, Gr = {
|
|
6951
|
+
fluid: "opacity " + Nn,
|
|
6952
|
+
snap: "transform " + Nn + ", opacity " + Nn,
|
|
6954
6953
|
drop: function(t) {
|
|
6955
6954
|
var n = t + "s " + ci.drop;
|
|
6956
6955
|
return "transform " + n + ", opacity " + n;
|
|
6957
6956
|
},
|
|
6958
|
-
outOfTheWay: "transform " +
|
|
6959
|
-
placeholder: "height " +
|
|
6957
|
+
outOfTheWay: "transform " + Nn,
|
|
6958
|
+
placeholder: "height " + Nn + ", width " + Nn + ", margin " + Nn
|
|
6960
6959
|
}, Bc = function(t) {
|
|
6961
|
-
return
|
|
6960
|
+
return fn(t, Je) ? null : "translate(" + t.x + "px, " + t.y + "px)";
|
|
6962
6961
|
}, xo = {
|
|
6963
6962
|
moveTo: Bc,
|
|
6964
6963
|
drop: function(t, n) {
|
|
@@ -7058,7 +7057,7 @@ var gT = function(e) {
|
|
|
7058
7057
|
afterCritical: o.afterCritical,
|
|
7059
7058
|
result: D,
|
|
7060
7059
|
impact: h
|
|
7061
|
-
}, b = !
|
|
7060
|
+
}, b = !fn(o.current.client.offset, N) || Boolean(D.combine);
|
|
7062
7061
|
if (!b) {
|
|
7063
7062
|
n(li({
|
|
7064
7063
|
completed: k
|
|
@@ -7101,15 +7100,15 @@ function DT(e) {
|
|
|
7101
7100
|
function n() {
|
|
7102
7101
|
t(Zp());
|
|
7103
7102
|
}
|
|
7104
|
-
var r = Ur(n), a = CT(r), o =
|
|
7103
|
+
var r = Ur(n), a = CT(r), o = mn;
|
|
7105
7104
|
function l() {
|
|
7106
|
-
return o !==
|
|
7105
|
+
return o !== mn;
|
|
7107
7106
|
}
|
|
7108
7107
|
function c() {
|
|
7109
|
-
l() && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot start scroll listener when already active") : B(!1)), o =
|
|
7108
|
+
l() && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot start scroll listener when already active") : B(!1)), o = yt(window, [a]);
|
|
7110
7109
|
}
|
|
7111
7110
|
function p() {
|
|
7112
|
-
l() || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot stop scroll listener when not active") : B(!1)), r.cancel(), o(), o =
|
|
7111
|
+
l() || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot stop scroll listener when not active") : B(!1)), r.cancel(), o(), o = mn;
|
|
7113
7112
|
}
|
|
7114
7113
|
return {
|
|
7115
7114
|
start: c,
|
|
@@ -7346,7 +7345,7 @@ var NT = function(t) {
|
|
|
7346
7345
|
}
|
|
7347
7346
|
};
|
|
7348
7347
|
n = requestAnimationFrame(function() {
|
|
7349
|
-
n = null, t =
|
|
7348
|
+
n = null, t = yt(window, [l]);
|
|
7350
7349
|
});
|
|
7351
7350
|
}
|
|
7352
7351
|
};
|
|
@@ -7601,7 +7600,7 @@ var jT = function(e, t) {
|
|
|
7601
7600
|
return !(!t.isEnabled || !t.frame);
|
|
7602
7601
|
});
|
|
7603
7602
|
}), JT = function(t, n) {
|
|
7604
|
-
var r =
|
|
7603
|
+
var r = vn(qT(n), function(a) {
|
|
7605
7604
|
return a.frame || (process.env.NODE_ENV !== "production" ? B(!1, "Invalid result") : B(!1)), $p(a.frame.pageMarginBox)(t);
|
|
7606
7605
|
});
|
|
7607
7606
|
return r;
|
|
@@ -7613,7 +7612,7 @@ var jT = function(e, t) {
|
|
|
7613
7612
|
}
|
|
7614
7613
|
var o = JT(t, r);
|
|
7615
7614
|
return o;
|
|
7616
|
-
},
|
|
7615
|
+
}, hn = {
|
|
7617
7616
|
startFromPercentage: 0.25,
|
|
7618
7617
|
maxScrollAtPercentage: 0.05,
|
|
7619
7618
|
maxPixelScroll: 28,
|
|
@@ -7625,7 +7624,7 @@ var jT = function(e, t) {
|
|
|
7625
7624
|
accelerateAt: 360
|
|
7626
7625
|
}
|
|
7627
7626
|
}, XT = function(e, t) {
|
|
7628
|
-
var n = e[t.size] *
|
|
7627
|
+
var n = e[t.size] * hn.startFromPercentage, r = e[t.size] * hn.maxScrollAtPercentage, a = {
|
|
7629
7628
|
startScrollingFrom: n,
|
|
7630
7629
|
maxScrollValueAt: r
|
|
7631
7630
|
};
|
|
@@ -7644,16 +7643,16 @@ var jT = function(e, t) {
|
|
|
7644
7643
|
if (e > t.startScrollingFrom)
|
|
7645
7644
|
return 0;
|
|
7646
7645
|
if (e <= t.maxScrollValueAt)
|
|
7647
|
-
return
|
|
7646
|
+
return hn.maxPixelScroll;
|
|
7648
7647
|
if (e === t.startScrollingFrom)
|
|
7649
7648
|
return pi;
|
|
7650
7649
|
var n = nu({
|
|
7651
7650
|
startOfRange: t.maxScrollValueAt,
|
|
7652
7651
|
endOfRange: t.startScrollingFrom,
|
|
7653
7652
|
current: e
|
|
7654
|
-
}), r = 1 - n, a =
|
|
7653
|
+
}), r = 1 - n, a = hn.maxPixelScroll * hn.ease(r);
|
|
7655
7654
|
return Math.ceil(a);
|
|
7656
|
-
}, $c =
|
|
7655
|
+
}, $c = hn.durationDampening.accelerateAt, Vc = hn.durationDampening.stopDampeningAt, ew = function(e, t) {
|
|
7657
7656
|
var n = t, r = Vc, a = Date.now(), o = a - n;
|
|
7658
7657
|
if (o >= Vc)
|
|
7659
7658
|
return e;
|
|
@@ -7663,7 +7662,7 @@ var jT = function(e, t) {
|
|
|
7663
7662
|
startOfRange: $c,
|
|
7664
7663
|
endOfRange: r,
|
|
7665
7664
|
current: o
|
|
7666
|
-
}), c = e *
|
|
7665
|
+
}), c = e * hn.ease(l);
|
|
7667
7666
|
return Math.ceil(c);
|
|
7668
7667
|
}, Kc = function(e) {
|
|
7669
7668
|
var t = e.distanceToEdge, n = e.thresholds, r = e.dragStartTime, a = e.shouldUseTimeDampening, o = QT(t, n);
|
|
@@ -7711,14 +7710,14 @@ var jT = function(e, t) {
|
|
|
7711
7710
|
x: p,
|
|
7712
7711
|
y: c
|
|
7713
7712
|
});
|
|
7714
|
-
if (
|
|
7713
|
+
if (fn(u, Je))
|
|
7715
7714
|
return null;
|
|
7716
7715
|
var m = tw({
|
|
7717
7716
|
container: n,
|
|
7718
7717
|
subject: r,
|
|
7719
7718
|
proposedScroll: u
|
|
7720
7719
|
});
|
|
7721
|
-
return m ?
|
|
7720
|
+
return m ? fn(m, Je) ? null : m : null;
|
|
7722
7721
|
}, rw = Np(function(e) {
|
|
7723
7722
|
return e === 0 ? 0 : e > 0 ? 1 : -1;
|
|
7724
7723
|
}), ui = function() {
|
|
@@ -7730,7 +7729,7 @@ var jT = function(e, t) {
|
|
|
7730
7729
|
x: e(o.x, r.x),
|
|
7731
7730
|
y: e(o.y, r.y)
|
|
7732
7731
|
};
|
|
7733
|
-
return
|
|
7732
|
+
return fn(l, Je) ? null : l;
|
|
7734
7733
|
};
|
|
7735
7734
|
}(), su = function(t) {
|
|
7736
7735
|
var n = t.max, r = t.current, a = t.change, o = {
|
|
@@ -8063,7 +8062,7 @@ function ou(e, t) {
|
|
|
8063
8062
|
var n = "[" + gr.contextId + '="' + e + '"]', r = xp(document.querySelectorAll(n));
|
|
8064
8063
|
if (!r.length)
|
|
8065
8064
|
return process.env.NODE_ENV !== "production" && Re('Unable to find any drag handles in the context "' + e + '"'), null;
|
|
8066
|
-
var a =
|
|
8065
|
+
var a = vn(r, function(o) {
|
|
8067
8066
|
return o.getAttribute(gr.draggableId) === t;
|
|
8068
8067
|
});
|
|
8069
8068
|
return a ? as(a) ? a : (process.env.NODE_ENV !== "production" && Re("drag handle needs to be a HTMLElement"), null) : (process.env.NODE_ENV !== "production" && Re('Unable to find drag handle with id "' + t + '" as no handle with a matching id was found'), null);
|
|
@@ -8400,7 +8399,7 @@ var Ow = 9, Rw = 13, vi = 27, lu = 32, Pw = 33, Bw = 34, Aw = 35, Fw = 36, $w =
|
|
|
8400
8399
|
var e = "visibilitychange";
|
|
8401
8400
|
if (typeof document > "u")
|
|
8402
8401
|
return e;
|
|
8403
|
-
var t = [e, "ms" + e, "webkit" + e, "moz" + e, "o" + e], n =
|
|
8402
|
+
var t = [e, "ms" + e, "webkit" + e, "moz" + e, "o" + e], n = vn(t, function(r) {
|
|
8404
8403
|
return "on" + r in document;
|
|
8405
8404
|
});
|
|
8406
8405
|
return n || e;
|
|
@@ -8497,7 +8496,7 @@ function Uw(e) {
|
|
|
8497
8496
|
}];
|
|
8498
8497
|
}
|
|
8499
8498
|
function Yw(e) {
|
|
8500
|
-
var t = pe(zc), n = pe(
|
|
8499
|
+
var t = pe(zc), n = pe(mn), r = Ce(function() {
|
|
8501
8500
|
return {
|
|
8502
8501
|
eventName: "mousedown",
|
|
8503
8502
|
fn: function(f) {
|
|
@@ -8537,7 +8536,7 @@ function Yw(e) {
|
|
|
8537
8536
|
passive: !1,
|
|
8538
8537
|
capture: !0
|
|
8539
8538
|
};
|
|
8540
|
-
n.current =
|
|
8539
|
+
n.current = yt(window, [a, r], f);
|
|
8541
8540
|
}, [a, r]), l = me(function() {
|
|
8542
8541
|
var m = t.current;
|
|
8543
8542
|
m.type !== "IDLE" && (t.current = zc, n.current(), o());
|
|
@@ -8560,7 +8559,7 @@ function Yw(e) {
|
|
|
8560
8559
|
t.current = y;
|
|
8561
8560
|
}
|
|
8562
8561
|
});
|
|
8563
|
-
n.current =
|
|
8562
|
+
n.current = yt(window, h, f);
|
|
8564
8563
|
}, [c, l]), u = me(function(f, h) {
|
|
8565
8564
|
t.current.type !== "IDLE" && (process.env.NODE_ENV !== "production" ? B(!1, "Expected to move from IDLE to PENDING drag") : B(!1)), t.current = {
|
|
8566
8565
|
type: "PENDING",
|
|
@@ -8665,7 +8664,7 @@ function Jw(e) {
|
|
|
8665
8664
|
function m() {
|
|
8666
8665
|
p || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot stop capturing a keyboard drag when not capturing") : B(!1)), p = !1, t.current(), r();
|
|
8667
8666
|
}
|
|
8668
|
-
t.current =
|
|
8667
|
+
t.current = yt(window, qw(u, m), {
|
|
8669
8668
|
capture: !0,
|
|
8670
8669
|
passive: !1
|
|
8671
8670
|
});
|
|
@@ -8676,7 +8675,7 @@ function Jw(e) {
|
|
|
8676
8675
|
passive: !1,
|
|
8677
8676
|
capture: !0
|
|
8678
8677
|
};
|
|
8679
|
-
t.current =
|
|
8678
|
+
t.current = yt(window, [n], o);
|
|
8680
8679
|
}, [n]);
|
|
8681
8680
|
gt(function() {
|
|
8682
8681
|
return r(), function() {
|
|
@@ -8787,7 +8786,7 @@ function eC(e) {
|
|
|
8787
8786
|
}];
|
|
8788
8787
|
}
|
|
8789
8788
|
function tC(e) {
|
|
8790
|
-
var t = pe(so), n = pe(
|
|
8789
|
+
var t = pe(so), n = pe(mn), r = me(function() {
|
|
8791
8790
|
return t.current;
|
|
8792
8791
|
}, []), a = me(function(S) {
|
|
8793
8792
|
t.current = S;
|
|
@@ -8817,7 +8816,7 @@ function tC(e) {
|
|
|
8817
8816
|
capture: !0,
|
|
8818
8817
|
passive: !1
|
|
8819
8818
|
};
|
|
8820
|
-
n.current =
|
|
8819
|
+
n.current = yt(window, [o], S);
|
|
8821
8820
|
}, [o]), c = me(function() {
|
|
8822
8821
|
var h = t.current;
|
|
8823
8822
|
h.type !== "IDLE" && (h.type === "PENDING" && clearTimeout(h.longPressTimerId), a(so), n.current(), l());
|
|
@@ -8834,7 +8833,7 @@ function tC(e) {
|
|
|
8834
8833
|
cancel: p,
|
|
8835
8834
|
completed: c,
|
|
8836
8835
|
getPhase: r
|
|
8837
|
-
}, w =
|
|
8836
|
+
}, w = yt(window, eC(y), S), T = yt(window, Qw(y), S);
|
|
8838
8837
|
n.current = function() {
|
|
8839
8838
|
w(), T();
|
|
8840
8839
|
};
|
|
@@ -8864,7 +8863,7 @@ function tC(e) {
|
|
|
8864
8863
|
y.type === "PENDING" && (clearTimeout(y.longPressTimerId), a(so));
|
|
8865
8864
|
};
|
|
8866
8865
|
}, [r, l, a]), gt(function() {
|
|
8867
|
-
var S =
|
|
8866
|
+
var S = yt(window, [{
|
|
8868
8867
|
eventName: "touchmove",
|
|
8869
8868
|
fn: function() {
|
|
8870
8869
|
},
|
|
@@ -8917,7 +8916,7 @@ var iC = function() {
|
|
|
8917
8916
|
var e = "matches";
|
|
8918
8917
|
if (typeof document > "u")
|
|
8919
8918
|
return e;
|
|
8920
|
-
var t = [e, "msMatchesSelector", "webkitMatchesSelector"], n =
|
|
8919
|
+
var t = [e, "msMatchesSelector", "webkitMatchesSelector"], n = vn(t, function(r) {
|
|
8921
8920
|
return r in Element.prototype;
|
|
8922
8921
|
});
|
|
8923
8922
|
return n || e;
|
|
@@ -8943,7 +8942,7 @@ function pC(e, t) {
|
|
|
8943
8942
|
return n ? n.getAttribute(gr.draggableId) : null;
|
|
8944
8943
|
}
|
|
8945
8944
|
function uC(e, t) {
|
|
8946
|
-
var n = "[" + ko.contextId + '="' + e + '"]', r = xp(document.querySelectorAll(n)), a =
|
|
8945
|
+
var n = "[" + ko.contextId + '="' + e + '"]', r = xp(document.querySelectorAll(n)), a = vn(r, function(o) {
|
|
8947
8946
|
return o.getAttribute(ko.id) === t;
|
|
8948
8947
|
});
|
|
8949
8948
|
return a ? as(a) ? a : (process.env.NODE_ENV !== "production" && Re("Draggable element is not a HTMLElement"), null) : null;
|
|
@@ -8994,7 +8993,7 @@ function fC(e) {
|
|
|
8994
8993
|
return process.env.NODE_ENV !== "production" && Re("Unable to find draggable element with id: " + o), null;
|
|
8995
8994
|
if (c && !u.options.canDragInteractiveElements && sC(m, c))
|
|
8996
8995
|
return null;
|
|
8997
|
-
var f = t.claim(l ||
|
|
8996
|
+
var f = t.claim(l || mn), h = "PRE_DRAG";
|
|
8998
8997
|
function S() {
|
|
8999
8998
|
return u.options.shouldRespectForcePress;
|
|
9000
8999
|
}
|
|
@@ -9019,7 +9018,7 @@ function fC(e) {
|
|
|
9019
9018
|
if (K === void 0 && (K = {
|
|
9020
9019
|
shouldBlockNextClick: !1
|
|
9021
9020
|
}), O.cleanup(), K.shouldBlockNextClick) {
|
|
9022
|
-
var _ =
|
|
9021
|
+
var _ = yt(window, [{
|
|
9023
9022
|
eventName: "click",
|
|
9024
9023
|
fn: mC,
|
|
9025
9024
|
options: {
|
|
@@ -9097,7 +9096,7 @@ function fC(e) {
|
|
|
9097
9096
|
clientSelection: aC(m),
|
|
9098
9097
|
movementMode: "SNAP"
|
|
9099
9098
|
},
|
|
9100
|
-
cleanup:
|
|
9099
|
+
cleanup: mn,
|
|
9101
9100
|
actions: O
|
|
9102
9101
|
});
|
|
9103
9102
|
}
|
|
@@ -9246,7 +9245,7 @@ function bC(e) {
|
|
|
9246
9245
|
var O = me(function(R) {
|
|
9247
9246
|
return tu($r(l).getState(), R);
|
|
9248
9247
|
}, []), M = me(function() {
|
|
9249
|
-
return
|
|
9248
|
+
return kn($r(l).getState());
|
|
9250
9249
|
}, []), L = Ce(function() {
|
|
9251
9250
|
return {
|
|
9252
9251
|
marshal: w,
|
|
@@ -9458,7 +9457,7 @@ var yi = function(t) {
|
|
|
9458
9457
|
return e.shouldPublishImmediately ? OC : RC;
|
|
9459
9458
|
};
|
|
9460
9459
|
function Qs(e) {
|
|
9461
|
-
var t =
|
|
9460
|
+
var t = rn(e);
|
|
9462
9461
|
return t || (process.env.NODE_ENV !== "production" ? B(!1, "Could not find required context") : B(!1)), t;
|
|
9463
9462
|
}
|
|
9464
9463
|
var Rs = function(t) {
|
|
@@ -10042,7 +10041,7 @@ function pD(e) {
|
|
|
10042
10041
|
}));
|
|
10043
10042
|
}
|
|
10044
10043
|
function uD(e) {
|
|
10045
|
-
var t =
|
|
10044
|
+
var t = rn(ha);
|
|
10046
10045
|
t || (process.env.NODE_ENV !== "production" ? B(!1, "Could not find app context") : B(!1));
|
|
10047
10046
|
var n = t.contextId, r = t.isMovementAllowed, a = pe(null), o = pe(null), l = e.children, c = e.droppableId, p = e.type, u = e.mode, m = e.direction, f = e.ignoreContainerClipping, h = e.isDropDisabled, S = e.isCombineEnabled, y = e.snapshot, w = e.useClone, T = e.updateViewportMaxScroll, D = e.getContainerForClone, N = me(function() {
|
|
10048
10047
|
return a.current;
|
|
@@ -10423,7 +10422,7 @@ function Du(e) {
|
|
|
10423
10422
|
"data-testid": `${p}__card`
|
|
10424
10423
|
}, (c || o) && /* @__PURE__ */ s.createElement(wu, {
|
|
10425
10424
|
title: c,
|
|
10426
|
-
content:
|
|
10425
|
+
content: Et(o),
|
|
10427
10426
|
icon: l,
|
|
10428
10427
|
"data-testid": `${p}__header`
|
|
10429
10428
|
}), f === !0 ? /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("nav", {
|
|
@@ -10447,7 +10446,7 @@ function Du(e) {
|
|
|
10447
10446
|
}, n), a && /* @__PURE__ */ s.createElement("div", {
|
|
10448
10447
|
className: "sps-card__footer",
|
|
10449
10448
|
"data-testid": `${p}__footer`
|
|
10450
|
-
},
|
|
10449
|
+
}, Et(a)));
|
|
10451
10450
|
}
|
|
10452
10451
|
Object.assign(Du, {
|
|
10453
10452
|
props: ED,
|
|
@@ -10959,7 +10958,7 @@ function xu(e) {
|
|
|
10959
10958
|
className: c,
|
|
10960
10959
|
unsafelyReplaceClassName: p,
|
|
10961
10960
|
...u
|
|
10962
|
-
} = e, [m, f] =
|
|
10961
|
+
} = e, [m, f] = sn({
|
|
10963
10962
|
isVisible: !1,
|
|
10964
10963
|
unselectedColumns: [
|
|
10965
10964
|
...t.map(
|
|
@@ -12125,7 +12124,7 @@ function ku({
|
|
|
12125
12124
|
"data-testid": u,
|
|
12126
12125
|
...m
|
|
12127
12126
|
}) {
|
|
12128
|
-
const { wrapperId: f, controlId: h } =
|
|
12127
|
+
const { wrapperId: f, controlId: h } = wt(a, r), S = s.useRef(null), y = s.useRef(null), w = s.useRef(null), [T, D] = s.useState(
|
|
12129
12128
|
se.toString(p)
|
|
12130
12129
|
), {
|
|
12131
12130
|
showPopup: N,
|
|
@@ -12345,7 +12344,7 @@ function Mu({
|
|
|
12345
12344
|
"data-testid": f,
|
|
12346
12345
|
...h
|
|
12347
12346
|
}) {
|
|
12348
|
-
const { t: S } = s.useContext(Be), { wrapperId: y, controlId: w } =
|
|
12347
|
+
const { t: S } = s.useContext(Be), { wrapperId: y, controlId: w } = wt(a, r), T = s.useRef(null), D = s.useRef(null), N = s.useRef(null), [k, b] = s.useState(
|
|
12349
12348
|
Array.isArray(u) ? se.toStringRange(u) : ""
|
|
12350
12349
|
), [I, O] = s.useState(null), [M, L] = s.useState(), {
|
|
12351
12350
|
showPopup: R,
|
|
@@ -12686,7 +12685,7 @@ function Wt(e) {
|
|
|
12686
12685
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
12687
12686
|
}
|
|
12688
12687
|
var co = { exports: {} }, ld;
|
|
12689
|
-
function
|
|
12688
|
+
function an() {
|
|
12690
12689
|
return ld || (ld = 1, function(e, t) {
|
|
12691
12690
|
(function(n, r) {
|
|
12692
12691
|
e.exports = r();
|
|
@@ -12983,14 +12982,14 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
12983
12982
|
c(i, v) && (g = Ne(v), g && (d[g] = i[v]));
|
|
12984
12983
|
return d;
|
|
12985
12984
|
}
|
|
12986
|
-
var
|
|
12985
|
+
var Dt = {};
|
|
12987
12986
|
function we(i, d) {
|
|
12988
|
-
|
|
12987
|
+
Dt[i] = d;
|
|
12989
12988
|
}
|
|
12990
12989
|
function ls(i) {
|
|
12991
12990
|
var d = [], g;
|
|
12992
12991
|
for (g in i)
|
|
12993
|
-
c(i, g) && d.push({ unit: g, priority:
|
|
12992
|
+
c(i, g) && d.push({ unit: g, priority: Dt[g] });
|
|
12994
12993
|
return d.sort(function(v, C) {
|
|
12995
12994
|
return v.priority - C.priority;
|
|
12996
12995
|
}), d;
|
|
@@ -13033,7 +13032,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13033
13032
|
return this[i](d);
|
|
13034
13033
|
return this;
|
|
13035
13034
|
}
|
|
13036
|
-
var cs = /\d/, nt = /\d\d/, Nr = /\d{3}/, xr = /\d{4}/, he = /[+-]?\d{6}/, ce = /\d\d?/, rt = /\d\d\d\d?/,
|
|
13035
|
+
var cs = /\d/, nt = /\d\d/, Nr = /\d{3}/, xr = /\d{4}/, he = /[+-]?\d{6}/, ce = /\d\d?/, rt = /\d\d\d\d?/, yn = /\d\d\d\d\d\d?/, En = /\d{1,3}/, Ir = /\d{1,4}/, ds = /[+-]?\d{1,6}/, Vn = /\d+/, ps = /[+-]?\d+/, sf = /Z|[+-]\d\d:?\d\d/gi, us = /Z|[+-]\d\d(?::?\d\d)?/gi, af = /[+-]?\d+(\.\d{1,3})?/, kr = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ms;
|
|
13037
13036
|
ms = {};
|
|
13038
13037
|
function ie(i, d, g) {
|
|
13039
13038
|
ms[i] = x(d) ? d : function(v, C) {
|
|
@@ -13069,7 +13068,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13069
13068
|
function cf(i, d, g) {
|
|
13070
13069
|
d != null && c(Ea, i) && Ea[i](d, g._a, g, i);
|
|
13071
13070
|
}
|
|
13072
|
-
var et = 0, Gt = 1, Bt = 2, ze = 3,
|
|
13071
|
+
var et = 0, Gt = 1, Bt = 2, ze = 3, Nt = 4, Ut = 5, Tn = 6, df = 7, pf = 8;
|
|
13073
13072
|
function uf(i, d) {
|
|
13074
13073
|
return (i % d + d) % d;
|
|
13075
13074
|
}
|
|
@@ -13415,7 +13414,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13415
13414
|
function ml(i, d) {
|
|
13416
13415
|
return d._meridiemParse;
|
|
13417
13416
|
}
|
|
13418
|
-
ie("a", ml), ie("A", ml), ie("H", ce), ie("h", ce), ie("k", ce), ie("HH", ce, nt), ie("hh", ce, nt), ie("kk", ce, nt), ie("hmm", rt), ie("hmmss",
|
|
13417
|
+
ie("a", ml), ie("A", ml), ie("H", ce), ie("h", ce), ie("k", ce), ie("HH", ce, nt), ie("hh", ce, nt), ie("kk", ce, nt), ie("hmm", rt), ie("hmmss", yn), ie("Hmm", rt), ie("Hmmss", yn), _e(["H", "HH"], ze), _e(["k", "kk"], function(i, d, g) {
|
|
13419
13418
|
var v = Se(i);
|
|
13420
13419
|
d[ze] = v === 24 ? 0 : v;
|
|
13421
13420
|
}), _e(["a", "A"], function(i, d, g) {
|
|
@@ -13424,16 +13423,16 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13424
13423
|
d[ze] = Se(i), T(g).bigHour = !0;
|
|
13425
13424
|
}), _e("hmm", function(i, d, g) {
|
|
13426
13425
|
var v = i.length - 2;
|
|
13427
|
-
d[ze] = Se(i.substr(0, v)), d[
|
|
13426
|
+
d[ze] = Se(i.substr(0, v)), d[Nt] = Se(i.substr(v)), T(g).bigHour = !0;
|
|
13428
13427
|
}), _e("hmmss", function(i, d, g) {
|
|
13429
13428
|
var v = i.length - 4, C = i.length - 2;
|
|
13430
|
-
d[ze] = Se(i.substr(0, v)), d[
|
|
13429
|
+
d[ze] = Se(i.substr(0, v)), d[Nt] = Se(i.substr(v, 2)), d[Ut] = Se(i.substr(C)), T(g).bigHour = !0;
|
|
13431
13430
|
}), _e("Hmm", function(i, d, g) {
|
|
13432
13431
|
var v = i.length - 2;
|
|
13433
|
-
d[ze] = Se(i.substr(0, v)), d[
|
|
13432
|
+
d[ze] = Se(i.substr(0, v)), d[Nt] = Se(i.substr(v));
|
|
13434
13433
|
}), _e("Hmmss", function(i, d, g) {
|
|
13435
13434
|
var v = i.length - 4, C = i.length - 2;
|
|
13436
|
-
d[ze] = Se(i.substr(0, v)), d[
|
|
13435
|
+
d[ze] = Se(i.substr(0, v)), d[Nt] = Se(i.substr(v, 2)), d[Ut] = Se(i.substr(C));
|
|
13437
13436
|
});
|
|
13438
13437
|
function Jf(i) {
|
|
13439
13438
|
return (i + "").toLowerCase().charAt(0) === "p";
|
|
@@ -13484,13 +13483,13 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13484
13483
|
var d = null, g;
|
|
13485
13484
|
if (Fe[i] === void 0 && !0 && e && e.exports)
|
|
13486
13485
|
try {
|
|
13487
|
-
d = Pr._abbr, g = Wt, g("./locale/" + i),
|
|
13486
|
+
d = Pr._abbr, g = Wt, g("./locale/" + i), on(d);
|
|
13488
13487
|
} catch {
|
|
13489
13488
|
Fe[i] = null;
|
|
13490
13489
|
}
|
|
13491
13490
|
return Fe[i];
|
|
13492
13491
|
}
|
|
13493
|
-
function
|
|
13492
|
+
function on(i, d) {
|
|
13494
13493
|
var g;
|
|
13495
13494
|
return i && (u(d) ? g = jt(i) : g = Da(i, d), g ? Pr = g : typeof console < "u" && console.warn && console.warn(
|
|
13496
13495
|
"Locale " + i + " not found. Did you forget to load it?"
|
|
@@ -13516,16 +13515,16 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13516
13515
|
}), null;
|
|
13517
13516
|
return Fe[i] = new q(Q(v, d)), Rr[i] && Rr[i].forEach(function(C) {
|
|
13518
13517
|
Da(C.name, C.config);
|
|
13519
|
-
}),
|
|
13518
|
+
}), on(i), Fe[i];
|
|
13520
13519
|
} else
|
|
13521
13520
|
return delete Fe[i], null;
|
|
13522
13521
|
}
|
|
13523
13522
|
function nh(i, d) {
|
|
13524
13523
|
if (d != null) {
|
|
13525
13524
|
var g, v, C = fl;
|
|
13526
|
-
Fe[i] != null && Fe[i].parentLocale != null ? Fe[i].set(Q(Fe[i]._config, d)) : (v = gs(i), v != null && (C = v._config), d = Q(C, d), v == null && (d.abbr = i), g = new q(d), g.parentLocale = Fe[i], Fe[i] = g),
|
|
13525
|
+
Fe[i] != null && Fe[i].parentLocale != null ? Fe[i].set(Q(Fe[i]._config, d)) : (v = gs(i), v != null && (C = v._config), d = Q(C, d), v == null && (d.abbr = i), g = new q(d), g.parentLocale = Fe[i], Fe[i] = g), on(i);
|
|
13527
13526
|
} else
|
|
13528
|
-
Fe[i] != null && (Fe[i].parentLocale != null ? (Fe[i] = Fe[i].parentLocale, i ===
|
|
13527
|
+
Fe[i] != null && (Fe[i].parentLocale != null ? (Fe[i] = Fe[i].parentLocale, i === on() && on(i)) : Fe[i] != null && delete Fe[i]);
|
|
13529
13528
|
return Fe[i];
|
|
13530
13529
|
}
|
|
13531
13530
|
function jt(i) {
|
|
@@ -13544,7 +13543,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13544
13543
|
}
|
|
13545
13544
|
function Na(i) {
|
|
13546
13545
|
var d, g = i._a;
|
|
13547
|
-
return g && T(i).overflow === -2 && (d = g[Gt] < 0 || g[Gt] > 11 ? Gt : g[Bt] < 1 || g[Bt] > fs(g[et], g[Gt]) ? Bt : g[ze] < 0 || g[ze] > 24 || g[ze] === 24 && (g[
|
|
13546
|
+
return g && T(i).overflow === -2 && (d = g[Gt] < 0 || g[Gt] > 11 ? Gt : g[Bt] < 1 || g[Bt] > fs(g[et], g[Gt]) ? Bt : g[ze] < 0 || g[ze] > 24 || g[ze] === 24 && (g[Nt] !== 0 || g[Ut] !== 0 || g[Tn] !== 0) ? ze : g[Nt] < 0 || g[Nt] > 59 ? Nt : g[Ut] < 0 || g[Ut] > 59 ? Ut : g[Tn] < 0 || g[Tn] > 999 ? Tn : -1, T(i)._overflowDayOfYear && (d < et || d > Bt) && (d = Bt), T(i)._overflowWeeks && d === -1 && (d = df), T(i)._overflowWeekday && d === -1 && (d = pf), T(i).overflow = d), i;
|
|
13548
13547
|
}
|
|
13549
13548
|
var sh = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ah = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, oh = /Z|[+-]\d\d(?::?\d\d)?/, Ss = [
|
|
13550
13549
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -13713,7 +13712,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13713
13712
|
i._a[d] = v[d] = C[d];
|
|
13714
13713
|
for (; d < 7; d++)
|
|
13715
13714
|
i._a[d] = v[d] = i._a[d] == null ? d === 2 ? 1 : 0 : i._a[d];
|
|
13716
|
-
i._a[ze] === 24 && i._a[
|
|
13715
|
+
i._a[ze] === 24 && i._a[Nt] === 0 && i._a[Ut] === 0 && i._a[Tn] === 0 && (i._nextDay = !0, i._a[ze] = 0), i._d = (i._useUTC ? Lr : Cf).apply(
|
|
13717
13716
|
null,
|
|
13718
13717
|
v
|
|
13719
13718
|
), P = i._useUTC ? i._d.getUTCDay() : i._d.getDay(), i._tzm != null && i._d.setUTCMinutes(i._d.getUTCMinutes() - i._tzm), i._nextDay && (i._a[ze] = 24), i._w && typeof i._w.d < "u" && i._w.d !== P && (T(i).weekdayMismatch = !0);
|
|
@@ -13856,7 +13855,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13856
13855
|
return this._isValid;
|
|
13857
13856
|
}
|
|
13858
13857
|
function Mh() {
|
|
13859
|
-
return
|
|
13858
|
+
return xt(NaN);
|
|
13860
13859
|
}
|
|
13861
13860
|
function bs(i) {
|
|
13862
13861
|
var d = Me(i), g = d.year || 0, v = d.quarter || 0, C = d.month || 0, P = d.week || d.isoWeek || 0, U = d.day || 0, fe = d.hour || 0, ve = d.minute || 0, Oe = d.second || 0, At = d.millisecond || 0;
|
|
@@ -13909,7 +13908,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13909
13908
|
Math.abs(i) < 16 && !g && (i = i * 60);
|
|
13910
13909
|
return !this._isUTC && d && (C = Oa(this)), this._offset = i, this._isUTC = !0, C != null && this.add(C, "m"), v !== i && (!d || this._changeInProgress ? Dl(
|
|
13911
13910
|
this,
|
|
13912
|
-
|
|
13911
|
+
xt(i - v, "m"),
|
|
13913
13912
|
1,
|
|
13914
13913
|
!1
|
|
13915
13914
|
) : this._changeInProgress || (this._changeInProgress = !0, r.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
@@ -13956,7 +13955,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13956
13955
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
13957
13956
|
}
|
|
13958
13957
|
var Wh = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Gh = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
13959
|
-
function
|
|
13958
|
+
function xt(i, d) {
|
|
13960
13959
|
var g = i, v = null, C, P, U;
|
|
13961
13960
|
return vs(i) ? g = {
|
|
13962
13961
|
ms: i._milliseconds,
|
|
@@ -13966,24 +13965,24 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13966
13965
|
y: 0,
|
|
13967
13966
|
d: Se(v[Bt]) * C,
|
|
13968
13967
|
h: Se(v[ze]) * C,
|
|
13969
|
-
m: Se(v[
|
|
13968
|
+
m: Se(v[Nt]) * C,
|
|
13970
13969
|
s: Se(v[Ut]) * C,
|
|
13971
|
-
ms: Se(Ma(v[
|
|
13970
|
+
ms: Se(Ma(v[Tn] * 1e3)) * C
|
|
13972
13971
|
}) : (v = Gh.exec(i)) ? (C = v[1] === "-" ? -1 : 1, g = {
|
|
13973
|
-
y:
|
|
13974
|
-
M:
|
|
13975
|
-
w:
|
|
13976
|
-
d:
|
|
13977
|
-
h:
|
|
13978
|
-
m:
|
|
13979
|
-
s:
|
|
13972
|
+
y: wn(v[2], C),
|
|
13973
|
+
M: wn(v[3], C),
|
|
13974
|
+
w: wn(v[4], C),
|
|
13975
|
+
d: wn(v[5], C),
|
|
13976
|
+
h: wn(v[6], C),
|
|
13977
|
+
m: wn(v[7], C),
|
|
13978
|
+
s: wn(v[8], C)
|
|
13980
13979
|
}) : g == null ? g = {} : typeof g == "object" && ("from" in g || "to" in g) && (U = Uh(
|
|
13981
13980
|
Pe(g.from),
|
|
13982
13981
|
Pe(g.to)
|
|
13983
13982
|
), g = {}, g.ms = U.milliseconds, g.M = U.months), P = new bs(g), vs(i) && c(i, "_locale") && (P._locale = i._locale), vs(i) && c(i, "_isValid") && (P._isValid = i._isValid), P;
|
|
13984
13983
|
}
|
|
13985
|
-
|
|
13986
|
-
function
|
|
13984
|
+
xt.fn = bs.prototype, xt.invalid = Mh;
|
|
13985
|
+
function wn(i, d) {
|
|
13987
13986
|
var g = i && parseFloat(i.replace(",", "."));
|
|
13988
13987
|
return (isNaN(g) ? 0 : g) * d;
|
|
13989
13988
|
}
|
|
@@ -14001,7 +14000,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14001
14000
|
return v !== null && !isNaN(+v) && ($(
|
|
14002
14001
|
d,
|
|
14003
14002
|
"moment()." + d + "(period, number) is deprecated. Please use moment()." + d + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
14004
|
-
), P = g, g = v, v = P), C =
|
|
14003
|
+
), P = g, g = v, v = P), C = xt(g, v), Dl(this, C, i), this;
|
|
14005
14004
|
};
|
|
14006
14005
|
}
|
|
14007
14006
|
function Dl(i, d, g, v) {
|
|
@@ -14171,13 +14170,13 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14171
14170
|
return this.localeData().postformat(d);
|
|
14172
14171
|
}
|
|
14173
14172
|
function ug(i, d) {
|
|
14174
|
-
return this.isValid() && (L(i) && i.isValid() || Pe(i).isValid()) ?
|
|
14173
|
+
return this.isValid() && (L(i) && i.isValid() || Pe(i).isValid()) ? xt({ to: this, from: i }).locale(this.locale()).humanize(!d) : this.localeData().invalidDate();
|
|
14175
14174
|
}
|
|
14176
14175
|
function mg(i) {
|
|
14177
14176
|
return this.from(Pe(), i);
|
|
14178
14177
|
}
|
|
14179
14178
|
function fg(i, d) {
|
|
14180
|
-
return this.isValid() && (L(i) && i.isValid() || Pe(i).isValid()) ?
|
|
14179
|
+
return this.isValid() && (L(i) && i.isValid() || Pe(i).isValid()) ? xt({ from: this, to: i }).locale(this.locale()).humanize(!d) : this.localeData().invalidDate();
|
|
14181
14180
|
}
|
|
14182
14181
|
function hg(i) {
|
|
14183
14182
|
return this.to(Pe(), i);
|
|
@@ -14539,7 +14538,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14539
14538
|
d[Bt] = Se(i.match(ce)[0]);
|
|
14540
14539
|
});
|
|
14541
14540
|
var Rl = bt("Date", !0);
|
|
14542
|
-
G("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), de("dayOfYear", "DDD"), we("dayOfYear", 4), ie("DDD",
|
|
14541
|
+
G("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), de("dayOfYear", "DDD"), we("dayOfYear", 4), ie("DDD", En), ie("DDDD", Nr), _e(["DDD", "DDDD"], function(i, d, g) {
|
|
14543
14542
|
g._dayOfYear = Se(i);
|
|
14544
14543
|
});
|
|
14545
14544
|
function qg(i) {
|
|
@@ -14548,7 +14547,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14548
14547
|
) + 1;
|
|
14549
14548
|
return i == null ? d : this.add(i - d, "d");
|
|
14550
14549
|
}
|
|
14551
|
-
G("m", ["mm", 2], 0, "minute"), de("minute", "m"), we("minute", 14), ie("m", ce), ie("mm", ce, nt), _e(["m", "mm"],
|
|
14550
|
+
G("m", ["mm", 2], 0, "minute"), de("minute", "m"), we("minute", 14), ie("m", ce), ie("mm", ce, nt), _e(["m", "mm"], Nt);
|
|
14552
14551
|
var Jg = bt("Minutes", !1);
|
|
14553
14552
|
G("s", ["ss", 2], 0, "second"), de("second", "s"), we("second", 15), ie("s", ce), ie("ss", ce, nt), _e(["s", "ss"], Ut);
|
|
14554
14553
|
var Zg = bt("Seconds", !1);
|
|
@@ -14568,15 +14567,15 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14568
14567
|
return this.millisecond() * 1e5;
|
|
14569
14568
|
}), G(0, ["SSSSSSSSS", 9], 0, function() {
|
|
14570
14569
|
return this.millisecond() * 1e6;
|
|
14571
|
-
}), de("millisecond", "ms"), we("millisecond", 16), ie("S",
|
|
14572
|
-
var
|
|
14573
|
-
for (
|
|
14574
|
-
ie(
|
|
14570
|
+
}), de("millisecond", "ms"), we("millisecond", 16), ie("S", En, cs), ie("SS", En, nt), ie("SSS", En, Nr);
|
|
14571
|
+
var ln, Pl;
|
|
14572
|
+
for (ln = "SSSS"; ln.length <= 9; ln += "S")
|
|
14573
|
+
ie(ln, Vn);
|
|
14575
14574
|
function Xg(i, d) {
|
|
14576
|
-
d[
|
|
14575
|
+
d[Tn] = Se(("0." + i) * 1e3);
|
|
14577
14576
|
}
|
|
14578
|
-
for (
|
|
14579
|
-
_e(
|
|
14577
|
+
for (ln = "S"; ln.length <= 9; ln += "S")
|
|
14578
|
+
_e(ln, Xg);
|
|
14580
14579
|
Pl = bt("Milliseconds", !1), G("z", 0, 0, "zoneAbbr"), G("zz", 0, 0, "zoneName");
|
|
14581
14580
|
function Qg() {
|
|
14582
14581
|
return this._isUTC ? "UTC" : "";
|
|
@@ -14650,7 +14649,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14650
14649
|
function iS(i, d, g) {
|
|
14651
14650
|
return Ba(i, d, g, "weekdaysMin");
|
|
14652
14651
|
}
|
|
14653
|
-
|
|
14652
|
+
on("en", {
|
|
14654
14653
|
eras: [
|
|
14655
14654
|
{
|
|
14656
14655
|
since: "0001-01-01",
|
|
@@ -14676,7 +14675,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14676
14675
|
}
|
|
14677
14676
|
}), r.lang = K(
|
|
14678
14677
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
14679
|
-
|
|
14678
|
+
on
|
|
14680
14679
|
), r.langData = K(
|
|
14681
14680
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
14682
14681
|
jt
|
|
@@ -14687,7 +14686,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14687
14686
|
return this._milliseconds = zt(this._milliseconds), this._days = zt(this._days), this._months = zt(this._months), i.milliseconds = zt(i.milliseconds), i.seconds = zt(i.seconds), i.minutes = zt(i.minutes), i.hours = zt(i.hours), i.months = zt(i.months), i.years = zt(i.years), this;
|
|
14688
14687
|
}
|
|
14689
14688
|
function Fl(i, d, g, v) {
|
|
14690
|
-
var C =
|
|
14689
|
+
var C = xt(d, g);
|
|
14691
14690
|
return i._milliseconds += v * C._milliseconds, i._days += v * C._days, i._months += v * C._months, i._bubble();
|
|
14692
14691
|
}
|
|
14693
14692
|
function cS(i, d) {
|
|
@@ -14750,17 +14749,17 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14750
14749
|
}
|
|
14751
14750
|
var fS = qt("ms"), hS = qt("s"), gS = qt("m"), SS = qt("h"), bS = qt("d"), vS = qt("w"), yS = qt("M"), ES = qt("Q"), TS = qt("y");
|
|
14752
14751
|
function wS() {
|
|
14753
|
-
return
|
|
14752
|
+
return xt(this);
|
|
14754
14753
|
}
|
|
14755
14754
|
function CS(i) {
|
|
14756
14755
|
return i = Ne(i), this.isValid() ? this[i + "s"]() : NaN;
|
|
14757
14756
|
}
|
|
14758
|
-
function
|
|
14757
|
+
function Cn(i) {
|
|
14759
14758
|
return function() {
|
|
14760
14759
|
return this.isValid() ? this._data[i] : NaN;
|
|
14761
14760
|
};
|
|
14762
14761
|
}
|
|
14763
|
-
var DS =
|
|
14762
|
+
var DS = Cn("milliseconds"), NS = Cn("seconds"), xS = Cn("minutes"), IS = Cn("hours"), kS = Cn("days"), MS = Cn("months"), _S = Cn("years");
|
|
14764
14763
|
function LS() {
|
|
14765
14764
|
return dt(this.days() / 7);
|
|
14766
14765
|
}
|
|
@@ -14777,8 +14776,8 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14777
14776
|
return C.relativeTime(d || 1, !!g, i, v);
|
|
14778
14777
|
}
|
|
14779
14778
|
function RS(i, d, g, v) {
|
|
14780
|
-
var C =
|
|
14781
|
-
return g.w != null && (
|
|
14779
|
+
var C = xt(i).abs(), P = Jt(C.as("s")), U = Jt(C.as("m")), fe = Jt(C.as("h")), ve = Jt(C.as("d")), Oe = Jt(C.as("M")), At = Jt(C.as("w")), Zt = Jt(C.as("y")), cn = P <= g.ss && ["s", P] || P < g.s && ["ss", P] || U <= 1 && ["m"] || U < g.m && ["mm", U] || fe <= 1 && ["h"] || fe < g.h && ["hh", fe] || ve <= 1 && ["d"] || ve < g.d && ["dd", ve];
|
|
14780
|
+
return g.w != null && (cn = cn || At <= 1 && ["w"] || At < g.w && ["ww", At]), cn = cn || Oe <= 1 && ["M"] || Oe < g.M && ["MM", Oe] || Zt <= 1 && ["y"] || ["yy", Zt], cn[2] = d, cn[3] = +i > 0, cn[4] = v, OS.apply(null, cn);
|
|
14782
14781
|
}
|
|
14783
14782
|
function PS(i) {
|
|
14784
14783
|
return i === void 0 ? Jt : typeof i == "function" ? (Jt = i, !0) : !1;
|
|
@@ -14812,7 +14811,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14812
14811
|
g._d = new Date(Se(i));
|
|
14813
14812
|
});
|
|
14814
14813
|
//! moment.js
|
|
14815
|
-
return r.version = "2.29.1", a(Pe), r.fn = Z, r.min = Dh, r.max = Nh, r.now = xh, r.utc = y, r.unix = tS, r.months = rS, r.isDate = f, r.locale =
|
|
14814
|
+
return r.version = "2.29.1", a(Pe), r.fn = Z, r.min = Dh, r.max = Nh, r.now = xh, r.utc = y, r.unix = tS, r.months = rS, r.isDate = f, r.locale = on, r.invalid = k, r.duration = xt, r.isMoment = L, r.weekdays = aS, r.parseZone = nS, r.localeData = jt, r.isDuration = vs, r.monthsShort = sS, r.weekdaysMin = iS, r.defineLocale = Da, r.updateLocale = nh, r.locales = rh, r.weekdaysShort = oS, r.normalizeUnits = Ne, r.relativeTimeRounding = PS, r.relativeTimeThreshold = BS, r.calendarFormat = Xh, r.prototype = Z, r.HTML5_FMT = {
|
|
14816
14815
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
14817
14816
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
14818
14817
|
DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
|
|
@@ -14828,7 +14827,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14828
14827
|
}
|
|
14829
14828
|
(function(e, t) {
|
|
14830
14829
|
(function(n, r) {
|
|
14831
|
-
r(typeof Wt == "function" ?
|
|
14830
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
14832
14831
|
})(Kt, function(n) {
|
|
14833
14832
|
//! moment.js locale configuration
|
|
14834
14833
|
var r = n.defineLocale("en-au", {
|
|
@@ -14888,7 +14887,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14888
14887
|
})();
|
|
14889
14888
|
(function(e, t) {
|
|
14890
14889
|
(function(n, r) {
|
|
14891
|
-
r(typeof Wt == "function" ?
|
|
14890
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
14892
14891
|
})(Kt, function(n) {
|
|
14893
14892
|
//! moment.js locale configuration
|
|
14894
14893
|
var r = n.defineLocale("en-ca", {
|
|
@@ -14944,7 +14943,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14944
14943
|
})();
|
|
14945
14944
|
(function(e, t) {
|
|
14946
14945
|
(function(n, r) {
|
|
14947
|
-
r(typeof Wt == "function" ?
|
|
14946
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
14948
14947
|
})(Kt, function(n) {
|
|
14949
14948
|
//! moment.js locale configuration
|
|
14950
14949
|
var r = n.defineLocale("en-ie", {
|
|
@@ -15004,7 +15003,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15004
15003
|
})();
|
|
15005
15004
|
(function(e, t) {
|
|
15006
15005
|
(function(n, r) {
|
|
15007
|
-
r(typeof Wt == "function" ?
|
|
15006
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15008
15007
|
})(Kt, function(n) {
|
|
15009
15008
|
//! moment.js locale configuration
|
|
15010
15009
|
var r = n.defineLocale("en-gb", {
|
|
@@ -15064,7 +15063,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15064
15063
|
})();
|
|
15065
15064
|
(function(e, t) {
|
|
15066
15065
|
(function(n, r) {
|
|
15067
|
-
r(typeof Wt == "function" ?
|
|
15066
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15068
15067
|
})(Kt, function(n) {
|
|
15069
15068
|
//! moment.js locale configuration
|
|
15070
15069
|
var r = n.defineLocale("fr-ca", {
|
|
@@ -15132,7 +15131,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15132
15131
|
})();
|
|
15133
15132
|
(function(e, t) {
|
|
15134
15133
|
(function(n, r) {
|
|
15135
|
-
r(typeof Wt == "function" ?
|
|
15134
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15136
15135
|
})(Kt, function(n) {
|
|
15137
15136
|
//! moment.js locale configuration
|
|
15138
15137
|
var r = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, a = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, o = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, l = [
|
|
@@ -15226,7 +15225,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15226
15225
|
})();
|
|
15227
15226
|
(function(e, t) {
|
|
15228
15227
|
(function(n, r) {
|
|
15229
|
-
r(typeof Wt == "function" ?
|
|
15228
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15230
15229
|
})(Kt, function(n) {
|
|
15231
15230
|
//! moment.js locale configuration
|
|
15232
15231
|
var r = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split(
|
|
@@ -15319,7 +15318,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15319
15318
|
})();
|
|
15320
15319
|
(function(e, t) {
|
|
15321
15320
|
(function(n, r) {
|
|
15322
|
-
r(typeof Wt == "function" ?
|
|
15321
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15323
15322
|
})(Kt, function(n) {
|
|
15324
15323
|
//! moment.js locale configuration
|
|
15325
15324
|
var r = n.defineLocale("zh-cn", {
|
|
@@ -15408,7 +15407,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
15408
15407
|
})();
|
|
15409
15408
|
(function(e, t) {
|
|
15410
15409
|
(function(n, r) {
|
|
15411
|
-
r(typeof Wt == "function" ?
|
|
15410
|
+
r(typeof Wt == "function" ? an() : n.moment);
|
|
15412
15411
|
})(Kt, function(n) {
|
|
15413
15412
|
//! moment.js locale configuration
|
|
15414
15413
|
var r = n.defineLocale("zh-tw", {
|
|
@@ -15732,7 +15731,7 @@ var ye = /* @__PURE__ */ ((e) => (e.VISIBLE = "visible", e.DEFER_VISIBLE = "defe
|
|
|
15732
15731
|
function po(e) {
|
|
15733
15732
|
return e === "visible" ? "hidden" : "visible";
|
|
15734
15733
|
}
|
|
15735
|
-
const cd = 13,
|
|
15734
|
+
const cd = 13, xn = /* @__PURE__ */ new Map(), UD = {
|
|
15736
15735
|
for: { type: "React.MutableRefObject<any> | string", required: !0 },
|
|
15737
15736
|
hideDelay: "number",
|
|
15738
15737
|
isShown: "TooltipVisibility",
|
|
@@ -15771,12 +15770,12 @@ function Lt({
|
|
|
15771
15770
|
I(), D(!1);
|
|
15772
15771
|
}, []), M = s.useCallback((J = !1) => {
|
|
15773
15772
|
var H;
|
|
15774
|
-
if (J === !0 &&
|
|
15773
|
+
if (J === !0 && xn.size > 0)
|
|
15775
15774
|
return p && p(), !1;
|
|
15776
15775
|
if (((H = N.current) == null ? void 0 : H.textContent) === "")
|
|
15777
15776
|
return console.warn("SpsTooltip is empty; aborting show"), !1;
|
|
15778
15777
|
I();
|
|
15779
|
-
for (const F of
|
|
15778
|
+
for (const F of xn.values())
|
|
15780
15779
|
F();
|
|
15781
15780
|
return D(!0), !0;
|
|
15782
15781
|
}, []), L = s.useCallback((J) => {
|
|
@@ -15802,7 +15801,7 @@ function Lt({
|
|
|
15802
15801
|
return 0;
|
|
15803
15802
|
}, []);
|
|
15804
15803
|
s.useEffect(() => {
|
|
15805
|
-
if (typeof n == "string" && (k.current = document.getElementById(n)), T ?
|
|
15804
|
+
if (typeof n == "string" && (k.current = document.getElementById(n)), T ? xn.set(w.current.instanceKey, O) : xn.has(w.current.instanceKey) && xn.delete(w.current.instanceKey), f === it.MANUAL) {
|
|
15806
15805
|
if (o !== w.current.prevIsShown)
|
|
15807
15806
|
switch (o) {
|
|
15808
15807
|
case "visible":
|
|
@@ -15837,7 +15836,7 @@ function Lt({
|
|
|
15837
15836
|
((J = N.current) == null ? void 0 : J.textContent) === "" && T && (w.current.hideTimer && (clearTimeout(w.current.hideTimer), w.current.hideTimer = null), D(!1));
|
|
15838
15837
|
}, [e, T]), s.useEffect(
|
|
15839
15838
|
() => () => {
|
|
15840
|
-
|
|
15839
|
+
xn.has(w.current.instanceKey) && xn.delete(w.current.instanceKey), k.current && (k.current.removeEventListener("mouseenter", M), k.current.removeEventListener("mouseleave", K), k.current.removeEventListener("click", L), document.removeEventListener("click", R));
|
|
15841
15840
|
},
|
|
15842
15841
|
[]
|
|
15843
15842
|
);
|
|
@@ -15957,7 +15956,7 @@ function Ii(e) {
|
|
|
15957
15956
|
for: f,
|
|
15958
15957
|
showOn: it.MANUAL,
|
|
15959
15958
|
isShown: D
|
|
15960
|
-
},
|
|
15959
|
+
}, Et(w === $t.ERROR ? a : o)));
|
|
15961
15960
|
}
|
|
15962
15961
|
Object.assign(Ii, {
|
|
15963
15962
|
props: Ru,
|
|
@@ -16959,7 +16958,7 @@ function Bu({
|
|
|
16959
16958
|
kind: $t.ERROR,
|
|
16960
16959
|
showOn: it.MANUAL,
|
|
16961
16960
|
isShown: D
|
|
16962
|
-
},
|
|
16961
|
+
}, Et(n)), e));
|
|
16963
16962
|
}
|
|
16964
16963
|
Object.assign(Bu, {
|
|
16965
16964
|
props: JD,
|
|
@@ -18101,7 +18100,7 @@ function Fu({
|
|
|
18101
18100
|
}
|
|
18102
18101
|
function F() {
|
|
18103
18102
|
if (W) {
|
|
18104
|
-
for (const te of
|
|
18103
|
+
for (const te of Sn)
|
|
18105
18104
|
if (W.hasPreventativeError(te))
|
|
18106
18105
|
return h(`design-system:label.preventativeErrors.${te}`);
|
|
18107
18106
|
}
|
|
@@ -18162,19 +18161,19 @@ function Fu({
|
|
|
18162
18161
|
showOn: it.MANUAL,
|
|
18163
18162
|
isShown: D,
|
|
18164
18163
|
altPosition: be.TOP_MIDDLE
|
|
18165
|
-
},
|
|
18164
|
+
}, Et(o)), /* @__PURE__ */ s.createElement(Lt, {
|
|
18166
18165
|
kind: $t.ERROR,
|
|
18167
18166
|
for: S,
|
|
18168
18167
|
showOn: it.MANUAL,
|
|
18169
18168
|
isShown: k,
|
|
18170
18169
|
altPosition: be.LEFT_MIDDLE
|
|
18171
|
-
},
|
|
18170
|
+
}, Et(p) || H()), (W == null ? void 0 : W.hasPreventativeErrors()) && /* @__PURE__ */ s.createElement(Lt, {
|
|
18172
18171
|
kind: $t.WARNING,
|
|
18173
18172
|
for: T,
|
|
18174
18173
|
showOn: it.MANUAL,
|
|
18175
18174
|
isShown: M,
|
|
18176
18175
|
altPosition: be.LEFT_MIDDLE
|
|
18177
|
-
},
|
|
18176
|
+
}, Et(p) || F()), /* @__PURE__ */ s.createElement(Lt, {
|
|
18178
18177
|
kind: $t.DEFAULT,
|
|
18179
18178
|
for: y,
|
|
18180
18179
|
position: be.TOP_LEFT,
|
|
@@ -22965,7 +22964,7 @@ function em({
|
|
|
22965
22964
|
"data-testid": K,
|
|
22966
22965
|
..._
|
|
22967
22966
|
}) {
|
|
22968
|
-
const $ = k != null ? k : [], x = u || p, { wrapperId: A, controlId: Q } =
|
|
22967
|
+
const $ = k != null ? k : [], x = u || p, { wrapperId: A, controlId: Q } = wt(f, x), [q, W] = sn({
|
|
22969
22968
|
keyDown: null,
|
|
22970
22969
|
opensUpward: !1,
|
|
22971
22970
|
searchText: "",
|
|
@@ -23010,7 +23009,7 @@ function em({
|
|
|
23010
23009
|
$.indexOf(de) === -1 && Te([...$, de]), le();
|
|
23011
23010
|
}
|
|
23012
23011
|
function re(de) {
|
|
23013
|
-
const Ne = $.filter((Me,
|
|
23012
|
+
const Ne = $.filter((Me, Dt) => Dt !== de);
|
|
23014
23013
|
Te(Ne);
|
|
23015
23014
|
}
|
|
23016
23015
|
function Ze(de) {
|
|
@@ -23726,7 +23725,7 @@ const GN = {
|
|
|
23726
23725
|
disableOptionsMemoization: A,
|
|
23727
23726
|
disableDefaultOptionsFiltering: Q,
|
|
23728
23727
|
...q
|
|
23729
|
-
} = e, W = u || p, { wrapperId: J, controlId: H } =
|
|
23728
|
+
} = e, W = u || p, { wrapperId: J, controlId: H } = wt(m, W), F = s.useRef(null), z = s.useRef(null), j = s.useRef(null), { t: te } = s.useContext(Be), [X, G] = sn({
|
|
23730
23729
|
isOpen: !1,
|
|
23731
23730
|
value: M,
|
|
23732
23731
|
text: "",
|
|
@@ -24005,7 +24004,7 @@ function tm(e) {
|
|
|
24005
24004
|
nextPageBtnDisabled: f = !1,
|
|
24006
24005
|
resultsOnPage: h,
|
|
24007
24006
|
...S
|
|
24008
|
-
} = e, [y, w] =
|
|
24007
|
+
} = e, [y, w] = sn({
|
|
24009
24008
|
page: r,
|
|
24010
24009
|
pageSize: o,
|
|
24011
24010
|
numPages: 0,
|
|
@@ -25172,7 +25171,7 @@ function am({
|
|
|
25172
25171
|
value: y,
|
|
25173
25172
|
...w
|
|
25174
25173
|
}) {
|
|
25175
|
-
const T = o || a, D = s.useRef(null), { wrapperId: N, controlId: k } =
|
|
25174
|
+
const T = o || a, D = s.useRef(null), { wrapperId: N, controlId: k } = wt(l), b = V(
|
|
25176
25175
|
S || "sps-radio-button",
|
|
25177
25176
|
"sps-checkable",
|
|
25178
25177
|
c && "sps-checkable--inline",
|
|
@@ -26920,7 +26919,7 @@ function lm(e) {
|
|
|
26920
26919
|
"data-testid": l,
|
|
26921
26920
|
unsafelyReplaceClassName: c,
|
|
26922
26921
|
...p
|
|
26923
|
-
} = e, [u, m] =
|
|
26922
|
+
} = e, [u, m] = sn({
|
|
26924
26923
|
isExpanded: r,
|
|
26925
26924
|
expandable: !1
|
|
26926
26925
|
});
|
|
@@ -27858,7 +27857,7 @@ const mx = {
|
|
|
27858
27857
|
additionalText: S,
|
|
27859
27858
|
...y
|
|
27860
27859
|
}, w) => {
|
|
27861
|
-
const T = r || n, { wrapperId: D, controlId: N } =
|
|
27860
|
+
const T = r || n, { wrapperId: D, controlId: N } = wt(o, T), k = s.useRef(null);
|
|
27862
27861
|
function b(L, R) {
|
|
27863
27862
|
T && (T.setValue(L), T.markAsDirty()), c && k.current && c(R || new Pn(k.current));
|
|
27864
27863
|
}
|
|
@@ -28070,7 +28069,7 @@ function pm({
|
|
|
28070
28069
|
additionalText: S,
|
|
28071
28070
|
...y
|
|
28072
28071
|
}) {
|
|
28073
|
-
const w = r || n, { wrapperId: T, controlId: D } =
|
|
28072
|
+
const w = r || n, { wrapperId: T, controlId: D } = wt(a, w), N = s.useRef(null);
|
|
28074
28073
|
function k(M, L) {
|
|
28075
28074
|
w && (w.setValue(M), w.markAsDirty()), l && N.current && l(L || new Pn(N.current));
|
|
28076
28075
|
}
|
|
@@ -28274,7 +28273,7 @@ function mm(e) {
|
|
|
28274
28273
|
...y
|
|
28275
28274
|
} = e;
|
|
28276
28275
|
cv("SpsToggle", um, e);
|
|
28277
|
-
const w = l || o, [T, D] = s.useState(t), { wrapperId: N, controlId: k } =
|
|
28276
|
+
const w = l || o, [T, D] = s.useState(t), { wrapperId: N, controlId: k } = wt(c, w), b = `${N}_status-label`, I = `${N}_description`, O = s.useRef(null);
|
|
28278
28277
|
s.useEffect(() => D(t), [t]);
|
|
28279
28278
|
function M(R) {
|
|
28280
28279
|
var K;
|
|
@@ -29687,7 +29686,7 @@ function Nm({
|
|
|
29687
29686
|
"data-testid": h,
|
|
29688
29687
|
...S
|
|
29689
29688
|
}) {
|
|
29690
|
-
const y = r || n, { wrapperId: w, controlId: T } =
|
|
29689
|
+
const y = r || n, { wrapperId: w, controlId: T } = wt(a, y), [D, N] = sn({
|
|
29691
29690
|
keyDown: null,
|
|
29692
29691
|
searchText: "",
|
|
29693
29692
|
activeTagIndex: null,
|
|
@@ -30280,7 +30279,7 @@ const Bx = {
|
|
|
30280
30279
|
}, xm = /* @__PURE__ */ Y.createContext(Gi);
|
|
30281
30280
|
let Ax = Boolean(typeof window < "u" && window.document && window.document.createElement);
|
|
30282
30281
|
function Fx(e) {
|
|
30283
|
-
let t =
|
|
30282
|
+
let t = rn(xm);
|
|
30284
30283
|
return t === Gi && !Ax && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."), He(
|
|
30285
30284
|
() => e || `react-aria${t.prefix}-${++t.current}`,
|
|
30286
30285
|
[
|
|
@@ -30289,7 +30288,7 @@ function Fx(e) {
|
|
|
30289
30288
|
);
|
|
30290
30289
|
}
|
|
30291
30290
|
function $x() {
|
|
30292
|
-
let t =
|
|
30291
|
+
let t = rn(xm) !== Gi, [n, r] = Ve(t);
|
|
30293
30292
|
return typeof window < "u" && t && aa(() => {
|
|
30294
30293
|
r(!1);
|
|
30295
30294
|
}, []), n;
|
|
@@ -30366,7 +30365,7 @@ function Wx() {
|
|
|
30366
30365
|
const Gx = /* @__PURE__ */ Y.createContext(null);
|
|
30367
30366
|
function km() {
|
|
30368
30367
|
let e = Wx();
|
|
30369
|
-
return
|
|
30368
|
+
return rn(Gx) || e;
|
|
30370
30369
|
}
|
|
30371
30370
|
function Mm(e) {
|
|
30372
30371
|
var t, n, r = "";
|
|
@@ -30390,7 +30389,7 @@ const Ux = typeof window < "u" ? Y.useLayoutEffect : () => {
|
|
|
30390
30389
|
};
|
|
30391
30390
|
let ta = /* @__PURE__ */ new Map();
|
|
30392
30391
|
function _m(e) {
|
|
30393
|
-
let [t, n] = Ve(e), r = pe(null), a = Fx(t), o =
|
|
30392
|
+
let [t, n] = Ve(e), r = pe(null), a = Fx(t), o = nn((l) => {
|
|
30394
30393
|
r.current = l;
|
|
30395
30394
|
}, []);
|
|
30396
30395
|
return ta.set(a, o), Ux(() => {
|
|
@@ -30467,7 +30466,7 @@ function Om(e, t) {
|
|
|
30467
30466
|
function Rm(e, t, n) {
|
|
30468
30467
|
let [r, a] = Ve(e || t), o = pe(e !== void 0), l = o.current, c = e !== void 0, p = pe(r);
|
|
30469
30468
|
l !== c && console.warn(`WARN: A component changed from ${l ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}.`), o.current = c;
|
|
30470
|
-
let u =
|
|
30469
|
+
let u = nn((m, ...f) => {
|
|
30471
30470
|
let h = (S, ...y) => {
|
|
30472
30471
|
n && (Object.is(p.current, S) || n(S, ...y)), c || (p.current = S);
|
|
30473
30472
|
};
|
|
@@ -30582,7 +30581,7 @@ function eI(e) {
|
|
|
30582
30581
|
});
|
|
30583
30582
|
}
|
|
30584
30583
|
function tI() {
|
|
30585
|
-
let e = pe(/* @__PURE__ */ new Map()), t =
|
|
30584
|
+
let e = pe(/* @__PURE__ */ new Map()), t = nn((a, o, l, c) => {
|
|
30586
30585
|
let p = c != null && c.once ? (...u) => {
|
|
30587
30586
|
e.current.delete(l), l(...u);
|
|
30588
30587
|
} : l;
|
|
@@ -30592,11 +30591,11 @@ function tI() {
|
|
|
30592
30591
|
fn: p,
|
|
30593
30592
|
options: c
|
|
30594
30593
|
}), a.addEventListener(o, l, c);
|
|
30595
|
-
}, []), n =
|
|
30594
|
+
}, []), n = nn((a, o, l, c) => {
|
|
30596
30595
|
var p;
|
|
30597
30596
|
let u = ((p = e.current.get(l)) === null || p === void 0 ? void 0 : p.fn) || l;
|
|
30598
30597
|
a.removeEventListener(o, u, c), e.current.delete(l);
|
|
30599
|
-
}, []), r =
|
|
30598
|
+
}, []), r = nn(() => {
|
|
30600
30599
|
e.current.forEach((a, o) => {
|
|
30601
30600
|
n(a.eventTarget, a.type, o, a.options);
|
|
30602
30601
|
});
|
|
@@ -30773,7 +30772,7 @@ function Bm(e) {
|
|
|
30773
30772
|
});
|
|
30774
30773
|
}
|
|
30775
30774
|
function Am() {
|
|
30776
|
-
let e = pe(/* @__PURE__ */ new Map()), t =
|
|
30775
|
+
let e = pe(/* @__PURE__ */ new Map()), t = nn((a, o, l, c) => {
|
|
30777
30776
|
let p = c != null && c.once ? (...u) => {
|
|
30778
30777
|
e.current.delete(l), l(...u);
|
|
30779
30778
|
} : l;
|
|
@@ -30783,11 +30782,11 @@ function Am() {
|
|
|
30783
30782
|
fn: p,
|
|
30784
30783
|
options: c
|
|
30785
30784
|
}), a.addEventListener(o, l, c);
|
|
30786
|
-
}, []), n =
|
|
30785
|
+
}, []), n = nn((a, o, l, c) => {
|
|
30787
30786
|
var p;
|
|
30788
30787
|
let u = ((p = e.current.get(l)) === null || p === void 0 ? void 0 : p.fn) || l;
|
|
30789
30788
|
a.removeEventListener(o, u, c), e.current.delete(l);
|
|
30790
|
-
}, []), r =
|
|
30789
|
+
}, []), r = nn(() => {
|
|
30791
30790
|
e.current.forEach((a, o) => {
|
|
30792
30791
|
n(a.eventTarget, a.type, o, a.options);
|
|
30793
30792
|
});
|
|
@@ -30891,7 +30890,7 @@ function As(e) {
|
|
|
30891
30890
|
const $m = Y.createContext(null);
|
|
30892
30891
|
$m.displayName = "PressResponderContext";
|
|
30893
30892
|
function yI(e) {
|
|
30894
|
-
let t =
|
|
30893
|
+
let t = rn($m);
|
|
30895
30894
|
if (t) {
|
|
30896
30895
|
let { register: n, ...r } = t;
|
|
30897
30896
|
e = zi(r, e), n();
|
|
@@ -30974,13 +30973,13 @@ function Vm(e) {
|
|
|
30974
30973
|
altKey: _.altKey
|
|
30975
30974
|
});
|
|
30976
30975
|
}, L = (_) => {
|
|
30977
|
-
b.isPressed && (b.isOverTarget && O(
|
|
30976
|
+
b.isPressed && (b.isOverTarget && O(Qt(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, N(), m || As(b.target));
|
|
30978
30977
|
}, R = {
|
|
30979
30978
|
onKeyDown(_) {
|
|
30980
30979
|
mo(_.nativeEvent, _.currentTarget) && _.currentTarget.contains(_.target) ? (Td(_.target, _.key) && _.preventDefault(), _.stopPropagation(), !b.isPressed && !_.repeat && (b.target = _.currentTarget, b.isPressed = !0, I(_, "keyboard"), D(document, "keyup", K, !1))) : _.key === "Enter" && Po(_.currentTarget) && _.stopPropagation();
|
|
30981
30980
|
},
|
|
30982
30981
|
onKeyUp(_) {
|
|
30983
|
-
mo(_.nativeEvent, _.currentTarget) && !_.repeat && _.currentTarget.contains(_.target) && M(
|
|
30982
|
+
mo(_.nativeEvent, _.currentTarget) && !_.repeat && _.currentTarget.contains(_.target) && M(Qt(b.target, _), "keyboard");
|
|
30984
30983
|
},
|
|
30985
30984
|
onClick(_) {
|
|
30986
30985
|
_ && !_.currentTarget.contains(_.target) || _ && _.button === 0 && (_.stopPropagation(), l && _.preventDefault(), !b.ignoreClickAfterPress && !b.ignoreEmulatedMouseEvents && (b.pointerType === "virtual" || na(_.nativeEvent)) && (!l && !p && ir(_.currentTarget), I(_, "virtual"), M(_, "virtual"), O(_, "virtual")), b.ignoreEmulatedMouseEvents = !1, b.ignoreClickAfterPress = !1);
|
|
@@ -30989,7 +30988,7 @@ function Vm(e) {
|
|
|
30989
30988
|
if (b.isPressed && mo(_, b.target)) {
|
|
30990
30989
|
Td(_.target, _.key) && _.preventDefault(), _.stopPropagation(), b.isPressed = !1;
|
|
30991
30990
|
let $ = _.target;
|
|
30992
|
-
O(
|
|
30991
|
+
O(Qt(b.target, _), "keyboard", b.target.contains($)), N(), b.target instanceof HTMLElement && b.target.contains($) && (Po(b.target) || b.target.getAttribute("role") === "link") && b.target.click();
|
|
30993
30992
|
}
|
|
30994
30993
|
};
|
|
30995
30994
|
if (typeof PointerEvent < "u") {
|
|
@@ -31007,9 +31006,9 @@ function Vm(e) {
|
|
|
31007
31006
|
!A.currentTarget.contains(A.target) || b.pointerType === "virtual" || A.button === 0 && qn(A, A.currentTarget) && M(A, b.pointerType || A.pointerType);
|
|
31008
31007
|
};
|
|
31009
31008
|
let _ = (A) => {
|
|
31010
|
-
A.pointerId === b.activePointerId && (qn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(
|
|
31009
|
+
A.pointerId === b.activePointerId && (qn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(Qt(b.target, A), b.pointerType)) : b.isOverTarget && (b.isOverTarget = !1, O(Qt(b.target, A), b.pointerType, !1), S.current.shouldCancelOnPointerExit && L(A)));
|
|
31011
31010
|
}, $ = (A) => {
|
|
31012
|
-
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (qn(A, b.target) ? O(
|
|
31011
|
+
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (qn(A, b.target) ? O(Qt(b.target, A), b.pointerType) : b.isOverTarget && O(Qt(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, N(), m || As(b.target));
|
|
31013
31012
|
}, x = (A) => {
|
|
31014
31013
|
L(A);
|
|
31015
31014
|
};
|
|
@@ -31032,7 +31031,7 @@ function Vm(e) {
|
|
|
31032
31031
|
b.ignoreEmulatedMouseEvents = !1;
|
|
31033
31032
|
return;
|
|
31034
31033
|
}
|
|
31035
|
-
qn(x, b.target) ? O(
|
|
31034
|
+
qn(x, b.target) ? O(Qt(b.target, x), b.pointerType) : b.isOverTarget && O(Qt(b.target, x), b.pointerType, !1), b.isOverTarget = !1;
|
|
31036
31035
|
}
|
|
31037
31036
|
};
|
|
31038
31037
|
R.onTouchStart = (x) => {
|
|
@@ -31104,7 +31103,7 @@ function Ed(e, t) {
|
|
|
31104
31103
|
}
|
|
31105
31104
|
return null;
|
|
31106
31105
|
}
|
|
31107
|
-
function
|
|
31106
|
+
function Qt(e, t) {
|
|
31108
31107
|
return {
|
|
31109
31108
|
currentTarget: e,
|
|
31110
31109
|
shiftKey: t.shiftKey,
|
|
@@ -31757,7 +31756,7 @@ function $o(e) {
|
|
|
31757
31756
|
const zm = Y.createContext(null);
|
|
31758
31757
|
zm.displayName = "PressResponderContext";
|
|
31759
31758
|
function QI(e) {
|
|
31760
|
-
let t =
|
|
31759
|
+
let t = rn(zm);
|
|
31761
31760
|
if (t) {
|
|
31762
31761
|
let { register: n, ...r } = t;
|
|
31763
31762
|
e = ba(r, e), n();
|
|
@@ -31840,13 +31839,13 @@ function ek(e) {
|
|
|
31840
31839
|
altKey: _.altKey
|
|
31841
31840
|
});
|
|
31842
31841
|
}, L = (_) => {
|
|
31843
|
-
b.isPressed && (b.isOverTarget && O(
|
|
31842
|
+
b.isPressed && (b.isOverTarget && O(en(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, N(), m || Fs(b.target));
|
|
31844
31843
|
}, R = {
|
|
31845
31844
|
onKeyDown(_) {
|
|
31846
31845
|
ho(_.nativeEvent, _.currentTarget) && _.currentTarget.contains(_.target) ? (Pd(_.target, _.key) && _.preventDefault(), _.stopPropagation(), !b.isPressed && !_.repeat && (b.target = _.currentTarget, b.isPressed = !0, I(_, "keyboard"), D(document, "keyup", K, !1))) : _.key === "Enter" && Vo(_.currentTarget) && _.stopPropagation();
|
|
31847
31846
|
},
|
|
31848
31847
|
onKeyUp(_) {
|
|
31849
|
-
ho(_.nativeEvent, _.currentTarget) && !_.repeat && _.currentTarget.contains(_.target) && M(
|
|
31848
|
+
ho(_.nativeEvent, _.currentTarget) && !_.repeat && _.currentTarget.contains(_.target) && M(en(b.target, _), "keyboard");
|
|
31850
31849
|
},
|
|
31851
31850
|
onClick(_) {
|
|
31852
31851
|
_ && !_.currentTarget.contains(_.target) || _ && _.button === 0 && (_.stopPropagation(), l && _.preventDefault(), !b.ignoreClickAfterPress && !b.ignoreEmulatedMouseEvents && (b.pointerType === "virtual" || $o(_.nativeEvent)) && (!l && !p && or(_.currentTarget), I(_, "virtual"), M(_, "virtual"), O(_, "virtual")), b.ignoreEmulatedMouseEvents = !1, b.ignoreClickAfterPress = !1);
|
|
@@ -31855,7 +31854,7 @@ function ek(e) {
|
|
|
31855
31854
|
if (b.isPressed && ho(_, b.target)) {
|
|
31856
31855
|
Pd(_.target, _.key) && _.preventDefault(), _.stopPropagation(), b.isPressed = !1;
|
|
31857
31856
|
let $ = _.target;
|
|
31858
|
-
O(
|
|
31857
|
+
O(en(b.target, _), "keyboard", b.target.contains($)), N(), b.target instanceof HTMLElement && b.target.contains($) && (Vo(b.target) || b.target.getAttribute("role") === "link") && b.target.click();
|
|
31859
31858
|
}
|
|
31860
31859
|
};
|
|
31861
31860
|
if (typeof PointerEvent < "u") {
|
|
@@ -31873,9 +31872,9 @@ function ek(e) {
|
|
|
31873
31872
|
!A.currentTarget.contains(A.target) || b.pointerType === "virtual" || A.button === 0 && Xn(A, A.currentTarget) && M(A, b.pointerType || A.pointerType);
|
|
31874
31873
|
};
|
|
31875
31874
|
let _ = (A) => {
|
|
31876
|
-
A.pointerId === b.activePointerId && (Xn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(
|
|
31875
|
+
A.pointerId === b.activePointerId && (Xn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(en(b.target, A), b.pointerType)) : b.isOverTarget && (b.isOverTarget = !1, O(en(b.target, A), b.pointerType, !1), S.current.shouldCancelOnPointerExit && L(A)));
|
|
31877
31876
|
}, $ = (A) => {
|
|
31878
|
-
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (Xn(A, b.target) ? O(
|
|
31877
|
+
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (Xn(A, b.target) ? O(en(b.target, A), b.pointerType) : b.isOverTarget && O(en(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, N(), m || Fs(b.target));
|
|
31879
31878
|
}, x = (A) => {
|
|
31880
31879
|
L(A);
|
|
31881
31880
|
};
|
|
@@ -31898,7 +31897,7 @@ function ek(e) {
|
|
|
31898
31897
|
b.ignoreEmulatedMouseEvents = !1;
|
|
31899
31898
|
return;
|
|
31900
31899
|
}
|
|
31901
|
-
Xn(x, b.target) ? O(
|
|
31900
|
+
Xn(x, b.target) ? O(en(b.target, x), b.pointerType) : b.isOverTarget && O(en(b.target, x), b.pointerType, !1), b.isOverTarget = !1;
|
|
31902
31901
|
}
|
|
31903
31902
|
};
|
|
31904
31903
|
R.onTouchStart = (x) => {
|
|
@@ -31970,7 +31969,7 @@ function Rd(e, t) {
|
|
|
31970
31969
|
}
|
|
31971
31970
|
return null;
|
|
31972
31971
|
}
|
|
31973
|
-
function
|
|
31972
|
+
function en(e, t) {
|
|
31974
31973
|
return {
|
|
31975
31974
|
currentTarget: e,
|
|
31976
31975
|
shiftKey: t.shiftKey,
|
|
@@ -32760,7 +32759,7 @@ function Bk({
|
|
|
32760
32759
|
value: p,
|
|
32761
32760
|
...u
|
|
32762
32761
|
}) {
|
|
32763
|
-
const { wrapperId: m, controlId: f } =
|
|
32762
|
+
const { wrapperId: m, controlId: f } = wt(r, n), h = s.useRef(null);
|
|
32764
32763
|
function S(N) {
|
|
32765
32764
|
n && (n.setValue(N), n.markAsDirty()), o && o(N);
|
|
32766
32765
|
}
|
|
@@ -33054,7 +33053,7 @@ function YM() {
|
|
|
33054
33053
|
onClose: () => {
|
|
33055
33054
|
a.onClose && a.onClose(), a.closed = !0, e.every((o) => o.closed) && t([]);
|
|
33056
33055
|
}
|
|
33057
|
-
},
|
|
33056
|
+
}, Et(a.content))), [e]), r = s.useCallback((a) => {
|
|
33058
33057
|
t((o) => [
|
|
33059
33058
|
...o,
|
|
33060
33059
|
{
|
|
@@ -33328,7 +33327,7 @@ function JM(e, t) {
|
|
|
33328
33327
|
const n = {
|
|
33329
33328
|
...Kd,
|
|
33330
33329
|
...e
|
|
33331
|
-
}, [r, a] =
|
|
33330
|
+
}, [r, a] = sn(n);
|
|
33332
33331
|
return Object.assign(t, r), [
|
|
33333
33332
|
t,
|
|
33334
33333
|
(o) => {
|
|
@@ -33951,9 +33950,9 @@ function cM(e) {
|
|
|
33951
33950
|
...h
|
|
33952
33951
|
}, (u || o) && /* @__PURE__ */ s.createElement("div", {
|
|
33953
33952
|
className: "sps-tile--icon"
|
|
33954
|
-
}, u && (m ?
|
|
33953
|
+
}, u && (m ? Et(m) : /* @__PURE__ */ s.createElement("i", {
|
|
33955
33954
|
className: V("sps-icon", "sps-icon-status-warning")
|
|
33956
|
-
})), o && (l ?
|
|
33955
|
+
})), o && (l ? Et(l) : /* @__PURE__ */ s.createElement("i", {
|
|
33957
33956
|
className: V("sps-icon", "sps-icon-ban")
|
|
33958
33957
|
}))), /* @__PURE__ */ s.createElement("div", {
|
|
33959
33958
|
className: "sps-tile--content"
|
|
@@ -33963,7 +33962,7 @@ function cM(e) {
|
|
|
33963
33962
|
className: "sps-tile--image",
|
|
33964
33963
|
src: a,
|
|
33965
33964
|
alt: ""
|
|
33966
|
-
}) :
|
|
33965
|
+
}) : Et(a)), /* @__PURE__ */ s.createElement("div", {
|
|
33967
33966
|
className: "sps-tile--title"
|
|
33968
33967
|
}, /* @__PURE__ */ s.createElement("p", null, c, r === "_blank" && /* @__PURE__ */ s.createElement("i", {
|
|
33969
33968
|
className: V("sps-icon", "sps-icon-tabs")
|
|
@@ -34668,10 +34667,10 @@ export {
|
|
|
34668
34667
|
Be as I18nContext,
|
|
34669
34668
|
HM as MANIFEST,
|
|
34670
34669
|
jk as ModalAction,
|
|
34671
|
-
|
|
34670
|
+
Ct as OnBlurErrorKeys,
|
|
34672
34671
|
Ho as OnSubmitErrorKeys,
|
|
34673
34672
|
Ot as PortalContext,
|
|
34674
|
-
|
|
34673
|
+
Sn as PreventativeErrorKeys,
|
|
34675
34674
|
lv as Provide,
|
|
34676
34675
|
se as SimpleDateUtils,
|
|
34677
34676
|
VM as SpsAddRemoveFormRowExamples,
|
|
@@ -34863,11 +34862,11 @@ export {
|
|
|
34863
34862
|
yM as SpsZeroState,
|
|
34864
34863
|
r_ as SpsZeroStateExamples,
|
|
34865
34864
|
ye as TooltipVisibility,
|
|
34866
|
-
|
|
34865
|
+
tn as ValidationMode,
|
|
34867
34866
|
Ib as addOnChangeErrorKey,
|
|
34868
34867
|
kb as addOnSubmitErrorKey,
|
|
34869
34868
|
LM as bindProps,
|
|
34870
|
-
|
|
34869
|
+
Et as contentOf,
|
|
34871
34870
|
Us as date,
|
|
34872
34871
|
Lb as dateConstraint,
|
|
34873
34872
|
_b as dateRange,
|
|
@@ -34894,7 +34893,7 @@ export {
|
|
|
34894
34893
|
Jw as useKeyboardSensor,
|
|
34895
34894
|
qM as useModals,
|
|
34896
34895
|
Yw as useMouseSensor,
|
|
34897
|
-
|
|
34896
|
+
sn as usePatchReducer,
|
|
34898
34897
|
Qr as usePortal,
|
|
34899
34898
|
$M as useServerSideValidation,
|
|
34900
34899
|
JM as useSpsAction,
|