@spscommerce/ds-react 8.19.8 → 8.19.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +43 -0
- package/lib/index.es.js +433 -381
- package/package.json +12 -12
package/lib/index.es.js
CHANGED
|
@@ -6,15 +6,15 @@ var $S = (e, t, n) => t in e ? VS(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Gt = (e, t, n) => $S(e, typeof t != "symbol" ? t + "" : t, n), Gl = (e, t, n) => t.has(e) || Wl("Cannot " + n);
|
|
7
7
|
var Gn = (e, t, n) => (Gl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Bs = (e, t, n) => t.has(e) ? Wl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), gn = (e, t, n, r) => (Gl(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 Z, { useRef as fe, useEffect as We, useState as
|
|
10
|
-
import { getPath as Jr, setPath as KS, deepFreeze as Yl, diff as HS, DiffChange as Yn, debounce as WS, flatten as GS, code as y, crumblePath as YS, traversePath as US, forEachNestedObject as
|
|
9
|
+
import Z, { useRef as fe, useEffect as We, useState as je, useCallback as Bt, useMemo as tt, createContext as Vd, useContext as nn, useReducer as ti, useLayoutEffect as $d } from "react";
|
|
10
|
+
import { getPath as Jr, setPath as KS, deepFreeze as Yl, diff as HS, DiffChange as Yn, debounce as WS, flatten as GS, code as y, crumblePath as YS, traversePath as US, forEachNestedObject as zS, constrain as jS, lockToAnimationFrames as qS } from "@spscommerce/utils";
|
|
11
11
|
import * as Cr from "moment-timezone";
|
|
12
12
|
import gt from "moment-timezone";
|
|
13
|
-
import { noI18nI18n as JS, SpinnerSize as ZS, Position as Ee, ZStratum as XS, SpsOptionListOption as xo, ClickableTagKind as QS, SpsIcon as rt, ButtonKind as Xe, ButtonType as ko, TagKind as Dr, SpsIconSize as ma, TooltipShowTrigger as Ct, TOOLTIP_HIDE_DELAY_MS_DEFAULT as eb, TooltipKind as en, SPS_ACTION_DEFAULTS as Kd, DropdownKind as
|
|
13
|
+
import { noI18nI18n as JS, SpinnerSize as ZS, Position as Ee, ZStratum as XS, SpsOptionListOption as xo, ClickableTagKind as QS, SpsIcon as rt, ButtonKind as Xe, ButtonType as ko, TagKind as Dr, SpsIconSize as ma, TooltipShowTrigger as Ct, TOOLTIP_HIDE_DELAY_MS_DEFAULT as eb, TooltipKind as en, SPS_ACTION_DEFAULTS as Kd, DropdownKind as za, SortDirection as Qt, FeedbackBlockKind as Hd, FeedbackBlockIcons as Wd, ModalKind as Ul, ModalSize as tb, DEFAULT_PAGE_SIZE_OPTIONS as nb, StdButtonKind as rb, SpsTaskStatus as As, TASK_QUEUE_NOTIFICATION_DURATION_MS as zl, SpsTaskStatusIcons as jl, RingSize as Gd, WizardSubstepConditions as ql, GrowlerKind as Io, GrowlerIcon as sb, GROWLER_VISIBLE_DURATION_MS as Jl, GROWLER_FADEOUT_DURATION_MS as ab, SpsInsightTileIcons as ob, KeyValueListTitleColor as ib, SteppedProgressBarColor as lb, SpsFilterTileKind as cb } from "@spscommerce/ds-shared";
|
|
14
14
|
import db, { createPortal as pb, unstable_batchedUpdates as ub, flushSync as mb } from "react-dom";
|
|
15
15
|
import { colors as Mo } from "@spscommerce/ds-colors";
|
|
16
16
|
import { Tabs as fb } from "@sps-woodland/tabs";
|
|
17
|
-
import { compareNodeOrder as
|
|
17
|
+
import { compareNodeOrder as ja, getFirstItem as hb, getChildNodes as gb, useCollection as Sb } from "@react-stately/collections";
|
|
18
18
|
import { BUILDING_SMALL as bb, BUILDING_LARGE as vb } from "@sps-woodland/illustrations";
|
|
19
19
|
function Yd(e) {
|
|
20
20
|
var t, n, r = "";
|
|
@@ -59,7 +59,7 @@ function Eb(e, t) {
|
|
|
59
59
|
return e(t(n));
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
var wb = Function.prototype, Ud = Object.prototype,
|
|
62
|
+
var wb = Function.prototype, Ud = Object.prototype, zd = wb.toString, Cb = Ud.hasOwnProperty, Db = zd.call(Object), Nb = Ud.toString, xb = Eb(Object.getPrototypeOf, Object);
|
|
63
63
|
function kb(e) {
|
|
64
64
|
return !!e && typeof e == "object";
|
|
65
65
|
}
|
|
@@ -70,10 +70,10 @@ function Ib(e) {
|
|
|
70
70
|
if (t === null)
|
|
71
71
|
return !0;
|
|
72
72
|
var n = Cb.call(t, "constructor") && t.constructor;
|
|
73
|
-
return typeof n == "function" && n instanceof n &&
|
|
73
|
+
return typeof n == "function" && n instanceof n && zd.call(n) == Db;
|
|
74
74
|
}
|
|
75
75
|
var Mb = Ib;
|
|
76
|
-
const
|
|
76
|
+
const jd = /* @__PURE__ */ ni(Mb), Vt = /* @__PURE__ */ new Set(), us = /* @__PURE__ */ new Set(), Tn = /* @__PURE__ */ new Set(), ri = /* @__PURE__ */ new Set();
|
|
77
77
|
function _b(e) {
|
|
78
78
|
Vt.has(e) || Tn.has(e) || ri.has(e) || us.add(e);
|
|
79
79
|
}
|
|
@@ -407,14 +407,14 @@ const Ub = function(t) {
|
|
|
407
407
|
return (r) => n(r);
|
|
408
408
|
};
|
|
409
409
|
Vt.add("minLengthArray");
|
|
410
|
-
const
|
|
410
|
+
const zb = function(t) {
|
|
411
411
|
function n(r) {
|
|
412
412
|
return r === void 0 || r.toString().length <= t ? null : { maxLength: t };
|
|
413
413
|
}
|
|
414
414
|
return (r) => En(r, n);
|
|
415
415
|
};
|
|
416
416
|
Tn.add("maxLength");
|
|
417
|
-
const
|
|
417
|
+
const jb = function(t) {
|
|
418
418
|
function n(r) {
|
|
419
419
|
return r == null || Array.isArray(r) && r.length <= t ? null : { maxLengthArray: t };
|
|
420
420
|
}
|
|
@@ -464,8 +464,8 @@ const si = Object.freeze({
|
|
|
464
464
|
required: Gb,
|
|
465
465
|
minLength: Yb,
|
|
466
466
|
minLengthArray: Ub,
|
|
467
|
-
maxLength:
|
|
468
|
-
maxLengthArray:
|
|
467
|
+
maxLength: zb,
|
|
468
|
+
maxLengthArray: jb,
|
|
469
469
|
pattern: qb,
|
|
470
470
|
alpha: Jb,
|
|
471
471
|
numeric: Zb,
|
|
@@ -649,7 +649,7 @@ class tv extends Tr {
|
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
function qs(e, t, n) {
|
|
652
|
-
return e instanceof yr ? (e.path = t, e.update = n, e) : Array.isArray(e) ? new tv(e, t, n) :
|
|
652
|
+
return e instanceof yr ? (e.path = t, e.update = n, e) : Array.isArray(e) ? new tv(e, t, n) : jd(e) ? new ev(e, t, n) : new ea(t, n);
|
|
653
653
|
}
|
|
654
654
|
function Zr(e, t) {
|
|
655
655
|
return t.length === 0 || !e ? e : Zr(e.fields[t[0]], t.slice(1, t.length));
|
|
@@ -681,7 +681,7 @@ function Fs(e, t, n, r = !1, a = !1) {
|
|
|
681
681
|
}
|
|
682
682
|
function Po(e, t) {
|
|
683
683
|
const n = t[0];
|
|
684
|
-
return t = t.slice(1), Array.isArray(e) ? e.map((r, a) => a === Number(n) ? Po(r, t) : r) :
|
|
684
|
+
return t = t.slice(1), Array.isArray(e) ? e.map((r, a) => a === Number(n) ? Po(r, t) : r) : jd(e) ? Object.keys(e).reduce(
|
|
685
685
|
(r, a) => Object.assign(r, {
|
|
686
686
|
[a]: a === n ? Po(e[a], t) : e[a]
|
|
687
687
|
}),
|
|
@@ -694,7 +694,7 @@ function nv(e) {
|
|
|
694
694
|
}
|
|
695
695
|
function rv(e, t = {}) {
|
|
696
696
|
nv(e);
|
|
697
|
-
const [, n] =
|
|
697
|
+
const [, n] = je({}), r = fe(!1);
|
|
698
698
|
r.current = !1;
|
|
699
699
|
const a = fe(t), o = Bt((h) => {
|
|
700
700
|
var E, T;
|
|
@@ -939,12 +939,12 @@ var Ql = function(e, t) {
|
|
|
939
939
|
g != null && g === document.body && qa(g) && !qa(document.documentElement) || g != null && qa(g, c) && h.push(g);
|
|
940
940
|
}
|
|
941
941
|
for (var v = n.visualViewport ? n.visualViewport.width : innerWidth, E = n.visualViewport ? n.visualViewport.height : innerHeight, T = window.scrollX || pageXOffset, w = window.scrollY || pageYOffset, N = e.getBoundingClientRect(), I = N.height, x = N.width, k = N.top, A = N.right, L = N.bottom, C = N.left, O = a === "start" || a === "nearest" ? k : a === "end" ? L : k + I / 2, _ = o === "center" ? C + x / 2 : o === "end" ? A : C, V = [], U = 0; U < h.length; U++) {
|
|
942
|
-
var M = h[U], W = M.getBoundingClientRect(), H = W.height, Y = W.width, $ = W.top,
|
|
943
|
-
if (r === "if-needed" && k >= 0 && C >= 0 && L <= E && A <= v && k >= $ && L <= ne && C >= R && A <=
|
|
942
|
+
var M = h[U], W = M.getBoundingClientRect(), H = W.height, Y = W.width, $ = W.top, j = W.right, ne = W.bottom, R = W.left;
|
|
943
|
+
if (r === "if-needed" && k >= 0 && C >= 0 && L <= E && A <= v && k >= $ && L <= ne && C >= R && A <= j) return V;
|
|
944
944
|
var G = getComputedStyle(M), ee = parseInt(G.borderLeftWidth, 10), Q = parseInt(G.borderTopWidth, 10), ie = parseInt(G.borderRightWidth, 10), P = parseInt(G.borderBottomWidth, 10), q = 0, J = 0, te = "offsetWidth" in M ? M.offsetWidth - M.clientWidth - ee - ie : 0, ae = "offsetHeight" in M ? M.offsetHeight - M.clientHeight - Q - P : 0, le = "offsetWidth" in M ? M.offsetWidth === 0 ? 0 : Y / M.offsetWidth : 0, se = "offsetHeight" in M ? M.offsetHeight === 0 ? 0 : H / M.offsetHeight : 0;
|
|
945
945
|
if (u === M) q = a === "start" ? O : a === "end" ? O - E : a === "nearest" ? Vs(w, w + E, E, Q, P, w + O, w + O + I, I) : O - E / 2, J = o === "start" ? _ : o === "center" ? _ - v / 2 : o === "end" ? _ - v : Vs(T, T + v, v, ee, ie, T + _, T + _ + x, x), q = Math.max(0, q + w), J = Math.max(0, J + T);
|
|
946
946
|
else {
|
|
947
|
-
q = a === "start" ? O - $ - Q : a === "end" ? O - ne + P + ae : a === "nearest" ? Vs($, ne, H, Q, P + ae, O, O + I, I) : O - ($ + H / 2) + ae / 2, J = o === "start" ? _ - R - ee : o === "center" ? _ - (R + Y / 2) + te / 2 : o === "end" ? _ -
|
|
947
|
+
q = a === "start" ? O - $ - Q : a === "end" ? O - ne + P + ae : a === "nearest" ? Vs($, ne, H, Q, P + ae, O, O + I, I) : O - ($ + H / 2) + ae / 2, J = o === "start" ? _ - R - ee : o === "center" ? _ - (R + Y / 2) + te / 2 : o === "end" ? _ - j + ie + te : Vs(R, j, Y, ee, ie + te, _, _ + x, x);
|
|
948
948
|
var re = M.scrollLeft, we = M.scrollTop;
|
|
949
949
|
O += we - (q = Math.max(0, Math.min(we + q / se, M.scrollHeight - H / se + ae))), _ += re - (J = Math.max(0, Math.min(re + J / le, M.scrollWidth - Y / le + te)));
|
|
950
950
|
}
|
|
@@ -1432,7 +1432,7 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1432
1432
|
selectedOption: H,
|
|
1433
1433
|
specialAction: Y,
|
|
1434
1434
|
unsafelyReplaceClassName: $,
|
|
1435
|
-
loading:
|
|
1435
|
+
loading: j,
|
|
1436
1436
|
filterByTextAndCaptionKey: ne,
|
|
1437
1437
|
maxHeightPx: R,
|
|
1438
1438
|
maxHeightRem: G,
|
|
@@ -1619,9 +1619,9 @@ const fs = s.forwardRef((e, t) => {
|
|
|
1619
1619
|
"data-testid": `${ie}-options`,
|
|
1620
1620
|
style: Vn
|
|
1621
1621
|
},
|
|
1622
|
-
!
|
|
1623
|
-
(
|
|
1624
|
-
!
|
|
1622
|
+
!j && !ke.pending && m && Fe.length === 0 && /* @__PURE__ */ s.createElement("div", { className: "sps-option-list__zero-state" }, m),
|
|
1623
|
+
(j || ke.pending) && /* @__PURE__ */ s.createElement("div", { className: "sps-option-list__loading" }, /* @__PURE__ */ s.createElement(Jd, null)),
|
|
1624
|
+
!j && !ke.pending && Fe.map((Se, ye) => {
|
|
1625
1625
|
const Je = `${I}-option-${ye}`, Kt = hv(Se.value, H, r), $n = tc(
|
|
1626
1626
|
Ne.current,
|
|
1627
1627
|
r || "",
|
|
@@ -1885,14 +1885,14 @@ function vn({
|
|
|
1885
1885
|
doShowPopup: Y,
|
|
1886
1886
|
doHidePopup: $
|
|
1887
1887
|
} = hs(U, W);
|
|
1888
|
-
function
|
|
1888
|
+
function j(P, q, J = !1) {
|
|
1889
1889
|
L && (L.setValue(P), L.markAsDirty()), l && J ? l(P) : o && o(q || new rr({ value: P }));
|
|
1890
1890
|
}
|
|
1891
1891
|
function ne(P) {
|
|
1892
|
-
M.current && (M.current.value = "",
|
|
1892
|
+
M.current && (M.current.value = "", j("")), P.stopPropagation();
|
|
1893
1893
|
}
|
|
1894
1894
|
function R(P) {
|
|
1895
|
-
|
|
1895
|
+
j(P.target.value, P);
|
|
1896
1896
|
}
|
|
1897
1897
|
function G(P) {
|
|
1898
1898
|
n || ([
|
|
@@ -1974,7 +1974,7 @@ function vn({
|
|
|
1974
1974
|
keyDown: _.keyDown,
|
|
1975
1975
|
onOptionSelected: (P) => {
|
|
1976
1976
|
var q;
|
|
1977
|
-
|
|
1977
|
+
j(P, void 0, !0), x && ((q = M.current) == null || q.focus());
|
|
1978
1978
|
},
|
|
1979
1979
|
onPositionFlip: Q,
|
|
1980
1980
|
onSelfToggle: ee,
|
|
@@ -2673,7 +2673,7 @@ function Mv(e) {
|
|
|
2673
2673
|
function _v(e) {
|
|
2674
2674
|
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function jn(e) {
|
|
2677
2677
|
var t = typeof e;
|
|
2678
2678
|
return process.env.NODE_ENV !== "production" && (t = kv(e)), t;
|
|
2679
2679
|
}
|
|
@@ -2683,11 +2683,11 @@ function np(e, t, n) {
|
|
|
2683
2683
|
throw new Error(process.env.NODE_ENV === "production" ? Nt(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
2684
2684
|
if (typeof t == "function" && typeof n > "u" && (n = t, t = void 0), typeof n < "u") {
|
|
2685
2685
|
if (typeof n != "function")
|
|
2686
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(1) : "Expected the enhancer to be a function. Instead, received: '" +
|
|
2686
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(1) : "Expected the enhancer to be a function. Instead, received: '" + jn(n) + "'");
|
|
2687
2687
|
return n(np)(e, t);
|
|
2688
2688
|
}
|
|
2689
2689
|
if (typeof e != "function")
|
|
2690
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(2) : "Expected the root reducer to be a function. Instead, received: '" +
|
|
2690
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(2) : "Expected the root reducer to be a function. Instead, received: '" + jn(e) + "'");
|
|
2691
2691
|
var a = e, o = t, l = [], c = l, p = !1;
|
|
2692
2692
|
function m() {
|
|
2693
2693
|
c === l && (c = l.slice());
|
|
@@ -2699,7 +2699,7 @@ function np(e, t, n) {
|
|
|
2699
2699
|
}
|
|
2700
2700
|
function u(E) {
|
|
2701
2701
|
if (typeof E != "function")
|
|
2702
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(4) : "Expected the listener to be a function. Instead, received: '" +
|
|
2702
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(4) : "Expected the listener to be a function. Instead, received: '" + jn(E) + "'");
|
|
2703
2703
|
if (p)
|
|
2704
2704
|
throw new Error(process.env.NODE_ENV === "production" ? Nt(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
2705
2705
|
var T = !0;
|
|
@@ -2715,7 +2715,7 @@ function np(e, t, n) {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
function h(E) {
|
|
2717
2717
|
if (!xv(E))
|
|
2718
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(7) : "Actions must be plain objects. Instead, the actual type was: '" +
|
|
2718
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(7) : "Actions must be plain objects. Instead, the actual type was: '" + jn(E) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
2719
2719
|
if (typeof E.type > "u")
|
|
2720
2720
|
throw new Error(process.env.NODE_ENV === "production" ? Nt(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
2721
2721
|
if (p)
|
|
@@ -2733,7 +2733,7 @@ function np(e, t, n) {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
function g(E) {
|
|
2735
2735
|
if (typeof E != "function")
|
|
2736
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(10) : "Expected the nextReducer to be a function. Instead, received: '" +
|
|
2736
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(10) : "Expected the nextReducer to be a function. Instead, received: '" + jn(E));
|
|
2737
2737
|
a = E, h({
|
|
2738
2738
|
type: ic.REPLACE
|
|
2739
2739
|
});
|
|
@@ -2751,7 +2751,7 @@ function np(e, t, n) {
|
|
|
2751
2751
|
*/
|
|
2752
2752
|
subscribe: function(N) {
|
|
2753
2753
|
if (typeof N != "object" || N === null)
|
|
2754
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(11) : "Expected the observer to be an object. Instead, received: '" +
|
|
2754
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(11) : "Expected the observer to be an object. Instead, received: '" + jn(N) + "'");
|
|
2755
2755
|
function I() {
|
|
2756
2756
|
N.next && N.next(f());
|
|
2757
2757
|
}
|
|
@@ -2783,7 +2783,7 @@ function cc(e, t) {
|
|
|
2783
2783
|
if (typeof e == "function")
|
|
2784
2784
|
return lc(e, t);
|
|
2785
2785
|
if (typeof e != "object" || e === null)
|
|
2786
|
-
throw new Error(process.env.NODE_ENV === "production" ? Nt(16) : "bindActionCreators expected an object or a function, but instead received: '" +
|
|
2786
|
+
throw new Error(process.env.NODE_ENV === "production" ? Nt(16) : "bindActionCreators expected an object or a function, but instead received: '" + jn(e) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
|
|
2787
2787
|
var n = {};
|
|
2788
2788
|
for (var r in e) {
|
|
2789
2789
|
var a = e[r];
|
|
@@ -2947,9 +2947,9 @@ function Rv() {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
}
|
|
2949
2949
|
}
|
|
2950
|
-
var k = p, A = m, L = c, C = l, O = t, _ = f, V = r, U = v, M = g, W = n, H = o, Y = a, $ = u,
|
|
2950
|
+
var k = p, A = m, L = c, C = l, O = t, _ = f, V = r, U = v, M = g, W = n, H = o, Y = a, $ = u, j = !1;
|
|
2951
2951
|
function ne(re) {
|
|
2952
|
-
return
|
|
2952
|
+
return j || (j = !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.")), R(re) || x(re) === p;
|
|
2953
2953
|
}
|
|
2954
2954
|
function R(re) {
|
|
2955
2955
|
return x(re) === m;
|
|
@@ -3286,7 +3286,7 @@ function Av() {
|
|
|
3286
3286
|
var ee = R[G];
|
|
3287
3287
|
if (typeof ee != "function")
|
|
3288
3288
|
return o(
|
|
3289
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
3289
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + j(ee) + " at index " + G + "."
|
|
3290
3290
|
), l;
|
|
3291
3291
|
}
|
|
3292
3292
|
function Q(ie, P, q, J, te) {
|
|
@@ -3404,7 +3404,7 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
|
|
|
3404
3404
|
}
|
|
3405
3405
|
return G;
|
|
3406
3406
|
}
|
|
3407
|
-
function
|
|
3407
|
+
function j(R) {
|
|
3408
3408
|
var G = $(R);
|
|
3409
3409
|
switch (G) {
|
|
3410
3410
|
case "array":
|
|
@@ -3610,7 +3610,7 @@ var di = ii, Uv = {
|
|
|
3610
3610
|
mixins: !0,
|
|
3611
3611
|
propTypes: !0,
|
|
3612
3612
|
type: !0
|
|
3613
|
-
},
|
|
3613
|
+
}, zv = {
|
|
3614
3614
|
name: !0,
|
|
3615
3615
|
length: !0,
|
|
3616
3616
|
prototype: !0,
|
|
@@ -3618,7 +3618,7 @@ var di = ii, Uv = {
|
|
|
3618
3618
|
callee: !0,
|
|
3619
3619
|
arguments: !0,
|
|
3620
3620
|
arity: !0
|
|
3621
|
-
},
|
|
3621
|
+
}, jv = {
|
|
3622
3622
|
$$typeof: !0,
|
|
3623
3623
|
render: !0,
|
|
3624
3624
|
defaultProps: !0,
|
|
@@ -3632,7 +3632,7 @@ var di = ii, Uv = {
|
|
|
3632
3632
|
propTypes: !0,
|
|
3633
3633
|
type: !0
|
|
3634
3634
|
}, pi = {};
|
|
3635
|
-
pi[di.ForwardRef] =
|
|
3635
|
+
pi[di.ForwardRef] = jv;
|
|
3636
3636
|
pi[di.Memo] = cp;
|
|
3637
3637
|
function vc(e) {
|
|
3638
3638
|
return di.isMemo(e) ? cp : pi[e.$$typeof] || Uv;
|
|
@@ -3648,7 +3648,7 @@ function dp(e, t, n) {
|
|
|
3648
3648
|
yc && (a = a.concat(yc(t)));
|
|
3649
3649
|
for (var o = vc(e), l = vc(t), c = 0; c < a.length; ++c) {
|
|
3650
3650
|
var p = a[c];
|
|
3651
|
-
if (!
|
|
3651
|
+
if (!zv[p] && !(n && n[p]) && !(l && l[p]) && !(o && o[p])) {
|
|
3652
3652
|
var m = Zv(t, p);
|
|
3653
3653
|
try {
|
|
3654
3654
|
qv(e, p, m);
|
|
@@ -3792,7 +3792,7 @@ function ty() {
|
|
|
3792
3792
|
}
|
|
3793
3793
|
}
|
|
3794
3794
|
var k = l, A = o, L = e, C = c, O = n, _ = u, V = f, U = t, M = a, W = r, H = p, Y = !1, $ = !1;
|
|
3795
|
-
function
|
|
3795
|
+
function j(se) {
|
|
3796
3796
|
return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
3797
3797
|
}
|
|
3798
3798
|
function ne(se) {
|
|
@@ -3831,7 +3831,7 @@ function ty() {
|
|
|
3831
3831
|
function le(se) {
|
|
3832
3832
|
return x(se) === p;
|
|
3833
3833
|
}
|
|
3834
|
-
Ke.ContextConsumer = k, Ke.ContextProvider = A, Ke.Element = L, Ke.ForwardRef = C, Ke.Fragment = O, Ke.Lazy = _, Ke.Memo = V, Ke.Portal = U, Ke.Profiler = M, Ke.StrictMode = W, Ke.Suspense = H, Ke.isAsyncMode =
|
|
3834
|
+
Ke.ContextConsumer = k, Ke.ContextProvider = A, Ke.Element = L, Ke.ForwardRef = C, Ke.Fragment = O, Ke.Lazy = _, Ke.Memo = V, Ke.Portal = U, Ke.Profiler = M, Ke.StrictMode = W, Ke.Suspense = H, Ke.isAsyncMode = j, Ke.isConcurrentMode = ne, Ke.isContextConsumer = R, Ke.isContextProvider = G, Ke.isElement = ee, Ke.isForwardRef = Q, Ke.isFragment = ie, Ke.isLazy = P, Ke.isMemo = q, Ke.isPortal = J, Ke.isProfiler = te, Ke.isStrictMode = ae, Ke.isSuspense = le, Ke.isValidElementType = I, Ke.typeOf = x;
|
|
3835
3835
|
}()), Ke;
|
|
3836
3836
|
}
|
|
3837
3837
|
process.env.NODE_ENV === "production" ? Vo.exports = ey() : Vo.exports = ty();
|
|
@@ -3918,10 +3918,10 @@ function py(e, t) {
|
|
|
3918
3918
|
return $();
|
|
3919
3919
|
};
|
|
3920
3920
|
function W($) {
|
|
3921
|
-
var
|
|
3921
|
+
var j = tt(function() {
|
|
3922
3922
|
var ke = $.reactReduxForwardedRef, nt = ta($, ry);
|
|
3923
3923
|
return [$.context, ke, nt];
|
|
3924
|
-
}, [$]), ne =
|
|
3924
|
+
}, [$]), ne = j[0], R = j[1], G = j[2], ee = tt(function() {
|
|
3925
3925
|
return ne && ne.Consumer && Dc.isContextConsumer(/* @__PURE__ */ Z.createElement(ne.Consumer, null)) ? ne : k;
|
|
3926
3926
|
}, [ne, k]), Q = nn(ee), ie = !!$.store && !!$.store.getState && !!$.store.dispatch, P = !!Q && !!Q.store;
|
|
3927
3927
|
if (process.env.NODE_ENV !== "production" && !ie && !P)
|
|
@@ -3956,8 +3956,8 @@ function py(e, t) {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
var H = V ? Z.memo(W) : W;
|
|
3958
3958
|
if (H.WrappedComponent = L, H.displayName = W.displayName = O, T) {
|
|
3959
|
-
var Y = Z.forwardRef(function(
|
|
3960
|
-
return /* @__PURE__ */ Z.createElement(H, be({},
|
|
3959
|
+
var Y = Z.forwardRef(function(j, ne) {
|
|
3960
|
+
return /* @__PURE__ */ Z.createElement(H, be({}, j, {
|
|
3961
3961
|
reactReduxForwardedRef: ne
|
|
3962
3962
|
}));
|
|
3963
3963
|
});
|
|
@@ -4172,7 +4172,7 @@ function Ry(e, t) {
|
|
|
4172
4172
|
return !0;
|
|
4173
4173
|
}
|
|
4174
4174
|
function hp(e, t) {
|
|
4175
|
-
var n =
|
|
4175
|
+
var n = je(function() {
|
|
4176
4176
|
return {
|
|
4177
4177
|
inputs: t,
|
|
4178
4178
|
result: e()
|
|
@@ -4197,7 +4197,7 @@ function Ic(e, t) {
|
|
|
4197
4197
|
var n = typeof t == "function" ? t() : t, r = n ? "".concat(io, ": ").concat(n) : io;
|
|
4198
4198
|
throw new Error(r);
|
|
4199
4199
|
}
|
|
4200
|
-
var
|
|
4200
|
+
var zt = function(t) {
|
|
4201
4201
|
var n = t.top, r = t.right, a = t.bottom, o = t.left, l = r - o, c = a - n, p = {
|
|
4202
4202
|
top: n,
|
|
4203
4203
|
right: r,
|
|
@@ -4240,10 +4240,10 @@ var jt = function(t) {
|
|
|
4240
4240
|
bottom: 0,
|
|
4241
4241
|
left: 0
|
|
4242
4242
|
}, fi = function(t) {
|
|
4243
|
-
var n = t.borderBox, r = t.margin, a = r === void 0 ? lo : r, o = t.border, l = o === void 0 ? lo : o, c = t.padding, p = c === void 0 ? lo : c, m =
|
|
4243
|
+
var n = t.borderBox, r = t.margin, a = r === void 0 ? lo : r, o = t.border, l = o === void 0 ? lo : o, c = t.padding, p = c === void 0 ? lo : c, m = zt(mi(n, a)), f = zt(Mc(n, l)), u = zt(Mc(f, p));
|
|
4244
4244
|
return {
|
|
4245
4245
|
marginBox: m,
|
|
4246
|
-
borderBox:
|
|
4246
|
+
borderBox: zt(n),
|
|
4247
4247
|
paddingBox: f,
|
|
4248
4248
|
contentBox: u,
|
|
4249
4249
|
margin: a,
|
|
@@ -4352,12 +4352,12 @@ function bp(e, t) {
|
|
|
4352
4352
|
var He = bp.bind(null, "warn"), $o = bp.bind(null, "error");
|
|
4353
4353
|
function Ln() {
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function zy(e, t) {
|
|
4356
4356
|
return be({}, e, {}, t);
|
|
4357
4357
|
}
|
|
4358
4358
|
function At(e, t, n) {
|
|
4359
4359
|
var r = t.map(function(a) {
|
|
4360
|
-
var o =
|
|
4360
|
+
var o = zy(n, a.options);
|
|
4361
4361
|
return e.addEventListener(a.eventName, a.fn, o), function() {
|
|
4362
4362
|
e.removeEventListener(a.eventName, a.fn, o);
|
|
4363
4363
|
};
|
|
@@ -4368,7 +4368,7 @@ function At(e, t, n) {
|
|
|
4368
4368
|
});
|
|
4369
4369
|
};
|
|
4370
4370
|
}
|
|
4371
|
-
var
|
|
4371
|
+
var jy = process.env.NODE_ENV === "production", Lc = "Invariant failed";
|
|
4372
4372
|
function as(e) {
|
|
4373
4373
|
this.message = e;
|
|
4374
4374
|
}
|
|
@@ -4376,7 +4376,7 @@ as.prototype.toString = function() {
|
|
|
4376
4376
|
return this.message;
|
|
4377
4377
|
};
|
|
4378
4378
|
function F(e, t) {
|
|
4379
|
-
throw
|
|
4379
|
+
throw jy ? new as(Lc) : new as(Lc + ": " + (t || ""));
|
|
4380
4380
|
}
|
|
4381
4381
|
var qy = function(e) {
|
|
4382
4382
|
tp(t, e);
|
|
@@ -4517,7 +4517,7 @@ var qy = function(e) {
|
|
|
4517
4517
|
};
|
|
4518
4518
|
};
|
|
4519
4519
|
}, eT = function(e, t) {
|
|
4520
|
-
var n =
|
|
4520
|
+
var n = zt({
|
|
4521
4521
|
top: Math.max(t.top, e.top),
|
|
4522
4522
|
right: Math.min(t.right, e.right),
|
|
4523
4523
|
bottom: Math.min(t.bottom, e.bottom),
|
|
@@ -4559,7 +4559,7 @@ var qy = function(e) {
|
|
|
4559
4559
|
}
|
|
4560
4560
|
return t;
|
|
4561
4561
|
}, sT = function(t, n) {
|
|
4562
|
-
return n && n.shouldClipSubject ? eT(n.pageMarginBox, t) :
|
|
4562
|
+
return n && n.shouldClipSubject ? eT(n.pageMarginBox, t) : zt(t);
|
|
4563
4563
|
}, kr = function(e) {
|
|
4564
4564
|
var t = e.page, n = e.withPlaceholder, r = e.axis, a = e.frame, o = nT(t.marginBox, a), l = rT(o, r, n), c = sT(l, a);
|
|
4565
4565
|
return {
|
|
@@ -4789,7 +4789,7 @@ function ST(e, t) {
|
|
|
4789
4789
|
bottom: 0,
|
|
4790
4790
|
left: t.point.x
|
|
4791
4791
|
};
|
|
4792
|
-
return
|
|
4792
|
+
return zt(mi(n, r));
|
|
4793
4793
|
}
|
|
4794
4794
|
function ls(e) {
|
|
4795
4795
|
var t = e.afterDragging, n = e.destination, r = e.displacedBy, a = e.viewport, o = e.forceShouldAnimate, l = e.last;
|
|
@@ -5015,7 +5015,7 @@ var vT = function(e) {
|
|
|
5015
5015
|
var t = xT(e), n = e.droppable, r = n ? Ko(n, t) : t;
|
|
5016
5016
|
return r;
|
|
5017
5017
|
}, Mp = function(e, t) {
|
|
5018
|
-
var n = Mt(t, e.scroll.initial), r = Lr(n), a =
|
|
5018
|
+
var n = Mt(t, e.scroll.initial), r = Lr(n), a = zt({
|
|
5019
5019
|
top: t.y,
|
|
5020
5020
|
bottom: t.y + e.frame.height,
|
|
5021
5021
|
left: t.x,
|
|
@@ -5452,7 +5452,7 @@ function WT(e) {
|
|
|
5452
5452
|
}) : null;
|
|
5453
5453
|
}
|
|
5454
5454
|
var Pp = function(t, n) {
|
|
5455
|
-
return
|
|
5455
|
+
return zt(gs(t, n));
|
|
5456
5456
|
}, GT = function(e, t) {
|
|
5457
5457
|
var n = e.frame;
|
|
5458
5458
|
return n ? Pp(t, n.scroll.diff.value) : t;
|
|
@@ -5486,12 +5486,12 @@ var UT = function(e) {
|
|
|
5486
5486
|
displacedBy: m,
|
|
5487
5487
|
index: E
|
|
5488
5488
|
});
|
|
5489
|
-
},
|
|
5489
|
+
}, zT = 4, jT = function(e) {
|
|
5490
5490
|
var t = e.draggable, n = e.pageBorderBoxWithDroppableScroll, r = e.previousImpact, a = e.destination, o = e.insideDestination, l = e.afterCritical;
|
|
5491
5491
|
if (!a.isCombineEnabled)
|
|
5492
5492
|
return null;
|
|
5493
5493
|
var c = a.axis, p = Ss(a.axis, t.displaceBy), m = p.value, f = n[c.start], u = n[c.end], h = va(t, o), g = An(h, function(E) {
|
|
5494
|
-
var T = E.descriptor.id, w = E.page.borderBox, N = w[c.size], I = N /
|
|
5494
|
+
var T = E.descriptor.id, w = E.page.borderBox, N = w[c.size], I = N / zT, x = Bn(T, l), k = Bp({
|
|
5495
5495
|
displaced: r.displaced,
|
|
5496
5496
|
id: T
|
|
5497
5497
|
});
|
|
@@ -5520,7 +5520,7 @@ var UT = function(e) {
|
|
|
5520
5520
|
if (!m)
|
|
5521
5521
|
return lT;
|
|
5522
5522
|
var f = a[m], u = sr(f.descriptor.id, r), h = GT(f, p);
|
|
5523
|
-
return
|
|
5523
|
+
return jT({
|
|
5524
5524
|
pageBorderBoxWithDroppableScroll: h,
|
|
5525
5525
|
draggable: n,
|
|
5526
5526
|
previousImpact: o,
|
|
@@ -5911,10 +5911,10 @@ var Hc = {
|
|
|
5911
5911
|
if (e.phase === "DROP_PENDING" || e.phase === "DROP_ANIMATING")
|
|
5912
5912
|
return e;
|
|
5913
5913
|
qn(e) || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot move by window in phase " + e.phase) : F()), e.isWindowScrollAllowed || (process.env.NODE_ENV !== "production" ? F(!1, "Window scrolling is currently not supported for fixed lists") : F());
|
|
5914
|
-
var
|
|
5915
|
-
if (Rn(e.viewport.scroll.current,
|
|
5914
|
+
var j = t.payload.newScroll;
|
|
5915
|
+
if (Rn(e.viewport.scroll.current, j))
|
|
5916
5916
|
return po(e);
|
|
5917
|
-
var ne = Mp(e.viewport,
|
|
5917
|
+
var ne = Mp(e.viewport, j);
|
|
5918
5918
|
return Ho(e) ? $p({
|
|
5919
5919
|
state: e,
|
|
5920
5920
|
viewport: ne
|
|
@@ -6614,7 +6614,7 @@ var LE = function(t) {
|
|
|
6614
6614
|
};
|
|
6615
6615
|
}, UE = function(t) {
|
|
6616
6616
|
return t.type === "DROP_COMPLETE" || t.type === "DROP_ANIMATE" || t.type === "FLUSH";
|
|
6617
|
-
},
|
|
6617
|
+
}, zE = function(e) {
|
|
6618
6618
|
return function(t) {
|
|
6619
6619
|
return function(n) {
|
|
6620
6620
|
return function(r) {
|
|
@@ -6632,7 +6632,7 @@ var LE = function(t) {
|
|
|
6632
6632
|
};
|
|
6633
6633
|
};
|
|
6634
6634
|
};
|
|
6635
|
-
},
|
|
6635
|
+
}, jE = function(e) {
|
|
6636
6636
|
return function(t) {
|
|
6637
6637
|
return function(n) {
|
|
6638
6638
|
if (t(n), n.type === "PUBLISH_WHILE_DRAGGING") {
|
|
@@ -6647,7 +6647,7 @@ var LE = function(t) {
|
|
|
6647
6647
|
name: "react-beautiful-dnd"
|
|
6648
6648
|
}) : rp, JE = function(e) {
|
|
6649
6649
|
var t = e.dimensionMarshal, n = e.focusMarshal, r = e.styleMarshal, a = e.getResponders, o = e.announce, l = e.autoScroller;
|
|
6650
|
-
return np(sE, qE(Ov(CE(r), GE(t), wE(t), ME, HE, WE,
|
|
6650
|
+
return np(sE, qE(Ov(CE(r), GE(t), wE(t), ME, HE, WE, jE, zE(l), RE, YE(n), KE(a, o))));
|
|
6651
6651
|
}, mo = function() {
|
|
6652
6652
|
return {
|
|
6653
6653
|
additions: {},
|
|
@@ -6691,7 +6691,7 @@ function ZE(e) {
|
|
|
6691
6691
|
stop: p
|
|
6692
6692
|
};
|
|
6693
6693
|
}
|
|
6694
|
-
var
|
|
6694
|
+
var zp = function(e) {
|
|
6695
6695
|
var t = e.scrollHeight, n = e.scrollWidth, r = e.height, a = e.width, o = Mt({
|
|
6696
6696
|
x: n,
|
|
6697
6697
|
y: t
|
|
@@ -6703,11 +6703,11 @@ var jp = function(e) {
|
|
|
6703
6703
|
y: Math.max(0, o.y)
|
|
6704
6704
|
};
|
|
6705
6705
|
return l;
|
|
6706
|
-
},
|
|
6706
|
+
}, jp = function() {
|
|
6707
6707
|
var e = document.documentElement;
|
|
6708
6708
|
return e || (process.env.NODE_ENV !== "production" ? F(!1, "Cannot find document.documentElement") : F()), e;
|
|
6709
6709
|
}, qp = function() {
|
|
6710
|
-
var e =
|
|
6710
|
+
var e = jp(), t = zp({
|
|
6711
6711
|
scrollHeight: e.scrollHeight,
|
|
6712
6712
|
scrollWidth: e.scrollWidth,
|
|
6713
6713
|
width: e.clientWidth,
|
|
@@ -6715,7 +6715,7 @@ var jp = function(e) {
|
|
|
6715
6715
|
});
|
|
6716
6716
|
return t;
|
|
6717
6717
|
}, XE = function() {
|
|
6718
|
-
var e = Up(), t = qp(), n = e.y, r = e.x, a =
|
|
6718
|
+
var e = Up(), t = qp(), n = e.y, r = e.x, a = jp(), o = a.clientWidth, l = a.clientHeight, c = r + o, p = n + l, m = zt({
|
|
6719
6719
|
top: n,
|
|
6720
6720
|
left: r,
|
|
6721
6721
|
right: c,
|
|
@@ -6883,9 +6883,9 @@ var ew = function(e, t) {
|
|
|
6883
6883
|
current: e
|
|
6884
6884
|
}), r = 1 - n, a = Pn.maxPixelScroll * Pn.ease(r);
|
|
6885
6885
|
return Math.ceil(a);
|
|
6886
|
-
}, Uc = Pn.durationDampening.accelerateAt,
|
|
6887
|
-
var n = t, r =
|
|
6888
|
-
if (o >=
|
|
6886
|
+
}, Uc = Pn.durationDampening.accelerateAt, zc = Pn.durationDampening.stopDampeningAt, iw = function(e, t) {
|
|
6887
|
+
var n = t, r = zc, a = Date.now(), o = a - n;
|
|
6888
|
+
if (o >= zc)
|
|
6889
6889
|
return e;
|
|
6890
6890
|
if (o < Uc)
|
|
6891
6891
|
return xi;
|
|
@@ -6895,17 +6895,17 @@ var ew = function(e, t) {
|
|
|
6895
6895
|
current: o
|
|
6896
6896
|
}), c = e * Pn.ease(l);
|
|
6897
6897
|
return Math.ceil(c);
|
|
6898
|
-
},
|
|
6898
|
+
}, jc = function(e) {
|
|
6899
6899
|
var t = e.distanceToEdge, n = e.thresholds, r = e.dragStartTime, a = e.shouldUseTimeDampening, o = ow(t, n);
|
|
6900
6900
|
return o === 0 ? 0 : a ? Math.max(iw(o, r), xi) : o;
|
|
6901
6901
|
}, qc = function(e) {
|
|
6902
6902
|
var t = e.container, n = e.distanceToEdges, r = e.dragStartTime, a = e.axis, o = e.shouldUseTimeDampening, l = aw(t, a), c = n[a.end] < n[a.start];
|
|
6903
|
-
return c ?
|
|
6903
|
+
return c ? jc({
|
|
6904
6904
|
distanceToEdge: n[a.end],
|
|
6905
6905
|
thresholds: l,
|
|
6906
6906
|
dragStartTime: r,
|
|
6907
6907
|
shouldUseTimeDampening: o
|
|
6908
|
-
}) : -1 *
|
|
6908
|
+
}) : -1 * jc({
|
|
6909
6909
|
distanceToEdge: n[a.start],
|
|
6910
6910
|
thresholds: l,
|
|
6911
6911
|
dragStartTime: r,
|
|
@@ -7174,7 +7174,7 @@ var ew = function(e, t) {
|
|
|
7174
7174
|
return function(n) {
|
|
7175
7175
|
return "[" + n + '="' + t + '"]';
|
|
7176
7176
|
};
|
|
7177
|
-
},
|
|
7177
|
+
}, zr = function(t, n) {
|
|
7178
7178
|
return t.map(function(r) {
|
|
7179
7179
|
var a = r.styles[n];
|
|
7180
7180
|
return a ? r.selector + " { " + a + " }" : "";
|
|
@@ -7230,11 +7230,11 @@ var ew = function(e, t) {
|
|
|
7230
7230
|
}
|
|
7231
7231
|
}, l = [r, n, a, o];
|
|
7232
7232
|
return {
|
|
7233
|
-
always:
|
|
7234
|
-
resting:
|
|
7235
|
-
dragging:
|
|
7236
|
-
dropAnimating:
|
|
7237
|
-
userCancel:
|
|
7233
|
+
always: zr(l, "always"),
|
|
7234
|
+
resting: zr(l, "resting"),
|
|
7235
|
+
dragging: zr(l, "dragging"),
|
|
7236
|
+
dropAnimating: zr(l, "dropAnimating"),
|
|
7237
|
+
userCancel: zr(l, "userCancel")
|
|
7238
7238
|
};
|
|
7239
7239
|
}, Ot = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $d : We, fo = function() {
|
|
7240
7240
|
var t = document.querySelector("head");
|
|
@@ -7624,7 +7624,7 @@ function Vw() {
|
|
|
7624
7624
|
tryAbandon: o
|
|
7625
7625
|
};
|
|
7626
7626
|
}
|
|
7627
|
-
var $w = 9, Kw = 13, Pi = 27, ru = 32, Hw = 33, Ww = 34, Gw = 35, Yw = 36, Uw = 37,
|
|
7627
|
+
var $w = 9, Kw = 13, Pi = 27, ru = 32, Hw = 33, Ww = 34, Gw = 35, Yw = 36, Uw = 37, zw = 38, jw = 39, qw = 40, Hs, Jw = (Hs = {}, Hs[Kw] = !0, Hs[$w] = !0, Hs), su = function(e) {
|
|
7628
7628
|
Jw[e.keyCode] && e.preventDefault();
|
|
7629
7629
|
}, Ea = function() {
|
|
7630
7630
|
var e = "visibilitychange";
|
|
@@ -7830,11 +7830,11 @@ function nC(e, t) {
|
|
|
7830
7830
|
o.preventDefault(), e.moveDown();
|
|
7831
7831
|
return;
|
|
7832
7832
|
}
|
|
7833
|
-
if (o.keyCode ===
|
|
7833
|
+
if (o.keyCode === zw) {
|
|
7834
7834
|
o.preventDefault(), e.moveUp();
|
|
7835
7835
|
return;
|
|
7836
7836
|
}
|
|
7837
|
-
if (o.keyCode ===
|
|
7837
|
+
if (o.keyCode === jw) {
|
|
7838
7838
|
o.preventDefault(), e.moveRight();
|
|
7839
7839
|
return;
|
|
7840
7840
|
}
|
|
@@ -8138,7 +8138,7 @@ function pC(e, t) {
|
|
|
8138
8138
|
return ys(n) ? ou(e, n) : !1;
|
|
8139
8139
|
}
|
|
8140
8140
|
var uC = function(e) {
|
|
8141
|
-
return
|
|
8141
|
+
return zt(e.getBoundingClientRect()).center;
|
|
8142
8142
|
};
|
|
8143
8143
|
function mC(e) {
|
|
8144
8144
|
return e instanceof eu(e).Element;
|
|
@@ -8358,7 +8358,7 @@ function TC(e) {
|
|
|
8358
8358
|
}
|
|
8359
8359
|
var EC = [Qw, rC, lC];
|
|
8360
8360
|
function wC(e) {
|
|
8361
|
-
var t = e.contextId, n = e.store, r = e.registry, a = e.customSensors, o = e.enableDefaultSensors, l = [].concat(o ? EC : [], a || []), c =
|
|
8361
|
+
var t = e.contextId, n = e.store, r = e.registry, a = e.customSensors, o = e.enableDefaultSensors, l = [].concat(o ? EC : [], a || []), c = je(function() {
|
|
8362
8362
|
return Vw();
|
|
8363
8363
|
})[0], p = ge(function(N, I) {
|
|
8364
8364
|
N.isDragging && !I.isDragging && c.tryAbandon();
|
|
@@ -8419,7 +8419,7 @@ var CC = function(t) {
|
|
|
8419
8419
|
onDragUpdate: t.onDragUpdate
|
|
8420
8420
|
};
|
|
8421
8421
|
};
|
|
8422
|
-
function
|
|
8422
|
+
function jr(e) {
|
|
8423
8423
|
return e.current || (process.env.NODE_ENV !== "production" ? F(!1, "Could not find store from lazy ref") : F()), e.current;
|
|
8424
8424
|
}
|
|
8425
8425
|
function DC(e) {
|
|
@@ -8431,7 +8431,7 @@ function DC(e) {
|
|
|
8431
8431
|
contextId: t,
|
|
8432
8432
|
text: o
|
|
8433
8433
|
}), u = Ew(t, a), h = ge(function(O) {
|
|
8434
|
-
|
|
8434
|
+
jr(l).dispatch(O);
|
|
8435
8435
|
}, []), g = Me(function() {
|
|
8436
8436
|
return cc({
|
|
8437
8437
|
publishWhileDragging: lE,
|
|
@@ -8461,10 +8461,10 @@ function DC(e) {
|
|
|
8461
8461
|
}, [m, T, E, w, p, u]);
|
|
8462
8462
|
process.env.NODE_ENV !== "production" && l.current && l.current !== N && process.env.NODE_ENV !== "production" && He("unexpected store change"), l.current = N;
|
|
8463
8463
|
var I = ge(function() {
|
|
8464
|
-
var O =
|
|
8464
|
+
var O = jr(l), _ = O.getState();
|
|
8465
8465
|
_.phase !== "IDLE" && O.dispatch(wi());
|
|
8466
8466
|
}, []), x = ge(function() {
|
|
8467
|
-
var O =
|
|
8467
|
+
var O = jr(l).getState();
|
|
8468
8468
|
return O.isDragging || O.phase === "DROP_ANIMATING";
|
|
8469
8469
|
}, []), k = Me(function() {
|
|
8470
8470
|
return {
|
|
@@ -8474,9 +8474,9 @@ function DC(e) {
|
|
|
8474
8474
|
}, [x, I]);
|
|
8475
8475
|
n(k);
|
|
8476
8476
|
var A = ge(function(O) {
|
|
8477
|
-
return Jp(
|
|
8477
|
+
return Jp(jr(l).getState(), O);
|
|
8478
8478
|
}, []), L = ge(function() {
|
|
8479
|
-
return qn(
|
|
8479
|
+
return qn(jr(l).getState());
|
|
8480
8480
|
}, []), C = Me(function() {
|
|
8481
8481
|
return {
|
|
8482
8482
|
marshal: E,
|
|
@@ -8600,7 +8600,7 @@ var Bi = function(t) {
|
|
|
8600
8600
|
var t = e.descriptor, n = e.isEnabled, r = e.isCombineEnabled, a = e.isFixedOnPage, o = e.direction, l = e.client, c = e.page, p = e.closest, m = function() {
|
|
8601
8601
|
if (!p)
|
|
8602
8602
|
return null;
|
|
8603
|
-
var g = p.scrollSize, v = p.client, E =
|
|
8603
|
+
var g = p.scrollSize, v = p.client, E = zp({
|
|
8604
8604
|
scrollHeight: g.scrollHeight,
|
|
8605
8605
|
scrollWidth: g.scrollWidth,
|
|
8606
8606
|
height: v.paddingBox.height,
|
|
@@ -8823,7 +8823,7 @@ var sd = {
|
|
|
8823
8823
|
function YC(e) {
|
|
8824
8824
|
var t = fe(null), n = ge(function() {
|
|
8825
8825
|
t.current && (clearTimeout(t.current), t.current = null);
|
|
8826
|
-
}, []), r = e.animate, a = e.onTransitionEnd, o = e.onClose, l = e.contextId, c =
|
|
8826
|
+
}, []), r = e.animate, a = e.onTransitionEnd, o = e.onClose, l = e.contextId, c = je(e.animate === "open"), p = c[0], m = c[1];
|
|
8827
8827
|
We(function() {
|
|
8828
8828
|
return p ? r !== "open" ? (n(), m(!1), So) : t.current ? So : (t.current = setTimeout(function() {
|
|
8829
8829
|
t.current = null, m(!1);
|
|
@@ -8860,7 +8860,7 @@ function vo(e, t) {
|
|
|
8860
8860
|
return n(e);
|
|
8861
8861
|
});
|
|
8862
8862
|
}
|
|
8863
|
-
var
|
|
8863
|
+
var zC = [function(t) {
|
|
8864
8864
|
var n = t.props;
|
|
8865
8865
|
n.droppableId || (process.env.NODE_ENV !== "production" ? F(!1, "A Droppable requires a droppableId prop") : F()), typeof n.droppableId != "string" && (process.env.NODE_ENV !== "production" ? F(!1, "A Droppable requires a [string] droppableId. Provided: [" + typeof n.droppableId + "]") : F());
|
|
8866
8866
|
}, function(t) {
|
|
@@ -8869,7 +8869,7 @@ var jC = [function(t) {
|
|
|
8869
8869
|
}, function(t) {
|
|
8870
8870
|
var n = t.getDroppableRef;
|
|
8871
8871
|
uu(n());
|
|
8872
|
-
}],
|
|
8872
|
+
}], jC = [function(t) {
|
|
8873
8873
|
var n = t.props, r = t.getPlaceholderRef;
|
|
8874
8874
|
if (n.placeholder) {
|
|
8875
8875
|
var a = r();
|
|
@@ -8890,7 +8890,7 @@ var jC = [function(t) {
|
|
|
8890
8890
|
}];
|
|
8891
8891
|
function JC(e) {
|
|
8892
8892
|
Ts(function() {
|
|
8893
|
-
vo(e,
|
|
8893
|
+
vo(e, zC), e.props.mode === "standard" && vo(e, jC), e.props.mode === "virtual" && vo(e, qC);
|
|
8894
8894
|
});
|
|
8895
8895
|
}
|
|
8896
8896
|
var ZC = function(e) {
|
|
@@ -9952,20 +9952,20 @@ function AM(e = {}, t = {}) {
|
|
|
9952
9952
|
}
|
|
9953
9953
|
function FM(e, t) {
|
|
9954
9954
|
t && e.setInitValue(t);
|
|
9955
|
-
const [n, r] =
|
|
9955
|
+
const [n, r] = je(), [a, o] = je([]), [l, c] = ti((p) => {
|
|
9956
9956
|
for (const m of a)
|
|
9957
9957
|
for (const f of US(p, m))
|
|
9958
9958
|
f.validators && f.validators.length && (f.errors = ai(f.getValue(), f.validators), f.invalid = !!f.errors && !f.pristine);
|
|
9959
9959
|
return r(void 0), o([]), { ...p };
|
|
9960
9960
|
}, e);
|
|
9961
|
-
return
|
|
9961
|
+
return zS(l, (p, m) => {
|
|
9962
9962
|
m._type && (m.update = function() {
|
|
9963
9963
|
return a.push(p), o(a), n || r(window.setTimeout(c, 0)), this;
|
|
9964
9964
|
});
|
|
9965
9965
|
}), l;
|
|
9966
9966
|
}
|
|
9967
9967
|
function VM(e, t = null) {
|
|
9968
|
-
const [n, r] =
|
|
9968
|
+
const [n, r] = je(t), a = fe(() => null);
|
|
9969
9969
|
return We(() => {
|
|
9970
9970
|
const o = () => n;
|
|
9971
9971
|
if (e.validators) {
|
|
@@ -11279,10 +11279,10 @@ function Ca(e) {
|
|
|
11279
11279
|
onClick: _
|
|
11280
11280
|
},
|
|
11281
11281
|
/* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-chevron-right" })
|
|
11282
|
-
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, dd.weekdaysShort().map((H) => /* @__PURE__ */ s.createElement("div", { key: H, className: "sps-datepicker__calendar-header-cell" }, H))), x.map((H, Y) => /* @__PURE__ */ s.createElement("div", { key: Y, className: "sps-datepicker__calendar-row" }, H.map(($,
|
|
11282
|
+
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, dd.weekdaysShort().map((H) => /* @__PURE__ */ s.createElement("div", { key: H, className: "sps-datepicker__calendar-header-cell" }, H))), x.map((H, Y) => /* @__PURE__ */ s.createElement("div", { key: Y, className: "sps-datepicker__calendar-row" }, H.map(($, j) => /* @__PURE__ */ s.createElement(
|
|
11283
11283
|
"div",
|
|
11284
11284
|
{
|
|
11285
|
-
key:
|
|
11285
|
+
key: j,
|
|
11286
11286
|
className: U($),
|
|
11287
11287
|
onClick: () => M($),
|
|
11288
11288
|
"data-testid": `${u}_${X.toString($)}`
|
|
@@ -11300,10 +11300,10 @@ function Ca(e) {
|
|
|
11300
11300
|
onClick: _
|
|
11301
11301
|
},
|
|
11302
11302
|
/* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-chevron-right" })
|
|
11303
|
-
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, dd.weekdaysShort().map((H) => /* @__PURE__ */ s.createElement("div", { key: H, className: "sps-datepicker__calendar-header-cell" }, H))), A.map((H, Y) => /* @__PURE__ */ s.createElement("div", { key: Y, className: "sps-datepicker__calendar-row" }, H.map(($,
|
|
11303
|
+
)), /* @__PURE__ */ s.createElement("div", { className: `${Et}-body` }, /* @__PURE__ */ s.createElement("div", { className: "sps-datepicker__calendar-row" }, dd.weekdaysShort().map((H) => /* @__PURE__ */ s.createElement("div", { key: H, className: "sps-datepicker__calendar-header-cell" }, H))), A.map((H, Y) => /* @__PURE__ */ s.createElement("div", { key: Y, className: "sps-datepicker__calendar-row" }, H.map(($, j) => /* @__PURE__ */ s.createElement(
|
|
11304
11304
|
"div",
|
|
11305
11305
|
{
|
|
11306
|
-
key:
|
|
11306
|
+
key: j,
|
|
11307
11307
|
className: K(U($), `${T.month.toString()}`),
|
|
11308
11308
|
onClick: () => M($),
|
|
11309
11309
|
"data-testid": `${u}_${X.toString($)}`
|
|
@@ -11712,7 +11712,7 @@ function Nu({
|
|
|
11712
11712
|
const ae = te ? Y(te) : "";
|
|
11713
11713
|
ae === "Before" ? J = [null, P] : ae === "After" ? J = [P, null] : !q[0] || q[1] || X.isBefore(P, q[0]) ? J = [P, null] : J = [q[0], P], (J[0] && J[1] || ae === "Before" || ae === "After") && (W(!0), x && x.current && x.current.focus()), te && ae !== "Before" && ae !== "After" && (O(null), te = null), H(J, te == null ? void 0 : te.definition), L(X.toStringRange(J, g)), V(void 0);
|
|
11714
11714
|
}
|
|
11715
|
-
function
|
|
11715
|
+
function j(P) {
|
|
11716
11716
|
L(P.target.value);
|
|
11717
11717
|
let q = X.createRangeFrom(P.target.value, g), J = C;
|
|
11718
11718
|
const te = J ? Y(J) : "";
|
|
@@ -11790,7 +11790,7 @@ function Nu({
|
|
|
11790
11790
|
"data-testid": `${v}_date_input`,
|
|
11791
11791
|
id: N,
|
|
11792
11792
|
placeholder: !A && !C ? (g == null ? void 0 : g.toUpperCase()) || Nr : void 0,
|
|
11793
|
-
onChange:
|
|
11793
|
+
onChange: j,
|
|
11794
11794
|
onClick: M,
|
|
11795
11795
|
onFocus: M,
|
|
11796
11796
|
onKeyDown: R,
|
|
@@ -12074,7 +12074,7 @@ const YD = {
|
|
|
12074
12074
|
}
|
|
12075
12075
|
}
|
|
12076
12076
|
}
|
|
12077
|
-
}, UD = fa || oi,
|
|
12077
|
+
}, UD = fa || oi, zD = {
|
|
12078
12078
|
action: "SpsActionMethod",
|
|
12079
12079
|
captionKey: "string",
|
|
12080
12080
|
comparisonKey: "string",
|
|
@@ -12134,7 +12134,7 @@ const YD = {
|
|
|
12134
12134
|
disableDefaultOptionsFiltering: H,
|
|
12135
12135
|
onBeforeChange: Y,
|
|
12136
12136
|
...$
|
|
12137
|
-
} = e,
|
|
12137
|
+
} = e, j = m || p, { wrapperId: ne, controlId: R } = xt(f, j), G = s.useRef(null), ee = s.useRef(null), Q = s.useRef(null), { t: ie } = s.useContext(Ge), [P, q] = wn({
|
|
12138
12138
|
isOpen: !1,
|
|
12139
12139
|
value: L,
|
|
12140
12140
|
text: "",
|
|
@@ -12153,7 +12153,7 @@ const YD = {
|
|
|
12153
12153
|
return;
|
|
12154
12154
|
J(he);
|
|
12155
12155
|
const qe = he && k && typeof he == "object" ? he[k] : he;
|
|
12156
|
-
|
|
12156
|
+
j && (j.setValue(qe), j.markAsDirty()), g && g(
|
|
12157
12157
|
new rr({ value: qe })
|
|
12158
12158
|
);
|
|
12159
12159
|
}
|
|
@@ -12312,10 +12312,10 @@ const YD = {
|
|
|
12312
12312
|
}
|
|
12313
12313
|
);
|
|
12314
12314
|
Object.assign(_r, {
|
|
12315
|
-
props:
|
|
12315
|
+
props: zD,
|
|
12316
12316
|
displayName: "SpsSelect"
|
|
12317
12317
|
});
|
|
12318
|
-
const
|
|
12318
|
+
const jD = {
|
|
12319
12319
|
general: {
|
|
12320
12320
|
label: "General Usage",
|
|
12321
12321
|
description: ({ NavigateTo: e }) => /* @__PURE__ */ Z.createElement(Z.Fragment, null, /* @__PURE__ */ Z.createElement("h5", null, "Use a Select:"), /* @__PURE__ */ Z.createElement("ul", null, /* @__PURE__ */ Z.createElement("li", { className: "mb-2" }, "When a list of predetermined values can be provided.")), /* @__PURE__ */ Z.createElement("h5", null, "Do Not Use a Select:"), /* @__PURE__ */ Z.createElement("ul", null, /* @__PURE__ */ Z.createElement("li", { className: "mb-2" }, "When there are only two possible options. Consider", " ", /* @__PURE__ */ Z.createElement(e, { to: "checkbox" }, "Checkboxes"), " or", " ", /* @__PURE__ */ Z.createElement(e, { to: "radio-buttons" }, "Radio Buttons"), " insead."), /* @__PURE__ */ Z.createElement("li", { className: "mb-2" }, "When it is ideal to display all available options without requiring a click. Consider", " ", /* @__PURE__ */ Z.createElement(e, { to: "checkbox" }, "Checkboxes"), " or", " ", /* @__PURE__ */ Z.createElement(e, { to: "radio-buttons" }, "Radio Buttons"), " insead.")), /* @__PURE__ */ Z.createElement("h5", null, "Using Selects in a Form"), /* @__PURE__ */ Z.createElement("p", null, "Reference the ", /* @__PURE__ */ Z.createElement(e, { to: "form" }, "Forms"), " page for guidelines for placing inputs in Form layouts"))
|
|
@@ -12662,6 +12662,58 @@ const zD = {
|
|
|
12662
12662
|
`
|
|
12663
12663
|
}
|
|
12664
12664
|
}
|
|
12665
|
+
},
|
|
12666
|
+
disableOptionsMemoization: {
|
|
12667
|
+
label: "Disable Options Memoization",
|
|
12668
|
+
description: () => /* @__PURE__ */ Z.createElement("p", null, "Options Memoization is disabled to allow rerender of options upon change. Options function is memoized to prevent unnecessary rerenders."),
|
|
12669
|
+
examples: {
|
|
12670
|
+
basic: {
|
|
12671
|
+
react: y`
|
|
12672
|
+
import {
|
|
12673
|
+
SpsButton,
|
|
12674
|
+
SpsLabel,
|
|
12675
|
+
SpsSelect,
|
|
12676
|
+
useSpsForm,
|
|
12677
|
+
} from "@spscommerce/ds-react";
|
|
12678
|
+
function DemoComponent() {
|
|
12679
|
+
const { formValue, formMeta, updateForm } = useSpsForm({
|
|
12680
|
+
color: "",
|
|
12681
|
+
colors: ["red", "blue"],
|
|
12682
|
+
});
|
|
12683
|
+
|
|
12684
|
+
const colorSearch = React.useCallback(
|
|
12685
|
+
(search) => {
|
|
12686
|
+
return formValue.colors.filter((s) => new RegExp(search, "i").test(s));
|
|
12687
|
+
},
|
|
12688
|
+
[formValue.colors]
|
|
12689
|
+
);
|
|
12690
|
+
|
|
12691
|
+
return (
|
|
12692
|
+
<div className="sfg-row">
|
|
12693
|
+
<div className="sfg-col-4">
|
|
12694
|
+
<SpsLabel for={formMeta.fields.color}>Color</SpsLabel>
|
|
12695
|
+
<SpsSelect
|
|
12696
|
+
options={colorSearch}
|
|
12697
|
+
zeroState="While I'm sure that's a lovely color, it's not an option we support."
|
|
12698
|
+
formMeta={formMeta.fields.color}
|
|
12699
|
+
disableOptionsMemoization
|
|
12700
|
+
/>
|
|
12701
|
+
</div>
|
|
12702
|
+
<div className="sfg-col-3 pt-3">
|
|
12703
|
+
<SpsButton
|
|
12704
|
+
onClick={() =>
|
|
12705
|
+
updateForm({ ...formValue, colors: [...formValue.colors, "green"] })
|
|
12706
|
+
}
|
|
12707
|
+
>
|
|
12708
|
+
Add Color
|
|
12709
|
+
</SpsButton>
|
|
12710
|
+
</div>
|
|
12711
|
+
</div>
|
|
12712
|
+
);
|
|
12713
|
+
}
|
|
12714
|
+
`
|
|
12715
|
+
}
|
|
12716
|
+
}
|
|
12665
12717
|
}
|
|
12666
12718
|
}, qD = {
|
|
12667
12719
|
formMeta: "SpsFormSetMeta<any>",
|
|
@@ -12761,7 +12813,7 @@ function xu({
|
|
|
12761
12813
|
O[0]
|
|
12762
12814
|
), [M, W] = s.useState(_[0]), [H, Y] = s.useState(
|
|
12763
12815
|
O[1]
|
|
12764
|
-
), [$,
|
|
12816
|
+
), [$, j] = s.useState(_[1]), [ne, R] = s.useState(
|
|
12765
12817
|
O[2]
|
|
12766
12818
|
), [G, ee] = s.useState(
|
|
12767
12819
|
_[2]
|
|
@@ -12842,7 +12894,7 @@ function xu({
|
|
|
12842
12894
|
W(ce.target.value);
|
|
12843
12895
|
}
|
|
12844
12896
|
function qe(ce) {
|
|
12845
|
-
X.validateTimeString(ce.target.value, f) &&
|
|
12897
|
+
X.validateTimeString(ce.target.value, f) && j(ce.target.value);
|
|
12846
12898
|
}
|
|
12847
12899
|
function De(ce, me, _e) {
|
|
12848
12900
|
const ct = M, Ne = me ?? $, vt = G;
|
|
@@ -12866,13 +12918,13 @@ function xu({
|
|
|
12866
12918
|
}
|
|
12867
12919
|
}
|
|
12868
12920
|
function ve(ce) {
|
|
12869
|
-
X.validateTimeString(ce ?? $, f) && (
|
|
12921
|
+
X.validateTimeString(ce ?? $, f) && (j(X.padIncompleteTimeString(ce ?? $, f)), setTimeout(() => De(void 0, ce), 0));
|
|
12870
12922
|
}
|
|
12871
12923
|
function ke(ce) {
|
|
12872
12924
|
ee(ce.target.value);
|
|
12873
12925
|
}
|
|
12874
12926
|
function nt(ce) {
|
|
12875
|
-
X.validateTimeString(ce, f) && (
|
|
12927
|
+
X.validateTimeString(ce, f) && (j(ce), setTimeout(() => ve(ce), 0));
|
|
12876
12928
|
}
|
|
12877
12929
|
s.useEffect(() => {
|
|
12878
12930
|
G !== _[2] && De();
|
|
@@ -12928,7 +12980,7 @@ function xu({
|
|
|
12928
12980
|
}
|
|
12929
12981
|
}
|
|
12930
12982
|
}, []), s.useEffect(() => {
|
|
12931
|
-
O[0] ? U(O[0]) : U(""), O[1] ? Y(O[1]) : Y(f ? "00:00" : "12:00"), f || (O[2] ? R(O[2]) : R("AM")), _[0] ? W(_[0]) : W(""), _[1] ?
|
|
12983
|
+
O[0] ? U(O[0]) : U(""), O[1] ? Y(O[1]) : Y(f ? "00:00" : "12:00"), f || (O[2] ? R(O[2]) : R("AM")), _[0] ? W(_[0]) : W(""), _[1] ? j(_[1]) : j(f ? "00:00" : "12:00"), f || (_[2] ? ee(_[2]) : ee("AM"));
|
|
12932
12984
|
}, [
|
|
12933
12985
|
O[0],
|
|
12934
12986
|
O[1],
|
|
@@ -13477,13 +13529,13 @@ function Cn() {
|
|
|
13477
13529
|
var S = !0;
|
|
13478
13530
|
return g(function() {
|
|
13479
13531
|
if (r.deprecationHandler != null && r.deprecationHandler(null, i), S) {
|
|
13480
|
-
var b = [], D, B,
|
|
13532
|
+
var b = [], D, B, z, ue = arguments.length;
|
|
13481
13533
|
for (B = 0; B < ue; B++) {
|
|
13482
13534
|
if (D = "", typeof arguments[B] == "object") {
|
|
13483
13535
|
D += `
|
|
13484
13536
|
[` + B + "] ";
|
|
13485
|
-
for (
|
|
13486
|
-
c(arguments[0],
|
|
13537
|
+
for (z in arguments[0])
|
|
13538
|
+
c(arguments[0], z) && (D += z + ": " + arguments[0][z] + ", ");
|
|
13487
13539
|
D = D.slice(0, -2);
|
|
13488
13540
|
} else
|
|
13489
13541
|
D = arguments[B];
|
|
@@ -13532,7 +13584,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13532
13584
|
c(i, d) && S.push(d);
|
|
13533
13585
|
return S;
|
|
13534
13586
|
};
|
|
13535
|
-
var
|
|
13587
|
+
var j = {
|
|
13536
13588
|
sameDay: "[Today at] LT",
|
|
13537
13589
|
nextDay: "[Tomorrow at] LT",
|
|
13538
13590
|
nextWeek: "dddd [at] LT",
|
|
@@ -13570,9 +13622,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13570
13622
|
for (S = 0, b = d.length; S < b; S++)
|
|
13571
13623
|
ie[d[S]] ? d[S] = ie[d[S]] : d[S] = q(d[S]);
|
|
13572
13624
|
return function(D) {
|
|
13573
|
-
var B = "",
|
|
13574
|
-
for (
|
|
13575
|
-
B += M(d[
|
|
13625
|
+
var B = "", z;
|
|
13626
|
+
for (z = 0; z < b; z++)
|
|
13627
|
+
B += M(d[z]) ? d[z].call(D, i) : d[z];
|
|
13576
13628
|
return B;
|
|
13577
13629
|
};
|
|
13578
13630
|
}
|
|
@@ -13757,8 +13809,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13757
13809
|
var ka = {};
|
|
13758
13810
|
function Ve(i, d) {
|
|
13759
13811
|
var S, b = d, D;
|
|
13760
|
-
for (typeof i == "string" && (i = [i]), f(d) && (b = function(B,
|
|
13761
|
-
|
|
13812
|
+
for (typeof i == "string" && (i = [i]), f(d) && (b = function(B, z) {
|
|
13813
|
+
z[d] = Ce(B);
|
|
13762
13814
|
}), D = i.length, S = 0; S < D; S++)
|
|
13763
13815
|
ka[i[S]] = b;
|
|
13764
13816
|
}
|
|
@@ -13827,7 +13879,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13827
13879
|
}
|
|
13828
13880
|
}
|
|
13829
13881
|
function al(i, d, S) {
|
|
13830
|
-
var b, D, B,
|
|
13882
|
+
var b, D, B, z, ue;
|
|
13831
13883
|
if (!(!i.isValid() || isNaN(S))) {
|
|
13832
13884
|
switch (b = i._d, D = i._isUTC, d) {
|
|
13833
13885
|
case "Milliseconds":
|
|
@@ -13845,7 +13897,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13845
13897
|
default:
|
|
13846
13898
|
return;
|
|
13847
13899
|
}
|
|
13848
|
-
B = S,
|
|
13900
|
+
B = S, z = i.month(), ue = i.date(), ue = ue === 29 && z === 1 && !Cs(B) ? 28 : ue, D ? b.setUTCFullYear(B, z, ue) : b.setFullYear(B, z, ue);
|
|
13849
13901
|
}
|
|
13850
13902
|
}
|
|
13851
13903
|
function uf(i) {
|
|
@@ -13904,14 +13956,14 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13904
13956
|
return i ? o(this._monthsShort) ? this._monthsShort[i.month()] : this._monthsShort[il.test(d) ? "format" : "standalone"][i.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
13905
13957
|
}
|
|
13906
13958
|
function yf(i, d, S) {
|
|
13907
|
-
var b, D, B,
|
|
13959
|
+
var b, D, B, z = i.toLocaleLowerCase();
|
|
13908
13960
|
if (!this._monthsParse)
|
|
13909
13961
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], b = 0; b < 12; ++b)
|
|
13910
13962
|
B = v([2e3, b]), this._shortMonthsParse[b] = this.monthsShort(
|
|
13911
13963
|
B,
|
|
13912
13964
|
""
|
|
13913
13965
|
).toLocaleLowerCase(), this._longMonthsParse[b] = this.months(B, "").toLocaleLowerCase();
|
|
13914
|
-
return S ? d === "MMM" ? (D = et.call(this._shortMonthsParse,
|
|
13966
|
+
return S ? d === "MMM" ? (D = et.call(this._shortMonthsParse, z), D !== -1 ? D : null) : (D = et.call(this._longMonthsParse, z), D !== -1 ? D : null) : d === "MMM" ? (D = et.call(this._shortMonthsParse, z), D !== -1 ? D : (D = et.call(this._longMonthsParse, z), D !== -1 ? D : null)) : (D = et.call(this._longMonthsParse, z), D !== -1 ? D : (D = et.call(this._shortMonthsParse, z), D !== -1 ? D : null));
|
|
13915
13967
|
}
|
|
13916
13968
|
function Tf(i, d, S) {
|
|
13917
13969
|
var b, D, B;
|
|
@@ -13960,9 +14012,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13960
14012
|
function i(Te, xe) {
|
|
13961
14013
|
return xe.length - Te.length;
|
|
13962
14014
|
}
|
|
13963
|
-
var d = [], S = [], b = [], D, B,
|
|
14015
|
+
var d = [], S = [], b = [], D, B, z, ue;
|
|
13964
14016
|
for (D = 0; D < 12; D++)
|
|
13965
|
-
B = v([2e3, D]),
|
|
14017
|
+
B = v([2e3, D]), z = on(this.monthsShort(B, "")), ue = on(this.months(B, "")), d.push(z), S.push(ue), b.push(ue), b.push(z);
|
|
13966
14018
|
d.sort(i), S.sort(i), b.sort(i), this._monthsRegex = new RegExp("^(" + b.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
13967
14019
|
"^(" + S.join("|") + ")",
|
|
13968
14020
|
"i"
|
|
@@ -13971,9 +14023,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13971
14023
|
"i"
|
|
13972
14024
|
);
|
|
13973
14025
|
}
|
|
13974
|
-
function Df(i, d, S, b, D, B,
|
|
14026
|
+
function Df(i, d, S, b, D, B, z) {
|
|
13975
14027
|
var ue;
|
|
13976
|
-
return i < 100 && i >= 0 ? (ue = new Date(i + 400, d, S, b, D, B,
|
|
14028
|
+
return i < 100 && i >= 0 ? (ue = new Date(i + 400, d, S, b, D, B, z), isFinite(ue.getFullYear()) && ue.setFullYear(i)) : ue = new Date(i, d, S, b, D, B, z), ue;
|
|
13977
14029
|
}
|
|
13978
14030
|
function Kr(i) {
|
|
13979
14031
|
var d, S;
|
|
@@ -13984,17 +14036,17 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13984
14036
|
return -D + b - 1;
|
|
13985
14037
|
}
|
|
13986
14038
|
function pl(i, d, S, b, D) {
|
|
13987
|
-
var B = (7 + S - b) % 7,
|
|
14039
|
+
var B = (7 + S - b) % 7, z = Ds(i, b, D), ue = 1 + 7 * (d - 1) + B + z, Te, xe;
|
|
13988
14040
|
return ue <= 0 ? (Te = i - 1, xe = Vr(Te) + ue) : ue > Vr(i) ? (Te = i + 1, xe = ue - Vr(i)) : (Te = i, xe = ue), {
|
|
13989
14041
|
year: Te,
|
|
13990
14042
|
dayOfYear: xe
|
|
13991
14043
|
};
|
|
13992
14044
|
}
|
|
13993
14045
|
function Hr(i, d, S) {
|
|
13994
|
-
var b = Ds(i.year(), d, S), D = Math.floor((i.dayOfYear() - b - 1) / 7) + 1, B,
|
|
13995
|
-
return D < 1 ? (
|
|
14046
|
+
var b = Ds(i.year(), d, S), D = Math.floor((i.dayOfYear() - b - 1) / 7) + 1, B, z;
|
|
14047
|
+
return D < 1 ? (z = i.year() - 1, B = D + dn(z, d, S)) : D > dn(i.year(), d, S) ? (B = D - dn(i.year(), d, S), z = i.year() + 1) : (z = i.year(), B = D), {
|
|
13996
14048
|
week: B,
|
|
13997
|
-
year:
|
|
14049
|
+
year: z
|
|
13998
14050
|
};
|
|
13999
14051
|
}
|
|
14000
14052
|
function dn(i, d, S) {
|
|
@@ -14069,7 +14121,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14069
14121
|
return i === !0 ? Ma(this._weekdaysMin, this._week.dow) : i ? this._weekdaysMin[i.day()] : this._weekdaysMin;
|
|
14070
14122
|
}
|
|
14071
14123
|
function Hf(i, d, S) {
|
|
14072
|
-
var b, D, B,
|
|
14124
|
+
var b, D, B, z = i.toLocaleLowerCase();
|
|
14073
14125
|
if (!this._weekdaysParse)
|
|
14074
14126
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], b = 0; b < 7; ++b)
|
|
14075
14127
|
B = v([2e3, 1]).day(b), this._minWeekdaysParse[b] = this.weekdaysMin(
|
|
@@ -14079,7 +14131,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14079
14131
|
B,
|
|
14080
14132
|
""
|
|
14081
14133
|
).toLocaleLowerCase(), this._weekdaysParse[b] = this.weekdays(B, "").toLocaleLowerCase();
|
|
14082
|
-
return S ? d === "dddd" ? (D = et.call(this._weekdaysParse,
|
|
14134
|
+
return S ? d === "dddd" ? (D = et.call(this._weekdaysParse, z), D !== -1 ? D : null) : d === "ddd" ? (D = et.call(this._shortWeekdaysParse, z), D !== -1 ? D : null) : (D = et.call(this._minWeekdaysParse, z), D !== -1 ? D : null) : d === "dddd" ? (D = et.call(this._weekdaysParse, z), D !== -1 || (D = et.call(this._shortWeekdaysParse, z), D !== -1) ? D : (D = et.call(this._minWeekdaysParse, z), D !== -1 ? D : null)) : d === "ddd" ? (D = et.call(this._shortWeekdaysParse, z), D !== -1 || (D = et.call(this._weekdaysParse, z), D !== -1) ? D : (D = et.call(this._minWeekdaysParse, z), D !== -1 ? D : null)) : (D = et.call(this._minWeekdaysParse, z), D !== -1 || (D = et.call(this._weekdaysParse, z), D !== -1) ? D : (D = et.call(this._shortWeekdaysParse, z), D !== -1 ? D : null));
|
|
14083
14135
|
}
|
|
14084
14136
|
function Wf(i, d, S) {
|
|
14085
14137
|
var b, D, B;
|
|
@@ -14126,10 +14178,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14126
14178
|
} else
|
|
14127
14179
|
return this.day() || 7;
|
|
14128
14180
|
}
|
|
14129
|
-
function
|
|
14181
|
+
function zf(i) {
|
|
14130
14182
|
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || _a.call(this), i ? this._weekdaysStrictRegex : this._weekdaysRegex) : (c(this, "_weekdaysRegex") || (this._weekdaysRegex = Bf), this._weekdaysStrictRegex && i ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
14131
14183
|
}
|
|
14132
|
-
function
|
|
14184
|
+
function jf(i) {
|
|
14133
14185
|
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || _a.call(this), i ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Af), this._weekdaysShortStrictRegex && i ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
14134
14186
|
}
|
|
14135
14187
|
function qf(i) {
|
|
@@ -14139,9 +14191,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14139
14191
|
function i(yt, hn) {
|
|
14140
14192
|
return hn.length - yt.length;
|
|
14141
14193
|
}
|
|
14142
|
-
var d = [], S = [], b = [], D = [], B,
|
|
14194
|
+
var d = [], S = [], b = [], D = [], B, z, ue, Te, xe;
|
|
14143
14195
|
for (B = 0; B < 7; B++)
|
|
14144
|
-
|
|
14196
|
+
z = v([2e3, 1]).day(B), ue = on(this.weekdaysMin(z, "")), Te = on(this.weekdaysShort(z, "")), xe = on(this.weekdays(z, "")), d.push(ue), S.push(Te), b.push(xe), D.push(ue), D.push(Te), D.push(xe);
|
|
14145
14197
|
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(
|
|
14146
14198
|
"^(" + b.join("|") + ")",
|
|
14147
14199
|
"i"
|
|
@@ -14209,7 +14261,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14209
14261
|
return i > 11 ? S ? "pm" : "PM" : S ? "am" : "AM";
|
|
14210
14262
|
}
|
|
14211
14263
|
var hl = {
|
|
14212
|
-
calendar:
|
|
14264
|
+
calendar: j,
|
|
14213
14265
|
longDateFormat: le,
|
|
14214
14266
|
invalidDate: re,
|
|
14215
14267
|
ordinal: Ae,
|
|
@@ -14352,14 +14404,14 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14352
14404
|
PST: -8 * 60
|
|
14353
14405
|
};
|
|
14354
14406
|
function Sl(i) {
|
|
14355
|
-
var d, S, b = i._i, D = oh.exec(b) || ih.exec(b), B,
|
|
14407
|
+
var d, S, b = i._i, D = oh.exec(b) || ih.exec(b), B, z, ue, Te, xe = xs.length, yt = Pa.length;
|
|
14356
14408
|
if (D) {
|
|
14357
14409
|
for (T(i).iso = !0, d = 0, S = xe; d < S; d++)
|
|
14358
14410
|
if (xs[d][1].exec(D[1])) {
|
|
14359
|
-
|
|
14411
|
+
z = xs[d][0], B = xs[d][2] !== !1;
|
|
14360
14412
|
break;
|
|
14361
14413
|
}
|
|
14362
|
-
if (
|
|
14414
|
+
if (z == null) {
|
|
14363
14415
|
i._isValid = !1;
|
|
14364
14416
|
return;
|
|
14365
14417
|
}
|
|
@@ -14385,19 +14437,19 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14385
14437
|
i._isValid = !1;
|
|
14386
14438
|
return;
|
|
14387
14439
|
}
|
|
14388
|
-
i._f =
|
|
14440
|
+
i._f = z + (ue || "") + (Te || ""), Aa(i);
|
|
14389
14441
|
} else
|
|
14390
14442
|
i._isValid = !1;
|
|
14391
14443
|
}
|
|
14392
14444
|
function uh(i, d, S, b, D, B) {
|
|
14393
|
-
var
|
|
14445
|
+
var z = [
|
|
14394
14446
|
mh(i),
|
|
14395
14447
|
ol.indexOf(d),
|
|
14396
14448
|
parseInt(S, 10),
|
|
14397
14449
|
parseInt(b, 10),
|
|
14398
14450
|
parseInt(D, 10)
|
|
14399
14451
|
];
|
|
14400
|
-
return B &&
|
|
14452
|
+
return B && z.push(parseInt(B, 10)), z;
|
|
14401
14453
|
}
|
|
14402
14454
|
function mh(i) {
|
|
14403
14455
|
var d = parseInt(i, 10);
|
|
@@ -14476,9 +14528,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14476
14528
|
] : [d.getFullYear(), d.getMonth(), d.getDate()];
|
|
14477
14529
|
}
|
|
14478
14530
|
function Ba(i) {
|
|
14479
|
-
var d, S, b = [], D, B,
|
|
14531
|
+
var d, S, b = [], D, B, z;
|
|
14480
14532
|
if (!i._d) {
|
|
14481
|
-
for (D = bh(i), i._w && i._a[Xt] == null && i._a[ln] == null && vh(i), i._dayOfYear != null && (
|
|
14533
|
+
for (D = bh(i), i._w && i._a[Xt] == null && i._a[ln] == null && vh(i), i._dayOfYear != null && (z = lr(i._a[ht], D[ht]), (i._dayOfYear > Vr(z) || i._dayOfYear === 0) && (T(i)._overflowDayOfYear = !0), S = Kr(z, 0, i._dayOfYear), i._a[ln] = S.getUTCMonth(), i._a[Xt] = S.getUTCDate()), d = 0; d < 3 && i._a[d] == null; ++d)
|
|
14482
14534
|
i._a[d] = b[d] = D[d];
|
|
14483
14535
|
for (; d < 7; d++)
|
|
14484
14536
|
i._a[d] = b[d] = i._a[d] == null ? d === 2 ? 1 : 0 : i._a[d];
|
|
@@ -14489,12 +14541,12 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14489
14541
|
}
|
|
14490
14542
|
}
|
|
14491
14543
|
function vh(i) {
|
|
14492
|
-
var d, S, b, D, B,
|
|
14493
|
-
d = i._w, d.GG != null || d.W != null || d.E != null ? (B = 1,
|
|
14544
|
+
var d, S, b, D, B, z, ue, Te, xe;
|
|
14545
|
+
d = i._w, d.GG != null || d.W != null || d.E != null ? (B = 1, z = 4, S = lr(
|
|
14494
14546
|
d.GG,
|
|
14495
14547
|
i._a[ht],
|
|
14496
14548
|
Hr(Ye(), 1, 4).year
|
|
14497
|
-
), b = lr(d.W, 1), D = lr(d.E, 1), (D < 1 || D > 7) && (Te = !0)) : (B = i._locale._week.dow,
|
|
14549
|
+
), b = lr(d.W, 1), D = lr(d.E, 1), (D < 1 || D > 7) && (Te = !0)) : (B = i._locale._week.dow, z = i._locale._week.doy, xe = Hr(Ye(), B, z), S = lr(d.gg, i._a[ht], xe.year), b = lr(d.w, xe.week), d.d != null ? (D = d.d, (D < 0 || D > 6) && (Te = !0)) : d.e != null ? (D = d.e + B, (d.e < 0 || d.e > 6) && (Te = !0)) : D = B), b < 1 || b > dn(S, B, z) ? T(i)._overflowWeeks = !0 : Te != null ? T(i)._overflowWeekday = !0 : (ue = pl(S, b, D, B, z), i._a[ht] = ue.year, i._dayOfYear = ue.dayOfYear);
|
|
14498
14550
|
}
|
|
14499
14551
|
r.ISO_8601 = function() {
|
|
14500
14552
|
}, r.RFC_2822 = function() {
|
|
@@ -14509,9 +14561,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14509
14561
|
return;
|
|
14510
14562
|
}
|
|
14511
14563
|
i._a = [], T(i).empty = !0;
|
|
14512
|
-
var d = "" + i._i, S, b, D, B,
|
|
14564
|
+
var d = "" + i._i, S, b, D, B, z, ue = d.length, Te = 0, xe, yt;
|
|
14513
14565
|
for (D = ae(i._f, i._locale).match(G) || [], yt = D.length, S = 0; S < yt; S++)
|
|
14514
|
-
B = D[S], b = (d.match(af(B, i)) || [])[0], b && (
|
|
14566
|
+
B = D[S], b = (d.match(af(B, i)) || [])[0], b && (z = d.substr(0, d.indexOf(b)), z.length > 0 && T(i).unusedInput.push(z), d = d.slice(
|
|
14515
14567
|
d.indexOf(b) + b.length
|
|
14516
14568
|
), Te += b.length), ie[B] ? (b ? T(i).empty = !1 : T(i).unusedTokens.push(B), lf(B, b, i)) : i._strict && !b && T(i).unusedTokens.push(B);
|
|
14517
14569
|
T(i).charsLeftOver = ue - Te, d.length > 0 && T(i).unusedInput.push(d), i._a[at] <= 12 && T(i).bigHour === !0 && i._a[at] > 0 && (T(i).bigHour = void 0), T(i).parsedDateParts = i._a.slice(0), T(i).meridiem = i._meridiem, i._a[at] = yh(
|
|
@@ -14525,13 +14577,13 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14525
14577
|
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);
|
|
14526
14578
|
}
|
|
14527
14579
|
function Th(i) {
|
|
14528
|
-
var d, S, b, D, B,
|
|
14580
|
+
var d, S, b, D, B, z, ue = !1, Te = i._f.length;
|
|
14529
14581
|
if (Te === 0) {
|
|
14530
14582
|
T(i).invalidFormat = !0, i._d = /* @__PURE__ */ new Date(NaN);
|
|
14531
14583
|
return;
|
|
14532
14584
|
}
|
|
14533
14585
|
for (D = 0; D < Te; D++)
|
|
14534
|
-
B = 0,
|
|
14586
|
+
B = 0, z = !1, d = A({}, i), i._useUTC != null && (d._useUTC = i._useUTC), d._f = i._f[D], Aa(d), N(d) && (z = !0), B += T(d).charsLeftOver, B += T(d).unusedTokens.length * 10, T(d).score = B, ue ? B < b && (b = B, S = d) : (b == null || B < b || z) && (b = B, S = d, z && (ue = !0));
|
|
14535
14587
|
g(i, S || d);
|
|
14536
14588
|
}
|
|
14537
14589
|
function Eh(i) {
|
|
@@ -14628,10 +14680,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14628
14680
|
return Wt(NaN);
|
|
14629
14681
|
}
|
|
14630
14682
|
function ks(i) {
|
|
14631
|
-
var d = ve(i), S = d.year || 0, b = d.quarter || 0, D = d.month || 0, B = d.week || d.isoWeek || 0,
|
|
14683
|
+
var d = ve(i), S = d.year || 0, b = d.quarter || 0, D = d.month || 0, B = d.week || d.isoWeek || 0, z = d.day || 0, ue = d.hour || 0, Te = d.minute || 0, xe = d.second || 0, yt = d.millisecond || 0;
|
|
14632
14684
|
this._isValid = Mh(d), this._milliseconds = +yt + xe * 1e3 + // 1000
|
|
14633
14685
|
Te * 6e4 + // 1000 * 60
|
|
14634
|
-
ue * 1e3 * 60 * 60, this._days = +
|
|
14686
|
+
ue * 1e3 * 60 * 60, this._days = +z + B * 7, this._months = +D + b * 3 + S * 12, this._data = {}, this._locale = pn(), this._bubble();
|
|
14635
14687
|
}
|
|
14636
14688
|
function Is(i) {
|
|
14637
14689
|
return i instanceof ks;
|
|
@@ -14640,9 +14692,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14640
14692
|
return i < 0 ? Math.round(-1 * i) * -1 : Math.round(i);
|
|
14641
14693
|
}
|
|
14642
14694
|
function Lh(i, d, S) {
|
|
14643
|
-
var b = Math.min(i.length, d.length), D = Math.abs(i.length - d.length), B = 0,
|
|
14644
|
-
for (
|
|
14645
|
-
Ce(i[
|
|
14695
|
+
var b = Math.min(i.length, d.length), D = Math.abs(i.length - d.length), B = 0, z;
|
|
14696
|
+
for (z = 0; z < b; z++)
|
|
14697
|
+
Ce(i[z]) !== Ce(d[z]) && B++;
|
|
14646
14698
|
return B + D;
|
|
14647
14699
|
}
|
|
14648
14700
|
function El(i, d) {
|
|
@@ -14727,7 +14779,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14727
14779
|
}
|
|
14728
14780
|
var Yh = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Uh = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
14729
14781
|
function Wt(i, d) {
|
|
14730
|
-
var S = i, b = null, D, B,
|
|
14782
|
+
var S = i, b = null, D, B, z;
|
|
14731
14783
|
return Is(i) ? S = {
|
|
14732
14784
|
ms: i._milliseconds,
|
|
14733
14785
|
d: i._days,
|
|
@@ -14748,10 +14800,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14748
14800
|
h: Hn(b[6], D),
|
|
14749
14801
|
m: Hn(b[7], D),
|
|
14750
14802
|
s: Hn(b[8], D)
|
|
14751
|
-
}) : S == null ? S = {} : typeof S == "object" && ("from" in S || "to" in S) && (
|
|
14803
|
+
}) : S == null ? S = {} : typeof S == "object" && ("from" in S || "to" in S) && (z = zh(
|
|
14752
14804
|
Ye(S.from),
|
|
14753
14805
|
Ye(S.to)
|
|
14754
|
-
), S = {}, S.ms =
|
|
14806
|
+
), S = {}, S.ms = z.milliseconds, S.M = z.months), B = new ks(S), Is(i) && c(i, "_locale") && (B._locale = i._locale), Is(i) && c(i, "_isValid") && (B._isValid = i._isValid), B;
|
|
14755
14807
|
}
|
|
14756
14808
|
Wt.fn = ks.prototype, Wt.invalid = Oh;
|
|
14757
14809
|
function Hn(i, d) {
|
|
@@ -14762,7 +14814,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14762
14814
|
var S = {};
|
|
14763
14815
|
return S.months = d.month() - i.month() + (d.year() - i.year()) * 12, i.clone().add(S.months, "M").isAfter(d) && --S.months, S.milliseconds = +d - +i.clone().add(S.months, "M"), S;
|
|
14764
14816
|
}
|
|
14765
|
-
function
|
|
14817
|
+
function zh(i, d) {
|
|
14766
14818
|
var S;
|
|
14767
14819
|
return i.isValid() && d.isValid() ? (d = $a(d, i), i.isBefore(d) ? S = Cl(i, d) : (S = Cl(d, i), S.milliseconds = -S.milliseconds, S.months = -S.months), S) : { milliseconds: 0, months: 0 };
|
|
14768
14820
|
}
|
|
@@ -14776,10 +14828,10 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14776
14828
|
};
|
|
14777
14829
|
}
|
|
14778
14830
|
function Nl(i, d, S, b) {
|
|
14779
|
-
var D = d._milliseconds, B = Fa(d._days),
|
|
14780
|
-
i.isValid() && (b = b ?? !0,
|
|
14831
|
+
var D = d._milliseconds, B = Fa(d._days), z = Fa(d._months);
|
|
14832
|
+
i.isValid() && (b = b ?? !0, z && ll(i, $r(i, "Month") + z * S), B && al(i, "Date", $r(i, "Date") + B * S), D && i._d.setTime(i._d.valueOf() + D * S), b && r.updateOffset(i, B || z));
|
|
14781
14833
|
}
|
|
14782
|
-
var
|
|
14834
|
+
var jh = Dl(1, "add"), qh = Dl(-1, "subtract");
|
|
14783
14835
|
function xl(i) {
|
|
14784
14836
|
return typeof i == "string" || i instanceof String;
|
|
14785
14837
|
}
|
|
@@ -14812,8 +14864,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14812
14864
|
"milliseconds",
|
|
14813
14865
|
"millisecond",
|
|
14814
14866
|
"ms"
|
|
14815
|
-
], D, B,
|
|
14816
|
-
for (D = 0; D <
|
|
14867
|
+
], D, B, z = b.length;
|
|
14868
|
+
for (D = 0; D < z; D += 1)
|
|
14817
14869
|
B = b[D], S = S || c(i, B);
|
|
14818
14870
|
return d && S;
|
|
14819
14871
|
}
|
|
@@ -15162,9 +15214,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15162
15214
|
return B;
|
|
15163
15215
|
}
|
|
15164
15216
|
function _g(i, d, S) {
|
|
15165
|
-
var b, D, B = this.eras(),
|
|
15217
|
+
var b, D, B = this.eras(), z, ue, Te;
|
|
15166
15218
|
for (i = i.toUpperCase(), b = 0, D = B.length; b < D; ++b)
|
|
15167
|
-
if (
|
|
15219
|
+
if (z = B[b].name.toUpperCase(), ue = B[b].abbr.toUpperCase(), Te = B[b].narrow.toUpperCase(), S)
|
|
15168
15220
|
switch (d) {
|
|
15169
15221
|
case "N":
|
|
15170
15222
|
case "NN":
|
|
@@ -15173,7 +15225,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15173
15225
|
return B[b];
|
|
15174
15226
|
break;
|
|
15175
15227
|
case "NNNN":
|
|
15176
|
-
if (
|
|
15228
|
+
if (z === i)
|
|
15177
15229
|
return B[b];
|
|
15178
15230
|
break;
|
|
15179
15231
|
case "NNNNN":
|
|
@@ -15181,7 +15233,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15181
15233
|
return B[b];
|
|
15182
15234
|
break;
|
|
15183
15235
|
}
|
|
15184
|
-
else if ([
|
|
15236
|
+
else if ([z, ue, Te].indexOf(i) >= 0)
|
|
15185
15237
|
return B[b];
|
|
15186
15238
|
}
|
|
15187
15239
|
function Og(i, d) {
|
|
@@ -15238,9 +15290,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15238
15290
|
return d._eraYearOrdinalRegex || Le;
|
|
15239
15291
|
}
|
|
15240
15292
|
function Wa() {
|
|
15241
|
-
var i = [], d = [], S = [], b = [], D, B,
|
|
15293
|
+
var i = [], d = [], S = [], b = [], D, B, z, ue, Te, xe = this.eras();
|
|
15242
15294
|
for (D = 0, B = xe.length; D < B; ++D)
|
|
15243
|
-
|
|
15295
|
+
z = on(xe[D].name), ue = on(xe[D].abbr), Te = on(xe[D].narrow), d.push(z), i.push(ue), S.push(Te), b.push(z), b.push(ue), b.push(Te);
|
|
15244
15296
|
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(
|
|
15245
15297
|
"^(" + S.join("|") + ")",
|
|
15246
15298
|
"i"
|
|
@@ -15288,11 +15340,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15288
15340
|
function Ug() {
|
|
15289
15341
|
return dn(this.isoWeekYear(), 1, 4);
|
|
15290
15342
|
}
|
|
15291
|
-
function
|
|
15343
|
+
function zg() {
|
|
15292
15344
|
var i = this.localeData()._week;
|
|
15293
15345
|
return dn(this.year(), i.dow, i.doy);
|
|
15294
15346
|
}
|
|
15295
|
-
function
|
|
15347
|
+
function jg() {
|
|
15296
15348
|
var i = this.localeData()._week;
|
|
15297
15349
|
return dn(this.weekYear(), i.dow, i.doy);
|
|
15298
15350
|
}
|
|
@@ -15301,8 +15353,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15301
15353
|
return i == null ? Hr(this, b, D).year : (B = dn(i, b, D), d > B && (d = B), qg.call(this, i, d, S, b, D));
|
|
15302
15354
|
}
|
|
15303
15355
|
function qg(i, d, S, b, D) {
|
|
15304
|
-
var B = pl(i, d, S, b, D),
|
|
15305
|
-
return this.year(
|
|
15356
|
+
var B = pl(i, d, S, b, D), z = Kr(B.year, 0, B.dayOfYear);
|
|
15357
|
+
return this.year(z.getUTCFullYear()), this.month(z.getUTCMonth()), this.date(z.getUTCDate()), this;
|
|
15306
15358
|
}
|
|
15307
15359
|
P("Q", 0, "Qo", "quarter"), pe("Q", Fe), Ve("Q", function(i, d) {
|
|
15308
15360
|
d[ln] = (Ce(i) - 1) * 3;
|
|
@@ -15362,9 +15414,9 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15362
15414
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
15363
15415
|
}
|
|
15364
15416
|
var oe = L.prototype;
|
|
15365
|
-
oe.add =
|
|
15417
|
+
oe.add = jh, oe.calendar = tg, oe.clone = ng, oe.diff = cg, oe.endOf = vg, oe.format = mg, oe.from = fg, oe.fromNow = hg, oe.to = gg, oe.toNow = Sg, oe.get = uf, oe.invalidAt = kg, oe.isAfter = rg, oe.isBefore = sg, oe.isBetween = ag, oe.isSame = og, oe.isSameOrAfter = ig, oe.isSameOrBefore = lg, oe.isValid = Ng, oe.lang = Il, oe.locale = kl, oe.localeData = Ml, oe.max = Nh, oe.min = Dh, oe.parsingFlags = xg, oe.set = mf, oe.startOf = bg, oe.subtract = qh, oe.toArray = wg, oe.toObject = Cg, oe.toDate = Eg, oe.toISOString = pg, oe.inspect = ug, typeof Symbol < "u" && Symbol.for != null && (oe[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
15366
15418
|
return "Moment<" + this.format() + ">";
|
|
15367
|
-
}), oe.toJSON = Dg, oe.toString = dg, oe.unix = Tg, oe.valueOf = yg, oe.creationData = Ig, oe.eraName = Lg, oe.eraNarrow = Rg, oe.eraAbbr = Pg, oe.eraYear = Bg, oe.year = sl, oe.isLeapYear = pf, oe.weekYear = Wg, oe.isoWeekYear = Gg, oe.quarter = oe.quarters = Jg, oe.month = cl, oe.daysInMonth = Ef, oe.week = oe.weeks = Mf, oe.isoWeek = oe.isoWeeks = _f, oe.weeksInYear =
|
|
15419
|
+
}), oe.toJSON = Dg, oe.toString = dg, oe.unix = Tg, oe.valueOf = yg, oe.creationData = Ig, oe.eraName = Lg, oe.eraNarrow = Rg, oe.eraAbbr = Pg, oe.eraYear = Bg, oe.year = sl, oe.isLeapYear = pf, oe.weekYear = Wg, oe.isoWeekYear = Gg, oe.quarter = oe.quarters = Jg, oe.month = cl, oe.daysInMonth = Ef, oe.week = oe.weeks = Mf, oe.isoWeek = oe.isoWeeks = _f, oe.weeksInYear = zg, oe.weeksInWeekYear = jg, oe.isoWeeksInYear = Yg, oe.isoWeeksInISOWeekYear = Ug, oe.date = Pl, oe.day = oe.days = Gf, oe.weekday = Yf, oe.isoWeekday = Uf, oe.dayOfYear = Zg, oe.hour = oe.hours = Qf, oe.minute = oe.minutes = Xg, oe.second = oe.seconds = Qg, oe.millisecond = oe.milliseconds = Bl, oe.utcOffset = Ph, oe.utc = Ah, oe.local = Fh, oe.parseZone = Vh, oe.hasAlignedHourOffset = $h, oe.isDST = Kh, oe.isLocal = Wh, oe.isUtcOffset = Gh, oe.isUtc = wl, oe.isUTC = wl, oe.zoneAbbr = tS, oe.zoneName = nS, oe.dates = _(
|
|
15368
15420
|
"dates accessor is deprecated. Use date instead.",
|
|
15369
15421
|
Pl
|
|
15370
15422
|
), oe.months = _(
|
|
@@ -15390,7 +15442,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15390
15442
|
return i;
|
|
15391
15443
|
}
|
|
15392
15444
|
var Oe = Y.prototype;
|
|
15393
|
-
Oe.calendar = ne, Oe.longDateFormat = se, Oe.invalidDate = we, Oe.ordinal = mt, Oe.preparse = Al, Oe.postformat = Al, Oe.relativeTime = ft, Oe.pastFuture = he, Oe.set = W, Oe.eras = Mg, Oe.erasParse = _g, Oe.erasConvertYear = Og, Oe.erasAbbrRegex = Fg, Oe.erasNameRegex = Ag, Oe.erasNarrowRegex = Vg, Oe.months = bf, Oe.monthsShort = vf, Oe.monthsParse = Tf, Oe.monthsRegex = Cf, Oe.monthsShortRegex = wf, Oe.week = Nf, Oe.firstDayOfYear = If, Oe.firstDayOfWeek = kf, Oe.weekdays = Vf, Oe.weekdaysMin = Kf, Oe.weekdaysShort = $f, Oe.weekdaysParse = Wf, Oe.weekdaysRegex =
|
|
15445
|
+
Oe.calendar = ne, Oe.longDateFormat = se, Oe.invalidDate = we, Oe.ordinal = mt, Oe.preparse = Al, Oe.postformat = Al, Oe.relativeTime = ft, Oe.pastFuture = he, Oe.set = W, Oe.eras = Mg, Oe.erasParse = _g, Oe.erasConvertYear = Og, Oe.erasAbbrRegex = Fg, Oe.erasNameRegex = Ag, Oe.erasNarrowRegex = Vg, Oe.months = bf, Oe.monthsShort = vf, Oe.monthsParse = Tf, Oe.monthsRegex = Cf, Oe.monthsShortRegex = wf, Oe.week = Nf, Oe.firstDayOfYear = If, Oe.firstDayOfWeek = kf, Oe.weekdays = Vf, Oe.weekdaysMin = Kf, Oe.weekdaysShort = $f, Oe.weekdaysParse = Wf, Oe.weekdaysRegex = zf, Oe.weekdaysShortRegex = jf, Oe.weekdaysMinRegex = qf, Oe.isPM = Zf, Oe.meridiem = eh;
|
|
15394
15446
|
function Rs(i, d, S, b) {
|
|
15395
15447
|
var D = pn(), B = v().set(b, d);
|
|
15396
15448
|
return D[S](B, i);
|
|
@@ -15405,11 +15457,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15405
15457
|
}
|
|
15406
15458
|
function Ga(i, d, S, b) {
|
|
15407
15459
|
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 || "");
|
|
15408
|
-
var D = pn(), B = i ? D._week.dow : 0,
|
|
15460
|
+
var D = pn(), B = i ? D._week.dow : 0, z, ue = [];
|
|
15409
15461
|
if (S != null)
|
|
15410
15462
|
return Rs(d, (S + B) % 7, b, "day");
|
|
15411
|
-
for (
|
|
15412
|
-
ue[
|
|
15463
|
+
for (z = 0; z < 7; z++)
|
|
15464
|
+
ue[z] = Rs(d, (z + B) % 7, b, "day");
|
|
15413
15465
|
return ue;
|
|
15414
15466
|
}
|
|
15415
15467
|
function aS(i, d) {
|
|
@@ -15477,8 +15529,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15477
15529
|
return i < 0 ? Math.floor(i) : Math.ceil(i);
|
|
15478
15530
|
}
|
|
15479
15531
|
function mS() {
|
|
15480
|
-
var i = this._milliseconds, d = this._days, S = this._months, b = this._data, D, B,
|
|
15481
|
-
return i >= 0 && d >= 0 && S >= 0 || i <= 0 && d <= 0 && S <= 0 || (i += $l(Ya(S) + d) * 864e5, d = 0, S = 0), b.milliseconds = i % 1e3, D = Lt(i / 1e3), b.seconds = D % 60, B = Lt(D / 60), b.minutes = B % 60,
|
|
15532
|
+
var i = this._milliseconds, d = this._days, S = this._months, b = this._data, D, B, z, ue, Te;
|
|
15533
|
+
return i >= 0 && d >= 0 && S >= 0 || i <= 0 && d <= 0 && S <= 0 || (i += $l(Ya(S) + d) * 864e5, d = 0, S = 0), b.milliseconds = i % 1e3, D = Lt(i / 1e3), b.seconds = D % 60, B = Lt(D / 60), b.minutes = B % 60, z = Lt(B / 60), b.hours = z % 24, d += Lt(z / 24), Te = Lt(Kl(d)), S += Te, d -= $l(Ya(Te)), ue = Lt(S / 12), S %= 12, b.days = d, b.months = S, b.years = ue, this;
|
|
15482
15534
|
}
|
|
15483
15535
|
function Kl(i) {
|
|
15484
15536
|
return i * 4800 / 146097;
|
|
@@ -15558,7 +15610,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15558
15610
|
return D.relativeTime(d || 1, !!S, i, b);
|
|
15559
15611
|
}
|
|
15560
15612
|
function PS(i, d, S, b) {
|
|
15561
|
-
var D = Wt(i).abs(), B = fn(D.as("s")),
|
|
15613
|
+
var D = Wt(i).abs(), B = fn(D.as("s")), z = fn(D.as("m")), ue = fn(D.as("h")), Te = fn(D.as("d")), xe = fn(D.as("M")), yt = fn(D.as("w")), hn = fn(D.as("y")), In = B <= S.ss && ["s", B] || B < S.s && ["ss", B] || z <= 1 && ["m"] || z < S.m && ["mm", z] || ue <= 1 && ["h"] || ue < S.h && ["hh", ue] || Te <= 1 && ["d"] || Te < S.d && ["dd", Te];
|
|
15562
15614
|
return S.w != null && (In = In || yt <= 1 && ["w"] || yt < S.w && ["ww", yt]), In = In || xe <= 1 && ["M"] || xe < S.M && ["MM", xe] || hn <= 1 && ["y"] || ["yy", hn], In[2] = d, In[3] = +i > 0, In[4] = b, RS.apply(null, In);
|
|
15563
15615
|
}
|
|
15564
15616
|
function BS(i) {
|
|
@@ -15580,8 +15632,8 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15580
15632
|
function Ps() {
|
|
15581
15633
|
if (!this.isValid())
|
|
15582
15634
|
return this.localeData().invalidDate();
|
|
15583
|
-
var i = Ua(this._milliseconds) / 1e3, d = Ua(this._days), S = Ua(this._months), b, D, B,
|
|
15584
|
-
return ue ? (b = Lt(i / 60), D = Lt(b / 60), i %= 60, b %= 60, B = Lt(S / 12), S %= 12,
|
|
15635
|
+
var i = Ua(this._milliseconds) / 1e3, d = Ua(this._days), S = Ua(this._months), b, D, B, z, ue = this.asSeconds(), Te, xe, yt, hn;
|
|
15636
|
+
return ue ? (b = Lt(i / 60), D = Lt(b / 60), i %= 60, b %= 60, B = Lt(S / 12), S %= 12, z = i ? i.toFixed(3).replace(/\.?0+$/, "") : "", Te = ue < 0 ? "-" : "", xe = ur(this._months) !== ur(ue) ? "-" : "", yt = ur(this._days) !== ur(ue) ? "-" : "", hn = ur(this._milliseconds) !== ur(ue) ? "-" : "", Te + "P" + (B ? xe + B + "Y" : "") + (S ? xe + S + "M" : "") + (d ? yt + d + "D" : "") + (D || b || i ? "T" : "") + (D ? hn + D + "H" : "") + (b ? hn + b + "M" : "") + (i ? hn + z + "S" : "")) : "P0D";
|
|
15585
15637
|
}
|
|
15586
15638
|
var Ie = ks.prototype;
|
|
15587
15639
|
Ie.isValid = _h, Ie.abs = dS, Ie.add = pS, Ie.subtract = uS, Ie.as = fS, Ie.asMilliseconds = Hl, Ie.asSeconds = hS, Ie.asMinutes = gS, Ie.asHours = SS, Ie.asDays = bS, Ie.asWeeks = vS, Ie.asMonths = yS, Ie.asQuarters = TS, Ie.asYears = ES, Ie.valueOf = wS, Ie._bubble = mS, Ie.clone = CS, Ie.get = DS, Ie.milliseconds = NS, Ie.seconds = xS, Ie.minutes = kS, Ie.hours = IS, Ie.days = MS, Ie.weeks = LS, Ie.months = _S, Ie.years = OS, Ie.humanize = FS, Ie.toISOString = Ps, Ie.toString = Ps, Ie.toJSON = Ps, Ie.locale = kl, Ie.localeData = Ml, Ie.toIsoString = _(
|
|
@@ -16537,7 +16589,7 @@ var Be = /* @__PURE__ */ ((e) => (e.VISIBLE = "visible", e.DEFER_VISIBLE = "defe
|
|
|
16537
16589
|
function Eo(e) {
|
|
16538
16590
|
return e === "visible" ? "hidden" : "visible";
|
|
16539
16591
|
}
|
|
16540
|
-
const vd = 13,
|
|
16592
|
+
const vd = 13, zn = /* @__PURE__ */ new Map(), iN = {
|
|
16541
16593
|
for: { type: "React.MutableRefObject<any> | string", required: !0 },
|
|
16542
16594
|
hideDelay: "number",
|
|
16543
16595
|
isShown: "TooltipVisibility",
|
|
@@ -16549,7 +16601,7 @@ const vd = 13, jn = /* @__PURE__ */ new Map(), iN = {
|
|
|
16549
16601
|
showOn: "TooltipShowTrigger",
|
|
16550
16602
|
title: "string | ReactNode"
|
|
16551
16603
|
};
|
|
16552
|
-
function
|
|
16604
|
+
function jt({
|
|
16553
16605
|
children: e,
|
|
16554
16606
|
className: t,
|
|
16555
16607
|
for: n,
|
|
@@ -16574,25 +16626,25 @@ function zt({
|
|
|
16574
16626
|
E.current.hideTimer && (window.clearTimeout(E.current.hideTimer), E.current.hideTimer = null);
|
|
16575
16627
|
}, []), A = s.useCallback(() => {
|
|
16576
16628
|
k(), w(!1);
|
|
16577
|
-
}, []), L = s.useCallback((
|
|
16629
|
+
}, []), L = s.useCallback((j = !1) => {
|
|
16578
16630
|
var ne;
|
|
16579
|
-
if (
|
|
16631
|
+
if (j === !0 && zn.size > 0)
|
|
16580
16632
|
return p && p(), !1;
|
|
16581
16633
|
if (((ne = N.current) == null ? void 0 : ne.textContent) === "")
|
|
16582
16634
|
return console.warn("SpsTooltip is empty; aborting show"), !1;
|
|
16583
16635
|
k();
|
|
16584
|
-
for (const R of
|
|
16636
|
+
for (const R of zn.values())
|
|
16585
16637
|
R();
|
|
16586
16638
|
return w(!0), !0;
|
|
16587
|
-
}, []), C = s.useCallback((
|
|
16588
|
-
|
|
16589
|
-
}, []), O = s.useCallback((
|
|
16590
|
-
N.current && !N.current.contains(
|
|
16639
|
+
}, []), C = s.useCallback((j) => {
|
|
16640
|
+
j && j.stopPropagation(), w((ne) => ne ? (A(), !1) : L());
|
|
16641
|
+
}, []), O = s.useCallback((j) => {
|
|
16642
|
+
N.current && !N.current.contains(j.target) && A();
|
|
16591
16643
|
}, []), _ = s.useCallback(() => {
|
|
16592
16644
|
k(), E.current.hideTimer = window.setTimeout(A, a);
|
|
16593
|
-
}, []), V = s.useCallback((
|
|
16645
|
+
}, []), V = s.useCallback((j) => {
|
|
16594
16646
|
var P, q, J, te, ae, le;
|
|
16595
|
-
const [ne, R] =
|
|
16647
|
+
const [ne, R] = j.split(" "), G = (P = I == null ? void 0 : I.current) == null ? void 0 : P.getBoundingClientRect(), ee = x.current ? parseInt(((q = getComputedStyle(x.current)) == null ? void 0 : q.width) || "0", 10) : 0, Q = ee * Math.sqrt(2), ie = (Q - ee) / 2;
|
|
16596
16648
|
if (["top", "bottom"].includes(ne) && R !== "middle") {
|
|
16597
16649
|
if (!(G != null && G.width) || G.width > 50)
|
|
16598
16650
|
return 0;
|
|
@@ -16607,7 +16659,7 @@ function zt({
|
|
|
16607
16659
|
return 0;
|
|
16608
16660
|
}, []);
|
|
16609
16661
|
s.useEffect(() => {
|
|
16610
|
-
if (typeof n == "string" && (I.current = document.getElementById(n)), T ?
|
|
16662
|
+
if (typeof n == "string" && (I.current = document.getElementById(n)), T ? zn.set(E.current.instanceKey, A) : zn.has(E.current.instanceKey) && zn.delete(E.current.instanceKey), u === Ct.MANUAL) {
|
|
16611
16663
|
if (o !== E.current.prevIsShown)
|
|
16612
16664
|
switch (o) {
|
|
16613
16665
|
case "visible":
|
|
@@ -16638,11 +16690,11 @@ function zt({
|
|
|
16638
16690
|
break;
|
|
16639
16691
|
}
|
|
16640
16692
|
}, [I]), s.useEffect(() => {
|
|
16641
|
-
var
|
|
16642
|
-
((
|
|
16693
|
+
var j;
|
|
16694
|
+
((j = N.current) == null ? void 0 : j.textContent) === "" && T && (E.current.hideTimer && (clearTimeout(E.current.hideTimer), E.current.hideTimer = null), w(!1));
|
|
16643
16695
|
}, [e, T]), s.useEffect(
|
|
16644
16696
|
() => () => {
|
|
16645
|
-
|
|
16697
|
+
zn.has(E.current.instanceKey) && zn.delete(E.current.instanceKey), I.current && (I.current.removeEventListener("mouseenter", L), I.current.removeEventListener("mouseleave", _), I.current.removeEventListener("click", C), document.removeEventListener("click", O));
|
|
16646
16698
|
},
|
|
16647
16699
|
[]
|
|
16648
16700
|
);
|
|
@@ -16655,7 +16707,7 @@ function zt({
|
|
|
16655
16707
|
...M
|
|
16656
16708
|
}) : [{}, !1]);
|
|
16657
16709
|
}, [T, m, f, c[0], c[1], e]), s.useEffect(() => {
|
|
16658
|
-
const
|
|
16710
|
+
const j = () => {
|
|
16659
16711
|
T && Y(
|
|
16660
16712
|
xr(N, I, m, {
|
|
16661
16713
|
altPosition: f,
|
|
@@ -16665,8 +16717,8 @@ function zt({
|
|
|
16665
16717
|
})
|
|
16666
16718
|
);
|
|
16667
16719
|
};
|
|
16668
|
-
return document.addEventListener("scroll",
|
|
16669
|
-
document.removeEventListener("scroll",
|
|
16720
|
+
return document.addEventListener("scroll", j), () => {
|
|
16721
|
+
document.removeEventListener("scroll", j);
|
|
16670
16722
|
};
|
|
16671
16723
|
}, [T]);
|
|
16672
16724
|
const $ = K(
|
|
@@ -16695,7 +16747,7 @@ function zt({
|
|
|
16695
16747
|
)
|
|
16696
16748
|
);
|
|
16697
16749
|
}
|
|
16698
|
-
Object.assign(
|
|
16750
|
+
Object.assign(jt, {
|
|
16699
16751
|
props: iN,
|
|
16700
16752
|
displayName: "SpsTooltip"
|
|
16701
16753
|
});
|
|
@@ -16761,7 +16813,7 @@ function Hi(e) {
|
|
|
16761
16813
|
},
|
|
16762
16814
|
t
|
|
16763
16815
|
), /* @__PURE__ */ s.createElement(
|
|
16764
|
-
|
|
16816
|
+
jt,
|
|
16765
16817
|
{
|
|
16766
16818
|
kind: E,
|
|
16767
16819
|
for: u,
|
|
@@ -17367,8 +17419,8 @@ function Br(e) {
|
|
|
17367
17419
|
...le[0]
|
|
17368
17420
|
})
|
|
17369
17421
|
), Y = `${L.current}-button`, $ = `${L.current}-menu`;
|
|
17370
|
-
let
|
|
17371
|
-
p ? (ne = c ||
|
|
17422
|
+
let j, ne;
|
|
17423
|
+
p ? (ne = c || za.DEFAULT, j = o) : (ne = za.ICON, j = o || rt.ELLIPSES);
|
|
17372
17424
|
const R = s.useRef(null);
|
|
17373
17425
|
s.useEffect(() => {
|
|
17374
17426
|
C && E ? E() : !C && T && T();
|
|
@@ -17415,7 +17467,7 @@ function Br(e) {
|
|
|
17415
17467
|
`sps-button--${ne}`,
|
|
17416
17468
|
a && "sps-button--disabled",
|
|
17417
17469
|
u && "sps-button--spinning"
|
|
17418
|
-
), ae = ne ===
|
|
17470
|
+
), ae = ne === za.ICON && !n ? [Ee.BOTTOM_RIGHT, Ee.TOP_RIGHT] : void 0;
|
|
17419
17471
|
return s.useEffect(() => {
|
|
17420
17472
|
let le;
|
|
17421
17473
|
return C && (le = () => {
|
|
@@ -17436,7 +17488,7 @@ function Br(e) {
|
|
|
17436
17488
|
disabled: a,
|
|
17437
17489
|
onClick: ee
|
|
17438
17490
|
},
|
|
17439
|
-
/* @__PURE__ */ s.createElement("i", { className: K("sps-icon", `sps-icon-${
|
|
17491
|
+
/* @__PURE__ */ s.createElement("i", { className: K("sps-icon", `sps-icon-${j}`) }),
|
|
17440
17492
|
p && /* @__PURE__ */ s.createElement("span", null, p),
|
|
17441
17493
|
u && /* @__PURE__ */ s.createElement("div", { className: "sps-spinner", key: 1 }, h || A("design-system:button.spinningTitle"))
|
|
17442
17494
|
)), /* @__PURE__ */ s.createElement(
|
|
@@ -17903,8 +17955,8 @@ function Lu({
|
|
|
17903
17955
|
),
|
|
17904
17956
|
l,
|
|
17905
17957
|
h && /* @__PURE__ */ s.createElement("span", { className: "sps-fieldset__legend-icon", ref: w }, /* @__PURE__ */ s.createElement(sn, { icon: rt.INFO_CIRCLE, "data-testid": `${v}__info-icon` }))
|
|
17906
|
-
), h && /* @__PURE__ */ s.createElement(
|
|
17907
|
-
|
|
17958
|
+
), h && /* @__PURE__ */ s.createElement(jt, { for: w }, h), /* @__PURE__ */ s.createElement(
|
|
17959
|
+
jt,
|
|
17908
17960
|
{
|
|
17909
17961
|
for: T,
|
|
17910
17962
|
kind: en.ERROR,
|
|
@@ -18397,7 +18449,7 @@ function Pu({
|
|
|
18397
18449
|
r && (r.onFocus = M, r.onBlur = O);
|
|
18398
18450
|
}, [r]);
|
|
18399
18451
|
const H = K(m || "sps-form-group__label", t), [Y, $] = r instanceof yr ? [r, void 0] : [void 0, r];
|
|
18400
|
-
function
|
|
18452
|
+
function j() {
|
|
18401
18453
|
var ee;
|
|
18402
18454
|
if (Y) {
|
|
18403
18455
|
for (const Q of [
|
|
@@ -18511,7 +18563,7 @@ function Pu({
|
|
|
18511
18563
|
),
|
|
18512
18564
|
R
|
|
18513
18565
|
), /* @__PURE__ */ s.createElement(
|
|
18514
|
-
|
|
18566
|
+
jt,
|
|
18515
18567
|
{
|
|
18516
18568
|
kind: en.DEFAULT,
|
|
18517
18569
|
for: E,
|
|
@@ -18521,7 +18573,7 @@ function Pu({
|
|
|
18521
18573
|
},
|
|
18522
18574
|
It(o)
|
|
18523
18575
|
), /* @__PURE__ */ s.createElement(
|
|
18524
|
-
|
|
18576
|
+
jt,
|
|
18525
18577
|
{
|
|
18526
18578
|
kind: en.ERROR,
|
|
18527
18579
|
for: g,
|
|
@@ -18529,9 +18581,9 @@ function Pu({
|
|
|
18529
18581
|
isShown: I,
|
|
18530
18582
|
altPosition: Ee.LEFT_MIDDLE
|
|
18531
18583
|
},
|
|
18532
|
-
It(p) ||
|
|
18584
|
+
It(p) || j()
|
|
18533
18585
|
), (Y == null ? void 0 : Y.hasPreventativeErrors()) && /* @__PURE__ */ s.createElement(
|
|
18534
|
-
|
|
18586
|
+
jt,
|
|
18535
18587
|
{
|
|
18536
18588
|
kind: en.WARNING,
|
|
18537
18589
|
for: T,
|
|
@@ -18541,7 +18593,7 @@ function Pu({
|
|
|
18541
18593
|
},
|
|
18542
18594
|
It(p) || ne()
|
|
18543
18595
|
), /* @__PURE__ */ s.createElement(
|
|
18544
|
-
|
|
18596
|
+
jt,
|
|
18545
18597
|
{
|
|
18546
18598
|
kind: en.DEFAULT,
|
|
18547
18599
|
for: v,
|
|
@@ -19240,7 +19292,7 @@ Object.assign(IN, {
|
|
|
19240
19292
|
displayName: "SpsThead"
|
|
19241
19293
|
});
|
|
19242
19294
|
const Ku = {};
|
|
19243
|
-
function
|
|
19295
|
+
function ze({
|
|
19244
19296
|
children: e,
|
|
19245
19297
|
className: t,
|
|
19246
19298
|
"data-testid": n,
|
|
@@ -19250,12 +19302,12 @@ function je({
|
|
|
19250
19302
|
const o = K(r || "sps-table__row", t);
|
|
19251
19303
|
return /* @__PURE__ */ s.createElement("tr", { className: o, role: "row", "data-testid": `${n}__row`, ...a }, e);
|
|
19252
19304
|
}
|
|
19253
|
-
Object.assign(
|
|
19305
|
+
Object.assign(ze, {
|
|
19254
19306
|
props: Ku,
|
|
19255
19307
|
displayName: "SpsTableRow"
|
|
19256
19308
|
});
|
|
19257
19309
|
function MN(e) {
|
|
19258
|
-
return /* @__PURE__ */ s.createElement(
|
|
19310
|
+
return /* @__PURE__ */ s.createElement(ze, { ...e });
|
|
19259
19311
|
}
|
|
19260
19312
|
Object.assign(MN, {
|
|
19261
19313
|
props: Ku,
|
|
@@ -21392,7 +21444,7 @@ const FN = {
|
|
|
21392
21444
|
alt: "A List Action Bar with labels on each section",
|
|
21393
21445
|
className: "w-100 mb-3"
|
|
21394
21446
|
}
|
|
21395
|
-
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Varieties")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(
|
|
21447
|
+
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Varieties")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(de, null, "Selection Counter"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(de, null, "Action Buttons"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(de, null, "Clear Button"), /* @__PURE__ */ s.createElement(de, 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"))))))
|
|
21396
21448
|
}
|
|
21397
21449
|
}, $N = {
|
|
21398
21450
|
kind: "FeedbackBlockKind",
|
|
@@ -22295,7 +22347,7 @@ const GN = {
|
|
|
22295
22347
|
maxHeightOptionListRem: "number",
|
|
22296
22348
|
disableOptionsMemoization: "boolean"
|
|
22297
22349
|
};
|
|
22298
|
-
function
|
|
22350
|
+
function zu({
|
|
22299
22351
|
action: e,
|
|
22300
22352
|
captionKey: t,
|
|
22301
22353
|
className: n,
|
|
@@ -22326,7 +22378,7 @@ function ju({
|
|
|
22326
22378
|
"data-testid": V,
|
|
22327
22379
|
...U
|
|
22328
22380
|
}) {
|
|
22329
|
-
const M = I ?? [], W = m || p, { wrapperId: H, controlId: Y } = xt(u, W), [$,
|
|
22381
|
+
const M = I ?? [], W = m || p, { wrapperId: H, controlId: Y } = xt(u, W), [$, j] = wn({
|
|
22330
22382
|
keyDown: null,
|
|
22331
22383
|
opensUpward: !1,
|
|
22332
22384
|
searchText: "",
|
|
@@ -22338,7 +22390,7 @@ function ju({
|
|
|
22338
22390
|
}, [$.searchText]);
|
|
22339
22391
|
const ne = s.useRef(null), R = s.useRef(null), G = s.useRef(null), ee = s.useRef(null), Q = s.useRef(null);
|
|
22340
22392
|
function ie() {
|
|
22341
|
-
r &&
|
|
22393
|
+
r && j({
|
|
22342
22394
|
searchText: ""
|
|
22343
22395
|
});
|
|
22344
22396
|
}
|
|
@@ -22348,7 +22400,7 @@ function ju({
|
|
|
22348
22400
|
doHidePopup: J
|
|
22349
22401
|
} = hs(ne, ee, ie);
|
|
22350
22402
|
function te() {
|
|
22351
|
-
|
|
22403
|
+
j({ activeTagIndex: null }), q();
|
|
22352
22404
|
}
|
|
22353
22405
|
function ae() {
|
|
22354
22406
|
setTimeout(() => {
|
|
@@ -22363,7 +22415,7 @@ function ju({
|
|
|
22363
22415
|
}
|
|
22364
22416
|
}
|
|
22365
22417
|
function se(ve) {
|
|
22366
|
-
|
|
22418
|
+
j({ searchText: "" }), W && (W.setValue(ve), W.markAsDirty()), h && h(
|
|
22367
22419
|
new rr({ value: ve })
|
|
22368
22420
|
);
|
|
22369
22421
|
}
|
|
@@ -22375,7 +22427,7 @@ function ju({
|
|
|
22375
22427
|
se(ke);
|
|
22376
22428
|
}
|
|
22377
22429
|
function Ae(ve) {
|
|
22378
|
-
|
|
22430
|
+
j({ searchText: ve.target.value });
|
|
22379
22431
|
}
|
|
22380
22432
|
function Qe(ve) {
|
|
22381
22433
|
var ke, nt;
|
|
@@ -22411,14 +22463,14 @@ function ju({
|
|
|
22411
22463
|
case "Left":
|
|
22412
22464
|
case "ArrowLeft":
|
|
22413
22465
|
if (Fe) {
|
|
22414
|
-
$.activeTagIndex === null ? (
|
|
22466
|
+
$.activeTagIndex === null ? (j({ activeTagIndex: M.length - 1 }), J(), le(M.length - 1)) : $.activeTagIndex > 0 && (j({ activeTagIndex: $.activeTagIndex - 1 }), J(), le($.activeTagIndex - 1));
|
|
22415
22467
|
return;
|
|
22416
22468
|
}
|
|
22417
22469
|
break;
|
|
22418
22470
|
case "Right":
|
|
22419
22471
|
case "ArrowRight":
|
|
22420
22472
|
if ($.activeTagIndex !== null) {
|
|
22421
|
-
$.activeTagIndex === M.length - 1 ? (
|
|
22473
|
+
$.activeTagIndex === M.length - 1 ? (j({ activeTagIndex: null }), q(), (ke = G.current) == null || ke.focus()) : (j({ activeTagIndex: $.activeTagIndex + 1 }), le($.activeTagIndex + 1));
|
|
22422
22474
|
return;
|
|
22423
22475
|
}
|
|
22424
22476
|
break;
|
|
@@ -22429,22 +22481,22 @@ function ju({
|
|
|
22429
22481
|
J(), (nt = G.current) == null || nt.blur();
|
|
22430
22482
|
break;
|
|
22431
22483
|
}
|
|
22432
|
-
ve.persist(),
|
|
22484
|
+
ve.persist(), j({ keyDown: ve });
|
|
22433
22485
|
}
|
|
22434
22486
|
}
|
|
22435
22487
|
function mt(ve) {
|
|
22436
|
-
|
|
22488
|
+
j({ opensUpward: ve });
|
|
22437
22489
|
}
|
|
22438
22490
|
function bt(ve) {
|
|
22439
22491
|
se([]), ve.stopPropagation();
|
|
22440
22492
|
}
|
|
22441
22493
|
function ft(ve) {
|
|
22442
|
-
|
|
22494
|
+
j({
|
|
22443
22495
|
optionIds: new Array(ve).fill("").map((ke, nt) => `${H}-options-option-${nt}`).join(",")
|
|
22444
22496
|
});
|
|
22445
22497
|
}
|
|
22446
22498
|
const he = s.useCallback(() => {
|
|
22447
|
-
|
|
22499
|
+
j({
|
|
22448
22500
|
searchText: ""
|
|
22449
22501
|
}), ae();
|
|
22450
22502
|
}, []), qe = K(
|
|
@@ -22569,11 +22621,11 @@ function ju({
|
|
|
22569
22621
|
)
|
|
22570
22622
|
);
|
|
22571
22623
|
}
|
|
22572
|
-
Object.assign(
|
|
22624
|
+
Object.assign(zu, {
|
|
22573
22625
|
props: UN,
|
|
22574
22626
|
displayName: "SpsMultiSelect"
|
|
22575
22627
|
});
|
|
22576
|
-
const
|
|
22628
|
+
const zN = {
|
|
22577
22629
|
general: {
|
|
22578
22630
|
label: "General Usage",
|
|
22579
22631
|
description: ({ NavigateTo: e }) => /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("h5", null, "Use a Mulit-Select"), /* @__PURE__ */ s.createElement("ul", null, /* @__PURE__ */ s.createElement("li", null, "When a list of predetermined values can be provided and the input allows multiple entries.")), /* @__PURE__ */ s.createElement("h5", null, "Do Not Use a Multi-Select:"), /* @__PURE__ */ s.createElement("ul", null, /* @__PURE__ */ s.createElement("li", { className: "mb-2" }, "When there are only two possible options. Consider", " ", /* @__PURE__ */ s.createElement(e, { to: "checkbox" }, "Checkboxes"), " or", " ", /* @__PURE__ */ s.createElement(e, { to: "radio-buttons" }, "Radio Buttons"), " instead."), /* @__PURE__ */ s.createElement("li", null, "When it is ideal to display all available options without requiring a click. Consider", " ", /* @__PURE__ */ s.createElement(e, { to: "checkbox" }, "Checkboxes"), " or", " ", /* @__PURE__ */ s.createElement(e, { to: "radio-buttons" }, "Radio Buttons"), " instead.")), /* @__PURE__ */ s.createElement("h5", null, "Using Multi-Selects in a Form"), /* @__PURE__ */ s.createElement("p", null, "Reference the ", /* @__PURE__ */ s.createElement(e, { to: "form" }, "Forms"), " page for guidelines for placing", " ", /* @__PURE__ */ s.createElement(e, { to: "text-inputs" }, "Inputs"), " in Form Layouts."))
|
|
@@ -23049,7 +23101,7 @@ const jN = {
|
|
|
23049
23101
|
}
|
|
23050
23102
|
}
|
|
23051
23103
|
}
|
|
23052
|
-
},
|
|
23104
|
+
}, jN = {
|
|
23053
23105
|
page: "number",
|
|
23054
23106
|
numPages: "number",
|
|
23055
23107
|
onPageChange: "(number) => void",
|
|
@@ -23078,7 +23130,7 @@ function Gi(e) {
|
|
|
23078
23130
|
async function w(k) {
|
|
23079
23131
|
if (f && !await f(k))
|
|
23080
23132
|
return;
|
|
23081
|
-
const A =
|
|
23133
|
+
const A = jS(k, [1, t]);
|
|
23082
23134
|
k !== E && (T(A), v(A), n && typeof n == "function" && n(A));
|
|
23083
23135
|
}
|
|
23084
23136
|
function N(k) {
|
|
@@ -23139,7 +23191,7 @@ function Gi(e) {
|
|
|
23139
23191
|
)));
|
|
23140
23192
|
}
|
|
23141
23193
|
Object.assign(Gi, {
|
|
23142
|
-
props:
|
|
23194
|
+
props: jN,
|
|
23143
23195
|
displayName: "SpsPageSelector"
|
|
23144
23196
|
});
|
|
23145
23197
|
const qN = {
|
|
@@ -23154,7 +23206,7 @@ const qN = {
|
|
|
23154
23206
|
resultsOnPage: "number",
|
|
23155
23207
|
onBeforeChange: "(page: number, pageSize: number) => boolean | Promise<boolean>"
|
|
23156
23208
|
};
|
|
23157
|
-
function
|
|
23209
|
+
function ju(e) {
|
|
23158
23210
|
const {
|
|
23159
23211
|
className: t,
|
|
23160
23212
|
onPageChange: n,
|
|
@@ -23246,7 +23298,7 @@ function zu(e) {
|
|
|
23246
23298
|
}
|
|
23247
23299
|
));
|
|
23248
23300
|
}
|
|
23249
|
-
Object.assign(
|
|
23301
|
+
Object.assign(ju, {
|
|
23250
23302
|
props: qN,
|
|
23251
23303
|
displayName: "SpsPagination"
|
|
23252
23304
|
});
|
|
@@ -24079,7 +24131,7 @@ const XN = {
|
|
|
24079
24131
|
setActiveBranch: t,
|
|
24080
24132
|
activeBranch: n
|
|
24081
24133
|
}) => {
|
|
24082
|
-
const [r, a] =
|
|
24134
|
+
const [r, a] = je(
|
|
24083
24135
|
e.expanded || !1
|
|
24084
24136
|
);
|
|
24085
24137
|
return /* @__PURE__ */ s.createElement(
|
|
@@ -24166,11 +24218,11 @@ const XN = {
|
|
|
24166
24218
|
filterable: p,
|
|
24167
24219
|
filterInputPlaceholder: m
|
|
24168
24220
|
}) => {
|
|
24169
|
-
const f = fe(a), [u, h] =
|
|
24221
|
+
const f = fe(a), [u, h] = je(
|
|
24170
24222
|
a
|
|
24171
|
-
), [g, v] =
|
|
24223
|
+
), [g, v] = je(
|
|
24172
24224
|
c || (o ? o[0] : "")
|
|
24173
|
-
), [E, T] =
|
|
24225
|
+
), [E, T] = je(""), w = (k, A) => {
|
|
24174
24226
|
h(k), r && r(k, A);
|
|
24175
24227
|
}, N = (k) => {
|
|
24176
24228
|
v(k), l && l(k);
|
|
@@ -25314,7 +25366,7 @@ function em({
|
|
|
25314
25366
|
M.current = o;
|
|
25315
25367
|
const W = s.useRef(null), H = () => {
|
|
25316
25368
|
g && !v ? (E(!0), a && a()) : v && (E(!1), o && o()), W.current && (W.current.scrollTop = 0);
|
|
25317
|
-
}, Y = (R) => R.status === As.IN_PROGRESS ?
|
|
25369
|
+
}, Y = (R) => R.status === As.IN_PROGRESS ? jl[R.status] : `sps-icon sps-icon-${jl[R.status]}`;
|
|
25318
25370
|
s.useEffect(() => {
|
|
25319
25371
|
v && !g && (E(!1), M.current && M.current());
|
|
25320
25372
|
}, [v, g]);
|
|
@@ -25322,7 +25374,7 @@ function em({
|
|
|
25322
25374
|
s.useEffect(() => {
|
|
25323
25375
|
_ > 0 ? (w(!0), $.current && window.clearTimeout($.current), $.current = window.setTimeout(() => {
|
|
25324
25376
|
$.current = void 0, w(!1);
|
|
25325
|
-
},
|
|
25377
|
+
}, zl)) : ($.current && (window.clearTimeout($.current), $.current = void 0), w(!1));
|
|
25326
25378
|
}, [_]), s.useEffect(() => {
|
|
25327
25379
|
const R = () => {
|
|
25328
25380
|
E((G) => (G && M.current && M.current(), !1));
|
|
@@ -25336,7 +25388,7 @@ function em({
|
|
|
25336
25388
|
},
|
|
25337
25389
|
[]
|
|
25338
25390
|
);
|
|
25339
|
-
const
|
|
25391
|
+
const j = K(
|
|
25340
25392
|
m || "sps-task-queue",
|
|
25341
25393
|
v && "sps-task-queue--open",
|
|
25342
25394
|
v && "z-stratum-dropdown",
|
|
@@ -25374,7 +25426,7 @@ function em({
|
|
|
25374
25426
|
return /* @__PURE__ */ s.createElement(
|
|
25375
25427
|
"div",
|
|
25376
25428
|
{
|
|
25377
|
-
className:
|
|
25429
|
+
className: j,
|
|
25378
25430
|
onClick: (R) => {
|
|
25379
25431
|
R.nativeEvent.stopImmediatePropagation();
|
|
25380
25432
|
},
|
|
@@ -25394,14 +25446,14 @@ function em({
|
|
|
25394
25446
|
V ? /* @__PURE__ */ s.createElement("span", { className: "sps-spinner sps-spinner--small" }) : /* @__PURE__ */ s.createElement("i", { className: "sps-icon sps-icon-list", "aria-hidden": "true" })
|
|
25395
25447
|
),
|
|
25396
25448
|
/* @__PURE__ */ s.createElement(
|
|
25397
|
-
|
|
25449
|
+
jt,
|
|
25398
25450
|
{
|
|
25399
25451
|
for: N,
|
|
25400
25452
|
position: C,
|
|
25401
25453
|
kind: O,
|
|
25402
25454
|
showOn: g ? Ct.MANUAL : Ct.MOUSEOVER,
|
|
25403
25455
|
isShown: T && !v ? Be.VISIBLE : Be.HIDDEN,
|
|
25404
|
-
hideDelay: Number(g) &&
|
|
25456
|
+
hideDelay: Number(g) && zl
|
|
25405
25457
|
},
|
|
25406
25458
|
!f && T && (n || h("design-system:taskQueue.newTask")),
|
|
25407
25459
|
!f && !T && !g && h("design-system:taskQueue.noTasks")
|
|
@@ -27042,7 +27094,7 @@ const hx = {
|
|
|
27042
27094
|
heading: "string",
|
|
27043
27095
|
icon: "SpsIcon"
|
|
27044
27096
|
};
|
|
27045
|
-
function
|
|
27097
|
+
function zi(e) {
|
|
27046
27098
|
const {
|
|
27047
27099
|
children: t,
|
|
27048
27100
|
className: n,
|
|
@@ -27057,12 +27109,12 @@ function ji(e) {
|
|
|
27057
27109
|
);
|
|
27058
27110
|
return /* @__PURE__ */ s.createElement("div", { className: p, "data-testid": `${o}`, ...c }, a && /* @__PURE__ */ s.createElement("h1", { className: "sps-workflow__heading", "data-testid": `${o}__title` }, /* @__PURE__ */ s.createElement("span", { className: "sps-workflow__icon", "data-testid": `${o}__icon` }, /* @__PURE__ */ s.createElement("i", { "aria-hidden": "true", className: K("sps-icon", `sps-icon-${r}`) })), a), t);
|
|
27059
27111
|
}
|
|
27060
|
-
Object.assign(
|
|
27112
|
+
Object.assign(zi, {
|
|
27061
27113
|
props: am,
|
|
27062
27114
|
displayName: "SpsWorkflow"
|
|
27063
27115
|
});
|
|
27064
27116
|
function gx(e) {
|
|
27065
|
-
return /* @__PURE__ */ s.createElement(
|
|
27117
|
+
return /* @__PURE__ */ s.createElement(zi, { ...e });
|
|
27066
27118
|
}
|
|
27067
27119
|
Object.assign(gx, {
|
|
27068
27120
|
props: am,
|
|
@@ -27309,7 +27361,7 @@ const yx = {
|
|
|
27309
27361
|
}
|
|
27310
27362
|
}
|
|
27311
27363
|
}, cm = {};
|
|
27312
|
-
function
|
|
27364
|
+
function ji(e) {
|
|
27313
27365
|
const {
|
|
27314
27366
|
children: t,
|
|
27315
27367
|
className: n,
|
|
@@ -27322,12 +27374,12 @@ function zi(e) {
|
|
|
27322
27374
|
);
|
|
27323
27375
|
return /* @__PURE__ */ s.createElement("span", { className: l, "data-testid": `${r}__document`, ...o }, t);
|
|
27324
27376
|
}
|
|
27325
|
-
Object.assign(
|
|
27377
|
+
Object.assign(ji, {
|
|
27326
27378
|
props: cm,
|
|
27327
27379
|
displayName: "SpsWorkflowDocument"
|
|
27328
27380
|
});
|
|
27329
27381
|
function Tx(e) {
|
|
27330
|
-
return /* @__PURE__ */ s.createElement(
|
|
27382
|
+
return /* @__PURE__ */ s.createElement(ji, { ...e });
|
|
27331
27383
|
}
|
|
27332
27384
|
Object.assign(Tx, {
|
|
27333
27385
|
props: cm,
|
|
@@ -28219,42 +28271,42 @@ function Sm({
|
|
|
28219
28271
|
const x = s.useRef(null), k = s.useRef(null), A = s.useRef(null);
|
|
28220
28272
|
function L() {
|
|
28221
28273
|
setTimeout(() => {
|
|
28222
|
-
var
|
|
28223
|
-
(
|
|
28274
|
+
var j;
|
|
28275
|
+
(j = k.current) == null || j.focus();
|
|
28224
28276
|
}, 0);
|
|
28225
28277
|
}
|
|
28226
|
-
function C(
|
|
28227
|
-
I({ searchText: "" }), E && (E.setValue(
|
|
28278
|
+
function C(j) {
|
|
28279
|
+
I({ searchText: "" }), E && (E.setValue(j), E.markAsDirty()), o && o(new rr({ value: j }));
|
|
28228
28280
|
}
|
|
28229
|
-
function O(
|
|
28230
|
-
const ne = (m || []).filter((R, G) => G !==
|
|
28281
|
+
function O(j) {
|
|
28282
|
+
const ne = (m || []).filter((R, G) => G !== j);
|
|
28231
28283
|
C(ne);
|
|
28232
28284
|
}
|
|
28233
|
-
function _(
|
|
28234
|
-
I({ searchText:
|
|
28285
|
+
function _(j) {
|
|
28286
|
+
I({ searchText: j.target.value });
|
|
28235
28287
|
}
|
|
28236
|
-
function V(
|
|
28237
|
-
if (A.current && A.current.children.length && typeof
|
|
28238
|
-
const ne = A.current.children[
|
|
28288
|
+
function V(j) {
|
|
28289
|
+
if (A.current && A.current.children.length && typeof j == "number") {
|
|
28290
|
+
const ne = A.current.children[j], R = ne == null ? void 0 : ne.querySelector(".sps-clickable-tag__icon");
|
|
28239
28291
|
R && R.focus();
|
|
28240
28292
|
}
|
|
28241
28293
|
}
|
|
28242
28294
|
const U = s.useCallback(
|
|
28243
|
-
(
|
|
28295
|
+
(j) => {
|
|
28244
28296
|
I({ activeTagIndex: null, searchText: "" });
|
|
28245
28297
|
const ne = N.searchText.trim(), R = m || [];
|
|
28246
|
-
ne && R.indexOf(ne) === -1 && C([...R, ...yd(ne, u)]), !((
|
|
28298
|
+
ne && R.indexOf(ne) === -1 && C([...R, ...yd(ne, u)]), !((j.key === "Tab" || j.key === "Enter") && !N.searchText) && j.preventDefault();
|
|
28247
28299
|
},
|
|
28248
28300
|
[N.searchText, m, yd]
|
|
28249
28301
|
);
|
|
28250
|
-
function M(
|
|
28251
|
-
U(
|
|
28302
|
+
function M(j) {
|
|
28303
|
+
U(j);
|
|
28252
28304
|
}
|
|
28253
|
-
function W(
|
|
28305
|
+
function W(j) {
|
|
28254
28306
|
var ne;
|
|
28255
28307
|
if (!t) {
|
|
28256
|
-
const R = !
|
|
28257
|
-
switch (
|
|
28308
|
+
const R = !j.target.selectionStart && m && m.length, G = m ? m.length : 0;
|
|
28309
|
+
switch (j.key) {
|
|
28258
28310
|
case "Backspace":
|
|
28259
28311
|
if (N.activeTagIndex === G - 1) {
|
|
28260
28312
|
O(N.activeTagIndex), L();
|
|
@@ -28274,13 +28326,13 @@ function Sm({
|
|
|
28274
28326
|
break;
|
|
28275
28327
|
case "Enter":
|
|
28276
28328
|
case "Tab":
|
|
28277
|
-
U(
|
|
28329
|
+
U(j);
|
|
28278
28330
|
break;
|
|
28279
28331
|
case "Up":
|
|
28280
28332
|
case "ArrowUp":
|
|
28281
28333
|
case "Down":
|
|
28282
28334
|
case "ArrowDown":
|
|
28283
|
-
|
|
28335
|
+
j.preventDefault();
|
|
28284
28336
|
break;
|
|
28285
28337
|
case "Left":
|
|
28286
28338
|
case "ArrowLeft":
|
|
@@ -28298,18 +28350,18 @@ function Sm({
|
|
|
28298
28350
|
break;
|
|
28299
28351
|
}
|
|
28300
28352
|
for (const ee of u)
|
|
28301
|
-
|
|
28302
|
-
|
|
28353
|
+
j.key === ee && U(j);
|
|
28354
|
+
j.persist(), I({ keyDown: j });
|
|
28303
28355
|
}
|
|
28304
28356
|
}
|
|
28305
|
-
function H(
|
|
28306
|
-
C([]),
|
|
28357
|
+
function H(j) {
|
|
28358
|
+
C([]), j.stopPropagation();
|
|
28307
28359
|
}
|
|
28308
28360
|
const Y = K(
|
|
28309
28361
|
p || "sps-multi-select",
|
|
28310
28362
|
t && "sps-form-control--disabled",
|
|
28311
28363
|
e
|
|
28312
|
-
), $ = new Array((m == null ? void 0 : m.length) || 0).fill(0).map((
|
|
28364
|
+
), $ = new Array((m == null ? void 0 : m.length) || 0).fill(0).map((j, ne) => `${T}_tag-${ne}`);
|
|
28313
28365
|
return /* @__PURE__ */ s.createElement(
|
|
28314
28366
|
St,
|
|
28315
28367
|
{
|
|
@@ -28335,7 +28387,7 @@ function Sm({
|
|
|
28335
28387
|
) : K("sps-form-control", m && !t && "sps-form-control--clearable")
|
|
28336
28388
|
},
|
|
28337
28389
|
f && /* @__PURE__ */ s.createElement("i", { className: K("sps-text-input__icon", "sps-icon", `sps-icon-${f}`) }),
|
|
28338
|
-
/* @__PURE__ */ s.createElement("div", { className: "sps-multi-select__tags-and-input", ref: A }, Array.isArray(m) && m.map((
|
|
28390
|
+
/* @__PURE__ */ s.createElement("div", { className: "sps-multi-select__tags-and-input", ref: A }, Array.isArray(m) && m.map((j, ne) => /* @__PURE__ */ s.createElement(
|
|
28339
28391
|
ga,
|
|
28340
28392
|
{
|
|
28341
28393
|
id: $[ne],
|
|
@@ -28345,7 +28397,7 @@ function Sm({
|
|
|
28345
28397
|
key: $[ne],
|
|
28346
28398
|
onRemove: () => O(ne)
|
|
28347
28399
|
},
|
|
28348
|
-
/* @__PURE__ */ s.createElement("span", null,
|
|
28400
|
+
/* @__PURE__ */ s.createElement("span", null, j)
|
|
28349
28401
|
)), /* @__PURE__ */ s.createElement(
|
|
28350
28402
|
"input",
|
|
28351
28403
|
{
|
|
@@ -28370,7 +28422,7 @@ function Sm({
|
|
|
28370
28422
|
"i",
|
|
28371
28423
|
{
|
|
28372
28424
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
28373
|
-
onClick: (
|
|
28425
|
+
onClick: (j) => H(j)
|
|
28374
28426
|
}
|
|
28375
28427
|
) : null
|
|
28376
28428
|
))
|
|
@@ -28876,8 +28928,8 @@ const Px = {
|
|
|
28876
28928
|
},
|
|
28877
28929
|
"Multi Select": {
|
|
28878
28930
|
description: () => /* @__PURE__ */ s.createElement("p", null, "Multi-Selects consist of a Label and a dropdown menu from which a user selects one or more values from a list of pre-defined options."),
|
|
28879
|
-
components: [
|
|
28880
|
-
examples:
|
|
28931
|
+
components: [zu],
|
|
28932
|
+
examples: zN
|
|
28881
28933
|
},
|
|
28882
28934
|
"Multi Value Text Input": {
|
|
28883
28935
|
description: () => /* @__PURE__ */ s.createElement("p", null, "To be determined."),
|
|
@@ -28886,7 +28938,7 @@ const Px = {
|
|
|
28886
28938
|
},
|
|
28887
28939
|
Pagination: {
|
|
28888
28940
|
description: () => /* @__PURE__ */ s.createElement("p", null, "The Pagination component allows users to navigate lists of records and control the number of records displayed on each page. The records can span across multiple pages, or within sections of a page."),
|
|
28889
|
-
components: [
|
|
28941
|
+
components: [ju, Gi],
|
|
28890
28942
|
examples: JN
|
|
28891
28943
|
},
|
|
28892
28944
|
"Radio Buttons": {
|
|
@@ -28897,7 +28949,7 @@ const Px = {
|
|
|
28897
28949
|
Select: {
|
|
28898
28950
|
description: "Selects consist off a Label and a dropdown menu from which a user selects a value from a list of pre-defined options.",
|
|
28899
28951
|
components: [_r],
|
|
28900
|
-
examples:
|
|
28952
|
+
examples: jD
|
|
28901
28953
|
},
|
|
28902
28954
|
"Side Navigation": {
|
|
28903
28955
|
description: "Side Navigations are used to provide quick access to a series of related pages or content. It can be used to navigate between different page views, or as an anchor-style menu to scroll to specific content on the same page.",
|
|
@@ -28914,7 +28966,7 @@ const Px = {
|
|
|
28914
28966
|
},
|
|
28915
28967
|
Tables: {
|
|
28916
28968
|
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.")),
|
|
28917
|
-
components: [Ar, or, de, ar, ut,
|
|
28969
|
+
components: [Ar, or, de, ar, ut, ze],
|
|
28918
28970
|
examples: FN
|
|
28919
28971
|
},
|
|
28920
28972
|
"Task Queue": {
|
|
@@ -28937,7 +28989,7 @@ const Px = {
|
|
|
28937
28989
|
examples: mx
|
|
28938
28990
|
},
|
|
28939
28991
|
Tooltips: {
|
|
28940
|
-
components: [
|
|
28992
|
+
components: [jt, sm],
|
|
28941
28993
|
examples: hx
|
|
28942
28994
|
},
|
|
28943
28995
|
Wizard: {
|
|
@@ -28945,7 +28997,7 @@ const Px = {
|
|
|
28945
28997
|
examples: yx
|
|
28946
28998
|
},
|
|
28947
28999
|
Workflow: {
|
|
28948
|
-
components: [
|
|
29000
|
+
components: [zi, ji, qi, Ji],
|
|
28949
29001
|
examples: Cx
|
|
28950
29002
|
},
|
|
28951
29003
|
"Slide In Panel": {
|
|
@@ -28998,7 +29050,7 @@ function Vx(e) {
|
|
|
28998
29050
|
return e || `${r}-${n}`;
|
|
28999
29051
|
}
|
|
29000
29052
|
function $x(e) {
|
|
29001
|
-
let t = Z.useId(), [n] =
|
|
29053
|
+
let t = Z.useId(), [n] = je(Tm()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${da.prefix}`;
|
|
29002
29054
|
return e || `${r}-${t}`;
|
|
29003
29055
|
}
|
|
29004
29056
|
const Kx = typeof Z.useId == "function" ? $x : Vx;
|
|
@@ -29017,7 +29069,7 @@ function Tm() {
|
|
|
29017
29069
|
}
|
|
29018
29070
|
let Yx = !!(typeof window < "u" && window.document && window.document.createElement), pa = /* @__PURE__ */ new Map();
|
|
29019
29071
|
function Em(e) {
|
|
29020
|
-
let [t, n] =
|
|
29072
|
+
let [t, n] = je(e), r = fe(null), a = Kx(t), o = Bt((l) => {
|
|
29021
29073
|
r.current = l;
|
|
29022
29074
|
}, []);
|
|
29023
29075
|
return Yx && pa.set(a, o), Es(() => {
|
|
@@ -29058,7 +29110,7 @@ function Cm(e) {
|
|
|
29058
29110
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
29059
29111
|
return r;
|
|
29060
29112
|
}
|
|
29061
|
-
function
|
|
29113
|
+
function zx() {
|
|
29062
29114
|
for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = Cm(e)) && (r && (r += " "), r += t);
|
|
29063
29115
|
return r;
|
|
29064
29116
|
}
|
|
@@ -29073,12 +29125,12 @@ function Fn(...e) {
|
|
|
29073
29125
|
typeof o == "function" && typeof l == "function" && // This is a lot faster than a regex.
|
|
29074
29126
|
a[0] === "o" && a[1] === "n" && a.charCodeAt(2) >= /* 'A' */
|
|
29075
29127
|
65 && a.charCodeAt(2) <= /* 'Z' */
|
|
29076
|
-
90 ? t[a] = wm(o, l) : (a === "className" || a === "UNSAFE_className") && typeof o == "string" && typeof l == "string" ? t[a] =
|
|
29128
|
+
90 ? t[a] = wm(o, l) : (a === "className" || a === "UNSAFE_className") && typeof o == "string" && typeof l == "string" ? t[a] = zx(o, l) : a === "id" && o && l ? t.id = Ux(o, l) : t[a] = l !== void 0 ? l : o;
|
|
29077
29129
|
}
|
|
29078
29130
|
}
|
|
29079
29131
|
return t;
|
|
29080
29132
|
}
|
|
29081
|
-
const
|
|
29133
|
+
const jx = /* @__PURE__ */ new Set([
|
|
29082
29134
|
"id"
|
|
29083
29135
|
]), qx = /* @__PURE__ */ new Set([
|
|
29084
29136
|
"aria-label",
|
|
@@ -29096,7 +29148,7 @@ const zx = /* @__PURE__ */ new Set([
|
|
|
29096
29148
|
]), Zx = /^(data-.*)$/;
|
|
29097
29149
|
function Xx(e, t = {}) {
|
|
29098
29150
|
let { labelable: n, isLink: r, propNames: a } = t, o = {};
|
|
29099
|
-
for (const l in e) Object.prototype.hasOwnProperty.call(e, l) && (
|
|
29151
|
+
for (const l in e) Object.prototype.hasOwnProperty.call(e, l) && (jx.has(l) || n && qx.has(l) || r && Jx.has(l) || a != null && a.has(l) || Zx.test(l)) && (o[l] = e[l]);
|
|
29100
29152
|
return o;
|
|
29101
29153
|
}
|
|
29102
29154
|
function yn(e) {
|
|
@@ -29222,7 +29274,7 @@ function dk(e) {
|
|
|
29222
29274
|
referrerPolicy: e == null ? void 0 : e.referrerPolicy
|
|
29223
29275
|
};
|
|
29224
29276
|
}
|
|
29225
|
-
let br = /* @__PURE__ */ new Map(),
|
|
29277
|
+
let br = /* @__PURE__ */ new Map(), zo = /* @__PURE__ */ new Set();
|
|
29226
29278
|
function Ed() {
|
|
29227
29279
|
if (typeof window > "u") return;
|
|
29228
29280
|
function e(r) {
|
|
@@ -29238,8 +29290,8 @@ function Ed() {
|
|
|
29238
29290
|
if (!e(r) || !r.target) return;
|
|
29239
29291
|
let a = br.get(r.target);
|
|
29240
29292
|
if (a && (a.delete(r.propertyName), a.size === 0 && (r.target.removeEventListener("transitioncancel", n), br.delete(r.target)), br.size === 0)) {
|
|
29241
|
-
for (let o of
|
|
29242
|
-
|
|
29293
|
+
for (let o of zo) o();
|
|
29294
|
+
zo.clear();
|
|
29243
29295
|
}
|
|
29244
29296
|
};
|
|
29245
29297
|
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
|
|
@@ -29247,7 +29299,7 @@ function Ed() {
|
|
|
29247
29299
|
typeof document < "u" && (document.readyState !== "loading" ? Ed() : document.addEventListener("DOMContentLoaded", Ed));
|
|
29248
29300
|
function xm(e) {
|
|
29249
29301
|
requestAnimationFrame(() => {
|
|
29250
|
-
br.size === 0 ? e() :
|
|
29302
|
+
br.size === 0 ? e() : zo.add(e);
|
|
29251
29303
|
});
|
|
29252
29304
|
}
|
|
29253
29305
|
function km() {
|
|
@@ -29314,7 +29366,7 @@ function mk(e, t) {
|
|
|
29314
29366
|
let fk = 0;
|
|
29315
29367
|
const Co = /* @__PURE__ */ new Map();
|
|
29316
29368
|
function hk(e) {
|
|
29317
|
-
let [t, n] =
|
|
29369
|
+
let [t, n] = je();
|
|
29318
29370
|
return Es(() => {
|
|
29319
29371
|
if (!e) return;
|
|
29320
29372
|
let r = Co.get(e);
|
|
@@ -29395,14 +29447,14 @@ function Dd(e, t) {
|
|
|
29395
29447
|
}
|
|
29396
29448
|
}
|
|
29397
29449
|
}
|
|
29398
|
-
function
|
|
29450
|
+
function jo(e) {
|
|
29399
29451
|
return e.mozInputSource === 0 && e.isTrusted ? !0 : Nm() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
29400
29452
|
}
|
|
29401
29453
|
function gk(e) {
|
|
29402
29454
|
return !Nm() && e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
|
|
29403
29455
|
}
|
|
29404
29456
|
function _m(e, t, n) {
|
|
29405
|
-
let [r, a] =
|
|
29457
|
+
let [r, a] = je(e || t), o = fe(e !== void 0), l = e !== void 0;
|
|
29406
29458
|
We(() => {
|
|
29407
29459
|
let m = o.current;
|
|
29408
29460
|
m !== l && console.warn(`WARN: A component changed from ${m ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}.`), o.current = l;
|
|
@@ -29527,19 +29579,19 @@ function Dk(e) {
|
|
|
29527
29579
|
}
|
|
29528
29580
|
return pk(t, e.ref), e;
|
|
29529
29581
|
}
|
|
29530
|
-
var
|
|
29531
|
-
class
|
|
29582
|
+
var zs = /* @__PURE__ */ new WeakMap();
|
|
29583
|
+
class js {
|
|
29532
29584
|
continuePropagation() {
|
|
29533
|
-
xd(this,
|
|
29585
|
+
xd(this, zs, !1);
|
|
29534
29586
|
}
|
|
29535
29587
|
get shouldStopPropagation() {
|
|
29536
|
-
return Tk(this,
|
|
29588
|
+
return Tk(this, zs);
|
|
29537
29589
|
}
|
|
29538
29590
|
constructor(t, n, r, a) {
|
|
29539
|
-
wk(this,
|
|
29591
|
+
wk(this, zs, {
|
|
29540
29592
|
writable: !0,
|
|
29541
29593
|
value: void 0
|
|
29542
|
-
}), xd(this,
|
|
29594
|
+
}), xd(this, zs, !0);
|
|
29543
29595
|
var o;
|
|
29544
29596
|
let l = (o = a == null ? void 0 : a.target) !== null && o !== void 0 ? o : r.currentTarget;
|
|
29545
29597
|
const c = l == null ? void 0 : l.getBoundingClientRect();
|
|
@@ -29563,7 +29615,7 @@ function Rm(e) {
|
|
|
29563
29615
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29564
29616
|
ref: u,
|
|
29565
29617
|
...h
|
|
29566
|
-
} = Dk(e), [g, v] =
|
|
29618
|
+
} = Dk(e), [g, v] = je(!1), E = fe({
|
|
29567
29619
|
isPressed: !1,
|
|
29568
29620
|
ignoreEmulatedMouseEvents: !1,
|
|
29569
29621
|
ignoreClickAfterPress: !1,
|
|
@@ -29578,7 +29630,7 @@ function Rm(e) {
|
|
|
29578
29630
|
if (l || _.didFirePressStart) return !1;
|
|
29579
29631
|
let V = !0;
|
|
29580
29632
|
if (_.isTriggeringEvent = !0, r) {
|
|
29581
|
-
let U = new
|
|
29633
|
+
let U = new js("pressstart", O, C);
|
|
29582
29634
|
r(U), V = U.shouldStopPropagation;
|
|
29583
29635
|
}
|
|
29584
29636
|
return n && n(!0), _.isTriggeringEvent = !1, _.didFirePressStart = !0, v(!0), V;
|
|
@@ -29588,11 +29640,11 @@ function Rm(e) {
|
|
|
29588
29640
|
V.ignoreClickAfterPress = !0, V.didFirePressStart = !1, V.isTriggeringEvent = !0;
|
|
29589
29641
|
let U = !0;
|
|
29590
29642
|
if (a) {
|
|
29591
|
-
let M = new
|
|
29643
|
+
let M = new js("pressend", O, C);
|
|
29592
29644
|
a(M), U = M.shouldStopPropagation;
|
|
29593
29645
|
}
|
|
29594
29646
|
if (n && n(!1), v(!1), t && _ && !l) {
|
|
29595
|
-
let M = new
|
|
29647
|
+
let M = new js("press", O, C);
|
|
29596
29648
|
t(M), U && (U = M.shouldStopPropagation);
|
|
29597
29649
|
}
|
|
29598
29650
|
return V.isTriggeringEvent = !1, U;
|
|
@@ -29601,7 +29653,7 @@ function Rm(e) {
|
|
|
29601
29653
|
if (l) return !1;
|
|
29602
29654
|
if (o) {
|
|
29603
29655
|
_.isTriggeringEvent = !0;
|
|
29604
|
-
let V = new
|
|
29656
|
+
let V = new js("pressup", O, C);
|
|
29605
29657
|
return o(V), _.isTriggeringEvent = !1, V.shouldStopPropagation;
|
|
29606
29658
|
}
|
|
29607
29659
|
return !0;
|
|
@@ -29630,7 +29682,7 @@ function Rm(e) {
|
|
|
29630
29682
|
onClick(V) {
|
|
29631
29683
|
if (!(V && !V.currentTarget.contains(V.target)) && V && V.button === 0 && !C.isTriggeringEvent && !er.isOpening) {
|
|
29632
29684
|
let U = !0;
|
|
29633
|
-
if (l && V.preventDefault(), !C.ignoreClickAfterPress && !C.ignoreEmulatedMouseEvents && !C.isPressed && (C.pointerType === "virtual" ||
|
|
29685
|
+
if (l && V.preventDefault(), !C.ignoreClickAfterPress && !C.ignoreEmulatedMouseEvents && !C.isPressed && (C.pointerType === "virtual" || jo(V.nativeEvent))) {
|
|
29634
29686
|
!l && !p && yn(V.currentTarget);
|
|
29635
29687
|
let M = N(V, "virtual"), W = x(V, "virtual"), H = I(V, "virtual");
|
|
29636
29688
|
U = M && W && H;
|
|
@@ -29684,7 +29736,7 @@ function Rm(e) {
|
|
|
29684
29736
|
M.stopPropagation();
|
|
29685
29737
|
return;
|
|
29686
29738
|
}
|
|
29687
|
-
C.isPressed = !0, C.isOverTarget = !0, C.target = M.currentTarget, C.pointerType =
|
|
29739
|
+
C.isPressed = !0, C.isOverTarget = !0, C.target = M.currentTarget, C.pointerType = jo(M.nativeEvent) ? "virtual" : "mouse", !l && !p && yn(M.currentTarget), N(M, C.pointerType) && M.stopPropagation(), T(kt(M.currentTarget), "mouseup", V, !1);
|
|
29688
29740
|
}, O.onMouseEnter = (M) => {
|
|
29689
29741
|
if (!M.currentTarget.contains(M.target)) return;
|
|
29690
29742
|
let W = !0;
|
|
@@ -29859,7 +29911,7 @@ function Pt(e) {
|
|
|
29859
29911
|
ws = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (tr = !0, tl("pointer", e));
|
|
29860
29912
|
}
|
|
29861
29913
|
function Bm(e) {
|
|
29862
|
-
|
|
29914
|
+
jo(e) && (tr = !0, ws = "virtual");
|
|
29863
29915
|
}
|
|
29864
29916
|
function Am(e) {
|
|
29865
29917
|
e.target === window || e.target === document || (!tr && !Zo && (ws = "virtual", tl("virtual", e)), tr = !1, Zo = !1);
|
|
@@ -30052,7 +30104,7 @@ class Od {
|
|
|
30052
30104
|
}
|
|
30053
30105
|
new rl();
|
|
30054
30106
|
function Vk(e, t) {
|
|
30055
|
-
let n = t == null ? void 0 : t.isDisabled, [r, a] =
|
|
30107
|
+
let n = t == null ? void 0 : t.isDisabled, [r, a] = je(!1);
|
|
30056
30108
|
return Es(() => {
|
|
30057
30109
|
if (e != null && e.current && !n) {
|
|
30058
30110
|
let o = () => {
|
|
@@ -30141,7 +30193,7 @@ function Ld() {
|
|
|
30141
30193
|
for (let e of Xr) e(ei);
|
|
30142
30194
|
}
|
|
30143
30195
|
function Gk() {
|
|
30144
|
-
let e = Tm(), [t, n] =
|
|
30196
|
+
let e = Tm(), [t, n] = je(ei);
|
|
30145
30197
|
return We(() => (Xr.size === 0 && window.addEventListener("languagechange", Ld), Xr.add(n), () => {
|
|
30146
30198
|
Xr.delete(n), Xr.size === 0 && window.removeEventListener("languagechange", Ld);
|
|
30147
30199
|
}), []), e ? {
|
|
@@ -30198,10 +30250,10 @@ function Uk(e) {
|
|
|
30198
30250
|
break;
|
|
30199
30251
|
case "ArrowRight":
|
|
30200
30252
|
if (n.getKeyRightOf) {
|
|
30201
|
-
var
|
|
30253
|
+
var j, ne;
|
|
30202
30254
|
_.preventDefault();
|
|
30203
30255
|
let R = n.getKeyRightOf(t.focusedKey);
|
|
30204
|
-
R == null && o && (R = E === "rtl" ? (
|
|
30256
|
+
R == null && o && (R = E === "rtl" ? (j = n.getLastKey) === null || j === void 0 ? void 0 : j.call(n, t.focusedKey) : (ne = n.getFirstKey) === null || ne === void 0 ? void 0 : ne.call(n, t.focusedKey)), V(R, E === "rtl" ? "last" : "first");
|
|
30205
30257
|
}
|
|
30206
30258
|
break;
|
|
30207
30259
|
case "Home":
|
|
@@ -30335,15 +30387,15 @@ function Uk(e) {
|
|
|
30335
30387
|
}
|
|
30336
30388
|
};
|
|
30337
30389
|
}
|
|
30338
|
-
function
|
|
30390
|
+
function zk(e) {
|
|
30339
30391
|
let { selectionManager: t, key: n, ref: r, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: l, isDisabled: c, onAction: p, allowsDifferentPressOrigin: m, linkBehavior: f = "action" } = e, u = Qi(), h = ($) => {
|
|
30340
30392
|
if ($.pointerType === "keyboard" && qo($)) t.toggleSelection(n);
|
|
30341
30393
|
else {
|
|
30342
30394
|
if (t.selectionMode === "none") return;
|
|
30343
30395
|
if (t.isLink(n)) {
|
|
30344
30396
|
if (f === "selection") {
|
|
30345
|
-
let
|
|
30346
|
-
u.open(r.current, $,
|
|
30397
|
+
let j = t.getItemProps(n);
|
|
30398
|
+
u.open(r.current, $, j.href, j.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
30347
30399
|
return;
|
|
30348
30400
|
} else if (f === "override" || f === "none") return;
|
|
30349
30401
|
}
|
|
@@ -30371,8 +30423,8 @@ function jk(e) {
|
|
|
30371
30423
|
});
|
|
30372
30424
|
let v = t.isLink(n) && f === "override", E = t.isLink(n) && f !== "selection" && f !== "none", T = !c && t.canSelectItem(n) && !v, w = (p || E) && !c, N = w && (t.selectionBehavior === "replace" ? !T : !T || t.isEmpty), I = w && T && t.selectionBehavior === "replace", x = N || I, k = fe(null), A = x && T, L = fe(!1), C = fe(!1), O = ($) => {
|
|
30373
30425
|
if (p && p(), E) {
|
|
30374
|
-
let
|
|
30375
|
-
u.open(r.current, $,
|
|
30426
|
+
let j = t.getItemProps(n);
|
|
30427
|
+
u.open(r.current, $, j.href, j.routerOptions);
|
|
30376
30428
|
}
|
|
30377
30429
|
}, _ = {};
|
|
30378
30430
|
a ? (_.onPressStart = ($) => {
|
|
@@ -30423,8 +30475,8 @@ function Pd() {
|
|
|
30423
30475
|
let e = window.event;
|
|
30424
30476
|
return (e == null ? void 0 : e.key) === " " || (e == null ? void 0 : e.code) === "Space";
|
|
30425
30477
|
}
|
|
30426
|
-
function
|
|
30427
|
-
let { key: r, isDisabled: a, shouldSelectOnPressUp: o } = e, { selectionManager: l, selectedKey: c } = t, p = r === c, m = a || t.isDisabled || t.selectionManager.isDisabled(r), { itemProps: f, isPressed: u } =
|
|
30478
|
+
function jk(e, t, n) {
|
|
30479
|
+
let { key: r, isDisabled: a, shouldSelectOnPressUp: o } = e, { selectionManager: l, selectedKey: c } = t, p = r === c, m = a || t.isDisabled || t.selectionManager.isDisabled(r), { itemProps: f, isPressed: u } = zk({
|
|
30428
30480
|
selectionManager: l,
|
|
30429
30481
|
key: r,
|
|
30430
30482
|
ref: n,
|
|
@@ -30541,7 +30593,7 @@ function Xk({
|
|
|
30541
30593
|
item: e,
|
|
30542
30594
|
state: t
|
|
30543
30595
|
}) {
|
|
30544
|
-
const { key: n } = e, r = s.useRef(null), { tabProps: a } =
|
|
30596
|
+
const { key: n } = e, r = s.useRef(null), { tabProps: a } = jk({ key: n }, t, r), o = t.selectedKey === n, l = t.disabledKeys.has(n);
|
|
30545
30597
|
return /* @__PURE__ */ s.createElement(
|
|
30546
30598
|
"div",
|
|
30547
30599
|
{
|
|
@@ -30633,13 +30685,13 @@ function eI(e, t) {
|
|
|
30633
30685
|
return !0;
|
|
30634
30686
|
}
|
|
30635
30687
|
function tI(e) {
|
|
30636
|
-
let { selectionMode: t = "none", disallowEmptySelection: n, allowDuplicateSelectionEvents: r, selectionBehavior: a = "toggle", disabledBehavior: o = "all" } = e, l = fe(!1), [, c] =
|
|
30688
|
+
let { selectionMode: t = "none", disallowEmptySelection: n, allowDuplicateSelectionEvents: r, selectionBehavior: a = "toggle", disabledBehavior: o = "all" } = e, l = fe(!1), [, c] = je(!1), p = fe(null), m = fe(null), [, f] = je(null), u = tt(() => Ad(e.selectedKeys), [
|
|
30637
30689
|
e.selectedKeys
|
|
30638
30690
|
]), h = tt(() => Ad(e.defaultSelectedKeys, new Ut()), [
|
|
30639
30691
|
e.defaultSelectedKeys
|
|
30640
30692
|
]), [g, v] = _m(u, h, e.onSelectionChange), E = tt(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
30641
30693
|
e.disabledKeys
|
|
30642
|
-
]), [T, w] =
|
|
30694
|
+
]), [T, w] = je(a);
|
|
30643
30695
|
a === "replace" && T === "toggle" && typeof g == "object" && g.size === 0 && w("replace");
|
|
30644
30696
|
let N = fe(a);
|
|
30645
30697
|
return We(() => {
|
|
@@ -30769,7 +30821,7 @@ class nI {
|
|
|
30769
30821
|
let t = null;
|
|
30770
30822
|
for (let n of this.state.selectedKeys) {
|
|
30771
30823
|
let r = this.collection.getItem(n);
|
|
30772
|
-
(!t || r &&
|
|
30824
|
+
(!t || r && ja(this.collection, r, t) < 0) && (t = r);
|
|
30773
30825
|
}
|
|
30774
30826
|
return t == null ? void 0 : t.key;
|
|
30775
30827
|
}
|
|
@@ -30777,7 +30829,7 @@ class nI {
|
|
|
30777
30829
|
let t = null;
|
|
30778
30830
|
for (let n of this.state.selectedKeys) {
|
|
30779
30831
|
let r = this.collection.getItem(n);
|
|
30780
|
-
(!t || r &&
|
|
30832
|
+
(!t || r && ja(this.collection, r, t) > 0) && (t = r);
|
|
30781
30833
|
}
|
|
30782
30834
|
return t == null ? void 0 : t.key;
|
|
30783
30835
|
}
|
|
@@ -30811,7 +30863,7 @@ class nI {
|
|
|
30811
30863
|
}
|
|
30812
30864
|
getKeyRange(t, n) {
|
|
30813
30865
|
let r = this.collection.getItem(t), a = this.collection.getItem(n);
|
|
30814
|
-
return r && a ?
|
|
30866
|
+
return r && a ? ja(this.collection, r, a) <= 0 ? this.getKeyRangeInternal(t, n) : this.getKeyRangeInternal(n, t) : [];
|
|
30815
30867
|
}
|
|
30816
30868
|
getKeyRangeInternal(t, n) {
|
|
30817
30869
|
let r = [], a = t;
|
|
@@ -31065,14 +31117,14 @@ Object.assign(Um, {
|
|
|
31065
31117
|
displayName: "SpsCardV2Footer"
|
|
31066
31118
|
});
|
|
31067
31119
|
const cI = {};
|
|
31068
|
-
function
|
|
31120
|
+
function zm({
|
|
31069
31121
|
children: e,
|
|
31070
31122
|
className: t,
|
|
31071
31123
|
...n
|
|
31072
31124
|
}) {
|
|
31073
31125
|
return /* @__PURE__ */ s.createElement("div", { className: K("sps-card__header", t), ...n }, e);
|
|
31074
31126
|
}
|
|
31075
|
-
Object.assign(
|
|
31127
|
+
Object.assign(zm, {
|
|
31076
31128
|
props: cI,
|
|
31077
31129
|
displayName: "SpsCardV2Header"
|
|
31078
31130
|
});
|
|
@@ -31089,7 +31141,7 @@ function pI({
|
|
|
31089
31141
|
l,
|
|
31090
31142
|
c
|
|
31091
31143
|
] = Jt(e, [
|
|
31092
|
-
{ type:
|
|
31144
|
+
{ type: zm },
|
|
31093
31145
|
{ type: Ym },
|
|
31094
31146
|
{ type: fb },
|
|
31095
31147
|
{ type: Um }
|
|
@@ -31627,7 +31679,7 @@ Object.assign(TI, {
|
|
|
31627
31679
|
props: yI,
|
|
31628
31680
|
displayName: "SpsFeedbackBlock"
|
|
31629
31681
|
});
|
|
31630
|
-
const
|
|
31682
|
+
const zM = {
|
|
31631
31683
|
standard: {
|
|
31632
31684
|
label: "Standard Size",
|
|
31633
31685
|
description: "Use Standard Size Feedback Blocks for the majority of cases. If a smaller or more subtle solution is needed, use the Micro Size Feedback Block.",
|
|
@@ -31766,7 +31818,7 @@ const jM = {
|
|
|
31766
31818
|
}
|
|
31767
31819
|
}
|
|
31768
31820
|
}, EI = {};
|
|
31769
|
-
function
|
|
31821
|
+
function jm(e) {
|
|
31770
31822
|
const {
|
|
31771
31823
|
children: t,
|
|
31772
31824
|
className: n,
|
|
@@ -31779,7 +31831,7 @@ function zm(e) {
|
|
|
31779
31831
|
);
|
|
31780
31832
|
return /* @__PURE__ */ s.createElement("div", { className: o, ...a }, /* @__PURE__ */ s.createElement("div", { className: "sps-list-action-bar" }, /* @__PURE__ */ s.createElement("div", { className: "sps-list-action-bar__actions" }, t)));
|
|
31781
31833
|
}
|
|
31782
|
-
Object.assign(
|
|
31834
|
+
Object.assign(jm, {
|
|
31783
31835
|
props: EI,
|
|
31784
31836
|
displayName: "SpsFocusedTaskActions"
|
|
31785
31837
|
});
|
|
@@ -31815,7 +31867,7 @@ function qm(e) {
|
|
|
31815
31867
|
g,
|
|
31816
31868
|
v
|
|
31817
31869
|
] = Jt(t, [
|
|
31818
|
-
{ type:
|
|
31870
|
+
{ type: jm }
|
|
31819
31871
|
]);
|
|
31820
31872
|
return /* @__PURE__ */ s.createElement("div", { className: h, ref: f, "data-testid": c, ...m }, /* @__PURE__ */ s.createElement("div", { className: "sps-focused-task__title" }, /* @__PURE__ */ s.createElement(
|
|
31821
31873
|
Ze,
|
|
@@ -31832,7 +31884,7 @@ Object.assign(qm, {
|
|
|
31832
31884
|
props: wI,
|
|
31833
31885
|
displayName: "SpsFocusedTask"
|
|
31834
31886
|
});
|
|
31835
|
-
const
|
|
31887
|
+
const jM = {
|
|
31836
31888
|
basic: {
|
|
31837
31889
|
examples: {
|
|
31838
31890
|
basic: {
|
|
@@ -33067,7 +33119,7 @@ function VI(e) {
|
|
|
33067
33119
|
H,
|
|
33068
33120
|
Y,
|
|
33069
33121
|
$,
|
|
33070
|
-
|
|
33122
|
+
j
|
|
33071
33123
|
] = Jt(r, [
|
|
33072
33124
|
{ type: Qm },
|
|
33073
33125
|
{ type: ef },
|
|
@@ -33105,7 +33157,7 @@ function VI(e) {
|
|
|
33105
33157
|
className: "sps-list-toolbar__advanced-search-title"
|
|
33106
33158
|
},
|
|
33107
33159
|
p
|
|
33108
|
-
)), k ? /* @__PURE__ */ s.createElement("div", { className: "sps-list-toolbar__header-content" }, /* @__PURE__ */ s.createElement(qt.Provider, { value: { fixed: !0 } },
|
|
33160
|
+
)), k ? /* @__PURE__ */ s.createElement("div", { className: "sps-list-toolbar__header-content" }, /* @__PURE__ */ s.createElement(qt.Provider, { value: { fixed: !0 } }, j)) : /* @__PURE__ */ s.createElement("div", { className: "sps-list-toolbar__header-content" }, j)), /* @__PURE__ */ s.createElement("div", null, (!k || k && E) && $)));
|
|
33109
33161
|
}
|
|
33110
33162
|
Object.assign(VI, {
|
|
33111
33163
|
props: FI,
|
|
@@ -33163,7 +33215,7 @@ function HI() {
|
|
|
33163
33215
|
alt: "A List Toolbar with labels on each section",
|
|
33164
33216
|
className: "w-100 mb-3"
|
|
33165
33217
|
}
|
|
33166
|
-
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, { style: { width: "80px" } }, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Notes")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(
|
|
33218
|
+
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, { style: { width: "80px" } }, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Notes")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(de, null, "Checkbox"), /* @__PURE__ */ s.createElement(de, null, "For Content Rows and Content Tiles only.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(de, null, "Search/Filter Box"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(de, null, "Saved Search"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(de, null, "Advanced Search"), /* @__PURE__ */ s.createElement(de, null, "For more information, visit the Advanced Search page.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(de, null, "Column Editor"), /* @__PURE__ */ s.createElement(de, { wrap: 500 }, "Use for Tables only. For more information, visit the Column Editor page.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "6")), /* @__PURE__ */ s.createElement(de, null, "List View Selector"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "7")), /* @__PURE__ */ s.createElement(de, null, "Sorting"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "8")), /* @__PURE__ */ s.createElement(de, null, "Buttons"), /* @__PURE__ */ s.createElement(de, { 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."))))));
|
|
33167
33219
|
}
|
|
33168
33220
|
const e_ = {
|
|
33169
33221
|
general: {
|
|
@@ -34124,7 +34176,7 @@ const e_ = {
|
|
|
34124
34176
|
};
|
|
34125
34177
|
var WI = /* @__PURE__ */ ((e) => (e.Ok = "Ok", e.Cancel = "Cancel", e))(WI || {});
|
|
34126
34178
|
const t_ = () => {
|
|
34127
|
-
const [e, t] =
|
|
34179
|
+
const [e, t] = je([]), n = (m) => {
|
|
34128
34180
|
const f = [...e], u = { ...m };
|
|
34129
34181
|
return u.key = wt(), new Promise((g) => {
|
|
34130
34182
|
f.push({
|
|
@@ -34135,7 +34187,7 @@ const t_ = () => {
|
|
|
34135
34187
|
}, r = (m) => {
|
|
34136
34188
|
const f = [...e], u = f.pop();
|
|
34137
34189
|
u == null || u.resolve(m), t(f);
|
|
34138
|
-
}, [a, o] =
|
|
34190
|
+
}, [a, o] = je(!1), [l, c] = je();
|
|
34139
34191
|
We(() => {
|
|
34140
34192
|
a && (r(l), o(!1));
|
|
34141
34193
|
}, [a]);
|
|
@@ -34185,7 +34237,7 @@ Object.assign(YI, {
|
|
|
34185
34237
|
displayName: "SpsPageTitle"
|
|
34186
34238
|
});
|
|
34187
34239
|
const UI = {};
|
|
34188
|
-
function
|
|
34240
|
+
function zI(e) {
|
|
34189
34241
|
const {
|
|
34190
34242
|
children: t,
|
|
34191
34243
|
className: n,
|
|
@@ -34198,7 +34250,7 @@ function jI(e) {
|
|
|
34198
34250
|
);
|
|
34199
34251
|
return /* @__PURE__ */ s.createElement("div", { className: l, "data-testid": r, ...o }, t);
|
|
34200
34252
|
}
|
|
34201
|
-
Object.assign(
|
|
34253
|
+
Object.assign(zI, {
|
|
34202
34254
|
props: UI,
|
|
34203
34255
|
displayName: "SpsPageSubtitle"
|
|
34204
34256
|
});
|
|
@@ -34273,7 +34325,7 @@ const r_ = {
|
|
|
34273
34325
|
}
|
|
34274
34326
|
}
|
|
34275
34327
|
}
|
|
34276
|
-
},
|
|
34328
|
+
}, jI = {
|
|
34277
34329
|
active: "boolean",
|
|
34278
34330
|
as: "React.ElementType"
|
|
34279
34331
|
};
|
|
@@ -34293,7 +34345,7 @@ function tf(e) {
|
|
|
34293
34345
|
return /* @__PURE__ */ s.createElement(n, { className: c, ...l }, r);
|
|
34294
34346
|
}
|
|
34295
34347
|
Object.assign(tf, {
|
|
34296
|
-
props:
|
|
34348
|
+
props: jI,
|
|
34297
34349
|
displayName: "SpsProductBarTab"
|
|
34298
34350
|
});
|
|
34299
34351
|
const qI = {
|
|
@@ -34567,7 +34619,7 @@ const a_ = {
|
|
|
34567
34619
|
alt: "A Progress Bar with labels on each section",
|
|
34568
34620
|
className: "w-100 mb-3"
|
|
34569
34621
|
}
|
|
34570
|
-
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Type"), /* @__PURE__ */ s.createElement(ut, null, "Required"), /* @__PURE__ */ s.createElement(ut, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(
|
|
34622
|
+
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Type"), /* @__PURE__ */ s.createElement(ut, null, "Required"), /* @__PURE__ */ s.createElement(ut, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(de, null, "Title"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { 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(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(de, null, "Progress Meter"), /* @__PURE__ */ s.createElement(de, null, "Yes"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(de, null, "Progress Counter"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { wrap: 400 }, "The Progress Counter should not be used without the existence of a Title.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(de, null, "Clear Button"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { 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(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(de, null, "Progress Details"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { wrap: 400 }, "Progress Details provide more context for the user and are especially useful when the process includes multiple steps."))))),
|
|
34571
34623
|
examples: {
|
|
34572
34624
|
standard: {
|
|
34573
34625
|
label: "Building Standard Progress Bars",
|
|
@@ -34877,7 +34929,7 @@ function iM(e) {
|
|
|
34877
34929
|
)
|
|
34878
34930
|
},
|
|
34879
34931
|
u.icon && /* @__PURE__ */ s.createElement(sn, { icon: u.icon, size: ma.SMALL, className: K("d-block", (u.index || 0) > r - 1 ? "gray400" : "white") }),
|
|
34880
|
-
u.title && u.id && /* @__PURE__ */ s.createElement(
|
|
34932
|
+
u.title && u.id && /* @__PURE__ */ s.createElement(jt, { for: u.id, title: u.title }, u.description)
|
|
34881
34933
|
)))));
|
|
34882
34934
|
}
|
|
34883
34935
|
Object.assign(iM, {
|
|
@@ -34894,7 +34946,7 @@ const l_ = {
|
|
|
34894
34946
|
alt: "A Progress Bar with labels on each section",
|
|
34895
34947
|
className: "w-100 mb-3"
|
|
34896
34948
|
}
|
|
34897
|
-
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Type"), /* @__PURE__ */ s.createElement(ut, null, "Required"), /* @__PURE__ */ s.createElement(ut, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(
|
|
34949
|
+
), /* @__PURE__ */ s.createElement(Ar, null, /* @__PURE__ */ s.createElement(ar, null, /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Type"), /* @__PURE__ */ s.createElement(ut, null, "Required"), /* @__PURE__ */ s.createElement(ut, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "1")), /* @__PURE__ */ s.createElement(de, null, "Title"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { 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(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "2")), /* @__PURE__ */ s.createElement(de, null, "Progress Meter"), /* @__PURE__ */ s.createElement(de, null, "Yes"), /* @__PURE__ */ s.createElement(de, null)), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "3")), /* @__PURE__ */ s.createElement(de, null, "Progress Counter"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { wrap: 400 }, "The Progress Counter should not be used without the existence of a Title.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "4")), /* @__PURE__ */ s.createElement(de, null, "Step icons"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { wrap: 400 }, "Icons can be set inside of steps for visual emphasis.")), /* @__PURE__ */ s.createElement(ze, null, /* @__PURE__ */ s.createElement(de, null, /* @__PURE__ */ s.createElement("span", { className: "sps-tag sps-tag--info" }, "5")), /* @__PURE__ */ s.createElement(de, null, "Step Tooltips"), /* @__PURE__ */ s.createElement(de, null, "No"), /* @__PURE__ */ s.createElement(de, { wrap: 400 }, "Tooltips can be utilized to provide more details about each specific step. Tooltips can be exposed on click or hover."))))),
|
|
34898
34950
|
examples: {
|
|
34899
34951
|
standard: {
|
|
34900
34952
|
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.")),
|
|
@@ -35721,7 +35773,7 @@ export {
|
|
|
35721
35773
|
vu as SpsCardTabbedPane,
|
|
35722
35774
|
pI as SpsCardV2,
|
|
35723
35775
|
Um as SpsCardV2Footer,
|
|
35724
|
-
|
|
35776
|
+
zm as SpsCardV2Header,
|
|
35725
35777
|
mI as SpsCardV2Title,
|
|
35726
35778
|
Or as SpsCheckbox,
|
|
35727
35779
|
Ou as SpsCheckboxDropdown,
|
|
@@ -35758,7 +35810,7 @@ export {
|
|
|
35758
35810
|
uN as SpsDropdownExamples,
|
|
35759
35811
|
lN as SpsDt,
|
|
35760
35812
|
TI as SpsFeedbackBlock,
|
|
35761
|
-
|
|
35813
|
+
zM as SpsFeedbackBlockExamples,
|
|
35762
35814
|
Lu as SpsFieldset,
|
|
35763
35815
|
hN as SpsFieldsetExamples,
|
|
35764
35816
|
um as SpsFilterPanel,
|
|
@@ -35770,8 +35822,8 @@ export {
|
|
|
35770
35822
|
hM as SpsFilterTileList,
|
|
35771
35823
|
d_ as SpsFilterTileListExamples,
|
|
35772
35824
|
qm as SpsFocusedTask,
|
|
35773
|
-
|
|
35774
|
-
|
|
35825
|
+
jm as SpsFocusedTaskActions,
|
|
35826
|
+
jM as SpsFocusedTaskExamples,
|
|
35775
35827
|
wa as SpsForm,
|
|
35776
35828
|
tv as SpsFormArrayMeta,
|
|
35777
35829
|
St as SpsFormComponentWrapper,
|
|
@@ -35808,15 +35860,15 @@ export {
|
|
|
35808
35860
|
Yu as SpsModal,
|
|
35809
35861
|
YN as SpsModalExamples,
|
|
35810
35862
|
Wi as SpsModalFooter,
|
|
35811
|
-
|
|
35812
|
-
|
|
35863
|
+
zu as SpsMultiSelect,
|
|
35864
|
+
zN as SpsMultiSelectExamples,
|
|
35813
35865
|
Sm as SpsMultiValueTextInput,
|
|
35814
35866
|
Lx as SpsMultiValueTextInputExamples,
|
|
35815
35867
|
Gi as SpsPageSelector,
|
|
35816
|
-
|
|
35868
|
+
zI as SpsPageSubtitle,
|
|
35817
35869
|
YI as SpsPageTitle,
|
|
35818
35870
|
r_ as SpsPageTitleExamples,
|
|
35819
|
-
|
|
35871
|
+
ju as SpsPagination,
|
|
35820
35872
|
JN as SpsPaginationExamples,
|
|
35821
35873
|
JI as SpsProductBar,
|
|
35822
35874
|
s_ as SpsProductBarExamples,
|
|
@@ -35831,7 +35883,7 @@ export {
|
|
|
35831
35883
|
QM as SpsSearchResultsBarExamples,
|
|
35832
35884
|
Xm as SpsSearchResultsBarV2,
|
|
35833
35885
|
_r as SpsSelect,
|
|
35834
|
-
|
|
35886
|
+
jD as SpsSelectExamples,
|
|
35835
35887
|
QN as SpsSideNav,
|
|
35836
35888
|
ex as SpsSideNavExamples,
|
|
35837
35889
|
nM as SpsSlackLink,
|
|
@@ -35858,7 +35910,7 @@ export {
|
|
|
35858
35910
|
FN as SpsTableExamples,
|
|
35859
35911
|
ar as SpsTableHead,
|
|
35860
35912
|
ut as SpsTableHeader,
|
|
35861
|
-
|
|
35913
|
+
ze as SpsTableRow,
|
|
35862
35914
|
Ym as SpsTabsV2,
|
|
35863
35915
|
tn as SpsTag,
|
|
35864
35916
|
HM as SpsTagExamples,
|
|
@@ -35879,7 +35931,7 @@ export {
|
|
|
35879
35931
|
Px as SpsTimeInputExamples,
|
|
35880
35932
|
rm as SpsToggle,
|
|
35881
35933
|
mx as SpsToggleExamples,
|
|
35882
|
-
|
|
35934
|
+
jt as SpsTooltip,
|
|
35883
35935
|
hx as SpsTooltipExamples,
|
|
35884
35936
|
sm as SpsTooltipTitle,
|
|
35885
35937
|
MN as SpsTr,
|
|
@@ -35893,8 +35945,8 @@ export {
|
|
|
35893
35945
|
yx as SpsWizardExamples,
|
|
35894
35946
|
im as SpsWizardSidebar,
|
|
35895
35947
|
lm as SpsWizardSubstep,
|
|
35896
|
-
|
|
35897
|
-
|
|
35948
|
+
zi as SpsWorkflow,
|
|
35949
|
+
ji as SpsWorkflowDocument,
|
|
35898
35950
|
qi as SpsWorkflowDocumentStatus,
|
|
35899
35951
|
Cx as SpsWorkflowExamples,
|
|
35900
35952
|
Ji as SpsWorkflowStep,
|