@spscommerce/ds-react 8.26.0 → 8.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +546 -549
- package/lib/index.umd.cjs +22 -22
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -4,9 +4,9 @@ var Yl = (e) => {
|
|
|
4
4
|
};
|
|
5
5
|
var WS = (e, t, n) => t in e ? HS(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
6
6
|
var Gt = (e, t, n) => WS(e, typeof t != "symbol" ? t + "" : t, n), Ul = (e, t, n) => t.has(e) || Yl("Cannot " + n);
|
|
7
|
-
var Gn = (e, t, n) => (Ul(e, t, "read from private field"), n ? n.call(e) : t.get(e)),
|
|
7
|
+
var Gn = (e, t, n) => (Ul(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Bs = (e, t, n) => t.has(e) ? Yl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), gn = (e, t, n, r) => (Ul(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
8
8
|
import * as s from "react";
|
|
9
|
-
import J, { useRef as he, useEffect as We, useState as je, useCallback as
|
|
9
|
+
import J, { useRef as he, useEffect as We, useState as je, useCallback as Bt, useMemo as Qe, createContext as Kd, useContext as nn, useReducer as ni, useLayoutEffect as Hd } from "react";
|
|
10
10
|
import { getPath as Jr, setPath as GS, deepFreeze as zl, diff as YS, DiffChange as Yn, debounce as US, flatten as zS, code as v, crumblePath as jS, traversePath as qS, forEachNestedObject as JS, constrain as ZS, lockToAnimationFrames as XS } from "@spscommerce/utils";
|
|
11
11
|
import * as Cr from "moment-timezone";
|
|
12
12
|
import St from "moment-timezone";
|
|
@@ -83,10 +83,10 @@ const qd = /* @__PURE__ */ si(Lb), $t = /* @__PURE__ */ new Set(), us = /* @__PU
|
|
|
83
83
|
function Pb(e) {
|
|
84
84
|
$t.has(e) || En.has(e) || ai.has(e) || us.add(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Ab(e) {
|
|
87
87
|
$t.has(e) || En.has(e) || us.has(e) || ai.add(e);
|
|
88
88
|
}
|
|
89
|
-
const at = Cr.default || Cr, Nr = "MM/DD/YYYY",
|
|
89
|
+
const at = Cr.default || Cr, Nr = "MM/DD/YYYY", Bb = "MM/DD/YYYY hh:mm A", Fb = "MM/DD/YYYY HH:mm", Vb = "hh:mm A", $b = "HH:mm", Kb = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, ns = Symbol("Date Parse Error");
|
|
90
90
|
function mr(e) {
|
|
91
91
|
return at.isMoment(e) ? e.year() * 1e4 + (e.month() + 1) * 100 + e.date() : e.year * 1e4 + e.month * 100 + e.date;
|
|
92
92
|
}
|
|
@@ -181,7 +181,7 @@ const Z = Object.freeze({
|
|
|
181
181
|
return e.slice(0, 2).map((r) => Z.toString(r, t)).join(n);
|
|
182
182
|
},
|
|
183
183
|
toDateTimeString(e, t = !1, n) {
|
|
184
|
-
return e && at.isMoment(e) && e.isValid() ? n ? t ? e.format(`${n} ${$b}`) : e.format(`${n} ${Vb}`) : t ? e.format(Fb) : e.format(
|
|
184
|
+
return e && at.isMoment(e) && e.isValid() ? n ? t ? e.format(`${n} ${$b}`) : e.format(`${n} ${Vb}`) : t ? e.format(Fb) : e.format(Bb) : "";
|
|
185
185
|
},
|
|
186
186
|
toDateTimeStringRange(e, t = !1, n) {
|
|
187
187
|
if (!e)
|
|
@@ -489,16 +489,16 @@ function ii(e, t = []) {
|
|
|
489
489
|
var bn = /* @__PURE__ */ ((e) => (e[e.ON_CHANGE = 0] = "ON_CHANGE", e[e.ON_BLUR = 1] = "ON_BLUR", e[e.ON_SUBMIT = 2] = "ON_SUBMIT", e))(bn || {});
|
|
490
490
|
function LM(e, t = {}, n = []) {
|
|
491
491
|
for (const [r, a] of Object.entries(t))
|
|
492
|
-
a === 0 ? Pb(r) : a === 2 &&
|
|
492
|
+
a === 0 ? Pb(r) : a === 2 && Ab(r);
|
|
493
493
|
return s.useCallback(e, n);
|
|
494
494
|
}
|
|
495
495
|
var Jn, Rn, Ln;
|
|
496
496
|
class yr {
|
|
497
497
|
constructor(t, n) {
|
|
498
498
|
Gt(this, "validators", []);
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
499
|
+
Bs(this, Jn, null);
|
|
500
|
+
Bs(this, Rn, null);
|
|
501
|
+
Bs(this, Ln, null);
|
|
502
502
|
Gt(this, "preventativeErrors", []);
|
|
503
503
|
Gt(this, "submitted", !1);
|
|
504
504
|
this.path = t, this.update = n;
|
|
@@ -685,11 +685,11 @@ function Vs(e, t, n, r = !1, a = !1) {
|
|
|
685
685
|
o.validators = typeof l == "function" ? l(e) : l, r && o.validate(Jr(e, o.path), void 0, a);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function Ao(e, t) {
|
|
689
689
|
const n = t[0];
|
|
690
|
-
return t = t.slice(1), Array.isArray(e) ? e.map((r, a) => a === Number(n) ?
|
|
690
|
+
return t = t.slice(1), Array.isArray(e) ? e.map((r, a) => a === Number(n) ? Ao(r, t) : r) : qd(e) ? Object.keys(e).reduce(
|
|
691
691
|
(r, a) => Object.assign(r, {
|
|
692
|
-
[a]: a === n ?
|
|
692
|
+
[a]: a === n ? Ao(e[a], t) : e[a]
|
|
693
693
|
}),
|
|
694
694
|
{}
|
|
695
695
|
) : e;
|
|
@@ -702,7 +702,7 @@ function iv(e, t = {}) {
|
|
|
702
702
|
ov(e);
|
|
703
703
|
const [, n] = je({}), r = he(!1);
|
|
704
704
|
r.current = !1;
|
|
705
|
-
const a = he(t), o =
|
|
705
|
+
const a = he(t), o = Bt((h) => {
|
|
706
706
|
var E, C;
|
|
707
707
|
const g = u.current;
|
|
708
708
|
let y;
|
|
@@ -736,7 +736,7 @@ function iv(e, t = {}) {
|
|
|
736
736
|
T.validate(N, bn.ON_SUBMIT);
|
|
737
737
|
}
|
|
738
738
|
} else
|
|
739
|
-
y =
|
|
739
|
+
y = Ao(g.formValue, h.path), GS(y, h.path, h.value);
|
|
740
740
|
else
|
|
741
741
|
y = h.value;
|
|
742
742
|
if ((E = h == null ? void 0 : h.updateFormOptions) != null && E.validators && (a.current = {
|
|
@@ -757,7 +757,7 @@ function iv(e, t = {}) {
|
|
|
757
757
|
type: I,
|
|
758
758
|
key: k,
|
|
759
759
|
parentPath: x,
|
|
760
|
-
objects: [,
|
|
760
|
+
objects: [, B]
|
|
761
761
|
} of T) {
|
|
762
762
|
const P = Zr(
|
|
763
763
|
g.formMeta,
|
|
@@ -768,7 +768,7 @@ function iv(e, t = {}) {
|
|
|
768
768
|
switch (I) {
|
|
769
769
|
case Yn.ADDITION:
|
|
770
770
|
P.fields[k] = Js(
|
|
771
|
-
|
|
771
|
+
B[k],
|
|
772
772
|
[...x, k],
|
|
773
773
|
c
|
|
774
774
|
);
|
|
@@ -778,7 +778,7 @@ function iv(e, t = {}) {
|
|
|
778
778
|
break;
|
|
779
779
|
case Yn.ALTERATION:
|
|
780
780
|
w = Js(
|
|
781
|
-
|
|
781
|
+
B[k],
|
|
782
782
|
[...x, k],
|
|
783
783
|
c
|
|
784
784
|
), (w instanceof Er && !(P.fields[k] instanceof Er) || !(w instanceof Er) && P.fields[k] instanceof Er) && (w.pristine = !1, P.fields[k] = w);
|
|
@@ -803,13 +803,13 @@ function iv(e, t = {}) {
|
|
|
803
803
|
for (const {
|
|
804
804
|
type: k,
|
|
805
805
|
key: x,
|
|
806
|
-
parentPath:
|
|
806
|
+
parentPath: B,
|
|
807
807
|
objects: [, P]
|
|
808
808
|
} of T)
|
|
809
809
|
if (typeof x != "symbol") {
|
|
810
810
|
let w = g.formMeta, O = y;
|
|
811
811
|
if (w) {
|
|
812
|
-
for (const _ of
|
|
812
|
+
for (const _ of B)
|
|
813
813
|
w = w.fields[_], O = O[_], I.has(w) || w.validate(O, bn.ON_CHANGE);
|
|
814
814
|
if (k === Yn.ADDITION || k === Yn.ALTERATION) {
|
|
815
815
|
const _ = w.fields[x];
|
|
@@ -825,9 +825,9 @@ function iv(e, t = {}) {
|
|
|
825
825
|
...g,
|
|
826
826
|
formValue: y || g.formValue
|
|
827
827
|
}, r.current || n({});
|
|
828
|
-
}, []), l =
|
|
828
|
+
}, []), l = Bt((h, g) => {
|
|
829
829
|
h || g ? o({ value: h, updateFormOptions: g }) : o();
|
|
830
|
-
}, [o]), c =
|
|
830
|
+
}, [o]), c = Bt((h, g, y = !1, E, C = !1) => {
|
|
831
831
|
h ? o({
|
|
832
832
|
path: h,
|
|
833
833
|
value: g,
|
|
@@ -839,9 +839,9 @@ function iv(e, t = {}) {
|
|
|
839
839
|
zl(e);
|
|
840
840
|
const h = Js(e, [], c);
|
|
841
841
|
return t && Vs(e, h, t, !1, !0), h;
|
|
842
|
-
}, []), m =
|
|
842
|
+
}, []), m = Bt(() => (u.current.formMeta.markAsDirty(), a.current && Po(u.current.formMeta, a.current, (h, g) => {
|
|
843
843
|
(typeof g == "function" || Array.isArray(g)) && h.validate(Jr(u.current.formValue, h.path));
|
|
844
|
-
}), u.current.formMeta.isValid()), []), f =
|
|
844
|
+
}), u.current.formMeta.isValid()), []), f = Bt(() => u.current.formValue, []), u = he({
|
|
845
845
|
formValue: e,
|
|
846
846
|
formMeta: p,
|
|
847
847
|
updateForm: l,
|
|
@@ -944,9 +944,9 @@ var tc = function(e, t) {
|
|
|
944
944
|
}
|
|
945
945
|
g != null && g === document.body && Ja(g) && !Ja(document.documentElement) || g != null && Ja(g, c) && h.push(g);
|
|
946
946
|
}
|
|
947
|
-
for (var y = n.visualViewport ? n.visualViewport.width : innerWidth, E = n.visualViewport ? n.visualViewport.height : innerHeight, C = window.scrollX || pageXOffset, T = window.scrollY || pageYOffset, N = e.getBoundingClientRect(), I = N.height, k = N.width, x = N.top,
|
|
947
|
+
for (var y = n.visualViewport ? n.visualViewport.width : innerWidth, E = n.visualViewport ? n.visualViewport.height : innerHeight, C = window.scrollX || pageXOffset, T = window.scrollY || pageYOffset, N = e.getBoundingClientRect(), I = N.height, k = N.width, x = N.top, B = N.right, P = N.bottom, w = N.left, O = a === "start" || a === "nearest" ? x : a === "end" ? P : x + I / 2, _ = o === "center" ? w + k / 2 : o === "end" ? B : w, F = [], G = 0; G < h.length; G++) {
|
|
948
948
|
var M = h[G], z = M.getBoundingClientRect(), L = z.height, Q = z.width, $ = z.top, U = z.right, ne = z.bottom, K = z.left;
|
|
949
|
-
if (r === "if-needed" && x >= 0 && w >= 0 && P <= E &&
|
|
949
|
+
if (r === "if-needed" && x >= 0 && w >= 0 && P <= E && B <= y && x >= $ && P <= ne && w >= K && B <= U) return F;
|
|
950
950
|
var Y = getComputedStyle(M), ee = parseInt(Y.borderLeftWidth, 10), te = parseInt(Y.borderTopWidth, 10), W = parseInt(Y.borderRightWidth, 10), R = parseInt(Y.borderBottomWidth, 10), j = 0, re = 0, X = "offsetWidth" in M ? M.offsetWidth - M.clientWidth - ee - W : 0, le = "offsetHeight" in M ? M.offsetHeight - M.clientHeight - te - R : 0, ae = "offsetWidth" in M ? M.offsetWidth === 0 ? 0 : Q / M.offsetWidth : 0, oe = "offsetHeight" in M ? M.offsetHeight === 0 ? 0 : L / M.offsetHeight : 0;
|
|
951
951
|
if (u === M) j = a === "start" ? O : a === "end" ? O - E : a === "nearest" ? $s(T, T + E, E, te, R, T + O, T + O + I, I) : O - E / 2, re = o === "start" ? _ : o === "center" ? _ - y / 2 : o === "end" ? _ - y : $s(C, C + y, y, ee, W, C + _, C + _ + k, k), j = Math.max(0, j + T), re = Math.max(0, re + C);
|
|
952
952
|
else {
|
|
@@ -1137,7 +1137,7 @@ function xr(e, t, n, {
|
|
|
1137
1137
|
T = Te.TOP_RIGHT;
|
|
1138
1138
|
break;
|
|
1139
1139
|
}
|
|
1140
|
-
const N = a ? Math.max(f.width, m.width) : m.width, I = o ? f.width : N, [k, x,
|
|
1140
|
+
const N = a ? Math.max(f.width, m.width) : m.width, I = o ? f.width : N, [k, x, B, P] = uv(
|
|
1141
1141
|
T,
|
|
1142
1142
|
y,
|
|
1143
1143
|
f,
|
|
@@ -1149,7 +1149,7 @@ function xr(e, t, n, {
|
|
|
1149
1149
|
), w = {
|
|
1150
1150
|
top: Ks(k),
|
|
1151
1151
|
right: Ks(x),
|
|
1152
|
-
bottom: Ks(
|
|
1152
|
+
bottom: Ks(B),
|
|
1153
1153
|
left: Ks(P)
|
|
1154
1154
|
};
|
|
1155
1155
|
return c && (w.position = "fixed", w.zIndex = tb.BAR), a && (w.minWidth = `${f.width}px`), o && (w.width = `${f.width}px`), [w, T === r];
|
|
@@ -1451,7 +1451,7 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1451
1451
|
id: I,
|
|
1452
1452
|
ignoreWidthStyles: k,
|
|
1453
1453
|
isOpen: x,
|
|
1454
|
-
keepOpen:
|
|
1454
|
+
keepOpen: B,
|
|
1455
1455
|
keyDown: P,
|
|
1456
1456
|
nullOption: w,
|
|
1457
1457
|
onOptionListChanged: O,
|
|
@@ -1481,13 +1481,13 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1481
1481
|
), [X, le] = s.useState(-1), [ae, oe] = s.useState(x), se = t || s.useRef(null), Ne = s.useRef(null), xe = s.useRef(null), lt = ms("sps-option-list-portal"), ct = s.useContext(qt), [ht, dt] = z || [Te.BOTTOM_LEFT, Te.TOP_LEFT], [[Ot, Ze], ue] = s.useState([{}, !1]), Fe = s.useRef(null), [
|
|
1482
1482
|
be,
|
|
1483
1483
|
Me,
|
|
1484
|
-
|
|
1484
|
+
rt
|
|
1485
1485
|
] = hv(
|
|
1486
1486
|
{ ...e, searchInputRef: Fe }
|
|
1487
1487
|
), [we, Kt] = mv(
|
|
1488
1488
|
e,
|
|
1489
1489
|
Me,
|
|
1490
|
-
|
|
1490
|
+
rt
|
|
1491
1491
|
);
|
|
1492
1492
|
s.useEffect(() => {
|
|
1493
1493
|
R && ut(R);
|
|
@@ -1538,7 +1538,7 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1538
1538
|
}, [ae, G]), Oe = s.useCallback(() => {
|
|
1539
1539
|
ae && (oe(!1), le(-1), G && G(!1));
|
|
1540
1540
|
}, [ae, G]), et = s.useCallback((ge, ye) => {
|
|
1541
|
-
ye || ge && !ge.disabled && (typeof ge.value == "function" ? (ge.value(), E && E()) : typeof _ == "function" && _(ge.value),
|
|
1541
|
+
ye || ge && !ge.disabled && (typeof ge.value == "function" ? (ge.value(), E && E()) : typeof _ == "function" && _(ge.value), B || Oe());
|
|
1542
1542
|
}, [_, Oe]), ke = s.useCallback(
|
|
1543
1543
|
(ge, ye, tt) => {
|
|
1544
1544
|
ge.stopPropagation(), et(ye, tt);
|
|
@@ -1625,7 +1625,7 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1625
1625
|
}, [x]), s.useEffect(() => {
|
|
1626
1626
|
P && ut(P);
|
|
1627
1627
|
}, [P]), s.useEffect(() => {
|
|
1628
|
-
!ae && Ne.current && (
|
|
1628
|
+
!ae && Ne.current && (rt({ value: "" }), Ne.current.scrollTop = 0), ae && F && F(Ze);
|
|
1629
1629
|
}, [ae]);
|
|
1630
1630
|
const xn = K ? K / 16 : Y, Zt = xn ? { maxHeight: `${xn}rem` } : {};
|
|
1631
1631
|
function Cs(ge, ye) {
|
|
@@ -1759,7 +1759,7 @@ const ep = function({
|
|
|
1759
1759
|
...n
|
|
1760
1760
|
}) {
|
|
1761
1761
|
return /* @__PURE__ */ s.createElement("div", { ...n }, /* @__PURE__ */ s.createElement(ep, { elements: t }, e));
|
|
1762
|
-
},
|
|
1762
|
+
}, AM = function({
|
|
1763
1763
|
children: e,
|
|
1764
1764
|
className: t,
|
|
1765
1765
|
...n
|
|
@@ -1910,7 +1910,7 @@ function vn({
|
|
|
1910
1910
|
inputNotClearable: I,
|
|
1911
1911
|
autoFocusOnSelection: k,
|
|
1912
1912
|
"data-testid": x,
|
|
1913
|
-
...
|
|
1913
|
+
...B
|
|
1914
1914
|
}) {
|
|
1915
1915
|
const P = a || r, { wrapperId: w, controlId: O } = Nt(p, P), [_, F] = wn({
|
|
1916
1916
|
keyDown: null,
|
|
@@ -1987,7 +1987,7 @@ function vn({
|
|
|
1987
1987
|
disabled: n,
|
|
1988
1988
|
id: O,
|
|
1989
1989
|
"data-testid": `${x}__input`,
|
|
1990
|
-
...
|
|
1990
|
+
...B
|
|
1991
1991
|
}
|
|
1992
1992
|
), g && !n && !I && /* @__PURE__ */ s.createElement(
|
|
1993
1993
|
"i",
|
|
@@ -2201,7 +2201,7 @@ function Or({
|
|
|
2201
2201
|
!p && "sps-checkable--no-label",
|
|
2202
2202
|
t
|
|
2203
2203
|
);
|
|
2204
|
-
function
|
|
2204
|
+
function B(P) {
|
|
2205
2205
|
var w;
|
|
2206
2206
|
C(P.target.checked), N(!1), g && (g.setValue(P.target.checked), g.markAsDirty()), m && m(P), (w = y.current) == null || w.focus();
|
|
2207
2207
|
}
|
|
@@ -2226,7 +2226,7 @@ function Or({
|
|
|
2226
2226
|
disabled: n,
|
|
2227
2227
|
"data-testid": `${f}__checkbox-input`,
|
|
2228
2228
|
"data-checked": E ? "checked" : void 0,
|
|
2229
|
-
onChange:
|
|
2229
|
+
onChange: B,
|
|
2230
2230
|
...h
|
|
2231
2231
|
}
|
|
2232
2232
|
),
|
|
@@ -2585,13 +2585,13 @@ const Nv = {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
2587
|
};
|
|
2588
|
-
function
|
|
2589
|
-
return
|
|
2588
|
+
function Bo(e, t) {
|
|
2589
|
+
return Bo = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
2590
2590
|
return n.__proto__ = r, n;
|
|
2591
|
-
},
|
|
2591
|
+
}, Bo(e, t);
|
|
2592
2592
|
}
|
|
2593
2593
|
function rp(e, t) {
|
|
2594
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
2594
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Bo(e, t);
|
|
2595
2595
|
}
|
|
2596
2596
|
function ve() {
|
|
2597
2597
|
return ve = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -2859,7 +2859,7 @@ function Pv() {
|
|
|
2859
2859
|
};
|
|
2860
2860
|
};
|
|
2861
2861
|
}
|
|
2862
|
-
var Fo = { exports: {} }, Vo = { exports: {} },
|
|
2862
|
+
var Fo = { exports: {} }, Vo = { exports: {} }, Ae = {};
|
|
2863
2863
|
/** @license React v16.13.1
|
|
2864
2864
|
* react-is.production.min.js
|
|
2865
2865
|
*
|
|
@@ -2869,14 +2869,14 @@ var Fo = { exports: {} }, Vo = { exports: {} }, Be = {};
|
|
|
2869
2869
|
* LICENSE file in the root directory of this source tree.
|
|
2870
2870
|
*/
|
|
2871
2871
|
var uc;
|
|
2872
|
-
function
|
|
2873
|
-
if (uc) return
|
|
2872
|
+
function Av() {
|
|
2873
|
+
if (uc) return Ae;
|
|
2874
2874
|
uc = 1;
|
|
2875
2875
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
2876
2876
|
function I(x) {
|
|
2877
2877
|
if (typeof x == "object" && x !== null) {
|
|
2878
|
-
var
|
|
2879
|
-
switch (
|
|
2878
|
+
var B = x.$$typeof;
|
|
2879
|
+
switch (B) {
|
|
2880
2880
|
case t:
|
|
2881
2881
|
switch (x = x.type, x) {
|
|
2882
2882
|
case p:
|
|
@@ -2895,46 +2895,46 @@ function Bv() {
|
|
|
2895
2895
|
case l:
|
|
2896
2896
|
return x;
|
|
2897
2897
|
default:
|
|
2898
|
-
return
|
|
2898
|
+
return B;
|
|
2899
2899
|
}
|
|
2900
2900
|
}
|
|
2901
2901
|
case n:
|
|
2902
|
-
return
|
|
2902
|
+
return B;
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
2905
|
}
|
|
2906
2906
|
function k(x) {
|
|
2907
2907
|
return I(x) === m;
|
|
2908
2908
|
}
|
|
2909
|
-
return
|
|
2909
|
+
return Ae.AsyncMode = p, Ae.ConcurrentMode = m, Ae.ContextConsumer = c, Ae.ContextProvider = l, Ae.Element = t, Ae.ForwardRef = f, Ae.Fragment = r, Ae.Lazy = y, Ae.Memo = g, Ae.Portal = n, Ae.Profiler = o, Ae.StrictMode = a, Ae.Suspense = u, Ae.isAsyncMode = function(x) {
|
|
2910
2910
|
return k(x) || I(x) === p;
|
|
2911
|
-
},
|
|
2911
|
+
}, Ae.isConcurrentMode = k, Ae.isContextConsumer = function(x) {
|
|
2912
2912
|
return I(x) === c;
|
|
2913
|
-
},
|
|
2913
|
+
}, Ae.isContextProvider = function(x) {
|
|
2914
2914
|
return I(x) === l;
|
|
2915
|
-
},
|
|
2915
|
+
}, Ae.isElement = function(x) {
|
|
2916
2916
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
2917
|
-
},
|
|
2917
|
+
}, Ae.isForwardRef = function(x) {
|
|
2918
2918
|
return I(x) === f;
|
|
2919
|
-
},
|
|
2919
|
+
}, Ae.isFragment = function(x) {
|
|
2920
2920
|
return I(x) === r;
|
|
2921
|
-
},
|
|
2921
|
+
}, Ae.isLazy = function(x) {
|
|
2922
2922
|
return I(x) === y;
|
|
2923
|
-
},
|
|
2923
|
+
}, Ae.isMemo = function(x) {
|
|
2924
2924
|
return I(x) === g;
|
|
2925
|
-
},
|
|
2925
|
+
}, Ae.isPortal = function(x) {
|
|
2926
2926
|
return I(x) === n;
|
|
2927
|
-
},
|
|
2927
|
+
}, Ae.isProfiler = function(x) {
|
|
2928
2928
|
return I(x) === o;
|
|
2929
|
-
},
|
|
2929
|
+
}, Ae.isStrictMode = function(x) {
|
|
2930
2930
|
return I(x) === a;
|
|
2931
|
-
},
|
|
2931
|
+
}, Ae.isSuspense = function(x) {
|
|
2932
2932
|
return I(x) === u;
|
|
2933
|
-
},
|
|
2933
|
+
}, Ae.isValidElementType = function(x) {
|
|
2934
2934
|
return typeof x == "string" || typeof x == "function" || x === r || x === m || x === o || x === a || x === u || x === h || typeof x == "object" && x !== null && (x.$$typeof === y || x.$$typeof === g || x.$$typeof === l || x.$$typeof === c || x.$$typeof === f || x.$$typeof === C || x.$$typeof === T || x.$$typeof === N || x.$$typeof === E);
|
|
2935
|
-
},
|
|
2935
|
+
}, Ae.typeOf = I, Ae;
|
|
2936
2936
|
}
|
|
2937
|
-
var
|
|
2937
|
+
var Be = {};
|
|
2938
2938
|
/** @license React v16.13.1
|
|
2939
2939
|
* react-is.development.js
|
|
2940
2940
|
*
|
|
@@ -2944,7 +2944,7 @@ var Ae = {};
|
|
|
2944
2944
|
* LICENSE file in the root directory of this source tree.
|
|
2945
2945
|
*/
|
|
2946
2946
|
var mc;
|
|
2947
|
-
function
|
|
2947
|
+
function Bv() {
|
|
2948
2948
|
return mc || (mc = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2949
2949
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
2950
2950
|
function I(se) {
|
|
@@ -2983,7 +2983,7 @@ function Av() {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
2985
|
}
|
|
2986
|
-
var x = p,
|
|
2986
|
+
var x = p, B = m, P = c, w = l, O = t, _ = f, F = r, G = y, M = g, z = n, L = o, Q = a, $ = u, U = !1;
|
|
2987
2987
|
function ne(se) {
|
|
2988
2988
|
return U || (U = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(se) || k(se) === p;
|
|
2989
2989
|
}
|
|
@@ -3023,10 +3023,10 @@ function Av() {
|
|
|
3023
3023
|
function oe(se) {
|
|
3024
3024
|
return k(se) === u;
|
|
3025
3025
|
}
|
|
3026
|
-
|
|
3027
|
-
}()),
|
|
3026
|
+
Be.AsyncMode = x, Be.ConcurrentMode = B, Be.ContextConsumer = P, Be.ContextProvider = w, Be.Element = O, Be.ForwardRef = _, Be.Fragment = F, Be.Lazy = G, Be.Memo = M, Be.Portal = z, Be.Profiler = L, Be.StrictMode = Q, Be.Suspense = $, Be.isAsyncMode = ne, Be.isConcurrentMode = K, Be.isContextConsumer = Y, Be.isContextProvider = ee, Be.isElement = te, Be.isForwardRef = W, Be.isFragment = R, Be.isLazy = j, Be.isMemo = re, Be.isPortal = X, Be.isProfiler = le, Be.isStrictMode = ae, Be.isSuspense = oe, Be.isValidElementType = I, Be.typeOf = k;
|
|
3027
|
+
}()), Be;
|
|
3028
3028
|
}
|
|
3029
|
-
process.env.NODE_ENV === "production" ? Vo.exports =
|
|
3029
|
+
process.env.NODE_ENV === "production" ? Vo.exports = Av() : Vo.exports = Bv();
|
|
3030
3030
|
var ci = Vo.exports;
|
|
3031
3031
|
/*
|
|
3032
3032
|
object-assign
|
|
@@ -3176,7 +3176,7 @@ function $v() {
|
|
|
3176
3176
|
arrayOf: I,
|
|
3177
3177
|
element: k(),
|
|
3178
3178
|
elementType: x(),
|
|
3179
|
-
instanceOf:
|
|
3179
|
+
instanceOf: B,
|
|
3180
3180
|
node: _(),
|
|
3181
3181
|
objectOf: w,
|
|
3182
3182
|
oneOf: P,
|
|
@@ -3271,7 +3271,7 @@ function $v() {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
return C(K);
|
|
3273
3273
|
}
|
|
3274
|
-
function
|
|
3274
|
+
function B(K) {
|
|
3275
3275
|
function Y(ee, te, W, R, j) {
|
|
3276
3276
|
if (!(ee[te] instanceof K)) {
|
|
3277
3277
|
var re = K.name || h, X = ne(ee[te]);
|
|
@@ -3744,8 +3744,8 @@ function ry() {
|
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
3746
3746
|
}
|
|
3747
|
-
var I = o, k = e, x = c,
|
|
3748
|
-
return $e.ContextConsumer = l, $e.ContextProvider = I, $e.Element = k, $e.ForwardRef = x, $e.Fragment =
|
|
3747
|
+
var I = o, k = e, x = c, B = n, P = u, w = f, O = t, _ = a, F = r, G = p;
|
|
3748
|
+
return $e.ContextConsumer = l, $e.ContextProvider = I, $e.Element = k, $e.ForwardRef = x, $e.Fragment = B, $e.Lazy = P, $e.Memo = w, $e.Portal = O, $e.Profiler = _, $e.StrictMode = F, $e.Suspense = G, $e.isAsyncMode = function() {
|
|
3749
3749
|
return !1;
|
|
3750
3750
|
}, $e.isConcurrentMode = function() {
|
|
3751
3751
|
return !1;
|
|
@@ -3827,7 +3827,7 @@ function sy() {
|
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
3829
|
}
|
|
3830
|
-
var x = l,
|
|
3830
|
+
var x = l, B = o, P = e, w = c, O = n, _ = u, F = f, G = t, M = a, z = r, L = p, Q = !1, $ = !1;
|
|
3831
3831
|
function U(oe) {
|
|
3832
3832
|
return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
3833
3833
|
}
|
|
@@ -3867,7 +3867,7 @@ function sy() {
|
|
|
3867
3867
|
function ae(oe) {
|
|
3868
3868
|
return k(oe) === p;
|
|
3869
3869
|
}
|
|
3870
|
-
Ke.ContextConsumer = x, Ke.ContextProvider =
|
|
3870
|
+
Ke.ContextConsumer = x, Ke.ContextProvider = B, Ke.Element = P, Ke.ForwardRef = w, Ke.Fragment = O, Ke.Lazy = _, Ke.Memo = F, Ke.Portal = G, Ke.Profiler = M, Ke.StrictMode = z, Ke.Suspense = L, Ke.isAsyncMode = U, Ke.isConcurrentMode = ne, Ke.isContextConsumer = K, Ke.isContextProvider = Y, Ke.isElement = ee, Ke.isForwardRef = te, Ke.isFragment = W, Ke.isLazy = R, Ke.isMemo = j, Ke.isPortal = re, Ke.isProfiler = X, Ke.isStrictMode = le, Ke.isSuspense = ae, Ke.isValidElementType = I, Ke.typeOf = k;
|
|
3871
3871
|
}()), Ke;
|
|
3872
3872
|
}
|
|
3873
3873
|
process.env.NODE_ENV === "production" ? $o.exports = ry() : $o.exports = sy();
|
|
@@ -3921,8 +3921,8 @@ var my = function() {
|
|
|
3921
3921
|
};
|
|
3922
3922
|
function fy(e, t) {
|
|
3923
3923
|
t === void 0 && (t = {});
|
|
3924
|
-
var n = t, r = n.getDisplayName, a = r === void 0 ? function(
|
|
3925
|
-
return "ConnectAdvanced(" +
|
|
3924
|
+
var n = t, r = n.getDisplayName, a = r === void 0 ? function(B) {
|
|
3925
|
+
return "ConnectAdvanced(" + B + ")";
|
|
3926
3926
|
} : r, o = n.methodName, l = o === void 0 ? "connectAdvanced" : o, c = n.renderCountProp, p = c === void 0 ? void 0 : c, m = n.shouldHandleStateChanges, f = m === void 0 ? !0 : m, u = n.storeKey, h = u === void 0 ? "store" : u, g = n.withRef, y = g === void 0 ? !1 : g, E = n.forwardRef, C = E === void 0 ? !1 : E, T = n.context, N = T === void 0 ? pi : T, I = na(n, ay);
|
|
3927
3927
|
if (process.env.NODE_ENV !== "production") {
|
|
3928
3928
|
if (p !== void 0)
|
|
@@ -4145,8 +4145,8 @@ function Oy(e, t, n, r, a) {
|
|
|
4145
4145
|
return u = I, k && (g = n(u, h, f)), g;
|
|
4146
4146
|
}
|
|
4147
4147
|
function N(I, k) {
|
|
4148
|
-
var x = !l(k, f),
|
|
4149
|
-
return m = I, f = k, x &&
|
|
4148
|
+
var x = !l(k, f), B = !o(I, m, k, f);
|
|
4149
|
+
return m = I, f = k, x && B ? E() : x ? C() : B ? T() : g;
|
|
4150
4150
|
}
|
|
4151
4151
|
return function(k, x) {
|
|
4152
4152
|
return p ? N(k, x) : y(k, x);
|
|
@@ -4171,11 +4171,11 @@ function io(e, t, n) {
|
|
|
4171
4171
|
function Py(e, t) {
|
|
4172
4172
|
return e === t;
|
|
4173
4173
|
}
|
|
4174
|
-
function
|
|
4174
|
+
function Ay(e) {
|
|
4175
4175
|
var t = e === void 0 ? {} : e, n = t.connectHOC, r = n === void 0 ? fy : n, a = t.mapStateToPropsFactories, o = a === void 0 ? wy : a, l = t.mapDispatchToPropsFactories, c = l === void 0 ? yy : l, p = t.mergePropsFactories, m = p === void 0 ? ky : p, f = t.selectorFactory, u = f === void 0 ? Ry : f;
|
|
4176
4176
|
return function(g, y, E, C) {
|
|
4177
4177
|
C === void 0 && (C = {});
|
|
4178
|
-
var T = C, N = T.pure, I = N === void 0 ? !0 : N, k = T.areStatesEqual, x = k === void 0 ? Py : k,
|
|
4178
|
+
var T = C, N = T.pure, I = N === void 0 ? !0 : N, k = T.areStatesEqual, x = k === void 0 ? Py : k, B = T.areOwnPropsEqual, P = B === void 0 ? ao : B, w = T.areStatePropsEqual, O = w === void 0 ? ao : w, _ = T.areMergedPropsEqual, F = _ === void 0 ? ao : _, G = na(T, Ly), M = io(g, o, "mapStateToProps"), z = io(y, c, "mapDispatchToProps"), L = io(E, m, "mergeProps");
|
|
4179
4179
|
return r(u, ve({
|
|
4180
4180
|
// used in error messages
|
|
4181
4181
|
methodName: "connect",
|
|
@@ -4197,9 +4197,9 @@ function By(e) {
|
|
|
4197
4197
|
}, G));
|
|
4198
4198
|
};
|
|
4199
4199
|
}
|
|
4200
|
-
const gp = /* @__PURE__ */
|
|
4200
|
+
const gp = /* @__PURE__ */ Ay();
|
|
4201
4201
|
Uv(hb);
|
|
4202
|
-
function
|
|
4202
|
+
function By(e, t) {
|
|
4203
4203
|
if (e.length !== t.length)
|
|
4204
4204
|
return !1;
|
|
4205
4205
|
for (var n = 0; n < e.length; n++)
|
|
@@ -4213,7 +4213,7 @@ function Sp(e, t) {
|
|
|
4213
4213
|
inputs: t,
|
|
4214
4214
|
result: e()
|
|
4215
4215
|
};
|
|
4216
|
-
})[0], r = he(!0), a = he(n), o = r.current || !!(t && a.current.inputs &&
|
|
4216
|
+
})[0], r = he(!0), a = he(n), o = r.current || !!(t && a.current.inputs && By(t, a.current.inputs)), l = o ? a.current : {
|
|
4217
4217
|
inputs: t,
|
|
4218
4218
|
result: e()
|
|
4219
4219
|
};
|
|
@@ -4489,7 +4489,7 @@ var Xy = function(e) {
|
|
|
4489
4489
|
return Ep(t.source, n);
|
|
4490
4490
|
var r = t.combine;
|
|
4491
4491
|
return r ? Tp(t.draggableId, t.source, r) : "You are over an area that cannot be dropped on";
|
|
4492
|
-
},
|
|
4492
|
+
}, Ac = function(t) {
|
|
4493
4493
|
return `
|
|
4494
4494
|
The item has returned to its starting position
|
|
4495
4495
|
of ` + aa(t.index) + `
|
|
@@ -4498,7 +4498,7 @@ var Xy = function(e) {
|
|
|
4498
4498
|
if (t.reason === "CANCEL")
|
|
4499
4499
|
return `
|
|
4500
4500
|
Movement cancelled.
|
|
4501
|
-
` +
|
|
4501
|
+
` + Ac(t.source) + `
|
|
4502
4502
|
`;
|
|
4503
4503
|
var n = t.destination, r = t.combine;
|
|
4504
4504
|
return n ? `
|
|
@@ -4509,7 +4509,7 @@ var Xy = function(e) {
|
|
|
4509
4509
|
` + Tp(t.draggableId, t.source, r) + `
|
|
4510
4510
|
` : `
|
|
4511
4511
|
The item has been dropped while not over a drop area.
|
|
4512
|
-
` +
|
|
4512
|
+
` + Ac(t.source) + `
|
|
4513
4513
|
`;
|
|
4514
4514
|
}, Zs = {
|
|
4515
4515
|
dragHandleUsageInstructions: Qy,
|
|
@@ -4529,7 +4529,7 @@ var Xy = function(e) {
|
|
|
4529
4529
|
x: t.x - n.x,
|
|
4530
4530
|
y: t.y - n.y
|
|
4531
4531
|
};
|
|
4532
|
-
},
|
|
4532
|
+
}, An = function(t, n) {
|
|
4533
4533
|
return t.x === n.x && t.y === n.y;
|
|
4534
4534
|
}, Rr = function(t) {
|
|
4535
4535
|
return {
|
|
@@ -4541,7 +4541,7 @@ var Xy = function(e) {
|
|
|
4541
4541
|
return r === void 0 && (r = 0), a = {}, a[t] = n, a[t === "x" ? "y" : "x"] = r, a;
|
|
4542
4542
|
}, os = function(t, n) {
|
|
4543
4543
|
return Math.sqrt(Math.pow(n.x - t.x, 2) + Math.pow(n.y - t.y, 2));
|
|
4544
|
-
},
|
|
4544
|
+
}, Bc = function(t, n) {
|
|
4545
4545
|
return Math.min.apply(Math, n.map(function(r) {
|
|
4546
4546
|
return os(t, r);
|
|
4547
4547
|
}));
|
|
@@ -5227,19 +5227,19 @@ var OE = function(e) {
|
|
|
5227
5227
|
return f.length === 1 ? f[0] : f.length > 1 ? f.sort(function(u, h) {
|
|
5228
5228
|
return yt(u)[c.start] - yt(h)[c.start];
|
|
5229
5229
|
})[0] : m.sort(function(u, h) {
|
|
5230
|
-
var g =
|
|
5230
|
+
var g = Bc(n, Fc(yt(u))), y = Bc(n, Fc(yt(h)));
|
|
5231
5231
|
return g !== y ? g - y : yt(u)[c.start] - yt(h)[c.start];
|
|
5232
5232
|
})[0];
|
|
5233
5233
|
}, Wc = function(t, n) {
|
|
5234
5234
|
var r = t.page.borderBox.center;
|
|
5235
5235
|
return Fn(t.descriptor.id, n) ? It(r, n.displacedBy.point) : r;
|
|
5236
|
-
},
|
|
5236
|
+
}, AE = function(t, n) {
|
|
5237
5237
|
var r = t.page.borderBox;
|
|
5238
5238
|
return Fn(t.descriptor.id, n) ? gs(r, Rr(n.displacedBy.point)) : r;
|
|
5239
|
-
},
|
|
5239
|
+
}, BE = function(e) {
|
|
5240
5240
|
var t = e.pageBorderBoxCenter, n = e.viewport, r = e.destination, a = e.insideDestination, o = e.afterCritical, l = a.filter(function(c) {
|
|
5241
5241
|
return Mp({
|
|
5242
|
-
target:
|
|
5242
|
+
target: AE(c, o),
|
|
5243
5243
|
destination: r,
|
|
5244
5244
|
viewport: n.frame,
|
|
5245
5245
|
withDroppableDisplacement: !0
|
|
@@ -5379,7 +5379,7 @@ var OE = function(e) {
|
|
|
5379
5379
|
});
|
|
5380
5380
|
if (!m)
|
|
5381
5381
|
return null;
|
|
5382
|
-
var f = sr(m.descriptor.id, o), u =
|
|
5382
|
+
var f = sr(m.descriptor.id, o), u = BE({
|
|
5383
5383
|
pageBorderBoxCenter: n,
|
|
5384
5384
|
viewport: c,
|
|
5385
5385
|
destination: m,
|
|
@@ -5448,7 +5448,7 @@ var OE = function(e) {
|
|
|
5448
5448
|
function qn(e) {
|
|
5449
5449
|
return e.phase === "DRAGGING" || e.phase === "COLLECTING";
|
|
5450
5450
|
}
|
|
5451
|
-
function
|
|
5451
|
+
function Ap(e) {
|
|
5452
5452
|
var t = Vt(e.top, e.bottom), n = Vt(e.left, e.right);
|
|
5453
5453
|
return function(a) {
|
|
5454
5454
|
return t(a.y) && n(a.x);
|
|
@@ -5476,7 +5476,7 @@ function UE(e) {
|
|
|
5476
5476
|
var l = o.subject.active;
|
|
5477
5477
|
if (!l || !GE(t, l))
|
|
5478
5478
|
return !1;
|
|
5479
|
-
if (
|
|
5479
|
+
if (Ap(l)(t.center))
|
|
5480
5480
|
return !0;
|
|
5481
5481
|
var c = o.axis, p = l.center[c.crossAxisLine], m = t[c.crossAxisStart], f = t[c.crossAxisEnd], u = Vt(l[c.crossAxisStart], l[c.crossAxisEnd]), h = u(m), g = u(f);
|
|
5482
5482
|
return !h && !g ? !0 : h ? m < p : f > p;
|
|
@@ -5487,11 +5487,11 @@ function UE(e) {
|
|
|
5487
5487
|
candidates: a
|
|
5488
5488
|
}) : null;
|
|
5489
5489
|
}
|
|
5490
|
-
var
|
|
5490
|
+
var Bp = function(t, n) {
|
|
5491
5491
|
return zt(gs(t, n));
|
|
5492
5492
|
}, zE = function(e, t) {
|
|
5493
5493
|
var n = e.frame;
|
|
5494
|
-
return n ?
|
|
5494
|
+
return n ? Bp(t, n.scroll.diff.value) : t;
|
|
5495
5495
|
};
|
|
5496
5496
|
function Fp(e) {
|
|
5497
5497
|
var t = e.displaced, n = e.id;
|
|
@@ -5548,7 +5548,7 @@ var qE = function(e) {
|
|
|
5548
5548
|
};
|
|
5549
5549
|
return y;
|
|
5550
5550
|
}, Vp = function(e) {
|
|
5551
|
-
var t = e.pageOffset, n = e.draggable, r = e.draggables, a = e.droppables, o = e.previousImpact, l = e.viewport, c = e.afterCritical, p =
|
|
5551
|
+
var t = e.pageOffset, n = e.draggable, r = e.draggables, a = e.droppables, o = e.previousImpact, l = e.viewport, c = e.afterCritical, p = Bp(n.page.borderBox, t), m = UE({
|
|
5552
5552
|
pageBorderBox: p,
|
|
5553
5553
|
draggable: n,
|
|
5554
5554
|
droppables: a
|
|
@@ -5903,7 +5903,7 @@ var Gc = {
|
|
|
5903
5903
|
return e;
|
|
5904
5904
|
qn(e) || (process.env.NODE_ENV !== "production" ? V(!1, t.type + " not permitted in phase " + e.phase) : V());
|
|
5905
5905
|
var N = t.payload.client;
|
|
5906
|
-
return
|
|
5906
|
+
return An(N, e.current.client.selection) ? e : Qr({
|
|
5907
5907
|
state: e,
|
|
5908
5908
|
clientSelection: N,
|
|
5909
5909
|
impact: Wo(e) ? e.impact : null
|
|
@@ -5913,10 +5913,10 @@ var Gc = {
|
|
|
5913
5913
|
if (e.phase === "DROP_PENDING" || e.phase === "COLLECTING")
|
|
5914
5914
|
return uo(e);
|
|
5915
5915
|
qn(e) || (process.env.NODE_ENV !== "production" ? V(!1, t.type + " not permitted in phase " + e.phase) : V());
|
|
5916
|
-
var I = t.payload, k = I.id, x = I.newScroll,
|
|
5917
|
-
if (!
|
|
5916
|
+
var I = t.payload, k = I.id, x = I.newScroll, B = e.dimensions.droppables[k];
|
|
5917
|
+
if (!B)
|
|
5918
5918
|
return e;
|
|
5919
|
-
var P = Si(
|
|
5919
|
+
var P = Si(B, x);
|
|
5920
5920
|
return po(e, P, !1);
|
|
5921
5921
|
}
|
|
5922
5922
|
if (t.type === "UPDATE_DROPPABLE_IS_ENABLED") {
|
|
@@ -5948,7 +5948,7 @@ var Gc = {
|
|
|
5948
5948
|
return e;
|
|
5949
5949
|
qn(e) || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot move by window in phase " + e.phase) : V()), e.isWindowScrollAllowed || (process.env.NODE_ENV !== "production" ? V(!1, "Window scrolling is currently not supported for fixed lists") : V());
|
|
5950
5950
|
var U = t.payload.newScroll;
|
|
5951
|
-
if (
|
|
5951
|
+
if (An(e.viewport.scroll.current, U))
|
|
5952
5952
|
return uo(e);
|
|
5953
5953
|
var ne = Op(e.viewport, U);
|
|
5954
5954
|
return Wo(e) ? Hp({
|
|
@@ -5963,7 +5963,7 @@ var Gc = {
|
|
|
5963
5963
|
if (!qn(e))
|
|
5964
5964
|
return e;
|
|
5965
5965
|
var K = t.payload.maxScroll;
|
|
5966
|
-
if (
|
|
5966
|
+
if (An(K, e.viewport.scroll.max))
|
|
5967
5967
|
return e;
|
|
5968
5968
|
var Y = ve({}, e.viewport, {
|
|
5969
5969
|
scroll: ve({}, e.viewport.scroll, {
|
|
@@ -6224,7 +6224,7 @@ var NT = function(e) {
|
|
|
6224
6224
|
outOfTheWay: "transform " + Un,
|
|
6225
6225
|
placeholder: "height " + Un + ", width " + Un + ", margin " + Un
|
|
6226
6226
|
}, Yc = function(t) {
|
|
6227
|
-
return
|
|
6227
|
+
return An(t, it) ? null : "translate(" + t.x + "px, " + t.y + "px)";
|
|
6228
6228
|
}, Go = {
|
|
6229
6229
|
moveTo: Yc,
|
|
6230
6230
|
drop: function(t, n) {
|
|
@@ -6324,7 +6324,7 @@ var NT = function(e) {
|
|
|
6324
6324
|
afterCritical: o.afterCritical,
|
|
6325
6325
|
result: T,
|
|
6326
6326
|
impact: h
|
|
6327
|
-
}, k = !
|
|
6327
|
+
}, k = !An(o.current.client.offset, N) || !!T.combine;
|
|
6328
6328
|
if (!k) {
|
|
6329
6329
|
n(Ni({
|
|
6330
6330
|
completed: I
|
|
@@ -6335,12 +6335,12 @@ var NT = function(e) {
|
|
|
6335
6335
|
current: o.current.client.offset,
|
|
6336
6336
|
destination: N,
|
|
6337
6337
|
reason: l
|
|
6338
|
-
}),
|
|
6338
|
+
}), B = {
|
|
6339
6339
|
newHomeClientOffset: N,
|
|
6340
6340
|
dropDuration: x,
|
|
6341
6341
|
completed: I
|
|
6342
6342
|
};
|
|
6343
|
-
n(TT(
|
|
6343
|
+
n(TT(B));
|
|
6344
6344
|
}
|
|
6345
6345
|
};
|
|
6346
6346
|
};
|
|
@@ -6383,9 +6383,9 @@ function PT(e) {
|
|
|
6383
6383
|
isActive: l
|
|
6384
6384
|
};
|
|
6385
6385
|
}
|
|
6386
|
-
var
|
|
6386
|
+
var AT = function(t) {
|
|
6387
6387
|
return t.type === "DROP_COMPLETE" || t.type === "DROP_ANIMATE" || t.type === "FLUSH";
|
|
6388
|
-
},
|
|
6388
|
+
}, BT = function(e) {
|
|
6389
6389
|
var t = PT({
|
|
6390
6390
|
onWindowScroll: function(r) {
|
|
6391
6391
|
e.dispatch(gT({
|
|
@@ -6395,7 +6395,7 @@ var BT = function(t) {
|
|
|
6395
6395
|
});
|
|
6396
6396
|
return function(n) {
|
|
6397
6397
|
return function(r) {
|
|
6398
|
-
!t.isActive() && r.type === "INITIAL_PUBLISH" && t.start(), t.isActive() &&
|
|
6398
|
+
!t.isActive() && r.type === "INITIAL_PUBLISH" && t.start(), t.isActive() && AT(r) && t.stop(), n(r);
|
|
6399
6399
|
};
|
|
6400
6400
|
};
|
|
6401
6401
|
}, FT = function(e) {
|
|
@@ -6683,7 +6683,7 @@ var BT = function(t) {
|
|
|
6683
6683
|
name: "react-beautiful-dnd"
|
|
6684
6684
|
}) : ap, QT = function(e) {
|
|
6685
6685
|
var t = e.dimensionMarshal, n = e.focusMarshal, r = e.styleMarshal, a = e.getResponders, o = e.announce, l = e.autoScroller;
|
|
6686
|
-
return sp(iT, XT(Pv(xT(r), zT(t), NT(t), RT, YT, UT, ZT, JT(l),
|
|
6686
|
+
return sp(iT, XT(Pv(xT(r), zT(t), NT(t), RT, YT, UT, ZT, JT(l), BT, jT(n), GT(a, o))));
|
|
6687
6687
|
}, fo = function() {
|
|
6688
6688
|
return {
|
|
6689
6689
|
additions: {},
|
|
@@ -6868,7 +6868,7 @@ var rw = function(e, t) {
|
|
|
6868
6868
|
});
|
|
6869
6869
|
}), ow = function(t, n) {
|
|
6870
6870
|
var r = Vn(aw(n), function(a) {
|
|
6871
|
-
return a.frame || (process.env.NODE_ENV !== "production" ? V(!1, "Invalid result") : V()),
|
|
6871
|
+
return a.frame || (process.env.NODE_ENV !== "production" ? V(!1, "Invalid result") : V()), Ap(a.frame.pageMarginBox)(t);
|
|
6872
6872
|
});
|
|
6873
6873
|
return r;
|
|
6874
6874
|
}, iw = function(e) {
|
|
@@ -6879,7 +6879,7 @@ var rw = function(e, t) {
|
|
|
6879
6879
|
}
|
|
6880
6880
|
var o = ow(t, r);
|
|
6881
6881
|
return o;
|
|
6882
|
-
},
|
|
6882
|
+
}, Bn = {
|
|
6883
6883
|
startFromPercentage: 0.25,
|
|
6884
6884
|
maxScrollAtPercentage: 0.05,
|
|
6885
6885
|
maxPixelScroll: 28,
|
|
@@ -6891,7 +6891,7 @@ var rw = function(e, t) {
|
|
|
6891
6891
|
accelerateAt: 360
|
|
6892
6892
|
}
|
|
6893
6893
|
}, lw = function(e, t) {
|
|
6894
|
-
var n = e[t.size] *
|
|
6894
|
+
var n = e[t.size] * Bn.startFromPercentage, r = e[t.size] * Bn.maxScrollAtPercentage, a = {
|
|
6895
6895
|
startScrollingFrom: n,
|
|
6896
6896
|
maxScrollValueAt: r
|
|
6897
6897
|
};
|
|
@@ -6910,16 +6910,16 @@ var rw = function(e, t) {
|
|
|
6910
6910
|
if (e > t.startScrollingFrom)
|
|
6911
6911
|
return 0;
|
|
6912
6912
|
if (e <= t.maxScrollValueAt)
|
|
6913
|
-
return
|
|
6913
|
+
return Bn.maxPixelScroll;
|
|
6914
6914
|
if (e === t.startScrollingFrom)
|
|
6915
6915
|
return Ii;
|
|
6916
6916
|
var n = Qp({
|
|
6917
6917
|
startOfRange: t.maxScrollValueAt,
|
|
6918
6918
|
endOfRange: t.startScrollingFrom,
|
|
6919
6919
|
current: e
|
|
6920
|
-
}), r = 1 - n, a =
|
|
6920
|
+
}), r = 1 - n, a = Bn.maxPixelScroll * Bn.ease(r);
|
|
6921
6921
|
return Math.ceil(a);
|
|
6922
|
-
}, jc =
|
|
6922
|
+
}, jc = Bn.durationDampening.accelerateAt, qc = Bn.durationDampening.stopDampeningAt, dw = function(e, t) {
|
|
6923
6923
|
var n = t, r = qc, a = Date.now(), o = a - n;
|
|
6924
6924
|
if (o >= qc)
|
|
6925
6925
|
return e;
|
|
@@ -6929,7 +6929,7 @@ var rw = function(e, t) {
|
|
|
6929
6929
|
startOfRange: jc,
|
|
6930
6930
|
endOfRange: r,
|
|
6931
6931
|
current: o
|
|
6932
|
-
}), c = e *
|
|
6932
|
+
}), c = e * Bn.ease(l);
|
|
6933
6933
|
return Math.ceil(c);
|
|
6934
6934
|
}, Jc = function(e) {
|
|
6935
6935
|
var t = e.distanceToEdge, n = e.thresholds, r = e.dragStartTime, a = e.shouldUseTimeDampening, o = cw(t, n);
|
|
@@ -6977,14 +6977,14 @@ var rw = function(e, t) {
|
|
|
6977
6977
|
x: p,
|
|
6978
6978
|
y: c
|
|
6979
6979
|
});
|
|
6980
|
-
if (
|
|
6980
|
+
if (An(m, it))
|
|
6981
6981
|
return null;
|
|
6982
6982
|
var f = pw({
|
|
6983
6983
|
container: n,
|
|
6984
6984
|
subject: r,
|
|
6985
6985
|
proposedScroll: m
|
|
6986
6986
|
});
|
|
6987
|
-
return f ?
|
|
6987
|
+
return f ? An(f, it) ? null : f : null;
|
|
6988
6988
|
}, mw = wp(function(e) {
|
|
6989
6989
|
return e === 0 ? 0 : e > 0 ? 1 : -1;
|
|
6990
6990
|
}), Mi = /* @__PURE__ */ function() {
|
|
@@ -6996,7 +6996,7 @@ var rw = function(e, t) {
|
|
|
6996
6996
|
x: e(o.x, r.x),
|
|
6997
6997
|
y: e(o.y, r.y)
|
|
6998
6998
|
};
|
|
6999
|
-
return
|
|
6999
|
+
return An(l, it) ? null : l;
|
|
7000
7000
|
};
|
|
7001
7001
|
}(), tu = function(t) {
|
|
7002
7002
|
var n = t.max, r = t.current, a = t.change, o = {
|
|
@@ -7553,11 +7553,11 @@ function Pw(e) {
|
|
|
7553
7553
|
};
|
|
7554
7554
|
}, [a, n]), a;
|
|
7555
7555
|
}
|
|
7556
|
-
var Ea = J.createContext(null),
|
|
7556
|
+
var Ea = J.createContext(null), Aw = {
|
|
7557
7557
|
react: "^16.8.5 || ^17.0.0 || ^18.0.0",
|
|
7558
7558
|
"react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
|
|
7559
|
-
},
|
|
7560
|
-
var n =
|
|
7559
|
+
}, Bw = /(\d+)\.(\d+)\.(\d+)/, td = function(t) {
|
|
7560
|
+
var n = Bw.exec(t);
|
|
7561
7561
|
n == null && (process.env.NODE_ENV !== "production" ? V(!1, "Unable to parse React version " + t) : V());
|
|
7562
7562
|
var r = Number(n[1]), a = Number(n[2]), o = Number(n[3]);
|
|
7563
7563
|
return {
|
|
@@ -7622,10 +7622,10 @@ function Es(e, t) {
|
|
|
7622
7622
|
}
|
|
7623
7623
|
function Kw() {
|
|
7624
7624
|
Es(function() {
|
|
7625
|
-
Vw(
|
|
7625
|
+
Vw(Aw.react, J.version), $w(document);
|
|
7626
7626
|
}, []);
|
|
7627
7627
|
}
|
|
7628
|
-
function
|
|
7628
|
+
function Ai(e) {
|
|
7629
7629
|
var t = he(e);
|
|
7630
7630
|
return We(function() {
|
|
7631
7631
|
t.current = e;
|
|
@@ -7660,7 +7660,7 @@ function Hw() {
|
|
|
7660
7660
|
tryAbandon: o
|
|
7661
7661
|
};
|
|
7662
7662
|
}
|
|
7663
|
-
var Ww = 9, Gw = 13,
|
|
7663
|
+
var Ww = 9, Gw = 13, Bi = 27, au = 32, Yw = 33, Uw = 34, zw = 35, jw = 36, qw = 37, Jw = 38, Zw = 39, Xw = 40, Ws, Qw = (Ws = {}, Ws[Gw] = !0, Ws[Ww] = !0, Ws), ou = function(e) {
|
|
7664
7664
|
Qw[e.keyCode] && e.preventDefault();
|
|
7665
7665
|
}, Ta = function() {
|
|
7666
7666
|
var e = "visibilitychange";
|
|
@@ -7729,7 +7729,7 @@ function tC(e) {
|
|
|
7729
7729
|
t();
|
|
7730
7730
|
return;
|
|
7731
7731
|
}
|
|
7732
|
-
if (l.keyCode ===
|
|
7732
|
+
if (l.keyCode === Bi) {
|
|
7733
7733
|
l.preventDefault(), t();
|
|
7734
7734
|
return;
|
|
7735
7735
|
}
|
|
@@ -7854,7 +7854,7 @@ function aC(e, t) {
|
|
|
7854
7854
|
return [{
|
|
7855
7855
|
eventName: "keydown",
|
|
7856
7856
|
fn: function(o) {
|
|
7857
|
-
if (o.keyCode ===
|
|
7857
|
+
if (o.keyCode === Bi) {
|
|
7858
7858
|
o.preventDefault(), n();
|
|
7859
7859
|
return;
|
|
7860
7860
|
}
|
|
@@ -7973,7 +7973,7 @@ function cC(e) {
|
|
|
7973
7973
|
t();
|
|
7974
7974
|
return;
|
|
7975
7975
|
}
|
|
7976
|
-
a.keyCode ===
|
|
7976
|
+
a.keyCode === Bi && a.preventDefault(), t();
|
|
7977
7977
|
}
|
|
7978
7978
|
}, {
|
|
7979
7979
|
eventName: Ta,
|
|
@@ -8144,7 +8144,7 @@ function pC(e) {
|
|
|
8144
8144
|
}
|
|
8145
8145
|
function uC(e) {
|
|
8146
8146
|
Pi(function() {
|
|
8147
|
-
var t =
|
|
8147
|
+
var t = Ai(e);
|
|
8148
8148
|
Es(function() {
|
|
8149
8149
|
t.current.length !== e.length && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot change the amount of sensor hooks after mounting") : V(!1));
|
|
8150
8150
|
});
|
|
@@ -8267,24 +8267,24 @@ function CC(e) {
|
|
|
8267
8267
|
function y() {
|
|
8268
8268
|
return t.isActive(u);
|
|
8269
8269
|
}
|
|
8270
|
-
function E(
|
|
8270
|
+
function E(B, P) {
|
|
8271
8271
|
Gs({
|
|
8272
|
-
expected:
|
|
8272
|
+
expected: B,
|
|
8273
8273
|
phase: h,
|
|
8274
8274
|
isLockActive: y,
|
|
8275
8275
|
shouldWarn: !0
|
|
8276
8276
|
}) && r.dispatch(P());
|
|
8277
8277
|
}
|
|
8278
8278
|
var C = E.bind(null, "DRAGGING");
|
|
8279
|
-
function T(
|
|
8279
|
+
function T(B) {
|
|
8280
8280
|
function P() {
|
|
8281
8281
|
t.release(), h = "COMPLETED";
|
|
8282
8282
|
}
|
|
8283
|
-
h !== "PRE_DRAG" && (P(), h !== "PRE_DRAG" && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot lift in phase " + h) : V())), r.dispatch(cT(
|
|
8283
|
+
h !== "PRE_DRAG" && (P(), h !== "PRE_DRAG" && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot lift in phase " + h) : V())), r.dispatch(cT(B.liftActionArgs)), h = "DRAGGING";
|
|
8284
8284
|
function w(O, _) {
|
|
8285
8285
|
if (_ === void 0 && (_ = {
|
|
8286
8286
|
shouldBlockNextClick: !1
|
|
8287
|
-
}),
|
|
8287
|
+
}), B.cleanup(), _.shouldBlockNextClick) {
|
|
8288
8288
|
var F = Ft(window, [{
|
|
8289
8289
|
eventName: "click",
|
|
8290
8290
|
fn: wC,
|
|
@@ -8316,9 +8316,9 @@ function CC(e) {
|
|
|
8316
8316
|
cancel: function(_) {
|
|
8317
8317
|
return w("CANCEL", _);
|
|
8318
8318
|
}
|
|
8319
|
-
},
|
|
8319
|
+
}, B.actions);
|
|
8320
8320
|
}
|
|
8321
|
-
function N(
|
|
8321
|
+
function N(B) {
|
|
8322
8322
|
var P = ss(function(O) {
|
|
8323
8323
|
C(function() {
|
|
8324
8324
|
return Gp({
|
|
@@ -8328,7 +8328,7 @@ function CC(e) {
|
|
|
8328
8328
|
}), w = T({
|
|
8329
8329
|
liftActionArgs: {
|
|
8330
8330
|
id: o,
|
|
8331
|
-
clientSelection:
|
|
8331
|
+
clientSelection: B,
|
|
8332
8332
|
movementMode: "FLUID"
|
|
8333
8333
|
},
|
|
8334
8334
|
cleanup: function() {
|
|
@@ -8343,7 +8343,7 @@ function CC(e) {
|
|
|
8343
8343
|
});
|
|
8344
8344
|
}
|
|
8345
8345
|
function I() {
|
|
8346
|
-
var
|
|
8346
|
+
var B = {
|
|
8347
8347
|
moveUp: function() {
|
|
8348
8348
|
return C(bT);
|
|
8349
8349
|
},
|
|
@@ -8364,17 +8364,17 @@ function CC(e) {
|
|
|
8364
8364
|
movementMode: "SNAP"
|
|
8365
8365
|
},
|
|
8366
8366
|
cleanup: Pn,
|
|
8367
|
-
actions:
|
|
8367
|
+
actions: B
|
|
8368
8368
|
});
|
|
8369
8369
|
}
|
|
8370
8370
|
function k() {
|
|
8371
|
-
var
|
|
8371
|
+
var B = Gs({
|
|
8372
8372
|
expected: "PRE_DRAG",
|
|
8373
8373
|
phase: h,
|
|
8374
8374
|
isLockActive: y,
|
|
8375
8375
|
shouldWarn: !0
|
|
8376
8376
|
});
|
|
8377
|
-
|
|
8377
|
+
B && t.release();
|
|
8378
8378
|
}
|
|
8379
8379
|
var x = {
|
|
8380
8380
|
isActive: function() {
|
|
@@ -8461,7 +8461,7 @@ function jr(e) {
|
|
|
8461
8461
|
function kC(e) {
|
|
8462
8462
|
var t = e.contextId, n = e.setCallbacks, r = e.sensors, a = e.nonce, o = e.dragHandleUsageInstructions, l = he(null);
|
|
8463
8463
|
Kw();
|
|
8464
|
-
var c =
|
|
8464
|
+
var c = Ai(e), p = Se(function() {
|
|
8465
8465
|
return xC(c.current);
|
|
8466
8466
|
}, [c]), m = _w(t), f = Pw({
|
|
8467
8467
|
contextId: t,
|
|
@@ -8509,7 +8509,7 @@ function kC(e) {
|
|
|
8509
8509
|
};
|
|
8510
8510
|
}, [k, I]);
|
|
8511
8511
|
n(x);
|
|
8512
|
-
var
|
|
8512
|
+
var B = Se(function(O) {
|
|
8513
8513
|
return Xp(jr(l).getState(), O);
|
|
8514
8514
|
}, []), P = Se(function() {
|
|
8515
8515
|
return qn(jr(l).getState());
|
|
@@ -8518,12 +8518,12 @@ function kC(e) {
|
|
|
8518
8518
|
marshal: E,
|
|
8519
8519
|
focus: T,
|
|
8520
8520
|
contextId: t,
|
|
8521
|
-
canLift:
|
|
8521
|
+
canLift: B,
|
|
8522
8522
|
isMovementAllowed: P,
|
|
8523
8523
|
dragHandleUsageInstructionsId: f,
|
|
8524
8524
|
registry: y
|
|
8525
8525
|
};
|
|
8526
|
-
}, [t, E, f, T,
|
|
8526
|
+
}, [t, E, f, T, B, P, y]);
|
|
8527
8527
|
return NC({
|
|
8528
8528
|
contextId: t,
|
|
8529
8529
|
store: N,
|
|
@@ -8548,7 +8548,7 @@ function MC() {
|
|
|
8548
8548
|
return "" + pu++;
|
|
8549
8549
|
}, []);
|
|
8550
8550
|
}
|
|
8551
|
-
function
|
|
8551
|
+
function BM() {
|
|
8552
8552
|
IC(), Rw();
|
|
8553
8553
|
}
|
|
8554
8554
|
function _C(e) {
|
|
@@ -8583,7 +8583,7 @@ var Fi = function(t) {
|
|
|
8583
8583
|
overflowY: n.overflowY
|
|
8584
8584
|
};
|
|
8585
8585
|
return sd(r, OC) || sd(r, RC);
|
|
8586
|
-
},
|
|
8586
|
+
}, AC = function() {
|
|
8587
8587
|
if (process.env.NODE_ENV === "production")
|
|
8588
8588
|
return !1;
|
|
8589
8589
|
var t = ds(), n = document.documentElement;
|
|
@@ -8604,8 +8604,8 @@ var Fi = function(t) {
|
|
|
8604
8604
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/how-we-detect-scroll-containers.md
|
|
8605
8605
|
`), !1;
|
|
8606
8606
|
}, mu = function e(t) {
|
|
8607
|
-
return t == null ? null : t === document.body ?
|
|
8608
|
-
},
|
|
8607
|
+
return t == null ? null : t === document.body ? AC() ? t : null : t === document.documentElement ? null : uu(t) ? t : e(t.parentElement);
|
|
8608
|
+
}, BC = function(e) {
|
|
8609
8609
|
if (e) {
|
|
8610
8610
|
var t = mu(e.parentElement);
|
|
8611
8611
|
t && process.env.NODE_ENV !== "production" && He(`
|
|
@@ -8731,7 +8731,7 @@ var Ys = function(t) {
|
|
|
8731
8731
|
return t && t.env.closestScrollable || null;
|
|
8732
8732
|
};
|
|
8733
8733
|
function YC(e) {
|
|
8734
|
-
var t = he(null), n = la(Ea), r = Li("droppable"), a = n.registry, o = n.marshal, l =
|
|
8734
|
+
var t = he(null), n = la(Ea), r = Li("droppable"), a = n.registry, o = n.marshal, l = Ai(e), c = _e(function() {
|
|
8735
8735
|
return {
|
|
8736
8736
|
id: e.droppableId,
|
|
8737
8737
|
type: e.type,
|
|
@@ -8740,11 +8740,11 @@ function YC(e) {
|
|
|
8740
8740
|
}, [e.droppableId, e.mode, e.type]), p = he(c), m = _e(function() {
|
|
8741
8741
|
return ot(function(k, x) {
|
|
8742
8742
|
t.current || (process.env.NODE_ENV !== "production" ? V(!1, "Can only update scroll when dragging") : V());
|
|
8743
|
-
var
|
|
8743
|
+
var B = {
|
|
8744
8744
|
x: k,
|
|
8745
8745
|
y: x
|
|
8746
8746
|
};
|
|
8747
|
-
o.updateDroppableScroll(c.id,
|
|
8747
|
+
o.updateDroppableScroll(c.id, B);
|
|
8748
8748
|
});
|
|
8749
8749
|
}, [c.id, o]), f = Se(function() {
|
|
8750
8750
|
var k = t.current;
|
|
@@ -8757,15 +8757,15 @@ function YC(e) {
|
|
|
8757
8757
|
}, [u]), g = Se(function() {
|
|
8758
8758
|
var k = t.current, x = Ys(k);
|
|
8759
8759
|
k && x || (process.env.NODE_ENV !== "production" ? V(!1, "Could not find scroll options while scrolling") : V());
|
|
8760
|
-
var
|
|
8761
|
-
if (
|
|
8760
|
+
var B = k.scrollOptions;
|
|
8761
|
+
if (B.shouldPublishImmediately) {
|
|
8762
8762
|
u();
|
|
8763
8763
|
return;
|
|
8764
8764
|
}
|
|
8765
8765
|
h();
|
|
8766
8766
|
}, [h, u]), y = Se(function(k, x) {
|
|
8767
8767
|
t.current && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot collect a droppable while a drag is occurring") : V());
|
|
8768
|
-
var
|
|
8768
|
+
var B = l.current, P = B.getDroppableRef();
|
|
8769
8769
|
P || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot collect without a droppable ref") : V());
|
|
8770
8770
|
var w = VC(P), O = {
|
|
8771
8771
|
ref: P,
|
|
@@ -8779,12 +8779,12 @@ function YC(e) {
|
|
|
8779
8779
|
descriptor: c,
|
|
8780
8780
|
env: w,
|
|
8781
8781
|
windowScroll: k,
|
|
8782
|
-
direction:
|
|
8783
|
-
isDropDisabled:
|
|
8784
|
-
isCombineEnabled:
|
|
8785
|
-
shouldClipSubject: !
|
|
8782
|
+
direction: B.direction,
|
|
8783
|
+
isDropDisabled: B.isDropDisabled,
|
|
8784
|
+
isCombineEnabled: B.isCombineEnabled,
|
|
8785
|
+
shouldClipSubject: !B.ignoreContainerClipping
|
|
8786
8786
|
}), F = w.closestScrollable;
|
|
8787
|
-
return F && (F.setAttribute(Qc.contextId, n.contextId), F.addEventListener("scroll", g, ad(O.scrollOptions)), process.env.NODE_ENV !== "production" &&
|
|
8787
|
+
return F && (F.setAttribute(Qc.contextId, n.contextId), F.addEventListener("scroll", g, ad(O.scrollOptions)), process.env.NODE_ENV !== "production" && BC(F)), _;
|
|
8788
8788
|
}, [n.contextId, c, g, l]), E = Se(function() {
|
|
8789
8789
|
var k = t.current, x = Ys(k);
|
|
8790
8790
|
return k && x || (process.env.NODE_ENV !== "production" ? V(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : V()), zo(x);
|
|
@@ -8796,8 +8796,8 @@ function YC(e) {
|
|
|
8796
8796
|
}, [g, h]), T = Se(function(k) {
|
|
8797
8797
|
var x = t.current;
|
|
8798
8798
|
x || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot scroll when there is no drag") : V());
|
|
8799
|
-
var
|
|
8800
|
-
|
|
8799
|
+
var B = Ys(x);
|
|
8800
|
+
B || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot scroll a droppable with no closest scrollable") : V()), B.scrollTop += k.y, B.scrollLeft += k.x;
|
|
8801
8801
|
}, []), N = _e(function() {
|
|
8802
8802
|
return {
|
|
8803
8803
|
getDimensionAndWatchScroll: y,
|
|
@@ -9115,10 +9115,10 @@ function uD(e) {
|
|
|
9115
9115
|
draggable: !1,
|
|
9116
9116
|
onDragStart: pD
|
|
9117
9117
|
} : null;
|
|
9118
|
-
}, [o, l, g, y]),
|
|
9118
|
+
}, [o, l, g, y]), B = Se(function(O) {
|
|
9119
9119
|
N.type === "DRAGGING" && N.dropping && O.propertyName === "transform" && I();
|
|
9120
9120
|
}, [I, N]), P = _e(function() {
|
|
9121
|
-
var O = oD(N), _ = N.type === "DRAGGING" && N.dropping ?
|
|
9121
|
+
var O = oD(N), _ = N.type === "DRAGGING" && N.dropping ? B : null, F = {
|
|
9122
9122
|
innerRef: n,
|
|
9123
9123
|
draggableProps: {
|
|
9124
9124
|
"data-rbd-draggable-context-id": o,
|
|
@@ -9129,7 +9129,7 @@ function uD(e) {
|
|
|
9129
9129
|
dragHandleProps: x
|
|
9130
9130
|
};
|
|
9131
9131
|
return F;
|
|
9132
|
-
}, [o, x, g, N,
|
|
9132
|
+
}, [o, x, g, N, B, n]), w = _e(function() {
|
|
9133
9133
|
return {
|
|
9134
9134
|
draggableId: u.id,
|
|
9135
9135
|
type: u.type,
|
|
@@ -9324,7 +9324,7 @@ function TD(e) {
|
|
|
9324
9324
|
getDroppableRef: N,
|
|
9325
9325
|
getPlaceholderRef: k
|
|
9326
9326
|
});
|
|
9327
|
-
var
|
|
9327
|
+
var B = Se(function() {
|
|
9328
9328
|
r() && C({
|
|
9329
9329
|
maxScroll: Zp()
|
|
9330
9330
|
});
|
|
@@ -9350,7 +9350,7 @@ function TD(e) {
|
|
|
9350
9350
|
innerRef: x,
|
|
9351
9351
|
animate: L,
|
|
9352
9352
|
contextId: n,
|
|
9353
|
-
onTransitionEnd:
|
|
9353
|
+
onTransitionEnd: B
|
|
9354
9354
|
});
|
|
9355
9355
|
}), w = _e(function() {
|
|
9356
9356
|
return {
|
|
@@ -10358,7 +10358,7 @@ function Du(e) {
|
|
|
10358
10358
|
pendingUnselectedColumns: [...f.unselectedColumns]
|
|
10359
10359
|
});
|
|
10360
10360
|
}
|
|
10361
|
-
const
|
|
10361
|
+
const B = s.useCallback(
|
|
10362
10362
|
(P) => {
|
|
10363
10363
|
const w = new RegExp(P ?? "", "i");
|
|
10364
10364
|
return o ? f.pendingUnselectedColumns.filter((O) => w.test(O.name)).map((O) => O.name).slice(0, o) : f.pendingUnselectedColumns.map((O) => O.name);
|
|
@@ -10424,7 +10424,7 @@ function Du(e) {
|
|
|
10424
10424
|
/* @__PURE__ */ s.createElement("div", { className: "sps-column-chooser__search-container" }, /* @__PURE__ */ s.createElement(
|
|
10425
10425
|
vn,
|
|
10426
10426
|
{
|
|
10427
|
-
suggestions:
|
|
10427
|
+
suggestions: B,
|
|
10428
10428
|
disabled: !!(r && f.pendingSelectedColumns.length >= r),
|
|
10429
10429
|
value: E.searchSelectedColumn ? E.searchSelectedColumn : "",
|
|
10430
10430
|
formMeta: y.fields.searchSelectedColumn,
|
|
@@ -10453,7 +10453,7 @@ Object.assign(Du, {
|
|
|
10453
10453
|
props: PD,
|
|
10454
10454
|
displayName: "SpsColumnChooser"
|
|
10455
10455
|
});
|
|
10456
|
-
const
|
|
10456
|
+
const AD = {
|
|
10457
10457
|
basic: {
|
|
10458
10458
|
label: "Basic",
|
|
10459
10459
|
description: "Column chooser component",
|
|
@@ -10482,7 +10482,7 @@ const BD = {
|
|
|
10482
10482
|
}
|
|
10483
10483
|
}
|
|
10484
10484
|
}
|
|
10485
|
-
},
|
|
10485
|
+
}, BD = {
|
|
10486
10486
|
icon: { type: "SpsIcon", required: !0 },
|
|
10487
10487
|
size: "SpsIconSize"
|
|
10488
10488
|
};
|
|
@@ -10504,7 +10504,7 @@ function sn(e) {
|
|
|
10504
10504
|
return /* @__PURE__ */ s.createElement("i", { className: c, "aria-hidden": "true", "data-testid": n, ...l });
|
|
10505
10505
|
}
|
|
10506
10506
|
Object.assign(sn, {
|
|
10507
|
-
props:
|
|
10507
|
+
props: BD,
|
|
10508
10508
|
displayName: "SpsI"
|
|
10509
10509
|
});
|
|
10510
10510
|
const FD = {
|
|
@@ -10603,7 +10603,7 @@ function Nu(e) {
|
|
|
10603
10603
|
function x(F) {
|
|
10604
10604
|
F.stopPropagation(), k && (!o || o()) ? (I(!1), p && p()) : !k && (!l || l()) && (I(!0), m && m());
|
|
10605
10605
|
}
|
|
10606
|
-
const
|
|
10606
|
+
const B = () => /* @__PURE__ */ s.createElement(Or, { checked: g, onChange: c }), P = () => /* @__PURE__ */ s.createElement(
|
|
10607
10607
|
"button",
|
|
10608
10608
|
{
|
|
10609
10609
|
type: "button",
|
|
@@ -10623,7 +10623,7 @@ function Nu(e) {
|
|
|
10623
10623
|
{ type: Tr },
|
|
10624
10624
|
{ type: Ki }
|
|
10625
10625
|
]);
|
|
10626
|
-
return /* @__PURE__ */ s.createElement("div", { className: w, "data-testid": y, ...C }, /* @__PURE__ */ s.createElement("div", { className: "sps-content-row__col-group", "data-testid": `${y}__children` }, h && !t && /* @__PURE__ */ s.createElement(Tr, { widthPx: 46 }, /* @__PURE__ */ s.createElement(
|
|
10626
|
+
return /* @__PURE__ */ s.createElement("div", { className: w, "data-testid": y, ...C }, /* @__PURE__ */ s.createElement("div", { className: "sps-content-row__col-group", "data-testid": `${y}__children` }, h && !t && /* @__PURE__ */ s.createElement(Tr, { widthPx: 46 }, /* @__PURE__ */ s.createElement(B, null)), _ && !t && /* @__PURE__ */ s.createElement(Tr, { widthPx: 44 }, /* @__PURE__ */ s.createElement(P, null)), _ && h && t && /* @__PURE__ */ s.createElement(Tr, { widthPx: 46 }, /* @__PURE__ */ s.createElement("section", null, /* @__PURE__ */ s.createElement(B, null)), /* @__PURE__ */ s.createElement("section", null, /* @__PURE__ */ s.createElement(P, null))), O), _);
|
|
10627
10627
|
}
|
|
10628
10628
|
Object.assign(Nu, {
|
|
10629
10629
|
props: $D,
|
|
@@ -11243,7 +11243,7 @@ function Ca(e) {
|
|
|
11243
11243
|
a,
|
|
11244
11244
|
r
|
|
11245
11245
|
]);
|
|
11246
|
-
const I = pd(y), k = dd(y), x = pd(C),
|
|
11246
|
+
const I = pd(y), k = dd(y), x = pd(C), B = dd(C), [P, w] = s.useState();
|
|
11247
11247
|
function O() {
|
|
11248
11248
|
E(Z.prevMonth({ ...y, date: 15 })), f && T(Z.prevMonth({ ...C, date: 15 }));
|
|
11249
11249
|
}
|
|
@@ -11344,7 +11344,7 @@ function Ca(e) {
|
|
|
11344
11344
|
onClick: _
|
|
11345
11345
|
},
|
|
11346
11346
|
/* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-chevron-right" })
|
|
11347
|
-
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, ud.weekdaysShort().map((L) => /* @__PURE__ */ s.createElement("div", { key: L, className: "sps-datepicker__calendar-header-cell" }, L))),
|
|
11347
|
+
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, ud.weekdaysShort().map((L) => /* @__PURE__ */ s.createElement("div", { key: L, className: "sps-datepicker__calendar-header-cell" }, L))), B.map((L, Q) => /* @__PURE__ */ s.createElement("div", { key: Q, className: "sps-datepicker__calendar-row" }, L.map(($, U) => /* @__PURE__ */ s.createElement(
|
|
11348
11348
|
"div",
|
|
11349
11349
|
{
|
|
11350
11350
|
key: U,
|
|
@@ -11413,7 +11413,7 @@ function xu({
|
|
|
11413
11413
|
), {
|
|
11414
11414
|
showPopup: k,
|
|
11415
11415
|
doShowPopup: x,
|
|
11416
|
-
doHidePopup:
|
|
11416
|
+
doHidePopup: B
|
|
11417
11417
|
} = hs(E, C);
|
|
11418
11418
|
function P(z) {
|
|
11419
11419
|
r && (r.setValue(z), r.markAsDirty()), c && c(z);
|
|
@@ -11427,12 +11427,12 @@ function xu({
|
|
|
11427
11427
|
P(L);
|
|
11428
11428
|
}
|
|
11429
11429
|
function _() {
|
|
11430
|
-
|
|
11430
|
+
B(), I(""), P();
|
|
11431
11431
|
}
|
|
11432
11432
|
function F(z) {
|
|
11433
11433
|
switch (z.key) {
|
|
11434
11434
|
case "Tab":
|
|
11435
|
-
|
|
11435
|
+
B();
|
|
11436
11436
|
break;
|
|
11437
11437
|
case "Backspace":
|
|
11438
11438
|
z.target.selectionStart === 0 && p && !Array.isArray(p) && _();
|
|
@@ -11735,7 +11735,7 @@ function ku({
|
|
|
11735
11735
|
"data-testid": y,
|
|
11736
11736
|
...E
|
|
11737
11737
|
}) {
|
|
11738
|
-
const { t: C } = s.useContext(Ge), { wrapperId: T, controlId: N } = Nt(a, r), I = s.useRef(null), k = s.useRef(null), x = s.useRef(null), [
|
|
11738
|
+
const { t: C } = s.useContext(Ge), { wrapperId: T, controlId: N } = Nt(a, r), I = s.useRef(null), k = s.useRef(null), x = s.useRef(null), [B, P] = s.useState(
|
|
11739
11739
|
Array.isArray(u) ? Z.toStringRange(u, g) : ""
|
|
11740
11740
|
), [w, O] = s.useState(
|
|
11741
11741
|
Sd(p, m) || null
|
|
@@ -11789,7 +11789,7 @@ function ku({
|
|
|
11789
11789
|
(re === "Before" || re === "After") && u && u[0] && u[1] ? j = Z.createRangeFrom(X, g) : re === "Before" ? j = Z.createRangeFrom(`${X}${Z.toString(u && (u[0] || u[1]), g)}`) : re === "After" && (j = Z.createRangeFrom(`${Z.toString(u && (u[0] || u[1]), g)}${X}`)), JSON.stringify(u) !== JSON.stringify(j) && L(j, R == null ? void 0 : R.definition);
|
|
11790
11790
|
}
|
|
11791
11791
|
s.useEffect(() => {
|
|
11792
|
-
if (!u) {
|
|
11792
|
+
if (!u || Array.isArray(u) && !u.length) {
|
|
11793
11793
|
O(null);
|
|
11794
11794
|
return;
|
|
11795
11795
|
}
|
|
@@ -11816,9 +11816,9 @@ function ku({
|
|
|
11816
11816
|
G && `${hd}--open`,
|
|
11817
11817
|
t
|
|
11818
11818
|
);
|
|
11819
|
-
let te =
|
|
11819
|
+
let te = B;
|
|
11820
11820
|
const W = Z.getRangeSeparator(g);
|
|
11821
|
-
return w && Q(w) === "Before" &&
|
|
11821
|
+
return w && Q(w) === "Before" && B.startsWith(W) ? te = B.substring(1) : w && Q(w) === "After" && B.endsWith(W) && (te = B.substring(0, B.length - 1)), /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(
|
|
11822
11822
|
bt,
|
|
11823
11823
|
{
|
|
11824
11824
|
id: T,
|
|
@@ -11836,7 +11836,7 @@ function ku({
|
|
|
11836
11836
|
className: "sps-text-input__input",
|
|
11837
11837
|
"data-testid": `${y}_date_input`,
|
|
11838
11838
|
id: N,
|
|
11839
|
-
placeholder: !
|
|
11839
|
+
placeholder: !B && !w ? (g == null ? void 0 : g.toUpperCase()) || Nr : void 0,
|
|
11840
11840
|
onChange: U,
|
|
11841
11841
|
onClick: M,
|
|
11842
11842
|
onFocus: M,
|
|
@@ -12208,7 +12208,7 @@ const jD = {
|
|
|
12208
12208
|
tallOptionList: I,
|
|
12209
12209
|
textKey: k,
|
|
12210
12210
|
valueKey: x,
|
|
12211
|
-
unsafelyReplaceClassName:
|
|
12211
|
+
unsafelyReplaceClassName: B,
|
|
12212
12212
|
value: P,
|
|
12213
12213
|
zeroState: w,
|
|
12214
12214
|
loading: O,
|
|
@@ -12306,7 +12306,7 @@ const jD = {
|
|
|
12306
12306
|
};
|
|
12307
12307
|
}, [R.isOpen]), ha({ isOpen: R.isOpen, rootRef: ee });
|
|
12308
12308
|
const Ot = H(
|
|
12309
|
-
|
|
12309
|
+
B || "sps-select",
|
|
12310
12310
|
R.isOpen && "sps-select--open",
|
|
12311
12311
|
R.isOpen && "z-stratum-dropdown",
|
|
12312
12312
|
R.opensUpward && "sps-select--opens-upward",
|
|
@@ -12885,7 +12885,7 @@ function Iu({
|
|
|
12885
12885
|
), { wrapperId: N, controlId: I } = Nt(
|
|
12886
12886
|
r && `${r}_to`,
|
|
12887
12887
|
n
|
|
12888
|
-
), k = s.useRef(null), x = s.useRef(null),
|
|
12888
|
+
), k = s.useRef(null), x = s.useRef(null), B = s.useRef(null), P = s.useRef(null), w = s.useRef(null), O = Z.splitMomentInDateTimeParts(
|
|
12889
12889
|
Array.isArray(p) ? p[0] : void 0,
|
|
12890
12890
|
f,
|
|
12891
12891
|
u
|
|
@@ -12928,10 +12928,7 @@ function Iu({
|
|
|
12928
12928
|
let ke = parseInt(($ == null ? void 0 : $.split(":")[0]) || "0", 10);
|
|
12929
12929
|
!f && ke === 12 && (ke = 0);
|
|
12930
12930
|
const pt = parseInt(($ == null ? void 0 : $.split(":")[1]) || "0", 10);
|
|
12931
|
-
Oe == null || Oe.set(
|
|
12932
|
-
"hour",
|
|
12933
|
-
Y === "PM" ? 12 + ke : ke
|
|
12934
|
-
), Oe == null || Oe.set("minute", pt), et = [fe[0], Oe], re(!0), W(null);
|
|
12931
|
+
Oe == null || Oe.set("hour", Y === "PM" ? 12 + ke : ke), Oe == null || Oe.set("minute", pt), et = [fe[0], Oe], re(!0), W(null);
|
|
12935
12932
|
}
|
|
12936
12933
|
X(et);
|
|
12937
12934
|
}
|
|
@@ -12951,10 +12948,7 @@ function Iu({
|
|
|
12951
12948
|
let ut = parseInt((ke == null ? void 0 : ke.split(":")[0]) || "0", 10);
|
|
12952
12949
|
!f && ut === 12 && (ut = 0);
|
|
12953
12950
|
const xn = parseInt((ke == null ? void 0 : ke.split(":")[1]) || "0", 10);
|
|
12954
|
-
Pe == null || Pe.set(
|
|
12955
|
-
"hour",
|
|
12956
|
-
pt === "PM" ? 12 + ut : ut
|
|
12957
|
-
), Pe == null || Pe.set("minute", xn);
|
|
12951
|
+
Pe == null || Pe.set("hour", pt === "PM" ? 12 + ut : ut), Pe == null || Pe.set("minute", xn);
|
|
12958
12952
|
const Zt = [
|
|
12959
12953
|
Pe,
|
|
12960
12954
|
(Pe == null ? void 0 : Pe.isBefore(p == null ? void 0 : p[1])) && (p == null ? void 0 : p[1]) || null
|
|
@@ -12963,7 +12957,9 @@ function Iu({
|
|
|
12963
12957
|
}
|
|
12964
12958
|
}
|
|
12965
12959
|
function ct(de) {
|
|
12966
|
-
Z.validateTimeString(de ?? L, f) && (Q(
|
|
12960
|
+
Z.validateTimeString(de ?? L, f) && (Q(
|
|
12961
|
+
Z.padIncompleteTimeString(de ?? L, f)
|
|
12962
|
+
), setTimeout(() => lt(void 0, de), 0));
|
|
12967
12963
|
}
|
|
12968
12964
|
function ht(de) {
|
|
12969
12965
|
K(de.target.value);
|
|
@@ -12990,10 +12986,7 @@ function Iu({
|
|
|
12990
12986
|
let ut = parseInt((ke == null ? void 0 : ke.split(":")[0]) || "0", 10);
|
|
12991
12987
|
!f && ut === 12 && (ut = 0);
|
|
12992
12988
|
const xn = parseInt((ke == null ? void 0 : ke.split(":")[1]) || "0", 10);
|
|
12993
|
-
Pe == null || Pe.set(
|
|
12994
|
-
"hour",
|
|
12995
|
-
pt === "PM" ? 12 + ut : ut
|
|
12996
|
-
), Pe == null || Pe.set("minute", xn);
|
|
12989
|
+
Pe == null || Pe.set("hour", pt === "PM" ? 12 + ut : ut), Pe == null || Pe.set("minute", xn);
|
|
12997
12990
|
const Zt = [
|
|
12998
12991
|
(Pe == null ? void 0 : Pe.isAfter(p == null ? void 0 : p[0])) && (p == null ? void 0 : p[0]) || null,
|
|
12999
12992
|
Pe
|
|
@@ -13002,7 +12995,9 @@ function Iu({
|
|
|
13002
12995
|
}
|
|
13003
12996
|
}
|
|
13004
12997
|
function Fe(de) {
|
|
13005
|
-
Z.validateTimeString(de ?? $, f) && (U(
|
|
12998
|
+
Z.validateTimeString(de ?? $, f) && (U(
|
|
12999
|
+
Z.padIncompleteTimeString(de ?? $, f)
|
|
13000
|
+
), setTimeout(() => ue(void 0, de), 0));
|
|
13006
13001
|
}
|
|
13007
13002
|
function be(de) {
|
|
13008
13003
|
ee(de.target.value);
|
|
@@ -13013,7 +13008,7 @@ function Iu({
|
|
|
13013
13008
|
s.useEffect(() => {
|
|
13014
13009
|
Y !== _[2] && ue();
|
|
13015
13010
|
}, [Y]);
|
|
13016
|
-
function
|
|
13011
|
+
function rt() {
|
|
13017
13012
|
X([null, null]), W(null);
|
|
13018
13013
|
}
|
|
13019
13014
|
function we(de) {
|
|
@@ -13023,7 +13018,7 @@ function Iu({
|
|
|
13023
13018
|
re();
|
|
13024
13019
|
break;
|
|
13025
13020
|
case "Backspace":
|
|
13026
|
-
fe.target.selectionStart === 0 && p && !Array.isArray(p) &&
|
|
13021
|
+
fe.target.selectionStart === 0 && p && !Array.isArray(p) && rt();
|
|
13027
13022
|
break;
|
|
13028
13023
|
case "Enter":
|
|
13029
13024
|
de === "from" ? lt() : de === "to" && ue();
|
|
@@ -13041,7 +13036,9 @@ function Iu({
|
|
|
13041
13036
|
de && le(de) === "Before" ? !p || Array.isArray(p) && p[0] && p[1] ? X([null, null]) : Array.isArray(p) && p[0] ? X([null, Z.toMoment(Z.createFrom(p[0], u))]) : Array.isArray(p) && p[1] && X([null, Z.toMoment(Z.createFrom(p[1], u))]) : de && le(de) === "After" ? !p || Array.isArray(p) && p[0] && p[1] ? X([null, null]) : Array.isArray(p) && p[0] ? X([Z.toMoment(Z.createFrom(p[0], u)), null]) : Array.isArray(p) && p[1] && X([Z.toMoment(Z.createFrom(p[1], u)), null]) : JSON.stringify(p) !== JSON.stringify(fe) && X([fe[0], fe[1]]);
|
|
13042
13037
|
}
|
|
13043
13038
|
s.useEffect(() => {
|
|
13044
|
-
|
|
13039
|
+
p && Array.isArray(p) && !p.length && rt();
|
|
13040
|
+
}, [p]), s.useEffect(() => {
|
|
13041
|
+
if (p && Array.isArray(p) && Array.isArray(p)) {
|
|
13045
13042
|
if (p[0] && !p[1]) {
|
|
13046
13043
|
const de = c.find((fe) => le(fe) === "After");
|
|
13047
13044
|
de && Kt(de);
|
|
@@ -13113,7 +13110,7 @@ function Iu({
|
|
|
13113
13110
|
"i",
|
|
13114
13111
|
{
|
|
13115
13112
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
13116
|
-
onClick:
|
|
13113
|
+
onClick: rt
|
|
13117
13114
|
}
|
|
13118
13115
|
))
|
|
13119
13116
|
), !te && !f ? /* @__PURE__ */ s.createElement(ps, null, /* @__PURE__ */ s.createElement(
|
|
@@ -13163,7 +13160,7 @@ function Iu({
|
|
|
13163
13160
|
formMeta: n,
|
|
13164
13161
|
inputRef: P,
|
|
13165
13162
|
focusInputOnClick: !0,
|
|
13166
|
-
ref:
|
|
13163
|
+
ref: B
|
|
13167
13164
|
},
|
|
13168
13165
|
/* @__PURE__ */ s.createElement("div", { className: H("sps-form-control", t && "disabled") }, /* @__PURE__ */ s.createElement("i", { className: H("sps-text-input__icon", "sps-icon", "sps-icon-calendar") }), te && /* @__PURE__ */ s.createElement(
|
|
13169
13166
|
"div",
|
|
@@ -13193,7 +13190,7 @@ function Iu({
|
|
|
13193
13190
|
"i",
|
|
13194
13191
|
{
|
|
13195
13192
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
13196
|
-
onClick:
|
|
13193
|
+
onClick: rt
|
|
13197
13194
|
}
|
|
13198
13195
|
))
|
|
13199
13196
|
), f ? /* @__PURE__ */ s.createElement(
|
|
@@ -13593,15 +13590,15 @@ function Cn() {
|
|
|
13593
13590
|
return i != null ? g(C(d), i) : C(d).userInvalidated = !0, d;
|
|
13594
13591
|
}
|
|
13595
13592
|
var k = r.momentProperties = [], x = !1;
|
|
13596
|
-
function
|
|
13597
|
-
var S, b, D,
|
|
13598
|
-
if (m(d._isAMomentObject) || (i._isAMomentObject = d._isAMomentObject), m(d._i) || (i._i = d._i), m(d._f) || (i._f = d._f), m(d._l) || (i._l = d._l), m(d._strict) || (i._strict = d._strict), m(d._tzm) || (i._tzm = d._tzm), m(d._isUTC) || (i._isUTC = d._isUTC), m(d._offset) || (i._offset = d._offset), m(d._pf) || (i._pf = C(d)), m(d._locale) || (i._locale = d._locale),
|
|
13599
|
-
for (S = 0; S <
|
|
13593
|
+
function B(i, d) {
|
|
13594
|
+
var S, b, D, A = k.length;
|
|
13595
|
+
if (m(d._isAMomentObject) || (i._isAMomentObject = d._isAMomentObject), m(d._i) || (i._i = d._i), m(d._f) || (i._f = d._f), m(d._l) || (i._l = d._l), m(d._strict) || (i._strict = d._strict), m(d._tzm) || (i._tzm = d._tzm), m(d._isUTC) || (i._isUTC = d._isUTC), m(d._offset) || (i._offset = d._offset), m(d._pf) || (i._pf = C(d)), m(d._locale) || (i._locale = d._locale), A > 0)
|
|
13596
|
+
for (S = 0; S < A; S++)
|
|
13600
13597
|
b = k[S], D = d[b], m(D) || (i[b] = D);
|
|
13601
13598
|
return i;
|
|
13602
13599
|
}
|
|
13603
13600
|
function P(i) {
|
|
13604
|
-
|
|
13601
|
+
B(this, i), this._d = new Date(i._d != null ? i._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), x === !1 && (x = !0, r.updateOffset(this), x = !1);
|
|
13605
13602
|
}
|
|
13606
13603
|
function w(i) {
|
|
13607
13604
|
return i instanceof P || i != null && i._isAMomentObject != null;
|
|
@@ -13613,16 +13610,16 @@ function Cn() {
|
|
|
13613
13610
|
var S = !0;
|
|
13614
13611
|
return g(function() {
|
|
13615
13612
|
if (r.deprecationHandler != null && r.deprecationHandler(null, i), S) {
|
|
13616
|
-
var b = [], D,
|
|
13617
|
-
for (
|
|
13618
|
-
if (D = "", typeof arguments[
|
|
13613
|
+
var b = [], D, A, q, me = arguments.length;
|
|
13614
|
+
for (A = 0; A < me; A++) {
|
|
13615
|
+
if (D = "", typeof arguments[A] == "object") {
|
|
13619
13616
|
D += `
|
|
13620
|
-
[` +
|
|
13617
|
+
[` + A + "] ";
|
|
13621
13618
|
for (q in arguments[0])
|
|
13622
13619
|
c(arguments[0], q) && (D += q + ": " + arguments[0][q] + ", ");
|
|
13623
13620
|
D = D.slice(0, -2);
|
|
13624
13621
|
} else
|
|
13625
|
-
D = arguments[
|
|
13622
|
+
D = arguments[A];
|
|
13626
13623
|
b.push(D);
|
|
13627
13624
|
}
|
|
13628
13625
|
O(
|
|
@@ -13681,8 +13678,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13681
13678
|
return M(b) ? b.call(d, S) : b;
|
|
13682
13679
|
}
|
|
13683
13680
|
function K(i, d, S) {
|
|
13684
|
-
var b = "" + Math.abs(i), D = d - b.length,
|
|
13685
|
-
return (
|
|
13681
|
+
var b = "" + Math.abs(i), D = d - b.length, A = i >= 0;
|
|
13682
|
+
return (A ? S ? "+" : "" : "-") + Math.pow(10, Math.max(0, D)).toString().substr(1) + b;
|
|
13686
13683
|
}
|
|
13687
13684
|
var Y = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ee = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, te = {}, W = {};
|
|
13688
13685
|
function R(i, d, S, b) {
|
|
@@ -13706,10 +13703,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13706
13703
|
for (S = 0, b = d.length; S < b; S++)
|
|
13707
13704
|
W[d[S]] ? d[S] = W[d[S]] : d[S] = j(d[S]);
|
|
13708
13705
|
return function(D) {
|
|
13709
|
-
var
|
|
13706
|
+
var A = "", q;
|
|
13710
13707
|
for (q = 0; q < b; q++)
|
|
13711
|
-
|
|
13712
|
-
return
|
|
13708
|
+
A += M(d[q]) ? d[q].call(D, i) : d[q];
|
|
13709
|
+
return A;
|
|
13713
13710
|
};
|
|
13714
13711
|
}
|
|
13715
13712
|
function X(i, d) {
|
|
@@ -13860,7 +13857,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13860
13857
|
return b.priority - D.priority;
|
|
13861
13858
|
}), d;
|
|
13862
13859
|
}
|
|
13863
|
-
var
|
|
13860
|
+
var rt = /\d/, we = /\d\d/, Kt = /\d{3}/, Nn = /\d{4}/, de = /[+-]?\d{6}/, fe = /\d\d?/, Oe = /\d\d\d\d?/, et = /\d\d\d\d\d\d?/, ke = /\d{1,3}/, pt = /\d{1,4}/, Ct = /[+-]?\d{1,6}/, Pe = /\d+/, ut = /[+-]?\d+/, xn = /Z|[+-]\d\d:?\d\d/gi, Zt = /Z|[+-]\d\d(?::?\d\d)?/gi, Cs = /[+-]?\d+(\.\d{1,3})?/, ge = /[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, ye = /^[1-9]\d?/, tt = /^([1-9]\d|\d)/, Rt;
|
|
13864
13861
|
Rt = {};
|
|
13865
13862
|
function pe(i, d, S) {
|
|
13866
13863
|
Rt[i] = M(d) ? d : function(b, D) {
|
|
@@ -13874,8 +13871,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13874
13871
|
return on(
|
|
13875
13872
|
i.replace("\\", "").replace(
|
|
13876
13873
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
13877
|
-
function(d, S, b, D,
|
|
13878
|
-
return S || b || D ||
|
|
13874
|
+
function(d, S, b, D, A) {
|
|
13875
|
+
return S || b || D || A;
|
|
13879
13876
|
}
|
|
13880
13877
|
)
|
|
13881
13878
|
);
|
|
@@ -13893,14 +13890,14 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13893
13890
|
var Ia = {};
|
|
13894
13891
|
function Ve(i, d) {
|
|
13895
13892
|
var S, b = d, D;
|
|
13896
|
-
for (typeof i == "string" && (i = [i]), f(d) && (b = function(
|
|
13897
|
-
q[d] = Ce(
|
|
13893
|
+
for (typeof i == "string" && (i = [i]), f(d) && (b = function(A, q) {
|
|
13894
|
+
q[d] = Ce(A);
|
|
13898
13895
|
}), D = i.length, S = 0; S < D; S++)
|
|
13899
13896
|
Ia[i[S]] = b;
|
|
13900
13897
|
}
|
|
13901
13898
|
function Fr(i, d) {
|
|
13902
|
-
Ve(i, function(S, b, D,
|
|
13903
|
-
D._w = D._w || {}, d(S, D._w, D,
|
|
13899
|
+
Ve(i, function(S, b, D, A) {
|
|
13900
|
+
D._w = D._w || {}, d(S, D._w, D, A);
|
|
13904
13901
|
});
|
|
13905
13902
|
}
|
|
13906
13903
|
function pf(i, d, S) {
|
|
@@ -13909,7 +13906,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13909
13906
|
function Ds(i) {
|
|
13910
13907
|
return i % 4 === 0 && i % 100 !== 0 || i % 400 === 0;
|
|
13911
13908
|
}
|
|
13912
|
-
var gt = 0, ln = 1, Xt = 2,
|
|
13909
|
+
var gt = 0, ln = 1, Xt = 2, st = 3, Ht = 4, cn = 5, Kn = 6, uf = 7, mf = 8;
|
|
13913
13910
|
R("Y", 0, 0, function() {
|
|
13914
13911
|
var i = this.year();
|
|
13915
13912
|
return i <= 9999 ? K(i, 4) : "+" + i;
|
|
@@ -13963,7 +13960,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13963
13960
|
}
|
|
13964
13961
|
}
|
|
13965
13962
|
function il(i, d, S) {
|
|
13966
|
-
var b, D,
|
|
13963
|
+
var b, D, A, q, me;
|
|
13967
13964
|
if (!(!i.isValid() || isNaN(S))) {
|
|
13968
13965
|
switch (b = i._d, D = i._isUTC, d) {
|
|
13969
13966
|
case "Milliseconds":
|
|
@@ -13981,7 +13978,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13981
13978
|
default:
|
|
13982
13979
|
return;
|
|
13983
13980
|
}
|
|
13984
|
-
|
|
13981
|
+
A = S, q = i.month(), me = i.date(), me = me === 29 && q === 1 && !Ds(A) ? 28 : me, D ? b.setUTCFullYear(A, q, me) : b.setFullYear(A, q, me);
|
|
13985
13982
|
}
|
|
13986
13983
|
}
|
|
13987
13984
|
function hf(i) {
|
|
@@ -14040,17 +14037,17 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14040
14037
|
return i ? o(this._monthsShort) ? this._monthsShort[i.month()] : this._monthsShort[cl.test(d) ? "format" : "standalone"][i.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
14041
14038
|
}
|
|
14042
14039
|
function wf(i, d, S) {
|
|
14043
|
-
var b, D,
|
|
14040
|
+
var b, D, A, q = i.toLocaleLowerCase();
|
|
14044
14041
|
if (!this._monthsParse)
|
|
14045
14042
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], b = 0; b < 12; ++b)
|
|
14046
|
-
|
|
14047
|
-
|
|
14043
|
+
A = y([2e3, b]), this._shortMonthsParse[b] = this.monthsShort(
|
|
14044
|
+
A,
|
|
14048
14045
|
""
|
|
14049
|
-
).toLocaleLowerCase(), this._longMonthsParse[b] = this.months(
|
|
14046
|
+
).toLocaleLowerCase(), this._longMonthsParse[b] = this.months(A, "").toLocaleLowerCase();
|
|
14050
14047
|
return S ? d === "MMM" ? (D = Xe.call(this._shortMonthsParse, q), D !== -1 ? D : null) : (D = Xe.call(this._longMonthsParse, q), D !== -1 ? D : null) : d === "MMM" ? (D = Xe.call(this._shortMonthsParse, q), D !== -1 ? D : (D = Xe.call(this._longMonthsParse, q), D !== -1 ? D : null)) : (D = Xe.call(this._longMonthsParse, q), D !== -1 ? D : (D = Xe.call(this._shortMonthsParse, q), D !== -1 ? D : null));
|
|
14051
14048
|
}
|
|
14052
14049
|
function Cf(i, d, S) {
|
|
14053
|
-
var b, D,
|
|
14050
|
+
var b, D, A;
|
|
14054
14051
|
if (this._monthsParseExact)
|
|
14055
14052
|
return wf.call(this, i, d, S);
|
|
14056
14053
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), b = 0; b < 12; b++) {
|
|
@@ -14060,7 +14057,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14060
14057
|
), this._shortMonthsParse[b] = new RegExp(
|
|
14061
14058
|
"^" + this.monthsShort(D, "").replace(".", "") + "$",
|
|
14062
14059
|
"i"
|
|
14063
|
-
)), !S && !this._monthsParse[b] && (
|
|
14060
|
+
)), !S && !this._monthsParse[b] && (A = "^" + this.months(D, "") + "|^" + this.monthsShort(D, ""), this._monthsParse[b] = new RegExp(A.replace(".", ""), "i")), S && d === "MMMM" && this._longMonthsParse[b].test(i))
|
|
14064
14061
|
return b;
|
|
14065
14062
|
if (S && d === "MMM" && this._shortMonthsParse[b].test(i))
|
|
14066
14063
|
return b;
|
|
@@ -14096,9 +14093,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14096
14093
|
function i(Ee, De) {
|
|
14097
14094
|
return De.length - Ee.length;
|
|
14098
14095
|
}
|
|
14099
|
-
var d = [], S = [], b = [], D,
|
|
14096
|
+
var d = [], S = [], b = [], D, A, q, me;
|
|
14100
14097
|
for (D = 0; D < 12; D++)
|
|
14101
|
-
|
|
14098
|
+
A = y([2e3, D]), q = on(this.monthsShort(A, "")), me = on(this.months(A, "")), d.push(q), S.push(me), b.push(me), b.push(q);
|
|
14102
14099
|
d.sort(i), S.sort(i), b.sort(i), this._monthsRegex = new RegExp("^(" + b.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
14103
14100
|
"^(" + S.join("|") + ")",
|
|
14104
14101
|
"i"
|
|
@@ -14107,9 +14104,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14107
14104
|
"i"
|
|
14108
14105
|
);
|
|
14109
14106
|
}
|
|
14110
|
-
function kf(i, d, S, b, D,
|
|
14107
|
+
function kf(i, d, S, b, D, A, q) {
|
|
14111
14108
|
var me;
|
|
14112
|
-
return i < 100 && i >= 0 ? (me = new Date(i + 400, d, S, b, D,
|
|
14109
|
+
return i < 100 && i >= 0 ? (me = new Date(i + 400, d, S, b, D, A, q), isFinite(me.getFullYear()) && me.setFullYear(i)) : me = new Date(i, d, S, b, D, A, q), me;
|
|
14113
14110
|
}
|
|
14114
14111
|
function Kr(i) {
|
|
14115
14112
|
var d, S;
|
|
@@ -14120,16 +14117,16 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14120
14117
|
return -D + b - 1;
|
|
14121
14118
|
}
|
|
14122
14119
|
function ml(i, d, S, b, D) {
|
|
14123
|
-
var
|
|
14120
|
+
var A = (7 + S - b) % 7, q = Ns(i, b, D), me = 1 + 7 * (d - 1) + A + q, Ee, De;
|
|
14124
14121
|
return me <= 0 ? (Ee = i - 1, De = Vr(Ee) + me) : me > Vr(i) ? (Ee = i + 1, De = me - Vr(i)) : (Ee = i, De = me), {
|
|
14125
14122
|
year: Ee,
|
|
14126
14123
|
dayOfYear: De
|
|
14127
14124
|
};
|
|
14128
14125
|
}
|
|
14129
14126
|
function Hr(i, d, S) {
|
|
14130
|
-
var b = Ns(i.year(), d, S), D = Math.floor((i.dayOfYear() - b - 1) / 7) + 1,
|
|
14131
|
-
return D < 1 ? (q = i.year() - 1,
|
|
14132
|
-
week:
|
|
14127
|
+
var b = Ns(i.year(), d, S), D = Math.floor((i.dayOfYear() - b - 1) / 7) + 1, A, q;
|
|
14128
|
+
return D < 1 ? (q = i.year() - 1, A = D + dn(q, d, S)) : D > dn(i.year(), d, S) ? (A = D - dn(i.year(), d, S), q = i.year() + 1) : (q = i.year(), A = D), {
|
|
14129
|
+
week: A,
|
|
14133
14130
|
year: q
|
|
14134
14131
|
};
|
|
14135
14132
|
}
|
|
@@ -14187,13 +14184,13 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14187
14184
|
function Pf(i, d) {
|
|
14188
14185
|
return typeof i != "string" ? i : isNaN(i) ? (i = d.weekdaysParse(i), typeof i == "number" ? i : null) : parseInt(i, 10);
|
|
14189
14186
|
}
|
|
14190
|
-
function
|
|
14187
|
+
function Af(i, d) {
|
|
14191
14188
|
return typeof i == "string" ? d.weekdaysParse(i) % 7 || 7 : isNaN(i) ? null : i;
|
|
14192
14189
|
}
|
|
14193
14190
|
function _a(i, d) {
|
|
14194
14191
|
return i.slice(d, 7).concat(i.slice(0, d));
|
|
14195
14192
|
}
|
|
14196
|
-
var
|
|
14193
|
+
var Bf = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), fl = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ff = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Vf = ge, $f = ge, Kf = ge;
|
|
14197
14194
|
function Hf(i, d) {
|
|
14198
14195
|
var S = o(this._weekdays) ? this._weekdays : this._weekdays[i && i !== !0 && this._weekdays.isFormat.test(d) ? "format" : "standalone"];
|
|
14199
14196
|
return i === !0 ? _a(S, this._week.dow) : i ? S[i.day()] : S;
|
|
@@ -14205,20 +14202,20 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14205
14202
|
return i === !0 ? _a(this._weekdaysMin, this._week.dow) : i ? this._weekdaysMin[i.day()] : this._weekdaysMin;
|
|
14206
14203
|
}
|
|
14207
14204
|
function Yf(i, d, S) {
|
|
14208
|
-
var b, D,
|
|
14205
|
+
var b, D, A, q = i.toLocaleLowerCase();
|
|
14209
14206
|
if (!this._weekdaysParse)
|
|
14210
14207
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], b = 0; b < 7; ++b)
|
|
14211
|
-
|
|
14212
|
-
|
|
14208
|
+
A = y([2e3, 1]).day(b), this._minWeekdaysParse[b] = this.weekdaysMin(
|
|
14209
|
+
A,
|
|
14213
14210
|
""
|
|
14214
14211
|
).toLocaleLowerCase(), this._shortWeekdaysParse[b] = this.weekdaysShort(
|
|
14215
|
-
|
|
14212
|
+
A,
|
|
14216
14213
|
""
|
|
14217
|
-
).toLocaleLowerCase(), this._weekdaysParse[b] = this.weekdays(
|
|
14214
|
+
).toLocaleLowerCase(), this._weekdaysParse[b] = this.weekdays(A, "").toLocaleLowerCase();
|
|
14218
14215
|
return S ? d === "dddd" ? (D = Xe.call(this._weekdaysParse, q), D !== -1 ? D : null) : d === "ddd" ? (D = Xe.call(this._shortWeekdaysParse, q), D !== -1 ? D : null) : (D = Xe.call(this._minWeekdaysParse, q), D !== -1 ? D : null) : d === "dddd" ? (D = Xe.call(this._weekdaysParse, q), D !== -1 || (D = Xe.call(this._shortWeekdaysParse, q), D !== -1) ? D : (D = Xe.call(this._minWeekdaysParse, q), D !== -1 ? D : null)) : d === "ddd" ? (D = Xe.call(this._shortWeekdaysParse, q), D !== -1 || (D = Xe.call(this._weekdaysParse, q), D !== -1) ? D : (D = Xe.call(this._minWeekdaysParse, q), D !== -1 ? D : null)) : (D = Xe.call(this._minWeekdaysParse, q), D !== -1 || (D = Xe.call(this._weekdaysParse, q), D !== -1) ? D : (D = Xe.call(this._shortWeekdaysParse, q), D !== -1 ? D : null));
|
|
14219
14216
|
}
|
|
14220
14217
|
function Uf(i, d, S) {
|
|
14221
|
-
var b, D,
|
|
14218
|
+
var b, D, A;
|
|
14222
14219
|
if (this._weekdaysParseExact)
|
|
14223
14220
|
return Yf.call(this, i, d, S);
|
|
14224
14221
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), b = 0; b < 7; b++) {
|
|
@@ -14231,7 +14228,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14231
14228
|
), this._minWeekdaysParse[b] = new RegExp(
|
|
14232
14229
|
"^" + this.weekdaysMin(D, "").replace(".", "\\.?") + "$",
|
|
14233
14230
|
"i"
|
|
14234
|
-
)), this._weekdaysParse[b] || (
|
|
14231
|
+
)), this._weekdaysParse[b] || (A = "^" + this.weekdays(D, "") + "|^" + this.weekdaysShort(D, "") + "|^" + this.weekdaysMin(D, ""), this._weekdaysParse[b] = new RegExp(A.replace(".", ""), "i")), S && d === "dddd" && this._fullWeekdaysParse[b].test(i))
|
|
14235
14232
|
return b;
|
|
14236
14233
|
if (S && d === "ddd" && this._shortWeekdaysParse[b].test(i))
|
|
14237
14234
|
return b;
|
|
@@ -14257,7 +14254,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14257
14254
|
if (!this.isValid())
|
|
14258
14255
|
return i != null ? this : NaN;
|
|
14259
14256
|
if (i != null) {
|
|
14260
|
-
var d =
|
|
14257
|
+
var d = Af(i, this.localeData());
|
|
14261
14258
|
return this.day(this.day() % 7 ? d : d - 7);
|
|
14262
14259
|
} else
|
|
14263
14260
|
return this.day() || 7;
|
|
@@ -14275,9 +14272,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14275
14272
|
function i(vt, hn) {
|
|
14276
14273
|
return hn.length - vt.length;
|
|
14277
14274
|
}
|
|
14278
|
-
var d = [], S = [], b = [], D = [],
|
|
14279
|
-
for (
|
|
14280
|
-
q = y([2e3, 1]).day(
|
|
14275
|
+
var d = [], S = [], b = [], D = [], A, q, me, Ee, De;
|
|
14276
|
+
for (A = 0; A < 7; A++)
|
|
14277
|
+
q = y([2e3, 1]).day(A), me = on(this.weekdaysMin(q, "")), Ee = on(this.weekdaysShort(q, "")), De = on(this.weekdays(q, "")), d.push(me), S.push(Ee), b.push(De), D.push(me), D.push(Ee), D.push(De);
|
|
14281
14278
|
d.sort(i), S.sort(i), b.sort(i), D.sort(i), this._weekdaysRegex = new RegExp("^(" + D.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
14282
14279
|
"^(" + b.join("|") + ")",
|
|
14283
14280
|
"i"
|
|
@@ -14317,25 +14314,25 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14317
14314
|
function gl(i, d) {
|
|
14318
14315
|
return d._meridiemParse;
|
|
14319
14316
|
}
|
|
14320
|
-
pe("a", gl), pe("A", gl), pe("H", fe, tt), pe("h", fe, ye), pe("k", fe, ye), pe("HH", fe, we), pe("hh", fe, we), pe("kk", fe, we), pe("hmm", Oe), pe("hmmss", et), pe("Hmm", Oe), pe("Hmmss", et), Ve(["H", "HH"],
|
|
14317
|
+
pe("a", gl), pe("A", gl), pe("H", fe, tt), pe("h", fe, ye), pe("k", fe, ye), pe("HH", fe, we), pe("hh", fe, we), pe("kk", fe, we), pe("hmm", Oe), pe("hmmss", et), pe("Hmm", Oe), pe("Hmmss", et), Ve(["H", "HH"], st), Ve(["k", "kk"], function(i, d, S) {
|
|
14321
14318
|
var b = Ce(i);
|
|
14322
|
-
d[
|
|
14319
|
+
d[st] = b === 24 ? 0 : b;
|
|
14323
14320
|
}), Ve(["a", "A"], function(i, d, S) {
|
|
14324
14321
|
S._isPm = S._locale.isPM(i), S._meridiem = i;
|
|
14325
14322
|
}), Ve(["h", "hh"], function(i, d, S) {
|
|
14326
|
-
d[
|
|
14323
|
+
d[st] = Ce(i), C(S).bigHour = !0;
|
|
14327
14324
|
}), Ve("hmm", function(i, d, S) {
|
|
14328
14325
|
var b = i.length - 2;
|
|
14329
|
-
d[
|
|
14326
|
+
d[st] = Ce(i.substr(0, b)), d[Ht] = Ce(i.substr(b)), C(S).bigHour = !0;
|
|
14330
14327
|
}), Ve("hmmss", function(i, d, S) {
|
|
14331
14328
|
var b = i.length - 4, D = i.length - 2;
|
|
14332
|
-
d[
|
|
14329
|
+
d[st] = Ce(i.substr(0, b)), d[Ht] = Ce(i.substr(b, 2)), d[cn] = Ce(i.substr(D)), C(S).bigHour = !0;
|
|
14333
14330
|
}), Ve("Hmm", function(i, d, S) {
|
|
14334
14331
|
var b = i.length - 2;
|
|
14335
|
-
d[
|
|
14332
|
+
d[st] = Ce(i.substr(0, b)), d[Ht] = Ce(i.substr(b));
|
|
14336
14333
|
}), Ve("Hmmss", function(i, d, S) {
|
|
14337
14334
|
var b = i.length - 4, D = i.length - 2;
|
|
14338
|
-
d[
|
|
14335
|
+
d[st] = Ce(i.substr(0, b)), d[Ht] = Ce(i.substr(b, 2)), d[cn] = Ce(i.substr(D));
|
|
14339
14336
|
});
|
|
14340
14337
|
function eh(i) {
|
|
14341
14338
|
return (i + "").toLowerCase().charAt(0) === "p";
|
|
@@ -14354,7 +14351,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14354
14351
|
months: bf,
|
|
14355
14352
|
monthsShort: ll,
|
|
14356
14353
|
week: Mf,
|
|
14357
|
-
weekdays:
|
|
14354
|
+
weekdays: Bf,
|
|
14358
14355
|
weekdaysMin: Ff,
|
|
14359
14356
|
weekdaysShort: fl,
|
|
14360
14357
|
meridiemParse: th
|
|
@@ -14370,11 +14367,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14370
14367
|
return i && i.toLowerCase().replace("_", "-");
|
|
14371
14368
|
}
|
|
14372
14369
|
function ah(i) {
|
|
14373
|
-
for (var d = 0, S, b, D,
|
|
14374
|
-
for (
|
|
14375
|
-
if (D = xs(
|
|
14370
|
+
for (var d = 0, S, b, D, A; d < i.length; ) {
|
|
14371
|
+
for (A = bl(i[d]).split("-"), S = A.length, b = bl(i[d + 1]), b = b ? b.split("-") : null; S > 0; ) {
|
|
14372
|
+
if (D = xs(A.slice(0, S).join("-")), D)
|
|
14376
14373
|
return D;
|
|
14377
|
-
if (b && b.length >= S && sh(
|
|
14374
|
+
if (b && b.length >= S && sh(A, b) >= S - 1)
|
|
14378
14375
|
break;
|
|
14379
14376
|
S--;
|
|
14380
14377
|
}
|
|
@@ -14449,7 +14446,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14449
14446
|
}
|
|
14450
14447
|
function Pa(i) {
|
|
14451
14448
|
var d, S = i._a;
|
|
14452
|
-
return S && C(i).overflow === -2 && (d = S[ln] < 0 || S[ln] > 11 ? ln : S[Xt] < 1 || S[Xt] > Ma(S[gt], S[ln]) ? Xt : S[
|
|
14449
|
+
return S && C(i).overflow === -2 && (d = S[ln] < 0 || S[ln] > 11 ? ln : S[Xt] < 1 || S[Xt] > Ma(S[gt], S[ln]) ? Xt : S[st] < 0 || S[st] > 24 || S[st] === 24 && (S[Ht] !== 0 || S[cn] !== 0 || S[Kn] !== 0) ? st : S[Ht] < 0 || S[Ht] > 59 ? Ht : S[cn] < 0 || S[cn] > 59 ? cn : S[Kn] < 0 || S[Kn] > 999 ? Kn : -1, C(i)._overflowDayOfYear && (d < gt || d > Xt) && (d = Xt), C(i)._overflowWeeks && d === -1 && (d = uf), C(i)._overflowWeekday && d === -1 && (d = mf), C(i).overflow = d), i;
|
|
14453
14450
|
}
|
|
14454
14451
|
var ch = /^\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)?)?$/, dh = /^\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)?)?$/, ph = /Z|[+-]\d\d(?::?\d\d)?/, ks = [
|
|
14455
14452
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -14465,7 +14462,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14465
14462
|
["YYYYDDD", /\d{7}/],
|
|
14466
14463
|
["YYYYMM", /\d{6}/, !1],
|
|
14467
14464
|
["YYYY", /\d{4}/, !1]
|
|
14468
|
-
],
|
|
14465
|
+
], Aa = [
|
|
14469
14466
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
14470
14467
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
14471
14468
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -14488,11 +14485,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14488
14485
|
PST: -8 * 60
|
|
14489
14486
|
};
|
|
14490
14487
|
function vl(i) {
|
|
14491
|
-
var d, S, b = i._i, D = ch.exec(b) || dh.exec(b),
|
|
14488
|
+
var d, S, b = i._i, D = ch.exec(b) || dh.exec(b), A, q, me, Ee, De = ks.length, vt = Aa.length;
|
|
14492
14489
|
if (D) {
|
|
14493
14490
|
for (C(i).iso = !0, d = 0, S = De; d < S; d++)
|
|
14494
14491
|
if (ks[d][1].exec(D[1])) {
|
|
14495
|
-
q = ks[d][0],
|
|
14492
|
+
q = ks[d][0], A = ks[d][2] !== !1;
|
|
14496
14493
|
break;
|
|
14497
14494
|
}
|
|
14498
14495
|
if (q == null) {
|
|
@@ -14501,8 +14498,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14501
14498
|
}
|
|
14502
14499
|
if (D[3]) {
|
|
14503
14500
|
for (d = 0, S = vt; d < S; d++)
|
|
14504
|
-
if (
|
|
14505
|
-
me = (D[2] || " ") +
|
|
14501
|
+
if (Aa[d][1].exec(D[3])) {
|
|
14502
|
+
me = (D[2] || " ") + Aa[d][0];
|
|
14506
14503
|
break;
|
|
14507
14504
|
}
|
|
14508
14505
|
if (me == null) {
|
|
@@ -14510,7 +14507,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14510
14507
|
return;
|
|
14511
14508
|
}
|
|
14512
14509
|
}
|
|
14513
|
-
if (!
|
|
14510
|
+
if (!A && me != null) {
|
|
14514
14511
|
i._isValid = !1;
|
|
14515
14512
|
return;
|
|
14516
14513
|
}
|
|
@@ -14525,7 +14522,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14525
14522
|
} else
|
|
14526
14523
|
i._isValid = !1;
|
|
14527
14524
|
}
|
|
14528
|
-
function hh(i, d, S, b, D,
|
|
14525
|
+
function hh(i, d, S, b, D, A) {
|
|
14529
14526
|
var q = [
|
|
14530
14527
|
gh(i),
|
|
14531
14528
|
ll.indexOf(d),
|
|
@@ -14533,7 +14530,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14533
14530
|
parseInt(b, 10),
|
|
14534
14531
|
parseInt(D, 10)
|
|
14535
14532
|
];
|
|
14536
|
-
return
|
|
14533
|
+
return A && q.push(parseInt(A, 10)), q;
|
|
14537
14534
|
}
|
|
14538
14535
|
function gh(i) {
|
|
14539
14536
|
var d = parseInt(i, 10);
|
|
@@ -14559,8 +14556,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14559
14556
|
return fh[i];
|
|
14560
14557
|
if (d)
|
|
14561
14558
|
return 0;
|
|
14562
|
-
var b = parseInt(S, 10), D = b % 100,
|
|
14563
|
-
return
|
|
14559
|
+
var b = parseInt(S, 10), D = b % 100, A = (b - D) / 100;
|
|
14560
|
+
return A * 60 + D;
|
|
14564
14561
|
}
|
|
14565
14562
|
function yl(i) {
|
|
14566
14563
|
var d = mh.exec(Sh(i._i)), S;
|
|
@@ -14611,26 +14608,26 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14611
14608
|
d.getUTCDate()
|
|
14612
14609
|
] : [d.getFullYear(), d.getMonth(), d.getDate()];
|
|
14613
14610
|
}
|
|
14614
|
-
function
|
|
14615
|
-
var d, S, b = [], D,
|
|
14611
|
+
function Ba(i) {
|
|
14612
|
+
var d, S, b = [], D, A, q;
|
|
14616
14613
|
if (!i._d) {
|
|
14617
14614
|
for (D = Eh(i), i._w && i._a[Xt] == null && i._a[ln] == null && Th(i), i._dayOfYear != null && (q = lr(i._a[gt], D[gt]), (i._dayOfYear > Vr(q) || i._dayOfYear === 0) && (C(i)._overflowDayOfYear = !0), S = Kr(q, 0, i._dayOfYear), i._a[ln] = S.getUTCMonth(), i._a[Xt] = S.getUTCDate()), d = 0; d < 3 && i._a[d] == null; ++d)
|
|
14618
14615
|
i._a[d] = b[d] = D[d];
|
|
14619
14616
|
for (; d < 7; d++)
|
|
14620
14617
|
i._a[d] = b[d] = i._a[d] == null ? d === 2 ? 1 : 0 : i._a[d];
|
|
14621
|
-
i._a[
|
|
14618
|
+
i._a[st] === 24 && i._a[Ht] === 0 && i._a[cn] === 0 && i._a[Kn] === 0 && (i._nextDay = !0, i._a[st] = 0), i._d = (i._useUTC ? Kr : kf).apply(
|
|
14622
14619
|
null,
|
|
14623
14620
|
b
|
|
14624
|
-
),
|
|
14621
|
+
), A = i._useUTC ? i._d.getUTCDay() : i._d.getDay(), i._tzm != null && i._d.setUTCMinutes(i._d.getUTCMinutes() - i._tzm), i._nextDay && (i._a[st] = 24), i._w && typeof i._w.d < "u" && i._w.d !== A && (C(i).weekdayMismatch = !0);
|
|
14625
14622
|
}
|
|
14626
14623
|
}
|
|
14627
14624
|
function Th(i) {
|
|
14628
|
-
var d, S, b, D,
|
|
14629
|
-
d = i._w, d.GG != null || d.W != null || d.E != null ? (
|
|
14625
|
+
var d, S, b, D, A, q, me, Ee, De;
|
|
14626
|
+
d = i._w, d.GG != null || d.W != null || d.E != null ? (A = 1, q = 4, S = lr(
|
|
14630
14627
|
d.GG,
|
|
14631
14628
|
i._a[gt],
|
|
14632
14629
|
Hr(Ye(), 1, 4).year
|
|
14633
|
-
), b = lr(d.W, 1), D = lr(d.E, 1), (D < 1 || D > 7) && (Ee = !0)) : (
|
|
14630
|
+
), b = lr(d.W, 1), D = lr(d.E, 1), (D < 1 || D > 7) && (Ee = !0)) : (A = i._locale._week.dow, q = i._locale._week.doy, De = Hr(Ye(), A, q), S = lr(d.gg, i._a[gt], De.year), b = lr(d.w, De.week), d.d != null ? (D = d.d, (D < 0 || D > 6) && (Ee = !0)) : d.e != null ? (D = d.e + A, (d.e < 0 || d.e > 6) && (Ee = !0)) : D = A), b < 1 || b > dn(S, A, q) ? C(i)._overflowWeeks = !0 : Ee != null ? C(i)._overflowWeekday = !0 : (me = ml(S, b, D, A, q), i._a[gt] = me.year, i._dayOfYear = me.dayOfYear);
|
|
14634
14631
|
}
|
|
14635
14632
|
r.ISO_8601 = function() {
|
|
14636
14633
|
}, r.RFC_2822 = function() {
|
|
@@ -14645,29 +14642,29 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14645
14642
|
return;
|
|
14646
14643
|
}
|
|
14647
14644
|
i._a = [], C(i).empty = !0;
|
|
14648
|
-
var d = "" + i._i, S, b, D,
|
|
14645
|
+
var d = "" + i._i, S, b, D, A, q, me = d.length, Ee = 0, De, vt;
|
|
14649
14646
|
for (D = le(i._f, i._locale).match(Y) || [], vt = D.length, S = 0; S < vt; S++)
|
|
14650
|
-
|
|
14647
|
+
A = D[S], b = (d.match(ka(A, i)) || [])[0], b && (q = d.substr(0, d.indexOf(b)), q.length > 0 && C(i).unusedInput.push(q), d = d.slice(
|
|
14651
14648
|
d.indexOf(b) + b.length
|
|
14652
|
-
), Ee += b.length), W[
|
|
14653
|
-
C(i).charsLeftOver = me - Ee, d.length > 0 && C(i).unusedInput.push(d), i._a[
|
|
14649
|
+
), Ee += b.length), W[A] ? (b ? C(i).empty = !1 : C(i).unusedTokens.push(A), pf(A, b, i)) : i._strict && !b && C(i).unusedTokens.push(A);
|
|
14650
|
+
C(i).charsLeftOver = me - Ee, d.length > 0 && C(i).unusedInput.push(d), i._a[st] <= 12 && C(i).bigHour === !0 && i._a[st] > 0 && (C(i).bigHour = void 0), C(i).parsedDateParts = i._a.slice(0), C(i).meridiem = i._meridiem, i._a[st] = wh(
|
|
14654
14651
|
i._locale,
|
|
14655
|
-
i._a[
|
|
14652
|
+
i._a[st],
|
|
14656
14653
|
i._meridiem
|
|
14657
|
-
), De = C(i).era, De !== null && (i._a[gt] = i._locale.erasConvertYear(De, i._a[gt])),
|
|
14654
|
+
), De = C(i).era, De !== null && (i._a[gt] = i._locale.erasConvertYear(De, i._a[gt])), Ba(i), Pa(i);
|
|
14658
14655
|
}
|
|
14659
14656
|
function wh(i, d, S) {
|
|
14660
14657
|
var b;
|
|
14661
14658
|
return S == null ? d : i.meridiemHour != null ? i.meridiemHour(d, S) : (i.isPM != null && (b = i.isPM(S), b && d < 12 && (d += 12), !b && d === 12 && (d = 0)), d);
|
|
14662
14659
|
}
|
|
14663
14660
|
function Ch(i) {
|
|
14664
|
-
var d, S, b, D,
|
|
14661
|
+
var d, S, b, D, A, q, me = !1, Ee = i._f.length;
|
|
14665
14662
|
if (Ee === 0) {
|
|
14666
14663
|
C(i).invalidFormat = !0, i._d = /* @__PURE__ */ new Date(NaN);
|
|
14667
14664
|
return;
|
|
14668
14665
|
}
|
|
14669
14666
|
for (D = 0; D < Ee; D++)
|
|
14670
|
-
|
|
14667
|
+
A = 0, q = !1, d = B({}, i), i._useUTC != null && (d._useUTC = i._useUTC), d._f = i._f[D], Fa(d), N(d) && (q = !0), A += C(d).charsLeftOver, A += C(d).unusedTokens.length * 10, C(d).score = A, me ? A < b && (b = A, S = d) : (b == null || A < b || q) && (b = A, S = d, q && (me = !0));
|
|
14671
14668
|
g(i, S || d);
|
|
14672
14669
|
}
|
|
14673
14670
|
function Dh(i) {
|
|
@@ -14678,7 +14675,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14678
14675
|
function(b) {
|
|
14679
14676
|
return b && parseInt(b, 10);
|
|
14680
14677
|
}
|
|
14681
|
-
),
|
|
14678
|
+
), Ba(i);
|
|
14682
14679
|
}
|
|
14683
14680
|
}
|
|
14684
14681
|
function Nh(i) {
|
|
@@ -14693,11 +14690,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14693
14690
|
var d = i._i;
|
|
14694
14691
|
m(d) ? i._d = new Date(r.now()) : u(d) ? i._d = new Date(d.valueOf()) : typeof d == "string" ? yh(i) : o(d) ? (i._a = h(d.slice(0), function(S) {
|
|
14695
14692
|
return parseInt(S, 10);
|
|
14696
|
-
}),
|
|
14693
|
+
}), Ba(i)) : l(d) ? Dh(i) : f(d) ? i._d = new Date(d) : r.createFromInputFallback(i);
|
|
14697
14694
|
}
|
|
14698
14695
|
function Tl(i, d, S, b, D) {
|
|
14699
|
-
var
|
|
14700
|
-
return (d === !0 || d === !1) && (b = d, d = void 0), (S === !0 || S === !1) && (b = S, S = void 0), (l(i) && p(i) || o(i) && i.length === 0) && (i = void 0),
|
|
14696
|
+
var A = {};
|
|
14697
|
+
return (d === !0 || d === !1) && (b = d, d = void 0), (S === !0 || S === !1) && (b = S, S = void 0), (l(i) && p(i) || o(i) && i.length === 0) && (i = void 0), A._isAMomentObject = !0, A._useUTC = A._isUTC = D, A._l = S, A._i = i, A._f = d, A._strict = b, Nh(A);
|
|
14701
14698
|
}
|
|
14702
14699
|
function Ye(i, d, S, b) {
|
|
14703
14700
|
return Tl(i, d, S, b, !1);
|
|
@@ -14764,10 +14761,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14764
14761
|
return Wt(NaN);
|
|
14765
14762
|
}
|
|
14766
14763
|
function Is(i) {
|
|
14767
|
-
var d = Fe(i), S = d.year || 0, b = d.quarter || 0, D = d.month || 0,
|
|
14764
|
+
var d = Fe(i), S = d.year || 0, b = d.quarter || 0, D = d.month || 0, A = d.week || d.isoWeek || 0, q = d.day || 0, me = d.hour || 0, Ee = d.minute || 0, De = d.second || 0, vt = d.millisecond || 0;
|
|
14768
14765
|
this._isValid = Rh(d), this._milliseconds = +vt + De * 1e3 + // 1000
|
|
14769
14766
|
Ee * 6e4 + // 1000 * 60
|
|
14770
|
-
me * 1e3 * 60 * 60, this._days = +q +
|
|
14767
|
+
me * 1e3 * 60 * 60, this._days = +q + A * 7, this._months = +D + b * 3 + S * 12, this._data = {}, this._locale = pn(), this._bubble();
|
|
14771
14768
|
}
|
|
14772
14769
|
function Ms(i) {
|
|
14773
14770
|
return i instanceof Is;
|
|
@@ -14775,11 +14772,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14775
14772
|
function Va(i) {
|
|
14776
14773
|
return i < 0 ? Math.round(-1 * i) * -1 : Math.round(i);
|
|
14777
14774
|
}
|
|
14778
|
-
function
|
|
14779
|
-
var b = Math.min(i.length, d.length), D = Math.abs(i.length - d.length),
|
|
14775
|
+
function Ah(i, d, S) {
|
|
14776
|
+
var b = Math.min(i.length, d.length), D = Math.abs(i.length - d.length), A = 0, q;
|
|
14780
14777
|
for (q = 0; q < b; q++)
|
|
14781
|
-
Ce(i[q]) !== Ce(d[q]) &&
|
|
14782
|
-
return
|
|
14778
|
+
Ce(i[q]) !== Ce(d[q]) && A++;
|
|
14779
|
+
return A + D;
|
|
14783
14780
|
}
|
|
14784
14781
|
function Cl(i, d) {
|
|
14785
14782
|
R(i, 0, 0, function() {
|
|
@@ -14790,10 +14787,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14790
14787
|
Cl("Z", ":"), Cl("ZZ", ""), pe("Z", Zt), pe("ZZ", Zt), Ve(["Z", "ZZ"], function(i, d, S) {
|
|
14791
14788
|
S._useUTC = !0, S._tzm = $a(Zt, i);
|
|
14792
14789
|
});
|
|
14793
|
-
var
|
|
14790
|
+
var Bh = /([\+\-]|\d\d)/gi;
|
|
14794
14791
|
function $a(i, d) {
|
|
14795
|
-
var S = (d || "").match(i), b, D,
|
|
14796
|
-
return S === null ? null : (b = S[S.length - 1] || [], D = (b + "").match(
|
|
14792
|
+
var S = (d || "").match(i), b, D, A;
|
|
14793
|
+
return S === null ? null : (b = S[S.length - 1] || [], D = (b + "").match(Bh) || ["-", 0, 0], A = +(D[1] * 60) + Ce(D[2]), A === 0 ? 0 : D[0] === "+" ? A : -A);
|
|
14797
14794
|
}
|
|
14798
14795
|
function Ka(i, d) {
|
|
14799
14796
|
var S, b;
|
|
@@ -14850,7 +14847,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14850
14847
|
if (!m(this._isDSTShifted))
|
|
14851
14848
|
return this._isDSTShifted;
|
|
14852
14849
|
var i = {}, d;
|
|
14853
|
-
return
|
|
14850
|
+
return B(i, this), i = El(i), i._a ? (d = i._isUTC ? y(i._a) : Ye(i._a), this._isDSTShifted = this.isValid() && Ah(i._a, d.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
14854
14851
|
}
|
|
14855
14852
|
function Uh() {
|
|
14856
14853
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -14863,7 +14860,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14863
14860
|
}
|
|
14864
14861
|
var jh = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, qh = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
14865
14862
|
function Wt(i, d) {
|
|
14866
|
-
var S = i, b = null, D,
|
|
14863
|
+
var S = i, b = null, D, A, q;
|
|
14867
14864
|
return Ms(i) ? S = {
|
|
14868
14865
|
ms: i._milliseconds,
|
|
14869
14866
|
d: i._days,
|
|
@@ -14871,7 +14868,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14871
14868
|
} : f(i) || !isNaN(+i) ? (S = {}, d ? S[d] = +i : S.milliseconds = +i) : (b = jh.exec(i)) ? (D = b[1] === "-" ? -1 : 1, S = {
|
|
14872
14869
|
y: 0,
|
|
14873
14870
|
d: Ce(b[Xt]) * D,
|
|
14874
|
-
h: Ce(b[
|
|
14871
|
+
h: Ce(b[st]) * D,
|
|
14875
14872
|
m: Ce(b[Ht]) * D,
|
|
14876
14873
|
s: Ce(b[cn]) * D,
|
|
14877
14874
|
ms: Ce(Va(b[Kn] * 1e3)) * D
|
|
@@ -14887,7 +14884,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14887
14884
|
}) : S == null ? S = {} : typeof S == "object" && ("from" in S || "to" in S) && (q = Jh(
|
|
14888
14885
|
Ye(S.from),
|
|
14889
14886
|
Ye(S.to)
|
|
14890
|
-
), S = {}, S.ms = q.milliseconds, S.M = q.months),
|
|
14887
|
+
), S = {}, S.ms = q.milliseconds, S.M = q.months), A = new Is(S), Ms(i) && c(i, "_locale") && (A._locale = i._locale), Ms(i) && c(i, "_isValid") && (A._isValid = i._isValid), A;
|
|
14891
14888
|
}
|
|
14892
14889
|
Wt.fn = Is.prototype, Wt.invalid = Ph;
|
|
14893
14890
|
function Hn(i, d) {
|
|
@@ -14904,16 +14901,16 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14904
14901
|
}
|
|
14905
14902
|
function xl(i, d) {
|
|
14906
14903
|
return function(S, b) {
|
|
14907
|
-
var D,
|
|
14904
|
+
var D, A;
|
|
14908
14905
|
return b !== null && !isNaN(+b) && (G(
|
|
14909
14906
|
d,
|
|
14910
14907
|
"moment()." + d + "(period, number) is deprecated. Please use moment()." + d + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
14911
|
-
),
|
|
14908
|
+
), A = S, S = b, b = A), D = Wt(S, b), kl(this, D, i), this;
|
|
14912
14909
|
};
|
|
14913
14910
|
}
|
|
14914
14911
|
function kl(i, d, S, b) {
|
|
14915
|
-
var D = d._milliseconds,
|
|
14916
|
-
i.isValid() && (b = b ?? !0, q && dl(i, $r(i, "Month") + q * S),
|
|
14912
|
+
var D = d._milliseconds, A = Va(d._days), q = Va(d._months);
|
|
14913
|
+
i.isValid() && (b = b ?? !0, q && dl(i, $r(i, "Month") + q * S), A && il(i, "Date", $r(i, "Date") + A * S), D && i._d.setTime(i._d.valueOf() + D * S), b && r.updateOffset(i, A || q));
|
|
14917
14914
|
}
|
|
14918
14915
|
var Zh = xl(1, "add"), Xh = xl(-1, "subtract");
|
|
14919
14916
|
function Il(i) {
|
|
@@ -14948,9 +14945,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14948
14945
|
"milliseconds",
|
|
14949
14946
|
"millisecond",
|
|
14950
14947
|
"ms"
|
|
14951
|
-
], D,
|
|
14948
|
+
], D, A, q = b.length;
|
|
14952
14949
|
for (D = 0; D < q; D += 1)
|
|
14953
|
-
|
|
14950
|
+
A = b[D], S = S || c(i, A);
|
|
14954
14951
|
return d && S;
|
|
14955
14952
|
}
|
|
14956
14953
|
function tg(i) {
|
|
@@ -14967,9 +14964,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14967
14964
|
"nextWeek",
|
|
14968
14965
|
"lastWeek",
|
|
14969
14966
|
"sameElse"
|
|
14970
|
-
], D,
|
|
14967
|
+
], D, A;
|
|
14971
14968
|
for (D = 0; D < b.length; D += 1)
|
|
14972
|
-
|
|
14969
|
+
A = b[D], S = S || c(i, A);
|
|
14973
14970
|
return d && S;
|
|
14974
14971
|
}
|
|
14975
14972
|
function rg(i, d) {
|
|
@@ -14978,9 +14975,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14978
14975
|
}
|
|
14979
14976
|
function sg(i, d) {
|
|
14980
14977
|
arguments.length === 1 && (arguments[0] ? Qh(arguments[0]) ? (i = arguments[0], d = void 0) : ng(arguments[0]) && (d = arguments[0], i = void 0) : (i = void 0, d = void 0));
|
|
14981
|
-
var S = i || Ye(), b = Ka(S, this).startOf("day"), D = r.calendarFormat(this, b) || "sameElse",
|
|
14978
|
+
var S = i || Ye(), b = Ka(S, this).startOf("day"), D = r.calendarFormat(this, b) || "sameElse", A = d && (M(d[D]) ? d[D].call(this, S) : d[D]);
|
|
14982
14979
|
return this.format(
|
|
14983
|
-
|
|
14980
|
+
A || this.localeData().calendar(D, this, Ye(S))
|
|
14984
14981
|
);
|
|
14985
14982
|
}
|
|
14986
14983
|
function ag() {
|
|
@@ -14995,8 +14992,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14995
14992
|
return this.isValid() && S.isValid() ? (d = ue(d) || "millisecond", d === "millisecond" ? this.valueOf() < S.valueOf() : this.clone().endOf(d).valueOf() < S.valueOf()) : !1;
|
|
14996
14993
|
}
|
|
14997
14994
|
function lg(i, d, S, b) {
|
|
14998
|
-
var D = w(i) ? i : Ye(i),
|
|
14999
|
-
return this.isValid() && D.isValid() &&
|
|
14995
|
+
var D = w(i) ? i : Ye(i), A = w(d) ? d : Ye(d);
|
|
14996
|
+
return this.isValid() && D.isValid() && A.isValid() ? (b = b || "()", (b[0] === "(" ? this.isAfter(D, S) : !this.isBefore(D, S)) && (b[1] === ")" ? this.isBefore(A, S) : !this.isAfter(A, S))) : !1;
|
|
15000
14997
|
}
|
|
15001
14998
|
function cg(i, d) {
|
|
15002
14999
|
var S = w(i) ? i : Ye(i), b;
|
|
@@ -15009,46 +15006,46 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15009
15006
|
return this.isSame(i, d) || this.isBefore(i, d);
|
|
15010
15007
|
}
|
|
15011
15008
|
function ug(i, d, S) {
|
|
15012
|
-
var b, D,
|
|
15009
|
+
var b, D, A;
|
|
15013
15010
|
if (!this.isValid())
|
|
15014
15011
|
return NaN;
|
|
15015
15012
|
if (b = Ka(i, this), !b.isValid())
|
|
15016
15013
|
return NaN;
|
|
15017
15014
|
switch (D = (b.utcOffset() - this.utcOffset()) * 6e4, d = ue(d), d) {
|
|
15018
15015
|
case "year":
|
|
15019
|
-
|
|
15016
|
+
A = _s(this, b) / 12;
|
|
15020
15017
|
break;
|
|
15021
15018
|
case "month":
|
|
15022
|
-
|
|
15019
|
+
A = _s(this, b);
|
|
15023
15020
|
break;
|
|
15024
15021
|
case "quarter":
|
|
15025
|
-
|
|
15022
|
+
A = _s(this, b) / 3;
|
|
15026
15023
|
break;
|
|
15027
15024
|
case "second":
|
|
15028
|
-
|
|
15025
|
+
A = (this - b) / 1e3;
|
|
15029
15026
|
break;
|
|
15030
15027
|
case "minute":
|
|
15031
|
-
|
|
15028
|
+
A = (this - b) / 6e4;
|
|
15032
15029
|
break;
|
|
15033
15030
|
case "hour":
|
|
15034
|
-
|
|
15031
|
+
A = (this - b) / 36e5;
|
|
15035
15032
|
break;
|
|
15036
15033
|
case "day":
|
|
15037
|
-
|
|
15034
|
+
A = (this - b - D) / 864e5;
|
|
15038
15035
|
break;
|
|
15039
15036
|
case "week":
|
|
15040
|
-
|
|
15037
|
+
A = (this - b - D) / 6048e5;
|
|
15041
15038
|
break;
|
|
15042
15039
|
default:
|
|
15043
|
-
|
|
15040
|
+
A = this - b;
|
|
15044
15041
|
}
|
|
15045
|
-
return S ?
|
|
15042
|
+
return S ? A : Lt(A);
|
|
15046
15043
|
}
|
|
15047
15044
|
function _s(i, d) {
|
|
15048
15045
|
if (i.date() < d.date())
|
|
15049
15046
|
return -_s(d, i);
|
|
15050
|
-
var S = (d.year() - i.year()) * 12 + (d.month() - i.month()), b = i.clone().add(S, "months"), D,
|
|
15051
|
-
return d - b < 0 ? (D = i.clone().add(S - 1, "months"),
|
|
15047
|
+
var S = (d.year() - i.year()) * 12 + (d.month() - i.month()), b = i.clone().add(S, "months"), D, A;
|
|
15048
|
+
return d - b < 0 ? (D = i.clone().add(S - 1, "months"), A = (d - b) / (b - D)) : (D = i.clone().add(S + 1, "months"), A = (d - b) / (D - b)), -(S + A) || 0;
|
|
15052
15049
|
}
|
|
15053
15050
|
r.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", r.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
15054
15051
|
function mg() {
|
|
@@ -15069,8 +15066,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15069
15066
|
function hg() {
|
|
15070
15067
|
if (!this.isValid())
|
|
15071
15068
|
return "moment.invalid(/* " + this._i + " */)";
|
|
15072
|
-
var i = "moment", d = "", S, b, D,
|
|
15073
|
-
return this.isLocal() || (i = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", d = "Z"), S = "[" + i + '("]', b = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", D = "-MM-DD[T]HH:mm:ss.SSS",
|
|
15069
|
+
var i = "moment", d = "", S, b, D, A;
|
|
15070
|
+
return this.isLocal() || (i = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", d = "Z"), S = "[" + i + '("]', b = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", D = "-MM-DD[T]HH:mm:ss.SSS", A = d + '[")]', this.format(S + b + D + A);
|
|
15074
15071
|
}
|
|
15075
15072
|
function gg(i) {
|
|
15076
15073
|
i || (i = this.isUtc() ? r.defaultFormatUtc : r.defaultFormat);
|
|
@@ -15279,59 +15276,59 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15279
15276
|
S._locale._eraYearOrdinalRegex && (D = i.match(S._locale._eraYearOrdinalRegex)), S._locale.eraYearOrdinalParse ? d[gt] = S._locale.eraYearOrdinalParse(i, D) : d[gt] = parseInt(i, 10);
|
|
15280
15277
|
});
|
|
15281
15278
|
function Rg(i, d) {
|
|
15282
|
-
var S, b, D,
|
|
15283
|
-
for (S = 0, b =
|
|
15284
|
-
switch (typeof
|
|
15279
|
+
var S, b, D, A = this._eras || pn("en")._eras;
|
|
15280
|
+
for (S = 0, b = A.length; S < b; ++S) {
|
|
15281
|
+
switch (typeof A[S].since) {
|
|
15285
15282
|
case "string":
|
|
15286
|
-
D = r(
|
|
15283
|
+
D = r(A[S].since).startOf("day"), A[S].since = D.valueOf();
|
|
15287
15284
|
break;
|
|
15288
15285
|
}
|
|
15289
|
-
switch (typeof
|
|
15286
|
+
switch (typeof A[S].until) {
|
|
15290
15287
|
case "undefined":
|
|
15291
|
-
|
|
15288
|
+
A[S].until = 1 / 0;
|
|
15292
15289
|
break;
|
|
15293
15290
|
case "string":
|
|
15294
|
-
D = r(
|
|
15291
|
+
D = r(A[S].until).startOf("day").valueOf(), A[S].until = D.valueOf();
|
|
15295
15292
|
break;
|
|
15296
15293
|
}
|
|
15297
15294
|
}
|
|
15298
|
-
return
|
|
15295
|
+
return A;
|
|
15299
15296
|
}
|
|
15300
15297
|
function Lg(i, d, S) {
|
|
15301
|
-
var b, D,
|
|
15302
|
-
for (i = i.toUpperCase(), b = 0, D =
|
|
15303
|
-
if (q =
|
|
15298
|
+
var b, D, A = this.eras(), q, me, Ee;
|
|
15299
|
+
for (i = i.toUpperCase(), b = 0, D = A.length; b < D; ++b)
|
|
15300
|
+
if (q = A[b].name.toUpperCase(), me = A[b].abbr.toUpperCase(), Ee = A[b].narrow.toUpperCase(), S)
|
|
15304
15301
|
switch (d) {
|
|
15305
15302
|
case "N":
|
|
15306
15303
|
case "NN":
|
|
15307
15304
|
case "NNN":
|
|
15308
15305
|
if (me === i)
|
|
15309
|
-
return
|
|
15306
|
+
return A[b];
|
|
15310
15307
|
break;
|
|
15311
15308
|
case "NNNN":
|
|
15312
15309
|
if (q === i)
|
|
15313
|
-
return
|
|
15310
|
+
return A[b];
|
|
15314
15311
|
break;
|
|
15315
15312
|
case "NNNNN":
|
|
15316
15313
|
if (Ee === i)
|
|
15317
|
-
return
|
|
15314
|
+
return A[b];
|
|
15318
15315
|
break;
|
|
15319
15316
|
}
|
|
15320
15317
|
else if ([q, me, Ee].indexOf(i) >= 0)
|
|
15321
|
-
return
|
|
15318
|
+
return A[b];
|
|
15322
15319
|
}
|
|
15323
15320
|
function Pg(i, d) {
|
|
15324
15321
|
var S = i.since <= i.until ? 1 : -1;
|
|
15325
15322
|
return d === void 0 ? r(i.since).year() : r(i.since).year() + (d - i.offset) * S;
|
|
15326
15323
|
}
|
|
15327
|
-
function
|
|
15324
|
+
function Ag() {
|
|
15328
15325
|
var i, d, S, b = this.localeData().eras();
|
|
15329
15326
|
for (i = 0, d = b.length; i < d; ++i)
|
|
15330
15327
|
if (S = this.clone().startOf("day").valueOf(), b[i].since <= S && S <= b[i].until || b[i].until <= S && S <= b[i].since)
|
|
15331
15328
|
return b[i].name;
|
|
15332
15329
|
return "";
|
|
15333
15330
|
}
|
|
15334
|
-
function
|
|
15331
|
+
function Bg() {
|
|
15335
15332
|
var i, d, S, b = this.localeData().eras();
|
|
15336
15333
|
for (i = 0, d = b.length; i < d; ++i)
|
|
15337
15334
|
if (S = this.clone().startOf("day").valueOf(), b[i].since <= S && S <= b[i].until || b[i].until <= S && S <= b[i].since)
|
|
@@ -15374,8 +15371,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15374
15371
|
return d._eraYearOrdinalRegex || Pe;
|
|
15375
15372
|
}
|
|
15376
15373
|
function Ga() {
|
|
15377
|
-
var i = [], d = [], S = [], b = [], D,
|
|
15378
|
-
for (D = 0,
|
|
15374
|
+
var i = [], d = [], S = [], b = [], D, A, q, me, Ee, De = this.eras();
|
|
15375
|
+
for (D = 0, A = De.length; D < A; ++D)
|
|
15379
15376
|
q = on(De[D].name), me = on(De[D].abbr), Ee = on(De[D].narrow), d.push(q), i.push(me), S.push(Ee), b.push(q), b.push(me), b.push(Ee);
|
|
15380
15377
|
this._erasRegex = new RegExp("^(" + b.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + d.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
15381
15378
|
"^(" + S.join("|") + ")",
|
|
@@ -15399,7 +15396,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15399
15396
|
d[b] = r.parseTwoDigitYear(i);
|
|
15400
15397
|
});
|
|
15401
15398
|
function Ug(i) {
|
|
15402
|
-
return
|
|
15399
|
+
return Al.call(
|
|
15403
15400
|
this,
|
|
15404
15401
|
i,
|
|
15405
15402
|
this.week(),
|
|
@@ -15409,7 +15406,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15409
15406
|
);
|
|
15410
15407
|
}
|
|
15411
15408
|
function zg(i) {
|
|
15412
|
-
return
|
|
15409
|
+
return Al.call(
|
|
15413
15410
|
this,
|
|
15414
15411
|
i,
|
|
15415
15412
|
this.isoWeek(),
|
|
@@ -15432,15 +15429,15 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15432
15429
|
var i = this.localeData()._week;
|
|
15433
15430
|
return dn(this.weekYear(), i.dow, i.doy);
|
|
15434
15431
|
}
|
|
15435
|
-
function
|
|
15436
|
-
var
|
|
15437
|
-
return i == null ? Hr(this, b, D).year : (
|
|
15432
|
+
function Al(i, d, S, b, D) {
|
|
15433
|
+
var A;
|
|
15434
|
+
return i == null ? Hr(this, b, D).year : (A = dn(i, b, D), d > A && (d = A), Xg.call(this, i, d, S, b, D));
|
|
15438
15435
|
}
|
|
15439
15436
|
function Xg(i, d, S, b, D) {
|
|
15440
|
-
var
|
|
15437
|
+
var A = ml(i, d, S, b, D), q = Kr(A.year, 0, A.dayOfYear);
|
|
15441
15438
|
return this.year(q.getUTCFullYear()), this.month(q.getUTCMonth()), this.date(q.getUTCDate()), this;
|
|
15442
15439
|
}
|
|
15443
|
-
R("Q", 0, "Qo", "quarter"), pe("Q",
|
|
15440
|
+
R("Q", 0, "Qo", "quarter"), pe("Q", rt), Ve("Q", function(i, d) {
|
|
15444
15441
|
d[ln] = (Ce(i) - 1) * 3;
|
|
15445
15442
|
});
|
|
15446
15443
|
function Qg(i) {
|
|
@@ -15451,7 +15448,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15451
15448
|
}), Ve(["D", "DD"], Xt), Ve("Do", function(i, d) {
|
|
15452
15449
|
d[Xt] = Ce(i.match(fe)[0]);
|
|
15453
15450
|
});
|
|
15454
|
-
var
|
|
15451
|
+
var Bl = ir("Date", !0);
|
|
15455
15452
|
R("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), pe("DDD", ke), pe("DDDD", Kt), Ve(["DDD", "DDDD"], function(i, d, S) {
|
|
15456
15453
|
S._dayOfYear = Ce(i);
|
|
15457
15454
|
});
|
|
@@ -15481,7 +15478,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15481
15478
|
return this.millisecond() * 1e5;
|
|
15482
15479
|
}), R(0, ["SSSSSSSSS", 9], 0, function() {
|
|
15483
15480
|
return this.millisecond() * 1e6;
|
|
15484
|
-
}), pe("S", ke,
|
|
15481
|
+
}), pe("S", ke, rt), pe("SS", ke, we), pe("SSS", ke, Kt);
|
|
15485
15482
|
var In, Fl;
|
|
15486
15483
|
for (In = "SSSS"; In.length <= 9; In += "S")
|
|
15487
15484
|
pe(In, Pe);
|
|
@@ -15500,9 +15497,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15500
15497
|
var ie = P.prototype;
|
|
15501
15498
|
ie.add = Zh, ie.calendar = sg, ie.clone = ag, ie.diff = ug, ie.endOf = Tg, ie.format = gg, ie.from = Sg, ie.fromNow = bg, ie.to = vg, ie.toNow = yg, ie.get = hf, ie.invalidAt = _g, ie.isAfter = og, ie.isBefore = ig, ie.isBetween = lg, ie.isSame = cg, ie.isSameOrAfter = dg, ie.isSameOrBefore = pg, ie.isValid = Ig, ie.lang = _l, ie.locale = Ml, ie.localeData = Ol, ie.max = Ih, ie.min = kh, ie.parsingFlags = Mg, ie.set = gf, ie.startOf = Eg, ie.subtract = Xh, ie.toArray = Ng, ie.toObject = xg, ie.toDate = Dg, ie.toISOString = fg, ie.inspect = hg, typeof Symbol < "u" && Symbol.for != null && (ie[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
15502
15499
|
return "Moment<" + this.format() + ">";
|
|
15503
|
-
}), ie.toJSON = kg, ie.toString = mg, ie.unix = Cg, ie.valueOf = wg, ie.creationData = Og, ie.eraName =
|
|
15500
|
+
}), ie.toJSON = kg, ie.toString = mg, ie.unix = Cg, ie.valueOf = wg, ie.creationData = Og, ie.eraName = Ag, ie.eraNarrow = Bg, ie.eraAbbr = Fg, ie.eraYear = Vg, ie.year = ol, ie.isLeapYear = ff, ie.weekYear = Ug, ie.isoWeekYear = zg, ie.quarter = ie.quarters = Qg, ie.month = pl, ie.daysInMonth = Df, ie.week = ie.weeks = Rf, ie.isoWeek = ie.isoWeeks = Lf, ie.weeksInYear = Jg, ie.weeksInWeekYear = Zg, ie.isoWeeksInYear = jg, ie.isoWeeksInISOWeekYear = qg, ie.date = Bl, ie.day = ie.days = zf, ie.weekday = jf, ie.isoWeekday = qf, ie.dayOfYear = eS, ie.hour = ie.hours = nh, ie.minute = ie.minutes = tS, ie.second = ie.seconds = nS, ie.millisecond = ie.milliseconds = Fl, ie.utcOffset = Fh, ie.utc = $h, ie.local = Kh, ie.parseZone = Hh, ie.hasAlignedHourOffset = Wh, ie.isDST = Gh, ie.isLocal = Uh, ie.isUtcOffset = zh, ie.isUtc = Dl, ie.isUTC = Dl, ie.zoneAbbr = sS, ie.zoneName = aS, ie.dates = _(
|
|
15504
15501
|
"dates accessor is deprecated. Use date instead.",
|
|
15505
|
-
|
|
15502
|
+
Bl
|
|
15506
15503
|
), ie.months = _(
|
|
15507
15504
|
"months accessor is deprecated. Use month instead",
|
|
15508
15505
|
pl
|
|
@@ -15528,8 +15525,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15528
15525
|
var Re = Q.prototype;
|
|
15529
15526
|
Re.calendar = ne, Re.longDateFormat = oe, Re.invalidDate = Ne, Re.ordinal = ct, Re.preparse = Vl, Re.postformat = Vl, Re.relativeTime = dt, Re.pastFuture = Ot, Re.set = z, Re.eras = Rg, Re.erasParse = Lg, Re.erasConvertYear = Pg, Re.erasAbbrRegex = Kg, Re.erasNameRegex = $g, Re.erasNarrowRegex = Hg, Re.months = Ef, Re.monthsShort = Tf, Re.monthsParse = Cf, Re.monthsRegex = xf, Re.monthsShortRegex = Nf, Re.week = If, Re.firstDayOfYear = Of, Re.firstDayOfWeek = _f, Re.weekdays = Hf, Re.weekdaysMin = Gf, Re.weekdaysShort = Wf, Re.weekdaysParse = Uf, Re.weekdaysRegex = Jf, Re.weekdaysShortRegex = Zf, Re.weekdaysMinRegex = Xf, Re.isPM = eh, Re.meridiem = rh;
|
|
15530
15527
|
function Ps(i, d, S, b) {
|
|
15531
|
-
var D = pn(),
|
|
15532
|
-
return D[S](
|
|
15528
|
+
var D = pn(), A = y().set(b, d);
|
|
15529
|
+
return D[S](A, i);
|
|
15533
15530
|
}
|
|
15534
15531
|
function $l(i, d, S) {
|
|
15535
15532
|
if (f(i) && (d = i, i = void 0), i = i || "", d != null)
|
|
@@ -15541,11 +15538,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15541
15538
|
}
|
|
15542
15539
|
function Ya(i, d, S, b) {
|
|
15543
15540
|
typeof i == "boolean" ? (f(d) && (S = d, d = void 0), d = d || "") : (d = i, S = d, i = !1, f(d) && (S = d, d = void 0), d = d || "");
|
|
15544
|
-
var D = pn(),
|
|
15541
|
+
var D = pn(), A = i ? D._week.dow : 0, q, me = [];
|
|
15545
15542
|
if (S != null)
|
|
15546
|
-
return Ps(d, (S +
|
|
15543
|
+
return Ps(d, (S + A) % 7, b, "day");
|
|
15547
15544
|
for (q = 0; q < 7; q++)
|
|
15548
|
-
me[q] = Ps(d, (q +
|
|
15545
|
+
me[q] = Ps(d, (q + A) % 7, b, "day");
|
|
15549
15546
|
return me;
|
|
15550
15547
|
}
|
|
15551
15548
|
function lS(i, d) {
|
|
@@ -15613,8 +15610,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15613
15610
|
return i < 0 ? Math.floor(i) : Math.ceil(i);
|
|
15614
15611
|
}
|
|
15615
15612
|
function gS() {
|
|
15616
|
-
var i = this._milliseconds, d = this._days, S = this._months, b = this._data, D,
|
|
15617
|
-
return i >= 0 && d >= 0 && S >= 0 || i <= 0 && d <= 0 && S <= 0 || (i += Hl(Ua(S) + d) * 864e5, d = 0, S = 0), b.milliseconds = i % 1e3, D = Lt(i / 1e3), b.seconds = D % 60,
|
|
15613
|
+
var i = this._milliseconds, d = this._days, S = this._months, b = this._data, D, A, q, me, Ee;
|
|
15614
|
+
return i >= 0 && d >= 0 && S >= 0 || i <= 0 && d <= 0 && S <= 0 || (i += Hl(Ua(S) + d) * 864e5, d = 0, S = 0), b.milliseconds = i % 1e3, D = Lt(i / 1e3), b.seconds = D % 60, A = Lt(D / 60), b.minutes = A % 60, q = Lt(A / 60), b.hours = q % 24, d += Lt(q / 24), Ee = Lt(Wl(d)), S += Ee, d -= Hl(Ua(Ee)), me = Lt(S / 12), S %= 12, b.days = d, b.months = S, b.years = me, this;
|
|
15618
15615
|
}
|
|
15619
15616
|
function Wl(i) {
|
|
15620
15617
|
return i * 4800 / 146097;
|
|
@@ -15671,7 +15668,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15671
15668
|
};
|
|
15672
15669
|
}
|
|
15673
15670
|
var IS = Wn("milliseconds"), MS = Wn("seconds"), _S = Wn("minutes"), OS = Wn("hours"), RS = Wn("days"), LS = Wn("months"), PS = Wn("years");
|
|
15674
|
-
function
|
|
15671
|
+
function AS() {
|
|
15675
15672
|
return Lt(this.days() / 7);
|
|
15676
15673
|
}
|
|
15677
15674
|
var fn = Math.round, pr = {
|
|
@@ -15690,12 +15687,12 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15690
15687
|
M: 11
|
|
15691
15688
|
// months to year
|
|
15692
15689
|
};
|
|
15693
|
-
function
|
|
15690
|
+
function BS(i, d, S, b, D) {
|
|
15694
15691
|
return D.relativeTime(d || 1, !!S, i, b);
|
|
15695
15692
|
}
|
|
15696
15693
|
function FS(i, d, S, b) {
|
|
15697
|
-
var D = Wt(i).abs(),
|
|
15698
|
-
return S.w != null && (Mn = Mn || vt <= 1 && ["w"] || vt < S.w && ["ww", vt]), Mn = Mn || De <= 1 && ["M"] || De < S.M && ["MM", De] || hn <= 1 && ["y"] || ["yy", hn], Mn[2] = d, Mn[3] = +i > 0, Mn[4] = b,
|
|
15694
|
+
var D = Wt(i).abs(), A = fn(D.as("s")), q = fn(D.as("m")), me = fn(D.as("h")), Ee = fn(D.as("d")), De = fn(D.as("M")), vt = fn(D.as("w")), hn = fn(D.as("y")), Mn = A <= S.ss && ["s", A] || A < S.s && ["ss", A] || q <= 1 && ["m"] || q < S.m && ["mm", q] || me <= 1 && ["h"] || me < S.h && ["hh", me] || Ee <= 1 && ["d"] || Ee < S.d && ["dd", Ee];
|
|
15695
|
+
return S.w != null && (Mn = Mn || vt <= 1 && ["w"] || vt < S.w && ["ww", vt]), Mn = Mn || De <= 1 && ["M"] || De < S.M && ["MM", De] || hn <= 1 && ["y"] || ["yy", hn], Mn[2] = d, Mn[3] = +i > 0, Mn[4] = b, BS.apply(null, Mn);
|
|
15699
15696
|
}
|
|
15700
15697
|
function VS(i) {
|
|
15701
15698
|
return i === void 0 ? fn : typeof i == "function" ? (fn = i, !0) : !1;
|
|
@@ -15706,23 +15703,23 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15706
15703
|
function KS(i, d) {
|
|
15707
15704
|
if (!this.isValid())
|
|
15708
15705
|
return this.localeData().invalidDate();
|
|
15709
|
-
var S = !1, b = pr, D,
|
|
15710
|
-
return typeof i == "object" && (d = i, i = !1), typeof i == "boolean" && (S = i), typeof d == "object" && (b = Object.assign({}, pr, d), d.s != null && d.ss == null && (b.ss = d.s - 1)), D = this.localeData(),
|
|
15706
|
+
var S = !1, b = pr, D, A;
|
|
15707
|
+
return typeof i == "object" && (d = i, i = !1), typeof i == "boolean" && (S = i), typeof d == "object" && (b = Object.assign({}, pr, d), d.s != null && d.ss == null && (b.ss = d.s - 1)), D = this.localeData(), A = FS(this, !S, b, D), S && (A = D.pastFuture(+this, A)), D.postformat(A);
|
|
15711
15708
|
}
|
|
15712
15709
|
var za = Math.abs;
|
|
15713
15710
|
function ur(i) {
|
|
15714
15711
|
return (i > 0) - (i < 0) || +i;
|
|
15715
15712
|
}
|
|
15716
|
-
function
|
|
15713
|
+
function As() {
|
|
15717
15714
|
if (!this.isValid())
|
|
15718
15715
|
return this.localeData().invalidDate();
|
|
15719
|
-
var i = za(this._milliseconds) / 1e3, d = za(this._days), S = za(this._months), b, D,
|
|
15720
|
-
return me ? (b = Lt(i / 60), D = Lt(b / 60), i %= 60, b %= 60,
|
|
15716
|
+
var i = za(this._milliseconds) / 1e3, d = za(this._days), S = za(this._months), b, D, A, q, me = this.asSeconds(), Ee, De, vt, hn;
|
|
15717
|
+
return me ? (b = Lt(i / 60), D = Lt(b / 60), i %= 60, b %= 60, A = Lt(S / 12), S %= 12, q = i ? i.toFixed(3).replace(/\.?0+$/, "") : "", Ee = me < 0 ? "-" : "", De = ur(this._months) !== ur(me) ? "-" : "", vt = ur(this._days) !== ur(me) ? "-" : "", hn = ur(this._milliseconds) !== ur(me) ? "-" : "", Ee + "P" + (A ? De + A + "Y" : "") + (S ? De + S + "M" : "") + (d ? vt + d + "D" : "") + (D || b || i ? "T" : "") + (D ? hn + D + "H" : "") + (b ? hn + b + "M" : "") + (i ? hn + q + "S" : "")) : "P0D";
|
|
15721
15718
|
}
|
|
15722
15719
|
var Ie = Is.prototype;
|
|
15723
|
-
Ie.isValid = Lh, Ie.abs = mS, Ie.add = fS, Ie.subtract = hS, Ie.as = SS, Ie.asMilliseconds = Gl, Ie.asSeconds = bS, Ie.asMinutes = vS, Ie.asHours = yS, Ie.asDays = ES, Ie.asWeeks = TS, Ie.asMonths = wS, Ie.asQuarters = CS, Ie.asYears = DS, Ie.valueOf = NS, Ie._bubble = gS, Ie.clone = xS, Ie.get = kS, Ie.milliseconds = IS, Ie.seconds = MS, Ie.minutes = _S, Ie.hours = OS, Ie.days = RS, Ie.weeks =
|
|
15720
|
+
Ie.isValid = Lh, Ie.abs = mS, Ie.add = fS, Ie.subtract = hS, Ie.as = SS, Ie.asMilliseconds = Gl, Ie.asSeconds = bS, Ie.asMinutes = vS, Ie.asHours = yS, Ie.asDays = ES, Ie.asWeeks = TS, Ie.asMonths = wS, Ie.asQuarters = CS, Ie.asYears = DS, Ie.valueOf = NS, Ie._bubble = gS, Ie.clone = xS, Ie.get = kS, Ie.milliseconds = IS, Ie.seconds = MS, Ie.minutes = _S, Ie.hours = OS, Ie.days = RS, Ie.weeks = AS, Ie.months = LS, Ie.years = PS, Ie.humanize = KS, Ie.toISOString = As, Ie.toString = As, Ie.toJSON = As, Ie.locale = Ml, Ie.localeData = Ol, Ie.toIsoString = _(
|
|
15724
15721
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
15725
|
-
|
|
15722
|
+
As
|
|
15726
15723
|
), Ie.lang = _l, R("X", 0, 0, "unix"), R("x", 0, 0, "valueOf"), pe("x", ut), pe("X", Cs), Ve("X", function(i, d, S) {
|
|
15727
15724
|
S._d = new Date(parseFloat(i) * 1e3);
|
|
15728
15725
|
}), Ve("x", function(i, d, S) {
|
|
@@ -16708,7 +16705,7 @@ function jt({
|
|
|
16708
16705
|
hideTimer: null
|
|
16709
16706
|
}), [C, T] = s.useState(!1), N = s.useRef(null), I = typeof n == "string" ? s.useRef(document.getElementById(n)) : n, k = s.useRef(null), x = s.useCallback(() => {
|
|
16710
16707
|
E.current.hideTimer && (window.clearTimeout(E.current.hideTimer), E.current.hideTimer = null);
|
|
16711
|
-
}, []),
|
|
16708
|
+
}, []), B = s.useCallback(() => {
|
|
16712
16709
|
x(), T(!1);
|
|
16713
16710
|
}, []), P = s.useCallback((U = !1) => {
|
|
16714
16711
|
var ne;
|
|
@@ -16721,11 +16718,11 @@ function jt({
|
|
|
16721
16718
|
K();
|
|
16722
16719
|
return T(!0), !0;
|
|
16723
16720
|
}, []), w = s.useCallback((U) => {
|
|
16724
|
-
U && U.stopPropagation(), T((ne) => ne ? (
|
|
16721
|
+
U && U.stopPropagation(), T((ne) => ne ? (B(), !1) : P());
|
|
16725
16722
|
}, []), O = s.useCallback((U) => {
|
|
16726
|
-
N.current && !N.current.contains(U.target) &&
|
|
16723
|
+
N.current && !N.current.contains(U.target) && B();
|
|
16727
16724
|
}, []), _ = s.useCallback(() => {
|
|
16728
|
-
x(), E.current.hideTimer = window.setTimeout(
|
|
16725
|
+
x(), E.current.hideTimer = window.setTimeout(B, a);
|
|
16729
16726
|
}, []), F = s.useCallback((U) => {
|
|
16730
16727
|
var R, j, re, X, le, ae;
|
|
16731
16728
|
const [ne, K] = U.split(" "), Y = (R = I == null ? void 0 : I.current) == null ? void 0 : R.getBoundingClientRect(), ee = k.current ? parseInt(((j = getComputedStyle(k.current)) == null ? void 0 : j.width) || "0", 10) : 0, te = ee * Math.sqrt(2), W = (te - ee) / 2;
|
|
@@ -16743,7 +16740,7 @@ function jt({
|
|
|
16743
16740
|
return 0;
|
|
16744
16741
|
}, []);
|
|
16745
16742
|
s.useEffect(() => {
|
|
16746
|
-
if (typeof n == "string" && (I.current = document.getElementById(n)), C ? zn.set(E.current.instanceKey,
|
|
16743
|
+
if (typeof n == "string" && (I.current = document.getElementById(n)), C ? zn.set(E.current.instanceKey, B) : zn.has(E.current.instanceKey) && zn.delete(E.current.instanceKey), u === wt.MANUAL) {
|
|
16747
16744
|
if (o !== E.current.prevIsShown)
|
|
16748
16745
|
switch (o) {
|
|
16749
16746
|
case "visible":
|
|
@@ -16753,7 +16750,7 @@ function jt({
|
|
|
16753
16750
|
P(!0);
|
|
16754
16751
|
break;
|
|
16755
16752
|
case "hidden":
|
|
16756
|
-
|
|
16753
|
+
B();
|
|
16757
16754
|
break;
|
|
16758
16755
|
case "delayed_hidden":
|
|
16759
16756
|
_();
|
|
@@ -16870,9 +16867,9 @@ function Gi(e) {
|
|
|
16870
16867
|
}), s.useEffect(() => {
|
|
16871
16868
|
var P;
|
|
16872
16869
|
h.current = (P = u == null ? void 0 : u.current) == null ? void 0 : P.getElementsByClassName("sps-form-group__label")[0];
|
|
16873
|
-
const x = () => N(Le.VISIBLE),
|
|
16874
|
-
return h.current && (h.current.addEventListener("focus", x), h.current.addEventListener("blur",
|
|
16875
|
-
h.current && (h.current.removeEventListener("focus", x), h.current.removeEventListener("blur",
|
|
16870
|
+
const x = () => N(Le.VISIBLE), B = () => N(Le.HIDDEN);
|
|
16871
|
+
return h.current && (h.current.addEventListener("focus", x), h.current.addEventListener("blur", B)), () => {
|
|
16872
|
+
h.current && (h.current.removeEventListener("focus", x), h.current.removeEventListener("blur", B));
|
|
16876
16873
|
};
|
|
16877
16874
|
}), l && (l.onFocus = () => N(Le.VISIBLE), l.onBlur = () => N(Le.HIDDEN));
|
|
16878
16875
|
const I = H(
|
|
@@ -17474,7 +17471,7 @@ const uN = {
|
|
|
17474
17471
|
maxHeightOptionListRem: "number",
|
|
17475
17472
|
disableOptionsMemoization: "boolean"
|
|
17476
17473
|
};
|
|
17477
|
-
function
|
|
17474
|
+
function Ar(e) {
|
|
17478
17475
|
const {
|
|
17479
17476
|
action: t,
|
|
17480
17477
|
alignLeft: n,
|
|
@@ -17497,7 +17494,7 @@ function Br(e) {
|
|
|
17497
17494
|
maxHeightOptionListRem: I,
|
|
17498
17495
|
disableOptionsMemoization: k,
|
|
17499
17496
|
...x
|
|
17500
|
-
} = e, { t:
|
|
17497
|
+
} = e, { t: B } = s.useContext(Ge), P = nr(l), [w, O] = s.useState(!1), [_, F] = s.useState(!1), [G, M] = s.useState(), z = s.useRef(null), L = m.map(
|
|
17501
17498
|
(ae) => typeof ae == "function" ? ae : Object.assign(ae[1], {
|
|
17502
17499
|
...Wd,
|
|
17503
17500
|
...ae[0]
|
|
@@ -17574,7 +17571,7 @@ function Br(e) {
|
|
|
17574
17571
|
},
|
|
17575
17572
|
/* @__PURE__ */ s.createElement("i", { className: H("sps-icon", `sps-icon-${U}`) }),
|
|
17576
17573
|
p && /* @__PURE__ */ s.createElement("span", null, p),
|
|
17577
|
-
u && /* @__PURE__ */ s.createElement("div", { className: "sps-spinner", key: 1 }, h ||
|
|
17574
|
+
u && /* @__PURE__ */ s.createElement("div", { className: "sps-spinner", key: 1 }, h || B("design-system:button.spinningTitle"))
|
|
17578
17575
|
)), /* @__PURE__ */ s.createElement(
|
|
17579
17576
|
fs,
|
|
17580
17577
|
{
|
|
@@ -17599,7 +17596,7 @@ function Br(e) {
|
|
|
17599
17596
|
}
|
|
17600
17597
|
));
|
|
17601
17598
|
}
|
|
17602
|
-
Object.assign(
|
|
17599
|
+
Object.assign(Ar, {
|
|
17603
17600
|
props: fN,
|
|
17604
17601
|
displayName: "SpsDropdown"
|
|
17605
17602
|
});
|
|
@@ -17957,7 +17954,7 @@ function Lu(e) {
|
|
|
17957
17954
|
"data-testid": `${c}__checkbox`
|
|
17958
17955
|
}
|
|
17959
17956
|
), /* @__PURE__ */ s.createElement(
|
|
17960
|
-
|
|
17957
|
+
Ar,
|
|
17961
17958
|
{
|
|
17962
17959
|
disabled: l,
|
|
17963
17960
|
options: t,
|
|
@@ -18000,13 +17997,13 @@ function Pu({
|
|
|
18000
17997
|
errorsTooltipTrigger: E = wt.CLICK,
|
|
18001
17998
|
errorsTooltipPosition: C = Te.LEFT_MIDDLE
|
|
18002
17999
|
}) {
|
|
18003
|
-
const T = a || r, N = s.useRef(null), I = s.useRef(null), [k, x] = s.useState(Le.HIDDEN), [
|
|
18000
|
+
const T = a || r, N = s.useRef(null), I = s.useRef(null), [k, x] = s.useState(Le.HIDDEN), [B, P] = s.useState(!1), [w, O] = s.useState(f);
|
|
18004
18001
|
tp(() => {
|
|
18005
18002
|
u == null || u(w);
|
|
18006
18003
|
}, [w]), s.useEffect(() => {
|
|
18007
18004
|
if (T || o) {
|
|
18008
18005
|
const G = T && T.isFocused() || o && o.isFocused();
|
|
18009
|
-
!
|
|
18006
|
+
!B && G ? x(Le.VISIBLE) : B && !G && x(Le.HIDDEN), P(G || !1);
|
|
18010
18007
|
}
|
|
18011
18008
|
});
|
|
18012
18009
|
const _ = H(
|
|
@@ -18391,7 +18388,7 @@ const bN = {
|
|
|
18391
18388
|
step: "number",
|
|
18392
18389
|
onValueChange: "(newValue: number) => void"
|
|
18393
18390
|
};
|
|
18394
|
-
function
|
|
18391
|
+
function Au(e) {
|
|
18395
18392
|
const {
|
|
18396
18393
|
autoComplete: t,
|
|
18397
18394
|
disabled: n,
|
|
@@ -18448,7 +18445,7 @@ function Bu(e) {
|
|
|
18448
18445
|
/* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-plus-sign", "aria-hidden": "true" })
|
|
18449
18446
|
)));
|
|
18450
18447
|
}
|
|
18451
|
-
Object.assign(
|
|
18448
|
+
Object.assign(Au, {
|
|
18452
18449
|
props: vN,
|
|
18453
18450
|
displayName: "SpsIncrementor"
|
|
18454
18451
|
});
|
|
@@ -18492,7 +18489,7 @@ const yN = {
|
|
|
18492
18489
|
helpIconColor: "string",
|
|
18493
18490
|
errors: "ReactNodeOrRenderFn"
|
|
18494
18491
|
};
|
|
18495
|
-
function
|
|
18492
|
+
function Bu({
|
|
18496
18493
|
children: e,
|
|
18497
18494
|
className: t,
|
|
18498
18495
|
description: n,
|
|
@@ -18506,17 +18503,17 @@ function Au({
|
|
|
18506
18503
|
"data-testid": f,
|
|
18507
18504
|
...u
|
|
18508
18505
|
}) {
|
|
18509
|
-
const { t: h } = s.useContext(Ge), g = s.useRef(null), y = s.useRef(null), E = s.useRef(null), C = s.useRef(null), [T, N] = s.useState(Le.HIDDEN), [I, k] = s.useState(Le.HIDDEN), [x,
|
|
18506
|
+
const { t: h } = s.useContext(Ge), g = s.useRef(null), y = s.useRef(null), E = s.useRef(null), C = s.useRef(null), [T, N] = s.useState(Le.HIDDEN), [I, k] = s.useState(Le.HIDDEN), [x, B] = s.useState(Le.HIDDEN), [P, w] = s.useState(
|
|
18510
18507
|
Le.HIDDEN
|
|
18511
18508
|
);
|
|
18512
18509
|
function O() {
|
|
18513
|
-
|
|
18510
|
+
B(Le.HIDDEN), N(Le.HIDDEN);
|
|
18514
18511
|
}
|
|
18515
18512
|
function _() {
|
|
18516
18513
|
k(Le.HIDDEN), w(Le.HIDDEN);
|
|
18517
18514
|
}
|
|
18518
18515
|
function F(W) {
|
|
18519
|
-
W.preventDefault(), _(),
|
|
18516
|
+
W.preventDefault(), _(), B(wo(x));
|
|
18520
18517
|
}
|
|
18521
18518
|
function G() {
|
|
18522
18519
|
return r && (r instanceof yr && r.isVisibilyInvalid() || !(r instanceof yr) && !r.isValid()) ? [I, k] : r && r instanceof yr && r.hasPreventativeErrors() ? [P, w] : [Le.HIDDEN, () => {
|
|
@@ -18695,7 +18692,7 @@ function Au({
|
|
|
18695
18692
|
h("design-system:label.stronglySuggested")
|
|
18696
18693
|
), n && /* @__PURE__ */ s.createElement("div", { className: "sps-form-control__description", "data-testid": `${f}__description` }, n));
|
|
18697
18694
|
}
|
|
18698
|
-
Object.assign(
|
|
18695
|
+
Object.assign(Bu, {
|
|
18699
18696
|
props: EN,
|
|
18700
18697
|
displayName: "SpsLabel"
|
|
18701
18698
|
});
|
|
@@ -19105,7 +19102,7 @@ const Na = s.createContext({
|
|
|
19105
19102
|
const T = r.scrollLeft, N = a == null ? void 0 : a.getBoundingClientRect(), I = r.getBoundingClientRect();
|
|
19106
19103
|
if (C && N && N.top <= C && C <= I.bottom - N.height && I.top <= C) {
|
|
19107
19104
|
if (c && Array.from(c).forEach((k, x) => {
|
|
19108
|
-
const
|
|
19105
|
+
const B = k.getBoundingClientRect().width, P = p[x].getBoundingClientRect().width, w = `${Math.max(B, P)}px`;
|
|
19109
19106
|
p[x].style.minWidth = w, p[x].style.width = w, p[x].style.maxWidth = w, k.style.minWidth = w, k.style.width = w, k.style.maxWidth = w;
|
|
19110
19107
|
}), a && e.current) {
|
|
19111
19108
|
a.style.position = "fixed", a.style.top = `${C}px`, a.style.overflow = "hidden";
|
|
@@ -19154,7 +19151,7 @@ const Na = s.createContext({
|
|
|
19154
19151
|
resizeState: "ResizeState",
|
|
19155
19152
|
onResizeStateChange: "ResizeStateChangeHandler"
|
|
19156
19153
|
};
|
|
19157
|
-
function
|
|
19154
|
+
function Br({
|
|
19158
19155
|
children: e,
|
|
19159
19156
|
className: t,
|
|
19160
19157
|
onSortChange: n,
|
|
@@ -19181,7 +19178,7 @@ function Ar({
|
|
|
19181
19178
|
/* @__PURE__ */ s.createElement("div", { ref: E, className: h, style: y }, /* @__PURE__ */ s.createElement("div", { className: "sps-table__shadow shadow--top" }), /* @__PURE__ */ s.createElement("div", { className: "sps-table__shadow shadow--bottom" }), /* @__PURE__ */ s.createElement("table", { className: "sps-table", role: "table", "data-testid": `${a}`, ...u }, e))
|
|
19182
19179
|
);
|
|
19183
19180
|
}
|
|
19184
|
-
Object.assign(
|
|
19181
|
+
Object.assign(Br, {
|
|
19185
19182
|
props: kN,
|
|
19186
19183
|
displayName: "SpsTable"
|
|
19187
19184
|
});
|
|
@@ -19203,9 +19200,9 @@ const IN = ({
|
|
|
19203
19200
|
}) => {
|
|
19204
19201
|
const { resizeable: r, resizeState: a, setSingleResizeState: o } = s.useContext(Na), l = !!r && !!n, c = l ? a == null ? void 0 : a[n] : 0;
|
|
19205
19202
|
return s.useLayoutEffect(() => {
|
|
19206
|
-
var
|
|
19203
|
+
var B, P;
|
|
19207
19204
|
let p, m = c, f = 0;
|
|
19208
|
-
const u = $u(e.current), h = (
|
|
19205
|
+
const u = $u(e.current), h = (B = e.current) == null ? void 0 : B.querySelector(".sps-table__column-resizer"), g = (P = e.current) == null ? void 0 : P.querySelector(".sps-table__column-resizer-guide");
|
|
19209
19206
|
function y() {
|
|
19210
19207
|
if (e.current && p && (h && (h.style.backgroundColor = _o.blue200), g && u && (g.style.height = `${u.getBoundingClientRect().height}px`, g.style.display = "block"), u)) {
|
|
19211
19208
|
const w = u.querySelectorAll("thead > tr > th");
|
|
@@ -19477,8 +19474,8 @@ Object.assign(PN, {
|
|
|
19477
19474
|
props: Yu,
|
|
19478
19475
|
displayName: "SpsTd"
|
|
19479
19476
|
});
|
|
19480
|
-
const
|
|
19481
|
-
function
|
|
19477
|
+
const AN = {};
|
|
19478
|
+
function BN(e) {
|
|
19482
19479
|
const {
|
|
19483
19480
|
children: t,
|
|
19484
19481
|
className: n,
|
|
@@ -19493,15 +19490,15 @@ function AN(e) {
|
|
|
19493
19490
|
type: qe,
|
|
19494
19491
|
props: { kind: Je.LINK }
|
|
19495
19492
|
},
|
|
19496
|
-
[{ type: qe, props: { kind: Je.ICON } }, { type:
|
|
19493
|
+
[{ type: qe, props: { kind: Je.ICON } }, { type: Ar }]
|
|
19497
19494
|
]), p = o.length > 0 && (l.length > 0 || c.length > 0), m = l.length > 0 && c.length > 0, f = H(
|
|
19498
19495
|
r || "sps-button-group",
|
|
19499
19496
|
n
|
|
19500
19497
|
);
|
|
19501
19498
|
return /* @__PURE__ */ s.createElement("div", { className: f, ...a }, o.length > 0 && o, p && /* @__PURE__ */ s.createElement("div", { className: "sps-vertical-rule" }), l.length > 0 && l, m && /* @__PURE__ */ s.createElement("div", { className: "sps-vertical-rule" }), c.length > 0 && c);
|
|
19502
19499
|
}
|
|
19503
|
-
Object.assign(
|
|
19504
|
-
props:
|
|
19500
|
+
Object.assign(BN, {
|
|
19501
|
+
props: AN,
|
|
19505
19502
|
displayName: "SpsButtonGroup"
|
|
19506
19503
|
});
|
|
19507
19504
|
const GM = {
|
|
@@ -21527,7 +21524,7 @@ const KN = {
|
|
|
21527
21524
|
alt: "A List Action Bar with labels on each section",
|
|
21528
21525
|
className: "w-100 mb-3"
|
|
21529
21526
|
}
|
|
21530
|
-
), /* @__PURE__ */ s.createElement(
|
|
21527
|
+
), /* @__PURE__ */ s.createElement(Br, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ft, null, "Order"), /* @__PURE__ */ s.createElement(ft, null, "Section"), /* @__PURE__ */ s.createElement(ft, null, "Content Varieties")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(ce, null, "Selection Counter"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(ce, null, "Action Buttons"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(ce, null, "Clear Button"), /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement(tn, { className: "mr-1" }, "Basic Buttons"), /* @__PURE__ */ s.createElement(tn, { className: "mr-1" }, "Icon Buttons"), /* @__PURE__ */ s.createElement(tn, { className: "mr-1" }, "Text Buttons"))))))
|
|
21531
21528
|
}
|
|
21532
21529
|
}, WN = {
|
|
21533
21530
|
kind: "FeedbackBlockKind",
|
|
@@ -21682,8 +21679,8 @@ function zu({
|
|
|
21682
21679
|
if (I && I.key === "Escape" && o && o(), I && I.key === "Tab" && g.current) {
|
|
21683
21680
|
const k = g.current.querySelectorAll(
|
|
21684
21681
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
21685
|
-
), x = k[0],
|
|
21686
|
-
k.length === 0 ? I.preventDefault() : I.shiftKey && I.target === x ? (I.preventDefault(),
|
|
21682
|
+
), x = k[0], B = k[k.length - 1];
|
|
21683
|
+
k.length === 0 ? I.preventDefault() : I.shiftKey && I.target === x ? (I.preventDefault(), B.focus()) : !I.shiftKey && I.target === B && (I.preventDefault(), x.focus());
|
|
21687
21684
|
}
|
|
21688
21685
|
},
|
|
21689
21686
|
[o]
|
|
@@ -22454,7 +22451,7 @@ function qu({
|
|
|
22454
22451
|
unsafelyReplaceClassName: I,
|
|
22455
22452
|
value: k,
|
|
22456
22453
|
zeroState: x = "There are no matching options.",
|
|
22457
|
-
loading:
|
|
22454
|
+
loading: B,
|
|
22458
22455
|
filterByTextAndCaptionKey: P,
|
|
22459
22456
|
icon: w,
|
|
22460
22457
|
maxHeightOptionListPx: O,
|
|
@@ -22495,8 +22492,8 @@ function qu({
|
|
|
22495
22492
|
}
|
|
22496
22493
|
function oe(be) {
|
|
22497
22494
|
if (W.current && W.current.children.length && typeof be == "number") {
|
|
22498
|
-
const Me = W.current.children[be],
|
|
22499
|
-
|
|
22495
|
+
const Me = W.current.children[be], rt = Me == null ? void 0 : Me.querySelector(".sps-clickable-tag__icon");
|
|
22496
|
+
rt && rt.focus();
|
|
22500
22497
|
}
|
|
22501
22498
|
}
|
|
22502
22499
|
function se(be) {
|
|
@@ -22508,14 +22505,14 @@ function qu({
|
|
|
22508
22505
|
z.indexOf(be) === -1 && se([...z, be]), ae();
|
|
22509
22506
|
}
|
|
22510
22507
|
function xe(be) {
|
|
22511
|
-
const Me = z.filter((
|
|
22508
|
+
const Me = z.filter((rt, we) => we !== be);
|
|
22512
22509
|
se(Me);
|
|
22513
22510
|
}
|
|
22514
22511
|
function lt(be) {
|
|
22515
22512
|
ne({ searchText: be.target.value });
|
|
22516
22513
|
}
|
|
22517
22514
|
function ct(be) {
|
|
22518
|
-
var Me,
|
|
22515
|
+
var Me, rt;
|
|
22519
22516
|
if (!l) {
|
|
22520
22517
|
const we = !u && !be.target.selectionStart && z && z.length;
|
|
22521
22518
|
switch (be.key) {
|
|
@@ -22563,7 +22560,7 @@ function qu({
|
|
|
22563
22560
|
X();
|
|
22564
22561
|
break;
|
|
22565
22562
|
case "Escape":
|
|
22566
|
-
X(), (
|
|
22563
|
+
X(), (rt = ee.current) == null || rt.blur();
|
|
22567
22564
|
break;
|
|
22568
22565
|
case "Enter":
|
|
22569
22566
|
a && ne({ searchText: "" });
|
|
@@ -22580,7 +22577,7 @@ function qu({
|
|
|
22580
22577
|
}
|
|
22581
22578
|
function Ot(be) {
|
|
22582
22579
|
ne({
|
|
22583
|
-
optionIds: new Array(be).fill("").map((Me,
|
|
22580
|
+
optionIds: new Array(be).fill("").map((Me, rt) => `${Q}-options-option-${rt}`).join(",")
|
|
22584
22581
|
});
|
|
22585
22582
|
}
|
|
22586
22583
|
const Ze = s.useCallback(() => {
|
|
@@ -22700,7 +22697,7 @@ function qu({
|
|
|
22700
22697
|
tall: T,
|
|
22701
22698
|
textKey: N,
|
|
22702
22699
|
zeroState: x,
|
|
22703
|
-
loading:
|
|
22700
|
+
loading: B,
|
|
22704
22701
|
maxHeightPx: O,
|
|
22705
22702
|
maxHeightRem: _,
|
|
22706
22703
|
disableOptionsMemoization: F,
|
|
@@ -23218,8 +23215,8 @@ function Ui(e) {
|
|
|
23218
23215
|
async function T(x) {
|
|
23219
23216
|
if (f && !await f(x))
|
|
23220
23217
|
return;
|
|
23221
|
-
const
|
|
23222
|
-
x !== E && (C(
|
|
23218
|
+
const B = ZS(x, [1, t]);
|
|
23219
|
+
x !== E && (C(B), y(B), n && typeof n == "function" && n(B));
|
|
23223
23220
|
}
|
|
23224
23221
|
function N(x) {
|
|
23225
23222
|
y(Number(x.target.value) || "");
|
|
@@ -23352,7 +23349,7 @@ function Ju(e) {
|
|
|
23352
23349
|
function x() {
|
|
23353
23350
|
return typeof c == "number" ? c : "many";
|
|
23354
23351
|
}
|
|
23355
|
-
function
|
|
23352
|
+
function B(O) {
|
|
23356
23353
|
const _ = k(O.target.value, 1);
|
|
23357
23354
|
n(_.page, _.pageSize, _.indices);
|
|
23358
23355
|
}
|
|
@@ -23365,7 +23362,7 @@ function Ju(e) {
|
|
|
23365
23362
|
_r,
|
|
23366
23363
|
{
|
|
23367
23364
|
options: a,
|
|
23368
|
-
onChange:
|
|
23365
|
+
onChange: B,
|
|
23369
23366
|
notClearable: !0,
|
|
23370
23367
|
autoFixWidth: !0,
|
|
23371
23368
|
value: E.pageSize,
|
|
@@ -23583,9 +23580,9 @@ function Zu({
|
|
|
23583
23580
|
!m && "sps-checkable--no-label",
|
|
23584
23581
|
t
|
|
23585
23582
|
);
|
|
23586
|
-
function x(
|
|
23583
|
+
function x(B) {
|
|
23587
23584
|
var P;
|
|
23588
|
-
C && (C.setValue(y), C.markAsDirty()), u && u(
|
|
23585
|
+
C && (C.setValue(y), C.markAsDirty()), u && u(B), (P = T.current) == null || P.focus();
|
|
23589
23586
|
}
|
|
23590
23587
|
return /* @__PURE__ */ s.createElement(
|
|
23591
23588
|
bt,
|
|
@@ -23598,8 +23595,8 @@ function Zu({
|
|
|
23598
23595
|
ref: h,
|
|
23599
23596
|
"data-testid": `${n}`,
|
|
23600
23597
|
onClick: () => {
|
|
23601
|
-
var
|
|
23602
|
-
return (
|
|
23598
|
+
var B;
|
|
23599
|
+
return (B = T.current) == null ? void 0 : B.click();
|
|
23603
23600
|
}
|
|
23604
23601
|
},
|
|
23605
23602
|
/* @__PURE__ */ s.createElement(
|
|
@@ -24311,14 +24308,14 @@ const tx = {
|
|
|
24311
24308
|
a
|
|
24312
24309
|
), [g, y] = je(
|
|
24313
24310
|
c || (o ? o[0] : "")
|
|
24314
|
-
), [E, C] = je(""), T = (x,
|
|
24315
|
-
h(x), r && r(x,
|
|
24311
|
+
), [E, C] = je(""), T = (x, B) => {
|
|
24312
|
+
h(x), r && r(x, B);
|
|
24316
24313
|
}, N = (x) => {
|
|
24317
24314
|
y(x), l && l(x);
|
|
24318
|
-
}, I = (x) => x ? x.some((
|
|
24315
|
+
}, I = (x) => x ? x.some((B) => B.name.toLowerCase().includes(E)) || x.some((B) => I(B.subNavItems || [])) : !1, k = n.map(
|
|
24319
24316
|
(x) => ({
|
|
24320
24317
|
...x,
|
|
24321
|
-
navItems: x.navItems.filter((
|
|
24318
|
+
navItems: x.navItems.filter((B) => B.name.toLowerCase().includes(E) || I(B.subNavItems || []))
|
|
24322
24319
|
})
|
|
24323
24320
|
);
|
|
24324
24321
|
return a !== f.current && (h(a), f.current = a), /* @__PURE__ */ s.createElement("div", { className: "sps-side-nav sps-card" }, e && /* @__PURE__ */ s.createElement("div", { className: "sps-card__header", title: e }, /* @__PURE__ */ s.createElement("div", { className: "sps-card__title" }, t && /* @__PURE__ */ s.createElement("i", { className: `sps-icon sps-icon-${t}` }), e)), o && /* @__PURE__ */ s.createElement("nav", { className: "sps-nav sps-nav--tabs" }, o.map((x) => /* @__PURE__ */ s.createElement(
|
|
@@ -24334,8 +24331,8 @@ const tx = {
|
|
|
24334
24331
|
tabIndex: 0,
|
|
24335
24332
|
key: x,
|
|
24336
24333
|
onClick: () => N(x),
|
|
24337
|
-
onKeyDown: (
|
|
24338
|
-
(
|
|
24334
|
+
onKeyDown: (B) => {
|
|
24335
|
+
(B.key === "Enter" || B.key === " ") && (B.stopPropagation(), B.preventDefault(), N(x));
|
|
24339
24336
|
}
|
|
24340
24337
|
},
|
|
24341
24338
|
/* @__PURE__ */ s.createElement("span", null, x)
|
|
@@ -24363,13 +24360,13 @@ const tx = {
|
|
|
24363
24360
|
},
|
|
24364
24361
|
x.sectionTitle
|
|
24365
24362
|
),
|
|
24366
|
-
x.navItems.map((
|
|
24363
|
+
x.navItems.map((B) => /* @__PURE__ */ s.createElement(
|
|
24367
24364
|
Xu,
|
|
24368
24365
|
{
|
|
24369
24366
|
branch: {
|
|
24370
|
-
...
|
|
24367
|
+
...B,
|
|
24371
24368
|
expanded: zi(
|
|
24372
|
-
|
|
24369
|
+
B.subNavItems || [],
|
|
24373
24370
|
a
|
|
24374
24371
|
)
|
|
24375
24372
|
},
|
|
@@ -24377,7 +24374,7 @@ const tx = {
|
|
|
24377
24374
|
setActiveBranch: (P, w) => {
|
|
24378
24375
|
T(P, w);
|
|
24379
24376
|
},
|
|
24380
|
-
key:
|
|
24377
|
+
key: B.key ?? B.name
|
|
24381
24378
|
}
|
|
24382
24379
|
))
|
|
24383
24380
|
))));
|
|
@@ -24787,7 +24784,7 @@ function Qu(e) {
|
|
|
24787
24784
|
}, [f]);
|
|
24788
24785
|
const x = () => {
|
|
24789
24786
|
N(!0);
|
|
24790
|
-
},
|
|
24787
|
+
}, B = () => {
|
|
24791
24788
|
N(!1);
|
|
24792
24789
|
}, P = H(
|
|
24793
24790
|
h || "sps-split-button",
|
|
@@ -24818,13 +24815,13 @@ function Qu(e) {
|
|
|
24818
24815
|
},
|
|
24819
24816
|
l
|
|
24820
24817
|
), /* @__PURE__ */ s.createElement(
|
|
24821
|
-
|
|
24818
|
+
Ar,
|
|
24822
24819
|
{
|
|
24823
24820
|
kind: m,
|
|
24824
24821
|
options: c,
|
|
24825
24822
|
disabled: a,
|
|
24826
24823
|
onOpen: x,
|
|
24827
|
-
onClose:
|
|
24824
|
+
onClose: B
|
|
24828
24825
|
}
|
|
24829
24826
|
)));
|
|
24830
24827
|
}
|
|
@@ -25443,13 +25440,13 @@ function nm({
|
|
|
25443
25440
|
s.useEffect(() => {
|
|
25444
25441
|
y ? window.addEventListener("resize", k) : window.removeEventListener("resize", k);
|
|
25445
25442
|
}, [y]);
|
|
25446
|
-
const x = ms("sps-task-queue-portal"),
|
|
25443
|
+
const x = ms("sps-task-queue-portal"), B = s.useContext(qt), [P] = y ? xr(
|
|
25447
25444
|
I,
|
|
25448
25445
|
N,
|
|
25449
25446
|
t,
|
|
25450
25447
|
{
|
|
25451
25448
|
altPosition: t,
|
|
25452
|
-
...
|
|
25449
|
+
...B
|
|
25453
25450
|
}
|
|
25454
25451
|
) : [{}, !1], w = r.position || Te.BOTTOM_RIGHT, O = r.kind || en.DEFAULT, _ = e.filter((K) => K.unread).length, F = e.filter((K) => K.status === Fs.IN_PROGRESS).length, G = e.some((K) => K.status === Fs.COMPLETED || K.status === Fs.ERRORED), M = s.useRef(o);
|
|
25455
25452
|
M.current = o;
|
|
@@ -25951,7 +25948,7 @@ const px = {
|
|
|
25951
25948
|
function x(O, _) {
|
|
25952
25949
|
T && (T.setValue(O), T.markAsDirty()), c && k.current && c(_ || new rr(k.current));
|
|
25953
25950
|
}
|
|
25954
|
-
function
|
|
25951
|
+
function B() {
|
|
25955
25952
|
k.current && (k.current.value = "", x(""));
|
|
25956
25953
|
}
|
|
25957
25954
|
function P(O) {
|
|
@@ -25994,7 +25991,7 @@ const px = {
|
|
|
25994
25991
|
{
|
|
25995
25992
|
"data-testid": `${m}__input_clear`,
|
|
25996
25993
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
25997
|
-
onClick:
|
|
25994
|
+
onClick: B
|
|
25998
25995
|
}
|
|
25999
25996
|
)),
|
|
26000
25997
|
g && /* @__PURE__ */ s.createElement("p", { className: "sps-input__additional-text" }, g)
|
|
@@ -26158,7 +26155,7 @@ function rm({
|
|
|
26158
26155
|
function x(P) {
|
|
26159
26156
|
I(P.target.value, P);
|
|
26160
26157
|
}
|
|
26161
|
-
const
|
|
26158
|
+
const B = H(
|
|
26162
26159
|
u || "sps-textarea",
|
|
26163
26160
|
e
|
|
26164
26161
|
);
|
|
@@ -26166,7 +26163,7 @@ function rm({
|
|
|
26166
26163
|
bt,
|
|
26167
26164
|
{
|
|
26168
26165
|
id: C,
|
|
26169
|
-
className:
|
|
26166
|
+
className: B,
|
|
26170
26167
|
formControl: n,
|
|
26171
26168
|
formMeta: r,
|
|
26172
26169
|
inputRef: N,
|
|
@@ -26343,11 +26340,11 @@ function am(e) {
|
|
|
26343
26340
|
...y
|
|
26344
26341
|
} = e;
|
|
26345
26342
|
yv("SpsToggle", sm, e);
|
|
26346
|
-
const E = l || o, [C, T] = s.useState(t), { wrapperId: N, controlId: I } = Nt(c, E), k = `${N}_status-label`, x = `${N}_description`,
|
|
26343
|
+
const E = l || o, [C, T] = s.useState(t), { wrapperId: N, controlId: I } = Nt(c, E), k = `${N}_status-label`, x = `${N}_description`, B = s.useRef(null);
|
|
26347
26344
|
s.useEffect(() => T(t), [t]);
|
|
26348
26345
|
function P(_) {
|
|
26349
26346
|
var F;
|
|
26350
|
-
T(_.target.checked), E && (E.setValue(_.target.checked), E.markAsDirty()), f && f(_.target.checked), (F =
|
|
26347
|
+
T(_.target.checked), E && (E.setValue(_.target.checked), E.markAsDirty()), f && f(_.target.checked), (F = B.current) == null || F.focus();
|
|
26351
26348
|
}
|
|
26352
26349
|
const w = t ?? C, O = H(
|
|
26353
26350
|
g || "sps-toggle",
|
|
@@ -26362,7 +26359,7 @@ function am(e) {
|
|
|
26362
26359
|
id: N,
|
|
26363
26360
|
formControl: o,
|
|
26364
26361
|
formMeta: l,
|
|
26365
|
-
inputRef:
|
|
26362
|
+
inputRef: B,
|
|
26366
26363
|
ref: u,
|
|
26367
26364
|
"data-testid": `${h}`
|
|
26368
26365
|
},
|
|
@@ -26370,7 +26367,7 @@ function am(e) {
|
|
|
26370
26367
|
"input",
|
|
26371
26368
|
{
|
|
26372
26369
|
type: "checkbox",
|
|
26373
|
-
ref:
|
|
26370
|
+
ref: B,
|
|
26374
26371
|
className: "sps-toggle__input",
|
|
26375
26372
|
id: I,
|
|
26376
26373
|
checked: w || !1,
|
|
@@ -28345,7 +28342,7 @@ Object.assign(vm, {
|
|
|
28345
28342
|
props: Px,
|
|
28346
28343
|
displayName: "SpsConditionalField"
|
|
28347
28344
|
});
|
|
28348
|
-
const
|
|
28345
|
+
const Ax = {
|
|
28349
28346
|
generalUsage: {
|
|
28350
28347
|
label: "General Usage",
|
|
28351
28348
|
examples: {
|
|
@@ -28501,7 +28498,7 @@ ${t.join("").replace("]", "\\]").replace(" ", "\\s")}]+`
|
|
|
28501
28498
|
);
|
|
28502
28499
|
return e.split(n).filter((r) => r !== "");
|
|
28503
28500
|
}
|
|
28504
|
-
const
|
|
28501
|
+
const Bx = {
|
|
28505
28502
|
disabled: "boolean",
|
|
28506
28503
|
formMeta: "SpsFormFieldMeta<any[]>",
|
|
28507
28504
|
icon: "SpsIcon",
|
|
@@ -28538,7 +28535,7 @@ function ym({
|
|
|
28538
28535
|
s.useEffect(() => {
|
|
28539
28536
|
l && l(N.searchText);
|
|
28540
28537
|
}, [N.searchText]);
|
|
28541
|
-
const k = s.useRef(null), x = s.useRef(null),
|
|
28538
|
+
const k = s.useRef(null), x = s.useRef(null), B = s.useRef(null);
|
|
28542
28539
|
function P() {
|
|
28543
28540
|
setTimeout(() => {
|
|
28544
28541
|
var U;
|
|
@@ -28556,8 +28553,8 @@ function ym({
|
|
|
28556
28553
|
I({ searchText: U.target.value });
|
|
28557
28554
|
}
|
|
28558
28555
|
function F(U) {
|
|
28559
|
-
if (
|
|
28560
|
-
const ne =
|
|
28556
|
+
if (B.current && B.current.children.length && typeof U == "number") {
|
|
28557
|
+
const ne = B.current.children[U], K = ne == null ? void 0 : ne.querySelector(".sps-clickable-tag__icon");
|
|
28561
28558
|
K && K.focus();
|
|
28562
28559
|
}
|
|
28563
28560
|
}
|
|
@@ -28657,7 +28654,7 @@ function ym({
|
|
|
28657
28654
|
) : H("sps-form-control", m && !t && "sps-form-control--clearable")
|
|
28658
28655
|
},
|
|
28659
28656
|
f && /* @__PURE__ */ s.createElement("i", { className: H("sps-text-input__icon", "sps-icon", `sps-icon-${f}`) }),
|
|
28660
|
-
/* @__PURE__ */ s.createElement("div", { className: "sps-multi-select__tags-and-input", ref:
|
|
28657
|
+
/* @__PURE__ */ s.createElement("div", { className: "sps-multi-select__tags-and-input", ref: B }, Array.isArray(m) && m.map((U, ne) => /* @__PURE__ */ s.createElement(
|
|
28661
28658
|
ga,
|
|
28662
28659
|
{
|
|
28663
28660
|
id: $[ne],
|
|
@@ -28699,7 +28696,7 @@ function ym({
|
|
|
28699
28696
|
);
|
|
28700
28697
|
}
|
|
28701
28698
|
Object.assign(ym, {
|
|
28702
|
-
props:
|
|
28699
|
+
props: Bx,
|
|
28703
28700
|
displayName: "SpsMultiValueTextInput"
|
|
28704
28701
|
});
|
|
28705
28702
|
const Fx = {
|
|
@@ -28947,7 +28944,7 @@ function Em({
|
|
|
28947
28944
|
function x(F) {
|
|
28948
28945
|
Z.validateTimeString(F.target.value, l) && T(F.target.value);
|
|
28949
28946
|
}
|
|
28950
|
-
function
|
|
28947
|
+
function B(F) {
|
|
28951
28948
|
if (Z.validateTimeString(F ?? C, l)) {
|
|
28952
28949
|
const G = Z.padIncompleteTimeString(F ?? C, l);
|
|
28953
28950
|
T(G), k(G && !l ? `${G} ${N}` : G || "");
|
|
@@ -28960,7 +28957,7 @@ function Em({
|
|
|
28960
28957
|
G && !l && k(`${G} ${F.target.value}`);
|
|
28961
28958
|
}
|
|
28962
28959
|
function w(F) {
|
|
28963
|
-
Z.validateTimeString(F, l) && (T(F ?? ""), setTimeout(() =>
|
|
28960
|
+
Z.validateTimeString(F, l) && (T(F ?? ""), setTimeout(() => B(F), 0));
|
|
28964
28961
|
}
|
|
28965
28962
|
s.useEffect(() => {
|
|
28966
28963
|
g !== C && T(g);
|
|
@@ -28979,10 +28976,10 @@ function Em({
|
|
|
28979
28976
|
placeholder: c,
|
|
28980
28977
|
value: C,
|
|
28981
28978
|
onChange: x,
|
|
28982
|
-
onBlur: () =>
|
|
28979
|
+
onBlur: () => B(),
|
|
28983
28980
|
onSelectionChange: w,
|
|
28984
28981
|
onKeyDown: (F) => {
|
|
28985
|
-
F.key === "Enter" &&
|
|
28982
|
+
F.key === "Enter" && B();
|
|
28986
28983
|
},
|
|
28987
28984
|
disabled: t,
|
|
28988
28985
|
inputNotClearable: !0,
|
|
@@ -29000,10 +28997,10 @@ function Em({
|
|
|
29000
28997
|
placeholder: p,
|
|
29001
28998
|
value: C,
|
|
29002
28999
|
onChange: x,
|
|
29003
|
-
onBlur: () =>
|
|
29000
|
+
onBlur: () => B(),
|
|
29004
29001
|
onSelectionChange: w,
|
|
29005
29002
|
onKeyDown: (F) => {
|
|
29006
|
-
F.key === "Enter" &&
|
|
29003
|
+
F.key === "Enter" && B();
|
|
29007
29004
|
},
|
|
29008
29005
|
disabled: t,
|
|
29009
29006
|
inputNotClearable: !0,
|
|
@@ -29111,12 +29108,12 @@ const $x = {
|
|
|
29111
29108
|
},
|
|
29112
29109
|
"Column Chooser": {
|
|
29113
29110
|
components: [Du, $i],
|
|
29114
|
-
examples:
|
|
29111
|
+
examples: AD
|
|
29115
29112
|
},
|
|
29116
29113
|
"Conditional Fields": {
|
|
29117
29114
|
description: () => /* @__PURE__ */ s.createElement("p", null, "A conditional field is one that is only available when a certain option is selected amongst a set of checkboxes or radio buttons."),
|
|
29118
29115
|
components: [vm],
|
|
29119
|
-
examples:
|
|
29116
|
+
examples: Ax
|
|
29120
29117
|
},
|
|
29121
29118
|
"Content Rows": {
|
|
29122
29119
|
components: [
|
|
@@ -29156,7 +29153,7 @@ const $x = {
|
|
|
29156
29153
|
examples: uN
|
|
29157
29154
|
},
|
|
29158
29155
|
Dropdown: {
|
|
29159
|
-
components: [
|
|
29156
|
+
components: [Ar, Lu],
|
|
29160
29157
|
examples: hN
|
|
29161
29158
|
},
|
|
29162
29159
|
"Filter Panel": {
|
|
@@ -29174,12 +29171,12 @@ const $x = {
|
|
|
29174
29171
|
* },
|
|
29175
29172
|
*/
|
|
29176
29173
|
Incrementor: {
|
|
29177
|
-
components: [
|
|
29174
|
+
components: [Au],
|
|
29178
29175
|
examples: yN
|
|
29179
29176
|
},
|
|
29180
29177
|
Label: {
|
|
29181
29178
|
description: () => /* @__PURE__ */ s.createElement("p", null, "Labels provide a description for the value to be entered or selected in an accompanying input field."),
|
|
29182
|
-
components: [
|
|
29179
|
+
components: [Bu],
|
|
29183
29180
|
examples: TN
|
|
29184
29181
|
},
|
|
29185
29182
|
"List Action Bar": {
|
|
@@ -29236,7 +29233,7 @@ const $x = {
|
|
|
29236
29233
|
},
|
|
29237
29234
|
Tables: {
|
|
29238
29235
|
description: ({ NavigateTo: e }) => /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", { className: "sps-body-14" }, "Tables (along with ", /* @__PURE__ */ s.createElement(e, { to: "content-rows" }, "Content Rows"), " and", " ", /* @__PURE__ */ s.createElement(e, { to: "content-tiles" }, "Content Tiles"), ") are one of three options for displaying a list of records on a page."), /* @__PURE__ */ s.createElement("br", null), /* @__PURE__ */ s.createElement("div", { className: "sps-body-14" }, "Tables are the ideal solution for displaying tabular data, especially when the listed records contain a considerable amount of data points. While tables are primarily used to display an extensive list of records, often in a paginated format, they can also be used to display smaller sets of tabular data in any context.")),
|
|
29239
|
-
components: [
|
|
29236
|
+
components: [Br, or, ce, ar, ft, ze],
|
|
29240
29237
|
examples: KN
|
|
29241
29238
|
},
|
|
29242
29239
|
"Task Queue": {
|
|
@@ -29288,7 +29285,7 @@ function Sr(e) {
|
|
|
29288
29285
|
t.current = e;
|
|
29289
29286
|
}, [
|
|
29290
29287
|
e
|
|
29291
|
-
]),
|
|
29288
|
+
]), Bt((...n) => {
|
|
29292
29289
|
const r = t.current;
|
|
29293
29290
|
return r == null ? void 0 : r(...n);
|
|
29294
29291
|
}, []);
|
|
@@ -29340,7 +29337,7 @@ function Cm() {
|
|
|
29340
29337
|
}
|
|
29341
29338
|
let Jx = !!(typeof window < "u" && window.document && window.document.createElement), On = /* @__PURE__ */ new Map();
|
|
29342
29339
|
function Dm(e) {
|
|
29343
|
-
let [t, n] = je(e), r = he(null), a = Ux(t), o =
|
|
29340
|
+
let [t, n] = je(e), r = he(null), a = Ux(t), o = Bt((l) => {
|
|
29344
29341
|
r.current = l;
|
|
29345
29342
|
}, []);
|
|
29346
29343
|
return Jx && (On.has(a) && !On.get(a).includes(o) ? On.set(a, [
|
|
@@ -29581,7 +29578,7 @@ function Mm(e) {
|
|
|
29581
29578
|
});
|
|
29582
29579
|
}
|
|
29583
29580
|
function _m() {
|
|
29584
|
-
let e = he(/* @__PURE__ */ new Map()), t =
|
|
29581
|
+
let e = he(/* @__PURE__ */ new Map()), t = Bt((a, o, l, c) => {
|
|
29585
29582
|
let p = c != null && c.once ? (...m) => {
|
|
29586
29583
|
e.current.delete(l), l(...m);
|
|
29587
29584
|
} : l;
|
|
@@ -29591,11 +29588,11 @@ function _m() {
|
|
|
29591
29588
|
fn: p,
|
|
29592
29589
|
options: c
|
|
29593
29590
|
}), a.addEventListener(o, l, c);
|
|
29594
|
-
}, []), n =
|
|
29591
|
+
}, []), n = Bt((a, o, l, c) => {
|
|
29595
29592
|
var p;
|
|
29596
29593
|
let m = ((p = e.current.get(l)) === null || p === void 0 ? void 0 : p.fn) || l;
|
|
29597
29594
|
a.removeEventListener(o, m, c), e.current.delete(l);
|
|
29598
|
-
}, []), r =
|
|
29595
|
+
}, []), r = Bt(() => {
|
|
29599
29596
|
e.current.forEach((a, o) => {
|
|
29600
29597
|
n(a.eventTarget, a.type, o, a.options);
|
|
29601
29598
|
});
|
|
@@ -29739,7 +29736,7 @@ function Lm(e, t, n) {
|
|
|
29739
29736
|
}, [
|
|
29740
29737
|
l
|
|
29741
29738
|
]);
|
|
29742
|
-
let c = l ? e : r, p =
|
|
29739
|
+
let c = l ? e : r, p = Bt((m, ...f) => {
|
|
29743
29740
|
let u = (h, ...g) => {
|
|
29744
29741
|
n && (Object.is(c, h) || n(h, ...g)), l || (c = h);
|
|
29745
29742
|
};
|
|
@@ -29822,12 +29819,12 @@ Pm.displayName = "PressResponderContext";
|
|
|
29822
29819
|
function Dk(e, t) {
|
|
29823
29820
|
return t.get ? t.get.call(e) : t.value;
|
|
29824
29821
|
}
|
|
29825
|
-
function
|
|
29822
|
+
function Am(e, t, n) {
|
|
29826
29823
|
if (!t.has(e)) throw new TypeError("attempted to " + n + " private field on non-instance");
|
|
29827
29824
|
return t.get(e);
|
|
29828
29825
|
}
|
|
29829
29826
|
function Nk(e, t) {
|
|
29830
|
-
var n =
|
|
29827
|
+
var n = Am(e, t, "get");
|
|
29831
29828
|
return Dk(e, n);
|
|
29832
29829
|
}
|
|
29833
29830
|
function xk(e, t) {
|
|
@@ -29846,7 +29843,7 @@ function Ik(e, t, n) {
|
|
|
29846
29843
|
}
|
|
29847
29844
|
}
|
|
29848
29845
|
function Id(e, t, n) {
|
|
29849
|
-
var r =
|
|
29846
|
+
var r = Am(e, t, "set");
|
|
29850
29847
|
return Ik(e, r, n), n;
|
|
29851
29848
|
}
|
|
29852
29849
|
function Mk(e) {
|
|
@@ -29878,7 +29875,7 @@ class qs {
|
|
|
29878
29875
|
}
|
|
29879
29876
|
}
|
|
29880
29877
|
const Md = Symbol("linkClicked");
|
|
29881
|
-
function
|
|
29878
|
+
function Bm(e) {
|
|
29882
29879
|
let {
|
|
29883
29880
|
onPress: t,
|
|
29884
29881
|
onPressChange: n,
|
|
@@ -29938,7 +29935,7 @@ function Am(e) {
|
|
|
29938
29935
|
}), x = Sr((w) => {
|
|
29939
29936
|
let O = E.current;
|
|
29940
29937
|
O.isPressed && O.target && (O.isOverTarget && O.pointerType != null && I(Sn(O.target, w), O.pointerType, !1), O.isPressed = !1, O.isOverTarget = !1, O.activePointerId = null, O.pointerType = null, T(), f || zs(O.target));
|
|
29941
|
-
}),
|
|
29938
|
+
}), B = Sr((w) => {
|
|
29942
29939
|
m && x(w);
|
|
29943
29940
|
}), P = Qe(() => {
|
|
29944
29941
|
let w = E.current, O = {
|
|
@@ -29998,7 +29995,7 @@ function Am(e) {
|
|
|
29998
29995
|
!L.currentTarget.contains(L.target) || w.pointerType === "virtual" || L.button === 0 && gr(L, L.currentTarget) && k(L, w.pointerType || L.pointerType);
|
|
29999
29996
|
};
|
|
30000
29997
|
let F = (L) => {
|
|
30001
|
-
L.pointerId === w.activePointerId && (w.target && gr(L, w.target) ? !w.isOverTarget && w.pointerType != null && (w.isOverTarget = !0, N(Sn(w.target, L), w.pointerType)) : w.target && w.isOverTarget && w.pointerType != null && (w.isOverTarget = !1, I(Sn(w.target, L), w.pointerType, !1),
|
|
29998
|
+
L.pointerId === w.activePointerId && (w.target && gr(L, w.target) ? !w.isOverTarget && w.pointerType != null && (w.isOverTarget = !0, N(Sn(w.target, L), w.pointerType)) : w.target && w.isOverTarget && w.pointerType != null && (w.isOverTarget = !1, I(Sn(w.target, L), w.pointerType, !1), B(L)));
|
|
30002
29999
|
}, G = (L) => {
|
|
30003
30000
|
L.pointerId === w.activePointerId && w.isPressed && L.button === 0 && w.target && (gr(L, w.target) && w.pointerType != null ? I(Sn(w.target, L), w.pointerType) : w.isOverTarget && w.pointerType != null && I(Sn(w.target, L), w.pointerType, !1), w.isPressed = !1, w.isOverTarget = !1, w.activePointerId = null, w.pointerType = null, T(), f || zs(w.target), "ontouchend" in w.target && L.pointerType !== "mouse" && C(w.target, "touchend", M, {
|
|
30004
30001
|
once: !0
|
|
@@ -30026,7 +30023,7 @@ function Am(e) {
|
|
|
30026
30023
|
}, O.onMouseLeave = (M) => {
|
|
30027
30024
|
if (!M.currentTarget.contains(M.target)) return;
|
|
30028
30025
|
let z = !0;
|
|
30029
|
-
w.isPressed && !w.ignoreEmulatedMouseEvents && w.pointerType != null && (w.isOverTarget = !1, z = I(M, w.pointerType, !1),
|
|
30026
|
+
w.isPressed && !w.ignoreEmulatedMouseEvents && w.pointerType != null && (w.isOverTarget = !1, z = I(M, w.pointerType, !1), B(M)), z && M.stopPropagation();
|
|
30030
30027
|
}, O.onMouseUp = (M) => {
|
|
30031
30028
|
M.currentTarget.contains(M.target) && !w.ignoreEmulatedMouseEvents && M.button === 0 && k(M, w.pointerType || "mouse");
|
|
30032
30029
|
};
|
|
@@ -30051,7 +30048,7 @@ function Am(e) {
|
|
|
30051
30048
|
return;
|
|
30052
30049
|
}
|
|
30053
30050
|
let z = _d(M.nativeEvent, w.activePointerId), L = !0;
|
|
30054
|
-
z && gr(z, M.currentTarget) ? !w.isOverTarget && w.pointerType != null && (w.isOverTarget = !0, L = N(_n(w.target, M), w.pointerType)) : w.isOverTarget && w.pointerType != null && (w.isOverTarget = !1, L = I(_n(w.target, M), w.pointerType, !1),
|
|
30051
|
+
z && gr(z, M.currentTarget) ? !w.isOverTarget && w.pointerType != null && (w.isOverTarget = !0, L = N(_n(w.target, M), w.pointerType)) : w.isOverTarget && w.pointerType != null && (w.isOverTarget = !1, L = I(_n(w.target, M), w.pointerType, !1), B(_n(w.target, M))), L && M.stopPropagation();
|
|
30055
30052
|
}, O.onTouchEnd = (M) => {
|
|
30056
30053
|
if (!M.currentTarget.contains(M.target)) return;
|
|
30057
30054
|
if (!w.isPressed) {
|
|
@@ -30084,7 +30081,7 @@ function Am(e) {
|
|
|
30084
30081
|
T,
|
|
30085
30082
|
f,
|
|
30086
30083
|
x,
|
|
30087
|
-
|
|
30084
|
+
B,
|
|
30088
30085
|
I,
|
|
30089
30086
|
N,
|
|
30090
30087
|
k
|
|
@@ -30186,13 +30183,13 @@ let ws = null, Pk = /* @__PURE__ */ new Set(), ts = /* @__PURE__ */ new Map(), t
|
|
|
30186
30183
|
function rl(e, t) {
|
|
30187
30184
|
for (let n of Pk) n(e, t);
|
|
30188
30185
|
}
|
|
30189
|
-
function
|
|
30186
|
+
function Ak(e) {
|
|
30190
30187
|
return !(e.metaKey || !Qn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
30191
30188
|
}
|
|
30192
30189
|
function ua(e) {
|
|
30193
|
-
tr = !0,
|
|
30190
|
+
tr = !0, Ak(e) && (ws = "keyboard", rl("keyboard", e));
|
|
30194
30191
|
}
|
|
30195
|
-
function
|
|
30192
|
+
function At(e) {
|
|
30196
30193
|
ws = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (tr = !0, rl("pointer", e));
|
|
30197
30194
|
}
|
|
30198
30195
|
function $m(e) {
|
|
@@ -30210,7 +30207,7 @@ function Rd(e) {
|
|
|
30210
30207
|
let r = t.HTMLElement.prototype.focus;
|
|
30211
30208
|
t.HTMLElement.prototype.focus = function() {
|
|
30212
30209
|
tr = !0, r.apply(this, arguments);
|
|
30213
|
-
}, n.addEventListener("keydown", ua, !0), n.addEventListener("keyup", ua, !0), n.addEventListener("click", $m, !0), t.addEventListener("focus", Km, !0), t.addEventListener("blur", Hm, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown",
|
|
30210
|
+
}, n.addEventListener("keydown", ua, !0), n.addEventListener("keyup", ua, !0), n.addEventListener("click", $m, !0), t.addEventListener("focus", Km, !0), t.addEventListener("blur", Hm, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", At, !0), n.addEventListener("pointermove", At, !0), n.addEventListener("pointerup", At, !0)) : (n.addEventListener("mousedown", At, !0), n.addEventListener("mousemove", At, !0), n.addEventListener("mouseup", At, !0)), t.addEventListener("beforeunload", () => {
|
|
30214
30211
|
Wm(e);
|
|
30215
30212
|
}, {
|
|
30216
30213
|
once: !0
|
|
@@ -30220,16 +30217,16 @@ function Rd(e) {
|
|
|
30220
30217
|
}
|
|
30221
30218
|
const Wm = (e, t) => {
|
|
30222
30219
|
const n = Xn(e), r = xt(e);
|
|
30223
|
-
t && r.removeEventListener("DOMContentLoaded", t), ts.has(n) && (n.HTMLElement.prototype.focus = ts.get(n).focus, r.removeEventListener("keydown", ua, !0), r.removeEventListener("keyup", ua, !0), r.removeEventListener("click", $m, !0), n.removeEventListener("focus", Km, !0), n.removeEventListener("blur", Hm, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown",
|
|
30220
|
+
t && r.removeEventListener("DOMContentLoaded", t), ts.has(n) && (n.HTMLElement.prototype.focus = ts.get(n).focus, r.removeEventListener("keydown", ua, !0), r.removeEventListener("keyup", ua, !0), r.removeEventListener("click", $m, !0), n.removeEventListener("focus", Km, !0), n.removeEventListener("blur", Hm, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", At, !0), r.removeEventListener("pointermove", At, !0), r.removeEventListener("pointerup", At, !0)) : (r.removeEventListener("mousedown", At, !0), r.removeEventListener("mousemove", At, !0), r.removeEventListener("mouseup", At, !0)), ts.delete(n));
|
|
30224
30221
|
};
|
|
30225
|
-
function
|
|
30222
|
+
function Bk(e) {
|
|
30226
30223
|
const t = xt(e);
|
|
30227
30224
|
let n;
|
|
30228
30225
|
return t.readyState !== "loading" ? Rd(e) : (n = () => {
|
|
30229
30226
|
Rd(e);
|
|
30230
30227
|
}, t.addEventListener("DOMContentLoaded", n)), () => Wm(e, n);
|
|
30231
30228
|
}
|
|
30232
|
-
typeof document < "u" &&
|
|
30229
|
+
typeof document < "u" && Bk();
|
|
30233
30230
|
function Qo() {
|
|
30234
30231
|
return ws;
|
|
30235
30232
|
}
|
|
@@ -30237,7 +30234,7 @@ const Fk = 500;
|
|
|
30237
30234
|
function Vk(e) {
|
|
30238
30235
|
let { isDisabled: t, onLongPressStart: n, onLongPressEnd: r, onLongPress: a, threshold: o = Fk, accessibilityDescription: l } = e;
|
|
30239
30236
|
const c = he(void 0);
|
|
30240
|
-
let { addGlobalListener: p, removeGlobalListener: m } = _m(), { pressProps: f } =
|
|
30237
|
+
let { addGlobalListener: p, removeGlobalListener: m } = _m(), { pressProps: f } = Bm({
|
|
30241
30238
|
isDisabled: t,
|
|
30242
30239
|
onPressStart(h) {
|
|
30243
30240
|
if (h.continuePropagation(), (h.pointerType === "mouse" || h.pointerType === "touch") && (n && n({
|
|
@@ -30632,9 +30629,9 @@ function Zk(e) {
|
|
|
30632
30629
|
t.setFocused(!0), t.setFocusedKey(_), _ == null && !f && ei(r.current);
|
|
30633
30630
|
}
|
|
30634
30631
|
}, []);
|
|
30635
|
-
let
|
|
30632
|
+
let B = he(t.focusedKey);
|
|
30636
30633
|
We(() => {
|
|
30637
|
-
if (t.isFocused && t.focusedKey != null && (t.focusedKey !==
|
|
30634
|
+
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== B.current || x.current) && (g != null && g.current)) {
|
|
30638
30635
|
let _ = Qo(), F = r.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);
|
|
30639
30636
|
if (!F)
|
|
30640
30637
|
return;
|
|
@@ -30642,7 +30639,7 @@ function Zk(e) {
|
|
|
30642
30639
|
containingElement: r.current
|
|
30643
30640
|
}));
|
|
30644
30641
|
}
|
|
30645
|
-
!f && t.isFocused && t.focusedKey == null &&
|
|
30642
|
+
!f && t.isFocused && t.focusedKey == null && B.current != null && ei(r.current), B.current = t.focusedKey, x.current = !1;
|
|
30646
30643
|
}), Dd(r, "react-aria-focus-scope-restore", (_) => {
|
|
30647
30644
|
_.preventDefault(), t.setFocused(!0);
|
|
30648
30645
|
});
|
|
@@ -30700,30 +30697,30 @@ function Xk(e) {
|
|
|
30700
30697
|
} : c && (g.onMouseDown = ($) => {
|
|
30701
30698
|
$.preventDefault();
|
|
30702
30699
|
});
|
|
30703
|
-
let y = t.isLink(n) && f === "override", E = t.isLink(n) && f !== "selection" && f !== "none", C = !c && t.canSelectItem(n) && !y, T = (p || E) && !c, N = T && (t.selectionBehavior === "replace" ? !C : !C || t.isEmpty), I = T && C && t.selectionBehavior === "replace", k = N || I, x = he(null),
|
|
30700
|
+
let y = t.isLink(n) && f === "override", E = t.isLink(n) && f !== "selection" && f !== "none", C = !c && t.canSelectItem(n) && !y, T = (p || E) && !c, N = T && (t.selectionBehavior === "replace" ? !C : !C || t.isEmpty), I = T && C && t.selectionBehavior === "replace", k = N || I, x = he(null), B = k && C, P = he(!1), w = he(!1), O = ($) => {
|
|
30704
30701
|
if (p && p(), E) {
|
|
30705
30702
|
let U = t.getItemProps(n);
|
|
30706
30703
|
u.open(r.current, $, U.href, U.routerOptions);
|
|
30707
30704
|
}
|
|
30708
30705
|
}, _ = {};
|
|
30709
30706
|
a ? (_.onPressStart = ($) => {
|
|
30710
|
-
x.current = $.pointerType, P.current =
|
|
30707
|
+
x.current = $.pointerType, P.current = B, $.pointerType === "keyboard" && (!k || Bd()) && h($);
|
|
30711
30708
|
}, m ? (_.onPressUp = N ? null : ($) => {
|
|
30712
30709
|
$.pointerType !== "keyboard" && C && h($);
|
|
30713
30710
|
}, _.onPress = N ? O : null) : _.onPress = ($) => {
|
|
30714
30711
|
if (N || I && $.pointerType !== "mouse") {
|
|
30715
|
-
if ($.pointerType === "keyboard" && !
|
|
30712
|
+
if ($.pointerType === "keyboard" && !Ad()) return;
|
|
30716
30713
|
O($);
|
|
30717
30714
|
} else $.pointerType !== "keyboard" && C && h($);
|
|
30718
30715
|
}) : (_.onPressStart = ($) => {
|
|
30719
|
-
x.current = $.pointerType, P.current =
|
|
30716
|
+
x.current = $.pointerType, P.current = B, w.current = N, C && ($.pointerType === "mouse" && !N || $.pointerType === "keyboard" && (!T || Bd())) && h($);
|
|
30720
30717
|
}, _.onPress = ($) => {
|
|
30721
|
-
($.pointerType === "touch" || $.pointerType === "pen" || $.pointerType === "virtual" || $.pointerType === "keyboard" && k &&
|
|
30718
|
+
($.pointerType === "touch" || $.pointerType === "pen" || $.pointerType === "virtual" || $.pointerType === "keyboard" && k && Ad() || $.pointerType === "mouse" && w.current) && (k ? O($) : C && h($));
|
|
30722
30719
|
}), g["data-key"] = n, _.preventFocusOnPress = o;
|
|
30723
|
-
let { pressProps: F, isPressed: G } =
|
|
30720
|
+
let { pressProps: F, isPressed: G } = Bm(_), M = I ? ($) => {
|
|
30724
30721
|
x.current === "mouse" && ($.stopPropagation(), $.preventDefault(), O($));
|
|
30725
30722
|
} : void 0, { longPressProps: z } = Vk({
|
|
30726
|
-
isDisabled: !
|
|
30723
|
+
isDisabled: !B,
|
|
30727
30724
|
onLongPress($) {
|
|
30728
30725
|
$.pointerType === "touch" && (h($), t.setSelectionBehavior("toggle"));
|
|
30729
30726
|
}
|
|
@@ -30733,7 +30730,7 @@ function Xk(e) {
|
|
|
30733
30730
|
er.isOpening || $.preventDefault();
|
|
30734
30731
|
} : void 0;
|
|
30735
30732
|
return {
|
|
30736
|
-
itemProps: $n(g, C || N ? F : {},
|
|
30733
|
+
itemProps: $n(g, C || N ? F : {}, B ? z : {}, {
|
|
30737
30734
|
onDoubleClick: M,
|
|
30738
30735
|
onDragStartCapture: L,
|
|
30739
30736
|
onClick: Q
|
|
@@ -30746,11 +30743,11 @@ function Xk(e) {
|
|
|
30746
30743
|
hasAction: k
|
|
30747
30744
|
};
|
|
30748
30745
|
}
|
|
30749
|
-
function
|
|
30746
|
+
function Ad() {
|
|
30750
30747
|
let e = window.event;
|
|
30751
30748
|
return (e == null ? void 0 : e.key) === "Enter";
|
|
30752
30749
|
}
|
|
30753
|
-
function
|
|
30750
|
+
function Bd() {
|
|
30754
30751
|
let e = window.event;
|
|
30755
30752
|
return (e == null ? void 0 : e.key) === " " || (e == null ? void 0 : e.code) === "Space";
|
|
30756
30753
|
}
|
|
@@ -31275,7 +31272,7 @@ class iI {
|
|
|
31275
31272
|
function lI(e) {
|
|
31276
31273
|
let { filter: t, layoutDelegate: n } = e, r = oI(e), a = Qe(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
31277
31274
|
e.disabledKeys
|
|
31278
|
-
]), o =
|
|
31275
|
+
]), o = Bt((f) => t ? new Fd(t(f)) : new Fd(f), [
|
|
31279
31276
|
t
|
|
31280
31277
|
]), l = Qe(() => ({
|
|
31281
31278
|
suppressTextValueWarning: e.suppressTextValueWarning
|
|
@@ -31305,10 +31302,10 @@ function lI(e) {
|
|
|
31305
31302
|
var f, u;
|
|
31306
31303
|
const k = ((f = N == null ? void 0 : N.length) !== null && f !== void 0 ? f : 0) - ((u = I == null ? void 0 : I.length) !== null && u !== void 0 ? u : 0);
|
|
31307
31304
|
var h, g, y;
|
|
31308
|
-
let x = Math.min(k > 1 ? Math.max(((h = T == null ? void 0 : T.index) !== null && h !== void 0 ? h : 0) - k + 1, 0) : (g = T == null ? void 0 : T.index) !== null && g !== void 0 ? g : 0, ((y = I == null ? void 0 : I.length) !== null && y !== void 0 ? y : 0) - 1),
|
|
31305
|
+
let x = Math.min(k > 1 ? Math.max(((h = T == null ? void 0 : T.index) !== null && h !== void 0 ? h : 0) - k + 1, 0) : (g = T == null ? void 0 : T.index) !== null && g !== void 0 ? g : 0, ((y = I == null ? void 0 : I.length) !== null && y !== void 0 ? y : 0) - 1), B = null, P = !1;
|
|
31309
31306
|
for (; x >= 0; ) {
|
|
31310
31307
|
if (!p.isDisabled(I[x].key)) {
|
|
31311
|
-
|
|
31308
|
+
B = I[x];
|
|
31312
31309
|
break;
|
|
31313
31310
|
}
|
|
31314
31311
|
if (x < I.length - 1 && !P) x++;
|
|
@@ -31318,7 +31315,7 @@ function lI(e) {
|
|
|
31318
31315
|
x > ((E = T == null ? void 0 : T.index) !== null && E !== void 0 ? E : 0) && (x = (C = T == null ? void 0 : T.index) !== null && C !== void 0 ? C : 0), x--;
|
|
31319
31316
|
}
|
|
31320
31317
|
}
|
|
31321
|
-
r.setFocusedKey(
|
|
31318
|
+
r.setFocusedKey(B ? B.key : null);
|
|
31322
31319
|
}
|
|
31323
31320
|
m.current = c;
|
|
31324
31321
|
}, [
|
|
@@ -32165,7 +32162,7 @@ function ef(e) {
|
|
|
32165
32162
|
function x() {
|
|
32166
32163
|
k(), E(!1), g(!1), o && o();
|
|
32167
32164
|
}
|
|
32168
|
-
const
|
|
32165
|
+
const B = a === Mo.PROGRESS ? "sps-spinner" : H("sps-icon", `sps-icon-${ib.get(a)}`), P = H(
|
|
32169
32166
|
p || "sps-growler",
|
|
32170
32167
|
h && "show",
|
|
32171
32168
|
y && "fade",
|
|
@@ -32184,7 +32181,7 @@ function ef(e) {
|
|
|
32184
32181
|
onMouseLeave: N,
|
|
32185
32182
|
...m
|
|
32186
32183
|
},
|
|
32187
|
-
/* @__PURE__ */ s.createElement("div", { className: "sps-growler__icon-box" }, r && /* @__PURE__ */ s.createElement("img", { src: r, alt: "" }), !r && /* @__PURE__ */ s.createElement("i", { className:
|
|
32184
|
+
/* @__PURE__ */ s.createElement("div", { className: "sps-growler__icon-box" }, r && /* @__PURE__ */ s.createElement("img", { src: r, alt: "" }), !r && /* @__PURE__ */ s.createElement("i", { className: B, "aria-hidden": "true" })),
|
|
32188
32185
|
/* @__PURE__ */ s.createElement("div", { className: "sps-growler__message-box" }, /* @__PURE__ */ s.createElement("div", { className: "sps-growler__message-box-text" }, c && /* @__PURE__ */ s.createElement("span", { className: "sps-growler__message-box-title d-block" }, c), /* @__PURE__ */ s.createElement("div", { className: "sps-growler__message-box-subtitle" }, t)), /* @__PURE__ */ s.createElement(
|
|
32189
32186
|
"button",
|
|
32190
32187
|
{
|
|
@@ -32846,12 +32843,12 @@ function tf(e) {
|
|
|
32846
32843
|
Object.assign(tf, {
|
|
32847
32844
|
displayName: "SpsTabs"
|
|
32848
32845
|
});
|
|
32849
|
-
const
|
|
32846
|
+
const AI = {
|
|
32850
32847
|
resultsCount: "number",
|
|
32851
32848
|
totalResults: "number",
|
|
32852
32849
|
onClear: "() => void"
|
|
32853
32850
|
};
|
|
32854
|
-
function
|
|
32851
|
+
function BI(e) {
|
|
32855
32852
|
const {
|
|
32856
32853
|
children: t,
|
|
32857
32854
|
className: n,
|
|
@@ -32871,8 +32868,8 @@ function AI(e) {
|
|
|
32871
32868
|
] = m("design-system:searchResultsBar.count", { count: r, total: a }).split(" ");
|
|
32872
32869
|
return /* @__PURE__ */ s.createElement("div", { className: f, "data-testid": `${l}`, ...p }, /* @__PURE__ */ s.createElement("span", { className: "sps-search-results-bar__label", "data-testid": `${l}__label` }, m("design-system:searchResultsBar.matchingResults")), u && !Number.isNaN(Number(u)) && /* @__PURE__ */ s.createElement("span", { className: "sps-search-results-bar__count", "data-testid": `${l}__count` }, /* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-double-angle-right" }), /* @__PURE__ */ s.createElement("span", null, u)), g && !Number.isNaN(Number(g)) && /* @__PURE__ */ s.createElement("span", { className: "sps-search-results-bar__total", "data-testid": `${l}__total` }, h, " ", g), /* @__PURE__ */ s.createElement("div", { className: "sps-search-results-bar__buttons", "data-testid": `${l}__button` }, /* @__PURE__ */ s.createElement("button", { type: "button", onClick: o }, m("design-system:searchResultsBar.clear"))));
|
|
32873
32870
|
}
|
|
32874
|
-
Object.assign(
|
|
32875
|
-
props:
|
|
32871
|
+
Object.assign(BI, {
|
|
32872
|
+
props: AI,
|
|
32876
32873
|
displayName: "SpsSearchResultsBar"
|
|
32877
32874
|
});
|
|
32878
32875
|
const FI = {
|
|
@@ -33212,10 +33209,10 @@ function HI(e) {
|
|
|
33212
33209
|
...N
|
|
33213
33210
|
} = e, { t: I } = s.useContext(Ge);
|
|
33214
33211
|
let k = null;
|
|
33215
|
-
const [x,
|
|
33212
|
+
const [x, B] = s.useState(!1), P = s.useRef(null), w = s.useRef(null), O = XS(() => {
|
|
33216
33213
|
if (P.current && C) {
|
|
33217
33214
|
const ne = P.current.getBoundingClientRect();
|
|
33218
|
-
ne && ne.height > 0 && ne.top <= 60 && (typeof k == "number" ? window.scrollY < k && (k = null,
|
|
33215
|
+
ne && ne.height > 0 && ne.top <= 60 && (typeof k == "number" ? window.scrollY < k && (k = null, B(!1)) : (k = window.scrollY, B(!0), o && o(!1)));
|
|
33219
33216
|
}
|
|
33220
33217
|
});
|
|
33221
33218
|
s.useEffect(() => (window.addEventListener("scroll", O), () => {
|
|
@@ -33327,7 +33324,7 @@ function GI(e) {
|
|
|
33327
33324
|
o
|
|
33328
33325
|
);
|
|
33329
33326
|
return /* @__PURE__ */ s.createElement(
|
|
33330
|
-
|
|
33327
|
+
Ar,
|
|
33331
33328
|
{
|
|
33332
33329
|
className: p,
|
|
33333
33330
|
icon: (a == null ? void 0 : a.icon) || (r == null ? void 0 : r.icon),
|
|
@@ -33355,7 +33352,7 @@ function YI() {
|
|
|
33355
33352
|
alt: "A List Toolbar with labels on each section",
|
|
33356
33353
|
className: "w-100 mb-3"
|
|
33357
33354
|
}
|
|
33358
|
-
), /* @__PURE__ */ s.createElement(
|
|
33355
|
+
), /* @__PURE__ */ s.createElement(Br, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ft, { style: { width: "80px" } }, "Order"), /* @__PURE__ */ s.createElement(ft, null, "Section"), /* @__PURE__ */ s.createElement(ft, null, "Notes")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(ce, null, "Checkbox"), /* @__PURE__ */ s.createElement(ce, null, "For Content Rows and Content Tiles only.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(ce, null, "Search/Filter Box"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(ce, null, "Saved Search"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(ce, null, "Advanced Search"), /* @__PURE__ */ s.createElement(ce, null, "For more information, visit the Advanced Search page.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(ce, null, "Column Editor"), /* @__PURE__ */ s.createElement(ce, { wrap: 500 }, "Use for Tables only. For more information, visit the Column Editor page.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "6")), /* @__PURE__ */ s.createElement(ce, null, "List View Selector"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "7")), /* @__PURE__ */ s.createElement(ce, null, "Sorting"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "8")), /* @__PURE__ */ s.createElement(ce, null, "Buttons"), /* @__PURE__ */ s.createElement(ce, { wrap: 500 }, "Buttons always appear in the rightmost section of the List Toolbar. For the ordering of Buttons, refer to the Button Groups section on the Buttons page."))))));
|
|
33359
33356
|
}
|
|
33360
33357
|
const r0 = {
|
|
33361
33358
|
general: {
|
|
@@ -34759,7 +34756,7 @@ const l0 = {
|
|
|
34759
34756
|
alt: "A Progress Bar with labels on each section",
|
|
34760
34757
|
className: "w-100 mb-3"
|
|
34761
34758
|
}
|
|
34762
|
-
), /* @__PURE__ */ s.createElement(
|
|
34759
|
+
), /* @__PURE__ */ s.createElement(Br, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ft, null, "Section"), /* @__PURE__ */ s.createElement(ft, null, "Content Type"), /* @__PURE__ */ s.createElement(ft, null, "Required"), /* @__PURE__ */ s.createElement(ft, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(ce, null, "Title"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(ce, null, "Progress Meter"), /* @__PURE__ */ s.createElement(ce, null, "Yes"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(ce, null, "Progress Counter"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "The Progress Counter should not be used without the existence of a Title.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(ce, null, "Clear Button"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "If the process requires the option to be cancelled or removed from a list the clear button can be used.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(ce, null, "Progress Details"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "Progress Details provide more context for the user and are especially useful when the process includes multiple steps."))))),
|
|
34763
34760
|
examples: {
|
|
34764
34761
|
standard: {
|
|
34765
34762
|
label: "Building Standard Progress Bars",
|
|
@@ -35086,7 +35083,7 @@ const p0 = {
|
|
|
35086
35083
|
alt: "A Progress Bar with labels on each section",
|
|
35087
35084
|
className: "w-100 mb-3"
|
|
35088
35085
|
}
|
|
35089
|
-
), /* @__PURE__ */ s.createElement(
|
|
35086
|
+
), /* @__PURE__ */ s.createElement(Br, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ft, null, "Section"), /* @__PURE__ */ s.createElement(ft, null, "Content Type"), /* @__PURE__ */ s.createElement(ft, null, "Required"), /* @__PURE__ */ s.createElement(ft, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(ce, null, "Title"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "Use the Title when it provides necessary or helpful detail about the file or action that is being processed.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(ce, null, "Progress Meter"), /* @__PURE__ */ s.createElement(ce, null, "Yes"), /* @__PURE__ */ s.createElement(ce, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(ce, null, "Progress Counter"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "The Progress Counter should not be used without the existence of a Title.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(ce, null, "Step icons"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "Icons can be set inside of steps for visual emphasis.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(ce, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(ce, null, "Step Tooltips"), /* @__PURE__ */ s.createElement(ce, null, "No"), /* @__PURE__ */ s.createElement(ce, { wrap: 400 }, "Tooltips can be utilized to provide more details about each specific step. Tooltips can be exposed on click or hover."))))),
|
|
35090
35087
|
examples: {
|
|
35091
35088
|
standard: {
|
|
35092
35089
|
description: () => /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("h4", null, "Building Stepped Progress Bars"), /* @__PURE__ */ s.createElement("p", null, "The Stepped Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements.")),
|
|
@@ -35903,12 +35900,12 @@ export {
|
|
|
35903
35900
|
WM as SpsAddRemoveFormRowExamples,
|
|
35904
35901
|
yI as SpsAdvancedSearch,
|
|
35905
35902
|
jM as SpsAdvancedSearchExamples,
|
|
35906
|
-
|
|
35903
|
+
AM as SpsApp,
|
|
35907
35904
|
vn as SpsAutocomplete,
|
|
35908
35905
|
Tv as SpsAutocompleteExamples,
|
|
35909
35906
|
qe as SpsButton,
|
|
35910
35907
|
GM as SpsButtonExamples,
|
|
35911
|
-
|
|
35908
|
+
BN as SpsButtonGroup,
|
|
35912
35909
|
Tu as SpsCard,
|
|
35913
35910
|
Eu as SpsCardTabbedPane,
|
|
35914
35911
|
gI as SpsCardV2,
|
|
@@ -35922,9 +35919,9 @@ export {
|
|
|
35922
35919
|
Nv as SpsClickableTagExamples,
|
|
35923
35920
|
Du as SpsColumnChooser,
|
|
35924
35921
|
$i as SpsColumnChooserColumn,
|
|
35925
|
-
|
|
35922
|
+
AD as SpsColumnChooserExamples,
|
|
35926
35923
|
vm as SpsConditionalField,
|
|
35927
|
-
|
|
35924
|
+
Ax as SpsConditionalFieldExamples,
|
|
35928
35925
|
Nu as SpsContentRow,
|
|
35929
35926
|
Tr as SpsContentRowCol,
|
|
35930
35927
|
KD as SpsContentRowExamples,
|
|
@@ -35946,7 +35943,7 @@ export {
|
|
|
35946
35943
|
uN as SpsDescriptionListExamples,
|
|
35947
35944
|
Gi as SpsDescriptionListTerm,
|
|
35948
35945
|
lN as SpsDl,
|
|
35949
|
-
|
|
35946
|
+
Ar as SpsDropdown,
|
|
35950
35947
|
hN as SpsDropdownExamples,
|
|
35951
35948
|
pN as SpsDt,
|
|
35952
35949
|
fm as SpsFeedbackBlock,
|
|
@@ -35976,7 +35973,7 @@ export {
|
|
|
35976
35973
|
QM as SpsGrowlerExamples,
|
|
35977
35974
|
sn as SpsI,
|
|
35978
35975
|
$N as SpsIconButtonPanel,
|
|
35979
|
-
|
|
35976
|
+
Au as SpsIncrementor,
|
|
35980
35977
|
yN as SpsIncrementorExamples,
|
|
35981
35978
|
ps as SpsInputGroup,
|
|
35982
35979
|
II as SpsInsightTile,
|
|
@@ -35985,7 +35982,7 @@ export {
|
|
|
35985
35982
|
RI as SpsKeyValueListItem,
|
|
35986
35983
|
PI as SpsKeyValueTag,
|
|
35987
35984
|
t0 as SpsKeyValueTagExamples,
|
|
35988
|
-
|
|
35985
|
+
Bu as SpsLabel,
|
|
35989
35986
|
TN as SpsLabelExamples,
|
|
35990
35987
|
Fu as SpsListActionBar,
|
|
35991
35988
|
HN as SpsListActionBarExamples,
|
|
@@ -36019,7 +36016,7 @@ export {
|
|
|
36019
36016
|
Zu as SpsRadioButton,
|
|
36020
36017
|
tx as SpsRadioButtonExamples,
|
|
36021
36018
|
rM as SpsScrollableContainer,
|
|
36022
|
-
|
|
36019
|
+
BI as SpsSearchResultsBar,
|
|
36023
36020
|
n0 as SpsSearchResultsBarExamples,
|
|
36024
36021
|
nf as SpsSearchResultsBarV2,
|
|
36025
36022
|
_r as SpsSelect,
|
|
@@ -36044,7 +36041,7 @@ export {
|
|
|
36044
36041
|
em as SpsSummaryListRow,
|
|
36045
36042
|
rI as SpsTab,
|
|
36046
36043
|
sI as SpsTabPanel,
|
|
36047
|
-
|
|
36044
|
+
Br as SpsTable,
|
|
36048
36045
|
or as SpsTableBody,
|
|
36049
36046
|
ce as SpsTableCell,
|
|
36050
36047
|
KN as SpsTableExamples,
|
|
@@ -36095,7 +36092,7 @@ export {
|
|
|
36095
36092
|
Le as TooltipVisibility,
|
|
36096
36093
|
bn as ValidationMode,
|
|
36097
36094
|
Pb as addOnChangeErrorKey,
|
|
36098
|
-
|
|
36095
|
+
Ab as addOnSubmitErrorKey,
|
|
36099
36096
|
PM as bindProps,
|
|
36100
36097
|
kt as contentOf,
|
|
36101
36098
|
ea as date,
|
|
@@ -36109,7 +36106,7 @@ export {
|
|
|
36109
36106
|
wu as getMember,
|
|
36110
36107
|
xr as getPosition,
|
|
36111
36108
|
Qd as letterAndNumberKeys,
|
|
36112
|
-
|
|
36109
|
+
BM as resetServerContext,
|
|
36113
36110
|
Jt as selectChildren,
|
|
36114
36111
|
Hb as setDateFormat,
|
|
36115
36112
|
wo as toggleTooltipState,
|