@spscommerce/ds-react 8.21.3 → 8.21.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +159 -162
- package/lib/index.umd.cjs +6 -6
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var HS = (e, t, n) => t in e ? KS(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Gt = (e, t, n) => HS(e, typeof t != "symbol" ? t + "" : t, n), Yl = (e, t, n) => t.has(e) || Gl("Cannot " + n);
|
|
7
7
|
var Yn = (e, t, n) => (Yl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), As = (e, t, n) => t.has(e) ? Gl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), gn = (e, t, n, r) => (Yl(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
8
8
|
import * as s from "react";
|
|
9
|
-
import J, { useRef as fe, useEffect as We, useState as
|
|
9
|
+
import J, { useRef as fe, useEffect as We, useState as qe, useCallback as Bt, useMemo as tt, createContext as $d, useContext as nn, useReducer as ti, useLayoutEffect as Kd } from "react";
|
|
10
10
|
import { getPath as Zr, setPath as WS, deepFreeze as Ul, diff as GS, DiffChange as Un, debounce as YS, flatten as US, code as y, crumblePath as zS, traversePath as jS, forEachNestedObject as qS, constrain as JS, lockToAnimationFrames as ZS } from "@spscommerce/utils";
|
|
11
11
|
import * as Dr from "moment-timezone";
|
|
12
12
|
import gt from "moment-timezone";
|
|
@@ -694,7 +694,7 @@ function sv(e) {
|
|
|
694
694
|
}
|
|
695
695
|
function av(e, t = {}) {
|
|
696
696
|
sv(e);
|
|
697
|
-
const [, n] =
|
|
697
|
+
const [, n] = qe({}), r = fe(!1);
|
|
698
698
|
r.current = !1;
|
|
699
699
|
const a = fe(t), o = Bt((h) => {
|
|
700
700
|
var T, E;
|
|
@@ -1460,7 +1460,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1460
1460
|
captionKey: "caption"
|
|
1461
1461
|
}) : null,
|
|
1462
1462
|
[Q]
|
|
1463
|
-
), [q, ne] = s.useState(-1), [oe, le] = s.useState(x), ae = t || s.useRef(null), se = s.useRef(null), we = s.useRef(null), Ae = fs("sps-option-list-portal"), Qe = s.useContext(qt), [mt, bt] = X || [Ee.BOTTOM_LEFT, Ee.TOP_LEFT], [[ft,
|
|
1463
|
+
), [q, ne] = s.useState(-1), [oe, le] = s.useState(x), ae = t || s.useRef(null), se = s.useRef(null), we = s.useRef(null), Ae = fs("sps-option-list-portal"), Qe = s.useContext(qt), [mt, bt] = X || [Ee.BOTTOM_LEFT, Ee.TOP_LEFT], [[ft, ge], Ue] = s.useState([{}, !1]), De = s.useRef(null), [
|
|
1464
1464
|
ve,
|
|
1465
1465
|
ke,
|
|
1466
1466
|
nt
|
|
@@ -1472,7 +1472,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1472
1472
|
nt
|
|
1473
1473
|
);
|
|
1474
1474
|
s.useEffect(() => {
|
|
1475
|
-
|
|
1475
|
+
Ue(
|
|
1476
1476
|
oe ? kr(ae, E, mt, {
|
|
1477
1477
|
altPosition: bt,
|
|
1478
1478
|
setMinWidth: !k,
|
|
@@ -1488,7 +1488,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1488
1488
|
]), s.useEffect(() => {
|
|
1489
1489
|
let Se;
|
|
1490
1490
|
return oe && (Se = () => {
|
|
1491
|
-
oe &&
|
|
1491
|
+
oe && Ue(
|
|
1492
1492
|
kr(ae, E, mt, {
|
|
1493
1493
|
altPosition: bt,
|
|
1494
1494
|
setMinWidth: !k,
|
|
@@ -1507,7 +1507,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1507
1507
|
"z-stratum-dropdown",
|
|
1508
1508
|
oe && "sps-option-list--open",
|
|
1509
1509
|
ke.isAsync && "sps-option-list--searchable",
|
|
1510
|
-
|
|
1510
|
+
ge && "sps-option-list--opens-upward",
|
|
1511
1511
|
Q && Q.label && "sps-option-list--has-special-action",
|
|
1512
1512
|
w
|
|
1513
1513
|
), Nn = H(
|
|
@@ -1543,14 +1543,14 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1543
1543
|
case "Up":
|
|
1544
1544
|
case "ArrowUp": {
|
|
1545
1545
|
let ye = q;
|
|
1546
|
-
|
|
1546
|
+
ge ? q <= -1 ? ye = Fe.length - 1 : q === 0 ? Q && (ye = Fe.length) : q < Fe.length && (ye = q - 1) : q > -1 && (ye = q - 1), ye !== q && (Se.preventDefault(), ne(ye));
|
|
1547
1547
|
break;
|
|
1548
1548
|
}
|
|
1549
1549
|
case "Down":
|
|
1550
1550
|
case "ArrowDown": {
|
|
1551
1551
|
ce();
|
|
1552
1552
|
let ye = q;
|
|
1553
|
-
|
|
1553
|
+
ge ? q !== -1 && (q >= Fe.length ? ye = 0 : q === Fe.length - 1 ? ye = -1 : ye = q + 1) : q < Fe.length - 1 + +!!Q && (ye = q + 1), ye !== q && (Se.preventDefault(), ne(ye));
|
|
1554
1554
|
break;
|
|
1555
1555
|
}
|
|
1556
1556
|
default:
|
|
@@ -1562,7 +1562,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1562
1562
|
q,
|
|
1563
1563
|
_e,
|
|
1564
1564
|
_,
|
|
1565
|
-
|
|
1565
|
+
ge,
|
|
1566
1566
|
Fe
|
|
1567
1567
|
]), Dt = s.useCallback((Se) => {
|
|
1568
1568
|
const ye = Fe.findIndex((Je) => {
|
|
@@ -1581,7 +1581,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1581
1581
|
q,
|
|
1582
1582
|
_e,
|
|
1583
1583
|
_,
|
|
1584
|
-
|
|
1584
|
+
ge,
|
|
1585
1585
|
Fe
|
|
1586
1586
|
]);
|
|
1587
1587
|
s.useEffect(() => {
|
|
@@ -1604,7 +1604,7 @@ const hs = s.forwardRef((e, t) => {
|
|
|
1604
1604
|
}, [x]), s.useEffect(() => {
|
|
1605
1605
|
L && Le(L);
|
|
1606
1606
|
}, [L]), s.useEffect(() => {
|
|
1607
|
-
!oe && se.current && (nt({ value: "" }), se.current.scrollTop = 0), oe && $ && $(
|
|
1607
|
+
!oe && se.current && (nt({ value: "" }), se.current.scrollTop = 0), oe && $ && $(ge);
|
|
1608
1608
|
}, [oe]);
|
|
1609
1609
|
const dt = K ? K / 16 : G, $n = dt ? { maxHeight: `${dt}rem` } : {};
|
|
1610
1610
|
function $t(Se, ye) {
|
|
@@ -3953,15 +3953,15 @@ function my(e, t) {
|
|
|
3953
3953
|
}, [W, ee, oe]), se = ti(cy, oy, uy), we = se[0], Ae = we[0], Qe = se[1];
|
|
3954
3954
|
if (Ae && Ae.error)
|
|
3955
3955
|
throw Ae.error;
|
|
3956
|
-
var mt = fe(), bt = fe(G), ft = fe(),
|
|
3956
|
+
var mt = fe(), bt = fe(G), ft = fe(), ge = fe(!1), Ue = M(function() {
|
|
3957
3957
|
return ft.current && G === bt.current ? ft.current : q(Y.getState(), G);
|
|
3958
3958
|
}, [Y, Ae, G]);
|
|
3959
|
-
xc(dy, [bt, mt,
|
|
3959
|
+
xc(dy, [bt, mt, ge, G, Ue, ft, le]), xc(py, [f, Y, oe, q, bt, mt, ge, ft, le, Qe], [Y, oe, q]);
|
|
3960
3960
|
var De = tt(function() {
|
|
3961
|
-
return /* @__PURE__ */ J.createElement(L, be({},
|
|
3961
|
+
return /* @__PURE__ */ J.createElement(L, be({}, Ue, {
|
|
3962
3962
|
ref: K
|
|
3963
3963
|
}));
|
|
3964
|
-
}, [K, L,
|
|
3964
|
+
}, [K, L, Ue]), ve = tt(function() {
|
|
3965
3965
|
return f ? /* @__PURE__ */ J.createElement(te.Provider, {
|
|
3966
3966
|
value: ae
|
|
3967
3967
|
}, De) : De;
|
|
@@ -4186,7 +4186,7 @@ function By(e, t) {
|
|
|
4186
4186
|
return !0;
|
|
4187
4187
|
}
|
|
4188
4188
|
function hp(e, t) {
|
|
4189
|
-
var n =
|
|
4189
|
+
var n = qe(function() {
|
|
4190
4190
|
return {
|
|
4191
4191
|
inputs: t,
|
|
4192
4192
|
result: e()
|
|
@@ -4204,7 +4204,7 @@ function Ay(e, t) {
|
|
|
4204
4204
|
return e;
|
|
4205
4205
|
}, t);
|
|
4206
4206
|
}
|
|
4207
|
-
var Me = hp,
|
|
4207
|
+
var Me = hp, he = Ay, Fy = process.env.NODE_ENV === "production", io = "Invariant failed";
|
|
4208
4208
|
function Mc(e, t) {
|
|
4209
4209
|
if (Fy)
|
|
4210
4210
|
throw new Error(io);
|
|
@@ -7260,10 +7260,10 @@ var nw = function(e, t) {
|
|
|
7260
7260
|
function Cw(e, t) {
|
|
7261
7261
|
var n = Me(function() {
|
|
7262
7262
|
return ww(e);
|
|
7263
|
-
}, [e]), r = fe(null), a = fe(null), o =
|
|
7263
|
+
}, [e]), r = fe(null), a = fe(null), o = he(it(function(u) {
|
|
7264
7264
|
var h = a.current;
|
|
7265
7265
|
h || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot set dynamic style element if it is not set") : V()), h.textContent = u;
|
|
7266
|
-
}), []), l =
|
|
7266
|
+
}), []), l = he(function(u) {
|
|
7267
7267
|
var h = r.current;
|
|
7268
7268
|
h || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot set dynamic style element if it is not set") : V()), h.textContent = u;
|
|
7269
7269
|
}, []);
|
|
@@ -7278,15 +7278,15 @@ function Cw(e, t) {
|
|
|
7278
7278
|
g(r), g(a);
|
|
7279
7279
|
};
|
|
7280
7280
|
}, [t, l, o, n.always, n.resting, e]);
|
|
7281
|
-
var c =
|
|
7281
|
+
var c = he(function() {
|
|
7282
7282
|
return o(n.dragging);
|
|
7283
|
-
}, [o, n.dragging]), p =
|
|
7283
|
+
}, [o, n.dragging]), p = he(function(u) {
|
|
7284
7284
|
if (u === "DROP") {
|
|
7285
7285
|
o(n.dropAnimating);
|
|
7286
7286
|
return;
|
|
7287
7287
|
}
|
|
7288
7288
|
o(n.userCancel);
|
|
7289
|
-
}, [o, n.dropAnimating, n.userCancel]), m =
|
|
7289
|
+
}, [o, n.dropAnimating, n.userCancel]), m = he(function() {
|
|
7290
7290
|
a.current && o(n.resting);
|
|
7291
7291
|
}, [o, n.resting]), f = Me(function() {
|
|
7292
7292
|
return {
|
|
@@ -7313,7 +7313,7 @@ function tu(e, t) {
|
|
|
7313
7313
|
return a ? Ts(a) ? a : (process.env.NODE_ENV !== "production" && He("drag handle needs to be a HTMLElement"), null) : (process.env.NODE_ENV !== "production" && He('Unable to find drag handle with id "' + t + '" as no handle with a matching id was found'), null);
|
|
7314
7314
|
}
|
|
7315
7315
|
function Dw(e) {
|
|
7316
|
-
var t = fe({}), n = fe(null), r = fe(null), a = fe(!1), o =
|
|
7316
|
+
var t = fe({}), n = fe(null), r = fe(null), a = fe(!1), o = he(function(h, g) {
|
|
7317
7317
|
var v = {
|
|
7318
7318
|
id: h,
|
|
7319
7319
|
focus: g
|
|
@@ -7322,18 +7322,18 @@ function Dw(e) {
|
|
|
7322
7322
|
var E = t.current, w = E[h];
|
|
7323
7323
|
w !== v && delete E[h];
|
|
7324
7324
|
};
|
|
7325
|
-
}, []), l =
|
|
7325
|
+
}, []), l = he(function(h) {
|
|
7326
7326
|
var g = tu(e, h);
|
|
7327
7327
|
g && g !== document.activeElement && g.focus();
|
|
7328
|
-
}, [e]), c =
|
|
7328
|
+
}, [e]), c = he(function(h, g) {
|
|
7329
7329
|
n.current === h && (n.current = g);
|
|
7330
|
-
}, []), p =
|
|
7330
|
+
}, []), p = he(function() {
|
|
7331
7331
|
r.current || a.current && (r.current = requestAnimationFrame(function() {
|
|
7332
7332
|
r.current = null;
|
|
7333
7333
|
var h = n.current;
|
|
7334
7334
|
h && l(h);
|
|
7335
7335
|
}));
|
|
7336
|
-
}, [l]), m =
|
|
7336
|
+
}, [l]), m = he(function(h) {
|
|
7337
7337
|
n.current = null;
|
|
7338
7338
|
var g = document.activeElement;
|
|
7339
7339
|
g && g.getAttribute(_r.draggableId) === h && (n.current = h);
|
|
@@ -7480,7 +7480,7 @@ function Mw(e) {
|
|
|
7480
7480
|
});
|
|
7481
7481
|
};
|
|
7482
7482
|
}, [t]);
|
|
7483
|
-
var r =
|
|
7483
|
+
var r = he(function(a) {
|
|
7484
7484
|
var o = n.current;
|
|
7485
7485
|
if (o) {
|
|
7486
7486
|
o.textContent = a;
|
|
@@ -7776,21 +7776,21 @@ function tC(e) {
|
|
|
7776
7776
|
}
|
|
7777
7777
|
}
|
|
7778
7778
|
};
|
|
7779
|
-
}, [e]), o =
|
|
7779
|
+
}, [e]), o = he(function() {
|
|
7780
7780
|
var u = {
|
|
7781
7781
|
passive: !1,
|
|
7782
7782
|
capture: !0
|
|
7783
7783
|
};
|
|
7784
7784
|
n.current = At(window, [a, r], u);
|
|
7785
|
-
}, [a, r]), l =
|
|
7785
|
+
}, [a, r]), l = he(function() {
|
|
7786
7786
|
var f = t.current;
|
|
7787
7787
|
f.type !== "IDLE" && (t.current = nd, n.current(), o());
|
|
7788
|
-
}, [o]), c =
|
|
7788
|
+
}, [o]), c = he(function() {
|
|
7789
7789
|
var f = t.current;
|
|
7790
7790
|
l(), f.type === "DRAGGING" && f.actions.cancel({
|
|
7791
7791
|
shouldBlockNextClick: !0
|
|
7792
7792
|
}), f.type === "PENDING" && f.actions.abort();
|
|
7793
|
-
}, [l]), p =
|
|
7793
|
+
}, [l]), p = he(function() {
|
|
7794
7794
|
var u = {
|
|
7795
7795
|
capture: !0,
|
|
7796
7796
|
passive: !1
|
|
@@ -7805,7 +7805,7 @@ function tC(e) {
|
|
|
7805
7805
|
}
|
|
7806
7806
|
});
|
|
7807
7807
|
n.current = At(window, h, u);
|
|
7808
|
-
}, [c, l]), m =
|
|
7808
|
+
}, [c, l]), m = he(function(u, h) {
|
|
7809
7809
|
t.current.type !== "IDLE" && (process.env.NODE_ENV !== "production" ? V(!1, "Expected to move from IDLE to PENDING drag") : V()), t.current = {
|
|
7810
7810
|
type: "PENDING",
|
|
7811
7811
|
point: h,
|
|
@@ -7915,7 +7915,7 @@ function aC(e) {
|
|
|
7915
7915
|
});
|
|
7916
7916
|
}
|
|
7917
7917
|
};
|
|
7918
|
-
}, [e]), r =
|
|
7918
|
+
}, [e]), r = he(function() {
|
|
7919
7919
|
var o = {
|
|
7920
7920
|
passive: !1,
|
|
7921
7921
|
capture: !0
|
|
@@ -8031,9 +8031,9 @@ function cC(e) {
|
|
|
8031
8031
|
}];
|
|
8032
8032
|
}
|
|
8033
8033
|
function dC(e) {
|
|
8034
|
-
var t = fe(go), n = fe(Ln), r =
|
|
8034
|
+
var t = fe(go), n = fe(Ln), r = he(function() {
|
|
8035
8035
|
return t.current;
|
|
8036
|
-
}, []), a =
|
|
8036
|
+
}, []), a = he(function(g) {
|
|
8037
8037
|
t.current = g;
|
|
8038
8038
|
}, []), o = Me(function() {
|
|
8039
8039
|
return {
|
|
@@ -8056,21 +8056,21 @@ function dC(e) {
|
|
|
8056
8056
|
}
|
|
8057
8057
|
}
|
|
8058
8058
|
};
|
|
8059
|
-
}, [e]), l =
|
|
8059
|
+
}, [e]), l = he(function() {
|
|
8060
8060
|
var g = {
|
|
8061
8061
|
capture: !0,
|
|
8062
8062
|
passive: !1
|
|
8063
8063
|
};
|
|
8064
8064
|
n.current = At(window, [o], g);
|
|
8065
|
-
}, [o]), c =
|
|
8065
|
+
}, [o]), c = he(function() {
|
|
8066
8066
|
var h = t.current;
|
|
8067
8067
|
h.type !== "IDLE" && (h.type === "PENDING" && clearTimeout(h.longPressTimerId), a(go), n.current(), l());
|
|
8068
|
-
}, [l, a]), p =
|
|
8068
|
+
}, [l, a]), p = he(function() {
|
|
8069
8069
|
var h = t.current;
|
|
8070
8070
|
c(), h.type === "DRAGGING" && h.actions.cancel({
|
|
8071
8071
|
shouldBlockNextClick: !0
|
|
8072
8072
|
}), h.type === "PENDING" && h.actions.abort();
|
|
8073
|
-
}, [c]), m =
|
|
8073
|
+
}, [c]), m = he(function() {
|
|
8074
8074
|
var g = {
|
|
8075
8075
|
capture: !0,
|
|
8076
8076
|
passive: !1
|
|
@@ -8082,7 +8082,7 @@ function dC(e) {
|
|
|
8082
8082
|
n.current = function() {
|
|
8083
8083
|
T(), E();
|
|
8084
8084
|
};
|
|
8085
|
-
}, [p, r, c]), f =
|
|
8085
|
+
}, [p, r, c]), f = he(function() {
|
|
8086
8086
|
var g = r();
|
|
8087
8087
|
g.type !== "PENDING" && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot start dragging from phase " + g.type) : V());
|
|
8088
8088
|
var v = g.actions.fluidLift(g.point);
|
|
@@ -8091,7 +8091,7 @@ function dC(e) {
|
|
|
8091
8091
|
actions: v,
|
|
8092
8092
|
hasMoved: !1
|
|
8093
8093
|
});
|
|
8094
|
-
}, [r, a]), u =
|
|
8094
|
+
}, [r, a]), u = he(function(g, v) {
|
|
8095
8095
|
r().type !== "IDLE" && (process.env.NODE_ENV !== "production" ? V(!1, "Expected to move from IDLE to PENDING drag") : V());
|
|
8096
8096
|
var T = setTimeout(f, oC);
|
|
8097
8097
|
a({
|
|
@@ -8372,9 +8372,9 @@ function wC(e) {
|
|
|
8372
8372
|
}
|
|
8373
8373
|
var CC = [tC, aC, dC];
|
|
8374
8374
|
function DC(e) {
|
|
8375
|
-
var t = e.contextId, n = e.store, r = e.registry, a = e.customSensors, o = e.enableDefaultSensors, l = [].concat(o ? CC : [], a || []), c =
|
|
8375
|
+
var t = e.contextId, n = e.store, r = e.registry, a = e.customSensors, o = e.enableDefaultSensors, l = [].concat(o ? CC : [], a || []), c = qe(function() {
|
|
8376
8376
|
return Kw();
|
|
8377
|
-
})[0], p =
|
|
8377
|
+
})[0], p = he(function(N, I) {
|
|
8378
8378
|
N.isDragging && !I.isDragging && c.tryAbandon();
|
|
8379
8379
|
}, [c]);
|
|
8380
8380
|
Ot(function() {
|
|
@@ -8386,14 +8386,14 @@ function DC(e) {
|
|
|
8386
8386
|
}, [c, n, p]), Ot(function() {
|
|
8387
8387
|
return c.tryAbandon;
|
|
8388
8388
|
}, [c.tryAbandon]);
|
|
8389
|
-
var m =
|
|
8389
|
+
var m = he(function(w) {
|
|
8390
8390
|
return lu({
|
|
8391
8391
|
lockAPI: c,
|
|
8392
8392
|
registry: r,
|
|
8393
8393
|
store: n,
|
|
8394
8394
|
draggableId: w
|
|
8395
8395
|
});
|
|
8396
|
-
}, [c, r, n]), f =
|
|
8396
|
+
}, [c, r, n]), f = he(function(w, N, I) {
|
|
8397
8397
|
return wC({
|
|
8398
8398
|
lockAPI: c,
|
|
8399
8399
|
registry: r,
|
|
@@ -8403,14 +8403,14 @@ function DC(e) {
|
|
|
8403
8403
|
forceSensorStop: N,
|
|
8404
8404
|
sourceEvent: I && I.sourceEvent ? I.sourceEvent : null
|
|
8405
8405
|
});
|
|
8406
|
-
}, [t, c, r, n]), u =
|
|
8406
|
+
}, [t, c, r, n]), u = he(function(w) {
|
|
8407
8407
|
return yC(t, w);
|
|
8408
|
-
}, [t]), h =
|
|
8408
|
+
}, [t]), h = he(function(w) {
|
|
8409
8409
|
var N = r.draggable.findById(w);
|
|
8410
8410
|
return N ? N.options : null;
|
|
8411
|
-
}, [r.draggable]), g =
|
|
8411
|
+
}, [r.draggable]), g = he(function() {
|
|
8412
8412
|
c.isClaimed() && (c.tryAbandon(), n.getState().phase !== "IDLE" && n.dispatch(Ci()));
|
|
8413
|
-
}, [c, n]), v =
|
|
8413
|
+
}, [c, n]), v = he(c.isClaimed, [c]), T = Me(function() {
|
|
8414
8414
|
return {
|
|
8415
8415
|
canGetLock: m,
|
|
8416
8416
|
tryGetLock: f,
|
|
@@ -8439,12 +8439,12 @@ function qr(e) {
|
|
|
8439
8439
|
function xC(e) {
|
|
8440
8440
|
var t = e.contextId, n = e.setCallbacks, r = e.sensors, a = e.nonce, o = e.dragHandleUsageInstructions, l = fe(null);
|
|
8441
8441
|
$w();
|
|
8442
|
-
var c = Pi(e), p =
|
|
8442
|
+
var c = Pi(e), p = he(function() {
|
|
8443
8443
|
return NC(c.current);
|
|
8444
8444
|
}, [c]), m = Mw(t), f = Lw({
|
|
8445
8445
|
contextId: t,
|
|
8446
8446
|
text: o
|
|
8447
|
-
}), u = Cw(t, a), h =
|
|
8447
|
+
}), u = Cw(t, a), h = he(function(O) {
|
|
8448
8448
|
qr(l).dispatch(O);
|
|
8449
8449
|
}, []), g = Me(function() {
|
|
8450
8450
|
return dc({
|
|
@@ -8474,10 +8474,10 @@ function xC(e) {
|
|
|
8474
8474
|
});
|
|
8475
8475
|
}, [m, E, T, w, p, u]);
|
|
8476
8476
|
process.env.NODE_ENV !== "production" && l.current && l.current !== N && process.env.NODE_ENV !== "production" && He("unexpected store change"), l.current = N;
|
|
8477
|
-
var I =
|
|
8477
|
+
var I = he(function() {
|
|
8478
8478
|
var O = qr(l), _ = O.getState();
|
|
8479
8479
|
_.phase !== "IDLE" && O.dispatch(Ci());
|
|
8480
|
-
}, []), k =
|
|
8480
|
+
}, []), k = he(function() {
|
|
8481
8481
|
var O = qr(l).getState();
|
|
8482
8482
|
return O.isDragging || O.phase === "DROP_ANIMATING";
|
|
8483
8483
|
}, []), x = Me(function() {
|
|
@@ -8487,9 +8487,9 @@ function xC(e) {
|
|
|
8487
8487
|
};
|
|
8488
8488
|
}, [k, I]);
|
|
8489
8489
|
n(x);
|
|
8490
|
-
var A =
|
|
8490
|
+
var A = he(function(O) {
|
|
8491
8491
|
return Jp(qr(l).getState(), O);
|
|
8492
|
-
}, []), L =
|
|
8492
|
+
}, []), L = he(function() {
|
|
8493
8493
|
return Jn(qr(l).getState());
|
|
8494
8494
|
}, []), C = Me(function() {
|
|
8495
8495
|
return {
|
|
@@ -8724,15 +8724,15 @@ function GC(e) {
|
|
|
8724
8724
|
};
|
|
8725
8725
|
o.updateDroppableScroll(c.id, A);
|
|
8726
8726
|
});
|
|
8727
|
-
}, [c.id, o]), f =
|
|
8727
|
+
}, [c.id, o]), f = he(function() {
|
|
8728
8728
|
var k = t.current;
|
|
8729
8729
|
return !k || !k.env.closestScrollable ? lt : Uo(k.env.closestScrollable);
|
|
8730
|
-
}, []), u =
|
|
8730
|
+
}, []), u = he(function() {
|
|
8731
8731
|
var k = f();
|
|
8732
8732
|
m(k.x, k.y);
|
|
8733
8733
|
}, [f, m]), h = Me(function() {
|
|
8734
8734
|
return as(u);
|
|
8735
|
-
}, [u]), g =
|
|
8735
|
+
}, [u]), g = he(function() {
|
|
8736
8736
|
var k = t.current, x = Ys(k);
|
|
8737
8737
|
k && x || (process.env.NODE_ENV !== "production" ? V(!1, "Could not find scroll options while scrolling") : V());
|
|
8738
8738
|
var A = k.scrollOptions;
|
|
@@ -8741,7 +8741,7 @@ function GC(e) {
|
|
|
8741
8741
|
return;
|
|
8742
8742
|
}
|
|
8743
8743
|
h();
|
|
8744
|
-
}, [h, u]), v =
|
|
8744
|
+
}, [h, u]), v = he(function(k, x) {
|
|
8745
8745
|
t.current && (process.env.NODE_ENV !== "production" ? V(!1, "Cannot collect a droppable while a drag is occurring") : V());
|
|
8746
8746
|
var A = l.current, L = A.getDroppableRef();
|
|
8747
8747
|
L || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot collect without a droppable ref") : V());
|
|
@@ -8763,15 +8763,15 @@ function GC(e) {
|
|
|
8763
8763
|
shouldClipSubject: !A.ignoreContainerClipping
|
|
8764
8764
|
}), $ = C.closestScrollable;
|
|
8765
8765
|
return $ && ($.setAttribute(Xc.contextId, n.contextId), $.addEventListener("scroll", g, sd(O.scrollOptions)), process.env.NODE_ENV !== "production" && BC($)), _;
|
|
8766
|
-
}, [n.contextId, c, g, l]), T =
|
|
8766
|
+
}, [n.contextId, c, g, l]), T = he(function() {
|
|
8767
8767
|
var k = t.current, x = Ys(k);
|
|
8768
8768
|
return k && x || (process.env.NODE_ENV !== "production" ? V(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : V()), Uo(x);
|
|
8769
|
-
}, []), E =
|
|
8769
|
+
}, []), E = he(function() {
|
|
8770
8770
|
var k = t.current;
|
|
8771
8771
|
k || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot stop drag when no active drag") : V());
|
|
8772
8772
|
var x = Ys(k);
|
|
8773
8773
|
t.current = null, x && (h.cancel(), x.removeAttribute(Xc.contextId), x.removeEventListener("scroll", g, sd(k.scrollOptions)));
|
|
8774
|
-
}, [g, h]), w =
|
|
8774
|
+
}, [g, h]), w = he(function(k) {
|
|
8775
8775
|
var x = t.current;
|
|
8776
8776
|
x || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot scroll when there is no drag") : V());
|
|
8777
8777
|
var A = Ys(x);
|
|
@@ -8835,15 +8835,15 @@ var ad = {
|
|
|
8835
8835
|
};
|
|
8836
8836
|
};
|
|
8837
8837
|
function zC(e) {
|
|
8838
|
-
var t = fe(null), n =
|
|
8838
|
+
var t = fe(null), n = he(function() {
|
|
8839
8839
|
t.current && (clearTimeout(t.current), t.current = null);
|
|
8840
|
-
}, []), r = e.animate, a = e.onTransitionEnd, o = e.onClose, l = e.contextId, c =
|
|
8840
|
+
}, []), r = e.animate, a = e.onTransitionEnd, o = e.onClose, l = e.contextId, c = qe(e.animate === "open"), p = c[0], m = c[1];
|
|
8841
8841
|
We(function() {
|
|
8842
8842
|
return p ? r !== "open" ? (n(), m(!1), So) : t.current ? So : (t.current = setTimeout(function() {
|
|
8843
8843
|
t.current = null, m(!1);
|
|
8844
8844
|
}), n) : So;
|
|
8845
8845
|
}, [r, p, n]);
|
|
8846
|
-
var f =
|
|
8846
|
+
var f = he(function(h) {
|
|
8847
8847
|
h.propertyName === "height" && (a(), r === "close" && o());
|
|
8848
8848
|
}, [r, o, a]), u = UC({
|
|
8849
8849
|
isAnimatingOpenOnMount: p,
|
|
@@ -9012,7 +9012,7 @@ function iD(e) {
|
|
|
9012
9012
|
shouldRespectForcePress: l,
|
|
9013
9013
|
isEnabled: c
|
|
9014
9014
|
};
|
|
9015
|
-
}, [o, c, l]), m =
|
|
9015
|
+
}, [o, c, l]), m = he(function(g) {
|
|
9016
9016
|
var v = a();
|
|
9017
9017
|
return v || (process.env.NODE_ENV !== "production" ? V(!1, "Cannot get dimension when no ref is set") : V()), oD(n, v, g);
|
|
9018
9018
|
}, [n, a]), f = Me(function() {
|
|
@@ -9058,9 +9058,9 @@ function dD(e) {
|
|
|
9058
9058
|
e.preventDefault();
|
|
9059
9059
|
}
|
|
9060
9060
|
function pD(e) {
|
|
9061
|
-
var t = fe(null), n =
|
|
9061
|
+
var t = fe(null), n = he(function(O) {
|
|
9062
9062
|
t.current = O;
|
|
9063
|
-
}, []), r =
|
|
9063
|
+
}, []), r = he(function() {
|
|
9064
9064
|
return t.current;
|
|
9065
9065
|
}, []), a = la(Ta), o = a.contextId, l = a.dragHandleUsageInstructionsId, c = a.registry, p = la(Fi), m = p.type, f = p.droppableId, u = Me(function() {
|
|
9066
9066
|
return {
|
|
@@ -9093,7 +9093,7 @@ function pD(e) {
|
|
|
9093
9093
|
draggable: !1,
|
|
9094
9094
|
onDragStart: dD
|
|
9095
9095
|
} : null;
|
|
9096
|
-
}, [o, l, g, v]), A =
|
|
9096
|
+
}, [o, l, g, v]), A = he(function(O) {
|
|
9097
9097
|
N.type === "DRAGGING" && N.dropping && O.propertyName === "transform" && I();
|
|
9098
9098
|
}, [I, N]), L = Me(function() {
|
|
9099
9099
|
var O = aD(N), _ = N.type === "DRAGGING" && N.dropping ? A : null, $ = {
|
|
@@ -9288,13 +9288,13 @@ function yD(e) {
|
|
|
9288
9288
|
function TD(e) {
|
|
9289
9289
|
var t = nn(Ta);
|
|
9290
9290
|
t || (process.env.NODE_ENV !== "production" ? V(!1, "Could not find app context") : V());
|
|
9291
|
-
var n = t.contextId, r = t.isMovementAllowed, a = fe(null), o = fe(null), l = e.children, c = e.droppableId, p = e.type, m = e.mode, f = e.direction, u = e.ignoreContainerClipping, h = e.isDropDisabled, g = e.isCombineEnabled, v = e.snapshot, T = e.useClone, E = e.updateViewportMaxScroll, w = e.getContainerForClone, N =
|
|
9291
|
+
var n = t.contextId, r = t.isMovementAllowed, a = fe(null), o = fe(null), l = e.children, c = e.droppableId, p = e.type, m = e.mode, f = e.direction, u = e.ignoreContainerClipping, h = e.isDropDisabled, g = e.isCombineEnabled, v = e.snapshot, T = e.useClone, E = e.updateViewportMaxScroll, w = e.getContainerForClone, N = he(function() {
|
|
9292
9292
|
return a.current;
|
|
9293
|
-
}, []), I =
|
|
9293
|
+
}, []), I = he(function(U) {
|
|
9294
9294
|
a.current = U;
|
|
9295
|
-
}, []), k =
|
|
9295
|
+
}, []), k = he(function() {
|
|
9296
9296
|
return o.current;
|
|
9297
|
-
}, []), x =
|
|
9297
|
+
}, []), x = he(function(U) {
|
|
9298
9298
|
o.current = U;
|
|
9299
9299
|
}, []);
|
|
9300
9300
|
XC({
|
|
@@ -9302,7 +9302,7 @@ function TD(e) {
|
|
|
9302
9302
|
getDroppableRef: N,
|
|
9303
9303
|
getPlaceholderRef: k
|
|
9304
9304
|
});
|
|
9305
|
-
var A =
|
|
9305
|
+
var A = he(function() {
|
|
9306
9306
|
r() && E({
|
|
9307
9307
|
maxScroll: qp()
|
|
9308
9308
|
});
|
|
@@ -9966,7 +9966,7 @@ function VM(e = {}, t = {}) {
|
|
|
9966
9966
|
}
|
|
9967
9967
|
function $M(e, t) {
|
|
9968
9968
|
t && e.setInitValue(t);
|
|
9969
|
-
const [n, r] =
|
|
9969
|
+
const [n, r] = qe(), [a, o] = qe([]), [l, c] = ti((p) => {
|
|
9970
9970
|
for (const m of a)
|
|
9971
9971
|
for (const f of jS(p, m))
|
|
9972
9972
|
f.validators && f.validators.length && (f.errors = oi(f.getValue(), f.validators), f.invalid = !!f.errors && !f.pristine);
|
|
@@ -9979,7 +9979,7 @@ function $M(e, t) {
|
|
|
9979
9979
|
}), l;
|
|
9980
9980
|
}
|
|
9981
9981
|
function KM(e, t = null) {
|
|
9982
|
-
const [n, r] =
|
|
9982
|
+
const [n, r] = qe(t), a = fe(() => null);
|
|
9983
9983
|
return We(() => {
|
|
9984
9984
|
const o = () => n;
|
|
9985
9985
|
if (e.validators) {
|
|
@@ -12195,20 +12195,17 @@ const zD = {
|
|
|
12195
12195
|
opensUpward: !1,
|
|
12196
12196
|
optionIds: ""
|
|
12197
12197
|
});
|
|
12198
|
-
function q(
|
|
12198
|
+
function q(ge) {
|
|
12199
12199
|
Y({
|
|
12200
|
-
value:
|
|
12201
|
-
text:
|
|
12200
|
+
value: ge,
|
|
12201
|
+
text: ge && k ? ge[k] : ge
|
|
12202
12202
|
});
|
|
12203
12203
|
}
|
|
12204
|
-
async function ne(
|
|
12205
|
-
|
|
12206
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
j && (j.setValue(qe), j.markAsDirty()), g && g(
|
|
12210
|
-
new sr({ value: qe })
|
|
12211
|
-
);
|
|
12204
|
+
async function ne(ge) {
|
|
12205
|
+
const Ue = ge && x && typeof ge == "object" ? ge[x] : ge;
|
|
12206
|
+
Q && !await Q(Ue) || (q(ge), j && (j.setValue(Ue), j.markAsDirty()), g && g(
|
|
12207
|
+
new sr({ value: Ue })
|
|
12208
|
+
));
|
|
12212
12209
|
}
|
|
12213
12210
|
s.useEffect(() => {
|
|
12214
12211
|
q(L);
|
|
@@ -12219,10 +12216,10 @@ const zD = {
|
|
|
12219
12216
|
function le() {
|
|
12220
12217
|
Y({ isOpen: !1 });
|
|
12221
12218
|
}
|
|
12222
|
-
function ae(
|
|
12223
|
-
|
|
12219
|
+
function ae(ge) {
|
|
12220
|
+
ge.nativeEvent.stopImmediatePropagation(), c || Y({ isOpen: !R.isOpen });
|
|
12224
12221
|
}
|
|
12225
|
-
function se(
|
|
12222
|
+
function se(ge) {
|
|
12226
12223
|
c || ([
|
|
12227
12224
|
"Up",
|
|
12228
12225
|
"ArrowUp",
|
|
@@ -12230,20 +12227,20 @@ const zD = {
|
|
|
12230
12227
|
"ArrowDown",
|
|
12231
12228
|
" ",
|
|
12232
12229
|
"Spacebar"
|
|
12233
|
-
].indexOf(
|
|
12230
|
+
].indexOf(ge.key) > -1 && ge.preventDefault(), ge.persist(), Y({ keyDown: ge }));
|
|
12234
12231
|
}
|
|
12235
|
-
function we(
|
|
12236
|
-
Y({ isOpen:
|
|
12232
|
+
function we(ge) {
|
|
12233
|
+
Y({ isOpen: ge });
|
|
12237
12234
|
}
|
|
12238
|
-
function Ae(
|
|
12239
|
-
Y({ opensUpward:
|
|
12235
|
+
function Ae(ge) {
|
|
12236
|
+
Y({ opensUpward: ge });
|
|
12240
12237
|
}
|
|
12241
|
-
function Qe(
|
|
12242
|
-
|
|
12238
|
+
function Qe(ge) {
|
|
12239
|
+
ge.detail !== re && Y({ isOpen: !1 });
|
|
12243
12240
|
}
|
|
12244
|
-
function mt(
|
|
12241
|
+
function mt(ge) {
|
|
12245
12242
|
Y({
|
|
12246
|
-
optionIds: new Array(
|
|
12243
|
+
optionIds: new Array(ge).fill("").map((Ue, De) => `${re}-options-option-${De}`).join(",")
|
|
12247
12244
|
});
|
|
12248
12245
|
}
|
|
12249
12246
|
s.useEffect(() => (document.addEventListener("click", le), document.addEventListener("DropdownOpened", Qe), () => {
|
|
@@ -12251,28 +12248,28 @@ const zD = {
|
|
|
12251
12248
|
}), []), s.useLayoutEffect(() => {
|
|
12252
12249
|
if (r && ee.current && G.current) {
|
|
12253
12250
|
G.current.style.width = "";
|
|
12254
|
-
const
|
|
12255
|
-
G.current.style.width =
|
|
12251
|
+
const Ue = `${G.current.getBoundingClientRect().width + 6}px`;
|
|
12252
|
+
G.current.style.width = Ue, ee.current.style.width = Ue, ee.current.style.maxWidth = Ue;
|
|
12256
12253
|
}
|
|
12257
12254
|
}), Qd(() => {
|
|
12258
12255
|
if (R.isOpen) {
|
|
12259
12256
|
te.current && jD(te.current, {
|
|
12260
12257
|
scrollMode: "if-needed"
|
|
12261
12258
|
}), T == null || T();
|
|
12262
|
-
const
|
|
12263
|
-
|
|
12259
|
+
const ge = document.createEvent("CustomEvent");
|
|
12260
|
+
ge.initCustomEvent("DropdownOpened", !1, !1, re), document.dispatchEvent(ge);
|
|
12264
12261
|
}
|
|
12265
12262
|
}, [R.isOpen]), s.useImperativeHandle(t, () => ({
|
|
12266
12263
|
focus: () => {
|
|
12267
|
-
var
|
|
12268
|
-
(
|
|
12264
|
+
var ge;
|
|
12265
|
+
(ge = te.current) == null || ge.focus();
|
|
12269
12266
|
}
|
|
12270
12267
|
})), s.useEffect(() => {
|
|
12271
|
-
let
|
|
12272
|
-
return R.isOpen && (
|
|
12268
|
+
let ge;
|
|
12269
|
+
return R.isOpen && (ge = () => {
|
|
12273
12270
|
Y({ isOpen: !1 });
|
|
12274
|
-
}, window.addEventListener("resize",
|
|
12275
|
-
|
|
12271
|
+
}, window.addEventListener("resize", ge)), () => {
|
|
12272
|
+
ge && window.removeEventListener("resize", ge);
|
|
12276
12273
|
};
|
|
12277
12274
|
}, [R.isOpen]), ha({ isOpen: R.isOpen, rootRef: te });
|
|
12278
12275
|
const bt = H(
|
|
@@ -12943,10 +12940,10 @@ function xu({
|
|
|
12943
12940
|
s.useEffect(() => {
|
|
12944
12941
|
re !== O[2] && Qe();
|
|
12945
12942
|
}, [re]);
|
|
12946
|
-
function
|
|
12943
|
+
function ge(ce) {
|
|
12947
12944
|
X(ce.target.value);
|
|
12948
12945
|
}
|
|
12949
|
-
function
|
|
12946
|
+
function Ue(ce) {
|
|
12950
12947
|
Z.validateTimeString(ce.target.value, f) && j(ce.target.value);
|
|
12951
12948
|
}
|
|
12952
12949
|
function De(ce, me, _e) {
|
|
@@ -13150,7 +13147,7 @@ function xu({
|
|
|
13150
13147
|
"data-testid": `${h}_to_date_input`,
|
|
13151
13148
|
id: I,
|
|
13152
13149
|
placeholder: !M && !ee ? (u == null ? void 0 : u.toUpperCase()) || xr : void 0,
|
|
13153
|
-
onChange:
|
|
13150
|
+
onChange: ge,
|
|
13154
13151
|
onClick: Y,
|
|
13155
13152
|
onFocus: Y,
|
|
13156
13153
|
onKeyDown: st("to"),
|
|
@@ -13173,7 +13170,7 @@ function xu({
|
|
|
13173
13170
|
suggestions: Oo,
|
|
13174
13171
|
zeroState: "Custom time",
|
|
13175
13172
|
value: F,
|
|
13176
|
-
onChange:
|
|
13173
|
+
onChange: Ue,
|
|
13177
13174
|
onBlur: () => ve(),
|
|
13178
13175
|
onSelectionChange: nt,
|
|
13179
13176
|
disabled: t,
|
|
@@ -13188,7 +13185,7 @@ function xu({
|
|
|
13188
13185
|
suggestions: _o,
|
|
13189
13186
|
zeroState: "Custom time",
|
|
13190
13187
|
value: F,
|
|
13191
|
-
onChange:
|
|
13188
|
+
onChange: Ue,
|
|
13192
13189
|
onBlur: () => ve(),
|
|
13193
13190
|
onSelectionChange: nt,
|
|
13194
13191
|
disabled: t,
|
|
@@ -13740,11 +13737,11 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13740
13737
|
var D = this._relativeTime[S];
|
|
13741
13738
|
return M(D) ? D(i, d, S, b) : D.replace(/%d/i, i);
|
|
13742
13739
|
}
|
|
13743
|
-
function
|
|
13740
|
+
function ge(i, d) {
|
|
13744
13741
|
var S = this._relativeTime[i > 0 ? "future" : "past"];
|
|
13745
13742
|
return M(S) ? S(d) : S.replace(/%s/i, d);
|
|
13746
13743
|
}
|
|
13747
|
-
var
|
|
13744
|
+
var Ue = {
|
|
13748
13745
|
D: "date",
|
|
13749
13746
|
dates: "date",
|
|
13750
13747
|
date: "date",
|
|
@@ -13795,7 +13792,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
13795
13792
|
year: "year"
|
|
13796
13793
|
};
|
|
13797
13794
|
function De(i) {
|
|
13798
|
-
return typeof i == "string" ?
|
|
13795
|
+
return typeof i == "string" ? Ue[i] || Ue[i.toLowerCase()] : void 0;
|
|
13799
13796
|
}
|
|
13800
13797
|
function ve(i) {
|
|
13801
13798
|
var d = {}, S, b;
|
|
@@ -14327,7 +14324,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14327
14324
|
weekdaysMin: Af,
|
|
14328
14325
|
weekdaysShort: ml,
|
|
14329
14326
|
meridiemParse: eh
|
|
14330
|
-
},
|
|
14327
|
+
}, ze = {}, Gr = {}, Yr;
|
|
14331
14328
|
function rh(i, d) {
|
|
14332
14329
|
var S, b = Math.min(i.length, d.length);
|
|
14333
14330
|
for (S = 0; S < b; S += 1)
|
|
@@ -14356,13 +14353,13 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14356
14353
|
}
|
|
14357
14354
|
function xs(i) {
|
|
14358
14355
|
var d = null, S;
|
|
14359
|
-
if (
|
|
14356
|
+
if (ze[i] === void 0 && e && e.exports && ah(i))
|
|
14360
14357
|
try {
|
|
14361
14358
|
d = Yr._abbr, S = an, S("./locale/" + i), xn(d);
|
|
14362
14359
|
} catch {
|
|
14363
|
-
|
|
14360
|
+
ze[i] = null;
|
|
14364
14361
|
}
|
|
14365
|
-
return
|
|
14362
|
+
return ze[i];
|
|
14366
14363
|
}
|
|
14367
14364
|
function xn(i, d) {
|
|
14368
14365
|
var S;
|
|
@@ -14373,14 +14370,14 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14373
14370
|
function Ra(i, d) {
|
|
14374
14371
|
if (d !== null) {
|
|
14375
14372
|
var S, b = gl;
|
|
14376
|
-
if (d.abbr = i,
|
|
14373
|
+
if (d.abbr = i, ze[i] != null)
|
|
14377
14374
|
U(
|
|
14378
14375
|
"defineLocaleOverride",
|
|
14379
14376
|
"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
|
|
14380
|
-
), b =
|
|
14377
|
+
), b = ze[i]._config;
|
|
14381
14378
|
else if (d.parentLocale != null)
|
|
14382
|
-
if (
|
|
14383
|
-
b =
|
|
14379
|
+
if (ze[d.parentLocale] != null)
|
|
14380
|
+
b = ze[d.parentLocale]._config;
|
|
14384
14381
|
else if (S = xs(d.parentLocale), S != null)
|
|
14385
14382
|
b = S._config;
|
|
14386
14383
|
else
|
|
@@ -14388,19 +14385,19 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14388
14385
|
name: i,
|
|
14389
14386
|
config: d
|
|
14390
14387
|
}), null;
|
|
14391
|
-
return
|
|
14388
|
+
return ze[i] = new Q(P(b, d)), Gr[i] && Gr[i].forEach(function(D) {
|
|
14392
14389
|
Ra(D.name, D.config);
|
|
14393
|
-
}), xn(i),
|
|
14390
|
+
}), xn(i), ze[i];
|
|
14394
14391
|
} else
|
|
14395
|
-
return delete
|
|
14392
|
+
return delete ze[i], null;
|
|
14396
14393
|
}
|
|
14397
14394
|
function oh(i, d) {
|
|
14398
14395
|
if (d != null) {
|
|
14399
14396
|
var S, b, D = gl;
|
|
14400
|
-
|
|
14397
|
+
ze[i] != null && ze[i].parentLocale != null ? ze[i].set(P(ze[i]._config, d)) : (b = xs(i), b != null && (D = b._config), d = P(D, d), b == null && (d.abbr = i), S = new Q(d), S.parentLocale = ze[i], ze[i] = S), xn(i);
|
|
14401
14398
|
} else
|
|
14402
|
-
|
|
14403
|
-
return
|
|
14399
|
+
ze[i] != null && (ze[i].parentLocale != null ? (ze[i] = ze[i].parentLocale, i === xn() && xn(i)) : ze[i] != null && delete ze[i]);
|
|
14400
|
+
return ze[i];
|
|
14404
14401
|
}
|
|
14405
14402
|
function pn(i) {
|
|
14406
14403
|
var d;
|
|
@@ -14414,7 +14411,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
14414
14411
|
return sh(i);
|
|
14415
14412
|
}
|
|
14416
14413
|
function ih() {
|
|
14417
|
-
return F(
|
|
14414
|
+
return F(ze);
|
|
14418
14415
|
}
|
|
14419
14416
|
function La(i) {
|
|
14420
14417
|
var d, S = i._a;
|
|
@@ -15495,7 +15492,7 @@ Arguments: ` + Array.prototype.slice.call(b).join("") + `
|
|
|
15495
15492
|
return i;
|
|
15496
15493
|
}
|
|
15497
15494
|
var Oe = Q.prototype;
|
|
15498
|
-
Oe.calendar = re, Oe.longDateFormat = ae, Oe.invalidDate = we, Oe.ordinal = mt, Oe.preparse = Fl, Oe.postformat = Fl, Oe.relativeTime = ft, Oe.pastFuture =
|
|
15495
|
+
Oe.calendar = re, Oe.longDateFormat = ae, Oe.invalidDate = we, Oe.ordinal = mt, Oe.preparse = Fl, Oe.postformat = Fl, Oe.relativeTime = ft, Oe.pastFuture = ge, Oe.set = X, Oe.eras = Og, Oe.erasParse = Rg, Oe.erasConvertYear = Lg, Oe.erasAbbrRegex = $g, Oe.erasNameRegex = Vg, Oe.erasNarrowRegex = Kg, Oe.months = yf, Oe.monthsShort = Tf, Oe.monthsParse = wf, Oe.monthsRegex = Nf, Oe.monthsShortRegex = Df, Oe.week = kf, Oe.firstDayOfYear = _f, Oe.firstDayOfWeek = Mf, Oe.weekdays = Kf, Oe.weekdaysMin = Wf, Oe.weekdaysShort = Hf, Oe.weekdaysParse = Yf, Oe.weekdaysRegex = qf, Oe.weekdaysShortRegex = Jf, Oe.weekdaysMinRegex = Zf, Oe.isPM = Qf, Oe.meridiem = nh;
|
|
15499
15496
|
function Ps(i, d, S, b) {
|
|
15500
15497
|
var D = pn(), B = v().set(b, d);
|
|
15501
15498
|
return D[S](B, i);
|
|
@@ -19358,7 +19355,7 @@ Object.assign(_N, {
|
|
|
19358
19355
|
displayName: "SpsThead"
|
|
19359
19356
|
});
|
|
19360
19357
|
const Ku = {};
|
|
19361
|
-
function
|
|
19358
|
+
function je({
|
|
19362
19359
|
children: e,
|
|
19363
19360
|
className: t,
|
|
19364
19361
|
"data-testid": n,
|
|
@@ -19368,12 +19365,12 @@ function ze({
|
|
|
19368
19365
|
const o = H(r || "sps-table__row", t);
|
|
19369
19366
|
return /* @__PURE__ */ s.createElement("tr", { className: o, role: "row", "data-testid": `${n}__row`, ...a }, e);
|
|
19370
19367
|
}
|
|
19371
|
-
Object.assign(
|
|
19368
|
+
Object.assign(je, {
|
|
19372
19369
|
props: Ku,
|
|
19373
19370
|
displayName: "SpsTableRow"
|
|
19374
19371
|
});
|
|
19375
19372
|
function ON(e) {
|
|
19376
|
-
return /* @__PURE__ */ s.createElement(
|
|
19373
|
+
return /* @__PURE__ */ s.createElement(je, { ...e });
|
|
19377
19374
|
}
|
|
19378
19375
|
Object.assign(ON, {
|
|
19379
19376
|
props: Ku,
|
|
@@ -21510,7 +21507,7 @@ const $N = {
|
|
|
21510
21507
|
alt: "A List Action Bar with labels on each section",
|
|
21511
21508
|
className: "w-100 mb-3"
|
|
21512
21509
|
}
|
|
21513
|
-
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ut, null, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Varieties")), /* @__PURE__ */ s.createElement(ir, null, /* @__PURE__ */ s.createElement(
|
|
21510
|
+
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ut, null, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Content Varieties")), /* @__PURE__ */ s.createElement(ir, null, /* @__PURE__ */ s.createElement(je, 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(je, 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(je, 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"))))))
|
|
21514
21511
|
}
|
|
21515
21512
|
}, HN = {
|
|
21516
21513
|
kind: "FeedbackBlockKind",
|
|
@@ -22561,11 +22558,11 @@ function zu({
|
|
|
22561
22558
|
optionIds: new Array(ve).fill("").map((ke, nt) => `${P}-options-option-${nt}`).join(",")
|
|
22562
22559
|
});
|
|
22563
22560
|
}
|
|
22564
|
-
const
|
|
22561
|
+
const ge = s.useCallback(() => {
|
|
22565
22562
|
j({
|
|
22566
22563
|
searchText: ""
|
|
22567
22564
|
}), oe();
|
|
22568
|
-
}, []),
|
|
22565
|
+
}, []), Ue = H(
|
|
22569
22566
|
N || "sps-multi-select",
|
|
22570
22567
|
R && "sps-multi-select--open",
|
|
22571
22568
|
R && "z-stratum-dropdown",
|
|
@@ -22584,7 +22581,7 @@ function zu({
|
|
|
22584
22581
|
St,
|
|
22585
22582
|
{
|
|
22586
22583
|
id: P,
|
|
22587
|
-
className:
|
|
22584
|
+
className: Ue,
|
|
22588
22585
|
formControl: p,
|
|
22589
22586
|
formMeta: m,
|
|
22590
22587
|
ref: re,
|
|
@@ -22682,7 +22679,7 @@ function zu({
|
|
|
22682
22679
|
maxHeightPx: C,
|
|
22683
22680
|
maxHeightRem: O,
|
|
22684
22681
|
disableOptionsMemoization: _,
|
|
22685
|
-
onSpecialActionSelect:
|
|
22682
|
+
onSpecialActionSelect: ge
|
|
22686
22683
|
}
|
|
22687
22684
|
)
|
|
22688
22685
|
);
|
|
@@ -24198,7 +24195,7 @@ const ex = {
|
|
|
24198
24195
|
setActiveBranch: t,
|
|
24199
24196
|
activeBranch: n
|
|
24200
24197
|
}) => {
|
|
24201
|
-
const [r, a] =
|
|
24198
|
+
const [r, a] = qe(
|
|
24202
24199
|
e.expanded || !1
|
|
24203
24200
|
);
|
|
24204
24201
|
return /* @__PURE__ */ s.createElement(
|
|
@@ -24285,11 +24282,11 @@ const ex = {
|
|
|
24285
24282
|
filterable: p,
|
|
24286
24283
|
filterInputPlaceholder: m
|
|
24287
24284
|
}) => {
|
|
24288
|
-
const f = fe(a), [u, h] =
|
|
24285
|
+
const f = fe(a), [u, h] = qe(
|
|
24289
24286
|
a
|
|
24290
|
-
), [g, v] =
|
|
24287
|
+
), [g, v] = qe(
|
|
24291
24288
|
c || (o ? o[0] : "")
|
|
24292
|
-
), [T, E] =
|
|
24289
|
+
), [T, E] = qe(""), w = (x, A) => {
|
|
24293
24290
|
h(x), r && r(x, A);
|
|
24294
24291
|
}, N = (x) => {
|
|
24295
24292
|
v(x), l && l(x);
|
|
@@ -29202,7 +29199,7 @@ const Vx = {
|
|
|
29202
29199
|
},
|
|
29203
29200
|
Tables: {
|
|
29204
29201
|
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.")),
|
|
29205
|
-
components: [Fr, ir, de, or, ut,
|
|
29202
|
+
components: [Fr, ir, de, or, ut, je],
|
|
29206
29203
|
examples: $N
|
|
29207
29204
|
},
|
|
29208
29205
|
"Task Queue": {
|
|
@@ -29287,7 +29284,7 @@ function Wx(e) {
|
|
|
29287
29284
|
return e || `${r}-${n}`;
|
|
29288
29285
|
}
|
|
29289
29286
|
function Gx(e) {
|
|
29290
|
-
let t = J.useId(), [n] =
|
|
29287
|
+
let t = J.useId(), [n] = qe(Em()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${pa.prefix}`;
|
|
29291
29288
|
return e || `${r}-${t}`;
|
|
29292
29289
|
}
|
|
29293
29290
|
const Yx = typeof J.useId == "function" ? Gx : Wx;
|
|
@@ -29306,7 +29303,7 @@ function Em() {
|
|
|
29306
29303
|
}
|
|
29307
29304
|
let qx = !!(typeof window < "u" && window.document && window.document.createElement), _n = /* @__PURE__ */ new Map();
|
|
29308
29305
|
function wm(e) {
|
|
29309
|
-
let [t, n] =
|
|
29306
|
+
let [t, n] = qe(e), r = fe(null), a = Yx(t), o = Bt((l) => {
|
|
29310
29307
|
r.current = l;
|
|
29311
29308
|
}, []);
|
|
29312
29309
|
return qx && (_n.has(a) && !_n.get(a).includes(o) ? _n.set(a, [
|
|
@@ -29610,7 +29607,7 @@ function Sk(e, t) {
|
|
|
29610
29607
|
let bk = 0;
|
|
29611
29608
|
const Co = /* @__PURE__ */ new Map();
|
|
29612
29609
|
function vk(e) {
|
|
29613
|
-
let [t, n] =
|
|
29610
|
+
let [t, n] = qe();
|
|
29614
29611
|
return ws(() => {
|
|
29615
29612
|
if (!e) return;
|
|
29616
29613
|
let r = Co.get(e);
|
|
@@ -29698,7 +29695,7 @@ function yk(e) {
|
|
|
29698
29695
|
return !xm() && e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
|
|
29699
29696
|
}
|
|
29700
29697
|
function Om(e, t, n) {
|
|
29701
|
-
let [r, a] =
|
|
29698
|
+
let [r, a] = qe(e || t), o = fe(e !== void 0), l = e !== void 0;
|
|
29702
29699
|
We(() => {
|
|
29703
29700
|
let m = o.current;
|
|
29704
29701
|
m !== l && console.warn(`WARN: A component changed from ${m ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}.`), o.current = l;
|
|
@@ -29859,7 +29856,7 @@ function Pm(e) {
|
|
|
29859
29856
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29860
29857
|
ref: u,
|
|
29861
29858
|
...h
|
|
29862
|
-
} = Ik(e), [g, v] =
|
|
29859
|
+
} = Ik(e), [g, v] = qe(!1), T = fe({
|
|
29863
29860
|
isPressed: !1,
|
|
29864
29861
|
ignoreEmulatedMouseEvents: !1,
|
|
29865
29862
|
ignoreClickAfterPress: !1,
|
|
@@ -30355,7 +30352,7 @@ class Rd {
|
|
|
30355
30352
|
}
|
|
30356
30353
|
new sl();
|
|
30357
30354
|
function Wk(e, t) {
|
|
30358
|
-
let n = t == null ? void 0 : t.isDisabled, [r, a] =
|
|
30355
|
+
let n = t == null ? void 0 : t.isDisabled, [r, a] = qe(!1);
|
|
30359
30356
|
return ws(() => {
|
|
30360
30357
|
if (e != null && e.current && !n) {
|
|
30361
30358
|
let o = () => {
|
|
@@ -30444,7 +30441,7 @@ function Ld() {
|
|
|
30444
30441
|
for (let e of Qr) e(ei);
|
|
30445
30442
|
}
|
|
30446
30443
|
function jk() {
|
|
30447
|
-
let e = Em(), [t, n] =
|
|
30444
|
+
let e = Em(), [t, n] = qe(ei);
|
|
30448
30445
|
return We(() => (Qr.size === 0 && window.addEventListener("languagechange", Ld), Qr.add(n), () => {
|
|
30449
30446
|
Qr.delete(n), Qr.size === 0 && window.removeEventListener("languagechange", Ld);
|
|
30450
30447
|
}), []), e ? {
|
|
@@ -30934,13 +30931,13 @@ function sI(e, t) {
|
|
|
30934
30931
|
return !0;
|
|
30935
30932
|
}
|
|
30936
30933
|
function aI(e) {
|
|
30937
|
-
let { selectionMode: t = "none", disallowEmptySelection: n, allowDuplicateSelectionEvents: r, selectionBehavior: a = "toggle", disabledBehavior: o = "all" } = e, l = fe(!1), [, c] =
|
|
30934
|
+
let { selectionMode: t = "none", disallowEmptySelection: n, allowDuplicateSelectionEvents: r, selectionBehavior: a = "toggle", disabledBehavior: o = "all" } = e, l = fe(!1), [, c] = qe(!1), p = fe(null), m = fe(null), [, f] = qe(null), u = tt(() => Fd(e.selectedKeys), [
|
|
30938
30935
|
e.selectedKeys
|
|
30939
30936
|
]), h = tt(() => Fd(e.defaultSelectedKeys, new Ut()), [
|
|
30940
30937
|
e.defaultSelectedKeys
|
|
30941
30938
|
]), [g, v] = Om(u, h, e.onSelectionChange), T = tt(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
30942
30939
|
e.disabledKeys
|
|
30943
|
-
]), [E, w] =
|
|
30940
|
+
]), [E, w] = qe(a);
|
|
30944
30941
|
a === "replace" && E === "toggle" && typeof g == "object" && g.size === 0 && w("replace");
|
|
30945
30942
|
let N = fe(a);
|
|
30946
30943
|
return We(() => {
|
|
@@ -33321,7 +33318,7 @@ function GI() {
|
|
|
33321
33318
|
alt: "A List Toolbar with labels on each section",
|
|
33322
33319
|
className: "w-100 mb-3"
|
|
33323
33320
|
}
|
|
33324
|
-
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ut, { style: { width: "80px" } }, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Notes")), /* @__PURE__ */ s.createElement(ir, null, /* @__PURE__ */ s.createElement(
|
|
33321
|
+
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, null, /* @__PURE__ */ s.createElement(ut, { style: { width: "80px" } }, "Order"), /* @__PURE__ */ s.createElement(ut, null, "Section"), /* @__PURE__ */ s.createElement(ut, null, "Notes")), /* @__PURE__ */ s.createElement(ir, null, /* @__PURE__ */ s.createElement(je, 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(je, 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(je, 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(je, 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(je, 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(je, 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(je, 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(je, 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."))))));
|
|
33325
33322
|
}
|
|
33326
33323
|
const n0 = {
|
|
33327
33324
|
general: {
|
|
@@ -34282,7 +34279,7 @@ const n0 = {
|
|
|
34282
34279
|
};
|
|
34283
34280
|
var YI = /* @__PURE__ */ ((e) => (e.Ok = "Ok", e.Cancel = "Cancel", e))(YI || {});
|
|
34284
34281
|
const r0 = () => {
|
|
34285
|
-
const [e, t] =
|
|
34282
|
+
const [e, t] = qe([]), n = (m) => {
|
|
34286
34283
|
const f = [...e], u = { ...m };
|
|
34287
34284
|
return u.key = wt(), new Promise((g) => {
|
|
34288
34285
|
f.push({
|
|
@@ -34293,7 +34290,7 @@ const r0 = () => {
|
|
|
34293
34290
|
}, r = (m) => {
|
|
34294
34291
|
const f = [...e], u = f.pop();
|
|
34295
34292
|
u == null || u.resolve(m), t(f);
|
|
34296
|
-
}, [a, o] =
|
|
34293
|
+
}, [a, o] = qe(!1), [l, c] = qe();
|
|
34297
34294
|
We(() => {
|
|
34298
34295
|
a && (r(l), o(!1));
|
|
34299
34296
|
}, [a]);
|
|
@@ -34725,7 +34722,7 @@ const i0 = {
|
|
|
34725
34722
|
alt: "A Progress Bar with labels on each section",
|
|
34726
34723
|
className: "w-100 mb-3"
|
|
34727
34724
|
}
|
|
34728
|
-
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, 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(ir, null, /* @__PURE__ */ s.createElement(
|
|
34725
|
+
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, 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(ir, null, /* @__PURE__ */ s.createElement(je, 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(je, 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(je, 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(je, 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(je, 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."))))),
|
|
34729
34726
|
examples: {
|
|
34730
34727
|
standard: {
|
|
34731
34728
|
label: "Building Standard Progress Bars",
|
|
@@ -35052,7 +35049,7 @@ const d0 = {
|
|
|
35052
35049
|
alt: "A Progress Bar with labels on each section",
|
|
35053
35050
|
className: "w-100 mb-3"
|
|
35054
35051
|
}
|
|
35055
|
-
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, 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(ir, null, /* @__PURE__ */ s.createElement(
|
|
35052
|
+
), /* @__PURE__ */ s.createElement(Fr, null, /* @__PURE__ */ s.createElement(or, 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(ir, null, /* @__PURE__ */ s.createElement(je, 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(je, 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(je, 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(je, 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(je, 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."))))),
|
|
35056
35053
|
examples: {
|
|
35057
35054
|
standard: {
|
|
35058
35055
|
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.")),
|
|
@@ -36016,7 +36013,7 @@ export {
|
|
|
36016
36013
|
$N as SpsTableExamples,
|
|
36017
36014
|
or as SpsTableHead,
|
|
36018
36015
|
ut as SpsTableHeader,
|
|
36019
|
-
|
|
36016
|
+
je as SpsTableRow,
|
|
36020
36017
|
zm as SpsTabsV2,
|
|
36021
36018
|
tn as SpsTag,
|
|
36022
36019
|
GM as SpsTagExamples,
|