@canonical/maas-react-components 1.27.0 → 1.28.0
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/dist/@canonical/maas-react-components.es.js +603 -589
- package/dist/@canonical/maas-react-components.umd.js +11 -11
- package/dist/src/lib/components/DynamicTable/DynamicTable.d.ts +14 -5
- package/dist/src/lib/components/DynamicTable/DynamicTable.stories.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as s, Fragment as de } from "react/jsx-runtime";
|
|
2
2
|
import * as oe from "react";
|
|
3
|
-
import
|
|
4
|
-
import { useListener as
|
|
5
|
-
function
|
|
3
|
+
import yt, { useRef as Ee, useState as fe, useEffect as be, useCallback as Z, cloneElement as ht, createContext as Lr, useId as ke, useContext as lr, useMemo as ae, useReducer as Br, forwardRef as bt, useImperativeHandle as _t, Fragment as wt, useLayoutEffect as Et } from "react";
|
|
4
|
+
import { useListener as xt, Link as Tt, Spinner as St, Tooltip as Ct, Button as pe, Icon as Te, Row as Ot, Col as Dt, Input as At, Label as Pt, CheckboxInput as Rt, useClickOutside as Ft, useOnEscapePressed as It, SearchBox as jt } from "@canonical/react-components";
|
|
5
|
+
function zr(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var
|
|
8
|
+
var Wr = { exports: {} };
|
|
9
9
|
/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
@@ -40,10 +40,10 @@ var zr = { exports: {} };
|
|
|
40
40
|
}
|
|
41
41
|
e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
|
|
42
42
|
})();
|
|
43
|
-
})(
|
|
44
|
-
var
|
|
45
|
-
const L = /* @__PURE__ */
|
|
46
|
-
const
|
|
43
|
+
})(Wr);
|
|
44
|
+
var Nt = Wr.exports;
|
|
45
|
+
const L = /* @__PURE__ */ zr(Nt);
|
|
46
|
+
const he = {
|
|
47
47
|
caution: "#F99B11",
|
|
48
48
|
light: "#F7F7F7",
|
|
49
49
|
linkFaded: "#D3E4ED",
|
|
@@ -52,15 +52,15 @@ const be = {
|
|
|
52
52
|
positiveFaded: "#B7CCB9",
|
|
53
53
|
positiveMid: "#4DAB4D",
|
|
54
54
|
positive: "#0E8420"
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
],
|
|
55
|
+
}, Lo = [
|
|
56
|
+
he.link,
|
|
57
|
+
he.positive,
|
|
58
|
+
he.negative,
|
|
59
|
+
he.caution
|
|
60
|
+
], kt = he.linkFaded, Yr = he.caution, tr = he.light, vr = 2, gr = 1, yr = (e, r) => {
|
|
61
61
|
var a, o;
|
|
62
62
|
const t = ((o = (a = e == null ? void 0 : e.current) == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : o.width) || 0;
|
|
63
|
-
return t > r *
|
|
63
|
+
return t > r * vr ? t / r : vr;
|
|
64
64
|
}, xe = {
|
|
65
65
|
bar: "meter-bar",
|
|
66
66
|
container: "meter-container",
|
|
@@ -68,7 +68,7 @@ const be = {
|
|
|
68
68
|
label: "meter-label",
|
|
69
69
|
meteroverflow: "meter-overflow",
|
|
70
70
|
segments: "meter-segments"
|
|
71
|
-
},
|
|
71
|
+
}, $t = ({
|
|
72
72
|
className: e,
|
|
73
73
|
children: r,
|
|
74
74
|
data: t,
|
|
@@ -77,14 +77,14 @@ const be = {
|
|
|
77
77
|
size: o = "regular",
|
|
78
78
|
...c
|
|
79
79
|
}) => {
|
|
80
|
-
const i = Ee(null), f = t == null ? void 0 : t.reduce((T, x) => T + x.value, 0), l = n || f,
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
const i = Ee(null), f = t == null ? void 0 : t.reduce((T, x) => T + x.value, 0), l = n || f, m = t.map((T) => T.value / l * 100), [y, b] = fe(0);
|
|
81
|
+
be(() => {
|
|
82
|
+
b(a === "segmented" ? yr(i, l) : 0);
|
|
83
83
|
}, [l, a]);
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
}, [i, l,
|
|
87
|
-
return
|
|
84
|
+
const h = Z(() => {
|
|
85
|
+
b(yr(i, l));
|
|
86
|
+
}, [i, l, b]);
|
|
87
|
+
return xt(window, h, "resize", !0, a === "segmented"), /* @__PURE__ */ U(
|
|
88
88
|
"div",
|
|
89
89
|
{
|
|
90
90
|
className: L("p-meter", e, {
|
|
@@ -94,14 +94,14 @@ const be = {
|
|
|
94
94
|
"data-testid": xe.container,
|
|
95
95
|
ref: i,
|
|
96
96
|
children: [
|
|
97
|
-
/* @__PURE__ */ s(
|
|
98
|
-
|
|
97
|
+
/* @__PURE__ */ s(Mt, { children: /* @__PURE__ */ s(
|
|
98
|
+
Lt,
|
|
99
99
|
{
|
|
100
100
|
data: t,
|
|
101
|
-
datumWidths:
|
|
101
|
+
datumWidths: m,
|
|
102
102
|
maximum: l,
|
|
103
|
-
overColor:
|
|
104
|
-
segmentWidth:
|
|
103
|
+
overColor: Yr,
|
|
104
|
+
segmentWidth: y,
|
|
105
105
|
separatorColor: tr
|
|
106
106
|
}
|
|
107
107
|
) }),
|
|
@@ -109,15 +109,15 @@ const be = {
|
|
|
109
109
|
]
|
|
110
110
|
}
|
|
111
111
|
);
|
|
112
|
-
},
|
|
112
|
+
}, Mt = ({ children: e }) => /* @__PURE__ */ s(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
115
|
className: "p-meter__bar",
|
|
116
116
|
"data-testid": xe.bar,
|
|
117
|
-
style: { backgroundColor:
|
|
117
|
+
style: { backgroundColor: kt },
|
|
118
118
|
children: e
|
|
119
119
|
}
|
|
120
|
-
),
|
|
120
|
+
), Lt = ({
|
|
121
121
|
data: e,
|
|
122
122
|
datumWidths: r,
|
|
123
123
|
maximum: t,
|
|
@@ -126,7 +126,7 @@ const be = {
|
|
|
126
126
|
const a = () => (e == null ? void 0 : e.reduce((i, f) => i + f.value, 0)) > t, o = (i, f) => ({
|
|
127
127
|
backgroundColor: i.color,
|
|
128
128
|
left: `${r == null ? void 0 : r.reduce(
|
|
129
|
-
(l,
|
|
129
|
+
(l, m, y) => f > y ? l + m : l,
|
|
130
130
|
0
|
|
131
131
|
)}%`,
|
|
132
132
|
width: `${r[f]}%`
|
|
@@ -134,8 +134,8 @@ const be = {
|
|
|
134
134
|
background: `repeating-linear-gradient(
|
|
135
135
|
to right,
|
|
136
136
|
transparent 0,
|
|
137
|
-
transparent ${n -
|
|
138
|
-
${tr} ${n -
|
|
137
|
+
transparent ${n - gr}px,
|
|
138
|
+
${tr} ${n - gr}px,
|
|
139
139
|
${tr} ${n}px
|
|
140
140
|
)`
|
|
141
141
|
});
|
|
@@ -145,7 +145,7 @@ const be = {
|
|
|
145
145
|
{
|
|
146
146
|
className: "p-meter__filled",
|
|
147
147
|
"data-testid": xe.meteroverflow,
|
|
148
|
-
style: { backgroundColor:
|
|
148
|
+
style: { backgroundColor: Yr, width: "100%" }
|
|
149
149
|
}
|
|
150
150
|
) : e == null ? void 0 : e.map((i, f) => /* @__PURE__ */ s(
|
|
151
151
|
"div",
|
|
@@ -165,7 +165,7 @@ const be = {
|
|
|
165
165
|
}
|
|
166
166
|
)
|
|
167
167
|
] });
|
|
168
|
-
},
|
|
168
|
+
}, Bt = ({
|
|
169
169
|
className: e,
|
|
170
170
|
children: r
|
|
171
171
|
}) => /* @__PURE__ */ s(
|
|
@@ -176,16 +176,16 @@ const be = {
|
|
|
176
176
|
children: r
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
const
|
|
179
|
+
$t.Label = Bt;
|
|
180
|
+
const Bo = ({ children: e, to: r, ...t }) => /* @__PURE__ */ s(Tt, { ...t, href: r, rel: "noreferrer noopener", target: "_blank", children: e });
|
|
181
|
+
const zt = ({
|
|
182
182
|
percentComplete: e
|
|
183
183
|
}) => /* @__PURE__ */ U("small", { className: "progress-indicator", children: [
|
|
184
184
|
e,
|
|
185
185
|
"% ",
|
|
186
|
-
/* @__PURE__ */ s(
|
|
186
|
+
/* @__PURE__ */ s(St, { className: "progress-indicator__spinner" })
|
|
187
187
|
] });
|
|
188
|
-
const
|
|
188
|
+
const Wt = ({
|
|
189
189
|
text: e,
|
|
190
190
|
children: r,
|
|
191
191
|
className: t,
|
|
@@ -202,12 +202,12 @@ const zt = ({
|
|
|
202
202
|
children: /* @__PURE__ */ s("span", { "aria-hidden": "true", children: e || r || "Loading" })
|
|
203
203
|
}
|
|
204
204
|
) : /* @__PURE__ */ s(de, { children: r });
|
|
205
|
-
},
|
|
205
|
+
}, Yt = ({ children: e }) => /* @__PURE__ */ s(de, { children: e }), qt = ({
|
|
206
206
|
isCollapsed: e,
|
|
207
207
|
setIsCollapsed: r,
|
|
208
208
|
className: t
|
|
209
209
|
}) => /* @__PURE__ */ s(
|
|
210
|
-
|
|
210
|
+
Ct,
|
|
211
211
|
{
|
|
212
212
|
className: "p-side-navigation__tooltip-wrapper",
|
|
213
213
|
message: /* @__PURE__ */ U(de, { children: [
|
|
@@ -234,7 +234,7 @@ const zt = ({
|
|
|
234
234
|
}
|
|
235
235
|
)
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), Ut = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-panel__content", children: /* @__PURE__ */ s("nav", { className: "p-side-navigation--icons is-dark", children: e }) }), Kt = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-panel__controls u-no-margin--top", children: e }), Ht = ({ children: e }) => /* @__PURE__ */ s("div", { className: "l-navigation__drawer", children: /* @__PURE__ */ s("div", { className: "p-panel is-dark", children: e }) }), Gt = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-panel__footer", children: e }), Vt = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-panel__header", children: e }), Xt = ({ light: e = !0, name: r }) => /* @__PURE__ */ s(Te, { className: "p-side-navigation__icon", light: e, name: r }), Jt = ({ children: e, className: r, hasActiveChild: t }) => /* @__PURE__ */ s("li", { className: L("p-side-navigation__item", r, { "has-active-child": t }), children: e }), Zt = ({ children: e, id: r, variant: t = "base" }) => /* @__PURE__ */ s("span", { className: L("p-side-navigation__label", { "p-side-navigation__label--group": t === "group" }), id: r, children: e }), Qt = ({
|
|
238
238
|
as: e,
|
|
239
239
|
...r
|
|
240
240
|
}) => /* @__PURE__ */ s(
|
|
@@ -243,12 +243,12 @@ const zt = ({
|
|
|
243
243
|
className: L("p-side-navigation__link", r.className),
|
|
244
244
|
...r
|
|
245
245
|
}
|
|
246
|
-
),
|
|
246
|
+
), en = ({ children: e, className: r }) => /* @__PURE__ */ s("ul", { className: L("p-side-navigation__list", r), children: e }), rn = ({
|
|
247
247
|
as: e,
|
|
248
248
|
children: r,
|
|
249
249
|
className: t,
|
|
250
250
|
...n
|
|
251
|
-
}) => /* @__PURE__ */ s(e || "a", { className: L("p-panel__logo", t), ...n, children: /* @__PURE__ */ s("div", { className: "p-navigation__tagged-logo", children: r }) }),
|
|
251
|
+
}) => /* @__PURE__ */ s(e || "a", { className: L("p-panel__logo", t), ...n, children: /* @__PURE__ */ s("div", { className: "p-navigation__tagged-logo", children: r }) }), tn = ({ children: e }) => ht(e, { className: "p-panel__logo-icon p-navigation__logo-icon" }), nn = ({ children: e, variant: r = "base" }) => /* @__PURE__ */ s(
|
|
252
252
|
"div",
|
|
253
253
|
{
|
|
254
254
|
className: L("p-panel__logo-name is-fading-when-collapsed", {
|
|
@@ -256,7 +256,7 @@ const zt = ({
|
|
|
256
256
|
}),
|
|
257
257
|
children: e
|
|
258
258
|
}
|
|
259
|
-
),
|
|
259
|
+
), on = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-navigation__logo-tag", children: e }), an = ({ children: e }) => /* @__PURE__ */ s("span", { className: "p-panel__logo-text", children: e }), sn = ({
|
|
260
260
|
children: e,
|
|
261
261
|
className: r,
|
|
262
262
|
onClick: t
|
|
@@ -273,30 +273,30 @@ const zt = ({
|
|
|
273
273
|
},
|
|
274
274
|
children: e
|
|
275
275
|
}
|
|
276
|
-
),
|
|
277
|
-
const H = ({ children: e, className: r, isCollapsed: t }) => /* @__PURE__ */ s("header", { "aria-label": "main navigation", className: L("l-navigation is-maas", r, { "is-collapsed": t, "is-pinned": !t }), children: e }),
|
|
278
|
-
H.Header =
|
|
279
|
-
H.Banner =
|
|
280
|
-
H.Drawer =
|
|
281
|
-
H.Controls =
|
|
282
|
-
H.CollapseToggle =
|
|
283
|
-
H.Content =
|
|
284
|
-
H.Footer =
|
|
285
|
-
H.List =
|
|
286
|
-
H.Item =
|
|
287
|
-
H.Link =
|
|
288
|
-
H.Text =
|
|
289
|
-
H.Icon =
|
|
290
|
-
H.Label =
|
|
291
|
-
H.Logo =
|
|
292
|
-
H.LogoTag =
|
|
293
|
-
H.LogoIcon =
|
|
294
|
-
H.LogoName =
|
|
295
|
-
H.LogoText =
|
|
296
|
-
|
|
297
|
-
const
|
|
276
|
+
), cn = ({ children: e }) => /* @__PURE__ */ s("span", { className: "p-side-navigation__text", children: e });
|
|
277
|
+
const H = ({ children: e, className: r, isCollapsed: t }) => /* @__PURE__ */ s("header", { "aria-label": "main navigation", className: L("l-navigation is-maas", r, { "is-collapsed": t, "is-pinned": !t }), children: e }), ln = ({ children: e, className: r }) => /* @__PURE__ */ s("header", { "aria-label": "navigation", className: "l-navigation-bar", children: /* @__PURE__ */ s("div", { className: L("p-panel is-dark", r), children: e }) });
|
|
278
|
+
H.Header = Vt;
|
|
279
|
+
H.Banner = Yt;
|
|
280
|
+
H.Drawer = Ht;
|
|
281
|
+
H.Controls = Kt;
|
|
282
|
+
H.CollapseToggle = qt;
|
|
283
|
+
H.Content = Ut;
|
|
284
|
+
H.Footer = Gt;
|
|
285
|
+
H.List = en;
|
|
286
|
+
H.Item = Jt;
|
|
287
|
+
H.Link = Qt;
|
|
288
|
+
H.Text = cn;
|
|
289
|
+
H.Icon = Xt;
|
|
290
|
+
H.Label = Zt;
|
|
291
|
+
H.Logo = rn;
|
|
292
|
+
H.LogoTag = on;
|
|
293
|
+
H.LogoIcon = tn;
|
|
294
|
+
H.LogoName = nn;
|
|
295
|
+
H.LogoText = an;
|
|
296
|
+
ln.MenuButton = sn;
|
|
297
|
+
const ur = Lr(null), qr = ({ children: e }) => {
|
|
298
298
|
const r = ke();
|
|
299
|
-
return /* @__PURE__ */ s(
|
|
299
|
+
return /* @__PURE__ */ s(ur.Provider, { value: r, children: /* @__PURE__ */ s(
|
|
300
300
|
"div",
|
|
301
301
|
{
|
|
302
302
|
role: "group",
|
|
@@ -306,20 +306,20 @@ const lr = gt(null), Yr = ({ children: e }) => {
|
|
|
306
306
|
children: e
|
|
307
307
|
}
|
|
308
308
|
) });
|
|
309
|
-
}, ln = ({ children: e }) => {
|
|
310
|
-
const r = Mr(lr);
|
|
311
|
-
return /* @__PURE__ */ s("label", { id: `${r}_label`, children: e });
|
|
312
309
|
}, un = ({ children: e }) => {
|
|
313
|
-
const r =
|
|
310
|
+
const r = lr(ur);
|
|
311
|
+
return /* @__PURE__ */ s("label", { id: `${r}_label`, children: e });
|
|
312
|
+
}, fn = ({ children: e }) => {
|
|
313
|
+
const r = lr(ur);
|
|
314
314
|
return /* @__PURE__ */ s("p", { className: "p-form-help-text", id: `${r}_description`, children: e });
|
|
315
315
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
const
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
function
|
|
316
|
+
qr.Label = un;
|
|
317
|
+
qr.Description = fn;
|
|
318
|
+
const fr = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-form-section", children: e }), pn = ({ children: e }) => /* @__PURE__ */ s("h5", { className: "p-form-section__title u-no-padding--top", children: e }), dn = ({ children: e }) => /* @__PURE__ */ s("p", { className: "p-form-help-text", children: e }), mn = ({ children: e }) => /* @__PURE__ */ s("div", { className: "p-form-section__content", children: e });
|
|
319
|
+
fr.Title = pn;
|
|
320
|
+
fr.Description = dn;
|
|
321
|
+
fr.Content = mn;
|
|
322
|
+
function vn(e) {
|
|
323
323
|
const [r, t] = oe.useState(null), n = oe.useRef(null), a = oe.useCallback(() => {
|
|
324
324
|
if (e.current) {
|
|
325
325
|
const o = e.current.getBoundingClientRect();
|
|
@@ -335,9 +335,9 @@ function mn(e) {
|
|
|
335
335
|
};
|
|
336
336
|
}, [e, a]), r;
|
|
337
337
|
}
|
|
338
|
-
const
|
|
339
|
-
}]),
|
|
340
|
-
const r = oe.useRef(null), t =
|
|
338
|
+
const Ur = oe.createContext(null), Kr = oe.createContext([!1, () => {
|
|
339
|
+
}]), Hr = ({ children: e }) => {
|
|
340
|
+
const r = oe.useRef(null), t = vn(r), [n, a] = oe.useState(!1);
|
|
341
341
|
return /* @__PURE__ */ s(
|
|
342
342
|
"header",
|
|
343
343
|
{
|
|
@@ -345,10 +345,10 @@ const qr = oe.createContext(null), Ur = oe.createContext([!1, () => {
|
|
|
345
345
|
"main-toolbar--stacked": n
|
|
346
346
|
}),
|
|
347
347
|
ref: r,
|
|
348
|
-
children: /* @__PURE__ */ s(
|
|
348
|
+
children: /* @__PURE__ */ s(Ur.Provider, { value: t, children: /* @__PURE__ */ s(Kr.Provider, { value: [n, a], children: e }) })
|
|
349
349
|
}
|
|
350
350
|
);
|
|
351
|
-
},
|
|
351
|
+
}, gn = ({
|
|
352
352
|
as: e,
|
|
353
353
|
children: r,
|
|
354
354
|
className: t,
|
|
@@ -362,7 +362,7 @@ const qr = oe.createContext(null), Ur = oe.createContext([!1, () => {
|
|
|
362
362
|
children: r
|
|
363
363
|
}
|
|
364
364
|
), yn = ({ children: e }) => {
|
|
365
|
-
const r = oe.useContext(
|
|
365
|
+
const r = oe.useContext(Ur), [t, n] = oe.useContext(Kr), a = oe.useRef(null);
|
|
366
366
|
return oe.useEffect(() => {
|
|
367
367
|
!a.current || !r || n(a.current.getBoundingClientRect().width > r.width);
|
|
368
368
|
}, [n, r, a]), /* @__PURE__ */ U(de, { children: [
|
|
@@ -387,8 +387,8 @@ const qr = oe.createContext(null), Ur = oe.createContext([!1, () => {
|
|
|
387
387
|
)
|
|
388
388
|
] });
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
Hr.Title = gn;
|
|
391
|
+
Hr.Controls = yn;
|
|
392
392
|
const Be = ({
|
|
393
393
|
children: e,
|
|
394
394
|
className: r,
|
|
@@ -397,20 +397,20 @@ const Be = ({
|
|
|
397
397
|
...a
|
|
398
398
|
}) => {
|
|
399
399
|
const o = t || "section", c = L("content-section", r);
|
|
400
|
-
return /* @__PURE__ */ s(o, { ...a, className: c, children: /* @__PURE__ */ s(
|
|
401
|
-
},
|
|
400
|
+
return /* @__PURE__ */ s(o, { ...a, className: c, children: /* @__PURE__ */ s(Ot, { children: /* @__PURE__ */ s(Dt, { size: n === "narrow" ? 6 : 12, children: e }) }) });
|
|
401
|
+
}, hn = ({ children: e, className: r, as: t, ...n }) => /* @__PURE__ */ s(
|
|
402
402
|
t || "h1",
|
|
403
403
|
{
|
|
404
404
|
...n,
|
|
405
405
|
className: L("content-section__title p-heading--4", r),
|
|
406
406
|
children: e
|
|
407
407
|
}
|
|
408
|
-
), bn = ({ children: e, className: r }) => /* @__PURE__ */ s("header", { className: L("content-section__header", r), children: e }),
|
|
409
|
-
Be.Title =
|
|
408
|
+
), bn = ({ children: e, className: r }) => /* @__PURE__ */ s("header", { className: L("content-section__header", r), children: e }), _n = ({ children: e, className: r }) => /* @__PURE__ */ s("div", { className: L("content-section__body", r), children: e }), wn = ({ children: e, className: r }) => /* @__PURE__ */ s("footer", { className: L("content-section__footer", r), children: e });
|
|
409
|
+
Be.Title = hn;
|
|
410
410
|
Be.Header = bn;
|
|
411
|
-
Be.Content =
|
|
412
|
-
Be.Footer =
|
|
413
|
-
const
|
|
411
|
+
Be.Content = _n;
|
|
412
|
+
Be.Footer = wn;
|
|
413
|
+
const Gr = ({
|
|
414
414
|
children: e,
|
|
415
415
|
className: r,
|
|
416
416
|
isVisible: t
|
|
@@ -422,11 +422,11 @@ const Hr = ({
|
|
|
422
422
|
style: { visibility: t ? "visible" : "hidden" },
|
|
423
423
|
children: e
|
|
424
424
|
}
|
|
425
|
-
),
|
|
425
|
+
), zo = ({
|
|
426
426
|
children: e,
|
|
427
427
|
...r
|
|
428
|
-
}) => /* @__PURE__ */ s(
|
|
429
|
-
const
|
|
428
|
+
}) => /* @__PURE__ */ s(Gr, { isVisible: !r["aria-hidden"], children: /* @__PURE__ */ s("div", { className: "p-form__nested-group", ...r, children: e }) });
|
|
429
|
+
const En = ({
|
|
430
430
|
className: e,
|
|
431
431
|
currentPage: r,
|
|
432
432
|
error: t,
|
|
@@ -457,7 +457,7 @@ const wn = ({
|
|
|
457
457
|
/* @__PURE__ */ s("strong", { children: "Page " }),
|
|
458
458
|
" ",
|
|
459
459
|
/* @__PURE__ */ s(
|
|
460
|
-
|
|
460
|
+
At,
|
|
461
461
|
{
|
|
462
462
|
"aria-label": "page number",
|
|
463
463
|
className: "p-pagination__input",
|
|
@@ -489,7 +489,7 @@ const wn = ({
|
|
|
489
489
|
)
|
|
490
490
|
] })
|
|
491
491
|
}
|
|
492
|
-
),
|
|
492
|
+
), Wo = ({
|
|
493
493
|
currentPage: e,
|
|
494
494
|
disabled: r,
|
|
495
495
|
paginate: t,
|
|
@@ -497,7 +497,7 @@ const wn = ({
|
|
|
497
497
|
}) => {
|
|
498
498
|
const [a, o] = fe(e), [c, i] = fe("");
|
|
499
499
|
return /* @__PURE__ */ s(
|
|
500
|
-
|
|
500
|
+
En,
|
|
501
501
|
{
|
|
502
502
|
currentPage: a,
|
|
503
503
|
error: c,
|
|
@@ -505,21 +505,21 @@ const wn = ({
|
|
|
505
505
|
onInputBlur: () => {
|
|
506
506
|
o(e), i("");
|
|
507
507
|
},
|
|
508
|
-
onInputChange: (
|
|
509
|
-
const { value:
|
|
510
|
-
|
|
508
|
+
onInputChange: (b) => {
|
|
509
|
+
const { value: h, valueAsNumber: T } = b.target;
|
|
510
|
+
h ? (o(T), T > n || T < 1 ? i(`${T} is not a valid page number.`) : (i(""), t(T))) : i("Enter a page number.");
|
|
511
511
|
},
|
|
512
512
|
onNextClick: () => {
|
|
513
|
-
o((
|
|
513
|
+
o((b) => Number(b) + 1), t(Number(e) + 1);
|
|
514
514
|
},
|
|
515
515
|
onPreviousClick: () => {
|
|
516
|
-
o((
|
|
516
|
+
o((b) => Number(b) - 1), t(Number(e) - 1);
|
|
517
517
|
},
|
|
518
518
|
totalPages: n
|
|
519
519
|
}
|
|
520
520
|
);
|
|
521
521
|
};
|
|
522
|
-
const
|
|
522
|
+
const Yo = ({ activeStep: e, items: r }) => /* @__PURE__ */ s("ol", { className: "stepper", children: r.map((t, n) => {
|
|
523
523
|
const a = n === e, o = n < e;
|
|
524
524
|
return /* @__PURE__ */ s("li", { "aria-label": t, className: "stepper__item", children: /* @__PURE__ */ s(
|
|
525
525
|
"p",
|
|
@@ -542,12 +542,12 @@ var nr = { exports: {} }, je = { exports: {} }, I = {};
|
|
|
542
542
|
* This source code is licensed under the MIT license found in the
|
|
543
543
|
* LICENSE file in the root directory of this source tree.
|
|
544
544
|
*/
|
|
545
|
-
var
|
|
546
|
-
function
|
|
547
|
-
if (
|
|
545
|
+
var hr;
|
|
546
|
+
function xn() {
|
|
547
|
+
if (hr)
|
|
548
548
|
return I;
|
|
549
|
-
|
|
550
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
549
|
+
hr = 1;
|
|
550
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
551
551
|
function A(p) {
|
|
552
552
|
if (typeof p == "object" && p !== null) {
|
|
553
553
|
var Q = p.$$typeof;
|
|
@@ -559,14 +559,14 @@ function En() {
|
|
|
559
559
|
case n:
|
|
560
560
|
case o:
|
|
561
561
|
case a:
|
|
562
|
-
case
|
|
562
|
+
case y:
|
|
563
563
|
return p;
|
|
564
564
|
default:
|
|
565
565
|
switch (p = p && p.$$typeof, p) {
|
|
566
566
|
case i:
|
|
567
|
-
case
|
|
567
|
+
case m:
|
|
568
568
|
case T:
|
|
569
|
-
case
|
|
569
|
+
case h:
|
|
570
570
|
case c:
|
|
571
571
|
return p;
|
|
572
572
|
default:
|
|
@@ -581,7 +581,7 @@ function En() {
|
|
|
581
581
|
function k(p) {
|
|
582
582
|
return A(p) === l;
|
|
583
583
|
}
|
|
584
|
-
return I.AsyncMode = f, I.ConcurrentMode = l, I.ContextConsumer = i, I.ContextProvider = c, I.Element = r, I.ForwardRef =
|
|
584
|
+
return I.AsyncMode = f, I.ConcurrentMode = l, I.ContextConsumer = i, I.ContextProvider = c, I.Element = r, I.ForwardRef = m, I.Fragment = n, I.Lazy = T, I.Memo = h, I.Portal = t, I.Profiler = o, I.StrictMode = a, I.Suspense = y, I.isAsyncMode = function(p) {
|
|
585
585
|
return k(p) || A(p) === f;
|
|
586
586
|
}, I.isConcurrentMode = k, I.isContextConsumer = function(p) {
|
|
587
587
|
return A(p) === i;
|
|
@@ -590,13 +590,13 @@ function En() {
|
|
|
590
590
|
}, I.isElement = function(p) {
|
|
591
591
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
592
592
|
}, I.isForwardRef = function(p) {
|
|
593
|
-
return A(p) ===
|
|
593
|
+
return A(p) === m;
|
|
594
594
|
}, I.isFragment = function(p) {
|
|
595
595
|
return A(p) === n;
|
|
596
596
|
}, I.isLazy = function(p) {
|
|
597
597
|
return A(p) === T;
|
|
598
598
|
}, I.isMemo = function(p) {
|
|
599
|
-
return A(p) ===
|
|
599
|
+
return A(p) === h;
|
|
600
600
|
}, I.isPortal = function(p) {
|
|
601
601
|
return A(p) === t;
|
|
602
602
|
}, I.isProfiler = function(p) {
|
|
@@ -604,9 +604,9 @@ function En() {
|
|
|
604
604
|
}, I.isStrictMode = function(p) {
|
|
605
605
|
return A(p) === a;
|
|
606
606
|
}, I.isSuspense = function(p) {
|
|
607
|
-
return A(p) ===
|
|
607
|
+
return A(p) === y;
|
|
608
608
|
}, I.isValidElementType = function(p) {
|
|
609
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === o || p === a || p ===
|
|
609
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === o || p === a || p === y || p === b || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === h || p.$$typeof === c || p.$$typeof === i || p.$$typeof === m || p.$$typeof === B || p.$$typeof === N || p.$$typeof === K || p.$$typeof === x);
|
|
610
610
|
}, I.typeOf = A, I;
|
|
611
611
|
}
|
|
612
612
|
var j = {};
|
|
@@ -619,34 +619,34 @@ var j = {};
|
|
|
619
619
|
* LICENSE file in the root directory of this source tree.
|
|
620
620
|
*/
|
|
621
621
|
var br;
|
|
622
|
-
function
|
|
622
|
+
function Tn() {
|
|
623
623
|
return br || (br = 1, process.env.NODE_ENV !== "production" && function() {
|
|
624
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
624
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
625
625
|
function A(d) {
|
|
626
626
|
return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
627
|
-
d === n || d === l || d === o || d === a || d ===
|
|
627
|
+
d === n || d === l || d === o || d === a || d === y || d === b || typeof d == "object" && d !== null && (d.$$typeof === T || d.$$typeof === h || d.$$typeof === c || d.$$typeof === i || d.$$typeof === m || d.$$typeof === B || d.$$typeof === N || d.$$typeof === K || d.$$typeof === x);
|
|
628
628
|
}
|
|
629
629
|
function k(d) {
|
|
630
630
|
if (typeof d == "object" && d !== null) {
|
|
631
631
|
var re = d.$$typeof;
|
|
632
632
|
switch (re) {
|
|
633
633
|
case r:
|
|
634
|
-
var
|
|
635
|
-
switch (
|
|
634
|
+
var ge = d.type;
|
|
635
|
+
switch (ge) {
|
|
636
636
|
case f:
|
|
637
637
|
case l:
|
|
638
638
|
case n:
|
|
639
639
|
case o:
|
|
640
640
|
case a:
|
|
641
|
-
case
|
|
642
|
-
return
|
|
641
|
+
case y:
|
|
642
|
+
return ge;
|
|
643
643
|
default:
|
|
644
|
-
var Oe =
|
|
644
|
+
var Oe = ge && ge.$$typeof;
|
|
645
645
|
switch (Oe) {
|
|
646
646
|
case i:
|
|
647
|
-
case
|
|
647
|
+
case m:
|
|
648
648
|
case T:
|
|
649
|
-
case
|
|
649
|
+
case h:
|
|
650
650
|
case c:
|
|
651
651
|
return Oe;
|
|
652
652
|
default:
|
|
@@ -658,14 +658,14 @@ function xn() {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
var p = f, Q = l, $ = i, X = c, ee = r, ce =
|
|
661
|
+
var p = f, Q = l, $ = i, X = c, ee = r, ce = m, me = n, ve = T, le = h, W = t, J = o, ne = a, ie = y, ue = !1;
|
|
662
662
|
function G(d) {
|
|
663
663
|
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), u(d) || k(d) === f;
|
|
664
664
|
}
|
|
665
665
|
function u(d) {
|
|
666
666
|
return k(d) === l;
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function g(d) {
|
|
669
669
|
return k(d) === i;
|
|
670
670
|
}
|
|
671
671
|
function S(d) {
|
|
@@ -675,7 +675,7 @@ function xn() {
|
|
|
675
675
|
return typeof d == "object" && d !== null && d.$$typeof === r;
|
|
676
676
|
}
|
|
677
677
|
function w(d) {
|
|
678
|
-
return k(d) ===
|
|
678
|
+
return k(d) === m;
|
|
679
679
|
}
|
|
680
680
|
function P(d) {
|
|
681
681
|
return k(d) === n;
|
|
@@ -684,7 +684,7 @@ function xn() {
|
|
|
684
684
|
return k(d) === T;
|
|
685
685
|
}
|
|
686
686
|
function O(d) {
|
|
687
|
-
return k(d) ===
|
|
687
|
+
return k(d) === h;
|
|
688
688
|
}
|
|
689
689
|
function R(d) {
|
|
690
690
|
return k(d) === t;
|
|
@@ -696,25 +696,25 @@ function xn() {
|
|
|
696
696
|
return k(d) === a;
|
|
697
697
|
}
|
|
698
698
|
function q(d) {
|
|
699
|
-
return k(d) ===
|
|
699
|
+
return k(d) === y;
|
|
700
700
|
}
|
|
701
|
-
j.AsyncMode = p, j.ConcurrentMode = Q, j.ContextConsumer = $, j.ContextProvider = X, j.Element = ee, j.ForwardRef = ce, j.Fragment = me, j.Lazy = ve, j.Memo = le, j.Portal = W, j.Profiler = J, j.StrictMode = ne, j.Suspense =
|
|
701
|
+
j.AsyncMode = p, j.ConcurrentMode = Q, j.ContextConsumer = $, j.ContextProvider = X, j.Element = ee, j.ForwardRef = ce, j.Fragment = me, j.Lazy = ve, j.Memo = le, j.Portal = W, j.Profiler = J, j.StrictMode = ne, j.Suspense = ie, j.isAsyncMode = G, j.isConcurrentMode = u, j.isContextConsumer = g, j.isContextProvider = S, j.isElement = C, j.isForwardRef = w, j.isFragment = P, j.isLazy = E, j.isMemo = O, j.isPortal = R, j.isProfiler = F, j.isStrictMode = D, j.isSuspense = q, j.isValidElementType = A, j.typeOf = k;
|
|
702
702
|
}()), j;
|
|
703
703
|
}
|
|
704
|
-
var
|
|
705
|
-
function
|
|
706
|
-
return
|
|
704
|
+
var _r;
|
|
705
|
+
function Vr() {
|
|
706
|
+
return _r || (_r = 1, process.env.NODE_ENV === "production" ? je.exports = xn() : je.exports = Tn()), je.exports;
|
|
707
707
|
}
|
|
708
708
|
/*
|
|
709
709
|
object-assign
|
|
710
710
|
(c) Sindre Sorhus
|
|
711
711
|
@license MIT
|
|
712
712
|
*/
|
|
713
|
-
var Ve,
|
|
714
|
-
function
|
|
715
|
-
if (
|
|
713
|
+
var Ve, wr;
|
|
714
|
+
function Sn() {
|
|
715
|
+
if (wr)
|
|
716
716
|
return Ve;
|
|
717
|
-
|
|
717
|
+
wr = 1;
|
|
718
718
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
719
719
|
function n(o) {
|
|
720
720
|
if (o == null)
|
|
@@ -730,54 +730,54 @@ function Tn() {
|
|
|
730
730
|
return !1;
|
|
731
731
|
for (var c = {}, i = 0; i < 10; i++)
|
|
732
732
|
c["_" + String.fromCharCode(i)] = i;
|
|
733
|
-
var f = Object.getOwnPropertyNames(c).map(function(
|
|
734
|
-
return c[
|
|
733
|
+
var f = Object.getOwnPropertyNames(c).map(function(m) {
|
|
734
|
+
return c[m];
|
|
735
735
|
});
|
|
736
736
|
if (f.join("") !== "0123456789")
|
|
737
737
|
return !1;
|
|
738
738
|
var l = {};
|
|
739
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
740
|
-
l[
|
|
739
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
|
|
740
|
+
l[m] = m;
|
|
741
741
|
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
742
742
|
} catch {
|
|
743
743
|
return !1;
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
return Ve = a() ? Object.assign : function(o, c) {
|
|
747
|
-
for (var i, f = n(o), l,
|
|
748
|
-
i = Object(arguments[
|
|
749
|
-
for (var
|
|
750
|
-
r.call(i,
|
|
747
|
+
for (var i, f = n(o), l, m = 1; m < arguments.length; m++) {
|
|
748
|
+
i = Object(arguments[m]);
|
|
749
|
+
for (var y in i)
|
|
750
|
+
r.call(i, y) && (f[y] = i[y]);
|
|
751
751
|
if (e) {
|
|
752
752
|
l = e(i);
|
|
753
|
-
for (var
|
|
754
|
-
t.call(i, l[
|
|
753
|
+
for (var b = 0; b < l.length; b++)
|
|
754
|
+
t.call(i, l[b]) && (f[l[b]] = i[l[b]]);
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
return f;
|
|
758
758
|
}, Ve;
|
|
759
759
|
}
|
|
760
|
-
var Xe,
|
|
761
|
-
function
|
|
762
|
-
if (
|
|
760
|
+
var Xe, Er;
|
|
761
|
+
function pr() {
|
|
762
|
+
if (Er)
|
|
763
763
|
return Xe;
|
|
764
|
-
|
|
764
|
+
Er = 1;
|
|
765
765
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
766
766
|
return Xe = e, Xe;
|
|
767
767
|
}
|
|
768
|
-
var Je,
|
|
769
|
-
function
|
|
770
|
-
return
|
|
768
|
+
var Je, xr;
|
|
769
|
+
function Xr() {
|
|
770
|
+
return xr || (xr = 1, Je = Function.call.bind(Object.prototype.hasOwnProperty)), Je;
|
|
771
771
|
}
|
|
772
|
-
var Ze,
|
|
773
|
-
function
|
|
774
|
-
if (
|
|
772
|
+
var Ze, Tr;
|
|
773
|
+
function Cn() {
|
|
774
|
+
if (Tr)
|
|
775
775
|
return Ze;
|
|
776
|
-
|
|
776
|
+
Tr = 1;
|
|
777
777
|
var e = function() {
|
|
778
778
|
};
|
|
779
779
|
if (process.env.NODE_ENV !== "production") {
|
|
780
|
-
var r =
|
|
780
|
+
var r = pr(), t = {}, n = Xr();
|
|
781
781
|
e = function(o) {
|
|
782
782
|
var c = "Warning: " + o;
|
|
783
783
|
typeof console < "u" && console.error(c);
|
|
@@ -789,27 +789,27 @@ function Sn() {
|
|
|
789
789
|
}
|
|
790
790
|
function a(o, c, i, f, l) {
|
|
791
791
|
if (process.env.NODE_ENV !== "production") {
|
|
792
|
-
for (var
|
|
793
|
-
if (n(o,
|
|
794
|
-
var
|
|
792
|
+
for (var m in o)
|
|
793
|
+
if (n(o, m)) {
|
|
794
|
+
var y;
|
|
795
795
|
try {
|
|
796
|
-
if (typeof o[
|
|
797
|
-
var
|
|
798
|
-
(f || "React class") + ": " + i + " type `" +
|
|
796
|
+
if (typeof o[m] != "function") {
|
|
797
|
+
var b = Error(
|
|
798
|
+
(f || "React class") + ": " + i + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
799
799
|
);
|
|
800
|
-
throw
|
|
800
|
+
throw b.name = "Invariant Violation", b;
|
|
801
801
|
}
|
|
802
|
-
|
|
802
|
+
y = o[m](c, m, f, i, null, r);
|
|
803
803
|
} catch (T) {
|
|
804
|
-
|
|
804
|
+
y = T;
|
|
805
805
|
}
|
|
806
|
-
if (
|
|
807
|
-
(f || "React class") + ": type specification of " + i + " `" +
|
|
808
|
-
),
|
|
809
|
-
t[
|
|
810
|
-
var
|
|
806
|
+
if (y && !(y instanceof Error) && e(
|
|
807
|
+
(f || "React class") + ": type specification of " + i + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
808
|
+
), y instanceof Error && !(y.message in t)) {
|
|
809
|
+
t[y.message] = !0;
|
|
810
|
+
var h = l ? l() : "";
|
|
811
811
|
e(
|
|
812
|
-
"Failed " + i + " type: " +
|
|
812
|
+
"Failed " + i + " type: " + y.message + (h ?? "")
|
|
813
813
|
);
|
|
814
814
|
}
|
|
815
815
|
}
|
|
@@ -819,12 +819,12 @@ function Sn() {
|
|
|
819
819
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
820
820
|
}, Ze = a, Ze;
|
|
821
821
|
}
|
|
822
|
-
var Qe,
|
|
823
|
-
function
|
|
824
|
-
if (
|
|
822
|
+
var Qe, Sr;
|
|
823
|
+
function On() {
|
|
824
|
+
if (Sr)
|
|
825
825
|
return Qe;
|
|
826
|
-
|
|
827
|
-
var e =
|
|
826
|
+
Sr = 1;
|
|
827
|
+
var e = Vr(), r = Sn(), t = pr(), n = Xr(), a = Cn(), o = function() {
|
|
828
828
|
};
|
|
829
829
|
process.env.NODE_ENV !== "production" && (o = function(i) {
|
|
830
830
|
var f = "Warning: " + i;
|
|
@@ -838,13 +838,13 @@ function Cn() {
|
|
|
838
838
|
return null;
|
|
839
839
|
}
|
|
840
840
|
return Qe = function(i, f) {
|
|
841
|
-
var l = typeof Symbol == "function" && Symbol.iterator,
|
|
842
|
-
function
|
|
843
|
-
var
|
|
844
|
-
if (typeof
|
|
845
|
-
return
|
|
841
|
+
var l = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
842
|
+
function y(u) {
|
|
843
|
+
var g = u && (l && u[l] || u[m]);
|
|
844
|
+
if (typeof g == "function")
|
|
845
|
+
return g;
|
|
846
846
|
}
|
|
847
|
-
var
|
|
847
|
+
var b = "<<anonymous>>", h = {
|
|
848
848
|
array: N("array"),
|
|
849
849
|
bigint: N("bigint"),
|
|
850
850
|
bool: N("boolean"),
|
|
@@ -865,18 +865,18 @@ function Cn() {
|
|
|
865
865
|
shape: ve,
|
|
866
866
|
exact: le
|
|
867
867
|
};
|
|
868
|
-
function T(u,
|
|
869
|
-
return u ===
|
|
868
|
+
function T(u, g) {
|
|
869
|
+
return u === g ? u !== 0 || 1 / u === 1 / g : u !== u && g !== g;
|
|
870
870
|
}
|
|
871
|
-
function x(u,
|
|
872
|
-
this.message = u, this.data =
|
|
871
|
+
function x(u, g) {
|
|
872
|
+
this.message = u, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
|
|
873
873
|
}
|
|
874
874
|
x.prototype = Error.prototype;
|
|
875
875
|
function B(u) {
|
|
876
876
|
if (process.env.NODE_ENV !== "production")
|
|
877
|
-
var
|
|
877
|
+
var g = {}, S = 0;
|
|
878
878
|
function C(P, E, O, R, F, D, q) {
|
|
879
|
-
if (R = R ||
|
|
879
|
+
if (R = R || b, D = D || O, q !== t) {
|
|
880
880
|
if (f) {
|
|
881
881
|
var d = new Error(
|
|
882
882
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -884,10 +884,10 @@ function Cn() {
|
|
|
884
884
|
throw d.name = "Invariant Violation", d;
|
|
885
885
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
886
886
|
var re = R + ":" + O;
|
|
887
|
-
!
|
|
887
|
+
!g[re] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
888
888
|
S < 3 && (o(
|
|
889
889
|
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + R + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
890
|
-
),
|
|
890
|
+
), g[re] = !0, S++);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
return E[O] == null ? P ? E[O] === null ? new x("The " + F + " `" + D + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new x("The " + F + " `" + D + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : u(E, O, R, F, D);
|
|
@@ -896,10 +896,10 @@ function Cn() {
|
|
|
896
896
|
return w.isRequired = C.bind(null, !0), w;
|
|
897
897
|
}
|
|
898
898
|
function N(u) {
|
|
899
|
-
function
|
|
899
|
+
function g(S, C, w, P, E, O) {
|
|
900
900
|
var R = S[C], F = ne(R);
|
|
901
901
|
if (F !== u) {
|
|
902
|
-
var D =
|
|
902
|
+
var D = ie(R);
|
|
903
903
|
return new x(
|
|
904
904
|
"Invalid " + P + " `" + E + "` of type " + ("`" + D + "` supplied to `" + w + "`, expected ") + ("`" + u + "`."),
|
|
905
905
|
{ expectedType: u }
|
|
@@ -907,13 +907,13 @@ function Cn() {
|
|
|
907
907
|
}
|
|
908
908
|
return null;
|
|
909
909
|
}
|
|
910
|
-
return B(
|
|
910
|
+
return B(g);
|
|
911
911
|
}
|
|
912
912
|
function K() {
|
|
913
913
|
return B(c);
|
|
914
914
|
}
|
|
915
915
|
function A(u) {
|
|
916
|
-
function
|
|
916
|
+
function g(S, C, w, P, E) {
|
|
917
917
|
if (typeof u != "function")
|
|
918
918
|
return new x("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
|
|
919
919
|
var O = S[C];
|
|
@@ -928,11 +928,11 @@ function Cn() {
|
|
|
928
928
|
}
|
|
929
929
|
return null;
|
|
930
930
|
}
|
|
931
|
-
return B(
|
|
931
|
+
return B(g);
|
|
932
932
|
}
|
|
933
933
|
function k() {
|
|
934
|
-
function u(
|
|
935
|
-
var E =
|
|
934
|
+
function u(g, S, C, w, P) {
|
|
935
|
+
var E = g[S];
|
|
936
936
|
if (!i(E)) {
|
|
937
937
|
var O = ne(E);
|
|
938
938
|
return new x("Invalid " + w + " `" + P + "` of type " + ("`" + O + "` supplied to `" + C + "`, expected a single ReactElement."));
|
|
@@ -942,8 +942,8 @@ function Cn() {
|
|
|
942
942
|
return B(u);
|
|
943
943
|
}
|
|
944
944
|
function p() {
|
|
945
|
-
function u(
|
|
946
|
-
var E =
|
|
945
|
+
function u(g, S, C, w, P) {
|
|
946
|
+
var E = g[S];
|
|
947
947
|
if (!e.isValidElementType(E)) {
|
|
948
948
|
var O = ne(E);
|
|
949
949
|
return new x("Invalid " + w + " `" + P + "` of type " + ("`" + O + "` supplied to `" + C + "`, expected a single ReactElement type."));
|
|
@@ -953,34 +953,34 @@ function Cn() {
|
|
|
953
953
|
return B(u);
|
|
954
954
|
}
|
|
955
955
|
function Q(u) {
|
|
956
|
-
function
|
|
956
|
+
function g(S, C, w, P, E) {
|
|
957
957
|
if (!(S[C] instanceof u)) {
|
|
958
|
-
var O = u.name ||
|
|
958
|
+
var O = u.name || b, R = G(S[C]);
|
|
959
959
|
return new x("Invalid " + P + " `" + E + "` of type " + ("`" + R + "` supplied to `" + w + "`, expected ") + ("instance of `" + O + "`."));
|
|
960
960
|
}
|
|
961
961
|
return null;
|
|
962
962
|
}
|
|
963
|
-
return B(
|
|
963
|
+
return B(g);
|
|
964
964
|
}
|
|
965
965
|
function $(u) {
|
|
966
966
|
if (!Array.isArray(u))
|
|
967
967
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
968
968
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
969
969
|
) : o("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
970
|
-
function
|
|
970
|
+
function g(S, C, w, P, E) {
|
|
971
971
|
for (var O = S[C], R = 0; R < u.length; R++)
|
|
972
972
|
if (T(O, u[R]))
|
|
973
973
|
return null;
|
|
974
974
|
var F = JSON.stringify(u, function(q, d) {
|
|
975
|
-
var re =
|
|
975
|
+
var re = ie(d);
|
|
976
976
|
return re === "symbol" ? String(d) : d;
|
|
977
977
|
});
|
|
978
978
|
return new x("Invalid " + P + " `" + E + "` of value `" + String(O) + "` " + ("supplied to `" + w + "`, expected one of " + F + "."));
|
|
979
979
|
}
|
|
980
|
-
return B(
|
|
980
|
+
return B(g);
|
|
981
981
|
}
|
|
982
982
|
function X(u) {
|
|
983
|
-
function
|
|
983
|
+
function g(S, C, w, P, E) {
|
|
984
984
|
if (typeof u != "function")
|
|
985
985
|
return new x("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
|
|
986
986
|
var O = S[C], R = ne(O);
|
|
@@ -994,16 +994,16 @@ function Cn() {
|
|
|
994
994
|
}
|
|
995
995
|
return null;
|
|
996
996
|
}
|
|
997
|
-
return B(
|
|
997
|
+
return B(g);
|
|
998
998
|
}
|
|
999
999
|
function ee(u) {
|
|
1000
1000
|
if (!Array.isArray(u))
|
|
1001
1001
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
1002
|
-
for (var
|
|
1003
|
-
var S = u[
|
|
1002
|
+
for (var g = 0; g < u.length; g++) {
|
|
1003
|
+
var S = u[g];
|
|
1004
1004
|
if (typeof S != "function")
|
|
1005
1005
|
return o(
|
|
1006
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue(S) + " at index " +
|
|
1006
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue(S) + " at index " + g + "."
|
|
1007
1007
|
), c;
|
|
1008
1008
|
}
|
|
1009
1009
|
function C(w, P, E, O, R) {
|
|
@@ -1019,35 +1019,35 @@ function Cn() {
|
|
|
1019
1019
|
return B(C);
|
|
1020
1020
|
}
|
|
1021
1021
|
function ce() {
|
|
1022
|
-
function u(
|
|
1023
|
-
return W(
|
|
1022
|
+
function u(g, S, C, w, P) {
|
|
1023
|
+
return W(g[S]) ? null : new x("Invalid " + w + " `" + P + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
|
|
1024
1024
|
}
|
|
1025
1025
|
return B(u);
|
|
1026
1026
|
}
|
|
1027
|
-
function me(u,
|
|
1027
|
+
function me(u, g, S, C, w) {
|
|
1028
1028
|
return new x(
|
|
1029
|
-
(u || "React class") + ": " +
|
|
1029
|
+
(u || "React class") + ": " + g + " type `" + S + "." + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
|
|
1030
1030
|
);
|
|
1031
1031
|
}
|
|
1032
1032
|
function ve(u) {
|
|
1033
|
-
function
|
|
1033
|
+
function g(S, C, w, P, E) {
|
|
1034
1034
|
var O = S[C], R = ne(O);
|
|
1035
1035
|
if (R !== "object")
|
|
1036
1036
|
return new x("Invalid " + P + " `" + E + "` of type `" + R + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
1037
1037
|
for (var F in u) {
|
|
1038
1038
|
var D = u[F];
|
|
1039
1039
|
if (typeof D != "function")
|
|
1040
|
-
return me(w, P, E, F,
|
|
1040
|
+
return me(w, P, E, F, ie(D));
|
|
1041
1041
|
var q = D(O, F, w, P, E + "." + F, t);
|
|
1042
1042
|
if (q)
|
|
1043
1043
|
return q;
|
|
1044
1044
|
}
|
|
1045
1045
|
return null;
|
|
1046
1046
|
}
|
|
1047
|
-
return B(
|
|
1047
|
+
return B(g);
|
|
1048
1048
|
}
|
|
1049
1049
|
function le(u) {
|
|
1050
|
-
function
|
|
1050
|
+
function g(S, C, w, P, E) {
|
|
1051
1051
|
var O = S[C], R = ne(O);
|
|
1052
1052
|
if (R !== "object")
|
|
1053
1053
|
return new x("Invalid " + P + " `" + E + "` of type `" + R + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
@@ -1055,7 +1055,7 @@ function Cn() {
|
|
|
1055
1055
|
for (var D in F) {
|
|
1056
1056
|
var q = u[D];
|
|
1057
1057
|
if (n(u, D) && typeof q != "function")
|
|
1058
|
-
return me(w, P, E, D,
|
|
1058
|
+
return me(w, P, E, D, ie(q));
|
|
1059
1059
|
if (!q)
|
|
1060
1060
|
return new x(
|
|
1061
1061
|
"Invalid " + P + " `" + E + "` key `" + D + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(S[C], null, " ") + `
|
|
@@ -1067,7 +1067,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
1067
1067
|
}
|
|
1068
1068
|
return null;
|
|
1069
1069
|
}
|
|
1070
|
-
return B(
|
|
1070
|
+
return B(g);
|
|
1071
1071
|
}
|
|
1072
1072
|
function W(u) {
|
|
1073
1073
|
switch (typeof u) {
|
|
@@ -1082,10 +1082,10 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
1082
1082
|
return u.every(W);
|
|
1083
1083
|
if (u === null || i(u))
|
|
1084
1084
|
return !0;
|
|
1085
|
-
var
|
|
1086
|
-
if (
|
|
1087
|
-
var S =
|
|
1088
|
-
if (
|
|
1085
|
+
var g = y(u);
|
|
1086
|
+
if (g) {
|
|
1087
|
+
var S = g.call(u), C;
|
|
1088
|
+
if (g !== u.entries) {
|
|
1089
1089
|
for (; !(C = S.next()).done; )
|
|
1090
1090
|
if (!W(C.value))
|
|
1091
1091
|
return !1;
|
|
@@ -1102,62 +1102,62 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
1102
1102
|
return !1;
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
|
-
function J(u,
|
|
1106
|
-
return u === "symbol" ? !0 :
|
|
1105
|
+
function J(u, g) {
|
|
1106
|
+
return u === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
1107
1107
|
}
|
|
1108
1108
|
function ne(u) {
|
|
1109
|
-
var
|
|
1110
|
-
return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : J(
|
|
1109
|
+
var g = typeof u;
|
|
1110
|
+
return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : J(g, u) ? "symbol" : g;
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function ie(u) {
|
|
1113
1113
|
if (typeof u > "u" || u === null)
|
|
1114
1114
|
return "" + u;
|
|
1115
|
-
var
|
|
1116
|
-
if (
|
|
1115
|
+
var g = ne(u);
|
|
1116
|
+
if (g === "object") {
|
|
1117
1117
|
if (u instanceof Date)
|
|
1118
1118
|
return "date";
|
|
1119
1119
|
if (u instanceof RegExp)
|
|
1120
1120
|
return "regexp";
|
|
1121
1121
|
}
|
|
1122
|
-
return
|
|
1122
|
+
return g;
|
|
1123
1123
|
}
|
|
1124
1124
|
function ue(u) {
|
|
1125
|
-
var
|
|
1126
|
-
switch (
|
|
1125
|
+
var g = ie(u);
|
|
1126
|
+
switch (g) {
|
|
1127
1127
|
case "array":
|
|
1128
1128
|
case "object":
|
|
1129
|
-
return "an " +
|
|
1129
|
+
return "an " + g;
|
|
1130
1130
|
case "boolean":
|
|
1131
1131
|
case "date":
|
|
1132
1132
|
case "regexp":
|
|
1133
|
-
return "a " +
|
|
1133
|
+
return "a " + g;
|
|
1134
1134
|
default:
|
|
1135
|
-
return
|
|
1135
|
+
return g;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
function G(u) {
|
|
1139
|
-
return !u.constructor || !u.constructor.name ?
|
|
1139
|
+
return !u.constructor || !u.constructor.name ? b : u.constructor.name;
|
|
1140
1140
|
}
|
|
1141
|
-
return
|
|
1141
|
+
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1142
1142
|
}, Qe;
|
|
1143
1143
|
}
|
|
1144
|
-
var er,
|
|
1145
|
-
function
|
|
1146
|
-
if (
|
|
1144
|
+
var er, Cr;
|
|
1145
|
+
function Dn() {
|
|
1146
|
+
if (Cr)
|
|
1147
1147
|
return er;
|
|
1148
|
-
|
|
1149
|
-
var e =
|
|
1148
|
+
Cr = 1;
|
|
1149
|
+
var e = pr();
|
|
1150
1150
|
function r() {
|
|
1151
1151
|
}
|
|
1152
1152
|
function t() {
|
|
1153
1153
|
}
|
|
1154
1154
|
return t.resetWarningCache = r, er = function() {
|
|
1155
|
-
function n(c, i, f, l,
|
|
1156
|
-
if (
|
|
1157
|
-
var
|
|
1155
|
+
function n(c, i, f, l, m, y) {
|
|
1156
|
+
if (y !== e) {
|
|
1157
|
+
var b = new Error(
|
|
1158
1158
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1159
1159
|
);
|
|
1160
|
-
throw
|
|
1160
|
+
throw b.name = "Invariant Violation", b;
|
|
1161
1161
|
}
|
|
1162
1162
|
}
|
|
1163
1163
|
n.isRequired = n;
|
|
@@ -1191,12 +1191,12 @@ function On() {
|
|
|
1191
1191
|
}, er;
|
|
1192
1192
|
}
|
|
1193
1193
|
if (process.env.NODE_ENV !== "production") {
|
|
1194
|
-
var
|
|
1195
|
-
nr.exports =
|
|
1194
|
+
var An = Vr(), Pn = !0;
|
|
1195
|
+
nr.exports = On()(An.isElement, Pn);
|
|
1196
1196
|
} else
|
|
1197
|
-
nr.exports =
|
|
1198
|
-
var
|
|
1199
|
-
const M = /* @__PURE__ */
|
|
1197
|
+
nr.exports = Dn()();
|
|
1198
|
+
var Rn = nr.exports;
|
|
1199
|
+
const M = /* @__PURE__ */ zr(Rn);
|
|
1200
1200
|
function Se(e, r, t, n) {
|
|
1201
1201
|
function a(o) {
|
|
1202
1202
|
return o instanceof t ? o : new t(function(c) {
|
|
@@ -1204,22 +1204,22 @@ function Se(e, r, t, n) {
|
|
|
1204
1204
|
});
|
|
1205
1205
|
}
|
|
1206
1206
|
return new (t || (t = Promise))(function(o, c) {
|
|
1207
|
-
function i(
|
|
1207
|
+
function i(m) {
|
|
1208
1208
|
try {
|
|
1209
|
-
l(n.next(
|
|
1210
|
-
} catch (
|
|
1211
|
-
c(
|
|
1209
|
+
l(n.next(m));
|
|
1210
|
+
} catch (y) {
|
|
1211
|
+
c(y);
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
|
-
function f(
|
|
1214
|
+
function f(m) {
|
|
1215
1215
|
try {
|
|
1216
|
-
l(n.throw(
|
|
1217
|
-
} catch (
|
|
1218
|
-
c(
|
|
1216
|
+
l(n.throw(m));
|
|
1217
|
+
} catch (y) {
|
|
1218
|
+
c(y);
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
|
-
function l(
|
|
1222
|
-
|
|
1221
|
+
function l(m) {
|
|
1222
|
+
m.done ? o(m.value) : a(m.value).then(i, f);
|
|
1223
1223
|
}
|
|
1224
1224
|
l((n = n.apply(e, r || [])).next());
|
|
1225
1225
|
});
|
|
@@ -1234,8 +1234,8 @@ function Ce(e, r) {
|
|
|
1234
1234
|
return this;
|
|
1235
1235
|
}), c;
|
|
1236
1236
|
function i(l) {
|
|
1237
|
-
return function(
|
|
1238
|
-
return f([l,
|
|
1237
|
+
return function(m) {
|
|
1238
|
+
return f([l, m]);
|
|
1239
1239
|
};
|
|
1240
1240
|
}
|
|
1241
1241
|
function f(l) {
|
|
@@ -1279,8 +1279,8 @@ function Ce(e, r) {
|
|
|
1279
1279
|
continue;
|
|
1280
1280
|
}
|
|
1281
1281
|
l = r.call(e, t);
|
|
1282
|
-
} catch (
|
|
1283
|
-
l = [6,
|
|
1282
|
+
} catch (m) {
|
|
1283
|
+
l = [6, m], a = 0;
|
|
1284
1284
|
} finally {
|
|
1285
1285
|
n = o = 0;
|
|
1286
1286
|
}
|
|
@@ -1289,7 +1289,7 @@ function Ce(e, r) {
|
|
|
1289
1289
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function Or(e, r) {
|
|
1293
1293
|
var t = typeof Symbol == "function" && e[Symbol.iterator];
|
|
1294
1294
|
if (!t)
|
|
1295
1295
|
return e;
|
|
@@ -1309,13 +1309,13 @@ function Cr(e, r) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
return o;
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function Dr(e, r, t) {
|
|
1313
1313
|
if (t || arguments.length === 2)
|
|
1314
1314
|
for (var n = 0, a = r.length, o; n < a; n++)
|
|
1315
1315
|
(o || !(n in r)) && (o || (o = Array.prototype.slice.call(r, 0, n)), o[n] = r[n]);
|
|
1316
1316
|
return e.concat(o || Array.prototype.slice.call(r));
|
|
1317
1317
|
}
|
|
1318
|
-
var
|
|
1318
|
+
var Fn = /* @__PURE__ */ new Map([
|
|
1319
1319
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
|
1320
1320
|
["aac", "audio/aac"],
|
|
1321
1321
|
["abw", "application/x-abiword"],
|
|
@@ -1400,7 +1400,7 @@ var Rn = /* @__PURE__ */ new Map([
|
|
|
1400
1400
|
["msg", "application/vnd.ms-outlook"]
|
|
1401
1401
|
]);
|
|
1402
1402
|
function Pe(e, r) {
|
|
1403
|
-
var t =
|
|
1403
|
+
var t = In(e);
|
|
1404
1404
|
if (typeof t.path != "string") {
|
|
1405
1405
|
var n = e.webkitRelativePath;
|
|
1406
1406
|
Object.defineProperty(t, "path", {
|
|
@@ -1412,10 +1412,10 @@ function Pe(e, r) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
return t;
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function In(e) {
|
|
1416
1416
|
var r = e.name, t = r && r.lastIndexOf(".") !== -1;
|
|
1417
1417
|
if (t && !e.type) {
|
|
1418
|
-
var n = r.split(".").pop().toLowerCase(), a =
|
|
1418
|
+
var n = r.split(".").pop().toLowerCase(), a = Fn.get(n);
|
|
1419
1419
|
a && Object.defineProperty(e, "type", {
|
|
1420
1420
|
value: a,
|
|
1421
1421
|
writable: !1,
|
|
@@ -1425,36 +1425,36 @@ function Fn(e) {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
return e;
|
|
1427
1427
|
}
|
|
1428
|
-
var
|
|
1428
|
+
var jn = [
|
|
1429
1429
|
// Thumbnail cache files for macOS and Windows
|
|
1430
1430
|
".DS_Store",
|
|
1431
1431
|
"Thumbs.db"
|
|
1432
1432
|
// Windows
|
|
1433
1433
|
];
|
|
1434
|
-
function
|
|
1434
|
+
function Nn(e) {
|
|
1435
1435
|
return Se(this, void 0, void 0, function() {
|
|
1436
1436
|
return Ce(this, function(r) {
|
|
1437
|
-
return $e(e) &&
|
|
1437
|
+
return $e(e) && kn(e.dataTransfer) ? [2, Bn(e.dataTransfer, e.type)] : $n(e) ? [2, Mn(e)] : Array.isArray(e) && e.every(function(t) {
|
|
1438
1438
|
return "getFile" in t && typeof t.getFile == "function";
|
|
1439
|
-
}) ? [2,
|
|
1439
|
+
}) ? [2, Ln(e)] : [2, []];
|
|
1440
1440
|
});
|
|
1441
1441
|
});
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function kn(e) {
|
|
1444
1444
|
return $e(e);
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function $n(e) {
|
|
1447
1447
|
return $e(e) && $e(e.target);
|
|
1448
1448
|
}
|
|
1449
1449
|
function $e(e) {
|
|
1450
1450
|
return typeof e == "object" && e !== null;
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Mn(e) {
|
|
1453
1453
|
return or(e.target.files).map(function(r) {
|
|
1454
1454
|
return Pe(r);
|
|
1455
1455
|
});
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function Ln(e) {
|
|
1458
1458
|
return Se(this, void 0, void 0, function() {
|
|
1459
1459
|
var r;
|
|
1460
1460
|
return Ce(this, function(t) {
|
|
@@ -1471,7 +1471,7 @@ function Mn(e) {
|
|
|
1471
1471
|
});
|
|
1472
1472
|
});
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function Bn(e, r) {
|
|
1475
1475
|
return Se(this, void 0, void 0, function() {
|
|
1476
1476
|
var t, n;
|
|
1477
1477
|
return Ce(this, function(a) {
|
|
@@ -1479,20 +1479,20 @@ function Ln(e, r) {
|
|
|
1479
1479
|
case 0:
|
|
1480
1480
|
return e.items ? (t = or(e.items).filter(function(o) {
|
|
1481
1481
|
return o.kind === "file";
|
|
1482
|
-
}), r !== "drop" ? [2, t] : [4, Promise.all(t.map(
|
|
1482
|
+
}), r !== "drop" ? [2, t] : [4, Promise.all(t.map(zn))]) : [3, 2];
|
|
1483
1483
|
case 1:
|
|
1484
|
-
return n = a.sent(), [2,
|
|
1484
|
+
return n = a.sent(), [2, Ar(Jr(n))];
|
|
1485
1485
|
case 2:
|
|
1486
|
-
return [2,
|
|
1486
|
+
return [2, Ar(or(e.files).map(function(o) {
|
|
1487
1487
|
return Pe(o);
|
|
1488
1488
|
}))];
|
|
1489
1489
|
}
|
|
1490
1490
|
});
|
|
1491
1491
|
});
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1493
|
+
function Ar(e) {
|
|
1494
1494
|
return e.filter(function(r) {
|
|
1495
|
-
return
|
|
1495
|
+
return jn.indexOf(r.name) === -1;
|
|
1496
1496
|
});
|
|
1497
1497
|
}
|
|
1498
1498
|
function or(e) {
|
|
@@ -1504,32 +1504,32 @@ function or(e) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return r;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function zn(e) {
|
|
1508
1508
|
if (typeof e.webkitGetAsEntry != "function")
|
|
1509
|
-
return
|
|
1509
|
+
return Pr(e);
|
|
1510
1510
|
var r = e.webkitGetAsEntry();
|
|
1511
|
-
return r && r.isDirectory ?
|
|
1511
|
+
return r && r.isDirectory ? Zr(r) : Pr(e);
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function Jr(e) {
|
|
1514
1514
|
return e.reduce(function(r, t) {
|
|
1515
|
-
return
|
|
1515
|
+
return Dr(Dr([], Or(r), !1), Or(Array.isArray(t) ? Jr(t) : [t]), !1);
|
|
1516
1516
|
}, []);
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1518
|
+
function Pr(e) {
|
|
1519
1519
|
var r = e.getAsFile();
|
|
1520
1520
|
if (!r)
|
|
1521
1521
|
return Promise.reject("".concat(e, " is not a File"));
|
|
1522
1522
|
var t = Pe(r);
|
|
1523
1523
|
return Promise.resolve(t);
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function Wn(e) {
|
|
1526
1526
|
return Se(this, void 0, void 0, function() {
|
|
1527
1527
|
return Ce(this, function(r) {
|
|
1528
|
-
return [2, e.isDirectory ?
|
|
1528
|
+
return [2, e.isDirectory ? Zr(e) : Yn(e)];
|
|
1529
1529
|
});
|
|
1530
1530
|
});
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function Zr(e) {
|
|
1533
1533
|
var r = e.createReader();
|
|
1534
1534
|
return new Promise(function(t, n) {
|
|
1535
1535
|
var a = [];
|
|
@@ -1537,23 +1537,23 @@ function Jr(e) {
|
|
|
1537
1537
|
var c = this;
|
|
1538
1538
|
r.readEntries(function(i) {
|
|
1539
1539
|
return Se(c, void 0, void 0, function() {
|
|
1540
|
-
var f, l,
|
|
1541
|
-
return Ce(this, function(
|
|
1542
|
-
switch (
|
|
1540
|
+
var f, l, m;
|
|
1541
|
+
return Ce(this, function(y) {
|
|
1542
|
+
switch (y.label) {
|
|
1543
1543
|
case 0:
|
|
1544
1544
|
if (i.length)
|
|
1545
1545
|
return [3, 5];
|
|
1546
|
-
|
|
1546
|
+
y.label = 1;
|
|
1547
1547
|
case 1:
|
|
1548
|
-
return
|
|
1548
|
+
return y.trys.push([1, 3, , 4]), [4, Promise.all(a)];
|
|
1549
1549
|
case 2:
|
|
1550
|
-
return f =
|
|
1550
|
+
return f = y.sent(), t(f), [3, 4];
|
|
1551
1551
|
case 3:
|
|
1552
|
-
return l =
|
|
1552
|
+
return l = y.sent(), n(l), [3, 4];
|
|
1553
1553
|
case 4:
|
|
1554
1554
|
return [3, 6];
|
|
1555
1555
|
case 5:
|
|
1556
|
-
|
|
1556
|
+
m = Promise.all(i.map(Wn)), a.push(m), o(), y.label = 6;
|
|
1557
1557
|
case 6:
|
|
1558
1558
|
return [
|
|
1559
1559
|
2
|
|
@@ -1569,7 +1569,7 @@ function Jr(e) {
|
|
|
1569
1569
|
o();
|
|
1570
1570
|
});
|
|
1571
1571
|
}
|
|
1572
|
-
function
|
|
1572
|
+
function Yn(e) {
|
|
1573
1573
|
return Se(this, void 0, void 0, function() {
|
|
1574
1574
|
return Ce(this, function(r) {
|
|
1575
1575
|
return [2, new Promise(function(t, n) {
|
|
@@ -1583,7 +1583,7 @@ function Wn(e) {
|
|
|
1583
1583
|
});
|
|
1584
1584
|
});
|
|
1585
1585
|
}
|
|
1586
|
-
var
|
|
1586
|
+
var qn = function(e, r) {
|
|
1587
1587
|
if (e && r) {
|
|
1588
1588
|
var t = Array.isArray(r) ? r : r.split(","), n = e.name || "", a = (e.type || "").toLowerCase(), o = a.replace(/\/.*$/, "");
|
|
1589
1589
|
return t.some(function(c) {
|
|
@@ -1593,22 +1593,22 @@ var Yn = function(e, r) {
|
|
|
1593
1593
|
}
|
|
1594
1594
|
return !0;
|
|
1595
1595
|
};
|
|
1596
|
-
function
|
|
1597
|
-
return
|
|
1596
|
+
function Rr(e) {
|
|
1597
|
+
return Hn(e) || Kn(e) || et(e) || Un();
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function Un() {
|
|
1600
1600
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1601
1601
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function Kn(e) {
|
|
1604
1604
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
1605
1605
|
return Array.from(e);
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function Hn(e) {
|
|
1608
1608
|
if (Array.isArray(e))
|
|
1609
1609
|
return ar(e);
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function Fr(e, r) {
|
|
1612
1612
|
var t = Object.keys(e);
|
|
1613
1613
|
if (Object.getOwnPropertySymbols) {
|
|
1614
1614
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -1618,28 +1618,28 @@ function Rr(e, r) {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
return t;
|
|
1620
1620
|
}
|
|
1621
|
-
function
|
|
1621
|
+
function Ir(e) {
|
|
1622
1622
|
for (var r = 1; r < arguments.length; r++) {
|
|
1623
1623
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
1624
|
-
r % 2 ?
|
|
1625
|
-
|
|
1626
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
1624
|
+
r % 2 ? Fr(Object(t), !0).forEach(function(n) {
|
|
1625
|
+
Qr(e, n, t[n]);
|
|
1626
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Fr(Object(t)).forEach(function(n) {
|
|
1627
1627
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
1628
1628
|
});
|
|
1629
1629
|
}
|
|
1630
1630
|
return e;
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function Qr(e, r, t) {
|
|
1633
1633
|
return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
1634
1634
|
}
|
|
1635
1635
|
function Ae(e, r) {
|
|
1636
|
-
return
|
|
1636
|
+
return Xn(e) || Vn(e, r) || et(e, r) || Gn();
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function Gn() {
|
|
1639
1639
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1640
1640
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function et(e, r) {
|
|
1643
1643
|
if (e) {
|
|
1644
1644
|
if (typeof e == "string")
|
|
1645
1645
|
return ar(e, r);
|
|
@@ -1656,7 +1656,7 @@ function ar(e, r) {
|
|
|
1656
1656
|
n[t] = e[t];
|
|
1657
1657
|
return n;
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1659
|
+
function Vn(e, r) {
|
|
1660
1660
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1661
1661
|
if (t != null) {
|
|
1662
1662
|
var n = [], a = !0, o = !1, c, i;
|
|
@@ -1676,58 +1676,58 @@ function Gn(e, r) {
|
|
|
1676
1676
|
return n;
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function Xn(e) {
|
|
1680
1680
|
if (Array.isArray(e))
|
|
1681
1681
|
return e;
|
|
1682
1682
|
}
|
|
1683
|
-
var
|
|
1683
|
+
var Jn = "file-invalid-type", Zn = "file-too-large", Qn = "file-too-small", eo = "too-many-files", ro = function(r) {
|
|
1684
1684
|
r = Array.isArray(r) && r.length === 1 ? r[0] : r;
|
|
1685
1685
|
var t = Array.isArray(r) ? "one of ".concat(r.join(", ")) : r;
|
|
1686
1686
|
return {
|
|
1687
|
-
code:
|
|
1687
|
+
code: Jn,
|
|
1688
1688
|
message: "File type must be ".concat(t)
|
|
1689
1689
|
};
|
|
1690
|
-
},
|
|
1690
|
+
}, jr = function(r) {
|
|
1691
1691
|
return {
|
|
1692
|
-
code:
|
|
1692
|
+
code: Zn,
|
|
1693
1693
|
message: "File is larger than ".concat(r, " ").concat(r === 1 ? "byte" : "bytes")
|
|
1694
1694
|
};
|
|
1695
|
-
},
|
|
1695
|
+
}, Nr = function(r) {
|
|
1696
1696
|
return {
|
|
1697
|
-
code:
|
|
1697
|
+
code: Qn,
|
|
1698
1698
|
message: "File is smaller than ".concat(r, " ").concat(r === 1 ? "byte" : "bytes")
|
|
1699
1699
|
};
|
|
1700
|
-
},
|
|
1701
|
-
code:
|
|
1700
|
+
}, to = {
|
|
1701
|
+
code: eo,
|
|
1702
1702
|
message: "Too many files"
|
|
1703
1703
|
};
|
|
1704
|
-
function
|
|
1705
|
-
var t = e.type === "application/x-moz-file" ||
|
|
1706
|
-
return [t, t ? null :
|
|
1704
|
+
function rt(e, r) {
|
|
1705
|
+
var t = e.type === "application/x-moz-file" || qn(e, r);
|
|
1706
|
+
return [t, t ? null : ro(r)];
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1709
|
-
if (
|
|
1710
|
-
if (
|
|
1708
|
+
function tt(e, r, t) {
|
|
1709
|
+
if (ye(e.size))
|
|
1710
|
+
if (ye(r) && ye(t)) {
|
|
1711
1711
|
if (e.size > t)
|
|
1712
|
-
return [!1,
|
|
1712
|
+
return [!1, jr(t)];
|
|
1713
1713
|
if (e.size < r)
|
|
1714
|
-
return [!1,
|
|
1714
|
+
return [!1, Nr(r)];
|
|
1715
1715
|
} else {
|
|
1716
|
-
if (
|
|
1717
|
-
return [!1,
|
|
1718
|
-
if (
|
|
1719
|
-
return [!1,
|
|
1716
|
+
if (ye(r) && e.size < r)
|
|
1717
|
+
return [!1, Nr(r)];
|
|
1718
|
+
if (ye(t) && e.size > t)
|
|
1719
|
+
return [!1, jr(t)];
|
|
1720
1720
|
}
|
|
1721
1721
|
return [!0, null];
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1723
|
+
function ye(e) {
|
|
1724
1724
|
return e != null;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function no(e) {
|
|
1727
1727
|
var r = e.files, t = e.accept, n = e.minSize, a = e.maxSize, o = e.multiple, c = e.maxFiles, i = e.validator;
|
|
1728
1728
|
return !o && r.length > 1 || o && c >= 1 && r.length > c ? !1 : r.every(function(f) {
|
|
1729
|
-
var l =
|
|
1730
|
-
return
|
|
1729
|
+
var l = rt(f, t), m = Ae(l, 1), y = m[0], b = tt(f, n, a), h = Ae(b, 1), T = h[0], x = i ? i(f) : null;
|
|
1730
|
+
return y && T && !x;
|
|
1731
1731
|
});
|
|
1732
1732
|
}
|
|
1733
1733
|
function Me(e) {
|
|
@@ -1738,20 +1738,20 @@ function Ne(e) {
|
|
|
1738
1738
|
return r === "Files" || r === "application/x-moz-file";
|
|
1739
1739
|
}) : !!e.target && !!e.target.files;
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function kr(e) {
|
|
1742
1742
|
e.preventDefault();
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function oo(e) {
|
|
1745
1745
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1747
|
+
function ao(e) {
|
|
1748
1748
|
return e.indexOf("Edge/") !== -1;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function io() {
|
|
1751
1751
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
1752
|
-
return
|
|
1752
|
+
return oo(e) || ao(e);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function se() {
|
|
1755
1755
|
for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
|
|
1756
1756
|
r[t] = arguments[t];
|
|
1757
1757
|
return function(n) {
|
|
@@ -1762,17 +1762,17 @@ function ie() {
|
|
|
1762
1762
|
});
|
|
1763
1763
|
};
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function so() {
|
|
1766
1766
|
return "showOpenFilePicker" in window;
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1769
|
-
if (
|
|
1768
|
+
function co(e) {
|
|
1769
|
+
if (ye(e)) {
|
|
1770
1770
|
var r = Object.entries(e).filter(function(t) {
|
|
1771
1771
|
var n = Ae(t, 2), a = n[0], o = n[1], c = !0;
|
|
1772
|
-
return
|
|
1772
|
+
return nt(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), c = !1), (!Array.isArray(o) || !o.every(ot)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), c = !1), c;
|
|
1773
1773
|
}).reduce(function(t, n) {
|
|
1774
1774
|
var a = Ae(n, 2), o = a[0], c = a[1];
|
|
1775
|
-
return
|
|
1775
|
+
return Ir(Ir({}, t), {}, Qr({}, o, c));
|
|
1776
1776
|
}, {});
|
|
1777
1777
|
return [{
|
|
1778
1778
|
// description is required due to https://crbug.com/1264708
|
|
@@ -1782,32 +1782,32 @@ function so(e) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
return e;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1786
|
-
if (
|
|
1785
|
+
function lo(e) {
|
|
1786
|
+
if (ye(e))
|
|
1787
1787
|
return Object.entries(e).reduce(function(r, t) {
|
|
1788
1788
|
var n = Ae(t, 2), a = n[0], o = n[1];
|
|
1789
|
-
return [].concat(
|
|
1789
|
+
return [].concat(Rr(r), [a], Rr(o));
|
|
1790
1790
|
}, []).filter(function(r) {
|
|
1791
|
-
return
|
|
1791
|
+
return nt(r) || ot(r);
|
|
1792
1792
|
}).join(",");
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function uo(e) {
|
|
1795
1795
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function fo(e) {
|
|
1798
1798
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function nt(e) {
|
|
1801
1801
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function ot(e) {
|
|
1804
1804
|
return /^.*\.[\w]+$/.test(e);
|
|
1805
1805
|
}
|
|
1806
|
-
var
|
|
1806
|
+
var po = ["children"], mo = ["open"], vo = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], go = ["refKey", "onChange", "onClick"];
|
|
1807
1807
|
function yo(e) {
|
|
1808
|
-
return
|
|
1808
|
+
return _o(e) || bo(e) || at(e) || ho();
|
|
1809
1809
|
}
|
|
1810
|
-
function
|
|
1810
|
+
function ho() {
|
|
1811
1811
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1812
1812
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1813
1813
|
}
|
|
@@ -1815,18 +1815,18 @@ function bo(e) {
|
|
|
1815
1815
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
1816
1816
|
return Array.from(e);
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function _o(e) {
|
|
1819
1819
|
if (Array.isArray(e))
|
|
1820
1820
|
return ir(e);
|
|
1821
1821
|
}
|
|
1822
1822
|
function rr(e, r) {
|
|
1823
|
-
return
|
|
1823
|
+
return xo(e) || Eo(e, r) || at(e, r) || wo();
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function wo() {
|
|
1826
1826
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1827
1827
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function at(e, r) {
|
|
1830
1830
|
if (e) {
|
|
1831
1831
|
if (typeof e == "string")
|
|
1832
1832
|
return ir(e, r);
|
|
@@ -1843,7 +1843,7 @@ function ir(e, r) {
|
|
|
1843
1843
|
n[t] = e[t];
|
|
1844
1844
|
return n;
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function Eo(e, r) {
|
|
1847
1847
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1848
1848
|
if (t != null) {
|
|
1849
1849
|
var n = [], a = !0, o = !1, c, i;
|
|
@@ -1863,11 +1863,11 @@ function wo(e, r) {
|
|
|
1863
1863
|
return n;
|
|
1864
1864
|
}
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function xo(e) {
|
|
1867
1867
|
if (Array.isArray(e))
|
|
1868
1868
|
return e;
|
|
1869
1869
|
}
|
|
1870
|
-
function
|
|
1870
|
+
function $r(e, r) {
|
|
1871
1871
|
var t = Object.keys(e);
|
|
1872
1872
|
if (Object.getOwnPropertySymbols) {
|
|
1873
1873
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -1880,9 +1880,9 @@ function kr(e, r) {
|
|
|
1880
1880
|
function z(e) {
|
|
1881
1881
|
for (var r = 1; r < arguments.length; r++) {
|
|
1882
1882
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
1883
|
-
r % 2 ?
|
|
1883
|
+
r % 2 ? $r(Object(t), !0).forEach(function(n) {
|
|
1884
1884
|
sr(e, n, t[n]);
|
|
1885
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
1885
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : $r(Object(t)).forEach(function(n) {
|
|
1886
1886
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
1887
1887
|
});
|
|
1888
1888
|
}
|
|
@@ -1894,7 +1894,7 @@ function sr(e, r, t) {
|
|
|
1894
1894
|
function Le(e, r) {
|
|
1895
1895
|
if (e == null)
|
|
1896
1896
|
return {};
|
|
1897
|
-
var t =
|
|
1897
|
+
var t = To(e, r), n, a;
|
|
1898
1898
|
if (Object.getOwnPropertySymbols) {
|
|
1899
1899
|
var o = Object.getOwnPropertySymbols(e);
|
|
1900
1900
|
for (a = 0; a < o.length; a++)
|
|
@@ -1902,7 +1902,7 @@ function Le(e, r) {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
return t;
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function To(e, r) {
|
|
1906
1906
|
if (e == null)
|
|
1907
1907
|
return {};
|
|
1908
1908
|
var t = {}, n = Object.keys(e), a, o;
|
|
@@ -1910,20 +1910,20 @@ function xo(e, r) {
|
|
|
1910
1910
|
a = n[o], !(r.indexOf(a) >= 0) && (t[a] = e[a]);
|
|
1911
1911
|
return t;
|
|
1912
1912
|
}
|
|
1913
|
-
var
|
|
1914
|
-
var t = e.children, n = Le(e,
|
|
1915
|
-
return
|
|
1913
|
+
var dr = /* @__PURE__ */ bt(function(e, r) {
|
|
1914
|
+
var t = e.children, n = Le(e, po), a = st(n), o = a.open, c = Le(a, mo);
|
|
1915
|
+
return _t(r, function() {
|
|
1916
1916
|
return {
|
|
1917
1917
|
open: o
|
|
1918
1918
|
};
|
|
1919
|
-
}, [o]), /* @__PURE__ */
|
|
1919
|
+
}, [o]), /* @__PURE__ */ yt.createElement(wt, null, t(z(z({}, c), {}, {
|
|
1920
1920
|
open: o
|
|
1921
1921
|
})));
|
|
1922
1922
|
});
|
|
1923
|
-
|
|
1924
|
-
var
|
|
1923
|
+
dr.displayName = "Dropzone";
|
|
1924
|
+
var it = {
|
|
1925
1925
|
disabled: !1,
|
|
1926
|
-
getFilesFromEvent:
|
|
1926
|
+
getFilesFromEvent: Nn,
|
|
1927
1927
|
maxSize: 1 / 0,
|
|
1928
1928
|
minSize: 0,
|
|
1929
1929
|
multiple: !0,
|
|
@@ -1937,8 +1937,8 @@ var at = {
|
|
|
1937
1937
|
useFsAccessApi: !0,
|
|
1938
1938
|
autoFocus: !1
|
|
1939
1939
|
};
|
|
1940
|
-
|
|
1941
|
-
|
|
1940
|
+
dr.defaultProps = it;
|
|
1941
|
+
dr.propTypes = {
|
|
1942
1942
|
/**
|
|
1943
1943
|
* Render function that exposes the dropzone state and prop getter fns
|
|
1944
1944
|
*
|
|
@@ -2115,17 +2115,17 @@ var cr = {
|
|
|
2115
2115
|
acceptedFiles: [],
|
|
2116
2116
|
fileRejections: []
|
|
2117
2117
|
};
|
|
2118
|
-
function
|
|
2119
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = z(z({},
|
|
2118
|
+
function st() {
|
|
2119
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = z(z({}, it), e), t = r.accept, n = r.disabled, a = r.getFilesFromEvent, o = r.maxSize, c = r.minSize, i = r.multiple, f = r.maxFiles, l = r.onDragEnter, m = r.onDragLeave, y = r.onDragOver, b = r.onDrop, h = r.onDropAccepted, T = r.onDropRejected, x = r.onFileDialogCancel, B = r.onFileDialogOpen, N = r.useFsAccessApi, K = r.autoFocus, A = r.preventDropOnDocument, k = r.noClick, p = r.noKeyboard, Q = r.noDrag, $ = r.noDragEventsBubbling, X = r.onError, ee = r.validator, ce = ae(function() {
|
|
2120
|
+
return lo(t);
|
|
2121
|
+
}, [t]), me = ae(function() {
|
|
2120
2122
|
return co(t);
|
|
2121
|
-
}, [t]),
|
|
2122
|
-
return
|
|
2123
|
-
}, [
|
|
2124
|
-
return typeof
|
|
2125
|
-
}, [
|
|
2126
|
-
|
|
2127
|
-
}, [x]), W = Ee(null), J = Ee(null), ne = Lr(To, cr), ae = rr(ne, 2), ue = ae[0], G = ae[1], u = ue.isFocused, y = ue.isFileDialogActive, S = Ee(typeof window < "u" && window.isSecureContext && N && io()), C = function() {
|
|
2128
|
-
!S.current && y && setTimeout(function() {
|
|
2123
|
+
}, [t]), ve = ae(function() {
|
|
2124
|
+
return typeof B == "function" ? B : Mr;
|
|
2125
|
+
}, [B]), le = ae(function() {
|
|
2126
|
+
return typeof x == "function" ? x : Mr;
|
|
2127
|
+
}, [x]), W = Ee(null), J = Ee(null), ne = Br(So, cr), ie = rr(ne, 2), ue = ie[0], G = ie[1], u = ue.isFocused, g = ue.isFileDialogActive, S = Ee(typeof window < "u" && window.isSecureContext && N && so()), C = function() {
|
|
2128
|
+
!S.current && g && setTimeout(function() {
|
|
2129
2129
|
if (J.current) {
|
|
2130
2130
|
var _ = J.current.files;
|
|
2131
2131
|
_.length || (G({
|
|
@@ -2134,28 +2134,28 @@ function it() {
|
|
|
2134
2134
|
}
|
|
2135
2135
|
}, 300);
|
|
2136
2136
|
};
|
|
2137
|
-
|
|
2137
|
+
be(function() {
|
|
2138
2138
|
return window.addEventListener("focus", C, !1), function() {
|
|
2139
2139
|
window.removeEventListener("focus", C, !1);
|
|
2140
2140
|
};
|
|
2141
|
-
}, [J,
|
|
2141
|
+
}, [J, g, le, S]);
|
|
2142
2142
|
var w = Ee([]), P = function(_) {
|
|
2143
2143
|
W.current && W.current.contains(_.target) || (_.preventDefault(), w.current = []);
|
|
2144
2144
|
};
|
|
2145
|
-
|
|
2146
|
-
return A && (document.addEventListener("dragover",
|
|
2147
|
-
A && (document.removeEventListener("dragover",
|
|
2145
|
+
be(function() {
|
|
2146
|
+
return A && (document.addEventListener("dragover", kr, !1), document.addEventListener("drop", P, !1)), function() {
|
|
2147
|
+
A && (document.removeEventListener("dragover", kr), document.removeEventListener("drop", P));
|
|
2148
2148
|
};
|
|
2149
|
-
}, [W, A]),
|
|
2149
|
+
}, [W, A]), be(function() {
|
|
2150
2150
|
return !n && K && W.current && W.current.focus(), function() {
|
|
2151
2151
|
};
|
|
2152
2152
|
}, [W, K, n]);
|
|
2153
|
-
var E = Z(function(
|
|
2154
|
-
X ? X(
|
|
2155
|
-
}, [X]), O = Z(function(
|
|
2156
|
-
|
|
2157
|
-
if (!(Me(
|
|
2158
|
-
var Y = _.length, V = Y > 0 &&
|
|
2153
|
+
var E = Z(function(v) {
|
|
2154
|
+
X ? X(v) : console.error(v);
|
|
2155
|
+
}, [X]), O = Z(function(v) {
|
|
2156
|
+
v.preventDefault(), v.persist(), Fe(v), w.current = [].concat(yo(w.current), [v.target]), Ne(v) && Promise.resolve(a(v)).then(function(_) {
|
|
2157
|
+
if (!(Me(v) && !$)) {
|
|
2158
|
+
var Y = _.length, V = Y > 0 && no({
|
|
2159
2159
|
files: _,
|
|
2160
2160
|
accept: ce,
|
|
2161
2161
|
minSize: c,
|
|
@@ -2169,59 +2169,59 @@ function it() {
|
|
|
2169
2169
|
isDragReject: te,
|
|
2170
2170
|
isDragActive: !0,
|
|
2171
2171
|
type: "setDraggedFiles"
|
|
2172
|
-
}), l && l(
|
|
2172
|
+
}), l && l(v);
|
|
2173
2173
|
}
|
|
2174
2174
|
}).catch(function(_) {
|
|
2175
2175
|
return E(_);
|
|
2176
2176
|
});
|
|
2177
|
-
}, [a, l, E, $, ce, c, o, i, f, ee]), R = Z(function(
|
|
2178
|
-
|
|
2179
|
-
var _ = Ne(
|
|
2180
|
-
if (_ &&
|
|
2177
|
+
}, [a, l, E, $, ce, c, o, i, f, ee]), R = Z(function(v) {
|
|
2178
|
+
v.preventDefault(), v.persist(), Fe(v);
|
|
2179
|
+
var _ = Ne(v);
|
|
2180
|
+
if (_ && v.dataTransfer)
|
|
2181
2181
|
try {
|
|
2182
|
-
|
|
2182
|
+
v.dataTransfer.dropEffect = "copy";
|
|
2183
2183
|
} catch {
|
|
2184
2184
|
}
|
|
2185
|
-
return _ &&
|
|
2186
|
-
}, [
|
|
2187
|
-
|
|
2185
|
+
return _ && y && y(v), !1;
|
|
2186
|
+
}, [y, $]), F = Z(function(v) {
|
|
2187
|
+
v.preventDefault(), v.persist(), Fe(v);
|
|
2188
2188
|
var _ = w.current.filter(function(V) {
|
|
2189
2189
|
return W.current && W.current.contains(V);
|
|
2190
|
-
}), Y = _.indexOf(
|
|
2190
|
+
}), Y = _.indexOf(v.target);
|
|
2191
2191
|
Y !== -1 && _.splice(Y, 1), w.current = _, !(_.length > 0) && (G({
|
|
2192
2192
|
type: "setDraggedFiles",
|
|
2193
2193
|
isDragActive: !1,
|
|
2194
2194
|
isDragAccept: !1,
|
|
2195
2195
|
isDragReject: !1
|
|
2196
|
-
}), Ne(
|
|
2197
|
-
}, [W,
|
|
2196
|
+
}), Ne(v) && m && m(v));
|
|
2197
|
+
}, [W, m, $]), D = Z(function(v, _) {
|
|
2198
2198
|
var Y = [], V = [];
|
|
2199
|
-
|
|
2200
|
-
var De =
|
|
2199
|
+
v.forEach(function(te) {
|
|
2200
|
+
var De = rt(te, ce), we = rr(De, 2), We = we[0], Ye = we[1], qe = tt(te, c, o), Ie = rr(qe, 2), Ue = Ie[0], Ke = Ie[1], He = ee ? ee(te) : null;
|
|
2201
2201
|
if (We && Ue && !He)
|
|
2202
2202
|
Y.push(te);
|
|
2203
2203
|
else {
|
|
2204
2204
|
var Ge = [Ye, Ke];
|
|
2205
2205
|
He && (Ge = Ge.concat(He)), V.push({
|
|
2206
2206
|
file: te,
|
|
2207
|
-
errors: Ge.filter(function(
|
|
2208
|
-
return
|
|
2207
|
+
errors: Ge.filter(function(gt) {
|
|
2208
|
+
return gt;
|
|
2209
2209
|
})
|
|
2210
2210
|
});
|
|
2211
2211
|
}
|
|
2212
2212
|
}), (!i && Y.length > 1 || i && f >= 1 && Y.length > f) && (Y.forEach(function(te) {
|
|
2213
2213
|
V.push({
|
|
2214
2214
|
file: te,
|
|
2215
|
-
errors: [
|
|
2215
|
+
errors: [to]
|
|
2216
2216
|
});
|
|
2217
2217
|
}), Y.splice(0)), G({
|
|
2218
2218
|
acceptedFiles: Y,
|
|
2219
2219
|
fileRejections: V,
|
|
2220
2220
|
type: "setFiles"
|
|
2221
|
-
}),
|
|
2222
|
-
}, [G, i, ce, c, o, f,
|
|
2223
|
-
|
|
2224
|
-
Me(
|
|
2221
|
+
}), b && b(Y, V, _), V.length > 0 && T && T(V, _), Y.length > 0 && h && h(Y, _);
|
|
2222
|
+
}, [G, i, ce, c, o, f, b, h, T, ee]), q = Z(function(v) {
|
|
2223
|
+
v.preventDefault(), v.persist(), Fe(v), w.current = [], Ne(v) && Promise.resolve(a(v)).then(function(_) {
|
|
2224
|
+
Me(v) && !$ || D(_, v);
|
|
2225
2225
|
}).catch(function(_) {
|
|
2226
2226
|
return E(_);
|
|
2227
2227
|
}), G({
|
|
@@ -2232,29 +2232,29 @@ function it() {
|
|
|
2232
2232
|
G({
|
|
2233
2233
|
type: "openDialog"
|
|
2234
2234
|
}), ve();
|
|
2235
|
-
var
|
|
2235
|
+
var v = {
|
|
2236
2236
|
multiple: i,
|
|
2237
2237
|
types: me
|
|
2238
2238
|
};
|
|
2239
|
-
window.showOpenFilePicker(
|
|
2239
|
+
window.showOpenFilePicker(v).then(function(_) {
|
|
2240
2240
|
return a(_);
|
|
2241
2241
|
}).then(function(_) {
|
|
2242
2242
|
D(_, null), G({
|
|
2243
2243
|
type: "closeDialog"
|
|
2244
2244
|
});
|
|
2245
2245
|
}).catch(function(_) {
|
|
2246
|
-
|
|
2246
|
+
uo(_) ? (le(_), G({
|
|
2247
2247
|
type: "closeDialog"
|
|
2248
|
-
})) :
|
|
2248
|
+
})) : fo(_) ? (S.current = !1, J.current ? (J.current.value = null, J.current.click()) : E(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : E(_);
|
|
2249
2249
|
});
|
|
2250
2250
|
return;
|
|
2251
2251
|
}
|
|
2252
2252
|
J.current && (G({
|
|
2253
2253
|
type: "openDialog"
|
|
2254
2254
|
}), ve(), J.current.value = null, J.current.click());
|
|
2255
|
-
}, [G, ve, le, N, D, E, me, i]), re = Z(function(
|
|
2256
|
-
!W.current || !W.current.isEqualNode(
|
|
2257
|
-
}, [W, d]),
|
|
2255
|
+
}, [G, ve, le, N, D, E, me, i]), re = Z(function(v) {
|
|
2256
|
+
!W.current || !W.current.isEqualNode(v.target) || (v.key === " " || v.key === "Enter" || v.keyCode === 32 || v.keyCode === 13) && (v.preventDefault(), d());
|
|
2257
|
+
}, [W, d]), ge = Z(function() {
|
|
2258
2258
|
G({
|
|
2259
2259
|
type: "focus"
|
|
2260
2260
|
});
|
|
@@ -2262,8 +2262,8 @@ function it() {
|
|
|
2262
2262
|
G({
|
|
2263
2263
|
type: "blur"
|
|
2264
2264
|
});
|
|
2265
|
-
}, []),
|
|
2266
|
-
k || (
|
|
2265
|
+
}, []), mr = Z(function() {
|
|
2266
|
+
k || (io() ? setTimeout(d, 0) : d());
|
|
2267
2267
|
}, [k, d]), _e = function(_) {
|
|
2268
2268
|
return n ? null : _;
|
|
2269
2269
|
}, ze = function(_) {
|
|
@@ -2272,36 +2272,36 @@ function it() {
|
|
|
2272
2272
|
return Q ? null : _e(_);
|
|
2273
2273
|
}, Fe = function(_) {
|
|
2274
2274
|
$ && _.stopPropagation();
|
|
2275
|
-
},
|
|
2275
|
+
}, dt = ae(function() {
|
|
2276
2276
|
return function() {
|
|
2277
|
-
var
|
|
2277
|
+
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ = v.refKey, Y = _ === void 0 ? "ref" : _, V = v.role, te = v.onKeyDown, De = v.onFocus, we = v.onBlur, We = v.onClick, Ye = v.onDragEnter, qe = v.onDragOver, Ie = v.onDragLeave, Ue = v.onDrop, Ke = Le(v, vo);
|
|
2278
2278
|
return z(z(sr({
|
|
2279
|
-
onKeyDown: ze(
|
|
2280
|
-
onFocus: ze(
|
|
2281
|
-
onBlur: ze(
|
|
2282
|
-
onClick: _e(
|
|
2283
|
-
onDragEnter: Re(
|
|
2284
|
-
onDragOver: Re(
|
|
2285
|
-
onDragLeave: Re(
|
|
2286
|
-
onDrop: Re(
|
|
2279
|
+
onKeyDown: ze(se(te, re)),
|
|
2280
|
+
onFocus: ze(se(De, ge)),
|
|
2281
|
+
onBlur: ze(se(we, Oe)),
|
|
2282
|
+
onClick: _e(se(We, mr)),
|
|
2283
|
+
onDragEnter: Re(se(Ye, O)),
|
|
2284
|
+
onDragOver: Re(se(qe, R)),
|
|
2285
|
+
onDragLeave: Re(se(Ie, F)),
|
|
2286
|
+
onDrop: Re(se(Ue, q)),
|
|
2287
2287
|
role: typeof V == "string" && V !== "" ? V : "presentation"
|
|
2288
2288
|
}, Y, W), !n && !p ? {
|
|
2289
2289
|
tabIndex: 0
|
|
2290
2290
|
} : {}), Ke);
|
|
2291
2291
|
};
|
|
2292
|
-
}, [W, re,
|
|
2293
|
-
|
|
2294
|
-
}, []),
|
|
2292
|
+
}, [W, re, ge, Oe, mr, O, R, F, q, p, Q, n]), mt = Z(function(v) {
|
|
2293
|
+
v.stopPropagation();
|
|
2294
|
+
}, []), vt = ae(function() {
|
|
2295
2295
|
return function() {
|
|
2296
|
-
var
|
|
2296
|
+
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ = v.refKey, Y = _ === void 0 ? "ref" : _, V = v.onChange, te = v.onClick, De = Le(v, go), we = sr({
|
|
2297
2297
|
accept: ce,
|
|
2298
2298
|
multiple: i,
|
|
2299
2299
|
type: "file",
|
|
2300
2300
|
style: {
|
|
2301
2301
|
display: "none"
|
|
2302
2302
|
},
|
|
2303
|
-
onChange: _e(
|
|
2304
|
-
onClick: _e(
|
|
2303
|
+
onChange: _e(se(V, q)),
|
|
2304
|
+
onClick: _e(se(te, mt)),
|
|
2305
2305
|
tabIndex: -1
|
|
2306
2306
|
}, Y, J);
|
|
2307
2307
|
return z(z({}, we), De);
|
|
@@ -2309,14 +2309,14 @@ function it() {
|
|
|
2309
2309
|
}, [J, t, i, q, n]);
|
|
2310
2310
|
return z(z({}, ue), {}, {
|
|
2311
2311
|
isFocused: u && !n,
|
|
2312
|
-
getRootProps:
|
|
2313
|
-
getInputProps:
|
|
2312
|
+
getRootProps: dt,
|
|
2313
|
+
getInputProps: vt,
|
|
2314
2314
|
rootRef: W,
|
|
2315
2315
|
inputRef: J,
|
|
2316
2316
|
open: _e(d)
|
|
2317
2317
|
});
|
|
2318
2318
|
}
|
|
2319
|
-
function
|
|
2319
|
+
function So(e, r) {
|
|
2320
2320
|
switch (r.type) {
|
|
2321
2321
|
case "focus":
|
|
2322
2322
|
return z(z({}, e), {}, {
|
|
@@ -2351,9 +2351,9 @@ function To(e, r) {
|
|
|
2351
2351
|
return e;
|
|
2352
2352
|
}
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2354
|
+
function Mr() {
|
|
2355
2355
|
}
|
|
2356
|
-
const
|
|
2356
|
+
const Co = () => {
|
|
2357
2357
|
const e = (i, f) => {
|
|
2358
2358
|
switch (f.type) {
|
|
2359
2359
|
case "add-files":
|
|
@@ -2382,7 +2382,7 @@ const So = () => {
|
|
|
2382
2382
|
)
|
|
2383
2383
|
};
|
|
2384
2384
|
}
|
|
2385
|
-
}, [{ acceptedFiles: r, fileRejections: t }, n] =
|
|
2385
|
+
}, [{ acceptedFiles: r, fileRejections: t }, n] = Br(
|
|
2386
2386
|
e,
|
|
2387
2387
|
{
|
|
2388
2388
|
acceptedFiles: [],
|
|
@@ -2396,7 +2396,7 @@ const So = () => {
|
|
|
2396
2396
|
[n]
|
|
2397
2397
|
);
|
|
2398
2398
|
return { acceptedFiles: r, fileRejections: t, onFileUpload: a, removeFile: (i) => n({ type: "remove-accepted", payload: i }), removeRejectedFile: (i) => n({ type: "remove-rejected", payload: i }) };
|
|
2399
|
-
},
|
|
2399
|
+
}, Oo = ({
|
|
2400
2400
|
accept: e,
|
|
2401
2401
|
error: r,
|
|
2402
2402
|
files: t,
|
|
@@ -2407,14 +2407,14 @@ const So = () => {
|
|
|
2407
2407
|
onFileUpload: i,
|
|
2408
2408
|
rejectedFiles: f,
|
|
2409
2409
|
removeFile: l,
|
|
2410
|
-
removeRejectedFile:
|
|
2410
|
+
removeRejectedFile: m
|
|
2411
2411
|
}) => {
|
|
2412
|
-
const { getRootProps:
|
|
2412
|
+
const { getRootProps: y } = st({
|
|
2413
2413
|
accept: e,
|
|
2414
2414
|
maxFiles: o,
|
|
2415
2415
|
maxSize: c,
|
|
2416
2416
|
onDrop: i
|
|
2417
|
-
}),
|
|
2417
|
+
}), b = ke();
|
|
2418
2418
|
return /* @__PURE__ */ U(
|
|
2419
2419
|
"div",
|
|
2420
2420
|
{
|
|
@@ -2422,14 +2422,14 @@ const So = () => {
|
|
|
2422
2422
|
"is-error": !!r
|
|
2423
2423
|
}),
|
|
2424
2424
|
children: [
|
|
2425
|
-
a && /* @__PURE__ */ s(
|
|
2425
|
+
a && /* @__PURE__ */ s(Pt, { id: b, children: a }),
|
|
2426
2426
|
n && /* @__PURE__ */ s("p", { className: "p-form-help-text", children: n }),
|
|
2427
2427
|
/* @__PURE__ */ U("div", { className: "p-form__control", children: [
|
|
2428
2428
|
!o || t.length < o ? /* @__PURE__ */ s("div", { className: "file-upload__wrapper", children: /* @__PURE__ */ s(
|
|
2429
2429
|
"div",
|
|
2430
2430
|
{
|
|
2431
|
-
...
|
|
2432
|
-
"aria-labelledby": a ?
|
|
2431
|
+
...y(),
|
|
2432
|
+
"aria-labelledby": a ? b : void 0,
|
|
2433
2433
|
className: "file-upload",
|
|
2434
2434
|
"data-testid": "file-upload",
|
|
2435
2435
|
children: /* @__PURE__ */ s("button", { className: "file-upload__button", type: "button", children: "Drag and drop files here or click to upload" })
|
|
@@ -2440,48 +2440,48 @@ const So = () => {
|
|
|
2440
2440
|
r
|
|
2441
2441
|
] }) : null,
|
|
2442
2442
|
/* @__PURE__ */ U("div", { className: "file-upload__files-list", children: [
|
|
2443
|
-
f && f.map((
|
|
2443
|
+
f && f.map((h) => /* @__PURE__ */ U("span", { className: "is-error", children: [
|
|
2444
2444
|
/* @__PURE__ */ U("div", { className: "file-upload__file is-rejected", children: [
|
|
2445
|
-
|
|
2445
|
+
h.file.name,
|
|
2446
2446
|
/* @__PURE__ */ s(
|
|
2447
2447
|
pe,
|
|
2448
2448
|
{
|
|
2449
2449
|
appearance: "base",
|
|
2450
2450
|
className: "file-upload__file-remove-button",
|
|
2451
|
-
onClick: () =>
|
|
2451
|
+
onClick: () => m(h),
|
|
2452
2452
|
type: "button",
|
|
2453
2453
|
children: /* @__PURE__ */ s(Te, { name: "close", children: "Remove file" })
|
|
2454
2454
|
}
|
|
2455
2455
|
)
|
|
2456
2456
|
] }),
|
|
2457
|
-
|
|
2457
|
+
h.errors.map((T) => /* @__PURE__ */ s(
|
|
2458
2458
|
"p",
|
|
2459
2459
|
{
|
|
2460
2460
|
className: "p-form-validation__message",
|
|
2461
2461
|
children: T.message
|
|
2462
2462
|
},
|
|
2463
|
-
`${
|
|
2463
|
+
`${h.file.name}-${T.code}`
|
|
2464
2464
|
))
|
|
2465
|
-
] },
|
|
2466
|
-
t && t.map((
|
|
2467
|
-
|
|
2468
|
-
|
|
2465
|
+
] }, h.file.name)),
|
|
2466
|
+
t && t.map((h) => /* @__PURE__ */ U("div", { className: "file-upload__file", children: [
|
|
2467
|
+
h.name,
|
|
2468
|
+
h.percentUploaded !== void 0 ? /* @__PURE__ */ s(zt, { percentComplete: h.percentUploaded }) : /* @__PURE__ */ s(
|
|
2469
2469
|
pe,
|
|
2470
2470
|
{
|
|
2471
2471
|
appearance: "base",
|
|
2472
2472
|
className: "file-upload__file-remove-button",
|
|
2473
|
-
onClick: () => l(
|
|
2473
|
+
onClick: () => l(h),
|
|
2474
2474
|
type: "button",
|
|
2475
2475
|
children: /* @__PURE__ */ s(Te, { name: "close", children: "Remove file" })
|
|
2476
2476
|
}
|
|
2477
2477
|
)
|
|
2478
|
-
] },
|
|
2478
|
+
] }, h.name))
|
|
2479
2479
|
] })
|
|
2480
2480
|
] })
|
|
2481
2481
|
]
|
|
2482
2482
|
}
|
|
2483
2483
|
);
|
|
2484
|
-
},
|
|
2484
|
+
}, qo = ({
|
|
2485
2485
|
accept: e,
|
|
2486
2486
|
error: r,
|
|
2487
2487
|
help: t,
|
|
@@ -2494,10 +2494,10 @@ const So = () => {
|
|
|
2494
2494
|
fileRejections: i,
|
|
2495
2495
|
onFileUpload: f,
|
|
2496
2496
|
removeFile: l,
|
|
2497
|
-
removeRejectedFile:
|
|
2498
|
-
} =
|
|
2497
|
+
removeRejectedFile: m
|
|
2498
|
+
} = Co();
|
|
2499
2499
|
return /* @__PURE__ */ s(
|
|
2500
|
-
|
|
2500
|
+
Oo,
|
|
2501
2501
|
{
|
|
2502
2502
|
accept: e,
|
|
2503
2503
|
error: r,
|
|
@@ -2509,11 +2509,11 @@ const So = () => {
|
|
|
2509
2509
|
maxSize: o,
|
|
2510
2510
|
onFileUpload: f,
|
|
2511
2511
|
removeFile: l,
|
|
2512
|
-
removeRejectedFile:
|
|
2512
|
+
removeRejectedFile: m
|
|
2513
2513
|
}
|
|
2514
2514
|
);
|
|
2515
2515
|
};
|
|
2516
|
-
const
|
|
2516
|
+
const ct = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Do = (e) => (r, t) => {
|
|
2517
2517
|
if (e) {
|
|
2518
2518
|
const n = e.has(r.value), a = e.has(t.value);
|
|
2519
2519
|
if (n && !a)
|
|
@@ -2522,13 +2522,13 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2522
2522
|
return 1;
|
|
2523
2523
|
}
|
|
2524
2524
|
return 0;
|
|
2525
|
-
},
|
|
2525
|
+
}, Ao = (e) => {
|
|
2526
2526
|
const r = /* @__PURE__ */ new Map();
|
|
2527
2527
|
return e.forEach((t) => {
|
|
2528
2528
|
const n = t.group || "Ungrouped", a = r.get(n) || [];
|
|
2529
2529
|
a.push(t), r.set(n, a);
|
|
2530
2530
|
}), Array.from(r, ([t, n]) => ({ group: t, items: n }));
|
|
2531
|
-
},
|
|
2531
|
+
}, Po = ({
|
|
2532
2532
|
items: e,
|
|
2533
2533
|
selectedItems: r,
|
|
2534
2534
|
disabledItems: t,
|
|
@@ -2536,21 +2536,21 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2536
2536
|
updateItems: a,
|
|
2537
2537
|
isOpen: o,
|
|
2538
2538
|
footer: c,
|
|
2539
|
-
sortFn: i =
|
|
2540
|
-
groupFn: f =
|
|
2539
|
+
sortFn: i = ct,
|
|
2540
|
+
groupFn: f = Ao,
|
|
2541
2541
|
...l
|
|
2542
2542
|
}) => {
|
|
2543
|
-
const
|
|
2543
|
+
const m = ae(
|
|
2544
2544
|
() => new Set(r.map((N) => N.value)),
|
|
2545
2545
|
[r]
|
|
2546
|
-
),
|
|
2546
|
+
), y = ae(
|
|
2547
2547
|
() => new Set(t.map((N) => N.value)),
|
|
2548
2548
|
[t]
|
|
2549
|
-
), [
|
|
2550
|
-
|
|
2551
|
-
o &&
|
|
2549
|
+
), [b, h] = fe(new Set(m));
|
|
2550
|
+
be(() => {
|
|
2551
|
+
o && h(new Set(m));
|
|
2552
2552
|
}, [o]);
|
|
2553
|
-
const T =
|
|
2553
|
+
const T = ae(() => e.some((N) => N.group), [e]), x = ae(
|
|
2554
2554
|
() => T ? f(e) : [{ group: "Ungrouped", items: e }],
|
|
2555
2555
|
[e, f]
|
|
2556
2556
|
), B = (N) => {
|
|
@@ -2560,16 +2560,16 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2560
2560
|
a(p);
|
|
2561
2561
|
}
|
|
2562
2562
|
};
|
|
2563
|
-
return /* @__PURE__ */ s(
|
|
2563
|
+
return /* @__PURE__ */ s(Gr, { isVisible: o, className: "put-above", children: /* @__PURE__ */ U("div", { className: "multi-select__dropdown", role: "listbox", ...l, children: [
|
|
2564
2564
|
n || null,
|
|
2565
2565
|
x.map(({ group: N, items: K }) => /* @__PURE__ */ U("div", { className: "multi-select__group", children: [
|
|
2566
2566
|
T ? /* @__PURE__ */ s("h5", { className: "multi-select__dropdown-header", children: N }) : null,
|
|
2567
|
-
/* @__PURE__ */ s("ul", { className: "multi-select__dropdown-list", "aria-label": N, children: K.sort(i).sort(
|
|
2568
|
-
|
|
2567
|
+
/* @__PURE__ */ s("ul", { className: "multi-select__dropdown-list", "aria-label": N, children: K.sort(i).sort(Do(b)).map((A) => /* @__PURE__ */ s("li", { className: "multi-select__dropdown-item", children: /* @__PURE__ */ s(
|
|
2568
|
+
Rt,
|
|
2569
2569
|
{
|
|
2570
|
-
disabled:
|
|
2570
|
+
disabled: y.has(A.value),
|
|
2571
2571
|
label: A.label,
|
|
2572
|
-
checked:
|
|
2572
|
+
checked: m.has(A.value),
|
|
2573
2573
|
value: A.value,
|
|
2574
2574
|
onChange: B
|
|
2575
2575
|
},
|
|
@@ -2578,7 +2578,7 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2578
2578
|
] }, N)),
|
|
2579
2579
|
c ? /* @__PURE__ */ s("div", { className: "multi-select__footer", children: c }) : null
|
|
2580
2580
|
] }) });
|
|
2581
|
-
},
|
|
2581
|
+
}, Uo = ({
|
|
2582
2582
|
disabled: e,
|
|
2583
2583
|
selectedItems: r = [],
|
|
2584
2584
|
label: t,
|
|
@@ -2589,40 +2589,40 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2589
2589
|
disabledItems: i = [],
|
|
2590
2590
|
dropdownHeader: f,
|
|
2591
2591
|
dropdownFooter: l,
|
|
2592
|
-
variant:
|
|
2592
|
+
variant: m = "search"
|
|
2593
2593
|
}) => {
|
|
2594
|
-
const
|
|
2595
|
-
|
|
2594
|
+
const y = Ft(() => {
|
|
2595
|
+
h(!1), x("");
|
|
2596
2596
|
});
|
|
2597
|
-
|
|
2598
|
-
|
|
2597
|
+
It(() => {
|
|
2598
|
+
h(!1), x("");
|
|
2599
2599
|
});
|
|
2600
|
-
const [
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
}, [
|
|
2600
|
+
const [b, h] = fe(!1), [T, x] = fe("");
|
|
2601
|
+
be(() => {
|
|
2602
|
+
b || x("");
|
|
2603
|
+
}, [b]);
|
|
2604
2604
|
const [B, N] = fe([]), K = r || B, A = ($) => {
|
|
2605
2605
|
const X = Array.from(new Set($));
|
|
2606
2606
|
N(X), n && n(X);
|
|
2607
2607
|
}, k = ke(), p = ke(), Q = K.filter(
|
|
2608
2608
|
($) => c.some((X) => X.value === $.value)
|
|
2609
|
-
).sort(
|
|
2610
|
-
return /* @__PURE__ */ s("div", { ref:
|
|
2611
|
-
|
|
2612
|
-
|
|
2609
|
+
).sort(ct).map(($) => $.label).join(", ");
|
|
2610
|
+
return /* @__PURE__ */ s("div", { ref: y, children: /* @__PURE__ */ U("div", { className: "multi-select", children: [
|
|
2611
|
+
m === "search" ? /* @__PURE__ */ s(
|
|
2612
|
+
jt,
|
|
2613
2613
|
{
|
|
2614
2614
|
externallyControlled: !0,
|
|
2615
2615
|
"aria-controls": k,
|
|
2616
|
-
"aria-expanded":
|
|
2616
|
+
"aria-expanded": b,
|
|
2617
2617
|
id: p,
|
|
2618
2618
|
role: "combobox",
|
|
2619
2619
|
"aria-label": t || a || "Search",
|
|
2620
2620
|
disabled: e,
|
|
2621
2621
|
autoComplete: "off",
|
|
2622
2622
|
onChange: ($) => {
|
|
2623
|
-
x($),
|
|
2623
|
+
x($), h(!0);
|
|
2624
2624
|
},
|
|
2625
|
-
onFocus: () =>
|
|
2625
|
+
onFocus: () => h(!0),
|
|
2626
2626
|
placeholder: a ?? "Search",
|
|
2627
2627
|
required: o,
|
|
2628
2628
|
type: "text",
|
|
@@ -2636,19 +2636,19 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2636
2636
|
type: "button",
|
|
2637
2637
|
"aria-label": t || a || "Select items",
|
|
2638
2638
|
"aria-controls": k,
|
|
2639
|
-
"aria-expanded":
|
|
2639
|
+
"aria-expanded": b,
|
|
2640
2640
|
className: "multi-select__select-button",
|
|
2641
2641
|
onClick: () => {
|
|
2642
|
-
|
|
2642
|
+
h(($) => !$);
|
|
2643
2643
|
},
|
|
2644
2644
|
children: /* @__PURE__ */ s("span", { className: "multi-select__condensed-text", children: K.length > 0 ? Q : a ?? "Select items" })
|
|
2645
2645
|
}
|
|
2646
2646
|
),
|
|
2647
2647
|
/* @__PURE__ */ s(
|
|
2648
|
-
|
|
2648
|
+
Po,
|
|
2649
2649
|
{
|
|
2650
2650
|
id: k,
|
|
2651
|
-
isOpen:
|
|
2651
|
+
isOpen: b,
|
|
2652
2652
|
items: T.length > 0 ? c.filter(
|
|
2653
2653
|
($) => $.label.toLowerCase().includes(T.toLowerCase())
|
|
2654
2654
|
) : c,
|
|
@@ -2693,7 +2693,7 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2693
2693
|
}
|
|
2694
2694
|
)
|
|
2695
2695
|
] }) });
|
|
2696
|
-
},
|
|
2696
|
+
}, Ro = {
|
|
2697
2697
|
// Mobile (portrait)
|
|
2698
2698
|
xSmall: 460,
|
|
2699
2699
|
// Mobile or tablet
|
|
@@ -2703,61 +2703,75 @@ const st = (e, r) => e.label.localeCompare(r.label, "en", { numeric: !0 }), Oo =
|
|
|
2703
2703
|
// Large desktop
|
|
2704
2704
|
xLarge: 1681
|
|
2705
2705
|
};
|
|
2706
|
-
const
|
|
2706
|
+
const lt = Lr({ variant: "regular" }), ut = ({
|
|
2707
2707
|
className: e,
|
|
2708
2708
|
children: r,
|
|
2709
|
-
|
|
2710
|
-
|
|
2709
|
+
variant: t,
|
|
2710
|
+
...n
|
|
2711
|
+
}) => /* @__PURE__ */ s(lt.Provider, { value: { variant: t }, children: /* @__PURE__ */ s(
|
|
2712
|
+
"table",
|
|
2713
|
+
{
|
|
2714
|
+
...n,
|
|
2715
|
+
className: L("p-table-dynamic", e, {
|
|
2716
|
+
"is-full-height": t === "full-height"
|
|
2717
|
+
}),
|
|
2718
|
+
children: r
|
|
2719
|
+
}
|
|
2720
|
+
) }), Fo = ({ columns: e }) => /* @__PURE__ */ s(de, { children: Array.from({ length: 10 }, (r, t) => /* @__PURE__ */ s("tr", { "aria-hidden": "true", children: e.map((n, a) => /* @__PURE__ */ s(
|
|
2711
2721
|
"td",
|
|
2712
2722
|
{
|
|
2713
2723
|
className: L(n.id, "u-text-overflow-clip"),
|
|
2714
|
-
children: /* @__PURE__ */ s(
|
|
2724
|
+
children: /* @__PURE__ */ s(Wt, { isPending: !0, text: "XXXxxxx.xxxxxxxxx" })
|
|
2715
2725
|
},
|
|
2716
2726
|
a
|
|
2717
|
-
)) }, t)) }),
|
|
2727
|
+
)) }, t)) }), Io = ({
|
|
2718
2728
|
className: e,
|
|
2719
2729
|
table: r
|
|
2720
2730
|
}) => {
|
|
2721
2731
|
const t = r ? r.getAllColumns() : Array.from({ length: 10 }).fill({ id: "" });
|
|
2722
2732
|
return /* @__PURE__ */ U(de, { children: [
|
|
2723
2733
|
/* @__PURE__ */ s("caption", { className: "u-visually-hidden", children: "Loading..." }),
|
|
2724
|
-
/* @__PURE__ */ s(
|
|
2734
|
+
/* @__PURE__ */ s(ft, { "aria-busy": "true", className: e, children: /* @__PURE__ */ s(Fo, { columns: t }) })
|
|
2725
2735
|
] });
|
|
2726
|
-
},
|
|
2736
|
+
}, ft = ({
|
|
2727
2737
|
className: e,
|
|
2728
2738
|
children: r,
|
|
2729
|
-
|
|
2739
|
+
style: t,
|
|
2740
|
+
...n
|
|
2730
2741
|
}) => {
|
|
2731
|
-
const
|
|
2732
|
-
var
|
|
2733
|
-
if (window.innerWidth >
|
|
2734
|
-
const
|
|
2735
|
-
|
|
2742
|
+
const { variant: a } = lr(lt), o = Ee(null), [c, i] = fe(null), f = Z(() => {
|
|
2743
|
+
var m, y;
|
|
2744
|
+
if (window.innerWidth > Ro.small) {
|
|
2745
|
+
const b = (y = (m = o.current) == null ? void 0 : m.getBoundingClientRect) == null ? void 0 : y.call(m).top;
|
|
2746
|
+
b && i(b + 1);
|
|
2736
2747
|
} else
|
|
2737
|
-
|
|
2748
|
+
i(null);
|
|
2738
2749
|
}, []);
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
}, [
|
|
2750
|
+
Et(() => {
|
|
2751
|
+
f();
|
|
2752
|
+
}, [f]), be(() => (window.addEventListener("resize", f), () => window.removeEventListener("resize", f)), [f]);
|
|
2753
|
+
const l = ae(() => a === "full-height" && c ? {
|
|
2754
|
+
height: `calc(100vh - ${c}px)`,
|
|
2755
|
+
minHeight: `calc(100vh - ${c}px)`,
|
|
2756
|
+
...t
|
|
2757
|
+
} : t, [a, c, t]);
|
|
2758
|
+
return /* @__PURE__ */ s(
|
|
2742
2759
|
"tbody",
|
|
2743
2760
|
{
|
|
2744
2761
|
className: e,
|
|
2745
|
-
ref:
|
|
2746
|
-
style:
|
|
2747
|
-
|
|
2748
|
-
minHeight: `calc(100vh - ${a}px)`
|
|
2749
|
-
} : void 0,
|
|
2750
|
-
...t,
|
|
2762
|
+
ref: o,
|
|
2763
|
+
style: l,
|
|
2764
|
+
...n,
|
|
2751
2765
|
children: r
|
|
2752
2766
|
}
|
|
2753
2767
|
);
|
|
2754
2768
|
};
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
const
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
const
|
|
2769
|
+
ut.Body = ft;
|
|
2770
|
+
ut.Loading = Io;
|
|
2771
|
+
const pt = ({ children: e }) => /* @__PURE__ */ s("caption", { children: /* @__PURE__ */ s("div", { className: "p-strip", children: e }) }), jo = ({ children: e }) => /* @__PURE__ */ s("div", { className: "row", children: /* @__PURE__ */ s("div", { className: "col-start-large-4 u-align--left col-8 col-medium-4", children: /* @__PURE__ */ s("p", { className: "p-heading--4 u-no-margin--bottom", children: e }) }) }), No = ({ children: e }) => /* @__PURE__ */ s("div", { className: "row", children: /* @__PURE__ */ s("div", { className: "u-align--left col-start-large-4 col-8 col-medium-4", children: /* @__PURE__ */ s("p", { children: e }) }) });
|
|
2772
|
+
pt.Title = jo;
|
|
2773
|
+
pt.Description = No;
|
|
2774
|
+
const Ko = ({ value: e, unit: r }, {
|
|
2761
2775
|
binary: t = !1,
|
|
2762
2776
|
convertTo: n,
|
|
2763
2777
|
decimals: a = 2,
|
|
@@ -2766,40 +2780,40 @@ const Uo = ({ value: e, unit: r }, {
|
|
|
2766
2780
|
const c = e < 0, i = Math.abs(e);
|
|
2767
2781
|
if (i === 0)
|
|
2768
2782
|
return { value: 0, unit: n || "B" };
|
|
2769
|
-
const f = t ? 1024 : 1e3, l = t ? ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"] : ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
|
|
2770
|
-
let
|
|
2771
|
-
if (
|
|
2783
|
+
const f = t ? 1024 : 1e3, l = t ? ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"] : ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], m = l.findIndex((x) => x === r) || 0, y = i * Math.pow(f, m), b = n ? l.findIndex((x) => x === n) : Math.floor(Math.log(y) / Math.log(f));
|
|
2784
|
+
let h = y / Math.pow(f, b);
|
|
2785
|
+
if (h % 1 !== 0) {
|
|
2772
2786
|
const x = Math.pow(10, a);
|
|
2773
|
-
|
|
2787
|
+
h = Math[o](h * x) / x;
|
|
2774
2788
|
}
|
|
2775
2789
|
return {
|
|
2776
|
-
value: c ? -
|
|
2777
|
-
unit: l[
|
|
2790
|
+
value: c ? -h : h,
|
|
2791
|
+
unit: l[b]
|
|
2778
2792
|
};
|
|
2779
2793
|
};
|
|
2780
2794
|
export {
|
|
2781
2795
|
Be as ContentSection,
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2796
|
+
ut as DynamicTable,
|
|
2797
|
+
Bo as ExternalLink,
|
|
2798
|
+
Oo as FileUpload,
|
|
2799
|
+
qo as FileUploadContainer,
|
|
2800
|
+
fr as FormSection,
|
|
2801
|
+
qr as InputGroup,
|
|
2802
|
+
Hr as MainToolbar,
|
|
2803
|
+
$t as Meter,
|
|
2804
|
+
Uo as MultiSelect,
|
|
2805
|
+
Po as MultiSelectDropdown,
|
|
2792
2806
|
H as Navigation,
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2807
|
+
ln as NavigationBar,
|
|
2808
|
+
zo as NestedFormGroup,
|
|
2809
|
+
En as Pagination,
|
|
2810
|
+
Wo as PaginationContainer,
|
|
2811
|
+
Wt as Placeholder,
|
|
2812
|
+
zt as ProgressIndicator,
|
|
2813
|
+
Yo as Stepper,
|
|
2814
|
+
pt as TableCaption,
|
|
2815
|
+
Lo as defaultFilledColors,
|
|
2816
|
+
Ko as formatBytes,
|
|
2817
|
+
he as meterColor,
|
|
2804
2818
|
xe as testIds
|
|
2805
2819
|
};
|