@spscommerce/ds-react 7.12.0 → 7.12.2
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 +33 -33
- package/lib/index.es.js +398 -393
- package/package.json +12 -12
package/lib/index.es.js
CHANGED
|
@@ -4,15 +4,15 @@ var It = (e, t, n) => ($S(e, typeof t != "symbol" ? t + "" : t, n), n), Kl = (e,
|
|
|
4
4
|
if (!t.has(e))
|
|
5
5
|
throw TypeError("Cannot " + n);
|
|
6
6
|
};
|
|
7
|
-
var Dn = (e, t, n) => (Kl(e, t, "read from private field"), n ? n.call(e) : t.get(e)),
|
|
7
|
+
var Dn = (e, t, n) => (Kl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), xs = (e, t, n) => {
|
|
8
8
|
if (t.has(e))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
11
11
|
}, Xt = (e, t, n, r) => (Kl(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
12
12
|
import * as s from "react";
|
|
13
13
|
import Y, { useRef as pe, useEffect as Le, useMemo as He, useCallback as nn, useReducer as sa, createContext as VS, useContext as rn, useLayoutEffect as aa, useState as Ve } from "react";
|
|
14
|
-
import { noI18nI18n as KS, ButtonKind as Ge, ButtonType as So, SpinnerSize as HS, Position as be, ZStratum as WS, SpsOptionListOption as bo, SPS_ACTION_DEFAULTS as Kd, DropdownKind as $a, SpsIcon as je, ClickableTagKind as GS, TagKind as dr, SpsIconSize as oa, TooltipShowTrigger as it, TOOLTIP_HIDE_DELAY_MS_DEFAULT as US, TooltipKind as $t, GrowlerKind as vo, GrowlerIcon as YS, GROWLER_VISIBLE_DURATION_MS as Hl, GROWLER_FADEOUT_DURATION_MS as jS, SortDirection as Ft, FeedbackBlockKind as Hd, FeedbackBlockIcons as Wd, ModalKind as Wl, ModalSize as zS, DEFAULT_PAGE_SIZE_OPTIONS as qS, SteppedProgressBarColor as JS, StdButtonKind as ZS, SpsTaskStatus as
|
|
15
|
-
import { code as E, deepFreeze as jl, getPath as
|
|
14
|
+
import { noI18nI18n as KS, ButtonKind as Ge, ButtonType as So, SpinnerSize as HS, Position as be, ZStratum as WS, SpsOptionListOption as bo, SPS_ACTION_DEFAULTS as Kd, DropdownKind as $a, SpsIcon as je, ClickableTagKind as GS, TagKind as dr, SpsIconSize as oa, TooltipShowTrigger as it, TOOLTIP_HIDE_DELAY_MS_DEFAULT as US, TooltipKind as $t, GrowlerKind as vo, GrowlerIcon as YS, GROWLER_VISIBLE_DURATION_MS as Hl, GROWLER_FADEOUT_DURATION_MS as jS, SortDirection as Ft, FeedbackBlockKind as Hd, FeedbackBlockIcons as Wd, ModalKind as Wl, ModalSize as zS, DEFAULT_PAGE_SIZE_OPTIONS as qS, SteppedProgressBarColor as JS, StdButtonKind as ZS, SpsTaskStatus as Is, TASK_QUEUE_NOTIFICATION_DURATION_MS as Gl, SpsTaskStatusIcons as Ul, RingSize as Gd, WizardSubstepConditions as Yl, SpsInsightTileIcons as XS, KeyValueListTitleColor as QS, SpsFilterTileKind as eb } from "@spscommerce/ds-shared";
|
|
15
|
+
import { code as E, deepFreeze as jl, getPath as Vs, setPath as tb, diff as nb, DiffChange as Nn, debounce as rb, flatten as sb, crumblePath as ab, traversePath as ob, forEachNestedObject as ib, lockToAnimationFrames as lb, constrain as cb } from "@spscommerce/utils";
|
|
16
16
|
import * as pr from "moment-timezone";
|
|
17
17
|
import tt from "moment-timezone";
|
|
18
18
|
import db, { createPortal as pb, unstable_batchedUpdates as ub } from "react-dom";
|
|
@@ -510,12 +510,12 @@ function xb(e) {
|
|
|
510
510
|
return typeof n == "function" && n instanceof n && Jd.call(n) == wb;
|
|
511
511
|
}
|
|
512
512
|
var Zd = xb;
|
|
513
|
-
const Ct = /* @__PURE__ */ new Set(),
|
|
513
|
+
const Ct = /* @__PURE__ */ new Set(), Qr = /* @__PURE__ */ new Set(), Sn = /* @__PURE__ */ new Set(), Ho = /* @__PURE__ */ new Set();
|
|
514
514
|
function Ib(e) {
|
|
515
|
-
Ct.has(e) || Sn.has(e) || Ho.has(e) ||
|
|
515
|
+
Ct.has(e) || Sn.has(e) || Ho.has(e) || Qr.add(e);
|
|
516
516
|
}
|
|
517
517
|
function kb(e) {
|
|
518
|
-
Ct.has(e) || Sn.has(e) ||
|
|
518
|
+
Ct.has(e) || Sn.has(e) || Qr.has(e) || Ho.add(e);
|
|
519
519
|
}
|
|
520
520
|
const Va = pr.default || pr, la = "MM/DD/YYYY", Mb = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, Xd = Symbol("Date Parse Error");
|
|
521
521
|
function jn(e) {
|
|
@@ -697,11 +697,11 @@ const Pb = function(t) {
|
|
|
697
697
|
}
|
|
698
698
|
return (r) => bn(r, n);
|
|
699
699
|
};
|
|
700
|
-
|
|
700
|
+
Qr.add("max");
|
|
701
701
|
const Bb = function(t) {
|
|
702
702
|
return typeof t > "u" || t === null || t === "" || Number.isNaN(t) || (t == null ? void 0 : t.length) === 0 ? { required: !0 } : null;
|
|
703
703
|
};
|
|
704
|
-
|
|
704
|
+
Qr.add("required");
|
|
705
705
|
const Ab = function(t) {
|
|
706
706
|
function n(r) {
|
|
707
707
|
return r === void 0 || r.toString().length < t ? { minLength: t } : null;
|
|
@@ -787,20 +787,20 @@ function _M(e, t = {}, n = []) {
|
|
|
787
787
|
a === 0 ? Ib(r) : a === 2 && kb(r);
|
|
788
788
|
return s.useCallback(e, n);
|
|
789
789
|
}
|
|
790
|
-
var
|
|
790
|
+
var _n, pn, un;
|
|
791
791
|
class rr {
|
|
792
792
|
constructor(t, n) {
|
|
793
793
|
It(this, "validators", []);
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
794
|
+
xs(this, _n, null);
|
|
795
|
+
xs(this, pn, null);
|
|
796
|
+
xs(this, un, null);
|
|
797
797
|
It(this, "preventativeErrors", []);
|
|
798
798
|
It(this, "submitted", !1);
|
|
799
799
|
this.path = t, this.update = n;
|
|
800
800
|
}
|
|
801
801
|
get errors() {
|
|
802
802
|
var t, n, r;
|
|
803
|
-
return Dn(this,
|
|
803
|
+
return Dn(this, _n) === null && Dn(this, pn) === null && Dn(this, un) === null ? null : { ...(t = Dn(this, _n)) != null ? t : {}, ...(n = Dn(this, pn)) != null ? n : {}, ...(r = Dn(this, un)) != null ? r : {} };
|
|
804
804
|
}
|
|
805
805
|
setValidators(t) {
|
|
806
806
|
return this.update(this.path, null, void 0, t), this;
|
|
@@ -809,9 +809,9 @@ class rr {
|
|
|
809
809
|
if (this.validators && this.validators.length > 0) {
|
|
810
810
|
const a = Go(t, this.validators);
|
|
811
811
|
let o = { onSubmit: {}, onChange: {}, onBlur: {} };
|
|
812
|
-
a && (o = Object.keys(a).reduce((l, c) => (Ho.has(c) ? l.onSubmit[c] = a[c] :
|
|
812
|
+
a && (o = Object.keys(a).reduce((l, c) => (Ho.has(c) ? l.onSubmit[c] = a[c] : Qr.has(c) ? l.onChange[c] = a[c] : l.onBlur[c] = a[c], l), o)), (typeof n > "u" || n === tn.ON_CHANGE) && Xt(this, pn, Object.keys(o.onChange).length === 0 ? null : o.onChange), (typeof n > "u" || n === tn.ON_BLUR) && Xt(this, un, Object.keys(o.onBlur).length === 0 ? null : o.onBlur), (typeof n > "u" || n === tn.ON_SUBMIT) && (Xt(this, _n, Object.keys(o.onSubmit).length === 0 ? null : o.onSubmit), Xt(this, pn, Object.keys(o.onChange).length === 0 ? null : o.onChange), Xt(this, un, Object.keys(o.onBlur).length === 0 ? null : o.onBlur)), r || this.update(), this.isFocused() && this.onFocus && this.onFocus();
|
|
813
813
|
} else
|
|
814
|
-
this.errors && (Xt(this,
|
|
814
|
+
this.errors && (Xt(this, _n, null), Xt(this, un, null), Xt(this, pn, null), r || this.update());
|
|
815
815
|
return this;
|
|
816
816
|
}
|
|
817
817
|
isValid() {
|
|
@@ -843,7 +843,7 @@ class rr {
|
|
|
843
843
|
onBlur() {
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
|
|
846
|
+
_n = new WeakMap(), pn = new WeakMap(), un = new WeakMap();
|
|
847
847
|
class Ys extends rr {
|
|
848
848
|
constructor() {
|
|
849
849
|
super(...arguments);
|
|
@@ -929,7 +929,7 @@ class sr extends Ys {
|
|
|
929
929
|
return this;
|
|
930
930
|
}
|
|
931
931
|
inferSpsControl(n, r) {
|
|
932
|
-
return
|
|
932
|
+
return Ks(n, [...this.path, r], this.update);
|
|
933
933
|
}
|
|
934
934
|
rollup(n) {
|
|
935
935
|
return Object.keys(this.fields).reduce(
|
|
@@ -950,11 +950,11 @@ class Yb extends sr {
|
|
|
950
950
|
this.fields = t.map((n, r) => this.inferSpsControl(n, String(r)));
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
|
-
function
|
|
953
|
+
function Ks(e, t, n) {
|
|
954
954
|
return e instanceof rr ? (e.path = t, e.update = n, e) : Array.isArray(e) ? new Yb(e, t, n) : Zd(e) ? new Ub(e, t, n) : new Ys(t, n);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
957
|
-
return t.length === 0 || !e ? e :
|
|
956
|
+
function Hr(e, t) {
|
|
957
|
+
return t.length === 0 || !e ? e : Hr(e.fields[t[0]], t.slice(1, t.length));
|
|
958
958
|
}
|
|
959
959
|
function Eo(e, t) {
|
|
960
960
|
if (t.length === 0 || !e)
|
|
@@ -976,9 +976,9 @@ function Qd(e, t, n) {
|
|
|
976
976
|
o && a && n(o, a);
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function ks(e, t, n, r = !1, a = !1) {
|
|
980
980
|
Qd(t, n, (o, l) => {
|
|
981
|
-
o.validators = typeof l == "function" ? l(e) : l, r && o.validate(
|
|
981
|
+
o.validators = typeof l == "function" ? l(e) : l, r && o.validate(Vs(e, o.path), void 0, a);
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
984
|
function To(e, t) {
|
|
@@ -998,18 +998,18 @@ function zb(e, t = {}) {
|
|
|
998
998
|
jb(e);
|
|
999
999
|
const n = He(() => {
|
|
1000
1000
|
jl(e);
|
|
1001
|
-
const m =
|
|
1002
|
-
return t &&
|
|
1001
|
+
const m = Ks(e, [], p);
|
|
1002
|
+
return t && ks(e, m, t, !1, !0), m;
|
|
1003
1003
|
}, []), r = pe(), a = pe(t), o = nn((m, f) => {
|
|
1004
1004
|
var S, y, w;
|
|
1005
1005
|
let h;
|
|
1006
1006
|
if (r.current = void 0, f)
|
|
1007
1007
|
if (f.path)
|
|
1008
1008
|
if (f.markAsBlurred) {
|
|
1009
|
-
const T =
|
|
1009
|
+
const T = Hr(m.formMeta, f.path);
|
|
1010
1010
|
if (T) {
|
|
1011
1011
|
T.focused = !1;
|
|
1012
|
-
const D =
|
|
1012
|
+
const D = Vs(m.formValue, f.path);
|
|
1013
1013
|
T.validate(D, tn.ON_BLUR);
|
|
1014
1014
|
}
|
|
1015
1015
|
} else if (f.newValidators) {
|
|
@@ -1018,7 +1018,7 @@ function zb(e, t = {}) {
|
|
|
1018
1018
|
a.current = {
|
|
1019
1019
|
...a.current,
|
|
1020
1020
|
[T]: f.newValidators
|
|
1021
|
-
},
|
|
1021
|
+
}, ks(
|
|
1022
1022
|
m.formValue,
|
|
1023
1023
|
m.formMeta,
|
|
1024
1024
|
a.current,
|
|
@@ -1026,10 +1026,10 @@ function zb(e, t = {}) {
|
|
|
1026
1026
|
);
|
|
1027
1027
|
}
|
|
1028
1028
|
} else if (f.markAsSubmitted) {
|
|
1029
|
-
const T =
|
|
1029
|
+
const T = Hr(m.formMeta, f.path);
|
|
1030
1030
|
if (T) {
|
|
1031
1031
|
T.submitted = !0;
|
|
1032
|
-
const D =
|
|
1032
|
+
const D = Vs(m.formValue, f.path);
|
|
1033
1033
|
T.validate(D, tn.ON_SUBMIT);
|
|
1034
1034
|
}
|
|
1035
1035
|
} else
|
|
@@ -1039,7 +1039,7 @@ function zb(e, t = {}) {
|
|
|
1039
1039
|
if ((S = f.updateFormOptions) != null && S.validators && (a.current = {
|
|
1040
1040
|
...a.current,
|
|
1041
1041
|
...f.updateFormOptions.validators
|
|
1042
|
-
},
|
|
1042
|
+
}, ks(
|
|
1043
1043
|
m.formValue,
|
|
1044
1044
|
m.formMeta,
|
|
1045
1045
|
a.current,
|
|
@@ -1051,64 +1051,68 @@ function zb(e, t = {}) {
|
|
|
1051
1051
|
h
|
|
1052
1052
|
);
|
|
1053
1053
|
for (const {
|
|
1054
|
-
type:
|
|
1055
|
-
key:
|
|
1056
|
-
parentPath:
|
|
1057
|
-
objects: [,
|
|
1054
|
+
type: x,
|
|
1055
|
+
key: k,
|
|
1056
|
+
parentPath: b,
|
|
1057
|
+
objects: [, I]
|
|
1058
1058
|
} of T) {
|
|
1059
|
-
const
|
|
1059
|
+
const O = Hr(
|
|
1060
1060
|
m.formMeta,
|
|
1061
|
-
|
|
1061
|
+
b
|
|
1062
1062
|
);
|
|
1063
|
-
if (typeof
|
|
1064
|
-
let
|
|
1065
|
-
switch (
|
|
1066
|
-
case
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
[...
|
|
1063
|
+
if (typeof k != "symbol" && O) {
|
|
1064
|
+
let M;
|
|
1065
|
+
switch (x) {
|
|
1066
|
+
case Nn.ADDITION:
|
|
1067
|
+
O.fields[k] = Ks(
|
|
1068
|
+
I[k],
|
|
1069
|
+
[...b, k],
|
|
1070
1070
|
p
|
|
1071
1071
|
);
|
|
1072
1072
|
break;
|
|
1073
|
-
case
|
|
1074
|
-
Array.isArray(
|
|
1073
|
+
case Nn.DELETION:
|
|
1074
|
+
Array.isArray(O.fields) ? O.fields[k] = void 0 : delete O.fields[k];
|
|
1075
1075
|
break;
|
|
1076
|
-
case
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
[...
|
|
1076
|
+
case Nn.ALTERATION:
|
|
1077
|
+
M = Ks(
|
|
1078
|
+
I[k],
|
|
1079
|
+
[...b, k],
|
|
1080
1080
|
p
|
|
1081
|
-
), (
|
|
1081
|
+
), (M instanceof sr && !(O.fields[k] instanceof sr) || !(M instanceof sr) && O.fields[k] instanceof sr) && (O.fields[k] = M);
|
|
1082
1082
|
break;
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
const D = /* @__PURE__ */ new Set();
|
|
1087
|
+
if (T.filter((x) => x.type === Nn.DELETION).reduce((x, k) => (x.has(k.parentPath) || x.add(k.parentPath), x), D), Array.from(D).forEach((x) => {
|
|
1088
|
+
const k = Hr(m.formMeta, x);
|
|
1089
|
+
Array.isArray(k.fields) && (k.fields = k.fields.filter((b) => b !== void 0));
|
|
1090
|
+
}), a.current) {
|
|
1091
|
+
ks(
|
|
1088
1092
|
h,
|
|
1089
1093
|
m.formMeta,
|
|
1090
1094
|
a.current
|
|
1091
1095
|
);
|
|
1092
|
-
const
|
|
1093
|
-
t && Qd(m.formMeta, t, (
|
|
1094
|
-
typeof
|
|
1096
|
+
const x = /* @__PURE__ */ new Set();
|
|
1097
|
+
t && Qd(m.formMeta, t, (k, b) => {
|
|
1098
|
+
typeof b == "function" && (k.validate(Vs(h, k.path)), x.add(k));
|
|
1095
1099
|
});
|
|
1096
1100
|
for (const {
|
|
1097
|
-
type:
|
|
1098
|
-
key:
|
|
1099
|
-
parentPath:
|
|
1100
|
-
objects: [,
|
|
1101
|
+
type: k,
|
|
1102
|
+
key: b,
|
|
1103
|
+
parentPath: I,
|
|
1104
|
+
objects: [, O]
|
|
1101
1105
|
} of T)
|
|
1102
|
-
if (typeof
|
|
1103
|
-
let
|
|
1104
|
-
if (
|
|
1105
|
-
for (const
|
|
1106
|
-
|
|
1107
|
-
if (
|
|
1108
|
-
const
|
|
1109
|
-
if (!
|
|
1110
|
-
for (const [
|
|
1111
|
-
|
|
1106
|
+
if (typeof b != "symbol") {
|
|
1107
|
+
let M = m.formMeta, L = h;
|
|
1108
|
+
if (M) {
|
|
1109
|
+
for (const R of I)
|
|
1110
|
+
M = M.fields[R], L = L[R], x.has(M) || M.validate(L, tn.ON_CHANGE);
|
|
1111
|
+
if (k === Nn.ADDITION || k === Nn.ALTERATION) {
|
|
1112
|
+
const R = M.fields[b];
|
|
1113
|
+
if (!x.has(R) && (M.fields[b].validate(O[b], tn.ON_CHANGE), k === Nn.ADDITION && R.fields))
|
|
1114
|
+
for (const [K, _] of Object.entries(R.fields))
|
|
1115
|
+
_.validate(O[b][K], tn.ON_CHANGE);
|
|
1112
1116
|
}
|
|
1113
1117
|
}
|
|
1114
1118
|
}
|
|
@@ -1219,7 +1223,7 @@ function Ka(e, t) {
|
|
|
1219
1223
|
}
|
|
1220
1224
|
return !1;
|
|
1221
1225
|
}
|
|
1222
|
-
function
|
|
1226
|
+
function Ms(e, t, n, r, a, o, l, c) {
|
|
1223
1227
|
return o < e && l > t || o > e && l < t ? 0 : o <= e && c <= n || l >= t && c >= n ? o - e - r : l > t && c < n || o < e && c > n ? l - t + a : 0;
|
|
1224
1228
|
}
|
|
1225
1229
|
function Jl(e, t) {
|
|
@@ -1241,9 +1245,9 @@ function Jl(e, t) {
|
|
|
1241
1245
|
return R;
|
|
1242
1246
|
var H = getComputedStyle(_), F = parseInt(H.borderLeftWidth, 10), z = parseInt(H.borderTopWidth, 10), j = parseInt(H.borderRightWidth, 10), te = parseInt(H.borderBottomWidth, 10), X = 0, G = 0, oe = "offsetWidth" in _ ? _.offsetWidth - _.clientWidth - F - j : 0, ne = "offsetHeight" in _ ? _.offsetHeight - _.clientHeight - z - te : 0;
|
|
1243
1247
|
if (u === _)
|
|
1244
|
-
X = a === "start" ? M : a === "end" ? M - S : a === "nearest" ?
|
|
1248
|
+
X = a === "start" ? M : a === "end" ? M - S : a === "nearest" ? Ms(w, w + S, S, z, te, w + M, w + M + D, D) : M - S / 2, G = o === "start" ? L : o === "center" ? L - h / 2 : o === "end" ? L - h : Ms(y, y + h, h, F, j, y + L, y + L + x, x), X = Math.max(0, X + w), G = Math.max(0, G + y);
|
|
1245
1249
|
else {
|
|
1246
|
-
X = a === "start" ? M - Q - z : a === "end" ? M - W + te + ne : a === "nearest" ?
|
|
1250
|
+
X = a === "start" ? M - Q - z : a === "end" ? M - W + te + ne : a === "nearest" ? Ms(Q, W, N, z, te + ne, M, M + D, D) : M - (Q + N / 2) + ne / 2, G = o === "start" ? L - J - F : o === "center" ? L - (J + A / 2) + oe / 2 : o === "end" ? L - q + j + oe : Ms(J, q, A, F, j + oe, L, L + x, x);
|
|
1247
1251
|
var le = _.scrollLeft, ee = _.scrollTop;
|
|
1248
1252
|
M += ee - (X = Math.max(0, Math.min(ee + X, _.scrollHeight - N + ne))), L += le - (G = Math.max(0, Math.min(le + G, _.scrollWidth - A + oe)));
|
|
1249
1253
|
}
|
|
@@ -1318,7 +1322,7 @@ Object.assign(np, {
|
|
|
1318
1322
|
displayName: "SpsSpinner"
|
|
1319
1323
|
});
|
|
1320
1324
|
const Qb = 60;
|
|
1321
|
-
function
|
|
1325
|
+
function _s(e) {
|
|
1322
1326
|
return typeof e > "u" ? "inherit" : `${e}px`;
|
|
1323
1327
|
}
|
|
1324
1328
|
function rp(e) {
|
|
@@ -1431,17 +1435,17 @@ function ur(e, t, n, {
|
|
|
1431
1435
|
l,
|
|
1432
1436
|
c
|
|
1433
1437
|
), M = {
|
|
1434
|
-
top:
|
|
1435
|
-
right:
|
|
1436
|
-
bottom:
|
|
1437
|
-
left:
|
|
1438
|
+
top: _s(k),
|
|
1439
|
+
right: _s(b),
|
|
1440
|
+
bottom: _s(I),
|
|
1441
|
+
left: _s(O)
|
|
1438
1442
|
};
|
|
1439
1443
|
return c && (M.position = "fixed", M.zIndex = WS.BAR), a && (M.minWidth = `${y.width}px`), o && (M.width = `${y.width}px`), [M, T === r];
|
|
1440
1444
|
}
|
|
1441
1445
|
return [{}, !1];
|
|
1442
1446
|
}
|
|
1443
1447
|
const Ot = VS(null);
|
|
1444
|
-
function
|
|
1448
|
+
function es(e, t = []) {
|
|
1445
1449
|
const n = rn(Ot);
|
|
1446
1450
|
return He(() => (r) => {
|
|
1447
1451
|
const o = n && n.parentElementRef && n.parentElementRef.current || document.body;
|
|
@@ -1519,7 +1523,7 @@ function tv(e, t, n) {
|
|
|
1519
1523
|
e.disabledOptions
|
|
1520
1524
|
]), [r, o];
|
|
1521
1525
|
}
|
|
1522
|
-
class
|
|
1526
|
+
class Bn {
|
|
1523
1527
|
constructor(t, n) {
|
|
1524
1528
|
It(this, "nativeEvent");
|
|
1525
1529
|
It(this, "currentTarget");
|
|
@@ -1595,7 +1599,7 @@ function rv({
|
|
|
1595
1599
|
}, [n]), u = s.useCallback((S) => {
|
|
1596
1600
|
S.nativeEvent.stopImmediatePropagation(), S.stopPropagation();
|
|
1597
1601
|
}, []), m = s.useCallback((S) => {
|
|
1598
|
-
S.nativeEvent.stopImmediatePropagation(), c({ value: "" }), o != null && o.current && (n && n(new
|
|
1602
|
+
S.nativeEvent.stopImmediatePropagation(), c({ value: "" }), o != null && o.current && (n && n(new Bn(o.current)), o.current.focus());
|
|
1599
1603
|
}, [n]), f = (S) => {
|
|
1600
1604
|
!S || [
|
|
1601
1605
|
"Tab",
|
|
@@ -1706,7 +1710,7 @@ function Xl(e, t, n) {
|
|
|
1706
1710
|
}
|
|
1707
1711
|
)) : !1;
|
|
1708
1712
|
}
|
|
1709
|
-
const
|
|
1713
|
+
const ts = s.forwardRef((e, t) => {
|
|
1710
1714
|
const {
|
|
1711
1715
|
captionKey: n,
|
|
1712
1716
|
comparisonKey: r,
|
|
@@ -1754,13 +1758,13 @@ const es = s.forwardRef((e, t) => {
|
|
|
1754
1758
|
captionKey: "caption"
|
|
1755
1759
|
}) : null,
|
|
1756
1760
|
[q]
|
|
1757
|
-
), [ne, le] = s.useState(-1), [ee, Te] = s.useState(I), De = t || s.useRef(null), re = s.useRef(null), Ze = s.useRef(null), Ke =
|
|
1761
|
+
), [ne, le] = s.useState(-1), [ee, Te] = s.useState(I), De = t || s.useRef(null), re = s.useRef(null), Ze = s.useRef(null), Ke = es("sps-option-list-portal"), lt = s.useContext(Ot), [St, ct] = A || [be.BOTTOM_LEFT, be.TOP_LEFT], [[ge, Ae], Ye] = s.useState([{}, !1]), de = s.useRef(null), [
|
|
1758
1762
|
Ne,
|
|
1759
1763
|
Me,
|
|
1760
1764
|
Dt
|
|
1761
1765
|
] = rv(
|
|
1762
1766
|
{ ...e, searchInputRef: de }
|
|
1763
|
-
), [we,
|
|
1767
|
+
), [we, cs] = tv(
|
|
1764
1768
|
e,
|
|
1765
1769
|
Me,
|
|
1766
1770
|
Dt
|
|
@@ -1796,7 +1800,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1796
1800
|
}, [ee]), s.useEffect(() => {
|
|
1797
1801
|
le(-1);
|
|
1798
1802
|
}, [Me]);
|
|
1799
|
-
const
|
|
1803
|
+
const Vn = V(
|
|
1800
1804
|
W || "sps-option-list",
|
|
1801
1805
|
"z-stratum-dropdown",
|
|
1802
1806
|
ee && "sps-option-list--open",
|
|
@@ -1858,7 +1862,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1858
1862
|
K,
|
|
1859
1863
|
Ae,
|
|
1860
1864
|
we
|
|
1861
|
-
]),
|
|
1865
|
+
]), ds = s.useCallback((he) => {
|
|
1862
1866
|
const ce = we.findIndex((rt) => {
|
|
1863
1867
|
if (rt.textKey) {
|
|
1864
1868
|
const yn = rt.textKey;
|
|
@@ -1868,7 +1872,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1868
1872
|
});
|
|
1869
1873
|
ce > -1 && le(ce);
|
|
1870
1874
|
}, [we]), nt = s.useCallback((he) => {
|
|
1871
|
-
!he || (av.includes(he.key) ? ya(he) : ov.includes(he.key) && !m &&
|
|
1875
|
+
!he || (av.includes(he.key) ? ya(he) : ov.includes(he.key) && !m && ds(he));
|
|
1872
1876
|
}, [
|
|
1873
1877
|
bt,
|
|
1874
1878
|
Se,
|
|
@@ -1903,7 +1907,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1903
1907
|
const Nr = F ? F / 16 : z, xr = Nr ? { maxHeight: `${Nr}rem` } : {};
|
|
1904
1908
|
return Ke(
|
|
1905
1909
|
/* @__PURE__ */ s.createElement("div", {
|
|
1906
|
-
className:
|
|
1910
|
+
className: Vn,
|
|
1907
1911
|
id: k,
|
|
1908
1912
|
"aria-activedescendant": ne > -1 ? `${k}-option-${ne}` : "",
|
|
1909
1913
|
tabIndex: -1,
|
|
@@ -1952,7 +1956,7 @@ const es = s.forwardRef((e, t) => {
|
|
|
1952
1956
|
"sps-option-list__option-icon",
|
|
1953
1957
|
`sps-icon-${String(he.value.icon)}`
|
|
1954
1958
|
)
|
|
1955
|
-
}), (!he.value || !he.value.icon &&
|
|
1959
|
+
}), (!he.value || !he.value.icon && cs) && /* @__PURE__ */ s.createElement("span", {
|
|
1956
1960
|
className: "sps-option-list__option-icon-spacer"
|
|
1957
1961
|
}), /* @__PURE__ */ s.createElement("span", {
|
|
1958
1962
|
dangerouslySetInnerHTML: {
|
|
@@ -1983,12 +1987,12 @@ const es = s.forwardRef((e, t) => {
|
|
|
1983
1987
|
"sps-option-list__option-icon",
|
|
1984
1988
|
`sps-icon-${String(q.icon)}`
|
|
1985
1989
|
)
|
|
1986
|
-
}), !q.icon &&
|
|
1990
|
+
}), !q.icon && cs && /* @__PURE__ */ s.createElement("span", {
|
|
1987
1991
|
className: "sps-option-list__option-icon-spacer"
|
|
1988
1992
|
}), /* @__PURE__ */ s.createElement("span", null, q.label)))
|
|
1989
1993
|
);
|
|
1990
1994
|
});
|
|
1991
|
-
Object.assign(
|
|
1995
|
+
Object.assign(ts, {
|
|
1992
1996
|
displayName: "SpsOptionList"
|
|
1993
1997
|
});
|
|
1994
1998
|
function LM(e, t, n = []) {
|
|
@@ -2143,7 +2147,7 @@ function Uo({
|
|
|
2143
2147
|
doHidePopup: A
|
|
2144
2148
|
} = ca(R, _);
|
|
2145
2149
|
function Q(j, te) {
|
|
2146
|
-
b && (b.setValue(j), b.markAsDirty()), o && o(te || new
|
|
2150
|
+
b && (b.setValue(j), b.markAsDirty()), o && o(te || new Bn({ value: j }));
|
|
2147
2151
|
}
|
|
2148
2152
|
function q(j) {
|
|
2149
2153
|
K.current && (K.current.value = "", Q("")), j.stopPropagation();
|
|
@@ -2208,7 +2212,7 @@ function Uo({
|
|
|
2208
2212
|
"aria-label": "clear",
|
|
2209
2213
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
2210
2214
|
onClick: (j) => q(j)
|
|
2211
|
-
}))), /* @__PURE__ */ s.createElement(
|
|
2215
|
+
}))), /* @__PURE__ */ s.createElement(ts, {
|
|
2212
2216
|
id: `${I}_options`,
|
|
2213
2217
|
ref: _,
|
|
2214
2218
|
attachTo: R,
|
|
@@ -2470,7 +2474,7 @@ function br(e) {
|
|
|
2470
2474
|
id: M.current,
|
|
2471
2475
|
className: oe,
|
|
2472
2476
|
onKeyDown: X
|
|
2473
|
-
}, /* @__PURE__ */ s.createElement(
|
|
2477
|
+
}, /* @__PURE__ */ s.createElement(ts, {
|
|
2474
2478
|
positionOverride: le,
|
|
2475
2479
|
isOpen: L,
|
|
2476
2480
|
"aria-labelledby": Q,
|
|
@@ -3629,7 +3633,7 @@ function Dv(e) {
|
|
|
3629
3633
|
function Nv(e) {
|
|
3630
3634
|
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
3631
3635
|
}
|
|
3632
|
-
function
|
|
3636
|
+
function kn(e) {
|
|
3633
3637
|
var t = typeof e;
|
|
3634
3638
|
return process.env.NODE_ENV !== "production" && (t = wv(e)), t;
|
|
3635
3639
|
}
|
|
@@ -3639,11 +3643,11 @@ function lp(e, t, n) {
|
|
|
3639
3643
|
throw new Error(process.env.NODE_ENV === "production" ? pt(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
3640
3644
|
if (typeof t == "function" && typeof n > "u" && (n = t, t = void 0), typeof n < "u") {
|
|
3641
3645
|
if (typeof n != "function")
|
|
3642
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(1) : "Expected the enhancer to be a function. Instead, received: '" +
|
|
3646
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(1) : "Expected the enhancer to be a function. Instead, received: '" + kn(n) + "'");
|
|
3643
3647
|
return n(lp)(e, t);
|
|
3644
3648
|
}
|
|
3645
3649
|
if (typeof e != "function")
|
|
3646
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(2) : "Expected the root reducer to be a function. Instead, received: '" +
|
|
3650
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(2) : "Expected the root reducer to be a function. Instead, received: '" + kn(e) + "'");
|
|
3647
3651
|
var a = e, o = t, l = [], c = l, p = !1;
|
|
3648
3652
|
function u() {
|
|
3649
3653
|
c === l && (c = l.slice());
|
|
@@ -3655,7 +3659,7 @@ function lp(e, t, n) {
|
|
|
3655
3659
|
}
|
|
3656
3660
|
function f(w) {
|
|
3657
3661
|
if (typeof w != "function")
|
|
3658
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(4) : "Expected the listener to be a function. Instead, received: '" +
|
|
3662
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(4) : "Expected the listener to be a function. Instead, received: '" + kn(w) + "'");
|
|
3659
3663
|
if (p)
|
|
3660
3664
|
throw new Error(process.env.NODE_ENV === "production" ? pt(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
3661
3665
|
var T = !0;
|
|
@@ -3671,7 +3675,7 @@ function lp(e, t, n) {
|
|
|
3671
3675
|
}
|
|
3672
3676
|
function h(w) {
|
|
3673
3677
|
if (!Tv(w))
|
|
3674
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(7) : "Actions must be plain objects. Instead, the actual type was: '" +
|
|
3678
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(7) : "Actions must be plain objects. Instead, the actual type was: '" + kn(w) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
3675
3679
|
if (typeof w.type > "u")
|
|
3676
3680
|
throw new Error(process.env.NODE_ENV === "production" ? pt(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
3677
3681
|
if (p)
|
|
@@ -3689,7 +3693,7 @@ function lp(e, t, n) {
|
|
|
3689
3693
|
}
|
|
3690
3694
|
function S(w) {
|
|
3691
3695
|
if (typeof w != "function")
|
|
3692
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(10) : "Expected the nextReducer to be a function. Instead, received: '" +
|
|
3696
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(10) : "Expected the nextReducer to be a function. Instead, received: '" + kn(w));
|
|
3693
3697
|
a = w, h({
|
|
3694
3698
|
type: nc.REPLACE
|
|
3695
3699
|
});
|
|
@@ -3699,7 +3703,7 @@ function lp(e, t, n) {
|
|
|
3699
3703
|
return w = {
|
|
3700
3704
|
subscribe: function(x) {
|
|
3701
3705
|
if (typeof x != "object" || x === null)
|
|
3702
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(11) : "Expected the observer to be an object. Instead, received: '" +
|
|
3706
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(11) : "Expected the observer to be an object. Instead, received: '" + kn(x) + "'");
|
|
3703
3707
|
function k() {
|
|
3704
3708
|
x.next && x.next(m());
|
|
3705
3709
|
}
|
|
@@ -3738,7 +3742,7 @@ function sc(e, t) {
|
|
|
3738
3742
|
if (typeof e == "function")
|
|
3739
3743
|
return rc(e, t);
|
|
3740
3744
|
if (typeof e != "object" || e === null)
|
|
3741
|
-
throw new Error(process.env.NODE_ENV === "production" ? pt(16) : "bindActionCreators expected an object or a function, but instead received: '" +
|
|
3745
|
+
throw new Error(process.env.NODE_ENV === "production" ? pt(16) : "bindActionCreators expected an object or a function, but instead received: '" + kn(e) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
|
|
3742
3746
|
var n = {};
|
|
3743
3747
|
for (var r in e) {
|
|
3744
3748
|
var a = e[r];
|
|
@@ -5100,7 +5104,7 @@ var Oy = function(t) {
|
|
|
5100
5104
|
!r || (cancelAnimationFrame(r), r = null);
|
|
5101
5105
|
}, a;
|
|
5102
5106
|
};
|
|
5103
|
-
const
|
|
5107
|
+
const Yr = Oy;
|
|
5104
5108
|
var Ry = process.env.NODE_ENV === "production", Py = /[ \t]{2,}/g, By = /^[ \t]*/gm, Dc = function(t) {
|
|
5105
5109
|
return t.replace(Py, " ").replace(By, "").trim();
|
|
5106
5110
|
}, Ay = function(t) {
|
|
@@ -5138,15 +5142,15 @@ function yt(e, t, n) {
|
|
|
5138
5142
|
};
|
|
5139
5143
|
}
|
|
5140
5144
|
var Ky = process.env.NODE_ENV === "production", Nc = "Invariant failed";
|
|
5141
|
-
function
|
|
5145
|
+
function jr(e) {
|
|
5142
5146
|
this.message = e;
|
|
5143
5147
|
}
|
|
5144
|
-
|
|
5148
|
+
jr.prototype.toString = function() {
|
|
5145
5149
|
return this.message;
|
|
5146
5150
|
};
|
|
5147
5151
|
function B(e, t) {
|
|
5148
5152
|
if (!e)
|
|
5149
|
-
throw Ky ? new
|
|
5153
|
+
throw Ky ? new jr(Nc) : new jr(Nc + ": " + (t || ""));
|
|
5150
5154
|
}
|
|
5151
5155
|
var Hy = function(e) {
|
|
5152
5156
|
ip(t, e);
|
|
@@ -5160,7 +5164,7 @@ var Hy = function(e) {
|
|
|
5160
5164
|
The active drag has been aborted.
|
|
5161
5165
|
`));
|
|
5162
5166
|
var u = c.error;
|
|
5163
|
-
u instanceof
|
|
5167
|
+
u instanceof jr && (c.preventDefault(), process.env.NODE_ENV !== "production" && Co(u.message));
|
|
5164
5168
|
}, r.getCallbacks = function() {
|
|
5165
5169
|
if (!r.callbacks)
|
|
5166
5170
|
throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");
|
|
@@ -5176,7 +5180,7 @@ var Hy = function(e) {
|
|
|
5176
5180
|
fn: this.onWindowError
|
|
5177
5181
|
}]);
|
|
5178
5182
|
}, n.componentDidCatch = function(a) {
|
|
5179
|
-
if (a instanceof
|
|
5183
|
+
if (a instanceof jr) {
|
|
5180
5184
|
process.env.NODE_ENV !== "production" && Co(a.message), this.setState({});
|
|
5181
5185
|
return;
|
|
5182
5186
|
}
|
|
@@ -5270,14 +5274,14 @@ var Hy = function(e) {
|
|
|
5270
5274
|
x: t.x !== 0 ? -t.x : 0,
|
|
5271
5275
|
y: t.y !== 0 ? -t.y : 0
|
|
5272
5276
|
};
|
|
5273
|
-
},
|
|
5277
|
+
}, Ln = function(t, n, r) {
|
|
5274
5278
|
var a;
|
|
5275
5279
|
return r === void 0 && (r = 0), a = {}, a[t] = n, a[t === "x" ? "y" : "x"] = r, a;
|
|
5276
|
-
},
|
|
5280
|
+
}, zr = function(t, n) {
|
|
5277
5281
|
return Math.sqrt(Math.pow(n.x - t.x, 2) + Math.pow(n.y - t.y, 2));
|
|
5278
5282
|
}, Ic = function(t, n) {
|
|
5279
5283
|
return Math.min.apply(Math, n.map(function(r) {
|
|
5280
|
-
return
|
|
5284
|
+
return zr(t, r);
|
|
5281
5285
|
}));
|
|
5282
5286
|
}, Np = function(t) {
|
|
5283
5287
|
return function(n) {
|
|
@@ -5294,7 +5298,7 @@ var Hy = function(e) {
|
|
|
5294
5298
|
left: Math.max(t.left, e.left)
|
|
5295
5299
|
});
|
|
5296
5300
|
return n.width <= 0 || n.height <= 0 ? null : n;
|
|
5297
|
-
},
|
|
5301
|
+
}, ns = function(t, n) {
|
|
5298
5302
|
return {
|
|
5299
5303
|
top: t.top + n.y,
|
|
5300
5304
|
left: t.left + n.x,
|
|
@@ -5321,7 +5325,7 @@ var Hy = function(e) {
|
|
|
5321
5325
|
bottom: 0,
|
|
5322
5326
|
left: 0
|
|
5323
5327
|
}, qy = function(t, n) {
|
|
5324
|
-
return n ?
|
|
5328
|
+
return n ? ns(t, n.scroll.diff.displacement) : t;
|
|
5325
5329
|
}, Jy = function(t, n, r) {
|
|
5326
5330
|
if (r && r.increasedBy) {
|
|
5327
5331
|
var a;
|
|
@@ -5398,7 +5402,7 @@ var Ip = qe(function(e) {
|
|
|
5398
5402
|
return Zs(e);
|
|
5399
5403
|
}), Qy = qe(function(e) {
|
|
5400
5404
|
return Zs(e);
|
|
5401
|
-
}),
|
|
5405
|
+
}), An = qe(function(e, t) {
|
|
5402
5406
|
var n = Qy(t).filter(function(r) {
|
|
5403
5407
|
return e === r.descriptor.droppableId;
|
|
5404
5408
|
}).sort(function(r, a) {
|
|
@@ -5459,12 +5463,12 @@ var ma = qe(function(e, t) {
|
|
|
5459
5463
|
}, Mp = {
|
|
5460
5464
|
point: Je,
|
|
5461
5465
|
value: 0
|
|
5462
|
-
},
|
|
5466
|
+
}, qr = {
|
|
5463
5467
|
invisible: {},
|
|
5464
5468
|
visible: {},
|
|
5465
5469
|
all: []
|
|
5466
5470
|
}, tE = {
|
|
5467
|
-
displaced:
|
|
5471
|
+
displaced: qr,
|
|
5468
5472
|
displacedBy: Mp,
|
|
5469
5473
|
at: null
|
|
5470
5474
|
}, Tt = function(e, t) {
|
|
@@ -5521,7 +5525,7 @@ var ma = qe(function(e, t) {
|
|
|
5521
5525
|
};
|
|
5522
5526
|
}, sE = function(t, n) {
|
|
5523
5527
|
var r = n.frame ? n.frame.scroll.diff.displacement : Je;
|
|
5524
|
-
return
|
|
5528
|
+
return ns(t, r);
|
|
5525
5529
|
}, aE = function(t, n, r) {
|
|
5526
5530
|
return n.subject.active ? r(n.subject.active)(t) : !1;
|
|
5527
5531
|
}, oE = function(t, n, r) {
|
|
@@ -5561,7 +5565,7 @@ function dE(e, t) {
|
|
|
5561
5565
|
};
|
|
5562
5566
|
return _t(Zo(n, r));
|
|
5563
5567
|
}
|
|
5564
|
-
function
|
|
5568
|
+
function Jr(e) {
|
|
5565
5569
|
var t = e.afterDragging, n = e.destination, r = e.displacedBy, a = e.viewport, o = e.forceShouldAnimate, l = e.last;
|
|
5566
5570
|
return t.reduce(function(p, u) {
|
|
5567
5571
|
var m = dE(u, r), f = u.descriptor.id;
|
|
@@ -5596,7 +5600,7 @@ function Mc(e) {
|
|
|
5596
5600
|
inHomeList: n
|
|
5597
5601
|
});
|
|
5598
5602
|
return {
|
|
5599
|
-
displaced:
|
|
5603
|
+
displaced: qr,
|
|
5600
5604
|
displacedBy: r,
|
|
5601
5605
|
at: {
|
|
5602
5606
|
type: "REORDER",
|
|
@@ -5626,7 +5630,7 @@ function Xs(e) {
|
|
|
5626
5630
|
displacedBy: o,
|
|
5627
5631
|
destination: r
|
|
5628
5632
|
});
|
|
5629
|
-
var f = ma(t, n), h = n.indexOf(m), S = f.slice(h), y =
|
|
5633
|
+
var f = ma(t, n), h = n.indexOf(m), S = f.slice(h), y = Jr({
|
|
5630
5634
|
afterDragging: S,
|
|
5631
5635
|
destination: r,
|
|
5632
5636
|
displacedBy: o,
|
|
@@ -5718,15 +5722,15 @@ var uE = function(e) {
|
|
|
5718
5722
|
return n[t.crossAxisStart] + r.margin[t.crossAxisStart] + r.borderBox[t.crossAxisSize] / 2;
|
|
5719
5723
|
}, _c = function(t) {
|
|
5720
5724
|
var n = t.axis, r = t.moveRelativeTo, a = t.isMoving;
|
|
5721
|
-
return
|
|
5725
|
+
return Ln(n.line, r.marginBox[n.end] + Rp(n, a), si(n, r.marginBox, a));
|
|
5722
5726
|
}, Lc = function(t) {
|
|
5723
5727
|
var n = t.axis, r = t.moveRelativeTo, a = t.isMoving;
|
|
5724
|
-
return
|
|
5728
|
+
return Ln(n.line, r.marginBox[n.start] - SE(n, a), si(n, r.marginBox, a));
|
|
5725
5729
|
}, bE = function(t) {
|
|
5726
5730
|
var n = t.axis, r = t.moveInto, a = t.isMoving;
|
|
5727
|
-
return
|
|
5731
|
+
return Ln(n.line, r.contentBox[n.start] + Rp(n, a), si(n, r.contentBox, a));
|
|
5728
5732
|
}, vE = function(e) {
|
|
5729
|
-
var t = e.impact, n = e.draggable, r = e.draggables, a = e.droppable, o = e.afterCritical, l =
|
|
5733
|
+
var t = e.impact, n = e.draggable, r = e.draggables, a = e.droppable, o = e.afterCritical, l = An(a.descriptor.id, r), c = n.page, p = a.axis;
|
|
5730
5734
|
if (!l.length)
|
|
5731
5735
|
return bE({
|
|
5732
5736
|
axis: p,
|
|
@@ -5818,14 +5822,14 @@ function EE(e, t) {
|
|
|
5818
5822
|
return null;
|
|
5819
5823
|
}
|
|
5820
5824
|
var TE = function(e) {
|
|
5821
|
-
var t = e.impact, n = e.viewport, r = e.destination, a = e.draggables, o = e.maxScrollChange, l = Pp(n, Xe(n.scroll.current, o)), c = r.frame ? Qo(r, Xe(r.frame.scroll.current, o)) : r, p = t.displaced, u =
|
|
5825
|
+
var t = e.impact, n = e.viewport, r = e.destination, a = e.draggables, o = e.maxScrollChange, l = Pp(n, Xe(n.scroll.current, o)), c = r.frame ? Qo(r, Xe(r.frame.scroll.current, o)) : r, p = t.displaced, u = Jr({
|
|
5822
5826
|
afterDragging: Oc(p.all, a),
|
|
5823
5827
|
destination: r,
|
|
5824
5828
|
displacedBy: t.displacedBy,
|
|
5825
5829
|
viewport: l.frame,
|
|
5826
5830
|
last: p,
|
|
5827
5831
|
forceShouldAnimate: !1
|
|
5828
|
-
}), m =
|
|
5832
|
+
}), m = Jr({
|
|
5829
5833
|
afterDragging: Oc(p.all, a),
|
|
5830
5834
|
destination: c,
|
|
5831
5835
|
displacedBy: t.displacedBy,
|
|
@@ -5855,7 +5859,7 @@ var TE = function(e) {
|
|
|
5855
5859
|
var t = e.pageBorderBoxCenter, n = e.draggable, r = e.viewport, a = wE(r, t), o = ft(a, n.page.borderBox.center);
|
|
5856
5860
|
return Xe(n.client.borderBox.center, o);
|
|
5857
5861
|
}, Bp = function(e) {
|
|
5858
|
-
var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, a = e.viewport, o = e.withDroppableDisplacement, l = e.onlyOnMainAxis, c = l === void 0 ? !1 : l, p = ft(r, t.page.borderBox.center), u =
|
|
5862
|
+
var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, a = e.viewport, o = e.withDroppableDisplacement, l = e.onlyOnMainAxis, c = l === void 0 ? !1 : l, p = ft(r, t.page.borderBox.center), u = ns(t.page.borderBox, p), m = {
|
|
5859
5863
|
target: u,
|
|
5860
5864
|
destination: n,
|
|
5861
5865
|
withDroppableDisplacement: o,
|
|
@@ -5866,7 +5870,7 @@ var TE = function(e) {
|
|
|
5866
5870
|
var t = e.isMovingForward, n = e.draggable, r = e.destination, a = e.draggables, o = e.previousImpact, l = e.viewport, c = e.previousPageBorderBoxCenter, p = e.previousClientSelection, u = e.afterCritical;
|
|
5867
5871
|
if (!r.isEnabled)
|
|
5868
5872
|
return null;
|
|
5869
|
-
var m =
|
|
5873
|
+
var m = An(r.descriptor.id, a), f = Er(n, r), h = eE({
|
|
5870
5874
|
isMovingForward: t,
|
|
5871
5875
|
draggable: n,
|
|
5872
5876
|
destination: r,
|
|
@@ -5969,7 +5973,7 @@ var TE = function(e) {
|
|
|
5969
5973
|
return gn(t.descriptor.id, n) ? ft(r, n.displacedBy.point) : r;
|
|
5970
5974
|
}, NE = function(t, n) {
|
|
5971
5975
|
var r = t.page.borderBox;
|
|
5972
|
-
return gn(t.descriptor.id, n) ?
|
|
5976
|
+
return gn(t.descriptor.id, n) ? ns(r, yr(n.displacedBy.point)) : r;
|
|
5973
5977
|
}, xE = function(e) {
|
|
5974
5978
|
var t = e.pageBorderBoxCenter, n = e.viewport, r = e.destination, a = e.insideDestination, o = e.afterCritical, l = a.filter(function(c) {
|
|
5975
5979
|
return Op({
|
|
@@ -5979,24 +5983,24 @@ var TE = function(e) {
|
|
|
5979
5983
|
withDroppableDisplacement: !0
|
|
5980
5984
|
});
|
|
5981
5985
|
}).sort(function(c, p) {
|
|
5982
|
-
var u =
|
|
5986
|
+
var u = zr(t, Do(r, Rc(c, o))), m = zr(t, Do(r, Rc(p, o)));
|
|
5983
5987
|
return u < m ? -1 : m < u ? 1 : c.descriptor.index - p.descriptor.index;
|
|
5984
5988
|
});
|
|
5985
5989
|
return l[0] || null;
|
|
5986
|
-
},
|
|
5990
|
+
}, rs = qe(function(t, n) {
|
|
5987
5991
|
var r = n[t.line];
|
|
5988
5992
|
return {
|
|
5989
5993
|
value: r,
|
|
5990
|
-
point:
|
|
5994
|
+
point: Ln(t.line, r)
|
|
5991
5995
|
};
|
|
5992
5996
|
}), IE = function(t, n, r) {
|
|
5993
5997
|
var a = t.axis;
|
|
5994
5998
|
if (t.descriptor.mode === "virtual")
|
|
5995
|
-
return
|
|
5996
|
-
var o = t.subject.page.contentBox[a.size], l =
|
|
5999
|
+
return Ln(a.line, n[a.line]);
|
|
6000
|
+
var o = t.subject.page.contentBox[a.size], l = An(t.descriptor.id, r), c = l.reduce(function(m, f) {
|
|
5997
6001
|
return m + f.client.marginBox[a.size];
|
|
5998
6002
|
}, 0), p = c + n[a.line], u = p - o;
|
|
5999
|
-
return u <= 0 ? null :
|
|
6003
|
+
return u <= 0 ? null : Ln(a.line, u);
|
|
6000
6004
|
}, Ap = function(t, n) {
|
|
6001
6005
|
return ue({}, t, {
|
|
6002
6006
|
scroll: ue({}, t.scroll, {
|
|
@@ -6006,7 +6010,7 @@ var TE = function(e) {
|
|
|
6006
6010
|
}, Fp = function(t, n, r) {
|
|
6007
6011
|
var a = t.frame;
|
|
6008
6012
|
Er(n, t) && (process.env.NODE_ENV !== "production" ? B(!1, "Should not add placeholder space to home list") : B(!1)), t.subject.withPlaceholder && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot add placeholder size to a subject when it already has one") : B(!1));
|
|
6009
|
-
var o =
|
|
6013
|
+
var o = rs(t.axis, n.displaceBy).point, l = IE(t, o, r), c = {
|
|
6010
6014
|
placeholderSize: o,
|
|
6011
6015
|
increasedBy: l,
|
|
6012
6016
|
oldFrameMaxScroll: t.frame ? t.frame.scroll.max : null
|
|
@@ -6065,7 +6069,7 @@ var TE = function(e) {
|
|
|
6065
6069
|
if (r.length)
|
|
6066
6070
|
return null;
|
|
6067
6071
|
var u = {
|
|
6068
|
-
displaced:
|
|
6072
|
+
displaced: qr,
|
|
6069
6073
|
displacedBy: Mp,
|
|
6070
6074
|
at: {
|
|
6071
6075
|
type: "REORDER",
|
|
@@ -6093,14 +6097,14 @@ var TE = function(e) {
|
|
|
6093
6097
|
var S = Boolean(t[l.axis.line] <= n.page.borderBox.center[l.axis.line]), y = function() {
|
|
6094
6098
|
var T = n.descriptor.index;
|
|
6095
6099
|
return n.descriptor.id === a.descriptor.id || S ? T : T + 1;
|
|
6096
|
-
}(), w =
|
|
6100
|
+
}(), w = rs(l.axis, a.displaceBy);
|
|
6097
6101
|
return Xs({
|
|
6098
6102
|
draggable: a,
|
|
6099
6103
|
insideDestination: r,
|
|
6100
6104
|
destination: l,
|
|
6101
6105
|
viewport: c,
|
|
6102
6106
|
displacedBy: w,
|
|
6103
|
-
last:
|
|
6107
|
+
last: qr,
|
|
6104
6108
|
index: y
|
|
6105
6109
|
});
|
|
6106
6110
|
}, _E = function(e) {
|
|
@@ -6113,7 +6117,7 @@ var TE = function(e) {
|
|
|
6113
6117
|
});
|
|
6114
6118
|
if (!u)
|
|
6115
6119
|
return null;
|
|
6116
|
-
var m =
|
|
6120
|
+
var m = An(u.descriptor.id, o), f = xE({
|
|
6117
6121
|
pageBorderBoxCenter: n,
|
|
6118
6122
|
viewport: c,
|
|
6119
6123
|
destination: u,
|
|
@@ -6179,7 +6183,7 @@ var TE = function(e) {
|
|
|
6179
6183
|
afterCritical: t.afterCritical
|
|
6180
6184
|
});
|
|
6181
6185
|
};
|
|
6182
|
-
function
|
|
6186
|
+
function Mn(e) {
|
|
6183
6187
|
return e.phase === "DRAGGING" || e.phase === "COLLECTING";
|
|
6184
6188
|
}
|
|
6185
6189
|
function $p(e) {
|
|
@@ -6193,10 +6197,10 @@ function RE(e, t) {
|
|
|
6193
6197
|
}
|
|
6194
6198
|
function PE(e) {
|
|
6195
6199
|
var t = e.pageBorderBox, n = e.draggable, r = e.candidates, a = n.page.borderBox.center, o = r.map(function(l) {
|
|
6196
|
-
var c = l.axis, p =
|
|
6200
|
+
var c = l.axis, p = Ln(l.axis.line, t.center[c.line], l.page.borderBox.center[c.crossAxisLine]);
|
|
6197
6201
|
return {
|
|
6198
6202
|
id: l.descriptor.id,
|
|
6199
|
-
distance:
|
|
6203
|
+
distance: zr(a, p)
|
|
6200
6204
|
};
|
|
6201
6205
|
}).sort(function(l, c) {
|
|
6202
6206
|
return c.distance - l.distance;
|
|
@@ -6222,7 +6226,7 @@ function BE(e) {
|
|
|
6222
6226
|
}) : null;
|
|
6223
6227
|
}
|
|
6224
6228
|
var Vp = function(t, n) {
|
|
6225
|
-
return _t(
|
|
6229
|
+
return _t(ns(t, n));
|
|
6226
6230
|
}, AE = function(e, t) {
|
|
6227
6231
|
var n = e.frame;
|
|
6228
6232
|
return n ? Vp(t, n.scroll.diff.value) : t;
|
|
@@ -6236,7 +6240,7 @@ function FE(e) {
|
|
|
6236
6240
|
return n ? r && n.descriptor.index > t.descriptor.index ? n.descriptor.index - 1 : n.descriptor.index : null;
|
|
6237
6241
|
}
|
|
6238
6242
|
var $E = function(e) {
|
|
6239
|
-
var t = e.pageBorderBoxWithDroppableScroll, n = e.draggable, r = e.destination, a = e.insideDestination, o = e.last, l = e.viewport, c = e.afterCritical, p = r.axis, u =
|
|
6243
|
+
var t = e.pageBorderBoxWithDroppableScroll, n = e.draggable, r = e.destination, a = e.insideDestination, o = e.last, l = e.viewport, c = e.afterCritical, p = r.axis, u = rs(r.axis, n.displaceBy), m = u.value, f = t[p.start], h = t[p.end], S = ma(n, a), y = vn(S, function(T) {
|
|
6240
6244
|
var D = T.descriptor.id, x = T.page.borderBox.center[p.line], k = gn(D, c), b = Kp({
|
|
6241
6245
|
displaced: o,
|
|
6242
6246
|
id: D
|
|
@@ -6260,7 +6264,7 @@ var $E = function(e) {
|
|
|
6260
6264
|
var t = e.draggable, n = e.pageBorderBoxWithDroppableScroll, r = e.previousImpact, a = e.destination, o = e.insideDestination, l = e.afterCritical;
|
|
6261
6265
|
if (!a.isCombineEnabled)
|
|
6262
6266
|
return null;
|
|
6263
|
-
var c = a.axis, p =
|
|
6267
|
+
var c = a.axis, p = rs(a.axis, t.displaceBy), u = p.value, m = n[c.start], f = n[c.end], h = ma(t, o), S = vn(h, function(w) {
|
|
6264
6268
|
var T = w.descriptor.id, D = w.page.borderBox, x = D[c.size], k = x / VE, b = gn(T, l), I = Kp({
|
|
6265
6269
|
displaced: r.displaced,
|
|
6266
6270
|
id: T
|
|
@@ -6289,7 +6293,7 @@ var $E = function(e) {
|
|
|
6289
6293
|
});
|
|
6290
6294
|
if (!u)
|
|
6291
6295
|
return tE;
|
|
6292
|
-
var m = a[u], f =
|
|
6296
|
+
var m = a[u], f = An(m.descriptor.id, r), h = AE(m, p);
|
|
6293
6297
|
return KE({
|
|
6294
6298
|
pageBorderBoxWithDroppableScroll: h,
|
|
6295
6299
|
draggable: n,
|
|
@@ -6331,7 +6335,7 @@ var $E = function(e) {
|
|
|
6331
6335
|
return l;
|
|
6332
6336
|
var u = Fp(p, t, n);
|
|
6333
6337
|
return oi(l, u);
|
|
6334
|
-
},
|
|
6338
|
+
}, Gr = function(e) {
|
|
6335
6339
|
var t = e.state, n = e.clientSelection, r = e.dimensions, a = e.viewport, o = e.impact, l = e.scrollJumpRequest, c = a || t.viewport, p = r || t.dimensions, u = n || t.current.client.selection, m = ft(u, t.initial.client.selection), f = {
|
|
6336
6340
|
offset: m,
|
|
6337
6341
|
selection: u,
|
|
@@ -6385,7 +6389,7 @@ function GE(e, t) {
|
|
|
6385
6389
|
});
|
|
6386
6390
|
}
|
|
6387
6391
|
var Wp = function(e) {
|
|
6388
|
-
var t = e.impact, n = e.viewport, r = e.draggables, a = e.destination, o = e.forceShouldAnimate, l = t.displaced, c = GE(l.all, r), p =
|
|
6392
|
+
var t = e.impact, n = e.viewport, r = e.draggables, a = e.destination, o = e.forceShouldAnimate, l = t.displaced, c = GE(l.all, r), p = Jr({
|
|
6389
6393
|
afterDragging: c,
|
|
6390
6394
|
destination: a,
|
|
6391
6395
|
displacedBy: t.displacedBy,
|
|
@@ -6427,7 +6431,7 @@ var Wp = function(e) {
|
|
|
6427
6431
|
viewport: o,
|
|
6428
6432
|
afterCritical: t.afterCritical
|
|
6429
6433
|
});
|
|
6430
|
-
return
|
|
6434
|
+
return Gr({
|
|
6431
6435
|
impact: h,
|
|
6432
6436
|
clientSelection: S,
|
|
6433
6437
|
state: t,
|
|
@@ -6440,7 +6444,7 @@ var Wp = function(e) {
|
|
|
6440
6444
|
droppableId: e.droppableId
|
|
6441
6445
|
};
|
|
6442
6446
|
}, Yp = function(e) {
|
|
6443
|
-
var t = e.draggable, n = e.home, r = e.draggables, a = e.viewport, o =
|
|
6447
|
+
var t = e.draggable, n = e.home, r = e.draggables, a = e.viewport, o = rs(n.axis, t.displaceBy), l = An(n.descriptor.id, r), c = l.indexOf(t);
|
|
6444
6448
|
c === -1 && (process.env.NODE_ENV !== "production" ? B(!1, "Expected draggable to be inside home list") : B(!1));
|
|
6445
6449
|
var p = l.slice(c + 1), u = p.reduce(function(S, y) {
|
|
6446
6450
|
return S[y.descriptor.id] = !0, S;
|
|
@@ -6448,7 +6452,7 @@ var Wp = function(e) {
|
|
|
6448
6452
|
inVirtualList: n.descriptor.mode === "virtual",
|
|
6449
6453
|
displacedBy: o,
|
|
6450
6454
|
effected: u
|
|
6451
|
-
}, f =
|
|
6455
|
+
}, f = Jr({
|
|
6452
6456
|
afterDragging: p,
|
|
6453
6457
|
destination: n,
|
|
6454
6458
|
displacedBy: o,
|
|
@@ -6472,10 +6476,10 @@ var Wp = function(e) {
|
|
|
6472
6476
|
draggables: e.draggables,
|
|
6473
6477
|
droppables: oi(e.droppables, t)
|
|
6474
6478
|
};
|
|
6475
|
-
}, rs = function(t) {
|
|
6476
|
-
process.env.NODE_ENV;
|
|
6477
6479
|
}, ss = function(t) {
|
|
6478
6480
|
process.env.NODE_ENV;
|
|
6481
|
+
}, as = function(t) {
|
|
6482
|
+
process.env.NODE_ENV;
|
|
6479
6483
|
}, jE = function(e) {
|
|
6480
6484
|
var t = e.draggable, n = e.offset, r = e.initialWindowScroll, a = zs(t.client, n), o = qs(a, r), l = ue({}, t, {
|
|
6481
6485
|
placeholder: ue({}, t.placeholder, {
|
|
@@ -6500,7 +6504,7 @@ var Wp = function(e) {
|
|
|
6500
6504
|
});
|
|
6501
6505
|
}, JE = function(e) {
|
|
6502
6506
|
var t = e.state, n = e.published;
|
|
6503
|
-
|
|
6507
|
+
ss();
|
|
6504
6508
|
var r = n.modified.map(function(k) {
|
|
6505
6509
|
var b = t.dimensions.droppables[k.droppableId], I = Qo(b, k.scroll);
|
|
6506
6510
|
return I;
|
|
@@ -6529,7 +6533,7 @@ var Wp = function(e) {
|
|
|
6529
6533
|
viewport: t.viewport,
|
|
6530
6534
|
afterCritical: y
|
|
6531
6535
|
});
|
|
6532
|
-
|
|
6536
|
+
as();
|
|
6533
6537
|
var D = ue({
|
|
6534
6538
|
phase: "DRAGGING"
|
|
6535
6539
|
}, t, {
|
|
@@ -6554,7 +6558,7 @@ var Wp = function(e) {
|
|
|
6554
6558
|
return t.movementMode === "SNAP";
|
|
6555
6559
|
}, Xa = function(t, n, r) {
|
|
6556
6560
|
var a = YE(t.dimensions, n);
|
|
6557
|
-
return !No(t) || r ?
|
|
6561
|
+
return !No(t) || r ? Gr({
|
|
6558
6562
|
state: t,
|
|
6559
6563
|
dimensions: a
|
|
6560
6564
|
}) : Up({
|
|
@@ -6635,9 +6639,9 @@ var Pc = {
|
|
|
6635
6639
|
if (t.type === "MOVE") {
|
|
6636
6640
|
if (e.phase === "DROP_PENDING")
|
|
6637
6641
|
return e;
|
|
6638
|
-
|
|
6642
|
+
Mn(e) || (process.env.NODE_ENV !== "production" ? B(!1, t.type + " not permitted in phase " + e.phase) : B(!1));
|
|
6639
6643
|
var x = t.payload.client;
|
|
6640
|
-
return fn(x, e.current.client.selection) ? e :
|
|
6644
|
+
return fn(x, e.current.client.selection) ? e : Gr({
|
|
6641
6645
|
state: e,
|
|
6642
6646
|
clientSelection: x,
|
|
6643
6647
|
impact: No(e) ? e.impact : null
|
|
@@ -6646,7 +6650,7 @@ var Pc = {
|
|
|
6646
6650
|
if (t.type === "UPDATE_DROPPABLE_SCROLL") {
|
|
6647
6651
|
if (e.phase === "DROP_PENDING" || e.phase === "COLLECTING")
|
|
6648
6652
|
return Qa(e);
|
|
6649
|
-
|
|
6653
|
+
Mn(e) || (process.env.NODE_ENV !== "production" ? B(!1, t.type + " not permitted in phase " + e.phase) : B(!1));
|
|
6650
6654
|
var k = t.payload, b = k.id, I = k.newScroll, O = e.dimensions.droppables[b];
|
|
6651
6655
|
if (!O)
|
|
6652
6656
|
return e;
|
|
@@ -6656,7 +6660,7 @@ var Pc = {
|
|
|
6656
6660
|
if (t.type === "UPDATE_DROPPABLE_IS_ENABLED") {
|
|
6657
6661
|
if (e.phase === "DROP_PENDING")
|
|
6658
6662
|
return e;
|
|
6659
|
-
|
|
6663
|
+
Mn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Attempting to move in an unsupported phase " + e.phase) : B(!1));
|
|
6660
6664
|
var L = t.payload, R = L.id, K = L.isEnabled, _ = e.dimensions.droppables[R];
|
|
6661
6665
|
_ || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot find Droppable[id: " + R + "] to toggle its enabled state") : B(!1)), _.isEnabled === K && (process.env.NODE_ENV !== "production" ? B(!1, "Trying to set droppable isEnabled to " + String(K) + `
|
|
6662
6666
|
but it is already ` + String(_.isEnabled)) : B(!1));
|
|
@@ -6668,7 +6672,7 @@ var Pc = {
|
|
|
6668
6672
|
if (t.type === "UPDATE_DROPPABLE_IS_COMBINE_ENABLED") {
|
|
6669
6673
|
if (e.phase === "DROP_PENDING")
|
|
6670
6674
|
return e;
|
|
6671
|
-
|
|
6675
|
+
Mn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Attempting to move in an unsupported phase " + e.phase) : B(!1));
|
|
6672
6676
|
var N = t.payload, A = N.id, Q = N.isCombineEnabled, q = e.dimensions.droppables[A];
|
|
6673
6677
|
q || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot find Droppable[id: " + A + "] to toggle its isCombineEnabled state") : B(!1)), q.isCombineEnabled === Q && (process.env.NODE_ENV !== "production" ? B(!1, "Trying to set droppable isCombineEnabled to " + String(Q) + `
|
|
6674
6678
|
but it is already ` + String(q.isCombineEnabled)) : B(!1));
|
|
@@ -6680,7 +6684,7 @@ var Pc = {
|
|
|
6680
6684
|
if (t.type === "MOVE_BY_WINDOW_SCROLL") {
|
|
6681
6685
|
if (e.phase === "DROP_PENDING" || e.phase === "DROP_ANIMATING")
|
|
6682
6686
|
return e;
|
|
6683
|
-
|
|
6687
|
+
Mn(e) || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot move by window in phase " + e.phase) : B(!1)), e.isWindowScrollAllowed || (process.env.NODE_ENV !== "production" ? B(!1, "Window scrolling is currently not supported for fixed lists") : B(!1));
|
|
6684
6688
|
var J = t.payload.newScroll;
|
|
6685
6689
|
if (fn(e.viewport.scroll.current, J))
|
|
6686
6690
|
return Qa(e);
|
|
@@ -6688,13 +6692,13 @@ var Pc = {
|
|
|
6688
6692
|
return No(e) ? Up({
|
|
6689
6693
|
state: e,
|
|
6690
6694
|
viewport: H
|
|
6691
|
-
}) :
|
|
6695
|
+
}) : Gr({
|
|
6692
6696
|
state: e,
|
|
6693
6697
|
viewport: H
|
|
6694
6698
|
});
|
|
6695
6699
|
}
|
|
6696
6700
|
if (t.type === "UPDATE_VIEWPORT_MAX_SCROLL") {
|
|
6697
|
-
if (!
|
|
6701
|
+
if (!Mn(e))
|
|
6698
6702
|
return e;
|
|
6699
6703
|
var F = t.payload.maxScroll;
|
|
6700
6704
|
if (fn(F, e.viewport.scroll.max))
|
|
@@ -6718,7 +6722,7 @@ var Pc = {
|
|
|
6718
6722
|
state: e,
|
|
6719
6723
|
type: t.type
|
|
6720
6724
|
});
|
|
6721
|
-
return j ?
|
|
6725
|
+
return j ? Gr({
|
|
6722
6726
|
state: e,
|
|
6723
6727
|
impact: j.impact,
|
|
6724
6728
|
clientSelection: j.clientSelection,
|
|
@@ -6889,7 +6893,7 @@ function fT(e) {
|
|
|
6889
6893
|
}
|
|
6890
6894
|
function hT(e, t) {
|
|
6891
6895
|
if (process.env.NODE_ENV !== "production") {
|
|
6892
|
-
var n =
|
|
6896
|
+
var n = An(e.droppable.id, t.draggables);
|
|
6893
6897
|
fT(n);
|
|
6894
6898
|
}
|
|
6895
6899
|
}
|
|
@@ -6936,7 +6940,7 @@ var gT = function(e) {
|
|
|
6936
6940
|
}, ci = {
|
|
6937
6941
|
outOfTheWay: "cubic-bezier(0.2, 0, 0, 1)",
|
|
6938
6942
|
drop: "cubic-bezier(.2,1,.1,1)"
|
|
6939
|
-
},
|
|
6943
|
+
}, Zr = {
|
|
6940
6944
|
opacity: {
|
|
6941
6945
|
drop: 0,
|
|
6942
6946
|
combining: 0.7
|
|
@@ -6948,25 +6952,25 @@ var gT = function(e) {
|
|
|
6948
6952
|
outOfTheWay: 0.2,
|
|
6949
6953
|
minDropTime: 0.33,
|
|
6950
6954
|
maxDropTime: 0.55
|
|
6951
|
-
},
|
|
6952
|
-
fluid: "opacity " +
|
|
6953
|
-
snap: "transform " +
|
|
6955
|
+
}, xn = di.outOfTheWay + "s " + ci.outOfTheWay, Ur = {
|
|
6956
|
+
fluid: "opacity " + xn,
|
|
6957
|
+
snap: "transform " + xn + ", opacity " + xn,
|
|
6954
6958
|
drop: function(t) {
|
|
6955
6959
|
var n = t + "s " + ci.drop;
|
|
6956
6960
|
return "transform " + n + ", opacity " + n;
|
|
6957
6961
|
},
|
|
6958
|
-
outOfTheWay: "transform " +
|
|
6959
|
-
placeholder: "height " +
|
|
6962
|
+
outOfTheWay: "transform " + xn,
|
|
6963
|
+
placeholder: "height " + xn + ", width " + xn + ", margin " + xn
|
|
6960
6964
|
}, Bc = function(t) {
|
|
6961
6965
|
return fn(t, Je) ? null : "translate(" + t.x + "px, " + t.y + "px)";
|
|
6962
6966
|
}, xo = {
|
|
6963
6967
|
moveTo: Bc,
|
|
6964
6968
|
drop: function(t, n) {
|
|
6965
6969
|
var r = Bc(t);
|
|
6966
|
-
return r ? n ? r + " scale(" +
|
|
6970
|
+
return r ? n ? r + " scale(" + Zr.scale.drop + ")" : r : null;
|
|
6967
6971
|
}
|
|
6968
6972
|
}, Io = di.minDropTime, Jp = di.maxDropTime, bT = Jp - Io, Ac = 1500, vT = 0.6, yT = function(e) {
|
|
6969
|
-
var t = e.current, n = e.destination, r = e.reason, a =
|
|
6973
|
+
var t = e.current, n = e.destination, r = e.reason, a = zr(t, n);
|
|
6970
6974
|
if (a <= 0)
|
|
6971
6975
|
return Io;
|
|
6972
6976
|
if (a >= Ac)
|
|
@@ -7004,7 +7008,7 @@ var gT = function(e) {
|
|
|
7004
7008
|
didDropInsideDroppable: !0
|
|
7005
7009
|
};
|
|
7006
7010
|
var p = ue({}, r, {
|
|
7007
|
-
displaced:
|
|
7011
|
+
displaced: qr
|
|
7008
7012
|
});
|
|
7009
7013
|
return {
|
|
7010
7014
|
impact: p,
|
|
@@ -7101,7 +7105,7 @@ function DT(e) {
|
|
|
7101
7105
|
function n() {
|
|
7102
7106
|
t(Zp());
|
|
7103
7107
|
}
|
|
7104
|
-
var r =
|
|
7108
|
+
var r = Yr(n), a = CT(r), o = mn;
|
|
7105
7109
|
function l() {
|
|
7106
7110
|
return o !== mn;
|
|
7107
7111
|
}
|
|
@@ -7190,8 +7194,8 @@ var NT = function(t) {
|
|
|
7190
7194
|
var r = t.draggable.id === n.draggable.id && t.draggable.droppableId === n.draggable.droppableId && t.draggable.type === n.draggable.type && t.draggable.index === n.draggable.index, a = t.droppable.id === n.droppable.id && t.droppable.type === n.droppable.type;
|
|
7191
7195
|
return r && a;
|
|
7192
7196
|
}, Ar = function(t, n) {
|
|
7193
|
-
|
|
7194
|
-
},
|
|
7197
|
+
ss(), n(), as();
|
|
7198
|
+
}, Ls = function(t, n) {
|
|
7195
7199
|
return {
|
|
7196
7200
|
draggableId: t.draggable.id,
|
|
7197
7201
|
type: t.droppable.type,
|
|
@@ -7225,11 +7229,11 @@ var NT = function(t) {
|
|
|
7225
7229
|
}, o = function(h, S) {
|
|
7226
7230
|
r && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot fire onBeforeDragStart as a drag start has already been published") : B(!1)), Ar("onBeforeDragStart", function() {
|
|
7227
7231
|
var y = e().onBeforeDragStart;
|
|
7228
|
-
y && y(
|
|
7232
|
+
y && y(Ls(h, S));
|
|
7229
7233
|
});
|
|
7230
7234
|
}, l = function(h, S) {
|
|
7231
7235
|
r && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot fire onBeforeDragStart as a drag start has already been published") : B(!1));
|
|
7232
|
-
var y =
|
|
7236
|
+
var y = Ls(h, S);
|
|
7233
7237
|
r = {
|
|
7234
7238
|
mode: S,
|
|
7235
7239
|
lastCritical: h,
|
|
@@ -7249,7 +7253,7 @@ var NT = function(t) {
|
|
|
7249
7253
|
D && (r.lastLocation = y);
|
|
7250
7254
|
var x = !_T(r.lastCombine, w);
|
|
7251
7255
|
if (x && (r.lastCombine = w), !(!T && !D && !x)) {
|
|
7252
|
-
var k = ue({},
|
|
7256
|
+
var k = ue({}, Ls(h, r.mode), {
|
|
7253
7257
|
combine: w,
|
|
7254
7258
|
destination: y
|
|
7255
7259
|
});
|
|
@@ -7267,7 +7271,7 @@ var NT = function(t) {
|
|
|
7267
7271
|
});
|
|
7268
7272
|
}, m = function() {
|
|
7269
7273
|
if (!!r) {
|
|
7270
|
-
var h = ue({},
|
|
7274
|
+
var h = ue({}, Ls(r.lastCritical, r.mode), {
|
|
7271
7275
|
combine: null,
|
|
7272
7276
|
destination: null,
|
|
7273
7277
|
reason: "CANCEL"
|
|
@@ -7428,7 +7432,7 @@ var NT = function(t) {
|
|
|
7428
7432
|
function GT(e) {
|
|
7429
7433
|
var t = e.registry, n = e.callbacks, r = to(), a = null, o = function() {
|
|
7430
7434
|
a || (n.collectionStarting(), a = requestAnimationFrame(function() {
|
|
7431
|
-
a = null,
|
|
7435
|
+
a = null, ss();
|
|
7432
7436
|
var m = r, f = m.additions, h = m.removals, S = m.modified, y = Object.keys(f).map(function(D) {
|
|
7433
7437
|
return t.draggable.getById(D).getDimension(Je);
|
|
7434
7438
|
}).sort(function(D, x) {
|
|
@@ -7444,7 +7448,7 @@ function GT(e) {
|
|
|
7444
7448
|
removals: Object.keys(h),
|
|
7445
7449
|
modified: w
|
|
7446
7450
|
};
|
|
7447
|
-
r = to(),
|
|
7451
|
+
r = to(), as(), n.publish(T);
|
|
7448
7452
|
}));
|
|
7449
7453
|
}, l = function(m) {
|
|
7450
7454
|
var f = m.descriptor.id;
|
|
@@ -7505,7 +7509,7 @@ var Xp = function(e) {
|
|
|
7505
7509
|
return m;
|
|
7506
7510
|
}, YT = function(e) {
|
|
7507
7511
|
var t = e.critical, n = e.scrollOptions, r = e.registry;
|
|
7508
|
-
|
|
7512
|
+
ss();
|
|
7509
7513
|
var a = UT(), o = a.scroll.current, l = t.droppable, c = r.droppable.getAllByType(l.type).map(function(f) {
|
|
7510
7514
|
return f.callbacks.getDimensionAndWatchScroll(o, n);
|
|
7511
7515
|
}), p = r.draggable.getAllByType(t.draggable.type).map(function(f) {
|
|
@@ -7514,7 +7518,7 @@ var Xp = function(e) {
|
|
|
7514
7518
|
draggables: kp(p),
|
|
7515
7519
|
droppables: Ip(c)
|
|
7516
7520
|
};
|
|
7517
|
-
|
|
7521
|
+
as();
|
|
7518
7522
|
var m = {
|
|
7519
7523
|
dimensions: u,
|
|
7520
7524
|
critical: t,
|
|
@@ -7823,7 +7827,7 @@ var jT = function(e, t) {
|
|
|
7823
7827
|
h && o(f.descriptor.id, h);
|
|
7824
7828
|
}
|
|
7825
7829
|
}, lw = function(e) {
|
|
7826
|
-
var t = e.scrollWindow, n = e.scrollDroppable, r =
|
|
7830
|
+
var t = e.scrollWindow, n = e.scrollDroppable, r = Yr(t), a = Yr(n), o = null, l = function(m) {
|
|
7827
7831
|
o || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot fluid scroll if not dragging") : B(!1));
|
|
7828
7832
|
var f = o, h = f.shouldUseTimeDampening, S = f.dragStartTime;
|
|
7829
7833
|
Wc({
|
|
@@ -7834,7 +7838,7 @@ var jT = function(e, t) {
|
|
|
7834
7838
|
shouldUseTimeDampening: h
|
|
7835
7839
|
});
|
|
7836
7840
|
}, c = function(m) {
|
|
7837
|
-
|
|
7841
|
+
ss(), o && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot start auto scrolling when already started") : B(!1));
|
|
7838
7842
|
var f = Date.now(), h = !1, S = function() {
|
|
7839
7843
|
h = !0;
|
|
7840
7844
|
};
|
|
@@ -7847,7 +7851,7 @@ var jT = function(e, t) {
|
|
|
7847
7851
|
}), o = {
|
|
7848
7852
|
dragStartTime: f,
|
|
7849
7853
|
shouldUseTimeDampening: h
|
|
7850
|
-
},
|
|
7854
|
+
}, as(), h && l(m);
|
|
7851
7855
|
}, p = function() {
|
|
7852
7856
|
!o || (r.cancel(), a.cancel(), o = null);
|
|
7853
7857
|
};
|
|
@@ -7970,7 +7974,7 @@ var jT = function(e, t) {
|
|
|
7970
7974
|
};
|
|
7971
7975
|
}(), r = function() {
|
|
7972
7976
|
var c = `
|
|
7973
|
-
transition: ` +
|
|
7977
|
+
transition: ` + Ur.outOfTheWay + `;
|
|
7974
7978
|
`;
|
|
7975
7979
|
return {
|
|
7976
7980
|
selector: t(ko.contextId),
|
|
@@ -8056,7 +8060,7 @@ function hw(e, t) {
|
|
|
8056
8060
|
var au = function(e) {
|
|
8057
8061
|
return e && e.ownerDocument ? e.ownerDocument.defaultView : window;
|
|
8058
8062
|
};
|
|
8059
|
-
function
|
|
8063
|
+
function os(e) {
|
|
8060
8064
|
return e instanceof au(e).HTMLElement;
|
|
8061
8065
|
}
|
|
8062
8066
|
function ou(e, t) {
|
|
@@ -8066,7 +8070,7 @@ function ou(e, t) {
|
|
|
8066
8070
|
var a = vn(r, function(o) {
|
|
8067
8071
|
return o.getAttribute(gr.draggableId) === t;
|
|
8068
8072
|
});
|
|
8069
|
-
return a ?
|
|
8073
|
+
return a ? os(a) ? a : (process.env.NODE_ENV !== "production" && Re("drag handle needs to be a HTMLElement"), null) : (process.env.NODE_ENV !== "production" && Re('Unable to find drag handle with id "' + t + '" as no handle with a matching id was found'), null);
|
|
8070
8074
|
}
|
|
8071
8075
|
function gw(e) {
|
|
8072
8076
|
var t = pe({}), n = pe(null), r = pe(null), a = pe(!1), o = me(function(h, S) {
|
|
@@ -8207,7 +8211,7 @@ function bw() {
|
|
|
8207
8211
|
};
|
|
8208
8212
|
}, [e]), e;
|
|
8209
8213
|
}
|
|
8210
|
-
var hi = Y.createContext(null),
|
|
8214
|
+
var hi = Y.createContext(null), Xr = function() {
|
|
8211
8215
|
var e = document.body;
|
|
8212
8216
|
return e || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot find document.body") : B(!1)), e;
|
|
8213
8217
|
}, vw = {
|
|
@@ -8229,9 +8233,9 @@ function Ew(e) {
|
|
|
8229
8233
|
}, [e]), n = pe(null);
|
|
8230
8234
|
Le(function() {
|
|
8231
8235
|
var o = document.createElement("div");
|
|
8232
|
-
return n.current = o, o.id = t, o.setAttribute("aria-live", "assertive"), o.setAttribute("aria-atomic", "true"), ue(o.style, vw),
|
|
8236
|
+
return n.current = o, o.id = t, o.setAttribute("aria-live", "assertive"), o.setAttribute("aria-atomic", "true"), ue(o.style, vw), Xr().appendChild(o), function() {
|
|
8233
8237
|
setTimeout(function() {
|
|
8234
|
-
var p =
|
|
8238
|
+
var p = Xr();
|
|
8235
8239
|
p.contains(o) && p.removeChild(o), o === n.current && (n.current = null);
|
|
8236
8240
|
});
|
|
8237
8241
|
};
|
|
@@ -8281,8 +8285,8 @@ function Dw(e) {
|
|
|
8281
8285
|
}, [r, t]);
|
|
8282
8286
|
return Le(function() {
|
|
8283
8287
|
var l = document.createElement("div");
|
|
8284
|
-
return l.id = a, l.textContent = n, l.style.display = "none",
|
|
8285
|
-
var p =
|
|
8288
|
+
return l.id = a, l.textContent = n, l.style.display = "none", Xr().appendChild(l), function() {
|
|
8289
|
+
var p = Xr();
|
|
8286
8290
|
p.contains(l) && p.removeChild(l);
|
|
8287
8291
|
};
|
|
8288
8292
|
}, [a, n]), a;
|
|
@@ -8339,7 +8343,7 @@ var ha = Y.createContext(null), Nw = {
|
|
|
8339
8343
|
function Si(e) {
|
|
8340
8344
|
process.env.NODE_ENV !== "production" && e();
|
|
8341
8345
|
}
|
|
8342
|
-
function
|
|
8346
|
+
function is(e, t) {
|
|
8343
8347
|
Si(function() {
|
|
8344
8348
|
Le(function() {
|
|
8345
8349
|
try {
|
|
@@ -8355,7 +8359,7 @@ function os(e, t) {
|
|
|
8355
8359
|
});
|
|
8356
8360
|
}
|
|
8357
8361
|
function _w() {
|
|
8358
|
-
|
|
8362
|
+
is(function() {
|
|
8359
8363
|
kw(Nw.react, Y.version), Mw(document);
|
|
8360
8364
|
}, []);
|
|
8361
8365
|
}
|
|
@@ -8394,7 +8398,7 @@ function Lw() {
|
|
|
8394
8398
|
tryAbandon: o
|
|
8395
8399
|
};
|
|
8396
8400
|
}
|
|
8397
|
-
var Ow = 9, Rw = 13, vi = 27, lu = 32, Pw = 33, Bw = 34, Aw = 35, Fw = 36, $w = 37, Vw = 38, Kw = 39, Hw = 40,
|
|
8401
|
+
var Ow = 9, Rw = 13, vi = 27, lu = 32, Pw = 33, Bw = 34, Aw = 35, Fw = 36, $w = 37, Vw = 38, Kw = 39, Hw = 40, Os, Ww = (Os = {}, Os[Rw] = !0, Os[Ow] = !0, Os), cu = function(e) {
|
|
8398
8402
|
Ww[e.keyCode] && e.preventDefault();
|
|
8399
8403
|
}, ga = function() {
|
|
8400
8404
|
var e = "visibilitychange";
|
|
@@ -8879,7 +8883,7 @@ function tC(e) {
|
|
|
8879
8883
|
function nC(e) {
|
|
8880
8884
|
Si(function() {
|
|
8881
8885
|
var t = bi(e);
|
|
8882
|
-
|
|
8886
|
+
is(function() {
|
|
8883
8887
|
t.current.length !== e.length && (process.env.NODE_ENV !== "production" ? B(!1, "Cannot change the amount of sensor hooks after mounting") : B(!1));
|
|
8884
8888
|
});
|
|
8885
8889
|
});
|
|
@@ -8905,7 +8909,7 @@ function pu(e, t) {
|
|
|
8905
8909
|
}
|
|
8906
8910
|
function sC(e, t) {
|
|
8907
8911
|
var n = t.target;
|
|
8908
|
-
return
|
|
8912
|
+
return os(n) ? pu(e, n) : !1;
|
|
8909
8913
|
}
|
|
8910
8914
|
var aC = function(e) {
|
|
8911
8915
|
return _t(e.getBoundingClientRect()).center;
|
|
@@ -8936,7 +8940,7 @@ function dC(e, t) {
|
|
|
8936
8940
|
if (!oC(n))
|
|
8937
8941
|
return process.env.NODE_ENV !== "production" && Re("event.target must be a Element"), null;
|
|
8938
8942
|
var r = cC(e), a = lC(n, r);
|
|
8939
|
-
return a ?
|
|
8943
|
+
return a ? os(a) ? a : (process.env.NODE_ENV !== "production" && Re("drag handle must be a HTMLElement"), null) : null;
|
|
8940
8944
|
}
|
|
8941
8945
|
function pC(e, t) {
|
|
8942
8946
|
var n = dC(e, t);
|
|
@@ -8946,12 +8950,12 @@ function uC(e, t) {
|
|
|
8946
8950
|
var n = "[" + ko.contextId + '="' + e + '"]', r = xp(document.querySelectorAll(n)), a = vn(r, function(o) {
|
|
8947
8951
|
return o.getAttribute(ko.id) === t;
|
|
8948
8952
|
});
|
|
8949
|
-
return a ?
|
|
8953
|
+
return a ? os(a) ? a : (process.env.NODE_ENV !== "production" && Re("Draggable element is not a HTMLElement"), null) : null;
|
|
8950
8954
|
}
|
|
8951
8955
|
function mC(e) {
|
|
8952
8956
|
e.preventDefault();
|
|
8953
8957
|
}
|
|
8954
|
-
function
|
|
8958
|
+
function Rs(e) {
|
|
8955
8959
|
var t = e.expected, n = e.phase, r = e.isLockActive, a = e.shouldWarn;
|
|
8956
8960
|
return r() ? t !== n ? (a && process.env.NODE_ENV !== "production" && Re(`
|
|
8957
8961
|
Cannot perform action.
|
|
@@ -9002,7 +9006,7 @@ function fC(e) {
|
|
|
9002
9006
|
return t.isActive(f);
|
|
9003
9007
|
}
|
|
9004
9008
|
function w(O, M) {
|
|
9005
|
-
|
|
9009
|
+
Rs({
|
|
9006
9010
|
expected: O,
|
|
9007
9011
|
phase: h,
|
|
9008
9012
|
isLockActive: y,
|
|
@@ -9036,7 +9040,7 @@ function fC(e) {
|
|
|
9036
9040
|
}
|
|
9037
9041
|
return ue({
|
|
9038
9042
|
isActive: function() {
|
|
9039
|
-
return
|
|
9043
|
+
return Rs({
|
|
9040
9044
|
expected: "DRAGGING",
|
|
9041
9045
|
phase: h,
|
|
9042
9046
|
isLockActive: y,
|
|
@@ -9053,7 +9057,7 @@ function fC(e) {
|
|
|
9053
9057
|
}, O.actions);
|
|
9054
9058
|
}
|
|
9055
9059
|
function x(O) {
|
|
9056
|
-
var M =
|
|
9060
|
+
var M = Yr(function(R) {
|
|
9057
9061
|
T(function() {
|
|
9058
9062
|
return jp({
|
|
9059
9063
|
client: R
|
|
@@ -9102,7 +9106,7 @@ function fC(e) {
|
|
|
9102
9106
|
});
|
|
9103
9107
|
}
|
|
9104
9108
|
function b() {
|
|
9105
|
-
var O =
|
|
9109
|
+
var O = Rs({
|
|
9106
9110
|
expected: "PRE_DRAG",
|
|
9107
9111
|
phase: h,
|
|
9108
9112
|
isLockActive: y,
|
|
@@ -9112,7 +9116,7 @@ function fC(e) {
|
|
|
9112
9116
|
}
|
|
9113
9117
|
var I = {
|
|
9114
9118
|
isActive: function() {
|
|
9115
|
-
return
|
|
9119
|
+
return Rs({
|
|
9116
9120
|
expected: "PRE_DRAG",
|
|
9117
9121
|
phase: h,
|
|
9118
9122
|
isLockActive: y,
|
|
@@ -9246,7 +9250,7 @@ function bC(e) {
|
|
|
9246
9250
|
var O = me(function(R) {
|
|
9247
9251
|
return tu($r(l).getState(), R);
|
|
9248
9252
|
}, []), M = me(function() {
|
|
9249
|
-
return
|
|
9253
|
+
return Mn($r(l).getState());
|
|
9250
9254
|
}, []), L = Ce(function() {
|
|
9251
9255
|
return {
|
|
9252
9256
|
marshal: w,
|
|
@@ -9320,7 +9324,7 @@ var yi = function(t) {
|
|
|
9320
9324
|
}, NC = function() {
|
|
9321
9325
|
if (process.env.NODE_ENV === "production")
|
|
9322
9326
|
return !1;
|
|
9323
|
-
var t =
|
|
9327
|
+
var t = Xr(), n = document.documentElement;
|
|
9324
9328
|
if (n || (process.env.NODE_ENV, B(!1)), !hu(t))
|
|
9325
9329
|
return !1;
|
|
9326
9330
|
var r = window.getComputedStyle(n), a = {
|
|
@@ -9461,7 +9465,7 @@ function Qs(e) {
|
|
|
9461
9465
|
var t = rn(e);
|
|
9462
9466
|
return t || (process.env.NODE_ENV !== "production" ? B(!1, "Could not find required context") : B(!1)), t;
|
|
9463
9467
|
}
|
|
9464
|
-
var
|
|
9468
|
+
var Ps = function(t) {
|
|
9465
9469
|
return t && t.env.closestScrollable || null;
|
|
9466
9470
|
};
|
|
9467
9471
|
function PC(e) {
|
|
@@ -9487,9 +9491,9 @@ function PC(e) {
|
|
|
9487
9491
|
var b = m();
|
|
9488
9492
|
u(b.x, b.y);
|
|
9489
9493
|
}, [m, u]), h = Ce(function() {
|
|
9490
|
-
return
|
|
9494
|
+
return Yr(f);
|
|
9491
9495
|
}, [f]), S = me(function() {
|
|
9492
|
-
var b = t.current, I =
|
|
9496
|
+
var b = t.current, I = Ps(b);
|
|
9493
9497
|
b && I || (process.env.NODE_ENV !== "production" ? B(!1, "Could not find scroll options while scrolling") : B(!1));
|
|
9494
9498
|
var O = b.scrollOptions;
|
|
9495
9499
|
if (O.shouldPublishImmediately) {
|
|
@@ -9520,17 +9524,17 @@ function PC(e) {
|
|
|
9520
9524
|
}), _ = L.closestScrollable;
|
|
9521
9525
|
return _ && (_.setAttribute(Gc.contextId, n.contextId), _.addEventListener("scroll", S, Jc(R.scrollOptions)), process.env.NODE_ENV !== "production" && xC(_)), K;
|
|
9522
9526
|
}, [n.contextId, c, S, l]), w = me(function() {
|
|
9523
|
-
var b = t.current, I =
|
|
9527
|
+
var b = t.current, I = Ps(b);
|
|
9524
9528
|
return b && I || (process.env.NODE_ENV !== "production" ? B(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : B(!1)), Mo(I);
|
|
9525
9529
|
}, []), T = me(function() {
|
|
9526
9530
|
var b = t.current;
|
|
9527
9531
|
b || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot stop drag when no active drag") : B(!1));
|
|
9528
|
-
var I =
|
|
9532
|
+
var I = Ps(b);
|
|
9529
9533
|
t.current = null, I && (h.cancel(), I.removeAttribute(Gc.contextId), I.removeEventListener("scroll", S, Jc(b.scrollOptions)));
|
|
9530
9534
|
}, [S, h]), D = me(function(b) {
|
|
9531
9535
|
var I = t.current;
|
|
9532
9536
|
I || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot scroll when there is no drag") : B(!1));
|
|
9533
|
-
var O =
|
|
9537
|
+
var O = Ps(I);
|
|
9534
9538
|
O || (process.env.NODE_ENV !== "production" ? B(!1, "Cannot scroll a droppable with no closest scrollable") : B(!1)), O.scrollTop += b.y, O.scrollLeft += b.x;
|
|
9535
9539
|
}, []), x = Ce(function() {
|
|
9536
9540
|
return {
|
|
@@ -9587,7 +9591,7 @@ var Zc = {
|
|
|
9587
9591
|
flexShrink: "0",
|
|
9588
9592
|
flexGrow: "0",
|
|
9589
9593
|
pointerEvents: "none",
|
|
9590
|
-
transition: a !== "none" ?
|
|
9594
|
+
transition: a !== "none" ? Ur.placeholder : null
|
|
9591
9595
|
};
|
|
9592
9596
|
};
|
|
9593
9597
|
function FC(e) {
|
|
@@ -9615,7 +9619,7 @@ function FC(e) {
|
|
|
9615
9619
|
}
|
|
9616
9620
|
var $C = Y.memo(FC), Ei = Y.createContext(null);
|
|
9617
9621
|
function Su(e) {
|
|
9618
|
-
e &&
|
|
9622
|
+
e && os(e) || (process.env.NODE_ENV !== "production" ? B(!1, `
|
|
9619
9623
|
provided.innerRef has not been provided with a HTMLElement.
|
|
9620
9624
|
|
|
9621
9625
|
You can find a guide on using the innerRef callback functions at:
|
|
@@ -9659,7 +9663,7 @@ var VC = [function(t) {
|
|
|
9659
9663
|
n() && (process.env.NODE_ENV !== "production" ? B(!1, "Expected virtual list to not have a placeholder") : B(!1));
|
|
9660
9664
|
}];
|
|
9661
9665
|
function WC(e) {
|
|
9662
|
-
|
|
9666
|
+
is(function() {
|
|
9663
9667
|
io(e, VC), e.props.mode === "standard" && io(e, KC), e.props.mode === "virtual" && io(e, HC);
|
|
9664
9668
|
});
|
|
9665
9669
|
}
|
|
@@ -9712,9 +9716,9 @@ var GC = function(e) {
|
|
|
9712
9716
|
dragging: 5e3,
|
|
9713
9717
|
dropAnimating: 4500
|
|
9714
9718
|
}, UC = function(t, n) {
|
|
9715
|
-
return n ?
|
|
9719
|
+
return n ? Ur.drop(n.duration) : t ? Ur.snap : Ur.fluid;
|
|
9716
9720
|
}, YC = function(t, n) {
|
|
9717
|
-
return t ? n ?
|
|
9721
|
+
return t ? n ? Zr.opacity.drop : Zr.opacity.combining : null;
|
|
9718
9722
|
}, jC = function(t) {
|
|
9719
9723
|
return t.forceShouldAnimate != null ? t.forceShouldAnimate : t.mode === "SNAP";
|
|
9720
9724
|
};
|
|
@@ -9793,7 +9797,7 @@ function XC(e) {
|
|
|
9793
9797
|
}, [m, r.draggable]);
|
|
9794
9798
|
}
|
|
9795
9799
|
function QC(e, t, n) {
|
|
9796
|
-
|
|
9800
|
+
is(function() {
|
|
9797
9801
|
function r(o) {
|
|
9798
9802
|
return "Draggable[id: " + o + "]: ";
|
|
9799
9803
|
}
|
|
@@ -9805,7 +9809,7 @@ function QC(e, t, n) {
|
|
|
9805
9809
|
function eD(e) {
|
|
9806
9810
|
Si(function() {
|
|
9807
9811
|
var t = pe(e);
|
|
9808
|
-
|
|
9812
|
+
is(function() {
|
|
9809
9813
|
e !== t.current && (process.env.NODE_ENV !== "production" ? B(!1, "Draggable isClone prop value changed during component life") : B(!1));
|
|
9810
9814
|
}, [e]);
|
|
9811
9815
|
});
|
|
@@ -9931,8 +9935,8 @@ function aD() {
|
|
|
9931
9935
|
duration: k,
|
|
9932
9936
|
curve: ci.drop,
|
|
9933
9937
|
moveTo: o.newHomeClientOffset,
|
|
9934
|
-
opacity: x ?
|
|
9935
|
-
scale: x ?
|
|
9938
|
+
opacity: x ? Zr.opacity.drop : null,
|
|
9939
|
+
scale: x ? Zr.scale.drop : null
|
|
9936
9940
|
};
|
|
9937
9941
|
return {
|
|
9938
9942
|
mapped: {
|
|
@@ -12082,7 +12086,7 @@ const sd = "sps-datepicker__popup", Di = s.forwardRef(
|
|
|
12082
12086
|
isOpen: r,
|
|
12083
12087
|
...a
|
|
12084
12088
|
}, o) => {
|
|
12085
|
-
const l = o || s.useRef(null), c =
|
|
12089
|
+
const l = o || s.useRef(null), c = es("sps-datepicker-popup-portal"), p = s.useContext(Ot), [u] = r ? ur(l, e, be.BOTTOM_LEFT, {
|
|
12086
12090
|
altPosition: rp(be.BOTTOM_LEFT),
|
|
12087
12091
|
...p
|
|
12088
12092
|
}) : [{}], m = V(
|
|
@@ -12987,7 +12991,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
12987
12991
|
function we(i, d) {
|
|
12988
12992
|
Dt[i] = d;
|
|
12989
12993
|
}
|
|
12990
|
-
function
|
|
12994
|
+
function cs(i) {
|
|
12991
12995
|
var d = [], g;
|
|
12992
12996
|
for (g in i)
|
|
12993
12997
|
c(i, g) && d.push({ unit: g, priority: Dt[g] });
|
|
@@ -12995,7 +12999,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
12995
12999
|
return v.priority - C.priority;
|
|
12996
13000
|
}), d;
|
|
12997
13001
|
}
|
|
12998
|
-
function
|
|
13002
|
+
function Vn(i) {
|
|
12999
13003
|
return i % 4 === 0 && i % 100 !== 0 || i % 400 === 0;
|
|
13000
13004
|
}
|
|
13001
13005
|
function dt(i) {
|
|
@@ -13014,10 +13018,10 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13014
13018
|
return i.isValid() ? i._d["get" + (i._isUTC ? "UTC" : "") + d]() : NaN;
|
|
13015
13019
|
}
|
|
13016
13020
|
function Cr(i, d, g) {
|
|
13017
|
-
i.isValid() && !isNaN(g) && (d === "FullYear" &&
|
|
13021
|
+
i.isValid() && !isNaN(g) && (d === "FullYear" && Vn(i.year()) && i.month() === 1 && i.date() === 29 ? (g = Se(g), i._d["set" + (i._isUTC ? "UTC" : "") + d](
|
|
13018
13022
|
g,
|
|
13019
13023
|
i.month(),
|
|
13020
|
-
|
|
13024
|
+
hs(g, i.month())
|
|
13021
13025
|
)) : i._d["set" + (i._isUTC ? "UTC" : "") + d](g));
|
|
13022
13026
|
}
|
|
13023
13027
|
function Dr(i) {
|
|
@@ -13026,22 +13030,22 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13026
13030
|
function ya(i, d) {
|
|
13027
13031
|
if (typeof i == "object") {
|
|
13028
13032
|
i = Me(i);
|
|
13029
|
-
var g =
|
|
13033
|
+
var g = cs(i), v;
|
|
13030
13034
|
for (v = 0; v < g.length; v++)
|
|
13031
13035
|
this[g[v].unit](i[g[v].unit]);
|
|
13032
13036
|
} else if (i = Ne(i), N(this[i]))
|
|
13033
13037
|
return this[i](d);
|
|
13034
13038
|
return this;
|
|
13035
13039
|
}
|
|
13036
|
-
var
|
|
13037
|
-
|
|
13040
|
+
var ds = /\d/, nt = /\d\d/, Nr = /\d{3}/, xr = /\d{4}/, he = /[+-]?\d{6}/, ce = /\d\d?/, rt = /\d\d\d\d?/, yn = /\d\d\d\d\d\d?/, En = /\d{1,3}/, Ir = /\d{1,4}/, ps = /[+-]?\d{1,6}/, Kn = /\d+/, us = /[+-]?\d+/, sf = /Z|[+-]\d\d:?\d\d/gi, ms = /Z|[+-]\d\d(?::?\d\d)?/gi, af = /[+-]?\d+(\.\d{1,3})?/, kr = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fs;
|
|
13041
|
+
fs = {};
|
|
13038
13042
|
function ie(i, d, g) {
|
|
13039
|
-
|
|
13043
|
+
fs[i] = N(d) ? d : function(v, C) {
|
|
13040
13044
|
return v && g ? g : d;
|
|
13041
13045
|
};
|
|
13042
13046
|
}
|
|
13043
13047
|
function of(i, d) {
|
|
13044
|
-
return c(
|
|
13048
|
+
return c(fs, i) ? fs[i](d._strict, d._locale) : new RegExp(lf(i));
|
|
13045
13049
|
}
|
|
13046
13050
|
function lf(i) {
|
|
13047
13051
|
return mt(
|
|
@@ -13081,11 +13085,11 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13081
13085
|
return d;
|
|
13082
13086
|
return -1;
|
|
13083
13087
|
};
|
|
13084
|
-
function
|
|
13088
|
+
function hs(i, d) {
|
|
13085
13089
|
if (isNaN(i) || isNaN(d))
|
|
13086
13090
|
return NaN;
|
|
13087
13091
|
var g = uf(d, 12);
|
|
13088
|
-
return i += (d - g) / 12, g === 1 ?
|
|
13092
|
+
return i += (d - g) / 12, g === 1 ? Vn(i) ? 29 : 28 : 31 - g % 7 % 2;
|
|
13089
13093
|
}
|
|
13090
13094
|
G("M", ["MM", 2], "Mo", function() {
|
|
13091
13095
|
return this.month() + 1;
|
|
@@ -13153,13 +13157,13 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13153
13157
|
else if (d = i.localeData().monthsParse(d), !m(d))
|
|
13154
13158
|
return i;
|
|
13155
13159
|
}
|
|
13156
|
-
return g = Math.min(i.date(),
|
|
13160
|
+
return g = Math.min(i.date(), hs(i.year(), d)), i._d["set" + (i._isUTC ? "UTC" : "") + "Month"](d, g), i;
|
|
13157
13161
|
}
|
|
13158
13162
|
function il(i) {
|
|
13159
13163
|
return i != null ? (ol(this, i), r.updateOffset(this, !0), this) : Pt(this, "Month");
|
|
13160
13164
|
}
|
|
13161
13165
|
function yf() {
|
|
13162
|
-
return
|
|
13166
|
+
return hs(this.year(), this.month());
|
|
13163
13167
|
}
|
|
13164
13168
|
function Ef(i) {
|
|
13165
13169
|
return this._monthsParseExact ? (c(this, "_monthsRegex") || ll.call(this), i ? this._monthsShortStrictRegex : this._monthsShortRegex) : (c(this, "_monthsShortRegex") || (this._monthsShortRegex = ff), this._monthsShortStrictRegex && i ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
@@ -13191,7 +13195,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13191
13195
|
return i <= 9999 ? F(i, 4) : "+" + i;
|
|
13192
13196
|
}), G(0, ["YY", 2], 0, function() {
|
|
13193
13197
|
return this.year() % 100;
|
|
13194
|
-
}), G(0, ["YYYY", 4], 0, "year"), G(0, ["YYYYY", 5], 0, "year"), G(0, ["YYYYYY", 6, !0], 0, "year"), de("year", "y"), we("year", 1), ie("Y",
|
|
13198
|
+
}), G(0, ["YYYY", 4], 0, "year"), G(0, ["YYYYY", 5], 0, "year"), G(0, ["YYYYYY", 6, !0], 0, "year"), de("year", "y"), we("year", 1), ie("Y", us), ie("YY", ce, nt), ie("YYYY", Ir, xr), ie("YYYYY", ps, he), ie("YYYYYY", ps, he), _e(["YYYYY", "YYYYYY"], et), _e("YYYY", function(i, d) {
|
|
13195
13199
|
d[et] = i.length === 2 ? r.parseTwoDigitYear(i) : Se(i);
|
|
13196
13200
|
}), _e("YY", function(i, d) {
|
|
13197
13201
|
d[et] = r.parseTwoDigitYear(i);
|
|
@@ -13199,14 +13203,14 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13199
13203
|
d[et] = parseInt(i, 10);
|
|
13200
13204
|
});
|
|
13201
13205
|
function _r(i) {
|
|
13202
|
-
return
|
|
13206
|
+
return Vn(i) ? 366 : 365;
|
|
13203
13207
|
}
|
|
13204
13208
|
r.parseTwoDigitYear = function(i) {
|
|
13205
13209
|
return Se(i) + (Se(i) > 68 ? 1900 : 2e3);
|
|
13206
13210
|
};
|
|
13207
13211
|
var cl = bt("FullYear", !0);
|
|
13208
13212
|
function wf() {
|
|
13209
|
-
return
|
|
13213
|
+
return Vn(this.year());
|
|
13210
13214
|
}
|
|
13211
13215
|
function Cf(i, d, g, v, C, P, U) {
|
|
13212
13216
|
var fe;
|
|
@@ -13216,26 +13220,26 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13216
13220
|
var d, g;
|
|
13217
13221
|
return i < 100 && i >= 0 ? (g = Array.prototype.slice.call(arguments), g[0] = i + 400, d = new Date(Date.UTC.apply(null, g)), isFinite(d.getUTCFullYear()) && d.setUTCFullYear(i)) : d = new Date(Date.UTC.apply(null, arguments)), d;
|
|
13218
13222
|
}
|
|
13219
|
-
function
|
|
13223
|
+
function gs(i, d, g) {
|
|
13220
13224
|
var v = 7 + d - g, C = (7 + Lr(i, 0, v).getUTCDay() - d) % 7;
|
|
13221
13225
|
return -C + v - 1;
|
|
13222
13226
|
}
|
|
13223
13227
|
function dl(i, d, g, v, C) {
|
|
13224
|
-
var P = (7 + g - v) % 7, U =
|
|
13228
|
+
var P = (7 + g - v) % 7, U = gs(i, v, C), fe = 1 + 7 * (d - 1) + P + U, ve, Oe;
|
|
13225
13229
|
return fe <= 0 ? (ve = i - 1, Oe = _r(ve) + fe) : fe > _r(i) ? (ve = i + 1, Oe = fe - _r(i)) : (ve = i, Oe = fe), {
|
|
13226
13230
|
year: ve,
|
|
13227
13231
|
dayOfYear: Oe
|
|
13228
13232
|
};
|
|
13229
13233
|
}
|
|
13230
13234
|
function Or(i, d, g) {
|
|
13231
|
-
var v =
|
|
13235
|
+
var v = gs(i.year(), d, g), C = Math.floor((i.dayOfYear() - v - 1) / 7) + 1, P, U;
|
|
13232
13236
|
return C < 1 ? (U = i.year() - 1, P = C + Yt(U, d, g)) : C > Yt(i.year(), d, g) ? (P = C - Yt(i.year(), d, g), U = i.year() + 1) : (U = i.year(), P = C), {
|
|
13233
13237
|
week: P,
|
|
13234
13238
|
year: U
|
|
13235
13239
|
};
|
|
13236
13240
|
}
|
|
13237
13241
|
function Yt(i, d, g) {
|
|
13238
|
-
var v =
|
|
13242
|
+
var v = gs(i, d, g), C = gs(i + 1, d, g);
|
|
13239
13243
|
return (_r(i) - v + C) / 7;
|
|
13240
13244
|
}
|
|
13241
13245
|
G("w", ["ww", 2], "wo", "week"), G("W", ["WW", 2], "Wo", "isoWeek"), de("week", "w"), de("isoWeek", "W"), we("week", 5), we("isoWeek", 5), ie("w", ce), ie("ww", ce, nt), ie("W", ce), ie("WW", ce, nt), Mr(["w", "ww", "W", "WW"], function(i, d, g, v) {
|
|
@@ -13470,7 +13474,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13470
13474
|
function th(i) {
|
|
13471
13475
|
for (var d = 0, g, v, C, P; d < i.length; ) {
|
|
13472
13476
|
for (P = hl(i[d]).split("-"), g = P.length, v = hl(i[d + 1]), v = v ? v.split("-") : null; g > 0; ) {
|
|
13473
|
-
if (C =
|
|
13477
|
+
if (C = Ss(P.slice(0, g).join("-")), C)
|
|
13474
13478
|
return C;
|
|
13475
13479
|
if (v && v.length >= g && eh(P, v) >= g - 1)
|
|
13476
13480
|
break;
|
|
@@ -13480,7 +13484,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13480
13484
|
}
|
|
13481
13485
|
return Pr;
|
|
13482
13486
|
}
|
|
13483
|
-
function
|
|
13487
|
+
function Ss(i) {
|
|
13484
13488
|
var d = null, g;
|
|
13485
13489
|
if (Fe[i] === void 0 && !0 && e && e.exports)
|
|
13486
13490
|
try {
|
|
@@ -13507,7 +13511,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13507
13511
|
else if (d.parentLocale != null)
|
|
13508
13512
|
if (Fe[d.parentLocale] != null)
|
|
13509
13513
|
v = Fe[d.parentLocale]._config;
|
|
13510
|
-
else if (g =
|
|
13514
|
+
else if (g = Ss(d.parentLocale), g != null)
|
|
13511
13515
|
v = g._config;
|
|
13512
13516
|
else
|
|
13513
13517
|
return Rr[d.parentLocale] || (Rr[d.parentLocale] = []), Rr[d.parentLocale].push({
|
|
@@ -13523,7 +13527,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13523
13527
|
function nh(i, d) {
|
|
13524
13528
|
if (d != null) {
|
|
13525
13529
|
var g, v, C = fl;
|
|
13526
|
-
Fe[i] != null && Fe[i].parentLocale != null ? Fe[i].set(Q(Fe[i]._config, d)) : (v =
|
|
13530
|
+
Fe[i] != null && Fe[i].parentLocale != null ? Fe[i].set(Q(Fe[i]._config, d)) : (v = Ss(i), v != null && (C = v._config), d = Q(C, d), v == null && (d.abbr = i), g = new q(d), g.parentLocale = Fe[i], Fe[i] = g), on(i);
|
|
13527
13531
|
} else
|
|
13528
13532
|
Fe[i] != null && (Fe[i].parentLocale != null ? (Fe[i] = Fe[i].parentLocale, i === on() && on(i)) : Fe[i] != null && delete Fe[i]);
|
|
13529
13533
|
return Fe[i];
|
|
@@ -13533,7 +13537,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13533
13537
|
if (i && i._locale && i._locale._abbr && (i = i._locale._abbr), !i)
|
|
13534
13538
|
return Pr;
|
|
13535
13539
|
if (!o(i)) {
|
|
13536
|
-
if (d =
|
|
13540
|
+
if (d = Ss(i), d)
|
|
13537
13541
|
return d;
|
|
13538
13542
|
i = [i];
|
|
13539
13543
|
}
|
|
@@ -13544,9 +13548,9 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13544
13548
|
}
|
|
13545
13549
|
function Na(i) {
|
|
13546
13550
|
var d, g = i._a;
|
|
13547
|
-
return g && T(i).overflow === -2 && (d = g[Gt] < 0 || g[Gt] > 11 ? Gt : g[Bt] < 1 || g[Bt] >
|
|
13551
|
+
return g && T(i).overflow === -2 && (d = g[Gt] < 0 || g[Gt] > 11 ? Gt : g[Bt] < 1 || g[Bt] > hs(g[et], g[Gt]) ? Bt : g[ze] < 0 || g[ze] > 24 || g[ze] === 24 && (g[Nt] !== 0 || g[Ut] !== 0 || g[Tn] !== 0) ? ze : g[Nt] < 0 || g[Nt] > 59 ? Nt : g[Ut] < 0 || g[Ut] > 59 ? Ut : g[Tn] < 0 || g[Tn] > 999 ? Tn : -1, T(i)._overflowDayOfYear && (d < et || d > Bt) && (d = Bt), T(i)._overflowWeeks && d === -1 && (d = df), T(i)._overflowWeekday && d === -1 && (d = pf), T(i).overflow = d), i;
|
|
13548
13552
|
}
|
|
13549
|
-
var sh = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ah = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, oh = /Z|[+-]\d\d(?::?\d\d)?/,
|
|
13553
|
+
var sh = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ah = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, oh = /Z|[+-]\d\d(?::?\d\d)?/, bs = [
|
|
13550
13554
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
13551
13555
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
13552
13556
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -13585,9 +13589,9 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13585
13589
|
function gl(i) {
|
|
13586
13590
|
var d, g, v = i._i, C = sh.exec(v) || ah.exec(v), P, U, fe, ve;
|
|
13587
13591
|
if (C) {
|
|
13588
|
-
for (T(i).iso = !0, d = 0, g =
|
|
13589
|
-
if (
|
|
13590
|
-
U =
|
|
13592
|
+
for (T(i).iso = !0, d = 0, g = bs.length; d < g; d++)
|
|
13593
|
+
if (bs[d][1].exec(C[1])) {
|
|
13594
|
+
U = bs[d][0], P = bs[d][2] !== !1;
|
|
13591
13595
|
break;
|
|
13592
13596
|
}
|
|
13593
13597
|
if (U == null) {
|
|
@@ -13695,7 +13699,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13695
13699
|
i._d = new Date(i._i + (i._useUTC ? " UTC" : ""));
|
|
13696
13700
|
}
|
|
13697
13701
|
);
|
|
13698
|
-
function
|
|
13702
|
+
function Hn(i, d, g) {
|
|
13699
13703
|
return i != null ? i : d != null ? d : g;
|
|
13700
13704
|
}
|
|
13701
13705
|
function gh(i) {
|
|
@@ -13709,7 +13713,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13709
13713
|
function Ia(i) {
|
|
13710
13714
|
var d, g, v = [], C, P, U;
|
|
13711
13715
|
if (!i._d) {
|
|
13712
|
-
for (C = gh(i), i._w && i._a[Bt] == null && i._a[Gt] == null && Sh(i), i._dayOfYear != null && (U =
|
|
13716
|
+
for (C = gh(i), i._w && i._a[Bt] == null && i._a[Gt] == null && Sh(i), i._dayOfYear != null && (U = Hn(i._a[et], C[et]), (i._dayOfYear > _r(U) || i._dayOfYear === 0) && (T(i)._overflowDayOfYear = !0), g = Lr(U, 0, i._dayOfYear), i._a[Gt] = g.getUTCMonth(), i._a[Bt] = g.getUTCDate()), d = 0; d < 3 && i._a[d] == null; ++d)
|
|
13713
13717
|
i._a[d] = v[d] = C[d];
|
|
13714
13718
|
for (; d < 7; d++)
|
|
13715
13719
|
i._a[d] = v[d] = i._a[d] == null ? d === 2 ? 1 : 0 : i._a[d];
|
|
@@ -13721,11 +13725,11 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13721
13725
|
}
|
|
13722
13726
|
function Sh(i) {
|
|
13723
13727
|
var d, g, v, C, P, U, fe, ve, Oe;
|
|
13724
|
-
d = i._w, d.GG != null || d.W != null || d.E != null ? (P = 1, U = 4, g =
|
|
13728
|
+
d = i._w, d.GG != null || d.W != null || d.E != null ? (P = 1, U = 4, g = Hn(
|
|
13725
13729
|
d.GG,
|
|
13726
13730
|
i._a[et],
|
|
13727
13731
|
Or(Pe(), 1, 4).year
|
|
13728
|
-
), v =
|
|
13732
|
+
), v = Hn(d.W, 1), C = Hn(d.E, 1), (C < 1 || C > 7) && (ve = !0)) : (P = i._locale._week.dow, U = i._locale._week.doy, Oe = Or(Pe(), P, U), g = Hn(d.gg, i._a[et], Oe.year), v = Hn(d.w, Oe.week), d.d != null ? (C = d.d, (C < 0 || C > 6) && (ve = !0)) : d.e != null ? (C = d.e + P, (d.e < 0 || d.e > 6) && (ve = !0)) : C = P), v < 1 || v > Yt(g, P, U) ? T(i)._overflowWeeks = !0 : ve != null ? T(i)._overflowWeekday = !0 : (fe = dl(g, v, C, P, U), i._a[et] = fe.year, i._dayOfYear = fe.dayOfYear);
|
|
13729
13733
|
}
|
|
13730
13734
|
r.ISO_8601 = function() {
|
|
13731
13735
|
}, r.RFC_2822 = function() {
|
|
@@ -13858,12 +13862,12 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13858
13862
|
function Mh() {
|
|
13859
13863
|
return xt(NaN);
|
|
13860
13864
|
}
|
|
13861
|
-
function
|
|
13865
|
+
function vs(i) {
|
|
13862
13866
|
var d = Me(i), g = d.year || 0, v = d.quarter || 0, C = d.month || 0, P = d.week || d.isoWeek || 0, U = d.day || 0, fe = d.hour || 0, ve = d.minute || 0, Oe = d.second || 0, At = d.millisecond || 0;
|
|
13863
13867
|
this._isValid = Ih(d), this._milliseconds = +At + Oe * 1e3 + ve * 6e4 + fe * 1e3 * 60 * 60, this._days = +U + P * 7, this._months = +C + v * 3 + g * 12, this._data = {}, this._locale = jt(), this._bubble();
|
|
13864
13868
|
}
|
|
13865
|
-
function
|
|
13866
|
-
return i instanceof
|
|
13869
|
+
function ys(i) {
|
|
13870
|
+
return i instanceof vs;
|
|
13867
13871
|
}
|
|
13868
13872
|
function Ma(i) {
|
|
13869
13873
|
return i < 0 ? Math.round(-1 * i) * -1 : Math.round(i);
|
|
@@ -13880,8 +13884,8 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13880
13884
|
return g < 0 && (g = -g, v = "-"), v + F(~~(g / 60), 2) + d + F(~~g % 60, 2);
|
|
13881
13885
|
});
|
|
13882
13886
|
}
|
|
13883
|
-
El("Z", ":"), El("ZZ", ""), ie("Z",
|
|
13884
|
-
g._useUTC = !0, g._tzm = _a(
|
|
13887
|
+
El("Z", ":"), El("ZZ", ""), ie("Z", ms), ie("ZZ", ms), _e(["Z", "ZZ"], function(i, d, g) {
|
|
13888
|
+
g._useUTC = !0, g._tzm = _a(ms, i);
|
|
13885
13889
|
});
|
|
13886
13890
|
var Lh = /([\+\-]|\d\d)/gi;
|
|
13887
13891
|
function _a(i, d) {
|
|
@@ -13903,7 +13907,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13903
13907
|
return i != null ? this : NaN;
|
|
13904
13908
|
if (i != null) {
|
|
13905
13909
|
if (typeof i == "string") {
|
|
13906
|
-
if (i = _a(
|
|
13910
|
+
if (i = _a(ms, i), i === null)
|
|
13907
13911
|
return this;
|
|
13908
13912
|
} else
|
|
13909
13913
|
Math.abs(i) < 16 && !g && (i = i * 60);
|
|
@@ -13958,7 +13962,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13958
13962
|
var Wh = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Gh = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
13959
13963
|
function xt(i, d) {
|
|
13960
13964
|
var g = i, v = null, C, P, U;
|
|
13961
|
-
return
|
|
13965
|
+
return ys(i) ? g = {
|
|
13962
13966
|
ms: i._milliseconds,
|
|
13963
13967
|
d: i._days,
|
|
13964
13968
|
M: i._months
|
|
@@ -13980,9 +13984,9 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
13980
13984
|
}) : g == null ? g = {} : typeof g == "object" && ("from" in g || "to" in g) && (U = Uh(
|
|
13981
13985
|
Pe(g.from),
|
|
13982
13986
|
Pe(g.to)
|
|
13983
|
-
), g = {}, g.ms = U.milliseconds, g.M = U.months), P = new
|
|
13987
|
+
), g = {}, g.ms = U.milliseconds, g.M = U.months), P = new vs(g), ys(i) && c(i, "_locale") && (P._locale = i._locale), ys(i) && c(i, "_isValid") && (P._isValid = i._isValid), P;
|
|
13984
13988
|
}
|
|
13985
|
-
xt.fn =
|
|
13989
|
+
xt.fn = vs.prototype, xt.invalid = Mh;
|
|
13986
13990
|
function wn(i, d) {
|
|
13987
13991
|
var g = i && parseFloat(i.replace(",", "."));
|
|
13988
13992
|
return (isNaN(g) ? 0 : g) * d;
|
|
@@ -14109,13 +14113,13 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14109
14113
|
return NaN;
|
|
14110
14114
|
switch (C = (v.utcOffset() - this.utcOffset()) * 6e4, d = Ne(d), d) {
|
|
14111
14115
|
case "year":
|
|
14112
|
-
P =
|
|
14116
|
+
P = Es(this, v) / 12;
|
|
14113
14117
|
break;
|
|
14114
14118
|
case "month":
|
|
14115
|
-
P =
|
|
14119
|
+
P = Es(this, v);
|
|
14116
14120
|
break;
|
|
14117
14121
|
case "quarter":
|
|
14118
|
-
P =
|
|
14122
|
+
P = Es(this, v) / 3;
|
|
14119
14123
|
break;
|
|
14120
14124
|
case "second":
|
|
14121
14125
|
P = (this - v) / 1e3;
|
|
@@ -14137,9 +14141,9 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14137
14141
|
}
|
|
14138
14142
|
return g ? P : dt(P);
|
|
14139
14143
|
}
|
|
14140
|
-
function
|
|
14144
|
+
function Es(i, d) {
|
|
14141
14145
|
if (i.date() < d.date())
|
|
14142
|
-
return -
|
|
14146
|
+
return -Es(d, i);
|
|
14143
14147
|
var g = (d.year() - i.year()) * 12 + (d.month() - i.month()), v = i.clone().add(g, "months"), C, P;
|
|
14144
14148
|
return d - v < 0 ? (C = i.clone().add(g - 1, "months"), P = (d - v) / (v - C)) : (C = i.clone().add(g + 1, "months"), P = (d - v) / (C - v)), -(g + P) || 0;
|
|
14145
14149
|
}
|
|
@@ -14195,8 +14199,8 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14195
14199
|
function kl() {
|
|
14196
14200
|
return this._locale;
|
|
14197
14201
|
}
|
|
14198
|
-
var
|
|
14199
|
-
function
|
|
14202
|
+
var Ts = 1e3, Wn = 60 * Ts, ws = 60 * Wn, Ml = (365 * 400 + 97) * 24 * ws;
|
|
14203
|
+
function Gn(i, d) {
|
|
14200
14204
|
return (i % d + d) % d;
|
|
14201
14205
|
}
|
|
14202
14206
|
function _l(i, d, g) {
|
|
@@ -14242,16 +14246,16 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14242
14246
|
d = g(this.year(), this.month(), this.date());
|
|
14243
14247
|
break;
|
|
14244
14248
|
case "hour":
|
|
14245
|
-
d = this._d.valueOf(), d -=
|
|
14246
|
-
d + (this._isUTC ? 0 : this.utcOffset() *
|
|
14247
|
-
|
|
14249
|
+
d = this._d.valueOf(), d -= Gn(
|
|
14250
|
+
d + (this._isUTC ? 0 : this.utcOffset() * Wn),
|
|
14251
|
+
ws
|
|
14248
14252
|
);
|
|
14249
14253
|
break;
|
|
14250
14254
|
case "minute":
|
|
14251
|
-
d = this._d.valueOf(), d -=
|
|
14255
|
+
d = this._d.valueOf(), d -= Gn(d, Wn);
|
|
14252
14256
|
break;
|
|
14253
14257
|
case "second":
|
|
14254
|
-
d = this._d.valueOf(), d -=
|
|
14258
|
+
d = this._d.valueOf(), d -= Gn(d, Ts);
|
|
14255
14259
|
break;
|
|
14256
14260
|
}
|
|
14257
14261
|
return this._d.setTime(d), r.updateOffset(this, !0), this;
|
|
@@ -14293,16 +14297,16 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14293
14297
|
d = g(this.year(), this.month(), this.date() + 1) - 1;
|
|
14294
14298
|
break;
|
|
14295
14299
|
case "hour":
|
|
14296
|
-
d = this._d.valueOf(), d +=
|
|
14297
|
-
d + (this._isUTC ? 0 : this.utcOffset() *
|
|
14298
|
-
|
|
14300
|
+
d = this._d.valueOf(), d += ws - Gn(
|
|
14301
|
+
d + (this._isUTC ? 0 : this.utcOffset() * Wn),
|
|
14302
|
+
ws
|
|
14299
14303
|
) - 1;
|
|
14300
14304
|
break;
|
|
14301
14305
|
case "minute":
|
|
14302
|
-
d = this._d.valueOf(), d +=
|
|
14306
|
+
d = this._d.valueOf(), d += Wn - Gn(d, Wn) - 1;
|
|
14303
14307
|
break;
|
|
14304
14308
|
case "second":
|
|
14305
|
-
d = this._d.valueOf(), d +=
|
|
14309
|
+
d = this._d.valueOf(), d += Ts - Gn(d, Ts) - 1;
|
|
14306
14310
|
break;
|
|
14307
14311
|
}
|
|
14308
14312
|
return this._d.setTime(d), r.updateOffset(this, !0), this;
|
|
@@ -14364,7 +14368,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14364
14368
|
G("N", 0, 0, "eraAbbr"), G("NN", 0, 0, "eraAbbr"), G("NNN", 0, 0, "eraAbbr"), G("NNNN", 0, 0, "eraName"), G("NNNNN", 0, 0, "eraNarrow"), G("y", ["y", 1], "yo", "eraYear"), G("y", ["yy", 2], 0, "eraYear"), G("y", ["yyy", 3], 0, "eraYear"), G("y", ["yyyy", 4], 0, "eraYear"), ie("N", Ra), ie("NN", Ra), ie("NNN", Ra), ie("NNNN", Fg), ie("NNNNN", $g), _e(["N", "NN", "NNN", "NNNN", "NNNNN"], function(i, d, g, v) {
|
|
14365
14369
|
var C = g._locale.erasParse(i, v, g._strict);
|
|
14366
14370
|
C ? T(g).era = C : T(g).invalidEra = i;
|
|
14367
|
-
}), ie("y",
|
|
14371
|
+
}), ie("y", Kn), ie("yy", Kn), ie("yyy", Kn), ie("yyyy", Kn), ie("yo", Vg), _e(["y", "yy", "yyy", "yyyy"], et), _e(["yo"], function(i, d, g, v) {
|
|
14368
14372
|
var C;
|
|
14369
14373
|
g._locale._eraYearOrdinalRegex && (C = i.match(g._locale._eraYearOrdinalRegex)), g._locale.eraYearOrdinalParse ? d[et] = g._locale.eraYearOrdinalParse(i, C) : d[et] = parseInt(i, 10);
|
|
14370
14374
|
});
|
|
@@ -14461,7 +14465,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14461
14465
|
return d.erasNarrowRegex(i);
|
|
14462
14466
|
}
|
|
14463
14467
|
function Vg(i, d) {
|
|
14464
|
-
return d._eraYearOrdinalRegex ||
|
|
14468
|
+
return d._eraYearOrdinalRegex || Kn;
|
|
14465
14469
|
}
|
|
14466
14470
|
function Pa() {
|
|
14467
14471
|
var i = [], d = [], g = [], v = [], C, P, U = this.eras();
|
|
@@ -14477,10 +14481,10 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14477
14481
|
}), G(0, ["GG", 2], 0, function() {
|
|
14478
14482
|
return this.isoWeekYear() % 100;
|
|
14479
14483
|
});
|
|
14480
|
-
function
|
|
14484
|
+
function Cs(i, d) {
|
|
14481
14485
|
G(0, [i, i.length], 0, d);
|
|
14482
14486
|
}
|
|
14483
|
-
|
|
14487
|
+
Cs("gggg", "weekYear"), Cs("ggggg", "weekYear"), Cs("GGGG", "isoWeekYear"), Cs("GGGGG", "isoWeekYear"), de("weekYear", "gg"), de("isoWeekYear", "GG"), we("weekYear", 1), we("isoWeekYear", 1), ie("G", us), ie("g", us), ie("GG", ce, nt), ie("gg", ce, nt), ie("GGGG", Ir, xr), ie("gggg", Ir, xr), ie("GGGGG", ps, he), ie("ggggg", ps, he), Mr(["gggg", "ggggg", "GGGG", "GGGGG"], function(i, d, g, v) {
|
|
14484
14488
|
d[v.substr(0, 2)] = Se(i);
|
|
14485
14489
|
}), Mr(["gg", "GG"], function(i, d, g, v) {
|
|
14486
14490
|
d[v] = r.parseTwoDigitYear(i);
|
|
@@ -14527,7 +14531,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14527
14531
|
var P = dl(i, d, g, v, C), U = Lr(P.year, 0, P.dayOfYear);
|
|
14528
14532
|
return this.year(U.getUTCFullYear()), this.month(U.getUTCMonth()), this.date(U.getUTCDate()), this;
|
|
14529
14533
|
}
|
|
14530
|
-
G("Q", 0, "Qo", "quarter"), de("quarter", "Q"), we("quarter", 7), ie("Q",
|
|
14534
|
+
G("Q", 0, "Qo", "quarter"), de("quarter", "Q"), we("quarter", 7), ie("Q", ds), _e("Q", function(i, d) {
|
|
14531
14535
|
d[Gt] = (Se(i) - 1) * 3;
|
|
14532
14536
|
});
|
|
14533
14537
|
function zg(i) {
|
|
@@ -14568,10 +14572,10 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14568
14572
|
return this.millisecond() * 1e5;
|
|
14569
14573
|
}), G(0, ["SSSSSSSSS", 9], 0, function() {
|
|
14570
14574
|
return this.millisecond() * 1e6;
|
|
14571
|
-
}), de("millisecond", "ms"), we("millisecond", 16), ie("S", En,
|
|
14575
|
+
}), de("millisecond", "ms"), we("millisecond", 16), ie("S", En, ds), ie("SS", En, nt), ie("SSS", En, Nr);
|
|
14572
14576
|
var ln, Pl;
|
|
14573
14577
|
for (ln = "SSSS"; ln.length <= 9; ln += "S")
|
|
14574
|
-
ie(ln,
|
|
14578
|
+
ie(ln, Kn);
|
|
14575
14579
|
function Xg(i, d) {
|
|
14576
14580
|
d[Tn] = Se(("0." + i) * 1e3);
|
|
14577
14581
|
}
|
|
@@ -14614,25 +14618,25 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14614
14618
|
}
|
|
14615
14619
|
var xe = q.prototype;
|
|
14616
14620
|
xe.calendar = H, xe.longDateFormat = De, xe.invalidDate = Ze, xe.ordinal = St, xe.preparse = Bl, xe.postformat = Bl, xe.relativeTime = ge, xe.pastFuture = Ae, xe.set = A, xe.eras = Ig, xe.erasParse = kg, xe.erasConvertYear = Mg, xe.erasAbbrRegex = Bg, xe.erasNameRegex = Pg, xe.erasNarrowRegex = Ag, xe.months = gf, xe.monthsShort = Sf, xe.monthsParse = vf, xe.monthsRegex = Tf, xe.monthsShortRegex = Ef, xe.week = Df, xe.firstDayOfYear = If, xe.firstDayOfWeek = xf, xe.weekdays = Ff, xe.weekdaysMin = Vf, xe.weekdaysShort = $f, xe.weekdaysParse = Hf, xe.weekdaysRegex = Yf, xe.weekdaysShortRegex = jf, xe.weekdaysMinRegex = zf, xe.isPM = Jf, xe.meridiem = Qf;
|
|
14617
|
-
function
|
|
14621
|
+
function Ds(i, d, g, v) {
|
|
14618
14622
|
var C = jt(), P = y().set(v, d);
|
|
14619
14623
|
return C[g](P, i);
|
|
14620
14624
|
}
|
|
14621
14625
|
function Al(i, d, g) {
|
|
14622
14626
|
if (m(i) && (d = i, i = void 0), i = i || "", d != null)
|
|
14623
|
-
return
|
|
14627
|
+
return Ds(i, d, g, "month");
|
|
14624
14628
|
var v, C = [];
|
|
14625
14629
|
for (v = 0; v < 12; v++)
|
|
14626
|
-
C[v] =
|
|
14630
|
+
C[v] = Ds(i, v, g, "month");
|
|
14627
14631
|
return C;
|
|
14628
14632
|
}
|
|
14629
14633
|
function Ba(i, d, g, v) {
|
|
14630
14634
|
typeof i == "boolean" ? (m(d) && (g = d, d = void 0), d = d || "") : (d = i, g = d, i = !1, m(d) && (g = d, d = void 0), d = d || "");
|
|
14631
14635
|
var C = jt(), P = i ? C._week.dow : 0, U, fe = [];
|
|
14632
14636
|
if (g != null)
|
|
14633
|
-
return
|
|
14637
|
+
return Ds(d, (g + P) % 7, v, "day");
|
|
14634
14638
|
for (U = 0; U < 7; U++)
|
|
14635
|
-
fe[U] =
|
|
14639
|
+
fe[U] = Ds(d, (U + P) % 7, v, "day");
|
|
14636
14640
|
return fe;
|
|
14637
14641
|
}
|
|
14638
14642
|
function rS(i, d) {
|
|
@@ -14764,7 +14768,7 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14764
14768
|
function LS() {
|
|
14765
14769
|
return dt(this.days() / 7);
|
|
14766
14770
|
}
|
|
14767
|
-
var Jt = Math.round,
|
|
14771
|
+
var Jt = Math.round, Un = {
|
|
14768
14772
|
ss: 44,
|
|
14769
14773
|
s: 45,
|
|
14770
14774
|
m: 45,
|
|
@@ -14784,35 +14788,35 @@ Arguments: ` + Array.prototype.slice.call(v).join("") + `
|
|
|
14784
14788
|
return i === void 0 ? Jt : typeof i == "function" ? (Jt = i, !0) : !1;
|
|
14785
14789
|
}
|
|
14786
14790
|
function BS(i, d) {
|
|
14787
|
-
return
|
|
14791
|
+
return Un[i] === void 0 ? !1 : d === void 0 ? Un[i] : (Un[i] = d, i === "s" && (Un.ss = d - 1), !0);
|
|
14788
14792
|
}
|
|
14789
14793
|
function AS(i, d) {
|
|
14790
14794
|
if (!this.isValid())
|
|
14791
14795
|
return this.localeData().invalidDate();
|
|
14792
|
-
var g = !1, v =
|
|
14793
|
-
return typeof i == "object" && (d = i, i = !1), typeof i == "boolean" && (g = i), typeof d == "object" && (v = Object.assign({},
|
|
14796
|
+
var g = !1, v = Un, C, P;
|
|
14797
|
+
return typeof i == "object" && (d = i, i = !1), typeof i == "boolean" && (g = i), typeof d == "object" && (v = Object.assign({}, Un, d), d.s != null && d.ss == null && (v.ss = d.s - 1)), C = this.localeData(), P = RS(this, !g, v, C), g && (P = C.pastFuture(+this, P)), C.postformat(P);
|
|
14794
14798
|
}
|
|
14795
14799
|
var Fa = Math.abs;
|
|
14796
|
-
function
|
|
14800
|
+
function Yn(i) {
|
|
14797
14801
|
return (i > 0) - (i < 0) || +i;
|
|
14798
14802
|
}
|
|
14799
|
-
function
|
|
14803
|
+
function Ns() {
|
|
14800
14804
|
if (!this.isValid())
|
|
14801
14805
|
return this.localeData().invalidDate();
|
|
14802
14806
|
var i = Fa(this._milliseconds) / 1e3, d = Fa(this._days), g = Fa(this._months), v, C, P, U, fe = this.asSeconds(), ve, Oe, At, Zt;
|
|
14803
|
-
return fe ? (v = dt(i / 60), C = dt(v / 60), i %= 60, v %= 60, P = dt(g / 12), g %= 12, U = i ? i.toFixed(3).replace(/\.?0+$/, "") : "", ve = fe < 0 ? "-" : "", Oe =
|
|
14807
|
+
return fe ? (v = dt(i / 60), C = dt(v / 60), i %= 60, v %= 60, P = dt(g / 12), g %= 12, U = i ? i.toFixed(3).replace(/\.?0+$/, "") : "", ve = fe < 0 ? "-" : "", Oe = Yn(this._months) !== Yn(fe) ? "-" : "", At = Yn(this._days) !== Yn(fe) ? "-" : "", Zt = Yn(this._milliseconds) !== Yn(fe) ? "-" : "", ve + "P" + (P ? Oe + P + "Y" : "") + (g ? Oe + g + "M" : "") + (d ? At + d + "D" : "") + (C || v || i ? "T" : "") + (C ? Zt + C + "H" : "") + (v ? Zt + v + "M" : "") + (i ? Zt + U + "S" : "")) : "P0D";
|
|
14804
14808
|
}
|
|
14805
|
-
var Ee =
|
|
14806
|
-
Ee.isValid = kh, Ee.abs = lS, Ee.add = cS, Ee.subtract = dS, Ee.as = uS, Ee.asMilliseconds = fS, Ee.asSeconds = hS, Ee.asMinutes = gS, Ee.asHours = SS, Ee.asDays = bS, Ee.asWeeks = vS, Ee.asMonths = yS, Ee.asQuarters = ES, Ee.asYears = TS, Ee.valueOf = mS, Ee._bubble = pS, Ee.clone = wS, Ee.get = CS, Ee.milliseconds = DS, Ee.seconds = NS, Ee.minutes = xS, Ee.hours = IS, Ee.days = kS, Ee.weeks = LS, Ee.months = MS, Ee.years = _S, Ee.humanize = AS, Ee.toISOString =
|
|
14809
|
+
var Ee = vs.prototype;
|
|
14810
|
+
Ee.isValid = kh, Ee.abs = lS, Ee.add = cS, Ee.subtract = dS, Ee.as = uS, Ee.asMilliseconds = fS, Ee.asSeconds = hS, Ee.asMinutes = gS, Ee.asHours = SS, Ee.asDays = bS, Ee.asWeeks = vS, Ee.asMonths = yS, Ee.asQuarters = ES, Ee.asYears = TS, Ee.valueOf = mS, Ee._bubble = pS, Ee.clone = wS, Ee.get = CS, Ee.milliseconds = DS, Ee.seconds = NS, Ee.minutes = xS, Ee.hours = IS, Ee.days = kS, Ee.weeks = LS, Ee.months = MS, Ee.years = _S, Ee.humanize = AS, Ee.toISOString = Ns, Ee.toString = Ns, Ee.toJSON = Ns, Ee.locale = xl, Ee.localeData = kl, Ee.toIsoString = K(
|
|
14807
14811
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
14808
|
-
|
|
14809
|
-
), Ee.lang = Il, G("X", 0, 0, "unix"), G("x", 0, 0, "valueOf"), ie("x",
|
|
14812
|
+
Ns
|
|
14813
|
+
), Ee.lang = Il, G("X", 0, 0, "unix"), G("x", 0, 0, "valueOf"), ie("x", us), ie("X", af), _e("X", function(i, d, g) {
|
|
14810
14814
|
g._d = new Date(parseFloat(i) * 1e3);
|
|
14811
14815
|
}), _e("x", function(i, d, g) {
|
|
14812
14816
|
g._d = new Date(Se(i));
|
|
14813
14817
|
});
|
|
14814
14818
|
//! moment.js
|
|
14815
|
-
return r.version = "2.29.1", a(Pe), r.fn = Z, r.min = Dh, r.max = Nh, r.now = xh, r.utc = y, r.unix = tS, r.months = rS, r.isDate = f, r.locale = on, r.invalid = k, r.duration = xt, r.isMoment = L, r.weekdays = aS, r.parseZone = nS, r.localeData = jt, r.isDuration =
|
|
14819
|
+
return r.version = "2.29.1", a(Pe), r.fn = Z, r.min = Dh, r.max = Nh, r.now = xh, r.utc = y, r.unix = tS, r.months = rS, r.isDate = f, r.locale = on, r.invalid = k, r.duration = xt, r.isMoment = L, r.weekdays = aS, r.parseZone = nS, r.localeData = jt, r.isDuration = ys, r.monthsShort = sS, r.weekdaysMin = iS, r.defineLocale = Da, r.updateLocale = nh, r.locales = rh, r.weekdaysShort = oS, r.normalizeUnits = Ne, r.relativeTimeRounding = PS, r.relativeTimeThreshold = BS, r.calendarFormat = Xh, r.prototype = Z, r.HTML5_FMT = {
|
|
14816
14820
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
14817
14821
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
14818
14822
|
DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
|
|
@@ -15732,7 +15736,7 @@ var ye = /* @__PURE__ */ ((e) => (e.VISIBLE = "visible", e.DEFER_VISIBLE = "defe
|
|
|
15732
15736
|
function po(e) {
|
|
15733
15737
|
return e === "visible" ? "hidden" : "visible";
|
|
15734
15738
|
}
|
|
15735
|
-
const cd = 13,
|
|
15739
|
+
const cd = 13, In = /* @__PURE__ */ new Map(), UD = {
|
|
15736
15740
|
for: { type: "React.MutableRefObject<any> | string", required: !0 },
|
|
15737
15741
|
hideDelay: "number",
|
|
15738
15742
|
isShown: "TooltipVisibility",
|
|
@@ -15771,12 +15775,12 @@ function Lt({
|
|
|
15771
15775
|
I(), D(!1);
|
|
15772
15776
|
}, []), M = s.useCallback((J = !1) => {
|
|
15773
15777
|
var H;
|
|
15774
|
-
if (J === !0 &&
|
|
15778
|
+
if (J === !0 && In.size > 0)
|
|
15775
15779
|
return p && p(), !1;
|
|
15776
15780
|
if (((H = x.current) == null ? void 0 : H.textContent) === "")
|
|
15777
15781
|
return console.warn("SpsTooltip is empty; aborting show"), !1;
|
|
15778
15782
|
I();
|
|
15779
|
-
for (const F of
|
|
15783
|
+
for (const F of In.values())
|
|
15780
15784
|
F();
|
|
15781
15785
|
return D(!0), !0;
|
|
15782
15786
|
}, []), L = s.useCallback((J) => {
|
|
@@ -15802,7 +15806,7 @@ function Lt({
|
|
|
15802
15806
|
return 0;
|
|
15803
15807
|
}, []);
|
|
15804
15808
|
s.useEffect(() => {
|
|
15805
|
-
if (typeof n == "string" && (k.current = document.getElementById(n)), T ?
|
|
15809
|
+
if (typeof n == "string" && (k.current = document.getElementById(n)), T ? In.set(w.current.instanceKey, O) : In.has(w.current.instanceKey) && In.delete(w.current.instanceKey), f === it.MANUAL) {
|
|
15806
15810
|
if (o !== w.current.prevIsShown)
|
|
15807
15811
|
switch (o) {
|
|
15808
15812
|
case "visible":
|
|
@@ -15837,11 +15841,11 @@ function Lt({
|
|
|
15837
15841
|
((J = x.current) == null ? void 0 : J.textContent) === "" && T && (w.current.hideTimer && (clearTimeout(w.current.hideTimer), w.current.hideTimer = null), D(!1));
|
|
15838
15842
|
}, [e, T]), s.useEffect(
|
|
15839
15843
|
() => () => {
|
|
15840
|
-
|
|
15844
|
+
In.has(w.current.instanceKey) && In.delete(w.current.instanceKey), k.current && (k.current.removeEventListener("mouseenter", M), k.current.removeEventListener("mouseleave", K), k.current.removeEventListener("click", L), document.removeEventListener("click", R));
|
|
15841
15845
|
},
|
|
15842
15846
|
[]
|
|
15843
15847
|
);
|
|
15844
|
-
const $ =
|
|
15848
|
+
const $ = es("sps-tooltip-portal"), N = s.useContext(Ot), [[A, Q], q] = s.useState([{}, !1]);
|
|
15845
15849
|
s.useEffect(() => {
|
|
15846
15850
|
q(T ? ur(x, k, u, {
|
|
15847
15851
|
altPosition: m,
|
|
@@ -17523,7 +17527,7 @@ function _i(e) {
|
|
|
17523
17527
|
);
|
|
17524
17528
|
return s.useEffect(() => (x(), () => {
|
|
17525
17529
|
k();
|
|
17526
|
-
}), []),
|
|
17530
|
+
}), []), es("sps-growler-display-area", ["sps-growler-area", "z-stratum-growlers"])(
|
|
17527
17531
|
/* @__PURE__ */ s.createElement("div", {
|
|
17528
17532
|
role: "alert",
|
|
17529
17533
|
className: M,
|
|
@@ -18091,7 +18095,8 @@ function Fu({
|
|
|
18091
18095
|
"dateFormat",
|
|
18092
18096
|
"dateRangeOrder",
|
|
18093
18097
|
"dateValidity",
|
|
18094
|
-
"required"
|
|
18098
|
+
"required",
|
|
18099
|
+
"minLength"
|
|
18095
18100
|
])
|
|
18096
18101
|
if (W.hasError(X))
|
|
18097
18102
|
return h(`design-system:label.errors.${X}`, { context: W.errors ? W.errors[X] : "" });
|
|
@@ -18879,7 +18884,7 @@ Object.assign(gN, {
|
|
|
18879
18884
|
const Wu = {
|
|
18880
18885
|
pinned: "boolean"
|
|
18881
18886
|
};
|
|
18882
|
-
function
|
|
18887
|
+
function Fn({
|
|
18883
18888
|
children: e,
|
|
18884
18889
|
className: t,
|
|
18885
18890
|
"data-testid": n,
|
|
@@ -18898,12 +18903,12 @@ function An({
|
|
|
18898
18903
|
...o
|
|
18899
18904
|
}, e);
|
|
18900
18905
|
}
|
|
18901
|
-
Object.assign(
|
|
18906
|
+
Object.assign(Fn, {
|
|
18902
18907
|
props: Wu,
|
|
18903
18908
|
displayName: "SpsTableHead"
|
|
18904
18909
|
});
|
|
18905
18910
|
function SN(e) {
|
|
18906
|
-
return /* @__PURE__ */ s.createElement(
|
|
18911
|
+
return /* @__PURE__ */ s.createElement(Fn, {
|
|
18907
18912
|
...e
|
|
18908
18913
|
});
|
|
18909
18914
|
}
|
|
@@ -18941,7 +18946,7 @@ Object.assign(bN, {
|
|
|
18941
18946
|
displayName: "SpsTr"
|
|
18942
18947
|
});
|
|
18943
18948
|
const Uu = {};
|
|
18944
|
-
function
|
|
18949
|
+
function $n(e) {
|
|
18945
18950
|
const {
|
|
18946
18951
|
children: t,
|
|
18947
18952
|
className: n,
|
|
@@ -18958,12 +18963,12 @@ function Fn(e) {
|
|
|
18958
18963
|
...o
|
|
18959
18964
|
}, t);
|
|
18960
18965
|
}
|
|
18961
|
-
Object.assign(
|
|
18966
|
+
Object.assign($n, {
|
|
18962
18967
|
props: Uu,
|
|
18963
18968
|
displayName: "SpsTableBody"
|
|
18964
18969
|
});
|
|
18965
18970
|
function vN(e) {
|
|
18966
|
-
return /* @__PURE__ */ s.createElement(
|
|
18971
|
+
return /* @__PURE__ */ s.createElement($n, {
|
|
18967
18972
|
...e
|
|
18968
18973
|
});
|
|
18969
18974
|
}
|
|
@@ -20458,7 +20463,7 @@ const CN = {
|
|
|
20458
20463
|
src: "assets/images/list-action-bar-example.svg",
|
|
20459
20464
|
alt: "A List Action Bar with labels on each section",
|
|
20460
20465
|
className: "w-100 mb-3"
|
|
20461
|
-
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(
|
|
20466
|
+
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(Fn, null, /* @__PURE__ */ s.createElement(Qe, null, "Order"), /* @__PURE__ */ s.createElement(Qe, null, "Section"), /* @__PURE__ */ s.createElement(Qe, null, "Content Varieties")), /* @__PURE__ */ s.createElement($n, null, /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
20462
20467
|
className: "sps-tag sps-tag--info"
|
|
20463
20468
|
}, "1")), /* @__PURE__ */ s.createElement(ae, null, "Selection Counter"), /* @__PURE__ */ s.createElement(ae, null)), /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
20464
20469
|
className: "sps-tag sps-tag--info"
|
|
@@ -21181,9 +21186,9 @@ function PN() {
|
|
|
21181
21186
|
src: "assets/images/list-toolbar-example.svg",
|
|
21182
21187
|
alt: "A List Toolbar with labels on each section",
|
|
21183
21188
|
className: "w-100 mb-3"
|
|
21184
|
-
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(
|
|
21189
|
+
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(Fn, null, /* @__PURE__ */ s.createElement(Qe, {
|
|
21185
21190
|
style: { width: "80px" }
|
|
21186
|
-
}, "Order"), /* @__PURE__ */ s.createElement(Qe, null, "Section"), /* @__PURE__ */ s.createElement(Qe, null, "Notes")), /* @__PURE__ */ s.createElement(
|
|
21191
|
+
}, "Order"), /* @__PURE__ */ s.createElement(Qe, null, "Section"), /* @__PURE__ */ s.createElement(Qe, null, "Notes")), /* @__PURE__ */ s.createElement($n, null, /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
21187
21192
|
className: "sps-tag sps-tag--info"
|
|
21188
21193
|
}, "1")), /* @__PURE__ */ s.createElement(ae, null, "Checkbox"), /* @__PURE__ */ s.createElement(ae, null, "For Content Rows and Content Tiles only.")), /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
21189
21194
|
className: "sps-tag sps-tag--info"
|
|
@@ -23006,7 +23011,7 @@ function em({
|
|
|
23006
23011
|
}
|
|
23007
23012
|
function Te(de) {
|
|
23008
23013
|
W({ searchText: "" }), N && (N.setValue(de), N.markAsDirty()), h && h(
|
|
23009
|
-
new
|
|
23014
|
+
new Bn({ value: de })
|
|
23010
23015
|
);
|
|
23011
23016
|
}
|
|
23012
23017
|
function De(de) {
|
|
@@ -23147,7 +23152,7 @@ function em({
|
|
|
23147
23152
|
})), $.length !== 0 && !o ? /* @__PURE__ */ s.createElement("i", {
|
|
23148
23153
|
className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
|
|
23149
23154
|
onClick: (de) => St(de)
|
|
23150
|
-
}) : null)), /* @__PURE__ */ s.createElement(
|
|
23155
|
+
}) : null)), /* @__PURE__ */ s.createElement(ts, {
|
|
23151
23156
|
id: `${A}_options`,
|
|
23152
23157
|
ref: z,
|
|
23153
23158
|
"data-testid": `${K}__option-list`,
|
|
@@ -23747,7 +23752,7 @@ const GN = {
|
|
|
23747
23752
|
oe(ge);
|
|
23748
23753
|
const Ae = ge && I && typeof ge == "object" ? ge[I] : ge;
|
|
23749
23754
|
W && (W.setValue(Ae), W.markAsDirty()), S && S(
|
|
23750
|
-
new
|
|
23755
|
+
new Bn({ value: Ae })
|
|
23751
23756
|
);
|
|
23752
23757
|
}
|
|
23753
23758
|
s.useEffect(() => {
|
|
@@ -23849,7 +23854,7 @@ const GN = {
|
|
|
23849
23854
|
"data-testid": `${N}-clear-value`
|
|
23850
23855
|
}), /* @__PURE__ */ s.createElement("i", {
|
|
23851
23856
|
className: "sps-icon sps-icon-chevron-down"
|
|
23852
|
-
}))), /* @__PURE__ */ s.createElement(
|
|
23857
|
+
}))), /* @__PURE__ */ s.createElement(ts, {
|
|
23853
23858
|
id: `${J}-options`,
|
|
23854
23859
|
ref: F,
|
|
23855
23860
|
attachTo: j,
|
|
@@ -24283,7 +24288,7 @@ const JN = {
|
|
|
24283
24288
|
src: "assets/images/stepped-progress-bar-example.svg",
|
|
24284
24289
|
alt: "A Progress Bar with labels on each section",
|
|
24285
24290
|
className: "w-100 mb-3"
|
|
24286
|
-
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(
|
|
24291
|
+
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(Fn, null, /* @__PURE__ */ s.createElement(Qe, null, "Section"), /* @__PURE__ */ s.createElement(Qe, null, "Content Type"), /* @__PURE__ */ s.createElement(Qe, null, "Required"), /* @__PURE__ */ s.createElement(Qe, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement($n, null, /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
24287
24292
|
className: "sps-tag sps-tag--info"
|
|
24288
24293
|
}, "1")), /* @__PURE__ */ s.createElement(ae, null, "Title"), /* @__PURE__ */ s.createElement(ae, null, "No"), /* @__PURE__ */ s.createElement(ae, {
|
|
24289
24294
|
wrap: 400
|
|
@@ -25060,7 +25065,7 @@ const ex = {
|
|
|
25060
25065
|
src: "assets/images/progress-bar-example.svg",
|
|
25061
25066
|
alt: "A Progress Bar with labels on each section",
|
|
25062
25067
|
className: "w-100 mb-3"
|
|
25063
|
-
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(
|
|
25068
|
+
}), /* @__PURE__ */ s.createElement(wr, null, /* @__PURE__ */ s.createElement(Fn, null, /* @__PURE__ */ s.createElement(Qe, null, "Section"), /* @__PURE__ */ s.createElement(Qe, null, "Content Type"), /* @__PURE__ */ s.createElement(Qe, null, "Required"), /* @__PURE__ */ s.createElement(Qe, null, "Description/Guidelines")), /* @__PURE__ */ s.createElement($n, null, /* @__PURE__ */ s.createElement($e, null, /* @__PURE__ */ s.createElement(ae, null, /* @__PURE__ */ s.createElement("span", {
|
|
25064
25069
|
className: "sps-tag sps-tag--info"
|
|
25065
25070
|
}, "1")), /* @__PURE__ */ s.createElement(ae, null, "Title"), /* @__PURE__ */ s.createElement(ae, null, "No"), /* @__PURE__ */ s.createElement(ae, {
|
|
25066
25071
|
wrap: 400
|
|
@@ -27374,7 +27379,7 @@ function dm({
|
|
|
27374
27379
|
s.useEffect(() => {
|
|
27375
27380
|
y ? window.addEventListener("resize", b) : window.removeEventListener("resize", b);
|
|
27376
27381
|
}, [y]);
|
|
27377
|
-
const I =
|
|
27382
|
+
const I = es("sps-task-queue-portal"), O = s.useContext(Ot), [M] = y ? ur(
|
|
27378
27383
|
k,
|
|
27379
27384
|
x,
|
|
27380
27385
|
t,
|
|
@@ -27382,11 +27387,11 @@ function dm({
|
|
|
27382
27387
|
altPosition: t,
|
|
27383
27388
|
...O
|
|
27384
27389
|
}
|
|
27385
|
-
) : [{}, !1], L = r.position || be.BOTTOM_RIGHT, R = r.kind || $t.DEFAULT, K = e.filter((F) => F.unread).length, _ = e.filter((F) => F.status ===
|
|
27390
|
+
) : [{}, !1], L = r.position || be.BOTTOM_RIGHT, R = r.kind || $t.DEFAULT, K = e.filter((F) => F.unread).length, _ = e.filter((F) => F.status === Is.IN_PROGRESS).length, $ = e.some((F) => F.status === Is.COMPLETED || F.status === Is.ERRORED), N = s.useRef(o);
|
|
27386
27391
|
N.current = o;
|
|
27387
27392
|
const A = s.useRef(null), Q = () => {
|
|
27388
27393
|
S && !y ? (w(!0), a && a()) : y && (w(!1), o && o()), A.current && (A.current.scrollTop = 0);
|
|
27389
|
-
}, q = (F) => F.status ===
|
|
27394
|
+
}, q = (F) => F.status === Is.IN_PROGRESS ? Ul[F.status] : `sps-icon sps-icon-${Ul[F.status]}`;
|
|
27390
27395
|
s.useEffect(() => {
|
|
27391
27396
|
y && !S && (w(!1), N.current && N.current());
|
|
27392
27397
|
}, [y, S]);
|
|
@@ -27863,7 +27868,7 @@ const mx = {
|
|
|
27863
27868
|
}, w) => {
|
|
27864
27869
|
const T = r || n, { wrapperId: D, controlId: x } = wt(o, T), k = s.useRef(null);
|
|
27865
27870
|
function b(L, R) {
|
|
27866
|
-
T && (T.setValue(L), T.markAsDirty()), c && k.current && c(R || new
|
|
27871
|
+
T && (T.setValue(L), T.markAsDirty()), c && k.current && c(R || new Bn(k.current));
|
|
27867
27872
|
}
|
|
27868
27873
|
function I() {
|
|
27869
27874
|
k.current && (k.current.value = "", b(""));
|
|
@@ -28075,7 +28080,7 @@ function pm({
|
|
|
28075
28080
|
}) {
|
|
28076
28081
|
const w = r || n, { wrapperId: T, controlId: D } = wt(a, w), x = s.useRef(null);
|
|
28077
28082
|
function k(M, L) {
|
|
28078
|
-
w && (w.setValue(M), w.markAsDirty()), l && x.current && l(L || new
|
|
28083
|
+
w && (w.setValue(M), w.markAsDirty()), l && x.current && l(L || new Bn(x.current));
|
|
28079
28084
|
}
|
|
28080
28085
|
function b() {
|
|
28081
28086
|
x.current && (x.current.value = "", k(""));
|
|
@@ -29708,7 +29713,7 @@ function Nm({
|
|
|
29708
29713
|
}
|
|
29709
29714
|
function M(W) {
|
|
29710
29715
|
x({ searchText: "" }), y && (y.setValue(W), y.markAsDirty()), o && o(
|
|
29711
|
-
new
|
|
29716
|
+
new Bn({ value: W })
|
|
29712
29717
|
);
|
|
29713
29718
|
}
|
|
29714
29719
|
function L(W) {
|
|
@@ -30238,7 +30243,7 @@ const Bx = {
|
|
|
30238
30243
|
}, "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", {
|
|
30239
30244
|
className: "sps-body-14"
|
|
30240
30245
|
}, "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.")),
|
|
30241
|
-
components: [wr,
|
|
30246
|
+
components: [wr, $n, ae, Fn, Qe, $e],
|
|
30242
30247
|
examples: CN
|
|
30243
30248
|
},
|
|
30244
30249
|
"Task Queue": {
|
|
@@ -30351,16 +30356,16 @@ function Im() {
|
|
|
30351
30356
|
direction: Hx(e) ? "rtl" : "ltr"
|
|
30352
30357
|
};
|
|
30353
30358
|
}
|
|
30354
|
-
let _o = Im(),
|
|
30359
|
+
let _o = Im(), Wr = /* @__PURE__ */ new Set();
|
|
30355
30360
|
function pd() {
|
|
30356
30361
|
_o = Im();
|
|
30357
|
-
for (let e of
|
|
30362
|
+
for (let e of Wr)
|
|
30358
30363
|
e(_o);
|
|
30359
30364
|
}
|
|
30360
30365
|
function Wx() {
|
|
30361
30366
|
let e = $x(), [t, n] = Ve(_o);
|
|
30362
|
-
return Le(() => (
|
|
30363
|
-
|
|
30367
|
+
return Le(() => (Wr.size === 0 && window.addEventListener("languagechange", pd), Wr.add(n), () => {
|
|
30368
|
+
Wr.delete(n), Wr.size === 0 && window.removeEventListener("languagechange", pd);
|
|
30364
30369
|
}), []), e ? {
|
|
30365
30370
|
locale: "en-US",
|
|
30366
30371
|
direction: "ltr"
|
|
@@ -30528,21 +30533,21 @@ function or(e) {
|
|
|
30528
30533
|
e.focus(), Qx(t);
|
|
30529
30534
|
}
|
|
30530
30535
|
}
|
|
30531
|
-
let
|
|
30536
|
+
let Bs = null;
|
|
30532
30537
|
function Zx() {
|
|
30533
|
-
if (
|
|
30534
|
-
|
|
30538
|
+
if (Bs == null) {
|
|
30539
|
+
Bs = !1;
|
|
30535
30540
|
try {
|
|
30536
30541
|
var e = document.createElement("div");
|
|
30537
30542
|
e.focus({
|
|
30538
30543
|
get preventScroll() {
|
|
30539
|
-
return
|
|
30544
|
+
return Bs = !0, !0;
|
|
30540
30545
|
}
|
|
30541
30546
|
});
|
|
30542
30547
|
} catch {
|
|
30543
30548
|
}
|
|
30544
30549
|
}
|
|
30545
|
-
return
|
|
30550
|
+
return Bs;
|
|
30546
30551
|
}
|
|
30547
30552
|
function Xx(e) {
|
|
30548
30553
|
for (var t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement; t instanceof HTMLElement && t !== r; )
|
|
@@ -30719,21 +30724,21 @@ function ir(e) {
|
|
|
30719
30724
|
e.focus(), pI(t);
|
|
30720
30725
|
}
|
|
30721
30726
|
}
|
|
30722
|
-
let
|
|
30727
|
+
let As = null;
|
|
30723
30728
|
function cI() {
|
|
30724
|
-
if (
|
|
30725
|
-
|
|
30729
|
+
if (As == null) {
|
|
30730
|
+
As = !1;
|
|
30726
30731
|
try {
|
|
30727
30732
|
var e = document.createElement("div");
|
|
30728
30733
|
e.focus({
|
|
30729
30734
|
get preventScroll() {
|
|
30730
|
-
return
|
|
30735
|
+
return As = !0, !0;
|
|
30731
30736
|
}
|
|
30732
30737
|
});
|
|
30733
30738
|
} catch {
|
|
30734
30739
|
}
|
|
30735
30740
|
}
|
|
30736
|
-
return
|
|
30741
|
+
return As;
|
|
30737
30742
|
}
|
|
30738
30743
|
function dI(e) {
|
|
30739
30744
|
for (var t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement; t instanceof HTMLElement && t !== r; )
|
|
@@ -30877,7 +30882,7 @@ let lr = "default", Ro = "", Ws = /* @__PURE__ */ new WeakMap();
|
|
|
30877
30882
|
function yd(e) {
|
|
30878
30883
|
Fm() ? (lr === "default" && (Ro = document.documentElement.style.webkitUserSelect, document.documentElement.style.webkitUserSelect = "none"), lr = "disabled") : (e instanceof HTMLElement || e instanceof SVGElement) && (Ws.set(e, e.style.userSelect), e.style.userSelect = "none");
|
|
30879
30884
|
}
|
|
30880
|
-
function
|
|
30885
|
+
function Fs(e) {
|
|
30881
30886
|
if (Fm()) {
|
|
30882
30887
|
if (lr !== "disabled")
|
|
30883
30888
|
return;
|
|
@@ -30977,7 +30982,7 @@ function Vm(e) {
|
|
|
30977
30982
|
altKey: _.altKey
|
|
30978
30983
|
});
|
|
30979
30984
|
}, L = (_) => {
|
|
30980
|
-
b.isPressed && (b.isOverTarget && O(Qt(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m ||
|
|
30985
|
+
b.isPressed && (b.isOverTarget && O(Qt(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m || Fs(b.target));
|
|
30981
30986
|
}, R = {
|
|
30982
30987
|
onKeyDown(_) {
|
|
30983
30988
|
mo(_.nativeEvent, _.currentTarget) && _.currentTarget.contains(_.target) ? (Td(_.target, _.key) && _.preventDefault(), _.stopPropagation(), !b.isPressed && !_.repeat && (b.target = _.currentTarget, b.isPressed = !0, I(_, "keyboard"), D(document, "keyup", K, !1))) : _.key === "Enter" && Po(_.currentTarget) && _.stopPropagation();
|
|
@@ -31012,7 +31017,7 @@ function Vm(e) {
|
|
|
31012
31017
|
let _ = (A) => {
|
|
31013
31018
|
A.pointerId === b.activePointerId && (qn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(Qt(b.target, A), b.pointerType)) : b.isOverTarget && (b.isOverTarget = !1, O(Qt(b.target, A), b.pointerType, !1), S.current.shouldCancelOnPointerExit && L(A)));
|
|
31014
31019
|
}, $ = (A) => {
|
|
31015
|
-
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (qn(A, b.target) ? O(Qt(b.target, A), b.pointerType) : b.isOverTarget && O(Qt(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m ||
|
|
31020
|
+
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (qn(A, b.target) ? O(Qt(b.target, A), b.pointerType) : b.isOverTarget && O(Qt(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m || Fs(b.target));
|
|
31016
31021
|
}, N = (A) => {
|
|
31017
31022
|
L(A);
|
|
31018
31023
|
};
|
|
@@ -31053,7 +31058,7 @@ function Vm(e) {
|
|
|
31053
31058
|
if (!N.currentTarget.contains(N.target) || (N.stopPropagation(), !b.isPressed))
|
|
31054
31059
|
return;
|
|
31055
31060
|
let A = Ed(N.nativeEvent, b.activePointerId);
|
|
31056
|
-
A && qn(A, N.currentTarget) ? (M(N, b.pointerType), O(N, b.pointerType)) : b.isOverTarget && O(N, b.pointerType, !1), b.isPressed = !1, b.activePointerId = null, b.isOverTarget = !1, b.ignoreEmulatedMouseEvents = !0, m ||
|
|
31061
|
+
A && qn(A, N.currentTarget) ? (M(N, b.pointerType), O(N, b.pointerType)) : b.isOverTarget && O(N, b.pointerType, !1), b.isPressed = !1, b.activePointerId = null, b.isOverTarget = !1, b.ignoreEmulatedMouseEvents = !0, m || Fs(b.target), x();
|
|
31057
31062
|
}, R.onTouchCancel = (N) => {
|
|
31058
31063
|
!N.currentTarget.contains(N.target) || (N.stopPropagation(), b.isPressed && L(N));
|
|
31059
31064
|
};
|
|
@@ -31079,7 +31084,7 @@ function Vm(e) {
|
|
|
31079
31084
|
m
|
|
31080
31085
|
]);
|
|
31081
31086
|
return Le(() => () => {
|
|
31082
|
-
m ||
|
|
31087
|
+
m || Fs(T.current.target);
|
|
31083
31088
|
}, [
|
|
31084
31089
|
m
|
|
31085
31090
|
]), {
|
|
@@ -31152,7 +31157,7 @@ const CI = /* @__PURE__ */ new Set([
|
|
|
31152
31157
|
function Km(e, t) {
|
|
31153
31158
|
return e.type === "checkbox" || e.type === "radio" ? t === " " : CI.has(e.type);
|
|
31154
31159
|
}
|
|
31155
|
-
let DI = /* @__PURE__ */ new Set(), wd = !1,
|
|
31160
|
+
let DI = /* @__PURE__ */ new Set(), wd = !1, On = !1, Bo = !1;
|
|
31156
31161
|
function Zi(e, t) {
|
|
31157
31162
|
for (let n of DI)
|
|
31158
31163
|
n(e, t);
|
|
@@ -31161,26 +31166,26 @@ function NI(e) {
|
|
|
31161
31166
|
return !(e.metaKey || !Ji() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
31162
31167
|
}
|
|
31163
31168
|
function Cd(e) {
|
|
31164
|
-
|
|
31169
|
+
On = !0, NI(e) && Zi("keyboard", e);
|
|
31165
31170
|
}
|
|
31166
31171
|
function Jn(e) {
|
|
31167
|
-
(e.type === "mousedown" || e.type === "pointerdown") && (
|
|
31172
|
+
(e.type === "mousedown" || e.type === "pointerdown") && (On = !0, Zi("pointer", e));
|
|
31168
31173
|
}
|
|
31169
31174
|
function xI(e) {
|
|
31170
|
-
na(e) && (
|
|
31175
|
+
na(e) && (On = !0);
|
|
31171
31176
|
}
|
|
31172
31177
|
function II(e) {
|
|
31173
|
-
e.target === window || e.target === document || (!
|
|
31178
|
+
e.target === window || e.target === document || (!On && !Bo && Zi("virtual", e), On = !1, Bo = !1);
|
|
31174
31179
|
}
|
|
31175
31180
|
function kI() {
|
|
31176
|
-
|
|
31181
|
+
On = !1, Bo = !0;
|
|
31177
31182
|
}
|
|
31178
31183
|
function Dd() {
|
|
31179
31184
|
if (typeof window > "u" || wd)
|
|
31180
31185
|
return;
|
|
31181
31186
|
let e = HTMLElement.prototype.focus;
|
|
31182
31187
|
HTMLElement.prototype.focus = function() {
|
|
31183
|
-
|
|
31188
|
+
On = !0, e.apply(this, arguments);
|
|
31184
31189
|
}, document.addEventListener("keydown", Cd, !0), document.addEventListener("keyup", Cd, !0), document.addEventListener("click", xI, !0), window.addEventListener("focus", II, !0), window.addEventListener("blur", kI, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", Jn, !0), document.addEventListener("pointermove", Jn, !0), document.addEventListener("pointerup", Jn, !0)) : (document.addEventListener("mousedown", Jn, !0), document.addEventListener("mousemove", Jn, !0), document.addEventListener("mouseup", Jn, !0)), wd = !0;
|
|
31185
31190
|
}
|
|
31186
31191
|
typeof document < "u" && (document.readyState !== "loading" ? Dd() : document.addEventListener("DOMContentLoaded", Dd));
|
|
@@ -31330,7 +31335,7 @@ class Nd {
|
|
|
31330
31335
|
new Qi();
|
|
31331
31336
|
const AI = Y.createContext(null);
|
|
31332
31337
|
AI.displayName = "PressResponderContext";
|
|
31333
|
-
let
|
|
31338
|
+
let ls = null, FI = /* @__PURE__ */ new Set(), xd = !1, Rn = !1, Ao = !1;
|
|
31334
31339
|
function el(e, t) {
|
|
31335
31340
|
for (let n of FI)
|
|
31336
31341
|
n(e, t);
|
|
@@ -31339,31 +31344,31 @@ function $I(e) {
|
|
|
31339
31344
|
return !(e.metaKey || !Ji() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
31340
31345
|
}
|
|
31341
31346
|
function Id(e) {
|
|
31342
|
-
|
|
31347
|
+
Rn = !0, $I(e) && (ls = "keyboard", el("keyboard", e));
|
|
31343
31348
|
}
|
|
31344
31349
|
function Zn(e) {
|
|
31345
|
-
|
|
31350
|
+
ls = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Rn = !0, el("pointer", e));
|
|
31346
31351
|
}
|
|
31347
31352
|
function VI(e) {
|
|
31348
|
-
na(e) && (
|
|
31353
|
+
na(e) && (Rn = !0, ls = "virtual");
|
|
31349
31354
|
}
|
|
31350
31355
|
function KI(e) {
|
|
31351
|
-
e.target === window || e.target === document || (!
|
|
31356
|
+
e.target === window || e.target === document || (!Rn && !Ao && (ls = "virtual", el("virtual", e)), Rn = !1, Ao = !1);
|
|
31352
31357
|
}
|
|
31353
31358
|
function HI() {
|
|
31354
|
-
|
|
31359
|
+
Rn = !1, Ao = !0;
|
|
31355
31360
|
}
|
|
31356
31361
|
function kd() {
|
|
31357
31362
|
if (typeof window > "u" || xd)
|
|
31358
31363
|
return;
|
|
31359
31364
|
let e = HTMLElement.prototype.focus;
|
|
31360
31365
|
HTMLElement.prototype.focus = function() {
|
|
31361
|
-
|
|
31366
|
+
Rn = !0, e.apply(this, arguments);
|
|
31362
31367
|
}, document.addEventListener("keydown", Id, !0), document.addEventListener("keyup", Id, !0), document.addEventListener("click", VI, !0), window.addEventListener("focus", KI, !0), window.addEventListener("blur", HI, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", Zn, !0), document.addEventListener("pointermove", Zn, !0), document.addEventListener("pointerup", Zn, !0)) : (document.addEventListener("mousedown", Zn, !0), document.addEventListener("mousemove", Zn, !0), document.addEventListener("mouseup", Zn, !0)), xd = !0;
|
|
31363
31368
|
}
|
|
31364
31369
|
typeof document < "u" && (document.readyState !== "loading" ? kd() : document.addEventListener("DOMContentLoaded", kd));
|
|
31365
31370
|
function WI() {
|
|
31366
|
-
return
|
|
31371
|
+
return ls;
|
|
31367
31372
|
}
|
|
31368
31373
|
function Gm(e) {
|
|
31369
31374
|
if (WI() === "virtual") {
|
|
@@ -31740,7 +31745,7 @@ let cr = "default", Fo = "", Gs = /* @__PURE__ */ new WeakMap();
|
|
|
31740
31745
|
function Od(e) {
|
|
31741
31746
|
ji() ? (cr === "default" && (Fo = document.documentElement.style.webkitUserSelect, document.documentElement.style.webkitUserSelect = "none"), cr = "disabled") : (e instanceof HTMLElement || e instanceof SVGElement) && (Gs.set(e, e.style.userSelect), e.style.userSelect = "none");
|
|
31742
31747
|
}
|
|
31743
|
-
function
|
|
31748
|
+
function $s(e) {
|
|
31744
31749
|
if (ji()) {
|
|
31745
31750
|
if (cr !== "disabled")
|
|
31746
31751
|
return;
|
|
@@ -31843,7 +31848,7 @@ function ek(e) {
|
|
|
31843
31848
|
altKey: _.altKey
|
|
31844
31849
|
});
|
|
31845
31850
|
}, L = (_) => {
|
|
31846
|
-
b.isPressed && (b.isOverTarget && O(en(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m ||
|
|
31851
|
+
b.isPressed && (b.isOverTarget && O(en(b.target, _), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m || $s(b.target));
|
|
31847
31852
|
}, R = {
|
|
31848
31853
|
onKeyDown(_) {
|
|
31849
31854
|
ho(_.nativeEvent, _.currentTarget) && _.currentTarget.contains(_.target) ? (Pd(_.target, _.key) && _.preventDefault(), _.stopPropagation(), !b.isPressed && !_.repeat && (b.target = _.currentTarget, b.isPressed = !0, I(_, "keyboard"), D(document, "keyup", K, !1))) : _.key === "Enter" && Vo(_.currentTarget) && _.stopPropagation();
|
|
@@ -31878,7 +31883,7 @@ function ek(e) {
|
|
|
31878
31883
|
let _ = (A) => {
|
|
31879
31884
|
A.pointerId === b.activePointerId && (Xn(A, b.target) ? b.isOverTarget || (b.isOverTarget = !0, I(en(b.target, A), b.pointerType)) : b.isOverTarget && (b.isOverTarget = !1, O(en(b.target, A), b.pointerType, !1), S.current.shouldCancelOnPointerExit && L(A)));
|
|
31880
31885
|
}, $ = (A) => {
|
|
31881
|
-
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (Xn(A, b.target) ? O(en(b.target, A), b.pointerType) : b.isOverTarget && O(en(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m ||
|
|
31886
|
+
A.pointerId === b.activePointerId && b.isPressed && A.button === 0 && (Xn(A, b.target) ? O(en(b.target, A), b.pointerType) : b.isOverTarget && O(en(b.target, A), b.pointerType, !1), b.isPressed = !1, b.isOverTarget = !1, b.activePointerId = null, b.pointerType = null, x(), m || $s(b.target));
|
|
31882
31887
|
}, N = (A) => {
|
|
31883
31888
|
L(A);
|
|
31884
31889
|
};
|
|
@@ -31919,7 +31924,7 @@ function ek(e) {
|
|
|
31919
31924
|
if (!N.currentTarget.contains(N.target) || (N.stopPropagation(), !b.isPressed))
|
|
31920
31925
|
return;
|
|
31921
31926
|
let A = Rd(N.nativeEvent, b.activePointerId);
|
|
31922
|
-
A && Xn(A, N.currentTarget) ? (M(N, b.pointerType), O(N, b.pointerType)) : b.isOverTarget && O(N, b.pointerType, !1), b.isPressed = !1, b.activePointerId = null, b.isOverTarget = !1, b.ignoreEmulatedMouseEvents = !0, m ||
|
|
31927
|
+
A && Xn(A, N.currentTarget) ? (M(N, b.pointerType), O(N, b.pointerType)) : b.isOverTarget && O(N, b.pointerType, !1), b.isPressed = !1, b.activePointerId = null, b.isOverTarget = !1, b.ignoreEmulatedMouseEvents = !0, m || $s(b.target), x();
|
|
31923
31928
|
}, R.onTouchCancel = (N) => {
|
|
31924
31929
|
!N.currentTarget.contains(N.target) || (N.stopPropagation(), b.isPressed && L(N));
|
|
31925
31930
|
};
|
|
@@ -31945,7 +31950,7 @@ function ek(e) {
|
|
|
31945
31950
|
m
|
|
31946
31951
|
]);
|
|
31947
31952
|
return Le(() => () => {
|
|
31948
|
-
m ||
|
|
31953
|
+
m || $s(T.current.target);
|
|
31949
31954
|
}, [
|
|
31950
31955
|
m
|
|
31951
31956
|
]), {
|
|
@@ -32021,7 +32026,7 @@ function qm(e, t) {
|
|
|
32021
32026
|
function ak(e) {
|
|
32022
32027
|
return e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
|
|
32023
32028
|
}
|
|
32024
|
-
let ok = /* @__PURE__ */ new Set(), Bd = !1,
|
|
32029
|
+
let ok = /* @__PURE__ */ new Set(), Bd = !1, Pn = !1, Ko = !1;
|
|
32025
32030
|
function rl(e, t) {
|
|
32026
32031
|
for (let n of ok)
|
|
32027
32032
|
n(e, t);
|
|
@@ -32030,26 +32035,26 @@ function ik(e) {
|
|
|
32030
32035
|
return !(e.metaKey || !va() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
32031
32036
|
}
|
|
32032
32037
|
function Ad(e) {
|
|
32033
|
-
|
|
32038
|
+
Pn = !0, ik(e) && rl("keyboard", e);
|
|
32034
32039
|
}
|
|
32035
32040
|
function Qn(e) {
|
|
32036
|
-
(e.type === "mousedown" || e.type === "pointerdown") && (
|
|
32041
|
+
(e.type === "mousedown" || e.type === "pointerdown") && (Pn = !0, rl("pointer", e));
|
|
32037
32042
|
}
|
|
32038
32043
|
function lk(e) {
|
|
32039
|
-
$o(e) && (
|
|
32044
|
+
$o(e) && (Pn = !0);
|
|
32040
32045
|
}
|
|
32041
32046
|
function ck(e) {
|
|
32042
|
-
e.target === window || e.target === document || (!
|
|
32047
|
+
e.target === window || e.target === document || (!Pn && !Ko && rl("virtual", e), Pn = !1, Ko = !1);
|
|
32043
32048
|
}
|
|
32044
32049
|
function dk() {
|
|
32045
|
-
|
|
32050
|
+
Pn = !1, Ko = !0;
|
|
32046
32051
|
}
|
|
32047
32052
|
function Fd() {
|
|
32048
32053
|
if (typeof window > "u" || Bd)
|
|
32049
32054
|
return;
|
|
32050
32055
|
let e = HTMLElement.prototype.focus;
|
|
32051
32056
|
HTMLElement.prototype.focus = function() {
|
|
32052
|
-
|
|
32057
|
+
Pn = !0, e.apply(this, arguments);
|
|
32053
32058
|
}, document.addEventListener("keydown", Ad, !0), document.addEventListener("keyup", Ad, !0), document.addEventListener("click", lk, !0), window.addEventListener("focus", ck, !0), window.addEventListener("blur", dk, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", Qn, !0), document.addEventListener("pointermove", Qn, !0), document.addEventListener("pointerup", Qn, !0)) : (document.addEventListener("mousedown", Qn, !0), document.addEventListener("mousemove", Qn, !0), document.addEventListener("mouseup", Qn, !0)), Bd = !0;
|
|
32054
32059
|
}
|
|
32055
32060
|
typeof document < "u" && (document.readyState !== "loading" ? Fd() : document.addEventListener("DOMContentLoaded", Fd));
|
|
@@ -34661,13 +34666,13 @@ const r_ = {
|
|
|
34661
34666
|
}
|
|
34662
34667
|
};
|
|
34663
34668
|
export {
|
|
34664
|
-
|
|
34669
|
+
Qr as AsTypingErrorKeys,
|
|
34665
34670
|
PN as ContentOrderExample,
|
|
34666
34671
|
id as DEFAULT_PRESETS,
|
|
34667
34672
|
EC as DragDropContext,
|
|
34668
34673
|
pD as Draggable,
|
|
34669
34674
|
Tu as Droppable,
|
|
34670
|
-
|
|
34675
|
+
Bn as FauxChangeEvent,
|
|
34671
34676
|
Be as I18nContext,
|
|
34672
34677
|
HM as MANIFEST,
|
|
34673
34678
|
jk as ModalAction,
|
|
@@ -34820,10 +34825,10 @@ export {
|
|
|
34820
34825
|
hk as SpsTab,
|
|
34821
34826
|
gk as SpsTabPanel,
|
|
34822
34827
|
wr as SpsTable,
|
|
34823
|
-
|
|
34828
|
+
$n as SpsTableBody,
|
|
34824
34829
|
ae as SpsTableCell,
|
|
34825
34830
|
CN as SpsTableExamples,
|
|
34826
|
-
|
|
34831
|
+
Fn as SpsTableHead,
|
|
34827
34832
|
Qe as SpsTableHeader,
|
|
34828
34833
|
$e as SpsTableRow,
|
|
34829
34834
|
Zm as SpsTabsV2,
|
|
@@ -34898,7 +34903,7 @@ export {
|
|
|
34898
34903
|
qM as useModals,
|
|
34899
34904
|
Yw as useMouseSensor,
|
|
34900
34905
|
sn as usePatchReducer,
|
|
34901
|
-
|
|
34906
|
+
es as usePortal,
|
|
34902
34907
|
$M as useServerSideValidation,
|
|
34903
34908
|
JM as useSpsAction,
|
|
34904
34909
|
zb as useSpsForm,
|