@devtron-labs/devtron-fe-common-lib 1.3.10 → 1.3.11-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DNiZhAtJ.js → @code-editor-Df25qlGt.js} +5339 -5318
- package/dist/{@common-rjsf-mIpavv9z.js → @common-rjsf-DwdQcbfL.js} +2 -2
- package/dist/{@framer-motion-CFzS2_A_.js → @framer-motion-BxQTtYmm.js} +1 -1
- package/dist/{@react-dates-C-VeMZT9.js → @react-dates-M_eJUVeH.js} +1 -1
- package/dist/{@react-select-S88iwOBa.js → @react-select-CywptBlV.js} +230 -219
- package/dist/{@vendor-RA_nL1Ml.js → @vendor-QI4m26H1.js} +6108 -6024
- package/dist/Common/Constants.d.ts +2 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +8 -6
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/common.d.ts +4 -2
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +8 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-upload-arrow-animated.47c08ddc.svg +1 -0
- package/dist/index.js +339 -338
- package/package.json +4 -2
- package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/index.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/types.d.ts +0 -12
- package/dist/assets/ic-clear-square.e60de021.svg +0 -8
- package/dist/assets/ic-cloud-upload.18066e05.svg +0 -3
@@ -1,19 +1,19 @@
|
|
1
|
-
import { aI as
|
1
|
+
import { aI as xt, aJ as Bt, aK as Ft, aL as v, aM as U, aN as xe, ay as re, aO as h, aG as f, aP as Y, aQ as Vt, aR as Ue, aS as Et, aT as yt, aU as Wt, aV as Xt, aW as Zt, aX as ne } from "./@vendor-QI4m26H1.js";
|
2
2
|
import * as y from "react";
|
3
|
-
import { useContext as
|
4
|
-
import { createPortal as
|
5
|
-
var
|
3
|
+
import { useContext as Nt, useRef as j, useState as ee, createContext as St, useMemo as q, useCallback as D, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
|
4
|
+
import { createPortal as Tt } from "react-dom";
|
5
|
+
var Dt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], de = function() {
|
6
6
|
};
|
7
|
-
function
|
7
|
+
function Pt(a, t) {
|
8
8
|
return t ? t[0] === "-" ? a + t : a + "__" + t : a;
|
9
9
|
}
|
10
|
-
function
|
10
|
+
function Lt(a, t) {
|
11
11
|
for (var i = arguments.length, n = new Array(i > 2 ? i - 2 : 0), e = 2; e < i; e++)
|
12
12
|
n[e - 2] = arguments[e];
|
13
13
|
var o = [].concat(n);
|
14
14
|
if (t && a)
|
15
15
|
for (var r in t)
|
16
|
-
t.hasOwnProperty(r) && t[r] && o.push("".concat(
|
16
|
+
t.hasOwnProperty(r) && t[r] && o.push("".concat(Pt(a, r)));
|
17
17
|
return o.filter(function(s) {
|
18
18
|
return s;
|
19
19
|
}).map(function(s) {
|
@@ -21,10 +21,10 @@ function Pt(a, t) {
|
|
21
21
|
}).join(" ");
|
22
22
|
}
|
23
23
|
var ge = function(t) {
|
24
|
-
return
|
25
|
-
},
|
24
|
+
return Ut(t) ? t.filter(Boolean) : xt(t) === "object" && t !== null ? [t] : [];
|
25
|
+
}, $e = function(t) {
|
26
26
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
27
|
-
var i = Y(t,
|
27
|
+
var i = Y(t, Dt);
|
28
28
|
return v({}, i);
|
29
29
|
}, N = function(t, i, n) {
|
30
30
|
var e = t.cx, o = t.getStyles, r = t.getClassNames, s = t.className;
|
@@ -36,10 +36,10 @@ var ge = function(t) {
|
|
36
36
|
function pe(a) {
|
37
37
|
return [document.documentElement, document.body, window].indexOf(a) > -1;
|
38
38
|
}
|
39
|
-
function
|
39
|
+
function wt(a) {
|
40
40
|
return pe(a) ? window.innerHeight : a.clientHeight;
|
41
41
|
}
|
42
|
-
function
|
42
|
+
function Ke(a) {
|
43
43
|
return pe(a) ? window.pageYOffset : a.scrollTop;
|
44
44
|
}
|
45
45
|
function be(a, t) {
|
@@ -49,7 +49,7 @@ function be(a, t) {
|
|
49
49
|
}
|
50
50
|
a.scrollTop = t;
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Mt(a) {
|
53
53
|
var t = getComputedStyle(a), i = t.position === "absolute", n = /(auto|scroll)/;
|
54
54
|
if (t.position === "fixed") return document.documentElement;
|
55
55
|
for (var e = a; e = e.parentElement; )
|
@@ -57,14 +57,14 @@ function wt(a) {
|
|
57
57
|
return e;
|
58
58
|
return document.documentElement;
|
59
59
|
}
|
60
|
-
function
|
60
|
+
function Ot(a, t, i, n) {
|
61
61
|
return i * ((a = a / n - 1) * a * a + 1) + t;
|
62
62
|
}
|
63
63
|
function le(a, t) {
|
64
|
-
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : de, e =
|
64
|
+
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : de, e = Ke(a), o = t - e, r = 10, s = 0;
|
65
65
|
function u() {
|
66
66
|
s += r;
|
67
|
-
var l =
|
67
|
+
var l = Ot(s, e, o, i);
|
68
68
|
be(a, l), s < i ? window.requestAnimationFrame(u) : n(a);
|
69
69
|
}
|
70
70
|
u();
|
@@ -73,7 +73,7 @@ function Ze(a, t) {
|
|
73
73
|
var i = a.getBoundingClientRect(), n = t.getBoundingClientRect(), e = t.offsetHeight / 3;
|
74
74
|
n.bottom + e > i.bottom ? be(a, Math.min(t.offsetTop + t.clientHeight - a.offsetHeight + e, a.scrollHeight)) : n.top - e < i.top && be(a, Math.max(t.offsetTop - e, 0));
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function Jt(a) {
|
77
77
|
var t = a.getBoundingClientRect();
|
78
78
|
return {
|
79
79
|
bottom: t.bottom,
|
@@ -91,30 +91,30 @@ function Ne() {
|
|
91
91
|
return !1;
|
92
92
|
}
|
93
93
|
}
|
94
|
-
function
|
94
|
+
function Yt() {
|
95
95
|
try {
|
96
96
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
97
97
|
} catch {
|
98
98
|
return !1;
|
99
99
|
}
|
100
100
|
}
|
101
|
-
var
|
101
|
+
var _e = !1, kt = {
|
102
102
|
get passive() {
|
103
|
-
return
|
103
|
+
return _e = !0;
|
104
104
|
}
|
105
105
|
}, se = typeof window < "u" ? window : {};
|
106
|
-
se.addEventListener && se.removeEventListener && (se.addEventListener("p", de,
|
107
|
-
var
|
108
|
-
function
|
106
|
+
se.addEventListener && se.removeEventListener && (se.addEventListener("p", de, kt), se.removeEventListener("p", de, !1));
|
107
|
+
var zt = _e;
|
108
|
+
function jt(a) {
|
109
109
|
return a != null;
|
110
110
|
}
|
111
|
-
function
|
111
|
+
function Ut(a) {
|
112
112
|
return Array.isArray(a);
|
113
113
|
}
|
114
114
|
function ie(a, t, i) {
|
115
115
|
return a ? t : i;
|
116
116
|
}
|
117
|
-
var
|
117
|
+
var Qt = function(t) {
|
118
118
|
for (var i = arguments.length, n = new Array(i > 1 ? i - 1 : 0), e = 1; e < i; e++)
|
119
119
|
n[e - 1] = arguments[e];
|
120
120
|
var o = Object.entries(t).filter(function(r) {
|
@@ -125,14 +125,14 @@ var Ut = function(t) {
|
|
125
125
|
var u = U(s, 2), l = u[0], c = u[1];
|
126
126
|
return r[l] = c, r;
|
127
127
|
}, {});
|
128
|
-
},
|
129
|
-
function
|
130
|
-
var t = a.maxHeight, i = a.menuEl, n = a.minHeight, e = a.placement, o = a.shouldScroll, r = a.isFixedPosition, s = a.controlHeight, u =
|
128
|
+
}, $t = ["children", "innerProps"], Kt = ["children", "innerProps"];
|
129
|
+
function _t(a) {
|
130
|
+
var t = a.maxHeight, i = a.menuEl, n = a.minHeight, e = a.placement, o = a.shouldScroll, r = a.isFixedPosition, s = a.controlHeight, u = Mt(i), l = {
|
131
131
|
placement: "bottom",
|
132
132
|
maxHeight: t
|
133
133
|
};
|
134
134
|
if (!i || !i.offsetParent) return l;
|
135
|
-
var c = u.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, C = b.height, p = b.top, g = i.offsetParent.getBoundingClientRect(), m = g.top, B = r ? window.innerHeight :
|
135
|
+
var c = u.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, C = b.height, p = b.top, g = i.offsetParent.getBoundingClientRect(), m = g.top, B = r ? window.innerHeight : wt(u), x = Ke(u), G = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), E = m - V, F = B - p, A = E + x, W = d - x - p, H = I - B + x + G, T = x + p - V, X = 160;
|
136
136
|
switch (e) {
|
137
137
|
case "auto":
|
138
138
|
case "bottom":
|
@@ -194,32 +194,32 @@ function Kt(a) {
|
|
194
194
|
}
|
195
195
|
return l;
|
196
196
|
}
|
197
|
-
function
|
197
|
+
function qt(a) {
|
198
198
|
var t = {
|
199
199
|
bottom: "top",
|
200
200
|
top: "bottom"
|
201
201
|
};
|
202
202
|
return a ? t[a] : "bottom";
|
203
203
|
}
|
204
|
-
var
|
204
|
+
var qe = function(t) {
|
205
205
|
return t === "auto" ? "bottom" : t;
|
206
|
-
},
|
206
|
+
}, en = function(t, i) {
|
207
207
|
var n, e = t.placement, o = t.theme, r = o.borderRadius, s = o.spacing, u = o.colors;
|
208
208
|
return v((n = {
|
209
209
|
label: "menu"
|
210
|
-
}, re(n,
|
210
|
+
}, re(n, qt(e), "100%"), re(n, "position", "absolute"), re(n, "width", "100%"), re(n, "zIndex", 1), n), i ? {} : {
|
211
211
|
backgroundColor: u.neutral0,
|
212
212
|
borderRadius: r,
|
213
213
|
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
214
214
|
marginBottom: s.menuGutter,
|
215
215
|
marginTop: s.menuGutter
|
216
216
|
});
|
217
|
-
},
|
218
|
-
var i = t.children, n = t.minMenuHeight, e = t.maxMenuHeight, o = t.menuPlacement, r = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, l =
|
217
|
+
}, et = /* @__PURE__ */ St(null), tn = function(t) {
|
218
|
+
var i = t.children, n = t.minMenuHeight, e = t.maxMenuHeight, o = t.menuPlacement, r = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, l = Nt(et) || {}, c = l.setPortalPlacement, d = j(null), b = ee(e), I = U(b, 2), C = I[0], p = I[1], g = ee(null), m = U(g, 2), B = m[0], x = m[1], G = u.spacing.controlHeight;
|
219
219
|
return xe(function() {
|
220
220
|
var V = d.current;
|
221
221
|
if (V) {
|
222
|
-
var E = r === "fixed", F = s && !E, A =
|
222
|
+
var E = r === "fixed", F = s && !E, A = _t({
|
223
223
|
maxHeight: e,
|
224
224
|
menuEl: V,
|
225
225
|
minHeight: n,
|
@@ -233,18 +233,18 @@ var _e = function(t) {
|
|
233
233
|
}, [e, o, r, s, n, c, G]), i({
|
234
234
|
ref: d,
|
235
235
|
placerProps: v(v({}, t), {}, {
|
236
|
-
placement: B ||
|
236
|
+
placement: B || qe(o),
|
237
237
|
maxHeight: C
|
238
238
|
})
|
239
239
|
});
|
240
|
-
},
|
240
|
+
}, nn = function(t) {
|
241
241
|
var i = t.children, n = t.innerRef, e = t.innerProps;
|
242
242
|
return h("div", f({}, N(t, "menu", {
|
243
243
|
menu: !0
|
244
244
|
}), {
|
245
245
|
ref: n
|
246
246
|
}, e), i);
|
247
|
-
},
|
247
|
+
}, un = nn, an = function(t, i) {
|
248
248
|
var n = t.maxHeight, e = t.theme.spacing.baseUnit;
|
249
249
|
return v({
|
250
250
|
maxHeight: n,
|
@@ -256,7 +256,7 @@ var _e = function(t) {
|
|
256
256
|
paddingBottom: e,
|
257
257
|
paddingTop: e
|
258
258
|
});
|
259
|
-
},
|
259
|
+
}, on = function(t) {
|
260
260
|
var i = t.children, n = t.innerProps, e = t.innerRef, o = t.isMulti;
|
261
261
|
return h("div", f({}, N(t, "menuList", {
|
262
262
|
"menu-list": !0,
|
@@ -264,7 +264,7 @@ var _e = function(t) {
|
|
264
264
|
}), {
|
265
265
|
ref: e
|
266
266
|
}, n), i);
|
267
|
-
},
|
267
|
+
}, tt = function(t, i) {
|
268
268
|
var n = t.theme, e = n.spacing.baseUnit, o = n.colors;
|
269
269
|
return v({
|
270
270
|
textAlign: "center"
|
@@ -272,8 +272,8 @@ var _e = function(t) {
|
|
272
272
|
color: o.neutral40,
|
273
273
|
padding: "".concat(e * 2, "px ").concat(e * 3, "px")
|
274
274
|
});
|
275
|
-
},
|
276
|
-
var i = t.children, n = i === void 0 ? "No options" : i, e = t.innerProps, o = Y(t,
|
275
|
+
}, rn = tt, ln = tt, sn = function(t) {
|
276
|
+
var i = t.children, n = i === void 0 ? "No options" : i, e = t.innerProps, o = Y(t, $t);
|
277
277
|
return h("div", f({}, N(v(v({}, o), {}, {
|
278
278
|
children: n,
|
279
279
|
innerProps: e
|
@@ -281,8 +281,8 @@ var _e = function(t) {
|
|
281
281
|
"menu-notice": !0,
|
282
282
|
"menu-notice--no-options": !0
|
283
283
|
}), e), n);
|
284
|
-
},
|
285
|
-
var i = t.children, n = i === void 0 ? "Loading..." : i, e = t.innerProps, o = Y(t,
|
284
|
+
}, cn = function(t) {
|
285
|
+
var i = t.children, n = i === void 0 ? "Loading..." : i, e = t.innerProps, o = Y(t, Kt);
|
286
286
|
return h("div", f({}, N(v(v({}, o), {}, {
|
287
287
|
children: n,
|
288
288
|
innerProps: e
|
@@ -290,7 +290,7 @@ var _e = function(t) {
|
|
290
290
|
"menu-notice": !0,
|
291
291
|
"menu-notice--loading": !0
|
292
292
|
}), e), n);
|
293
|
-
},
|
293
|
+
}, dn = function(t) {
|
294
294
|
var i = t.rect, n = t.offset, e = t.position;
|
295
295
|
return {
|
296
296
|
left: i.left,
|
@@ -299,14 +299,14 @@ var _e = function(t) {
|
|
299
299
|
width: i.width,
|
300
300
|
zIndex: 1
|
301
301
|
};
|
302
|
-
},
|
303
|
-
var i = t.appendTo, n = t.children, e = t.controlElement, o = t.innerProps, r = t.menuPlacement, s = t.menuPosition, u = j(null), l = j(null), c = ee(
|
302
|
+
}, gn = function(t) {
|
303
|
+
var i = t.appendTo, n = t.children, e = t.controlElement, o = t.innerProps, r = t.menuPlacement, s = t.menuPosition, u = j(null), l = j(null), c = ee(qe(r)), d = U(c, 2), b = d[0], I = d[1], C = q(function() {
|
304
304
|
return {
|
305
305
|
setPortalPlacement: I
|
306
306
|
};
|
307
307
|
}, []), p = ee(null), g = U(p, 2), m = g[0], B = g[1], x = D(function() {
|
308
308
|
if (e) {
|
309
|
-
var F =
|
309
|
+
var F = Jt(e), A = s === "fixed" ? 0 : window.pageYOffset, W = F[b] + A;
|
310
310
|
(W !== m?.offset || F.left !== m?.rect.left || F.width !== m?.rect.width) && B({
|
311
311
|
offset: W,
|
312
312
|
rect: F
|
@@ -317,7 +317,7 @@ var _e = function(t) {
|
|
317
317
|
x();
|
318
318
|
}, [x]);
|
319
319
|
var G = D(function() {
|
320
|
-
typeof l.current == "function" && (l.current(), l.current = null), e && u.current && (l.current =
|
320
|
+
typeof l.current == "function" && (l.current(), l.current = null), e && u.current && (l.current = Vt(e, u.current, x, {
|
321
321
|
elementResize: "ResizeObserver" in window
|
322
322
|
}));
|
323
323
|
}, [e, x]);
|
@@ -337,10 +337,10 @@ var _e = function(t) {
|
|
337
337
|
}), "menuPortal", {
|
338
338
|
"menu-portal": !0
|
339
339
|
}), o), n);
|
340
|
-
return h(
|
340
|
+
return h(et.Provider, {
|
341
341
|
value: C
|
342
|
-
}, i ? /* @__PURE__ */
|
343
|
-
},
|
342
|
+
}, i ? /* @__PURE__ */ Tt(E, i) : E);
|
343
|
+
}, bn = function(t) {
|
344
344
|
var i = t.isDisabled, n = t.isRtl;
|
345
345
|
return {
|
346
346
|
label: "container",
|
@@ -349,13 +349,13 @@ var _e = function(t) {
|
|
349
349
|
// cancel mouse events when disabled
|
350
350
|
position: "relative"
|
351
351
|
};
|
352
|
-
},
|
352
|
+
}, In = function(t) {
|
353
353
|
var i = t.children, n = t.innerProps, e = t.isDisabled, o = t.isRtl;
|
354
354
|
return h("div", f({}, N(t, "container", {
|
355
355
|
"--is-disabled": e,
|
356
356
|
"--is-rtl": o
|
357
357
|
}), n), i);
|
358
|
-
},
|
358
|
+
}, pn = function(t, i) {
|
359
359
|
var n = t.theme.spacing, e = t.isMulti, o = t.hasValue, r = t.selectProps.controlShouldRenderValue;
|
360
360
|
return v({
|
361
361
|
alignItems: "center",
|
@@ -368,60 +368,60 @@ var _e = function(t) {
|
|
368
368
|
}, i ? {} : {
|
369
369
|
padding: "".concat(n.baseUnit / 2, "px ").concat(n.baseUnit * 2, "px")
|
370
370
|
});
|
371
|
-
},
|
371
|
+
}, mn = function(t) {
|
372
372
|
var i = t.children, n = t.innerProps, e = t.isMulti, o = t.hasValue;
|
373
373
|
return h("div", f({}, N(t, "valueContainer", {
|
374
374
|
"value-container": !0,
|
375
375
|
"value-container--is-multi": e,
|
376
376
|
"value-container--has-value": o
|
377
377
|
}), n), i);
|
378
|
-
},
|
378
|
+
}, Cn = function() {
|
379
379
|
return {
|
380
380
|
alignItems: "center",
|
381
381
|
alignSelf: "stretch",
|
382
382
|
display: "flex",
|
383
383
|
flexShrink: 0
|
384
384
|
};
|
385
|
-
},
|
385
|
+
}, vn = function(t) {
|
386
386
|
var i = t.children, n = t.innerProps;
|
387
387
|
return h("div", f({}, N(t, "indicatorsContainer", {
|
388
388
|
indicators: !0
|
389
389
|
}), n), i);
|
390
|
-
}, Se,
|
391
|
-
function
|
390
|
+
}, Se, hn = ["size"], fn = ["innerProps", "isRtl", "size"];
|
391
|
+
function An() {
|
392
392
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
393
393
|
}
|
394
|
-
var
|
394
|
+
var Gn = process.env.NODE_ENV === "production" ? {
|
395
395
|
name: "8mmkcg",
|
396
396
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
|
397
397
|
} : {
|
398
398
|
name: "tj5bde-Svg",
|
399
399
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
400
400
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT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jb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",
|
401
|
-
toString:
|
402
|
-
},
|
403
|
-
var i = t.size, n = Y(t,
|
401
|
+
toString: An
|
402
|
+
}, nt = function(t) {
|
403
|
+
var i = t.size, n = Y(t, hn);
|
404
404
|
return h("svg", f({
|
405
405
|
height: i,
|
406
406
|
width: i,
|
407
407
|
viewBox: "0 0 20 20",
|
408
408
|
"aria-hidden": "true",
|
409
409
|
focusable: "false",
|
410
|
-
css:
|
410
|
+
css: Gn
|
411
411
|
}, n));
|
412
412
|
}, Ve = function(t) {
|
413
|
-
return h(
|
413
|
+
return h(nt, f({
|
414
414
|
size: 20
|
415
415
|
}, t), h("path", {
|
416
416
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
417
417
|
}));
|
418
|
-
},
|
419
|
-
return h(
|
418
|
+
}, ut = function(t) {
|
419
|
+
return h(nt, f({
|
420
420
|
size: 20
|
421
421
|
}, t), h("path", {
|
422
422
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
423
423
|
}));
|
424
|
-
},
|
424
|
+
}, it = function(t, i) {
|
425
425
|
var n = t.isFocused, e = t.theme, o = e.spacing.baseUnit, r = e.colors;
|
426
426
|
return v({
|
427
427
|
label: "indicatorContainer",
|
@@ -434,19 +434,19 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
434
434
|
color: n ? r.neutral80 : r.neutral40
|
435
435
|
}
|
436
436
|
});
|
437
|
-
},
|
437
|
+
}, xn = it, Bn = function(t) {
|
438
438
|
var i = t.children, n = t.innerProps;
|
439
439
|
return h("div", f({}, N(t, "dropdownIndicator", {
|
440
440
|
indicator: !0,
|
441
441
|
"dropdown-indicator": !0
|
442
|
-
}), n), i || h(
|
443
|
-
},
|
442
|
+
}), n), i || h(ut, null));
|
443
|
+
}, Fn = it, Vn = function(t) {
|
444
444
|
var i = t.children, n = t.innerProps;
|
445
445
|
return h("div", f({}, N(t, "clearIndicator", {
|
446
446
|
indicator: !0,
|
447
447
|
"clear-indicator": !0
|
448
448
|
}), n), i || h(Ve, null));
|
449
|
-
},
|
449
|
+
}, En = function(t, i) {
|
450
450
|
var n = t.isDisabled, e = t.theme, o = e.spacing.baseUnit, r = e.colors;
|
451
451
|
return v({
|
452
452
|
label: "indicatorSeparator",
|
@@ -457,15 +457,15 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
457
457
|
marginBottom: o * 2,
|
458
458
|
marginTop: o * 2
|
459
459
|
});
|
460
|
-
},
|
460
|
+
}, yn = function(t) {
|
461
461
|
var i = t.innerProps;
|
462
462
|
return h("span", f({}, i, N(t, "indicatorSeparator", {
|
463
463
|
"indicator-separator": !0
|
464
464
|
})));
|
465
|
-
},
|
465
|
+
}, Wn = Bt(Se || (Se = Ft([`
|
466
466
|
0%, 80%, 100% { opacity: 0; }
|
467
467
|
40% { opacity: 1; }
|
468
|
-
`]))),
|
468
|
+
`]))), Xn = function(t, i) {
|
469
469
|
var n = t.isFocused, e = t.size, o = t.theme, r = o.colors, s = o.spacing.baseUnit;
|
470
470
|
return v({
|
471
471
|
label: "loadingIndicator",
|
@@ -484,8 +484,8 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
484
484
|
}, me = function(t) {
|
485
485
|
var i = t.delay, n = t.offset;
|
486
486
|
return h("span", {
|
487
|
-
css: /* @__PURE__ */
|
488
|
-
animation: "".concat(
|
487
|
+
css: /* @__PURE__ */ Ue({
|
488
|
+
animation: "".concat(Wn, " 1s ease-in-out ").concat(i, "ms infinite;"),
|
489
489
|
backgroundColor: "currentColor",
|
490
490
|
borderRadius: "1em",
|
491
491
|
display: "inline-block",
|
@@ -495,8 +495,8 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
495
495
|
width: "1em"
|
496
496
|
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAg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FxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")
|
497
497
|
});
|
498
|
-
},
|
499
|
-
var i = t.innerProps, n = t.isRtl, e = t.size, o = e === void 0 ? 4 : e, r = Y(t,
|
498
|
+
}, Zn = function(t) {
|
499
|
+
var i = t.innerProps, n = t.isRtl, e = t.size, o = e === void 0 ? 4 : e, r = Y(t, fn);
|
500
500
|
return h("div", f({}, N(v(v({}, r), {}, {
|
501
501
|
innerProps: i,
|
502
502
|
isRtl: n,
|
@@ -514,7 +514,7 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
514
514
|
delay: 320,
|
515
515
|
offset: !n
|
516
516
|
}));
|
517
|
-
},
|
517
|
+
}, Nn = function(t, i) {
|
518
518
|
var n = t.isDisabled, e = t.isFocused, o = t.theme, r = o.colors, s = o.borderRadius, u = o.spacing;
|
519
519
|
return v({
|
520
520
|
label: "control",
|
@@ -538,7 +538,7 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
538
538
|
borderColor: e ? r.primary : r.neutral30
|
539
539
|
}
|
540
540
|
});
|
541
|
-
},
|
541
|
+
}, Sn = function(t) {
|
542
542
|
var i = t.children, n = t.isDisabled, e = t.isFocused, o = t.innerRef, r = t.innerProps, s = t.menuIsOpen;
|
543
543
|
return h("div", f({
|
544
544
|
ref: o
|
@@ -550,13 +550,13 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
550
550
|
}), r, {
|
551
551
|
"aria-disabled": n || void 0
|
552
552
|
}), i);
|
553
|
-
},
|
553
|
+
}, Rn = Sn, Hn = ["data"], Tn = function(t, i) {
|
554
554
|
var n = t.theme.spacing;
|
555
555
|
return i ? {} : {
|
556
556
|
paddingBottom: n.baseUnit * 2,
|
557
557
|
paddingTop: n.baseUnit * 2
|
558
558
|
};
|
559
|
-
},
|
559
|
+
}, Dn = function(t) {
|
560
560
|
var i = t.children, n = t.cx, e = t.getStyles, o = t.getClassNames, r = t.Heading, s = t.headingProps, u = t.innerProps, l = t.label, c = t.theme, d = t.selectProps;
|
561
561
|
return h("div", f({}, N(t, "group", {
|
562
562
|
group: !0
|
@@ -567,7 +567,7 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
567
567
|
getClassNames: o,
|
568
568
|
cx: n
|
569
569
|
}), l), h("div", null, i));
|
570
|
-
},
|
570
|
+
}, Pn = function(t, i) {
|
571
571
|
var n = t.theme, e = n.colors, o = n.spacing;
|
572
572
|
return v({
|
573
573
|
label: "group",
|
@@ -582,27 +582,27 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
582
582
|
paddingRight: o.baseUnit * 3,
|
583
583
|
textTransform: "uppercase"
|
584
584
|
});
|
585
|
-
},
|
586
|
-
var i =
|
585
|
+
}, Ln = function(t) {
|
586
|
+
var i = $e(t);
|
587
587
|
i.data;
|
588
|
-
var n = Y(i,
|
588
|
+
var n = Y(i, Hn);
|
589
589
|
return h("div", f({}, N(t, "groupHeading", {
|
590
590
|
"group-heading": !0
|
591
591
|
}), n));
|
592
|
-
},
|
592
|
+
}, wn = Dn, Mn = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"], On = function(t, i) {
|
593
593
|
var n = t.isDisabled, e = t.value, o = t.theme, r = o.spacing, s = o.colors;
|
594
594
|
return v(v({
|
595
595
|
visibility: n ? "hidden" : "visible",
|
596
596
|
// force css to recompute when value change due to @emotion bug.
|
597
597
|
// We can remove it whenever the bug is fixed.
|
598
598
|
transform: e ? "translateZ(0)" : ""
|
599
|
-
},
|
599
|
+
}, Jn), i ? {} : {
|
600
600
|
margin: r.baseUnit / 2,
|
601
601
|
paddingBottom: r.baseUnit / 2,
|
602
602
|
paddingTop: r.baseUnit / 2,
|
603
603
|
color: s.neutral80
|
604
604
|
});
|
605
|
-
},
|
605
|
+
}, at = {
|
606
606
|
gridArea: "1 / 2",
|
607
607
|
font: "inherit",
|
608
608
|
minWidth: "2px",
|
@@ -610,7 +610,7 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
610
610
|
margin: 0,
|
611
611
|
outline: 0,
|
612
612
|
padding: 0
|
613
|
-
},
|
613
|
+
}, Jn = {
|
614
614
|
flex: "1 1 auto",
|
615
615
|
display: "inline-grid",
|
616
616
|
gridArea: "1 / 1 / 2 / 3",
|
@@ -619,29 +619,40 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
619
619
|
content: 'attr(data-value) " "',
|
620
620
|
visibility: "hidden",
|
621
621
|
whiteSpace: "pre"
|
622
|
-
},
|
623
|
-
},
|
622
|
+
}, at)
|
623
|
+
}, Re = function(t) {
|
624
624
|
return v({
|
625
625
|
label: "input",
|
626
626
|
color: "inherit",
|
627
627
|
background: 0,
|
628
628
|
opacity: t ? 0 : 1,
|
629
629
|
width: "100%"
|
630
|
-
},
|
630
|
+
}, at);
|
631
631
|
}, Yn = function(t) {
|
632
|
-
var i = t.cx, n = t.value, e =
|
632
|
+
var i = t.cx, n = t.value, e = $e(t), o = e.innerRef, r = e.isDisabled, s = e.isHidden, u = e.isTextArea, l = e.inputClassName, c = Y(e, Mn);
|
633
633
|
return h("div", f({}, N(t, "input", {
|
634
634
|
"input-container": !0
|
635
635
|
}), {
|
636
636
|
"data-value": n || ""
|
637
|
-
}), h("
|
637
|
+
}), u ? h("textarea", f({
|
638
|
+
className: i({
|
639
|
+
input: !0
|
640
|
+
}, l),
|
641
|
+
ref: o,
|
642
|
+
style: v(v({}, Re(s)), {}, {
|
643
|
+
resize: "none"
|
644
|
+
}),
|
645
|
+
disabled: r
|
646
|
+
}, c, {
|
647
|
+
rows: 1
|
648
|
+
})) : h("input", f({
|
638
649
|
className: i({
|
639
650
|
input: !0
|
640
|
-
},
|
651
|
+
}, l),
|
641
652
|
ref: o,
|
642
|
-
style:
|
653
|
+
style: Re(s),
|
643
654
|
disabled: r
|
644
|
-
},
|
655
|
+
}, c)));
|
645
656
|
}, kn = Yn, zn = function(t, i) {
|
646
657
|
var n = t.theme, e = n.spacing, o = n.borderRadius, r = n.colors;
|
647
658
|
return v({
|
@@ -681,10 +692,10 @@ var An = process.env.NODE_ENV === "production" ? {
|
|
681
692
|
color: r.danger
|
682
693
|
}
|
683
694
|
});
|
684
|
-
},
|
695
|
+
}, ot = function(t) {
|
685
696
|
var i = t.children, n = t.innerProps;
|
686
697
|
return h("div", n, i);
|
687
|
-
}, Qn =
|
698
|
+
}, Qn = ot, $n = ot;
|
688
699
|
function Kn(a) {
|
689
700
|
var t = a.children, i = a.innerProps;
|
690
701
|
return h("div", f({
|
@@ -783,31 +794,31 @@ var _n = function(t) {
|
|
783
794
|
"single-value--is-disabled": n
|
784
795
|
}), e), i);
|
785
796
|
}, lu = ru, su = {
|
786
|
-
ClearIndicator:
|
787
|
-
Control:
|
788
|
-
DropdownIndicator:
|
789
|
-
DownChevron:
|
797
|
+
ClearIndicator: Vn,
|
798
|
+
Control: Rn,
|
799
|
+
DropdownIndicator: Bn,
|
800
|
+
DownChevron: ut,
|
790
801
|
CrossIcon: Ve,
|
791
|
-
Group:
|
792
|
-
GroupHeading:
|
793
|
-
IndicatorsContainer:
|
794
|
-
IndicatorSeparator:
|
802
|
+
Group: wn,
|
803
|
+
GroupHeading: Ln,
|
804
|
+
IndicatorsContainer: vn,
|
805
|
+
IndicatorSeparator: yn,
|
795
806
|
Input: kn,
|
796
|
-
LoadingIndicator:
|
797
|
-
Menu:
|
798
|
-
MenuList:
|
799
|
-
MenuPortal:
|
800
|
-
LoadingMessage:
|
801
|
-
NoOptionsMessage:
|
807
|
+
LoadingIndicator: Zn,
|
808
|
+
Menu: un,
|
809
|
+
MenuList: on,
|
810
|
+
MenuPortal: gn,
|
811
|
+
LoadingMessage: cn,
|
812
|
+
NoOptionsMessage: sn,
|
802
813
|
MultiValue: qn,
|
803
814
|
MultiValueContainer: Qn,
|
804
815
|
MultiValueLabel: $n,
|
805
816
|
MultiValueRemove: Kn,
|
806
817
|
Option: nu,
|
807
818
|
Placeholder: au,
|
808
|
-
SelectContainer:
|
819
|
+
SelectContainer: In,
|
809
820
|
SingleValue: lu,
|
810
|
-
ValueContainer:
|
821
|
+
ValueContainer: mn
|
811
822
|
}, cu = function(t) {
|
812
823
|
return v(v({}, su), t.components);
|
813
824
|
};
|
@@ -826,7 +837,7 @@ var gu = process.env.NODE_ENV === "production" ? {
|
|
826
837
|
return h("span", f({
|
827
838
|
css: gu
|
828
839
|
}, t));
|
829
|
-
},
|
840
|
+
}, He = bu, Iu = {
|
830
841
|
guidance: function(t) {
|
831
842
|
var i = t.isSearchable, n = t.isMulti, e = t.tabSelectsValue, o = t.context, r = t.isInitialFocus;
|
832
843
|
switch (o) {
|
@@ -943,9 +954,9 @@ var gu = process.env.NODE_ENV === "production" ? {
|
|
943
954
|
}, T), h("span", {
|
944
955
|
id: "aria-guidance"
|
945
956
|
}, P));
|
946
|
-
return h(Be, null, h(
|
957
|
+
return h(Be, null, h(He, {
|
947
958
|
id: l
|
948
|
-
}, X && w), h(
|
959
|
+
}, X && w), h(He, {
|
949
960
|
"aria-live": F,
|
950
961
|
"aria-atomic": "false",
|
951
962
|
"aria-relevant": "additions text",
|
@@ -1205,15 +1216,15 @@ var gu = process.env.NODE_ENV === "production" ? {
|
|
1205
1216
|
letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
|
1206
1217
|
}], Cu = new RegExp("[" + Fe.map(function(a) {
|
1207
1218
|
return a.letters;
|
1208
|
-
}).join("") + "]", "g"),
|
1219
|
+
}).join("") + "]", "g"), rt = {};
|
1209
1220
|
for (var Ce = 0; Ce < Fe.length; Ce++)
|
1210
1221
|
for (var ve = Fe[Ce], he = 0; he < ve.letters.length; he++)
|
1211
|
-
|
1212
|
-
var
|
1222
|
+
rt[ve.letters[he]] = ve.base;
|
1223
|
+
var lt = function(t) {
|
1213
1224
|
return t.replace(Cu, function(i) {
|
1214
|
-
return
|
1225
|
+
return rt[i];
|
1215
1226
|
});
|
1216
|
-
}, vu =
|
1227
|
+
}, vu = Et(lt), Te = function(t) {
|
1217
1228
|
return t.replace(/^\s+|\s+$/g, "");
|
1218
1229
|
}, hu = function(t) {
|
1219
1230
|
return "".concat(t.label, " ").concat(t.value);
|
@@ -1226,16 +1237,16 @@ var rt = function(t) {
|
|
1226
1237
|
stringify: hu,
|
1227
1238
|
trim: !0,
|
1228
1239
|
matchFrom: "any"
|
1229
|
-
}, t), o = e.ignoreCase, r = e.ignoreAccents, s = e.stringify, u = e.trim, l = e.matchFrom, c = u ?
|
1230
|
-
return o && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = vu(c), d =
|
1240
|
+
}, t), o = e.ignoreCase, r = e.ignoreAccents, s = e.stringify, u = e.trim, l = e.matchFrom, c = u ? Te(n) : n, d = u ? Te(s(i)) : s(i);
|
1241
|
+
return o && (c = c.toLowerCase(), d = d.toLowerCase()), r && (c = vu(c), d = lt(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
|
1231
1242
|
};
|
1232
1243
|
}, Au = ["innerRef"];
|
1233
1244
|
function Gu(a) {
|
1234
|
-
var t = a.innerRef, i = Y(a, Au), n =
|
1245
|
+
var t = a.innerRef, i = Y(a, Au), n = Qt(i, "onExited", "in", "enter", "exit", "appear");
|
1235
1246
|
return h("input", f({
|
1236
1247
|
ref: t
|
1237
1248
|
}, n, {
|
1238
|
-
css: /* @__PURE__ */
|
1249
|
+
css: /* @__PURE__ */ Ue({
|
1239
1250
|
label: "dummyInput",
|
1240
1251
|
// get rid of any default styles
|
1241
1252
|
background: 0,
|
@@ -1276,7 +1287,7 @@ function Bu(a) {
|
|
1276
1287
|
c(g, m);
|
1277
1288
|
}, [c]), C = D(function(g) {
|
1278
1289
|
if (g) {
|
1279
|
-
var m =
|
1290
|
+
var m = zt ? {
|
1280
1291
|
passive: !1
|
1281
1292
|
} : !1;
|
1282
1293
|
g.addEventListener("wheel", d, m), g.addEventListener("touchstart", b, m), g.addEventListener("touchmove", I, m);
|
@@ -1284,7 +1295,7 @@ function Bu(a) {
|
|
1284
1295
|
}, [I, b, d]), p = D(function(g) {
|
1285
1296
|
g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", I, !1));
|
1286
1297
|
}, [I, b, d]);
|
1287
|
-
return
|
1298
|
+
return Qe(function() {
|
1288
1299
|
if (t) {
|
1289
1300
|
var g = l.current;
|
1290
1301
|
return C(g), function() {
|
@@ -1295,56 +1306,56 @@ function Bu(a) {
|
|
1295
1306
|
l.current = g;
|
1296
1307
|
};
|
1297
1308
|
}
|
1298
|
-
var
|
1309
|
+
var De = ["boxSizing", "height", "overflow", "paddingRight", "position"], Pe = {
|
1299
1310
|
boxSizing: "border-box",
|
1300
1311
|
// account for possible declaration `width: 100%;` on body
|
1301
1312
|
overflow: "hidden",
|
1302
1313
|
position: "relative",
|
1303
1314
|
height: "100%"
|
1304
1315
|
};
|
1305
|
-
function
|
1316
|
+
function Le(a) {
|
1306
1317
|
a.preventDefault();
|
1307
1318
|
}
|
1308
|
-
function
|
1319
|
+
function we(a) {
|
1309
1320
|
a.stopPropagation();
|
1310
1321
|
}
|
1311
|
-
function
|
1322
|
+
function Me() {
|
1312
1323
|
var a = this.scrollTop, t = this.scrollHeight, i = a + this.offsetHeight;
|
1313
1324
|
a === 0 ? this.scrollTop = 1 : i === t && (this.scrollTop = a - 1);
|
1314
1325
|
}
|
1315
|
-
function
|
1326
|
+
function Oe() {
|
1316
1327
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
1317
1328
|
}
|
1318
|
-
var
|
1329
|
+
var Je = !!(typeof window < "u" && window.document && window.document.createElement), ue = 0, te = {
|
1319
1330
|
capture: !1,
|
1320
1331
|
passive: !1
|
1321
1332
|
};
|
1322
1333
|
function Fu(a) {
|
1323
1334
|
var t = a.isEnabled, i = a.accountForScrollbars, n = i === void 0 ? !0 : i, e = j({}), o = j(null), r = D(function(u) {
|
1324
|
-
if (
|
1335
|
+
if (Je) {
|
1325
1336
|
var l = document.body, c = l && l.style;
|
1326
|
-
if (n &&
|
1337
|
+
if (n && De.forEach(function(C) {
|
1327
1338
|
var p = c && c[C];
|
1328
1339
|
e.current[C] = p;
|
1329
1340
|
}), n && ue < 1) {
|
1330
1341
|
var d = parseInt(e.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, I = window.innerWidth - b + d || 0;
|
1331
|
-
Object.keys(
|
1332
|
-
var p =
|
1342
|
+
Object.keys(Pe).forEach(function(C) {
|
1343
|
+
var p = Pe[C];
|
1333
1344
|
c && (c[C] = p);
|
1334
1345
|
}), c && (c.paddingRight = "".concat(I, "px"));
|
1335
1346
|
}
|
1336
|
-
l &&
|
1347
|
+
l && Oe() && (l.addEventListener("touchmove", Le, te), u && (u.addEventListener("touchstart", Me, te), u.addEventListener("touchmove", we, te))), ue += 1;
|
1337
1348
|
}
|
1338
1349
|
}, [n]), s = D(function(u) {
|
1339
|
-
if (
|
1350
|
+
if (Je) {
|
1340
1351
|
var l = document.body, c = l && l.style;
|
1341
|
-
ue = Math.max(ue - 1, 0), n && ue < 1 &&
|
1352
|
+
ue = Math.max(ue - 1, 0), n && ue < 1 && De.forEach(function(d) {
|
1342
1353
|
var b = e.current[d];
|
1343
1354
|
c && (c[d] = b);
|
1344
|
-
}), l &&
|
1355
|
+
}), l && Oe() && (l.removeEventListener("touchmove", Le, te), u && (u.removeEventListener("touchstart", Me, te), u.removeEventListener("touchmove", we, te)));
|
1345
1356
|
}
|
1346
1357
|
}, [n]);
|
1347
|
-
return
|
1358
|
+
return Qe(function() {
|
1348
1359
|
if (t) {
|
1349
1360
|
var u = o.current;
|
1350
1361
|
return r(u), function() {
|
@@ -1419,50 +1430,50 @@ function Ee(a) {
|
|
1419
1430
|
function Ru() {
|
1420
1431
|
return Ee(/^iPhone/i);
|
1421
1432
|
}
|
1422
|
-
function
|
1433
|
+
function st() {
|
1423
1434
|
return Ee(/^Mac/i);
|
1424
1435
|
}
|
1425
1436
|
function Hu() {
|
1426
1437
|
return Ee(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
1427
|
-
|
1438
|
+
st() && navigator.maxTouchPoints > 1;
|
1428
1439
|
}
|
1429
1440
|
function Tu() {
|
1430
1441
|
return Ru() || Hu();
|
1431
1442
|
}
|
1432
1443
|
function Du() {
|
1433
|
-
return
|
1444
|
+
return st() || Tu();
|
1434
1445
|
}
|
1435
1446
|
var Pu = function(t) {
|
1436
1447
|
return t.label;
|
1437
|
-
}, st = function(t) {
|
1438
|
-
return t.label;
|
1439
1448
|
}, ct = function(t) {
|
1449
|
+
return t.label;
|
1450
|
+
}, dt = function(t) {
|
1440
1451
|
return t.value;
|
1441
1452
|
}, Lu = function(t) {
|
1442
1453
|
return !!t.isDisabled;
|
1443
1454
|
}, wu = {
|
1444
|
-
clearIndicator:
|
1445
|
-
container:
|
1446
|
-
control:
|
1447
|
-
dropdownIndicator:
|
1448
|
-
group:
|
1449
|
-
groupHeading:
|
1450
|
-
indicatorsContainer:
|
1451
|
-
indicatorSeparator:
|
1452
|
-
input:
|
1453
|
-
loadingIndicator:
|
1454
|
-
loadingMessage:
|
1455
|
-
menu:
|
1456
|
-
menuList:
|
1457
|
-
menuPortal:
|
1455
|
+
clearIndicator: Fn,
|
1456
|
+
container: bn,
|
1457
|
+
control: Nn,
|
1458
|
+
dropdownIndicator: xn,
|
1459
|
+
group: Tn,
|
1460
|
+
groupHeading: Pn,
|
1461
|
+
indicatorsContainer: Cn,
|
1462
|
+
indicatorSeparator: En,
|
1463
|
+
input: On,
|
1464
|
+
loadingIndicator: Xn,
|
1465
|
+
loadingMessage: ln,
|
1466
|
+
menu: en,
|
1467
|
+
menuList: an,
|
1468
|
+
menuPortal: dn,
|
1458
1469
|
multiValue: zn,
|
1459
1470
|
multiValueLabel: jn,
|
1460
1471
|
multiValueRemove: Un,
|
1461
|
-
noOptionsMessage:
|
1472
|
+
noOptionsMessage: rn,
|
1462
1473
|
option: eu,
|
1463
1474
|
placeholder: uu,
|
1464
1475
|
singleValue: ou,
|
1465
|
-
valueContainer:
|
1476
|
+
valueContainer: pn
|
1466
1477
|
}, Mu = {
|
1467
1478
|
primary: "#2684FF",
|
1468
1479
|
primary75: "#4C9AFF",
|
@@ -1481,8 +1492,8 @@ var Pu = function(t) {
|
|
1481
1492
|
neutral70: "hsl(0, 0%, 30%)",
|
1482
1493
|
neutral80: "hsl(0, 0%, 20%)",
|
1483
1494
|
neutral90: "hsl(0, 0%, 10%)"
|
1484
|
-
}, Ou = 4,
|
1485
|
-
baseUnit:
|
1495
|
+
}, Ou = 4, gt = 4, Ju = 38, Yu = gt * 2, ku = {
|
1496
|
+
baseUnit: gt,
|
1486
1497
|
controlHeight: Ju,
|
1487
1498
|
menuGutter: Yu
|
1488
1499
|
}, fe = {
|
@@ -1502,8 +1513,8 @@ var Pu = function(t) {
|
|
1502
1513
|
escapeClearsValue: !1,
|
1503
1514
|
filterOption: fu(),
|
1504
1515
|
formatGroupLabel: Pu,
|
1505
|
-
getOptionLabel:
|
1506
|
-
getOptionValue:
|
1516
|
+
getOptionLabel: ct,
|
1517
|
+
getOptionValue: dt,
|
1507
1518
|
isDisabled: !1,
|
1508
1519
|
isLoading: !1,
|
1509
1520
|
isMulti: !1,
|
@@ -1519,7 +1530,7 @@ var Pu = function(t) {
|
|
1519
1530
|
menuPlacement: "bottom",
|
1520
1531
|
menuPosition: "absolute",
|
1521
1532
|
menuShouldBlockScroll: !1,
|
1522
|
-
menuShouldScrollIntoView: !
|
1533
|
+
menuShouldScrollIntoView: !Yt(),
|
1523
1534
|
noOptionsMessage: function() {
|
1524
1535
|
return "No options";
|
1525
1536
|
},
|
@@ -1537,8 +1548,8 @@ var Pu = function(t) {
|
|
1537
1548
|
tabSelectsValue: !0,
|
1538
1549
|
unstyled: !1
|
1539
1550
|
};
|
1540
|
-
function
|
1541
|
-
var e =
|
1551
|
+
function Ye(a, t, i, n) {
|
1552
|
+
var e = pt(a, t, i), o = mt(a, t, i), r = It(a, t), s = Ie(a, t);
|
1542
1553
|
return {
|
1543
1554
|
type: "option",
|
1544
1555
|
data: t,
|
@@ -1553,9 +1564,9 @@ function ce(a, t) {
|
|
1553
1564
|
return a.options.map(function(i, n) {
|
1554
1565
|
if ("options" in i) {
|
1555
1566
|
var e = i.options.map(function(r, s) {
|
1556
|
-
return
|
1567
|
+
return Ye(a, r, t, s);
|
1557
1568
|
}).filter(function(r) {
|
1558
|
-
return
|
1569
|
+
return ze(a, r);
|
1559
1570
|
});
|
1560
1571
|
return e.length > 0 ? {
|
1561
1572
|
type: "group",
|
@@ -1564,18 +1575,18 @@ function ce(a, t) {
|
|
1564
1575
|
index: n
|
1565
1576
|
} : void 0;
|
1566
1577
|
}
|
1567
|
-
var o =
|
1568
|
-
return
|
1569
|
-
}).filter(
|
1578
|
+
var o = Ye(a, i, t, n);
|
1579
|
+
return ze(a, o) ? o : void 0;
|
1580
|
+
}).filter(jt);
|
1570
1581
|
}
|
1571
|
-
function
|
1582
|
+
function bt(a) {
|
1572
1583
|
return a.reduce(function(t, i) {
|
1573
1584
|
return i.type === "group" ? t.push.apply(t, ne(i.options.map(function(n) {
|
1574
1585
|
return n.data;
|
1575
1586
|
}))) : t.push(i.data), t;
|
1576
1587
|
}, []);
|
1577
1588
|
}
|
1578
|
-
function
|
1589
|
+
function ke(a, t) {
|
1579
1590
|
return a.reduce(function(i, n) {
|
1580
1591
|
return n.type === "group" ? i.push.apply(i, ne(n.options.map(function(e) {
|
1581
1592
|
return {
|
@@ -1589,11 +1600,11 @@ function Ye(a, t) {
|
|
1589
1600
|
}, []);
|
1590
1601
|
}
|
1591
1602
|
function ju(a, t) {
|
1592
|
-
return
|
1603
|
+
return bt(ce(a, t));
|
1593
1604
|
}
|
1594
|
-
function
|
1605
|
+
function ze(a, t) {
|
1595
1606
|
var i = a.inputValue, n = i === void 0 ? "" : i, e = t.data, o = t.isSelected, r = t.label, s = t.value;
|
1596
|
-
return (!
|
1607
|
+
return (!vt(a) || !o) && Ct(a, {
|
1597
1608
|
label: r,
|
1598
1609
|
value: s,
|
1599
1610
|
data: e
|
@@ -1619,15 +1630,15 @@ var Ae = function(t, i) {
|
|
1619
1630
|
return o.data === i;
|
1620
1631
|
})) === null || n === void 0 ? void 0 : n.id;
|
1621
1632
|
return e || null;
|
1622
|
-
},
|
1633
|
+
}, It = function(t, i) {
|
1623
1634
|
return t.getOptionLabel(i);
|
1624
1635
|
}, Ie = function(t, i) {
|
1625
1636
|
return t.getOptionValue(i);
|
1626
1637
|
};
|
1627
|
-
function
|
1638
|
+
function pt(a, t, i) {
|
1628
1639
|
return typeof a.isOptionDisabled == "function" ? a.isOptionDisabled(t, i) : !1;
|
1629
1640
|
}
|
1630
|
-
function
|
1641
|
+
function mt(a, t, i) {
|
1631
1642
|
if (i.indexOf(t) > -1) return !0;
|
1632
1643
|
if (typeof a.isOptionSelected == "function")
|
1633
1644
|
return a.isOptionSelected(t, i);
|
@@ -1636,18 +1647,18 @@ function pt(a, t, i) {
|
|
1636
1647
|
return Ie(a, e) === n;
|
1637
1648
|
});
|
1638
1649
|
}
|
1639
|
-
function
|
1650
|
+
function Ct(a, t, i) {
|
1640
1651
|
return a.filterOption ? a.filterOption(t, i) : !0;
|
1641
1652
|
}
|
1642
|
-
var
|
1653
|
+
var vt = function(t) {
|
1643
1654
|
var i = t.hideSelectedOptions, n = t.isMulti;
|
1644
1655
|
return i === void 0 ? n : i;
|
1645
|
-
}, $u = 1,
|
1646
|
-
|
1647
|
-
var t =
|
1656
|
+
}, $u = 1, ht = /* @__PURE__ */ function(a) {
|
1657
|
+
yt(i, a);
|
1658
|
+
var t = Wt(i);
|
1648
1659
|
function i(n) {
|
1649
1660
|
var e;
|
1650
|
-
if (
|
1661
|
+
if (Zt(this, i), e = t.call(this, n), e.state = {
|
1651
1662
|
ariaSelection: null,
|
1652
1663
|
focusedOption: null,
|
1653
1664
|
focusedOptionId: null,
|
@@ -1726,15 +1737,15 @@ var Ct = function(t) {
|
|
1726
1737
|
}, e.getFocusedOptionId = function(u) {
|
1727
1738
|
return Ae(e.state.focusableOptionsWithIds, u);
|
1728
1739
|
}, e.getFocusableOptionsWithIds = function() {
|
1729
|
-
return
|
1740
|
+
return ke(ce(e.props, e.state.selectValue), e.getElementId("option"));
|
1730
1741
|
}, e.getValue = function() {
|
1731
1742
|
return e.state.selectValue;
|
1732
1743
|
}, e.cx = function() {
|
1733
1744
|
for (var u = arguments.length, l = new Array(u), c = 0; c < u; c++)
|
1734
1745
|
l[c] = arguments[c];
|
1735
|
-
return
|
1746
|
+
return Lt.apply(void 0, [e.props.classNamePrefix].concat(l));
|
1736
1747
|
}, e.getOptionLabel = function(u) {
|
1737
|
-
return
|
1748
|
+
return It(e.props, u);
|
1738
1749
|
}, e.getOptionValue = function(u) {
|
1739
1750
|
return Ie(e.props, u);
|
1740
1751
|
}, e.getStyles = function(u, l) {
|
@@ -1754,7 +1765,7 @@ var Ct = function(t) {
|
|
1754
1765
|
}, e.getCategorizedOptions = function() {
|
1755
1766
|
return e.props.menuIsOpen ? e.buildCategorizedOptions() : [];
|
1756
1767
|
}, e.buildFocusableOptions = function() {
|
1757
|
-
return
|
1768
|
+
return bt(e.buildCategorizedOptions());
|
1758
1769
|
}, e.getFocusableOptions = function() {
|
1759
1770
|
return e.props.menuIsOpen ? e.buildFocusableOptions() : [];
|
1760
1771
|
}, e.ariaOnChange = function(u, l) {
|
@@ -1841,7 +1852,7 @@ var Ct = function(t) {
|
|
1841
1852
|
});
|
1842
1853
|
}
|
1843
1854
|
}, e.shouldHideSelectedOptions = function() {
|
1844
|
-
return
|
1855
|
+
return vt(e.props);
|
1845
1856
|
}, e.onValueInputFocus = function(u) {
|
1846
1857
|
u.preventDefault(), u.stopPropagation(), e.focus();
|
1847
1858
|
}, e.onKeyDown = function(u) {
|
@@ -1933,7 +1944,7 @@ var Ct = function(t) {
|
|
1933
1944
|
}
|
1934
1945
|
return e;
|
1935
1946
|
}
|
1936
|
-
return
|
1947
|
+
return Xt(i, [{
|
1937
1948
|
key: "componentDidMount",
|
1938
1949
|
value: function() {
|
1939
1950
|
this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && Ze(this.menuListRef, this.focusedOptionRef);
|
@@ -2097,17 +2108,17 @@ var Ct = function(t) {
|
|
2097
2108
|
}, {
|
2098
2109
|
key: "isOptionDisabled",
|
2099
2110
|
value: function(e, o) {
|
2100
|
-
return
|
2111
|
+
return pt(this.props, e, o);
|
2101
2112
|
}
|
2102
2113
|
}, {
|
2103
2114
|
key: "isOptionSelected",
|
2104
2115
|
value: function(e, o) {
|
2105
|
-
return
|
2116
|
+
return mt(this.props, e, o);
|
2106
2117
|
}
|
2107
2118
|
}, {
|
2108
2119
|
key: "filterOption",
|
2109
2120
|
value: function(e, o) {
|
2110
|
-
return
|
2121
|
+
return Ct(this.props, e, o);
|
2111
2122
|
}
|
2112
2123
|
}, {
|
2113
2124
|
key: "formatOptionLabel",
|
@@ -2328,13 +2339,13 @@ var Ct = function(t) {
|
|
2328
2339
|
var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, u = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, b = o.NoOptionsMessage, I = o.Option, C = this.commonProps, p = this.state.focusedOption, g = this.props, m = g.captureMenuScroll, B = g.inputValue, x = g.isLoading, G = g.loadingMessage, V = g.minMenuHeight, E = g.maxMenuHeight, F = g.menuIsOpen, A = g.menuPlacement, W = g.menuPosition, H = g.menuPortalTarget, T = g.menuShouldBlockScroll, X = g.menuShouldScrollIntoView, P = g.noOptionsMessage, w = g.onMenuScrollToTop, Z = g.onMenuScrollToBottom;
|
2329
2340
|
if (!F) return null;
|
2330
2341
|
var S = function(L, k) {
|
2331
|
-
var K = L.type, O = L.data, _ = L.isDisabled, z = L.isSelected, oe = L.label,
|
2342
|
+
var K = L.type, O = L.data, _ = L.isDisabled, z = L.isSelected, oe = L.label, ft = L.value, ye = p === O, We = _ ? void 0 : function() {
|
2332
2343
|
return e.onOptionHover(O);
|
2333
|
-
},
|
2344
|
+
}, At = _ ? void 0 : function() {
|
2334
2345
|
return e.selectOption(O);
|
2335
|
-
}, Xe = "".concat(e.getElementId("option"), "-").concat(k),
|
2346
|
+
}, Xe = "".concat(e.getElementId("option"), "-").concat(k), Gt = {
|
2336
2347
|
id: Xe,
|
2337
|
-
onClick:
|
2348
|
+
onClick: At,
|
2338
2349
|
onMouseMove: We,
|
2339
2350
|
onMouseOver: We,
|
2340
2351
|
tabIndex: -1,
|
@@ -2343,14 +2354,14 @@ var Ct = function(t) {
|
|
2343
2354
|
// is not supported on Apple devices
|
2344
2355
|
};
|
2345
2356
|
return /* @__PURE__ */ y.createElement(I, f({}, C, {
|
2346
|
-
innerProps:
|
2357
|
+
innerProps: Gt,
|
2347
2358
|
data: O,
|
2348
2359
|
isDisabled: _,
|
2349
2360
|
isSelected: z,
|
2350
2361
|
key: Xe,
|
2351
2362
|
label: oe,
|
2352
2363
|
type: K,
|
2353
|
-
value:
|
2364
|
+
value: ft,
|
2354
2365
|
isFocused: ye,
|
2355
2366
|
innerRef: ye ? e.getFocusedOptionRef : void 0
|
2356
2367
|
}), e.formatOptionLabel(L.data, "menu"));
|
@@ -2394,7 +2405,7 @@ var Ct = function(t) {
|
|
2394
2405
|
menuPlacement: A,
|
2395
2406
|
menuPosition: W,
|
2396
2407
|
menuShouldScrollIntoView: X
|
2397
|
-
}, ae = /* @__PURE__ */ y.createElement(
|
2408
|
+
}, ae = /* @__PURE__ */ y.createElement(tn, f({}, C, $), function(R) {
|
2398
2409
|
var L = R.ref, k = R.placerProps, K = k.placement, O = k.maxHeight;
|
2399
2410
|
return /* @__PURE__ */ y.createElement(u, f({}, C, $, {
|
2400
2411
|
innerRef: L,
|
@@ -2523,7 +2534,7 @@ var Ct = function(t) {
|
|
2523
2534
|
value: function(e, o) {
|
2524
2535
|
var r = o.prevProps, s = o.clearFocusValueOnUpdate, u = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, b = o.instancePrefix, I = e.options, C = e.value, p = e.menuIsOpen, g = e.inputValue, m = e.isMulti, B = ge(C), x = {};
|
2525
2536
|
if (r && (C !== r.value || I !== r.options || p !== r.menuIsOpen || g !== r.inputValue)) {
|
2526
|
-
var G = p ? ju(e, B) : [], V = p ?
|
2537
|
+
var G = p ? ju(e, B) : [], V = p ? ke(ce(e, B), "".concat(b, "-option")) : [], E = s ? Uu(o, B) : null, F = Qu(o, G), A = Ae(V, F);
|
2527
2538
|
x = {
|
2528
2539
|
selectValue: B,
|
2529
2540
|
focusedOption: F,
|
@@ -2548,8 +2559,8 @@ var Ct = function(t) {
|
|
2548
2559
|
});
|
2549
2560
|
}
|
2550
2561
|
}]), i;
|
2551
|
-
}(
|
2552
|
-
|
2562
|
+
}(Rt);
|
2563
|
+
ht.defaultProps = zu;
|
2553
2564
|
var Ku = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
2554
2565
|
function _u(a) {
|
2555
2566
|
var t = a.defaultInputValue, i = t === void 0 ? "" : t, n = a.defaultMenuIsOpen, e = n === void 0 ? !1 : n, o = a.defaultValue, r = o === void 0 ? null : o, s = a.inputValue, u = a.menuIsOpen, l = a.onChange, c = a.onInputChange, d = a.onMenuClose, b = a.onMenuOpen, I = a.value, C = Y(a, Ku), p = ee(s !== void 0 ? s : i), g = U(p, 2), m = g[0], B = g[1], x = ee(u !== void 0 ? u : e), G = U(x, 2), V = G[0], E = G[1], F = ee(I !== void 0 ? I : r), A = U(F, 2), W = A[0], H = A[1], T = D(function(M, Q) {
|
@@ -2572,7 +2583,7 @@ function _u(a) {
|
|
2572
2583
|
value: J
|
2573
2584
|
});
|
2574
2585
|
}
|
2575
|
-
var qu = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"],
|
2586
|
+
var qu = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], je = function() {
|
2576
2587
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 ? arguments[2] : void 0, e = String(t).toLowerCase(), o = String(n.getOptionValue(i)).toLowerCase(), r = String(n.getOptionLabel(i)).toLowerCase();
|
2577
2588
|
return o === e || r === e;
|
2578
2589
|
}, Ge = {
|
@@ -2581,9 +2592,9 @@ var qu = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
2581
2592
|
},
|
2582
2593
|
isValidNewOption: function(t, i, n, e) {
|
2583
2594
|
return !(!t || i.some(function(o) {
|
2584
|
-
return
|
2595
|
+
return je(t, o, e);
|
2585
2596
|
}) || n.some(function(o) {
|
2586
|
-
return
|
2597
|
+
return je(t, o, e);
|
2587
2598
|
}));
|
2588
2599
|
},
|
2589
2600
|
getNewOptionData: function(t, i) {
|
@@ -2595,7 +2606,7 @@ var qu = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
2595
2606
|
}
|
2596
2607
|
};
|
2597
2608
|
function ei(a) {
|
2598
|
-
var t = a.allowCreateWhileLoading, i = t === void 0 ? !1 : t, n = a.createOptionPosition, e = n === void 0 ? "last" : n, o = a.formatCreateLabel, r = o === void 0 ? Ge.formatCreateLabel : o, s = a.isValidNewOption, u = s === void 0 ? Ge.isValidNewOption : s, l = a.getNewOptionData, c = l === void 0 ? Ge.getNewOptionData : l, d = a.onCreateOption, b = a.options, I = b === void 0 ? [] : b, C = a.onChange, p = Y(a, qu), g = p.getOptionValue, m = g === void 0 ?
|
2609
|
+
var t = a.allowCreateWhileLoading, i = t === void 0 ? !1 : t, n = a.createOptionPosition, e = n === void 0 ? "last" : n, o = a.formatCreateLabel, r = o === void 0 ? Ge.formatCreateLabel : o, s = a.isValidNewOption, u = s === void 0 ? Ge.isValidNewOption : s, l = a.getNewOptionData, c = l === void 0 ? Ge.getNewOptionData : l, d = a.onCreateOption, b = a.options, I = b === void 0 ? [] : b, C = a.onChange, p = Y(a, qu), g = p.getOptionValue, m = g === void 0 ? dt : g, B = p.getOptionLabel, x = B === void 0 ? ct : B, G = p.inputValue, V = p.isLoading, E = p.isMulti, F = p.value, A = p.name, W = q(function() {
|
2599
2610
|
return u(G, ge(F), I, {
|
2600
2611
|
getOptionValue: m,
|
2601
2612
|
getOptionLabel: x
|
@@ -2625,9 +2636,9 @@ function ei(a) {
|
|
2625
2636
|
onChange: T
|
2626
2637
|
});
|
2627
2638
|
}
|
2628
|
-
var ti = /* @__PURE__ */
|
2639
|
+
var ti = /* @__PURE__ */ Ht(function(a, t) {
|
2629
2640
|
var i = _u(a), n = ei(i);
|
2630
|
-
return /* @__PURE__ */ y.createElement(
|
2641
|
+
return /* @__PURE__ */ y.createElement(ht, f({
|
2631
2642
|
ref: t
|
2632
2643
|
}, n));
|
2633
2644
|
}), ai = ti;
|