@vention/machine-ui 5.16.0 → 5.17.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/index.esm.js +1509 -869
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/lib/components/shared/styles/input-styles.d.ts +1 -0
- package/src/lib/components/vention-button/button-utils.d.ts +0 -1
- package/src/lib/components/vention-tags-input/vention-tags-input-tag.d.ts +13 -0
- package/src/lib/components/vention-tags-input/vention-tags-input.d.ts +20 -0
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { Typography, useTheme, Button, Stack, Box as Box$1, Grid, IconButton, ClickAwayListener, Modal, CircularProgress as CircularProgress$1, linearProgressClasses, LinearProgress, InputAdornment, TextField, Radio, FormControlLabel, FormControl, Select, MenuItem, FormHelperText, ButtonGroup, Paper, Card, CardMedia, CardContent, ListItemIcon, ListItemText, Popover, MenuList, Drawer, Tooltip, Checkbox } from '@mui/material';
|
|
2
|
+
import { Typography, useTheme, Button, Stack, Box as Box$1, Grid, IconButton, ClickAwayListener, Modal, CircularProgress as CircularProgress$1, linearProgressClasses, LinearProgress, InputAdornment, TextField, Radio, FormControlLabel, FormControl, Select, MenuItem, FormHelperText, ButtonGroup, Paper, Card, CardMedia, CardContent, ListItemIcon, ListItemText, Popover, MenuList, Drawer, Autocomplete, Tooltip, Checkbox } from '@mui/material';
|
|
3
3
|
import { IconCheck, IconAlertTriangleFilled, IconAlertTriangle, IconExclamationMark, IconExternalLink, IconX, IconInfoCircleFilled, IconCircleCheckFilled, IconChevronUp, IconChevronDown, IconInfoCircle, IconInfoSmall, IconMinus, IconPlus, IconLoader2, IconCaretRightFilled, IconChevronsRight, IconChevronsLeft, IconChevronRight } from '@tabler/icons-react';
|
|
4
4
|
import { lazy, memo, Suspense, forwardRef, useState, cloneElement, useRef, useEffect, useCallback, useMemo, createContext, useContext, useImperativeHandle, Children, Fragment as Fragment$1, useReducer } from 'react';
|
|
5
5
|
import { tss } from 'tss-react/mui';
|
|
@@ -14,7 +14,7 @@ import { tss as tss$1 } from 'tss-react';
|
|
|
14
14
|
|
|
15
15
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
16
16
|
|
|
17
|
-
var fails$
|
|
17
|
+
var fails$s = function (exec) {
|
|
18
18
|
try {
|
|
19
19
|
return !!exec();
|
|
20
20
|
} catch (error) {
|
|
@@ -22,9 +22,9 @@ var fails$r = function (exec) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var fails$
|
|
25
|
+
var fails$r = fails$s;
|
|
26
26
|
|
|
27
|
-
var functionBindNative = !fails$
|
|
27
|
+
var functionBindNative = !fails$r(function () {
|
|
28
28
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
29
29
|
var test = function () { /* empty */ }.bind();
|
|
30
30
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -34,34 +34,34 @@ var functionBindNative = !fails$q(function () {
|
|
|
34
34
|
var NATIVE_BIND$3 = functionBindNative;
|
|
35
35
|
|
|
36
36
|
var FunctionPrototype$2 = Function.prototype;
|
|
37
|
-
var call$
|
|
37
|
+
var call$q = FunctionPrototype$2.call;
|
|
38
38
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
39
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$
|
|
39
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$q, call$q);
|
|
40
40
|
|
|
41
41
|
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
42
42
|
return function () {
|
|
43
|
-
return call$
|
|
43
|
+
return call$q.apply(fn, arguments);
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
var uncurryThis$
|
|
47
|
+
var uncurryThis$p = functionUncurryThis;
|
|
48
48
|
|
|
49
|
-
var toString$
|
|
50
|
-
var stringSlice$
|
|
49
|
+
var toString$b = uncurryThis$p({}.toString);
|
|
50
|
+
var stringSlice$7 = uncurryThis$p(''.slice);
|
|
51
51
|
|
|
52
52
|
var classofRaw$2 = function (it) {
|
|
53
|
-
return stringSlice$
|
|
53
|
+
return stringSlice$7(toString$b(it), 8, -1);
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
var uncurryThis$
|
|
57
|
-
var fails$
|
|
56
|
+
var uncurryThis$o = functionUncurryThis;
|
|
57
|
+
var fails$q = fails$s;
|
|
58
58
|
var classof$8 = classofRaw$2;
|
|
59
59
|
|
|
60
60
|
var $Object$4 = Object;
|
|
61
|
-
var split = uncurryThis$
|
|
61
|
+
var split = uncurryThis$o(''.split);
|
|
62
62
|
|
|
63
63
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
64
|
-
var indexedObject = fails$
|
|
64
|
+
var indexedObject = fails$q(function () {
|
|
65
65
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
66
66
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
67
67
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -81,17 +81,17 @@ var $TypeError$k = TypeError;
|
|
|
81
81
|
|
|
82
82
|
// `RequireObjectCoercible` abstract operation
|
|
83
83
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
84
|
-
var requireObjectCoercible$
|
|
84
|
+
var requireObjectCoercible$8 = function (it) {
|
|
85
85
|
if (isNullOrUndefined$3(it)) throw new $TypeError$k("Can't call method on " + it);
|
|
86
86
|
return it;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
// toObject with fallback for non-array-like ES3 strings
|
|
90
90
|
var IndexedObject$2 = indexedObject;
|
|
91
|
-
var requireObjectCoercible$
|
|
91
|
+
var requireObjectCoercible$7 = requireObjectCoercible$8;
|
|
92
92
|
|
|
93
93
|
var toIndexedObject$5 = function (it) {
|
|
94
|
-
return IndexedObject$2(requireObjectCoercible$
|
|
94
|
+
return IndexedObject$2(requireObjectCoercible$7(it));
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
var check = function (it) {
|
|
@@ -149,36 +149,36 @@ var shared$4 = function (key, value) {
|
|
|
149
149
|
return store$2[key] || (store$2[key] = value || {});
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
var requireObjectCoercible$
|
|
152
|
+
var requireObjectCoercible$6 = requireObjectCoercible$8;
|
|
153
153
|
|
|
154
154
|
var $Object$3 = Object;
|
|
155
155
|
|
|
156
156
|
// `ToObject` abstract operation
|
|
157
157
|
// https://tc39.es/ecma262/#sec-toobject
|
|
158
|
-
var toObject$
|
|
159
|
-
return $Object$3(requireObjectCoercible$
|
|
158
|
+
var toObject$7 = function (argument) {
|
|
159
|
+
return $Object$3(requireObjectCoercible$6(argument));
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
var uncurryThis$
|
|
163
|
-
var toObject$
|
|
162
|
+
var uncurryThis$n = functionUncurryThis;
|
|
163
|
+
var toObject$6 = toObject$7;
|
|
164
164
|
|
|
165
|
-
var hasOwnProperty = uncurryThis$
|
|
165
|
+
var hasOwnProperty = uncurryThis$n({}.hasOwnProperty);
|
|
166
166
|
|
|
167
167
|
// `HasOwnProperty` abstract operation
|
|
168
168
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
169
169
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
170
170
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
171
|
-
return hasOwnProperty(toObject$
|
|
171
|
+
return hasOwnProperty(toObject$6(it), key);
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$m = functionUncurryThis;
|
|
175
175
|
|
|
176
176
|
var id = 0;
|
|
177
177
|
var postfix = Math.random();
|
|
178
|
-
var toString$
|
|
178
|
+
var toString$a = uncurryThis$m(1.1.toString);
|
|
179
179
|
|
|
180
180
|
var uid$2 = function (key) {
|
|
181
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
181
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
var globalThis$q = globalThis_1;
|
|
@@ -218,13 +218,13 @@ var environmentV8Version = version;
|
|
|
218
218
|
|
|
219
219
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
220
220
|
var V8_VERSION$1 = environmentV8Version;
|
|
221
|
-
var fails$
|
|
221
|
+
var fails$p = fails$s;
|
|
222
222
|
var globalThis$o = globalThis_1;
|
|
223
223
|
|
|
224
224
|
var $String$6 = globalThis$o.String;
|
|
225
225
|
|
|
226
226
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
227
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
227
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$p(function () {
|
|
228
228
|
var symbol = Symbol('symbol detection');
|
|
229
229
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
230
230
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -253,7 +253,7 @@ var Symbol$1 = globalThis$n.Symbol;
|
|
|
253
253
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
254
254
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
255
255
|
|
|
256
|
-
var wellKnownSymbol$
|
|
256
|
+
var wellKnownSymbol$k = function (name) {
|
|
257
257
|
if (!hasOwn$d(WellKnownSymbolsStore, name)) {
|
|
258
258
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$d(Symbol$1, name)
|
|
259
259
|
? Symbol$1[name]
|
|
@@ -267,45 +267,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
267
267
|
// `IsCallable` abstract operation
|
|
268
268
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
269
269
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
270
|
-
var isCallable$
|
|
270
|
+
var isCallable$o = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
271
271
|
return typeof argument == 'function' || argument === documentAll;
|
|
272
272
|
} : function (argument) {
|
|
273
273
|
return typeof argument == 'function';
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
var isCallable$
|
|
276
|
+
var isCallable$n = isCallable$o;
|
|
277
277
|
|
|
278
|
-
var isObject$
|
|
279
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
278
|
+
var isObject$f = function (it) {
|
|
279
|
+
return typeof it == 'object' ? it !== null : isCallable$n(it);
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
var isObject$
|
|
282
|
+
var isObject$e = isObject$f;
|
|
283
283
|
|
|
284
284
|
var $String$5 = String;
|
|
285
285
|
var $TypeError$j = TypeError;
|
|
286
286
|
|
|
287
287
|
// `Assert: Type(argument) is Object`
|
|
288
|
-
var anObject$
|
|
289
|
-
if (isObject$
|
|
288
|
+
var anObject$m = function (argument) {
|
|
289
|
+
if (isObject$e(argument)) return argument;
|
|
290
290
|
throw new $TypeError$j($String$5(argument) + ' is not an object');
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
var objectDefineProperties = {};
|
|
294
294
|
|
|
295
|
-
var fails$
|
|
295
|
+
var fails$o = fails$s;
|
|
296
296
|
|
|
297
297
|
// Detect IE8's incomplete defineProperty implementation
|
|
298
|
-
var descriptors = !fails$
|
|
298
|
+
var descriptors = !fails$o(function () {
|
|
299
299
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
300
300
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
301
301
|
});
|
|
302
302
|
|
|
303
303
|
var DESCRIPTORS$g = descriptors;
|
|
304
|
-
var fails$
|
|
304
|
+
var fails$n = fails$s;
|
|
305
305
|
|
|
306
306
|
// V8 ~ Chrome 36-
|
|
307
307
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
308
|
-
var v8PrototypeDefineBug = DESCRIPTORS$g && fails$
|
|
308
|
+
var v8PrototypeDefineBug = DESCRIPTORS$g && fails$n(function () {
|
|
309
309
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
310
310
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
311
311
|
value: 42,
|
|
@@ -316,22 +316,22 @@ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$m(function () {
|
|
|
316
316
|
var objectDefineProperty = {};
|
|
317
317
|
|
|
318
318
|
var globalThis$m = globalThis_1;
|
|
319
|
-
var isObject$
|
|
319
|
+
var isObject$d = isObject$f;
|
|
320
320
|
|
|
321
321
|
var document$3 = globalThis$m.document;
|
|
322
322
|
// typeof document.createElement is 'object' in old IE
|
|
323
|
-
var EXISTS$1 = isObject$
|
|
323
|
+
var EXISTS$1 = isObject$d(document$3) && isObject$d(document$3.createElement);
|
|
324
324
|
|
|
325
325
|
var documentCreateElement$2 = function (it) {
|
|
326
326
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
327
327
|
};
|
|
328
328
|
|
|
329
329
|
var DESCRIPTORS$f = descriptors;
|
|
330
|
-
var fails$
|
|
330
|
+
var fails$m = fails$s;
|
|
331
331
|
var createElement$1 = documentCreateElement$2;
|
|
332
332
|
|
|
333
333
|
// Thanks to IE8 for its funny defineProperty
|
|
334
|
-
var ie8DomDefine = !DESCRIPTORS$f && !fails$
|
|
334
|
+
var ie8DomDefine = !DESCRIPTORS$f && !fails$m(function () {
|
|
335
335
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
336
336
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
337
337
|
get: function () { return 7; }
|
|
@@ -340,29 +340,29 @@ var ie8DomDefine = !DESCRIPTORS$f && !fails$l(function () {
|
|
|
340
340
|
|
|
341
341
|
var NATIVE_BIND$2 = functionBindNative;
|
|
342
342
|
|
|
343
|
-
var call$
|
|
343
|
+
var call$p = Function.prototype.call;
|
|
344
344
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
345
|
-
var functionCall = NATIVE_BIND$2 ? call$
|
|
346
|
-
return call$
|
|
345
|
+
var functionCall = NATIVE_BIND$2 ? call$p.bind(call$p) : function () {
|
|
346
|
+
return call$p.apply(call$p, arguments);
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
var globalThis$l = globalThis_1;
|
|
350
|
-
var isCallable$
|
|
350
|
+
var isCallable$m = isCallable$o;
|
|
351
351
|
|
|
352
352
|
var aFunction = function (argument) {
|
|
353
|
-
return isCallable$
|
|
353
|
+
return isCallable$m(argument) ? argument : undefined;
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
var getBuiltIn$8 = function (namespace, method) {
|
|
357
357
|
return arguments.length < 2 ? aFunction(globalThis$l[namespace]) : globalThis$l[namespace] && globalThis$l[namespace][method];
|
|
358
358
|
};
|
|
359
359
|
|
|
360
|
-
var uncurryThis$
|
|
360
|
+
var uncurryThis$l = functionUncurryThis;
|
|
361
361
|
|
|
362
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
362
|
+
var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
|
|
363
363
|
|
|
364
364
|
var getBuiltIn$7 = getBuiltIn$8;
|
|
365
|
-
var isCallable$
|
|
365
|
+
var isCallable$l = isCallable$o;
|
|
366
366
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
367
367
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
368
368
|
|
|
@@ -372,7 +372,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
372
372
|
return typeof it == 'symbol';
|
|
373
373
|
} : function (it) {
|
|
374
374
|
var $Symbol = getBuiltIn$7('Symbol');
|
|
375
|
-
return isCallable$
|
|
375
|
+
return isCallable$l($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$2(it));
|
|
376
376
|
};
|
|
377
377
|
|
|
378
378
|
var $String$4 = String;
|
|
@@ -385,14 +385,14 @@ var tryToString$5 = function (argument) {
|
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
var isCallable$
|
|
388
|
+
var isCallable$k = isCallable$o;
|
|
389
389
|
var tryToString$4 = tryToString$5;
|
|
390
390
|
|
|
391
391
|
var $TypeError$i = TypeError;
|
|
392
392
|
|
|
393
393
|
// `Assert: IsCallable(argument) is true`
|
|
394
394
|
var aCallable$h = function (argument) {
|
|
395
|
-
if (isCallable$
|
|
395
|
+
if (isCallable$k(argument)) return argument;
|
|
396
396
|
throw new $TypeError$i(tryToString$4(argument) + ' is not a function');
|
|
397
397
|
};
|
|
398
398
|
|
|
@@ -401,14 +401,14 @@ var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
|
401
401
|
|
|
402
402
|
// `GetMethod` abstract operation
|
|
403
403
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
404
|
-
var getMethod$
|
|
404
|
+
var getMethod$6 = function (V, P) {
|
|
405
405
|
var func = V[P];
|
|
406
406
|
return isNullOrUndefined$2(func) ? undefined : aCallable$g(func);
|
|
407
407
|
};
|
|
408
408
|
|
|
409
|
-
var call$
|
|
410
|
-
var isCallable$
|
|
411
|
-
var isObject$
|
|
409
|
+
var call$o = functionCall;
|
|
410
|
+
var isCallable$j = isCallable$o;
|
|
411
|
+
var isObject$c = isObject$f;
|
|
412
412
|
|
|
413
413
|
var $TypeError$h = TypeError;
|
|
414
414
|
|
|
@@ -416,32 +416,32 @@ var $TypeError$h = TypeError;
|
|
|
416
416
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
417
417
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
418
418
|
var fn, val;
|
|
419
|
-
if (pref === 'string' && isCallable$
|
|
420
|
-
if (isCallable$
|
|
421
|
-
if (pref !== 'string' && isCallable$
|
|
419
|
+
if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$o(fn, input))) return val;
|
|
420
|
+
if (isCallable$j(fn = input.valueOf) && !isObject$c(val = call$o(fn, input))) return val;
|
|
421
|
+
if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$o(fn, input))) return val;
|
|
422
422
|
throw new $TypeError$h("Can't convert object to primitive value");
|
|
423
423
|
};
|
|
424
424
|
|
|
425
|
-
var call$
|
|
426
|
-
var isObject$
|
|
425
|
+
var call$n = functionCall;
|
|
426
|
+
var isObject$b = isObject$f;
|
|
427
427
|
var isSymbol$1 = isSymbol$2;
|
|
428
|
-
var getMethod$
|
|
428
|
+
var getMethod$5 = getMethod$6;
|
|
429
429
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
430
|
-
var wellKnownSymbol$
|
|
430
|
+
var wellKnownSymbol$j = wellKnownSymbol$k;
|
|
431
431
|
|
|
432
432
|
var $TypeError$g = TypeError;
|
|
433
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
433
|
+
var TO_PRIMITIVE = wellKnownSymbol$j('toPrimitive');
|
|
434
434
|
|
|
435
435
|
// `ToPrimitive` abstract operation
|
|
436
436
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
437
437
|
var toPrimitive$1 = function (input, pref) {
|
|
438
|
-
if (!isObject$
|
|
439
|
-
var exoticToPrim = getMethod$
|
|
438
|
+
if (!isObject$b(input) || isSymbol$1(input)) return input;
|
|
439
|
+
var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
|
|
440
440
|
var result;
|
|
441
441
|
if (exoticToPrim) {
|
|
442
442
|
if (pref === undefined) pref = 'default';
|
|
443
|
-
result = call$
|
|
444
|
-
if (!isObject$
|
|
443
|
+
result = call$n(exoticToPrim, input, pref);
|
|
444
|
+
if (!isObject$b(result) || isSymbol$1(result)) return result;
|
|
445
445
|
throw new $TypeError$g("Can't convert object to primitive value");
|
|
446
446
|
}
|
|
447
447
|
if (pref === undefined) pref = 'number';
|
|
@@ -461,7 +461,7 @@ var toPropertyKey$2 = function (argument) {
|
|
|
461
461
|
var DESCRIPTORS$e = descriptors;
|
|
462
462
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
463
463
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
464
|
-
var anObject$
|
|
464
|
+
var anObject$l = anObject$m;
|
|
465
465
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
466
466
|
|
|
467
467
|
var $TypeError$f = TypeError;
|
|
@@ -476,9 +476,9 @@ var WRITABLE = 'writable';
|
|
|
476
476
|
// `Object.defineProperty` method
|
|
477
477
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
478
478
|
objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
479
|
-
anObject$
|
|
479
|
+
anObject$l(O);
|
|
480
480
|
P = toPropertyKey$1(P);
|
|
481
|
-
anObject$
|
|
481
|
+
anObject$l(Attributes);
|
|
482
482
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
483
483
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
484
484
|
if (current && current[WRITABLE]) {
|
|
@@ -491,9 +491,9 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
491
491
|
}
|
|
492
492
|
} return $defineProperty(O, P, Attributes);
|
|
493
493
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
494
|
-
anObject$
|
|
494
|
+
anObject$l(O);
|
|
495
495
|
P = toPropertyKey$1(P);
|
|
496
|
-
anObject$
|
|
496
|
+
anObject$l(Attributes);
|
|
497
497
|
if (IE8_DOM_DEFINE$1) try {
|
|
498
498
|
return $defineProperty(O, P, Attributes);
|
|
499
499
|
} catch (error) { /* empty */ }
|
|
@@ -503,56 +503,56 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
503
503
|
};
|
|
504
504
|
|
|
505
505
|
var ceil = Math.ceil;
|
|
506
|
-
var floor$
|
|
506
|
+
var floor$4 = Math.floor;
|
|
507
507
|
|
|
508
508
|
// `Math.trunc` method
|
|
509
509
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
510
510
|
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
511
511
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
512
512
|
var n = +x;
|
|
513
|
-
return (n > 0 ? floor$
|
|
513
|
+
return (n > 0 ? floor$4 : ceil)(n);
|
|
514
514
|
};
|
|
515
515
|
|
|
516
516
|
var trunc = mathTrunc;
|
|
517
517
|
|
|
518
518
|
// `ToIntegerOrInfinity` abstract operation
|
|
519
519
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
520
|
-
var toIntegerOrInfinity$
|
|
520
|
+
var toIntegerOrInfinity$6 = function (argument) {
|
|
521
521
|
var number = +argument;
|
|
522
522
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
523
523
|
return number !== number || number === 0 ? 0 : trunc(number);
|
|
524
524
|
};
|
|
525
525
|
|
|
526
|
-
var toIntegerOrInfinity$
|
|
526
|
+
var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
|
|
527
527
|
|
|
528
|
-
var max = Math.max;
|
|
529
|
-
var min$
|
|
528
|
+
var max$1 = Math.max;
|
|
529
|
+
var min$2 = Math.min;
|
|
530
530
|
|
|
531
531
|
// Helper for a popular repeating case of the spec:
|
|
532
532
|
// Let integer be ? ToInteger(index).
|
|
533
533
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
534
534
|
var toAbsoluteIndex$1 = function (index, length) {
|
|
535
|
-
var integer = toIntegerOrInfinity$
|
|
536
|
-
return integer < 0 ? max(integer + length, 0) : min$
|
|
535
|
+
var integer = toIntegerOrInfinity$5(index);
|
|
536
|
+
return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
|
|
537
537
|
};
|
|
538
538
|
|
|
539
|
-
var toIntegerOrInfinity$
|
|
539
|
+
var toIntegerOrInfinity$4 = toIntegerOrInfinity$6;
|
|
540
540
|
|
|
541
|
-
var min = Math.min;
|
|
541
|
+
var min$1 = Math.min;
|
|
542
542
|
|
|
543
543
|
// `ToLength` abstract operation
|
|
544
544
|
// https://tc39.es/ecma262/#sec-tolength
|
|
545
|
-
var toLength$
|
|
546
|
-
var len = toIntegerOrInfinity$
|
|
547
|
-
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
545
|
+
var toLength$2 = function (argument) {
|
|
546
|
+
var len = toIntegerOrInfinity$4(argument);
|
|
547
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
548
548
|
};
|
|
549
549
|
|
|
550
|
-
var toLength = toLength$
|
|
550
|
+
var toLength$1 = toLength$2;
|
|
551
551
|
|
|
552
552
|
// `LengthOfArrayLike` abstract operation
|
|
553
553
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
554
554
|
var lengthOfArrayLike$5 = function (obj) {
|
|
555
|
-
return toLength(obj.length);
|
|
555
|
+
return toLength$1(obj.length);
|
|
556
556
|
};
|
|
557
557
|
|
|
558
558
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
@@ -560,7 +560,7 @@ var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
|
560
560
|
var lengthOfArrayLike$4 = lengthOfArrayLike$5;
|
|
561
561
|
|
|
562
562
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
563
|
-
var createMethod$
|
|
563
|
+
var createMethod$2 = function (IS_INCLUDES) {
|
|
564
564
|
return function ($this, el, fromIndex) {
|
|
565
565
|
var O = toIndexedObject$4($this);
|
|
566
566
|
var length = lengthOfArrayLike$4(O);
|
|
@@ -583,31 +583,31 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
583
583
|
var arrayIncludes = {
|
|
584
584
|
// `Array.prototype.includes` method
|
|
585
585
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
586
|
-
includes: createMethod$
|
|
586
|
+
includes: createMethod$2(true),
|
|
587
587
|
// `Array.prototype.indexOf` method
|
|
588
588
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
589
|
-
indexOf: createMethod$
|
|
589
|
+
indexOf: createMethod$2(false)
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
var hiddenKeys$4 = {};
|
|
593
593
|
|
|
594
|
-
var uncurryThis$
|
|
594
|
+
var uncurryThis$k = functionUncurryThis;
|
|
595
595
|
var hasOwn$c = hasOwnProperty_1;
|
|
596
596
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
597
597
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
598
598
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
599
599
|
|
|
600
|
-
var push$
|
|
600
|
+
var push$2 = uncurryThis$k([].push);
|
|
601
601
|
|
|
602
602
|
var objectKeysInternal = function (object, names) {
|
|
603
603
|
var O = toIndexedObject$3(object);
|
|
604
604
|
var i = 0;
|
|
605
605
|
var result = [];
|
|
606
606
|
var key;
|
|
607
|
-
for (key in O) !hasOwn$c(hiddenKeys$3, key) && hasOwn$c(O, key) && push$
|
|
607
|
+
for (key in O) !hasOwn$c(hiddenKeys$3, key) && hasOwn$c(O, key) && push$2(result, key);
|
|
608
608
|
// Don't enum bug & hidden keys
|
|
609
609
|
while (names.length > i) if (hasOwn$c(O, key = names[i++])) {
|
|
610
|
-
~indexOf$1(result, key) || push$
|
|
610
|
+
~indexOf$1(result, key) || push$2(result, key);
|
|
611
611
|
}
|
|
612
612
|
return result;
|
|
613
613
|
};
|
|
@@ -636,7 +636,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
636
636
|
var DESCRIPTORS$d = descriptors;
|
|
637
637
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
638
638
|
var definePropertyModule$4 = objectDefineProperty;
|
|
639
|
-
var anObject$
|
|
639
|
+
var anObject$k = anObject$m;
|
|
640
640
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
641
641
|
var objectKeys$1 = objectKeys$2;
|
|
642
642
|
|
|
@@ -644,7 +644,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
644
644
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
645
645
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
646
646
|
objectDefineProperties.f = DESCRIPTORS$d && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
647
|
-
anObject$
|
|
647
|
+
anObject$k(O);
|
|
648
648
|
var props = toIndexedObject$2(Properties);
|
|
649
649
|
var keys = objectKeys$1(Properties);
|
|
650
650
|
var length = keys.length;
|
|
@@ -668,7 +668,7 @@ var sharedKey$3 = function (key) {
|
|
|
668
668
|
};
|
|
669
669
|
|
|
670
670
|
/* global ActiveXObject -- old IE, WSH */
|
|
671
|
-
var anObject$
|
|
671
|
+
var anObject$j = anObject$m;
|
|
672
672
|
var definePropertiesModule = objectDefineProperties;
|
|
673
673
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
674
674
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -743,7 +743,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
743
743
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
744
744
|
var result;
|
|
745
745
|
if (O !== null) {
|
|
746
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
746
|
+
EmptyConstructor[PROTOTYPE] = anObject$j(O);
|
|
747
747
|
result = new EmptyConstructor();
|
|
748
748
|
EmptyConstructor[PROTOTYPE] = null;
|
|
749
749
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -752,11 +752,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
752
752
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
753
753
|
};
|
|
754
754
|
|
|
755
|
-
var wellKnownSymbol$
|
|
755
|
+
var wellKnownSymbol$i = wellKnownSymbol$k;
|
|
756
756
|
var create$3 = objectCreate;
|
|
757
757
|
var defineProperty$6 = objectDefineProperty.f;
|
|
758
758
|
|
|
759
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
759
|
+
var UNSCOPABLES = wellKnownSymbol$i('unscopables');
|
|
760
760
|
var ArrayPrototype$1 = Array.prototype;
|
|
761
761
|
|
|
762
762
|
// Array.prototype[@@unscopables]
|
|
@@ -776,11 +776,11 @@ var addToUnscopables$2 = function (key) {
|
|
|
776
776
|
var iterators = {};
|
|
777
777
|
|
|
778
778
|
var globalThis$k = globalThis_1;
|
|
779
|
-
var isCallable$
|
|
779
|
+
var isCallable$i = isCallable$o;
|
|
780
780
|
|
|
781
781
|
var WeakMap$1 = globalThis$k.WeakMap;
|
|
782
782
|
|
|
783
|
-
var weakMapBasicDetection = isCallable$
|
|
783
|
+
var weakMapBasicDetection = isCallable$i(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
784
784
|
|
|
785
785
|
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
786
786
|
return {
|
|
@@ -804,7 +804,7 @@ var createNonEnumerableProperty$9 = DESCRIPTORS$c ? function (object, key, value
|
|
|
804
804
|
|
|
805
805
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
806
806
|
var globalThis$j = globalThis_1;
|
|
807
|
-
var isObject$
|
|
807
|
+
var isObject$a = isObject$f;
|
|
808
808
|
var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
|
|
809
809
|
var hasOwn$b = hasOwnProperty_1;
|
|
810
810
|
var shared$1 = sharedStoreExports;
|
|
@@ -823,7 +823,7 @@ var enforce = function (it) {
|
|
|
823
823
|
var getterFor = function (TYPE) {
|
|
824
824
|
return function (it) {
|
|
825
825
|
var state;
|
|
826
|
-
if (!isObject$
|
|
826
|
+
if (!isObject$a(it) || (state = get$2(it)).type !== TYPE) {
|
|
827
827
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
828
828
|
} return state;
|
|
829
829
|
};
|
|
@@ -892,7 +892,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
892
892
|
} : $propertyIsEnumerable;
|
|
893
893
|
|
|
894
894
|
var DESCRIPTORS$b = descriptors;
|
|
895
|
-
var call$
|
|
895
|
+
var call$m = functionCall;
|
|
896
896
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
897
897
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
898
898
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
@@ -911,7 +911,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor : f
|
|
|
911
911
|
if (IE8_DOM_DEFINE) try {
|
|
912
912
|
return $getOwnPropertyDescriptor(O, P);
|
|
913
913
|
} catch (error) { /* empty */ }
|
|
914
|
-
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$
|
|
914
|
+
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$m(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
915
915
|
};
|
|
916
916
|
|
|
917
917
|
var makeBuiltIn$3 = {exports: {}};
|
|
@@ -933,14 +933,14 @@ var functionName = {
|
|
|
933
933
|
CONFIGURABLE: CONFIGURABLE
|
|
934
934
|
};
|
|
935
935
|
|
|
936
|
-
var uncurryThis$
|
|
937
|
-
var isCallable$
|
|
936
|
+
var uncurryThis$j = functionUncurryThis;
|
|
937
|
+
var isCallable$h = isCallable$o;
|
|
938
938
|
var store = sharedStoreExports;
|
|
939
939
|
|
|
940
|
-
var functionToString = uncurryThis$
|
|
940
|
+
var functionToString = uncurryThis$j(Function.toString);
|
|
941
941
|
|
|
942
942
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
943
|
-
if (!isCallable$
|
|
943
|
+
if (!isCallable$h(store.inspectSource)) {
|
|
944
944
|
store.inspectSource = function (it) {
|
|
945
945
|
return functionToString(it);
|
|
946
946
|
};
|
|
@@ -948,9 +948,9 @@ if (!isCallable$g(store.inspectSource)) {
|
|
|
948
948
|
|
|
949
949
|
var inspectSource$3 = store.inspectSource;
|
|
950
950
|
|
|
951
|
-
var uncurryThis$
|
|
952
|
-
var fails$
|
|
953
|
-
var isCallable$
|
|
951
|
+
var uncurryThis$i = functionUncurryThis;
|
|
952
|
+
var fails$l = fails$s;
|
|
953
|
+
var isCallable$g = isCallable$o;
|
|
954
954
|
var hasOwn$8 = hasOwnProperty_1;
|
|
955
955
|
var DESCRIPTORS$9 = descriptors;
|
|
956
956
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -962,19 +962,19 @@ var getInternalState$2 = InternalStateModule$3.get;
|
|
|
962
962
|
var $String$3 = String;
|
|
963
963
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
964
964
|
var defineProperty$5 = Object.defineProperty;
|
|
965
|
-
var stringSlice$
|
|
966
|
-
var replace$
|
|
967
|
-
var join = uncurryThis$
|
|
965
|
+
var stringSlice$6 = uncurryThis$i(''.slice);
|
|
966
|
+
var replace$4 = uncurryThis$i(''.replace);
|
|
967
|
+
var join = uncurryThis$i([].join);
|
|
968
968
|
|
|
969
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$
|
|
969
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$l(function () {
|
|
970
970
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
971
971
|
});
|
|
972
972
|
|
|
973
973
|
var TEMPLATE = String(String).split('String');
|
|
974
974
|
|
|
975
975
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
976
|
-
if (stringSlice$
|
|
977
|
-
name = '[' + replace$
|
|
976
|
+
if (stringSlice$6($String$3(name), 0, 7) === 'Symbol(') {
|
|
977
|
+
name = '[' + replace$4($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
978
978
|
}
|
|
979
979
|
if (options && options.getter) name = 'get ' + name;
|
|
980
980
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -1000,12 +1000,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1000
1000
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1001
1001
|
// eslint-disable-next-line no-extend-native -- required
|
|
1002
1002
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
1003
|
-
return isCallable$
|
|
1003
|
+
return isCallable$g(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
1004
1004
|
}, 'toString');
|
|
1005
1005
|
|
|
1006
1006
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
1007
1007
|
|
|
1008
|
-
var isCallable$
|
|
1008
|
+
var isCallable$f = isCallable$o;
|
|
1009
1009
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1010
1010
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
1011
1011
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -1014,7 +1014,7 @@ var defineBuiltIn$8 = function (O, key, value, options) {
|
|
|
1014
1014
|
if (!options) options = {};
|
|
1015
1015
|
var simple = options.enumerable;
|
|
1016
1016
|
var name = options.name !== undefined ? options.name : key;
|
|
1017
|
-
if (isCallable$
|
|
1017
|
+
if (isCallable$f(value)) makeBuiltIn$1(value, name, options);
|
|
1018
1018
|
if (options.global) {
|
|
1019
1019
|
if (simple) O[key] = value;
|
|
1020
1020
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1053,18 +1053,18 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1053
1053
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1054
1054
|
|
|
1055
1055
|
var getBuiltIn$5 = getBuiltIn$8;
|
|
1056
|
-
var uncurryThis$
|
|
1056
|
+
var uncurryThis$h = functionUncurryThis;
|
|
1057
1057
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1058
1058
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1059
|
-
var anObject$
|
|
1059
|
+
var anObject$i = anObject$m;
|
|
1060
1060
|
|
|
1061
|
-
var concat$
|
|
1061
|
+
var concat$2 = uncurryThis$h([].concat);
|
|
1062
1062
|
|
|
1063
1063
|
// all object keys, includes non-enumerable and symbols
|
|
1064
1064
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1065
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1065
|
+
var keys = getOwnPropertyNamesModule.f(anObject$i(it));
|
|
1066
1066
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1067
|
-
return getOwnPropertySymbols ? concat$
|
|
1067
|
+
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
1070
|
var hasOwn$7 = hasOwnProperty_1;
|
|
@@ -1084,8 +1084,8 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
};
|
|
1086
1086
|
|
|
1087
|
-
var fails$
|
|
1088
|
-
var isCallable$
|
|
1087
|
+
var fails$k = fails$s;
|
|
1088
|
+
var isCallable$e = isCallable$o;
|
|
1089
1089
|
|
|
1090
1090
|
var replacement = /#|\.prototype\./;
|
|
1091
1091
|
|
|
@@ -1093,7 +1093,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1093
1093
|
var value = data[normalize(feature)];
|
|
1094
1094
|
return value === POLYFILL ? true
|
|
1095
1095
|
: value === NATIVE ? false
|
|
1096
|
-
: isCallable$
|
|
1096
|
+
: isCallable$e(detection) ? fails$k(detection)
|
|
1097
1097
|
: !!detection;
|
|
1098
1098
|
};
|
|
1099
1099
|
|
|
@@ -1162,9 +1162,9 @@ var _export = function (options, source) {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
};
|
|
1164
1164
|
|
|
1165
|
-
var fails$
|
|
1165
|
+
var fails$j = fails$s;
|
|
1166
1166
|
|
|
1167
|
-
var correctPrototypeGetter = !fails$
|
|
1167
|
+
var correctPrototypeGetter = !fails$j(function () {
|
|
1168
1168
|
function F() { /* empty */ }
|
|
1169
1169
|
F.prototype.constructor = null;
|
|
1170
1170
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1172,8 +1172,8 @@ var correctPrototypeGetter = !fails$i(function () {
|
|
|
1172
1172
|
});
|
|
1173
1173
|
|
|
1174
1174
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1175
|
-
var isCallable$
|
|
1176
|
-
var toObject$
|
|
1175
|
+
var isCallable$d = isCallable$o;
|
|
1176
|
+
var toObject$5 = toObject$7;
|
|
1177
1177
|
var sharedKey = sharedKey$3;
|
|
1178
1178
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1179
1179
|
|
|
@@ -1185,22 +1185,22 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1185
1185
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1186
1186
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1187
1187
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1188
|
-
var object = toObject$
|
|
1188
|
+
var object = toObject$5(O);
|
|
1189
1189
|
if (hasOwn$6(object, IE_PROTO)) return object[IE_PROTO];
|
|
1190
1190
|
var constructor = object.constructor;
|
|
1191
|
-
if (isCallable$
|
|
1191
|
+
if (isCallable$d(constructor) && object instanceof constructor) {
|
|
1192
1192
|
return constructor.prototype;
|
|
1193
1193
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1194
1194
|
};
|
|
1195
1195
|
|
|
1196
|
-
var fails$
|
|
1197
|
-
var isCallable$
|
|
1198
|
-
var isObject$
|
|
1196
|
+
var fails$i = fails$s;
|
|
1197
|
+
var isCallable$c = isCallable$o;
|
|
1198
|
+
var isObject$9 = isObject$f;
|
|
1199
1199
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1200
1200
|
var defineBuiltIn$6 = defineBuiltIn$8;
|
|
1201
|
-
var wellKnownSymbol$
|
|
1201
|
+
var wellKnownSymbol$h = wellKnownSymbol$k;
|
|
1202
1202
|
|
|
1203
|
-
var ITERATOR$6 = wellKnownSymbol$
|
|
1203
|
+
var ITERATOR$6 = wellKnownSymbol$h('iterator');
|
|
1204
1204
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1205
1205
|
|
|
1206
1206
|
// `%IteratorPrototype%` object
|
|
@@ -1218,7 +1218,7 @@ if ([].keys) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1221
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$9(IteratorPrototype$4) || fails$i(function () {
|
|
1222
1222
|
var test = {};
|
|
1223
1223
|
// FF44- legacy iterators case
|
|
1224
1224
|
return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
|
|
@@ -1228,7 +1228,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
|
1228
1228
|
|
|
1229
1229
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1230
1230
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1231
|
-
if (!isCallable$
|
|
1231
|
+
if (!isCallable$c(IteratorPrototype$4[ITERATOR$6])) {
|
|
1232
1232
|
defineBuiltIn$6(IteratorPrototype$4, ITERATOR$6, function () {
|
|
1233
1233
|
return this;
|
|
1234
1234
|
});
|
|
@@ -1241,9 +1241,9 @@ var iteratorsCore = {
|
|
|
1241
1241
|
|
|
1242
1242
|
var defineProperty$4 = objectDefineProperty.f;
|
|
1243
1243
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1244
|
-
var wellKnownSymbol$
|
|
1244
|
+
var wellKnownSymbol$g = wellKnownSymbol$k;
|
|
1245
1245
|
|
|
1246
|
-
var TO_STRING_TAG$4 = wellKnownSymbol$
|
|
1246
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$g('toStringTag');
|
|
1247
1247
|
|
|
1248
1248
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
1249
1249
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -1268,20 +1268,20 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1268
1268
|
return IteratorConstructor;
|
|
1269
1269
|
};
|
|
1270
1270
|
|
|
1271
|
-
var uncurryThis$
|
|
1271
|
+
var uncurryThis$g = functionUncurryThis;
|
|
1272
1272
|
var aCallable$f = aCallable$h;
|
|
1273
1273
|
|
|
1274
1274
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1275
1275
|
try {
|
|
1276
1276
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1277
|
-
return uncurryThis$
|
|
1277
|
+
return uncurryThis$g(aCallable$f(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1278
1278
|
} catch (error) { /* empty */ }
|
|
1279
1279
|
};
|
|
1280
1280
|
|
|
1281
|
-
var isObject$
|
|
1281
|
+
var isObject$8 = isObject$f;
|
|
1282
1282
|
|
|
1283
1283
|
var isPossiblePrototype$1 = function (argument) {
|
|
1284
|
-
return isObject$
|
|
1284
|
+
return isObject$8(argument) || argument === null;
|
|
1285
1285
|
};
|
|
1286
1286
|
|
|
1287
1287
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
@@ -1296,8 +1296,8 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1296
1296
|
|
|
1297
1297
|
/* eslint-disable no-proto -- safe */
|
|
1298
1298
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1299
|
-
var isObject$
|
|
1300
|
-
var requireObjectCoercible$
|
|
1299
|
+
var isObject$7 = isObject$f;
|
|
1300
|
+
var requireObjectCoercible$5 = requireObjectCoercible$8;
|
|
1301
1301
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1302
1302
|
|
|
1303
1303
|
// `Object.setPrototypeOf` method
|
|
@@ -1314,9 +1314,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1314
1314
|
CORRECT_SETTER = test instanceof Array;
|
|
1315
1315
|
} catch (error) { /* empty */ }
|
|
1316
1316
|
return function setPrototypeOf(O, proto) {
|
|
1317
|
-
requireObjectCoercible$
|
|
1317
|
+
requireObjectCoercible$5(O);
|
|
1318
1318
|
aPossiblePrototype(proto);
|
|
1319
|
-
if (!isObject$
|
|
1319
|
+
if (!isObject$7(O)) return O;
|
|
1320
1320
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1321
1321
|
else O.__proto__ = proto;
|
|
1322
1322
|
return O;
|
|
@@ -1324,16 +1324,16 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1324
1324
|
}() : undefined);
|
|
1325
1325
|
|
|
1326
1326
|
var $$p = _export;
|
|
1327
|
-
var call$
|
|
1327
|
+
var call$l = functionCall;
|
|
1328
1328
|
var FunctionName = functionName;
|
|
1329
|
-
var isCallable$
|
|
1329
|
+
var isCallable$b = isCallable$o;
|
|
1330
1330
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1331
1331
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1332
1332
|
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
1333
1333
|
var setToStringTag$2 = setToStringTag$4;
|
|
1334
1334
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$9;
|
|
1335
1335
|
var defineBuiltIn$5 = defineBuiltIn$8;
|
|
1336
|
-
var wellKnownSymbol$
|
|
1336
|
+
var wellKnownSymbol$f = wellKnownSymbol$k;
|
|
1337
1337
|
var Iterators$3 = iterators;
|
|
1338
1338
|
var IteratorsCore = iteratorsCore;
|
|
1339
1339
|
|
|
@@ -1341,7 +1341,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
|
1341
1341
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1342
1342
|
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1343
1343
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1344
|
-
var ITERATOR$5 = wellKnownSymbol$
|
|
1344
|
+
var ITERATOR$5 = wellKnownSymbol$f('iterator');
|
|
1345
1345
|
var KEYS = 'keys';
|
|
1346
1346
|
var VALUES = 'values';
|
|
1347
1347
|
var ENTRIES = 'entries';
|
|
@@ -1381,7 +1381,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1381
1381
|
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1382
1382
|
if (setPrototypeOf$3) {
|
|
1383
1383
|
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1384
|
-
} else if (!isCallable$
|
|
1384
|
+
} else if (!isCallable$b(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1385
1385
|
defineBuiltIn$5(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
@@ -1396,7 +1396,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1396
1396
|
createNonEnumerableProperty$6(IterablePrototype, 'name', VALUES);
|
|
1397
1397
|
} else {
|
|
1398
1398
|
INCORRECT_VALUES_NAME = true;
|
|
1399
|
-
defaultIterator = function values() { return call$
|
|
1399
|
+
defaultIterator = function values() { return call$l(nativeIterator, this); };
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
@@ -1491,24 +1491,24 @@ if (DESCRIPTORS$8 && values.name !== 'values') try {
|
|
|
1491
1491
|
} catch (error) { /* empty */ }
|
|
1492
1492
|
|
|
1493
1493
|
var DESCRIPTORS$7 = descriptors;
|
|
1494
|
-
var uncurryThis$
|
|
1495
|
-
var call$
|
|
1496
|
-
var fails$
|
|
1494
|
+
var uncurryThis$f = functionUncurryThis;
|
|
1495
|
+
var call$k = functionCall;
|
|
1496
|
+
var fails$h = fails$s;
|
|
1497
1497
|
var objectKeys = objectKeys$2;
|
|
1498
1498
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1499
1499
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1500
|
-
var toObject$
|
|
1500
|
+
var toObject$4 = toObject$7;
|
|
1501
1501
|
var IndexedObject$1 = indexedObject;
|
|
1502
1502
|
|
|
1503
1503
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1504
1504
|
var $assign = Object.assign;
|
|
1505
1505
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1506
1506
|
var defineProperty$2 = Object.defineProperty;
|
|
1507
|
-
var concat = uncurryThis$
|
|
1507
|
+
var concat$1 = uncurryThis$f([].concat);
|
|
1508
1508
|
|
|
1509
1509
|
// `Object.assign` method
|
|
1510
1510
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1511
|
-
var objectAssign = !$assign || fails$
|
|
1511
|
+
var objectAssign = !$assign || fails$h(function () {
|
|
1512
1512
|
// should have correct order of operations (Edge bug)
|
|
1513
1513
|
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
|
1514
1514
|
enumerable: true,
|
|
@@ -1530,20 +1530,20 @@ var objectAssign = !$assign || fails$g(function () {
|
|
|
1530
1530
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1531
1531
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1532
1532
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1533
|
-
var T = toObject$
|
|
1533
|
+
var T = toObject$4(target);
|
|
1534
1534
|
var argumentsLength = arguments.length;
|
|
1535
1535
|
var index = 1;
|
|
1536
1536
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1537
1537
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1538
1538
|
while (argumentsLength > index) {
|
|
1539
1539
|
var S = IndexedObject$1(arguments[index++]);
|
|
1540
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1540
|
+
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1541
1541
|
var length = keys.length;
|
|
1542
1542
|
var j = 0;
|
|
1543
1543
|
var key;
|
|
1544
1544
|
while (length > j) {
|
|
1545
1545
|
key = keys[j++];
|
|
1546
|
-
if (!DESCRIPTORS$7 || call$
|
|
1546
|
+
if (!DESCRIPTORS$7 || call$k(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1547
1547
|
}
|
|
1548
1548
|
} return T;
|
|
1549
1549
|
} : $assign;
|
|
@@ -1608,9 +1608,9 @@ var DOMTokenListPrototype = domTokenListPrototype;
|
|
|
1608
1608
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1609
1609
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
|
|
1610
1610
|
var setToStringTag$1 = setToStringTag$4;
|
|
1611
|
-
var wellKnownSymbol$
|
|
1611
|
+
var wellKnownSymbol$e = wellKnownSymbol$k;
|
|
1612
1612
|
|
|
1613
|
-
var ITERATOR$4 = wellKnownSymbol$
|
|
1613
|
+
var ITERATOR$4 = wellKnownSymbol$e('iterator');
|
|
1614
1614
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1615
1615
|
|
|
1616
1616
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1679,6 +1679,204 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1679
1679
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
|
+
const getBorderColorFromState = (state, theme) => {
|
|
1683
|
+
switch (state) {
|
|
1684
|
+
case "error":
|
|
1685
|
+
return theme.palette.border.subtleDestructive;
|
|
1686
|
+
case "warning":
|
|
1687
|
+
return theme.palette.border.subtleWarning;
|
|
1688
|
+
case "success":
|
|
1689
|
+
return theme.palette.border.subtleSuccess;
|
|
1690
|
+
case "focused":
|
|
1691
|
+
return theme.palette.border.blueSubtle;
|
|
1692
|
+
case "hover":
|
|
1693
|
+
case "default":
|
|
1694
|
+
case "disabled":
|
|
1695
|
+
default:
|
|
1696
|
+
return theme.palette.border.main;
|
|
1697
|
+
}
|
|
1698
|
+
};
|
|
1699
|
+
const getBackgroundColorFromState = (state, theme) => {
|
|
1700
|
+
switch (state) {
|
|
1701
|
+
case "error":
|
|
1702
|
+
return theme.palette.background.subtleDestructive;
|
|
1703
|
+
case "warning":
|
|
1704
|
+
return theme.palette.background.subtleWarning;
|
|
1705
|
+
case "success":
|
|
1706
|
+
return theme.palette.background.subtleSuccess;
|
|
1707
|
+
case "disabled":
|
|
1708
|
+
return theme.palette.background.inputDisabled;
|
|
1709
|
+
case "default":
|
|
1710
|
+
case "focused":
|
|
1711
|
+
case "hover":
|
|
1712
|
+
default:
|
|
1713
|
+
return theme.palette.background.inputOutlined;
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
const getLabelColor = (state, theme) => {
|
|
1717
|
+
switch (state) {
|
|
1718
|
+
case "warning":
|
|
1719
|
+
return theme.palette.text.warning;
|
|
1720
|
+
case "success":
|
|
1721
|
+
return theme.palette.text.positive;
|
|
1722
|
+
case "error":
|
|
1723
|
+
return theme.palette.text.negative;
|
|
1724
|
+
default:
|
|
1725
|
+
return undefined;
|
|
1726
|
+
}
|
|
1727
|
+
};
|
|
1728
|
+
const getFieldSetBackgroundColor = (state, theme, variant) => {
|
|
1729
|
+
if (variant === "shaded" && state !== "disabled") {
|
|
1730
|
+
return `${theme.palette.background.inputShaded}${state === "error" ? " !important" : ""}`;
|
|
1731
|
+
}
|
|
1732
|
+
return getBackgroundColorFromState(state, theme);
|
|
1733
|
+
};
|
|
1734
|
+
const getBorderWidth$1 = size => {
|
|
1735
|
+
switch (size) {
|
|
1736
|
+
case "x-small":
|
|
1737
|
+
return "1px";
|
|
1738
|
+
case "small":
|
|
1739
|
+
return "1px";
|
|
1740
|
+
case "medium":
|
|
1741
|
+
return "1px";
|
|
1742
|
+
case "large":
|
|
1743
|
+
return "1px";
|
|
1744
|
+
case "x-large":
|
|
1745
|
+
return "1px";
|
|
1746
|
+
case "xx-large":
|
|
1747
|
+
return "2px";
|
|
1748
|
+
}
|
|
1749
|
+
};
|
|
1750
|
+
const getInputHeight = (size, theme) => {
|
|
1751
|
+
switch (size) {
|
|
1752
|
+
case "x-small":
|
|
1753
|
+
return theme.spacing(4);
|
|
1754
|
+
case "small":
|
|
1755
|
+
return theme.spacing(5);
|
|
1756
|
+
case "medium":
|
|
1757
|
+
return theme.spacing(7);
|
|
1758
|
+
case "large":
|
|
1759
|
+
return theme.spacing(8);
|
|
1760
|
+
case "x-large":
|
|
1761
|
+
return theme.spacing(10);
|
|
1762
|
+
case "xx-large":
|
|
1763
|
+
return theme.spacing(12);
|
|
1764
|
+
}
|
|
1765
|
+
};
|
|
1766
|
+
const getInputPaddingStyles = (size, theme) => {
|
|
1767
|
+
switch (size) {
|
|
1768
|
+
case "x-small":
|
|
1769
|
+
case "small":
|
|
1770
|
+
return {
|
|
1771
|
+
paddingLeft: theme.spacing(2),
|
|
1772
|
+
paddingRight: theme.spacing(2)
|
|
1773
|
+
};
|
|
1774
|
+
case "medium":
|
|
1775
|
+
return {
|
|
1776
|
+
paddingLeft: theme.spacing(3),
|
|
1777
|
+
paddingRight: theme.spacing(3)
|
|
1778
|
+
};
|
|
1779
|
+
case "large":
|
|
1780
|
+
case "x-large":
|
|
1781
|
+
case "xx-large":
|
|
1782
|
+
return {
|
|
1783
|
+
paddingLeft: theme.spacing(4),
|
|
1784
|
+
paddingRight: theme.spacing(4)
|
|
1785
|
+
};
|
|
1786
|
+
}
|
|
1787
|
+
};
|
|
1788
|
+
function getBorderRadius$1() {
|
|
1789
|
+
return "4px";
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* Get the vertical padding style for multiline input
|
|
1793
|
+
* @param size The size of the input
|
|
1794
|
+
* @param theme Theme used by MUI
|
|
1795
|
+
*/
|
|
1796
|
+
const getMultilineVerticalPaddingStyles = (size, theme) => {
|
|
1797
|
+
switch (size) {
|
|
1798
|
+
case "x-small":
|
|
1799
|
+
return {
|
|
1800
|
+
paddingTop: 0,
|
|
1801
|
+
paddingBottom: 0
|
|
1802
|
+
};
|
|
1803
|
+
case "small":
|
|
1804
|
+
case "medium":
|
|
1805
|
+
return {
|
|
1806
|
+
paddingTop: theme.spacing(1),
|
|
1807
|
+
paddingBottom: theme.spacing(1)
|
|
1808
|
+
};
|
|
1809
|
+
case "large":
|
|
1810
|
+
return {
|
|
1811
|
+
paddingTop: theme.spacing(2),
|
|
1812
|
+
paddingBottom: theme.spacing(2)
|
|
1813
|
+
};
|
|
1814
|
+
case "x-large":
|
|
1815
|
+
return {
|
|
1816
|
+
paddingTop: theme.spacing(3),
|
|
1817
|
+
paddingBottom: theme.spacing(3)
|
|
1818
|
+
};
|
|
1819
|
+
case "xx-large":
|
|
1820
|
+
return {
|
|
1821
|
+
paddingTop: theme.spacing(4),
|
|
1822
|
+
paddingBottom: theme.spacing(4)
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
};
|
|
1826
|
+
const typographyNameFromSizeMap = {
|
|
1827
|
+
"x-small": {
|
|
1828
|
+
label: "uiText12SemiBold",
|
|
1829
|
+
labelDiminished: "uiText12Regular",
|
|
1830
|
+
text: "uiText12Regular",
|
|
1831
|
+
textDiminished: "uiText12Regular",
|
|
1832
|
+
helperText: "uiText12Regular"
|
|
1833
|
+
},
|
|
1834
|
+
small: {
|
|
1835
|
+
label: "uiText12SemiBold",
|
|
1836
|
+
labelDiminished: "uiText12Regular",
|
|
1837
|
+
text: "uiText12Regular",
|
|
1838
|
+
textDiminished: "uiText12Regular",
|
|
1839
|
+
helperText: "uiText12Regular"
|
|
1840
|
+
},
|
|
1841
|
+
medium: {
|
|
1842
|
+
label: "uiText14SemiBold",
|
|
1843
|
+
labelDiminished: "uiText14Regular",
|
|
1844
|
+
text: "uiText14Regular",
|
|
1845
|
+
textDiminished: "uiText12Regular",
|
|
1846
|
+
helperText: "uiText12Regular"
|
|
1847
|
+
},
|
|
1848
|
+
large: {
|
|
1849
|
+
label: "uiText14SemiBold",
|
|
1850
|
+
labelDiminished: "uiText14Regular",
|
|
1851
|
+
text: "uiText14Regular",
|
|
1852
|
+
textDiminished: "uiText12Regular",
|
|
1853
|
+
helperText: "uiText12Regular"
|
|
1854
|
+
},
|
|
1855
|
+
"x-large": {
|
|
1856
|
+
label: "heading18SemiBold",
|
|
1857
|
+
labelDiminished: "paragraph18Regular",
|
|
1858
|
+
text: "paragraph18Regular",
|
|
1859
|
+
textDiminished: "uiText12Regular",
|
|
1860
|
+
helperText: "uiText12Regular"
|
|
1861
|
+
},
|
|
1862
|
+
"xx-large": {
|
|
1863
|
+
label: "hmiText20SemiBold",
|
|
1864
|
+
labelDiminished: "hmiText20Regular",
|
|
1865
|
+
text: "uiText18Regular",
|
|
1866
|
+
textDiminished: "uiText12Regular",
|
|
1867
|
+
helperText: "paragraph18Regular"
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
const getTypography = (size, theme) => {
|
|
1871
|
+
return {
|
|
1872
|
+
label: theme.typography[typographyNameFromSizeMap[size].label],
|
|
1873
|
+
labelDiminished: theme.typography[typographyNameFromSizeMap[size].labelDiminished],
|
|
1874
|
+
text: theme.typography[typographyNameFromSizeMap[size].text],
|
|
1875
|
+
textDiminished: theme.typography[typographyNameFromSizeMap[size].textDiminished],
|
|
1876
|
+
helperText: theme.typography[typographyNameFromSizeMap[size].helperText]
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1682
1880
|
function getButtonStylingPropertiesGivenProps(variant, size, theme) {
|
|
1683
1881
|
const {
|
|
1684
1882
|
buttonText,
|
|
@@ -1768,28 +1966,6 @@ function getButtonStylingPropertiesGivenProps(variant, size, theme) {
|
|
|
1768
1966
|
};
|
|
1769
1967
|
}
|
|
1770
1968
|
}
|
|
1771
|
-
function getButtonHeight(size, theme) {
|
|
1772
|
-
switch (size) {
|
|
1773
|
-
case "small":
|
|
1774
|
-
return theme.spacing(5);
|
|
1775
|
-
// 24px
|
|
1776
|
-
case "medium":
|
|
1777
|
-
return theme.spacing(7);
|
|
1778
|
-
// 32px
|
|
1779
|
-
case "large":
|
|
1780
|
-
return theme.spacing(8);
|
|
1781
|
-
// 40px
|
|
1782
|
-
case "x-large":
|
|
1783
|
-
return theme.spacing(10);
|
|
1784
|
-
// 56px
|
|
1785
|
-
case "xx-large":
|
|
1786
|
-
return theme.spacing(12);
|
|
1787
|
-
// 80px
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
function getBorderRadius$1() {
|
|
1791
|
-
return "4px";
|
|
1792
|
-
}
|
|
1793
1969
|
function getButtonIconSize(size) {
|
|
1794
1970
|
switch (size) {
|
|
1795
1971
|
case "small":
|
|
@@ -1814,7 +1990,7 @@ const defaultProps$8 = {
|
|
|
1814
1990
|
const VentionSpinner = props => {
|
|
1815
1991
|
const {
|
|
1816
1992
|
classes
|
|
1817
|
-
} = useStyles$
|
|
1993
|
+
} = useStyles$K({
|
|
1818
1994
|
size: props.size,
|
|
1819
1995
|
colored: props.colored,
|
|
1820
1996
|
type: props.type,
|
|
@@ -1864,7 +2040,7 @@ const VentionSpinner = props => {
|
|
|
1864
2040
|
})]
|
|
1865
2041
|
});
|
|
1866
2042
|
};
|
|
1867
|
-
const useStyles$
|
|
2043
|
+
const useStyles$K = tss.withParams().create(({
|
|
1868
2044
|
size,
|
|
1869
2045
|
colored,
|
|
1870
2046
|
color,
|
|
@@ -2022,10 +2198,10 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
|
|
|
2022
2198
|
|
|
2023
2199
|
var getBuiltIn$4 = getBuiltIn$8;
|
|
2024
2200
|
var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
|
|
2025
|
-
var wellKnownSymbol$
|
|
2201
|
+
var wellKnownSymbol$d = wellKnownSymbol$k;
|
|
2026
2202
|
var DESCRIPTORS$6 = descriptors;
|
|
2027
2203
|
|
|
2028
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2204
|
+
var SPECIES$3 = wellKnownSymbol$d('species');
|
|
2029
2205
|
|
|
2030
2206
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2031
2207
|
var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
|
|
@@ -2047,9 +2223,9 @@ var anInstance$2 = function (it, Prototype) {
|
|
|
2047
2223
|
throw new $TypeError$d('Incorrect invocation');
|
|
2048
2224
|
};
|
|
2049
2225
|
|
|
2050
|
-
var wellKnownSymbol$
|
|
2226
|
+
var wellKnownSymbol$c = wellKnownSymbol$k;
|
|
2051
2227
|
|
|
2052
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
2228
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$c('toStringTag');
|
|
2053
2229
|
var test$1 = {};
|
|
2054
2230
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2055
2231
|
test$1[TO_STRING_TAG$3] = 'z';
|
|
@@ -2057,11 +2233,11 @@ test$1[TO_STRING_TAG$3] = 'z';
|
|
|
2057
2233
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2058
2234
|
|
|
2059
2235
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2060
|
-
var isCallable$
|
|
2236
|
+
var isCallable$a = isCallable$o;
|
|
2061
2237
|
var classofRaw$1 = classofRaw$2;
|
|
2062
|
-
var wellKnownSymbol$
|
|
2238
|
+
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
2063
2239
|
|
|
2064
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2240
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$b('toStringTag');
|
|
2065
2241
|
var $Object = Object;
|
|
2066
2242
|
|
|
2067
2243
|
// ES3 wrong here
|
|
@@ -2083,12 +2259,12 @@ var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
2083
2259
|
// builtinTag case
|
|
2084
2260
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2085
2261
|
// ES3 arguments fallback
|
|
2086
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
2262
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
2087
2263
|
};
|
|
2088
2264
|
|
|
2089
|
-
var uncurryThis$
|
|
2090
|
-
var fails$
|
|
2091
|
-
var isCallable$
|
|
2265
|
+
var uncurryThis$e = functionUncurryThis;
|
|
2266
|
+
var fails$g = fails$s;
|
|
2267
|
+
var isCallable$9 = isCallable$o;
|
|
2092
2268
|
var classof$5 = classof$6;
|
|
2093
2269
|
var getBuiltIn$3 = getBuiltIn$8;
|
|
2094
2270
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -2096,11 +2272,11 @@ var inspectSource$1 = inspectSource$3;
|
|
|
2096
2272
|
var noop = function () { /* empty */ };
|
|
2097
2273
|
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
2098
2274
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2099
|
-
var exec$1 = uncurryThis$
|
|
2275
|
+
var exec$1 = uncurryThis$e(constructorRegExp.exec);
|
|
2100
2276
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2101
2277
|
|
|
2102
2278
|
var isConstructorModern = function isConstructor(argument) {
|
|
2103
|
-
if (!isCallable$
|
|
2279
|
+
if (!isCallable$9(argument)) return false;
|
|
2104
2280
|
try {
|
|
2105
2281
|
construct(noop, [], argument);
|
|
2106
2282
|
return true;
|
|
@@ -2110,7 +2286,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2110
2286
|
};
|
|
2111
2287
|
|
|
2112
2288
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2113
|
-
if (!isCallable$
|
|
2289
|
+
if (!isCallable$9(argument)) return false;
|
|
2114
2290
|
switch (classof$5(argument)) {
|
|
2115
2291
|
case 'AsyncFunction':
|
|
2116
2292
|
case 'GeneratorFunction':
|
|
@@ -2130,7 +2306,7 @@ isConstructorLegacy.sham = true;
|
|
|
2130
2306
|
|
|
2131
2307
|
// `IsConstructor` abstract operation
|
|
2132
2308
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2133
|
-
var isConstructor$1 = !construct || fails$
|
|
2309
|
+
var isConstructor$1 = !construct || fails$g(function () {
|
|
2134
2310
|
var called;
|
|
2135
2311
|
return isConstructorModern(isConstructorModern.call)
|
|
2136
2312
|
|| !isConstructorModern(Object)
|
|
@@ -2149,47 +2325,47 @@ var aConstructor$1 = function (argument) {
|
|
|
2149
2325
|
throw new $TypeError$c(tryToString$3(argument) + ' is not a constructor');
|
|
2150
2326
|
};
|
|
2151
2327
|
|
|
2152
|
-
var anObject$
|
|
2328
|
+
var anObject$h = anObject$m;
|
|
2153
2329
|
var aConstructor = aConstructor$1;
|
|
2154
2330
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2155
|
-
var wellKnownSymbol$
|
|
2331
|
+
var wellKnownSymbol$a = wellKnownSymbol$k;
|
|
2156
2332
|
|
|
2157
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2333
|
+
var SPECIES$2 = wellKnownSymbol$a('species');
|
|
2158
2334
|
|
|
2159
2335
|
// `SpeciesConstructor` abstract operation
|
|
2160
2336
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2161
2337
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2162
|
-
var C = anObject$
|
|
2338
|
+
var C = anObject$h(O).constructor;
|
|
2163
2339
|
var S;
|
|
2164
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
2340
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$h(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
2165
2341
|
};
|
|
2166
2342
|
|
|
2167
2343
|
var NATIVE_BIND$1 = functionBindNative;
|
|
2168
2344
|
|
|
2169
2345
|
var FunctionPrototype = Function.prototype;
|
|
2170
|
-
var apply$
|
|
2171
|
-
var call$
|
|
2346
|
+
var apply$4 = FunctionPrototype.apply;
|
|
2347
|
+
var call$j = FunctionPrototype.call;
|
|
2172
2348
|
|
|
2173
2349
|
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2174
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
2175
|
-
return call$
|
|
2350
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$j.bind(apply$4) : function () {
|
|
2351
|
+
return call$j.apply(apply$4, arguments);
|
|
2176
2352
|
});
|
|
2177
2353
|
|
|
2178
2354
|
var classofRaw = classofRaw$2;
|
|
2179
|
-
var uncurryThis$
|
|
2355
|
+
var uncurryThis$d = functionUncurryThis;
|
|
2180
2356
|
|
|
2181
2357
|
var functionUncurryThisClause = function (fn) {
|
|
2182
2358
|
// Nashorn bug:
|
|
2183
2359
|
// https://github.com/zloirock/core-js/issues/1128
|
|
2184
2360
|
// https://github.com/zloirock/core-js/issues/1130
|
|
2185
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
2361
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$d(fn);
|
|
2186
2362
|
};
|
|
2187
2363
|
|
|
2188
|
-
var uncurryThis$
|
|
2364
|
+
var uncurryThis$c = functionUncurryThisClause;
|
|
2189
2365
|
var aCallable$e = aCallable$h;
|
|
2190
2366
|
var NATIVE_BIND = functionBindNative;
|
|
2191
2367
|
|
|
2192
|
-
var bind$4 = uncurryThis$
|
|
2368
|
+
var bind$4 = uncurryThis$c(uncurryThis$c.bind);
|
|
2193
2369
|
|
|
2194
2370
|
// optional / simple context binding
|
|
2195
2371
|
var functionBindContext = function (fn, that) {
|
|
@@ -2199,9 +2375,9 @@ var functionBindContext = function (fn, that) {
|
|
|
2199
2375
|
};
|
|
2200
2376
|
};
|
|
2201
2377
|
|
|
2202
|
-
var uncurryThis$
|
|
2378
|
+
var uncurryThis$b = functionUncurryThis;
|
|
2203
2379
|
|
|
2204
|
-
var arraySlice$2 = uncurryThis$
|
|
2380
|
+
var arraySlice$2 = uncurryThis$b([].slice);
|
|
2205
2381
|
|
|
2206
2382
|
var $TypeError$b = TypeError;
|
|
2207
2383
|
|
|
@@ -2215,11 +2391,11 @@ var userAgent$4 = environmentUserAgent;
|
|
|
2215
2391
|
var environmentIsIos = /ipad|iphone|ipod/i.test(userAgent$4) && /applewebkit/i.test(userAgent$4);
|
|
2216
2392
|
|
|
2217
2393
|
var globalThis$e = globalThis_1;
|
|
2218
|
-
var apply$
|
|
2394
|
+
var apply$3 = functionApply;
|
|
2219
2395
|
var bind$3 = functionBindContext;
|
|
2220
|
-
var isCallable$
|
|
2396
|
+
var isCallable$8 = isCallable$o;
|
|
2221
2397
|
var hasOwn$4 = hasOwnProperty_1;
|
|
2222
|
-
var fails$
|
|
2398
|
+
var fails$f = fails$s;
|
|
2223
2399
|
var html = html$2;
|
|
2224
2400
|
var arraySlice$1 = arraySlice$2;
|
|
2225
2401
|
var createElement = documentCreateElement$2;
|
|
@@ -2239,7 +2415,7 @@ var queue$2 = {};
|
|
|
2239
2415
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2240
2416
|
var $location, defer, channel, port;
|
|
2241
2417
|
|
|
2242
|
-
fails$
|
|
2418
|
+
fails$f(function () {
|
|
2243
2419
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2244
2420
|
$location = globalThis$e.location;
|
|
2245
2421
|
});
|
|
@@ -2271,10 +2447,10 @@ var globalPostMessageDefer = function (id) {
|
|
|
2271
2447
|
if (!set$2 || !clear) {
|
|
2272
2448
|
set$2 = function setImmediate(handler) {
|
|
2273
2449
|
validateArgumentsLength(arguments.length, 1);
|
|
2274
|
-
var fn = isCallable$
|
|
2450
|
+
var fn = isCallable$8(handler) ? handler : Function$1(handler);
|
|
2275
2451
|
var args = arraySlice$1(arguments, 1);
|
|
2276
2452
|
queue$2[++counter] = function () {
|
|
2277
|
-
apply$
|
|
2453
|
+
apply$3(fn, undefined, args);
|
|
2278
2454
|
};
|
|
2279
2455
|
defer(counter);
|
|
2280
2456
|
return counter;
|
|
@@ -2303,10 +2479,10 @@ if (!set$2 || !clear) {
|
|
|
2303
2479
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2304
2480
|
} else if (
|
|
2305
2481
|
globalThis$e.addEventListener &&
|
|
2306
|
-
isCallable$
|
|
2482
|
+
isCallable$8(globalThis$e.postMessage) &&
|
|
2307
2483
|
!globalThis$e.importScripts &&
|
|
2308
2484
|
$location && $location.protocol !== 'file:' &&
|
|
2309
|
-
!fails$
|
|
2485
|
+
!fails$f(globalPostMessageDefer)
|
|
2310
2486
|
) {
|
|
2311
2487
|
defer = globalPostMessageDefer;
|
|
2312
2488
|
globalThis$e.addEventListener('message', eventListener, false);
|
|
@@ -2475,17 +2651,17 @@ var promiseNativeConstructor = globalThis$b.Promise;
|
|
|
2475
2651
|
|
|
2476
2652
|
var globalThis$a = globalThis_1;
|
|
2477
2653
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2478
|
-
var isCallable$
|
|
2654
|
+
var isCallable$7 = isCallable$o;
|
|
2479
2655
|
var isForced = isForced_1;
|
|
2480
2656
|
var inspectSource = inspectSource$3;
|
|
2481
|
-
var wellKnownSymbol$
|
|
2657
|
+
var wellKnownSymbol$9 = wellKnownSymbol$k;
|
|
2482
2658
|
var ENVIRONMENT = environment;
|
|
2483
2659
|
var V8_VERSION = environmentV8Version;
|
|
2484
2660
|
|
|
2485
2661
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2486
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
2662
|
+
var SPECIES$1 = wellKnownSymbol$9('species');
|
|
2487
2663
|
var SUBCLASSING = false;
|
|
2488
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
2664
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$7(globalThis$a.PromiseRejectionEvent);
|
|
2489
2665
|
|
|
2490
2666
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
2491
2667
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2544,14 +2720,14 @@ var $$n = _export;
|
|
|
2544
2720
|
var IS_NODE$1 = environmentIsNode;
|
|
2545
2721
|
var globalThis$9 = globalThis_1;
|
|
2546
2722
|
var path = path$1;
|
|
2547
|
-
var call$
|
|
2723
|
+
var call$i = functionCall;
|
|
2548
2724
|
var defineBuiltIn$4 = defineBuiltIn$8;
|
|
2549
2725
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
2550
2726
|
var setToStringTag = setToStringTag$4;
|
|
2551
2727
|
var setSpecies = setSpecies$1;
|
|
2552
2728
|
var aCallable$c = aCallable$h;
|
|
2553
|
-
var isCallable$
|
|
2554
|
-
var isObject$
|
|
2729
|
+
var isCallable$6 = isCallable$o;
|
|
2730
|
+
var isObject$6 = isObject$f;
|
|
2555
2731
|
var anInstance$1 = anInstance$2;
|
|
2556
2732
|
var speciesConstructor = speciesConstructor$1;
|
|
2557
2733
|
var task = task$1.set;
|
|
@@ -2593,7 +2769,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
2593
2769
|
// helpers
|
|
2594
2770
|
var isThenable = function (it) {
|
|
2595
2771
|
var then;
|
|
2596
|
-
return isObject$
|
|
2772
|
+
return isObject$6(it) && isCallable$6(then = it.then) ? then : false;
|
|
2597
2773
|
};
|
|
2598
2774
|
|
|
2599
2775
|
var callReaction = function (reaction, state) {
|
|
@@ -2622,7 +2798,7 @@ var callReaction = function (reaction, state) {
|
|
|
2622
2798
|
if (result === reaction.promise) {
|
|
2623
2799
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
2624
2800
|
} else if (then = isThenable(result)) {
|
|
2625
|
-
call$
|
|
2801
|
+
call$i(then, result, resolve, reject);
|
|
2626
2802
|
} else resolve(result);
|
|
2627
2803
|
} else reject(value);
|
|
2628
2804
|
} catch (error) {
|
|
@@ -2659,7 +2835,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2659
2835
|
};
|
|
2660
2836
|
|
|
2661
2837
|
var onUnhandled = function (state) {
|
|
2662
|
-
call$
|
|
2838
|
+
call$i(task, globalThis$9, function () {
|
|
2663
2839
|
var promise = state.facade;
|
|
2664
2840
|
var value = state.value;
|
|
2665
2841
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2682,7 +2858,7 @@ var isUnhandled = function (state) {
|
|
|
2682
2858
|
};
|
|
2683
2859
|
|
|
2684
2860
|
var onHandleUnhandled = function (state) {
|
|
2685
|
-
call$
|
|
2861
|
+
call$i(task, globalThis$9, function () {
|
|
2686
2862
|
var promise = state.facade;
|
|
2687
2863
|
if (IS_NODE$1) {
|
|
2688
2864
|
process.emit('rejectionHandled', promise);
|
|
@@ -2716,7 +2892,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2716
2892
|
microtask(function () {
|
|
2717
2893
|
var wrapper = { done: false };
|
|
2718
2894
|
try {
|
|
2719
|
-
call$
|
|
2895
|
+
call$i(then, value,
|
|
2720
2896
|
bind$1(internalResolve, wrapper, state),
|
|
2721
2897
|
bind$1(internalReject, wrapper, state)
|
|
2722
2898
|
);
|
|
@@ -2740,7 +2916,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2740
2916
|
PromiseConstructor = function Promise(executor) {
|
|
2741
2917
|
anInstance$1(this, PromisePrototype);
|
|
2742
2918
|
aCallable$c(executor);
|
|
2743
|
-
call$
|
|
2919
|
+
call$i(Internal, this);
|
|
2744
2920
|
var state = getInternalPromiseState(this);
|
|
2745
2921
|
try {
|
|
2746
2922
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -2771,8 +2947,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2771
2947
|
var state = getInternalPromiseState(this);
|
|
2772
2948
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
2773
2949
|
state.parent = true;
|
|
2774
|
-
reaction.ok = isCallable$
|
|
2775
|
-
reaction.fail = isCallable$
|
|
2950
|
+
reaction.ok = isCallable$6(onFulfilled) ? onFulfilled : true;
|
|
2951
|
+
reaction.fail = isCallable$6(onRejected) && onRejected;
|
|
2776
2952
|
reaction.domain = IS_NODE$1 ? process.domain : undefined;
|
|
2777
2953
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
2778
2954
|
else microtask(function () {
|
|
@@ -2795,7 +2971,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2795
2971
|
: newGenericPromiseCapability(C);
|
|
2796
2972
|
};
|
|
2797
2973
|
|
|
2798
|
-
if (isCallable$
|
|
2974
|
+
if (isCallable$6(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
2799
2975
|
nativeThen = NativePromisePrototype$1.then;
|
|
2800
2976
|
|
|
2801
2977
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -2803,7 +2979,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2803
2979
|
defineBuiltIn$4(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
2804
2980
|
var that = this;
|
|
2805
2981
|
return new PromiseConstructor(function (resolve, reject) {
|
|
2806
|
-
call$
|
|
2982
|
+
call$i(nativeThen, that, resolve, reject);
|
|
2807
2983
|
}).then(onFulfilled, onRejected);
|
|
2808
2984
|
// https://github.com/zloirock/core-js/issues/640
|
|
2809
2985
|
}, { unsafe: true });
|
|
@@ -2832,10 +3008,10 @@ PromiseWrapper = path.Promise;
|
|
|
2832
3008
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
2833
3009
|
setSpecies(PROMISE);
|
|
2834
3010
|
|
|
2835
|
-
var wellKnownSymbol$
|
|
3011
|
+
var wellKnownSymbol$8 = wellKnownSymbol$k;
|
|
2836
3012
|
var Iterators$1 = iterators;
|
|
2837
3013
|
|
|
2838
|
-
var ITERATOR$3 = wellKnownSymbol$
|
|
3014
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
2839
3015
|
var ArrayPrototype = Array.prototype;
|
|
2840
3016
|
|
|
2841
3017
|
// check on default Array iterator
|
|
@@ -2844,22 +3020,22 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
2844
3020
|
};
|
|
2845
3021
|
|
|
2846
3022
|
var classof$4 = classof$6;
|
|
2847
|
-
var getMethod$
|
|
3023
|
+
var getMethod$4 = getMethod$6;
|
|
2848
3024
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
2849
3025
|
var Iterators = iterators;
|
|
2850
|
-
var wellKnownSymbol$
|
|
3026
|
+
var wellKnownSymbol$7 = wellKnownSymbol$k;
|
|
2851
3027
|
|
|
2852
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
3028
|
+
var ITERATOR$2 = wellKnownSymbol$7('iterator');
|
|
2853
3029
|
|
|
2854
3030
|
var getIteratorMethod$2 = function (it) {
|
|
2855
|
-
if (!isNullOrUndefined(it)) return getMethod$
|
|
2856
|
-
|| getMethod$
|
|
3031
|
+
if (!isNullOrUndefined(it)) return getMethod$4(it, ITERATOR$2)
|
|
3032
|
+
|| getMethod$4(it, '@@iterator')
|
|
2857
3033
|
|| Iterators[classof$4(it)];
|
|
2858
3034
|
};
|
|
2859
3035
|
|
|
2860
|
-
var call$
|
|
3036
|
+
var call$h = functionCall;
|
|
2861
3037
|
var aCallable$b = aCallable$h;
|
|
2862
|
-
var anObject$
|
|
3038
|
+
var anObject$g = anObject$m;
|
|
2863
3039
|
var tryToString$2 = tryToString$5;
|
|
2864
3040
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
2865
3041
|
|
|
@@ -2867,37 +3043,37 @@ var $TypeError$9 = TypeError;
|
|
|
2867
3043
|
|
|
2868
3044
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2869
3045
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2870
|
-
if (aCallable$b(iteratorMethod)) return anObject$
|
|
3046
|
+
if (aCallable$b(iteratorMethod)) return anObject$g(call$h(iteratorMethod, argument));
|
|
2871
3047
|
throw new $TypeError$9(tryToString$2(argument) + ' is not iterable');
|
|
2872
3048
|
};
|
|
2873
3049
|
|
|
2874
|
-
var call$
|
|
2875
|
-
var anObject$
|
|
2876
|
-
var getMethod$
|
|
3050
|
+
var call$g = functionCall;
|
|
3051
|
+
var anObject$f = anObject$m;
|
|
3052
|
+
var getMethod$3 = getMethod$6;
|
|
2877
3053
|
|
|
2878
3054
|
var iteratorClose$a = function (iterator, kind, value) {
|
|
2879
3055
|
var innerResult, innerError;
|
|
2880
|
-
anObject$
|
|
3056
|
+
anObject$f(iterator);
|
|
2881
3057
|
try {
|
|
2882
|
-
innerResult = getMethod$
|
|
3058
|
+
innerResult = getMethod$3(iterator, 'return');
|
|
2883
3059
|
if (!innerResult) {
|
|
2884
3060
|
if (kind === 'throw') throw value;
|
|
2885
3061
|
return value;
|
|
2886
3062
|
}
|
|
2887
|
-
innerResult = call$
|
|
3063
|
+
innerResult = call$g(innerResult, iterator);
|
|
2888
3064
|
} catch (error) {
|
|
2889
3065
|
innerError = true;
|
|
2890
3066
|
innerResult = error;
|
|
2891
3067
|
}
|
|
2892
3068
|
if (kind === 'throw') throw value;
|
|
2893
3069
|
if (innerError) throw innerResult;
|
|
2894
|
-
anObject$
|
|
3070
|
+
anObject$f(innerResult);
|
|
2895
3071
|
return value;
|
|
2896
3072
|
};
|
|
2897
3073
|
|
|
2898
3074
|
var bind = functionBindContext;
|
|
2899
|
-
var call$
|
|
2900
|
-
var anObject$
|
|
3075
|
+
var call$f = functionCall;
|
|
3076
|
+
var anObject$e = anObject$m;
|
|
2901
3077
|
var tryToString$1 = tryToString$5;
|
|
2902
3078
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2903
3079
|
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
@@ -2933,7 +3109,7 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
2933
3109
|
|
|
2934
3110
|
var callFn = function (value) {
|
|
2935
3111
|
if (AS_ENTRIES) {
|
|
2936
|
-
anObject$
|
|
3112
|
+
anObject$e(value);
|
|
2937
3113
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2938
3114
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2939
3115
|
};
|
|
@@ -2956,7 +3132,7 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
2956
3132
|
}
|
|
2957
3133
|
|
|
2958
3134
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2959
|
-
while (!(step = call$
|
|
3135
|
+
while (!(step = call$f(next, iterator)).done) {
|
|
2960
3136
|
// `IteratorValue` errors should propagate without closing the iterator
|
|
2961
3137
|
var value = step.value;
|
|
2962
3138
|
try {
|
|
@@ -2969,9 +3145,9 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
2969
3145
|
} return new Result(false);
|
|
2970
3146
|
};
|
|
2971
3147
|
|
|
2972
|
-
var wellKnownSymbol$
|
|
3148
|
+
var wellKnownSymbol$6 = wellKnownSymbol$k;
|
|
2973
3149
|
|
|
2974
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3150
|
+
var ITERATOR$1 = wellKnownSymbol$6('iterator');
|
|
2975
3151
|
var SAFE_CLOSING = false;
|
|
2976
3152
|
|
|
2977
3153
|
try {
|
|
@@ -3021,7 +3197,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3021
3197
|
});
|
|
3022
3198
|
|
|
3023
3199
|
var $$m = _export;
|
|
3024
|
-
var call$
|
|
3200
|
+
var call$e = functionCall;
|
|
3025
3201
|
var aCallable$a = aCallable$h;
|
|
3026
3202
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3027
3203
|
var perform$1 = perform$3;
|
|
@@ -3045,7 +3221,7 @@ $$m({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3045
3221
|
var index = counter++;
|
|
3046
3222
|
var alreadyCalled = false;
|
|
3047
3223
|
remaining++;
|
|
3048
|
-
call$
|
|
3224
|
+
call$e($promiseResolve, C, promise).then(function (value) {
|
|
3049
3225
|
if (alreadyCalled) return;
|
|
3050
3226
|
alreadyCalled = true;
|
|
3051
3227
|
values[index] = value;
|
|
@@ -3063,7 +3239,7 @@ var $$l = _export;
|
|
|
3063
3239
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3064
3240
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3065
3241
|
var getBuiltIn$2 = getBuiltIn$8;
|
|
3066
|
-
var isCallable$
|
|
3242
|
+
var isCallable$5 = isCallable$o;
|
|
3067
3243
|
var defineBuiltIn$3 = defineBuiltIn$8;
|
|
3068
3244
|
|
|
3069
3245
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
@@ -3077,7 +3253,7 @@ $$l({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real
|
|
|
3077
3253
|
});
|
|
3078
3254
|
|
|
3079
3255
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3080
|
-
if (isCallable$
|
|
3256
|
+
if (isCallable$5(NativePromiseConstructor)) {
|
|
3081
3257
|
var method = getBuiltIn$2('Promise').prototype['catch'];
|
|
3082
3258
|
if (NativePromisePrototype['catch'] !== method) {
|
|
3083
3259
|
defineBuiltIn$3(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
@@ -3085,7 +3261,7 @@ if (isCallable$4(NativePromiseConstructor)) {
|
|
|
3085
3261
|
}
|
|
3086
3262
|
|
|
3087
3263
|
var $$k = _export;
|
|
3088
|
-
var call$
|
|
3264
|
+
var call$d = functionCall;
|
|
3089
3265
|
var aCallable$9 = aCallable$h;
|
|
3090
3266
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3091
3267
|
var perform = perform$3;
|
|
@@ -3102,7 +3278,7 @@ $$k({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3102
3278
|
var result = perform(function () {
|
|
3103
3279
|
var $promiseResolve = aCallable$9(C.resolve);
|
|
3104
3280
|
iterate$4(iterable, function (promise) {
|
|
3105
|
-
call$
|
|
3281
|
+
call$d($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3106
3282
|
});
|
|
3107
3283
|
});
|
|
3108
3284
|
if (result.error) reject(result.value);
|
|
@@ -3125,13 +3301,13 @@ $$j({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3125
3301
|
}
|
|
3126
3302
|
});
|
|
3127
3303
|
|
|
3128
|
-
var anObject$
|
|
3129
|
-
var isObject$
|
|
3304
|
+
var anObject$d = anObject$m;
|
|
3305
|
+
var isObject$5 = isObject$f;
|
|
3130
3306
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3131
3307
|
|
|
3132
3308
|
var promiseResolve$1 = function (C, x) {
|
|
3133
|
-
anObject$
|
|
3134
|
-
if (isObject$
|
|
3309
|
+
anObject$d(C);
|
|
3310
|
+
if (isObject$5(x) && x.constructor === C) return x;
|
|
3135
3311
|
var promiseCapability = newPromiseCapability.f(C);
|
|
3136
3312
|
var resolve = promiseCapability.resolve;
|
|
3137
3313
|
resolve(x);
|
|
@@ -3621,7 +3797,7 @@ function isVentionIconType(value) {
|
|
|
3621
3797
|
const VentionIcon = /*#__PURE__*/memo(props => {
|
|
3622
3798
|
const {
|
|
3623
3799
|
classes
|
|
3624
|
-
} = useStyles$
|
|
3800
|
+
} = useStyles$J({
|
|
3625
3801
|
size: props.size || 24,
|
|
3626
3802
|
color: props.color,
|
|
3627
3803
|
hoverColor: props.hoverColor
|
|
@@ -3641,7 +3817,7 @@ const VentionIcon = /*#__PURE__*/memo(props => {
|
|
|
3641
3817
|
});
|
|
3642
3818
|
});
|
|
3643
3819
|
VentionIcon.displayName = "VentionIcon";
|
|
3644
|
-
const useStyles$
|
|
3820
|
+
const useStyles$J = tss.withParams().create(({
|
|
3645
3821
|
theme,
|
|
3646
3822
|
size,
|
|
3647
3823
|
color,
|
|
@@ -4324,7 +4500,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4324
4500
|
const {
|
|
4325
4501
|
classes,
|
|
4326
4502
|
cx
|
|
4327
|
-
} = useStyles$
|
|
4503
|
+
} = useStyles$I({
|
|
4328
4504
|
variant: variant,
|
|
4329
4505
|
size: size,
|
|
4330
4506
|
fullWidth: fullWidth
|
|
@@ -4351,7 +4527,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4351
4527
|
})
|
|
4352
4528
|
}));
|
|
4353
4529
|
});
|
|
4354
|
-
const useStyles$
|
|
4530
|
+
const useStyles$I = tss.withParams().create(({
|
|
4355
4531
|
variant,
|
|
4356
4532
|
size,
|
|
4357
4533
|
fullWidth,
|
|
@@ -4366,7 +4542,7 @@ const useStyles$G = tss.withParams().create(({
|
|
|
4366
4542
|
whiteSpace: "nowrap"
|
|
4367
4543
|
},
|
|
4368
4544
|
root: Object.assign(Object.assign({
|
|
4369
|
-
height:
|
|
4545
|
+
height: getInputHeight(size, theme),
|
|
4370
4546
|
backgroundColor: stylingProperties.backgroundColor,
|
|
4371
4547
|
color: stylingProperties.textColor,
|
|
4372
4548
|
borderRadius: stylingProperties.borderRadius,
|
|
@@ -4469,7 +4645,7 @@ const VentionLink = inputProps => {
|
|
|
4469
4645
|
const linkProps = applyDefaultProps(inputProps, defaultProps$7);
|
|
4470
4646
|
const {
|
|
4471
4647
|
classes
|
|
4472
|
-
} = useStyles$
|
|
4648
|
+
} = useStyles$H({
|
|
4473
4649
|
underlined: linkProps.underlined,
|
|
4474
4650
|
size: linkProps.size
|
|
4475
4651
|
});
|
|
@@ -4486,7 +4662,7 @@ const VentionLink = inputProps => {
|
|
|
4486
4662
|
}) : null]
|
|
4487
4663
|
});
|
|
4488
4664
|
};
|
|
4489
|
-
const useStyles$
|
|
4665
|
+
const useStyles$H = tss.withParams().create(({
|
|
4490
4666
|
underlined,
|
|
4491
4667
|
size,
|
|
4492
4668
|
theme
|
|
@@ -4541,7 +4717,7 @@ function getGapSpaceForContent$1(isSingleLine, size) {
|
|
|
4541
4717
|
const VentionAlertControls = alertControlProps => {
|
|
4542
4718
|
const {
|
|
4543
4719
|
classes
|
|
4544
|
-
} = useStyles$
|
|
4720
|
+
} = useStyles$G(alertControlProps);
|
|
4545
4721
|
return alertControlProps.display ? jsxs(Stack, {
|
|
4546
4722
|
className: classes.alertControls,
|
|
4547
4723
|
children: [alertControlProps.primaryButtonText ? jsx(VentionButton, {
|
|
@@ -4563,7 +4739,7 @@ const VentionAlertControls = alertControlProps => {
|
|
|
4563
4739
|
}) : null]
|
|
4564
4740
|
}) : null;
|
|
4565
4741
|
};
|
|
4566
|
-
const useStyles$
|
|
4742
|
+
const useStyles$G = tss.withParams().create(({
|
|
4567
4743
|
isSingleLine,
|
|
4568
4744
|
size
|
|
4569
4745
|
}) => {
|
|
@@ -4588,7 +4764,7 @@ const VentionAlert = inputProps => {
|
|
|
4588
4764
|
const hasControlProps = !!(alertProps.linkText || alertProps.primaryButtonText || alertProps.secondaryButtonText);
|
|
4589
4765
|
const {
|
|
4590
4766
|
classes
|
|
4591
|
-
} = useStyles$
|
|
4767
|
+
} = useStyles$F(Object.assign(Object.assign({}, alertProps), {
|
|
4592
4768
|
hasControlProps
|
|
4593
4769
|
}));
|
|
4594
4770
|
const [titleTypography, descriptionTypography] = getTypographyVariant$2(alertProps.size);
|
|
@@ -4677,7 +4853,7 @@ function getRootMaxWidth(isSingleLine, isFullWidth) {
|
|
|
4677
4853
|
if (isSingleLine) return "inherit";
|
|
4678
4854
|
return "560px";
|
|
4679
4855
|
}
|
|
4680
|
-
const useStyles$
|
|
4856
|
+
const useStyles$F = tss.withParams().create(({
|
|
4681
4857
|
isSingleLine,
|
|
4682
4858
|
severity,
|
|
4683
4859
|
size,
|
|
@@ -4870,7 +5046,7 @@ const VentionBadge = props => {
|
|
|
4870
5046
|
const {
|
|
4871
5047
|
classes,
|
|
4872
5048
|
cx
|
|
4873
|
-
} = useStyles$
|
|
5049
|
+
} = useStyles$E({
|
|
4874
5050
|
size: props.size,
|
|
4875
5051
|
color: props.color,
|
|
4876
5052
|
variant: props.variant
|
|
@@ -4888,7 +5064,7 @@ const VentionBadge = props => {
|
|
|
4888
5064
|
})]
|
|
4889
5065
|
});
|
|
4890
5066
|
};
|
|
4891
|
-
const useStyles$
|
|
5067
|
+
const useStyles$E = tss.withParams().create(({
|
|
4892
5068
|
size,
|
|
4893
5069
|
color,
|
|
4894
5070
|
variant,
|
|
@@ -5057,7 +5233,7 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
5057
5233
|
const {
|
|
5058
5234
|
classes,
|
|
5059
5235
|
cx
|
|
5060
|
-
} = useStyles$
|
|
5236
|
+
} = useStyles$D({
|
|
5061
5237
|
variant: variant,
|
|
5062
5238
|
size: size
|
|
5063
5239
|
});
|
|
@@ -5072,13 +5248,13 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
5072
5248
|
}));
|
|
5073
5249
|
});
|
|
5074
5250
|
VentionIconButton.displayName = "VentionIconButton";
|
|
5075
|
-
const useStyles$
|
|
5251
|
+
const useStyles$D = tss.withParams().create(({
|
|
5076
5252
|
variant,
|
|
5077
5253
|
size,
|
|
5078
5254
|
theme
|
|
5079
5255
|
}) => {
|
|
5080
5256
|
const stylingProperties = getButtonStylingPropertiesGivenProps(variant, size, theme);
|
|
5081
|
-
const buttonSize =
|
|
5257
|
+
const buttonSize = getInputHeight(size, theme);
|
|
5082
5258
|
return {
|
|
5083
5259
|
root: {
|
|
5084
5260
|
padding: 0,
|
|
@@ -5129,7 +5305,7 @@ const VentionDropdownButton = _a => {
|
|
|
5129
5305
|
const {
|
|
5130
5306
|
classes,
|
|
5131
5307
|
cx
|
|
5132
|
-
} = useStyles$
|
|
5308
|
+
} = useStyles$C({
|
|
5133
5309
|
variant,
|
|
5134
5310
|
size,
|
|
5135
5311
|
contentColor,
|
|
@@ -5192,7 +5368,7 @@ const VentionDropdownButton = _a => {
|
|
|
5192
5368
|
})
|
|
5193
5369
|
});
|
|
5194
5370
|
};
|
|
5195
|
-
const useStyles$
|
|
5371
|
+
const useStyles$C = tss.withParams().create(({
|
|
5196
5372
|
variant,
|
|
5197
5373
|
size,
|
|
5198
5374
|
contentColor,
|
|
@@ -5205,7 +5381,7 @@ const useStyles$A = tss.withParams().create(({
|
|
|
5205
5381
|
return {
|
|
5206
5382
|
root: {
|
|
5207
5383
|
gap: BUTTON_GAPS[size],
|
|
5208
|
-
height:
|
|
5384
|
+
height: getInputHeight(size, theme),
|
|
5209
5385
|
padding: BUTTON_PADDINGS[size],
|
|
5210
5386
|
backgroundColor: stylingProperties.backgroundColor,
|
|
5211
5387
|
borderRadius: stylingProperties.borderRadius,
|
|
@@ -5304,7 +5480,7 @@ const VentionCallout = inputProps => {
|
|
|
5304
5480
|
const calloutProps = applyDefaultProps(inputProps, defaultProps$6);
|
|
5305
5481
|
const {
|
|
5306
5482
|
classes
|
|
5307
|
-
} = useStyles$
|
|
5483
|
+
} = useStyles$B({
|
|
5308
5484
|
isSingleLine: calloutProps.isSingleLine,
|
|
5309
5485
|
variant: calloutProps.variant,
|
|
5310
5486
|
size: calloutProps.size
|
|
@@ -5426,7 +5602,7 @@ function getBottomMarginForDescription(isSingleLine, size) {
|
|
|
5426
5602
|
}
|
|
5427
5603
|
return "16px";
|
|
5428
5604
|
}
|
|
5429
|
-
const useStyles$
|
|
5605
|
+
const useStyles$B = tss.withParams().create(({
|
|
5430
5606
|
isSingleLine,
|
|
5431
5607
|
variant,
|
|
5432
5608
|
size,
|
|
@@ -5459,18 +5635,18 @@ var classof$3 = classof$6;
|
|
|
5459
5635
|
|
|
5460
5636
|
var $String$1 = String;
|
|
5461
5637
|
|
|
5462
|
-
var toString$
|
|
5638
|
+
var toString$9 = function (argument) {
|
|
5463
5639
|
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
5464
5640
|
return $String$1(argument);
|
|
5465
5641
|
};
|
|
5466
5642
|
|
|
5467
5643
|
var globalThis$8 = globalThis_1;
|
|
5468
|
-
var fails$
|
|
5644
|
+
var fails$e = fails$s;
|
|
5469
5645
|
|
|
5470
5646
|
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
|
|
5471
5647
|
var RegExp$1 = globalThis$8.RegExp;
|
|
5472
5648
|
|
|
5473
|
-
var FLAGS_GETTER_IS_CORRECT = !fails$
|
|
5649
|
+
var FLAGS_GETTER_IS_CORRECT = !fails$e(function () {
|
|
5474
5650
|
var INDICES_SUPPORT = true;
|
|
5475
5651
|
try {
|
|
5476
5652
|
RegExp$1('.', 'd');
|
|
@@ -5511,12 +5687,12 @@ var FLAGS_GETTER_IS_CORRECT = !fails$d(function () {
|
|
|
5511
5687
|
|
|
5512
5688
|
var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
5513
5689
|
|
|
5514
|
-
var anObject$
|
|
5690
|
+
var anObject$c = anObject$m;
|
|
5515
5691
|
|
|
5516
5692
|
// `RegExp.prototype.flags` getter implementation
|
|
5517
5693
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
5518
5694
|
var regexpFlags$1 = function () {
|
|
5519
|
-
var that = anObject$
|
|
5695
|
+
var that = anObject$c(this);
|
|
5520
5696
|
var result = '';
|
|
5521
5697
|
if (that.hasIndices) result += 'd';
|
|
5522
5698
|
if (that.global) result += 'g';
|
|
@@ -5529,7 +5705,7 @@ var regexpFlags$1 = function () {
|
|
|
5529
5705
|
return result;
|
|
5530
5706
|
};
|
|
5531
5707
|
|
|
5532
|
-
var call$
|
|
5708
|
+
var call$c = functionCall;
|
|
5533
5709
|
var hasOwn$3 = hasOwnProperty_1;
|
|
5534
5710
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
5535
5711
|
var regExpFlagsDetection = regexpFlagsDetection;
|
|
@@ -5541,22 +5717,22 @@ var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
|
|
|
5541
5717
|
return it.flags;
|
|
5542
5718
|
} : function (it) {
|
|
5543
5719
|
return (!regExpFlagsDetection.correct && isPrototypeOf$2(RegExpPrototype$2, it) && !hasOwn$3(it, 'flags'))
|
|
5544
|
-
? call$
|
|
5720
|
+
? call$c(regExpFlagsGetterImplementation, it)
|
|
5545
5721
|
: it.flags;
|
|
5546
5722
|
};
|
|
5547
5723
|
|
|
5548
5724
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
5549
5725
|
var defineBuiltIn$2 = defineBuiltIn$8;
|
|
5550
|
-
var anObject$
|
|
5551
|
-
var $toString = toString$
|
|
5552
|
-
var fails$
|
|
5553
|
-
var getRegExpFlags = regexpGetFlags;
|
|
5726
|
+
var anObject$b = anObject$m;
|
|
5727
|
+
var $toString = toString$9;
|
|
5728
|
+
var fails$d = fails$s;
|
|
5729
|
+
var getRegExpFlags$1 = regexpGetFlags;
|
|
5554
5730
|
|
|
5555
5731
|
var TO_STRING = 'toString';
|
|
5556
5732
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
5557
5733
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
5558
5734
|
|
|
5559
|
-
var NOT_GENERIC = fails$
|
|
5735
|
+
var NOT_GENERIC = fails$d(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
5560
5736
|
// FF44- RegExp#toString has a wrong name
|
|
5561
5737
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
5562
5738
|
|
|
@@ -5564,9 +5740,9 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
5564
5740
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
5565
5741
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
5566
5742
|
defineBuiltIn$2(RegExpPrototype$1, TO_STRING, function toString() {
|
|
5567
|
-
var R = anObject$
|
|
5743
|
+
var R = anObject$b(this);
|
|
5568
5744
|
var pattern = $toString(R.source);
|
|
5569
|
-
var flags = $toString(getRegExpFlags(R));
|
|
5745
|
+
var flags = $toString(getRegExpFlags$1(R));
|
|
5570
5746
|
return '/' + pattern + '/' + flags;
|
|
5571
5747
|
}, { unsafe: true });
|
|
5572
5748
|
}
|
|
@@ -5574,7 +5750,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
5574
5750
|
const VentionCounter = props => {
|
|
5575
5751
|
const {
|
|
5576
5752
|
classes
|
|
5577
|
-
} = useStyles$
|
|
5753
|
+
} = useStyles$A({
|
|
5578
5754
|
size: props.size,
|
|
5579
5755
|
color: props.color,
|
|
5580
5756
|
variant: props.variant
|
|
@@ -5597,7 +5773,7 @@ const getShownValue = props => {
|
|
|
5597
5773
|
const displayCap = size === "small" ? 9 : 99;
|
|
5598
5774
|
return value > displayCap ? `${displayCap}+` : value.toString();
|
|
5599
5775
|
};
|
|
5600
|
-
const useStyles$
|
|
5776
|
+
const useStyles$A = tss.withParams().create(({
|
|
5601
5777
|
size,
|
|
5602
5778
|
color,
|
|
5603
5779
|
variant,
|
|
@@ -5747,7 +5923,7 @@ const VentionModalBase = props => {
|
|
|
5747
5923
|
const {
|
|
5748
5924
|
classes,
|
|
5749
5925
|
cx
|
|
5750
|
-
} = useStyles$
|
|
5926
|
+
} = useStyles$z({
|
|
5751
5927
|
modalSize,
|
|
5752
5928
|
isTouchDevice,
|
|
5753
5929
|
width
|
|
@@ -5825,7 +6001,7 @@ const getModalStyle = (modalSize, width) => {
|
|
|
5825
6001
|
};
|
|
5826
6002
|
return modalStyles[modalSize];
|
|
5827
6003
|
};
|
|
5828
|
-
const useStyles$
|
|
6004
|
+
const useStyles$z = tss.withParams().create(({
|
|
5829
6005
|
modalSize,
|
|
5830
6006
|
isTouchDevice,
|
|
5831
6007
|
width,
|
|
@@ -5894,7 +6070,7 @@ const VentionModal = props => {
|
|
|
5894
6070
|
} = props;
|
|
5895
6071
|
const {
|
|
5896
6072
|
classes
|
|
5897
|
-
} = useStyles$
|
|
6073
|
+
} = useStyles$y({
|
|
5898
6074
|
modalSize,
|
|
5899
6075
|
isTouchDevice,
|
|
5900
6076
|
type,
|
|
@@ -5972,7 +6148,7 @@ const VentionModal = props => {
|
|
|
5972
6148
|
})
|
|
5973
6149
|
});
|
|
5974
6150
|
};
|
|
5975
|
-
const useStyles$
|
|
6151
|
+
const useStyles$y = tss.withParams().create(({
|
|
5976
6152
|
type,
|
|
5977
6153
|
modalSize,
|
|
5978
6154
|
isTouchDevice,
|
|
@@ -6114,7 +6290,7 @@ const VentionProgressBar = inputProps => {
|
|
|
6114
6290
|
const isStatusState = props.state === "error" || props.state === "success";
|
|
6115
6291
|
const {
|
|
6116
6292
|
classes
|
|
6117
|
-
} = useStyles$
|
|
6293
|
+
} = useStyles$x({
|
|
6118
6294
|
size: props.size,
|
|
6119
6295
|
colored: props.colored,
|
|
6120
6296
|
state: props.state
|
|
@@ -6152,7 +6328,7 @@ const VentionProgressBar = inputProps => {
|
|
|
6152
6328
|
})]
|
|
6153
6329
|
});
|
|
6154
6330
|
};
|
|
6155
|
-
const useStyles$
|
|
6331
|
+
const useStyles$x = tss.withParams().create(({
|
|
6156
6332
|
size,
|
|
6157
6333
|
colored,
|
|
6158
6334
|
state,
|
|
@@ -6220,26 +6396,26 @@ VentionProgressBar.defaultProps = defaultProps$5;
|
|
|
6220
6396
|
var $$h = _export;
|
|
6221
6397
|
var DESCRIPTORS$4 = descriptors;
|
|
6222
6398
|
var globalThis$7 = globalThis_1;
|
|
6223
|
-
var call$
|
|
6224
|
-
var uncurryThis$
|
|
6399
|
+
var call$b = functionCall;
|
|
6400
|
+
var uncurryThis$a = functionUncurryThis;
|
|
6225
6401
|
var hasOwn$2 = hasOwnProperty_1;
|
|
6226
|
-
var isCallable$
|
|
6402
|
+
var isCallable$4 = isCallable$o;
|
|
6227
6403
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
6228
|
-
var toString$
|
|
6404
|
+
var toString$8 = toString$9;
|
|
6229
6405
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
|
|
6230
6406
|
var copyConstructorProperties$1 = copyConstructorProperties$3;
|
|
6231
6407
|
|
|
6232
6408
|
var NativeSymbol = globalThis$7.Symbol;
|
|
6233
6409
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
6234
6410
|
|
|
6235
|
-
if (DESCRIPTORS$4 && isCallable$
|
|
6411
|
+
if (DESCRIPTORS$4 && isCallable$4(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
6236
6412
|
// Safari 12 bug
|
|
6237
6413
|
NativeSymbol().description !== undefined
|
|
6238
6414
|
)) {
|
|
6239
6415
|
var EmptyStringDescriptionStore = {};
|
|
6240
6416
|
// wrap Symbol constructor for correct work with undefined description
|
|
6241
6417
|
var SymbolWrapper = function Symbol() {
|
|
6242
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$
|
|
6418
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$8(arguments[0]);
|
|
6243
6419
|
var result = isPrototypeOf$1(SymbolPrototype, this)
|
|
6244
6420
|
// eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
|
|
6245
6421
|
? new NativeSymbol(description)
|
|
@@ -6253,8 +6429,8 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6253
6429
|
// wrap Symbol.for for correct handling of empty string descriptions
|
|
6254
6430
|
var nativeFor = SymbolWrapper['for'];
|
|
6255
6431
|
SymbolWrapper['for'] = { 'for': function (key) {
|
|
6256
|
-
var stringKey = toString$
|
|
6257
|
-
var symbol = call$
|
|
6432
|
+
var stringKey = toString$8(key);
|
|
6433
|
+
var symbol = call$b(nativeFor, this, stringKey);
|
|
6258
6434
|
if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
|
|
6259
6435
|
return symbol;
|
|
6260
6436
|
} }['for'];
|
|
@@ -6262,11 +6438,11 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6262
6438
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
6263
6439
|
|
|
6264
6440
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
6265
|
-
var thisSymbolValue = uncurryThis$
|
|
6266
|
-
var symbolDescriptiveString = uncurryThis$
|
|
6441
|
+
var thisSymbolValue = uncurryThis$a(SymbolPrototype.valueOf);
|
|
6442
|
+
var symbolDescriptiveString = uncurryThis$a(SymbolPrototype.toString);
|
|
6267
6443
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
6268
|
-
var replace$
|
|
6269
|
-
var stringSlice$
|
|
6444
|
+
var replace$3 = uncurryThis$a(''.replace);
|
|
6445
|
+
var stringSlice$5 = uncurryThis$a(''.slice);
|
|
6270
6446
|
|
|
6271
6447
|
defineBuiltInAccessor$1(SymbolPrototype, 'description', {
|
|
6272
6448
|
configurable: true,
|
|
@@ -6274,7 +6450,7 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6274
6450
|
var symbol = thisSymbolValue(this);
|
|
6275
6451
|
if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
|
|
6276
6452
|
var string = symbolDescriptiveString(symbol);
|
|
6277
|
-
var desc = NATIVE_SYMBOL ? stringSlice$
|
|
6453
|
+
var desc = NATIVE_SYMBOL ? stringSlice$5(string, 7, -1) : replace$3(string, regexp, '$1');
|
|
6278
6454
|
return desc === '' ? undefined : desc;
|
|
6279
6455
|
}
|
|
6280
6456
|
});
|
|
@@ -6296,29 +6472,29 @@ var createProperty$1 = function (object, key, value) {
|
|
|
6296
6472
|
var $$g = _export;
|
|
6297
6473
|
var globalThis$6 = globalThis_1;
|
|
6298
6474
|
var anInstance = anInstance$2;
|
|
6299
|
-
var anObject$
|
|
6300
|
-
var isCallable$
|
|
6475
|
+
var anObject$a = anObject$m;
|
|
6476
|
+
var isCallable$3 = isCallable$o;
|
|
6301
6477
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
6302
6478
|
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
6303
6479
|
var createProperty = createProperty$1;
|
|
6304
|
-
var fails$
|
|
6480
|
+
var fails$c = fails$s;
|
|
6305
6481
|
var hasOwn$1 = hasOwnProperty_1;
|
|
6306
|
-
var wellKnownSymbol$
|
|
6482
|
+
var wellKnownSymbol$5 = wellKnownSymbol$k;
|
|
6307
6483
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
6308
6484
|
var DESCRIPTORS$2 = descriptors;
|
|
6309
6485
|
|
|
6310
6486
|
var CONSTRUCTOR = 'constructor';
|
|
6311
6487
|
var ITERATOR = 'Iterator';
|
|
6312
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
6488
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
6313
6489
|
|
|
6314
6490
|
var $TypeError$7 = TypeError;
|
|
6315
6491
|
var NativeIterator = globalThis$6[ITERATOR];
|
|
6316
6492
|
|
|
6317
6493
|
// FF56- have non-standard global helper `Iterator`
|
|
6318
|
-
var FORCED$7 = !isCallable$
|
|
6494
|
+
var FORCED$7 = !isCallable$3(NativeIterator)
|
|
6319
6495
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
6320
6496
|
// FF44- non-standard `Iterator` passes previous tests
|
|
6321
|
-
|| !fails$
|
|
6497
|
+
|| !fails$c(function () { NativeIterator({}); });
|
|
6322
6498
|
|
|
6323
6499
|
var IteratorConstructor = function Iterator() {
|
|
6324
6500
|
anInstance(this, IteratorPrototype$1);
|
|
@@ -6333,7 +6509,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
6333
6509
|
return value;
|
|
6334
6510
|
},
|
|
6335
6511
|
set: function (replacement) {
|
|
6336
|
-
anObject$
|
|
6512
|
+
anObject$a(this);
|
|
6337
6513
|
if (this === IteratorPrototype$1) throw new $TypeError$7("You can't redefine this property");
|
|
6338
6514
|
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
6339
6515
|
else createProperty(this, key, replacement);
|
|
@@ -6389,19 +6565,19 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
6389
6565
|
return value;
|
|
6390
6566
|
};
|
|
6391
6567
|
|
|
6392
|
-
var call$
|
|
6568
|
+
var call$a = functionCall;
|
|
6393
6569
|
var create$1 = objectCreate;
|
|
6394
6570
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
|
|
6395
6571
|
var defineBuiltIns = defineBuiltIns$1;
|
|
6396
|
-
var wellKnownSymbol$
|
|
6572
|
+
var wellKnownSymbol$4 = wellKnownSymbol$k;
|
|
6397
6573
|
var InternalStateModule = internalState;
|
|
6398
|
-
var getMethod$
|
|
6574
|
+
var getMethod$2 = getMethod$6;
|
|
6399
6575
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
6400
6576
|
var createIterResultObject = createIterResultObject$2;
|
|
6401
6577
|
var iteratorClose$7 = iteratorClose$a;
|
|
6402
6578
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
6403
6579
|
|
|
6404
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
6580
|
+
var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
|
|
6405
6581
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
6406
6582
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
6407
6583
|
var NORMAL = 'normal';
|
|
@@ -6433,8 +6609,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
6433
6609
|
var done = state.done;
|
|
6434
6610
|
state.done = true;
|
|
6435
6611
|
if (IS_ITERATOR) {
|
|
6436
|
-
var returnMethod = getMethod$
|
|
6437
|
-
return returnMethod ? call$
|
|
6612
|
+
var returnMethod = getMethod$2(iterator, 'return');
|
|
6613
|
+
return returnMethod ? call$a(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
6438
6614
|
}
|
|
6439
6615
|
if (done) return createIterResultObject(undefined, true);
|
|
6440
6616
|
if (state.inner) try {
|
|
@@ -6478,13 +6654,13 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
|
|
|
6478
6654
|
return IteratorProxy;
|
|
6479
6655
|
};
|
|
6480
6656
|
|
|
6481
|
-
var anObject$
|
|
6657
|
+
var anObject$9 = anObject$m;
|
|
6482
6658
|
var iteratorClose$6 = iteratorClose$a;
|
|
6483
6659
|
|
|
6484
6660
|
// call something on iterator step with safe closing on error
|
|
6485
6661
|
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
6486
6662
|
try {
|
|
6487
|
-
return ENTRIES ? fn(anObject$
|
|
6663
|
+
return ENTRIES ? fn(anObject$9(value)[0], value[1]) : fn(value);
|
|
6488
6664
|
} catch (error) {
|
|
6489
6665
|
iteratorClose$6(iterator, 'throw', error);
|
|
6490
6666
|
}
|
|
@@ -6526,9 +6702,9 @@ var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, Expected
|
|
|
6526
6702
|
};
|
|
6527
6703
|
|
|
6528
6704
|
var $$f = _export;
|
|
6529
|
-
var call$
|
|
6705
|
+
var call$9 = functionCall;
|
|
6530
6706
|
var aCallable$8 = aCallable$h;
|
|
6531
|
-
var anObject$
|
|
6707
|
+
var anObject$8 = anObject$m;
|
|
6532
6708
|
var getIteratorDirect$5 = getIteratorDirect$6;
|
|
6533
6709
|
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
6534
6710
|
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
@@ -6544,7 +6720,7 @@ var FORCED$6 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEa
|
|
|
6544
6720
|
|
|
6545
6721
|
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
6546
6722
|
var iterator = this.iterator;
|
|
6547
|
-
var result = anObject$
|
|
6723
|
+
var result = anObject$8(call$9(this.next, iterator));
|
|
6548
6724
|
var done = this.done = !!result.done;
|
|
6549
6725
|
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
6550
6726
|
});
|
|
@@ -6553,14 +6729,14 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
6553
6729
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
6554
6730
|
$$f({ target: 'Iterator', proto: true, real: true, forced: FORCED$6 }, {
|
|
6555
6731
|
map: function map(mapper) {
|
|
6556
|
-
anObject$
|
|
6732
|
+
anObject$8(this);
|
|
6557
6733
|
try {
|
|
6558
6734
|
aCallable$8(mapper);
|
|
6559
6735
|
} catch (error) {
|
|
6560
6736
|
iteratorClose$5(this, 'throw', error);
|
|
6561
6737
|
}
|
|
6562
6738
|
|
|
6563
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
6739
|
+
if (mapWithoutClosingOnEarlyError) return call$9(mapWithoutClosingOnEarlyError, this, mapper);
|
|
6564
6740
|
|
|
6565
6741
|
return new IteratorProxy$1(getIteratorDirect$5(this), {
|
|
6566
6742
|
mapper: mapper
|
|
@@ -6568,43 +6744,43 @@ $$f({ target: 'Iterator', proto: true, real: true, forced: FORCED$6 }, {
|
|
|
6568
6744
|
}
|
|
6569
6745
|
});
|
|
6570
6746
|
|
|
6571
|
-
var uncurryThis$
|
|
6747
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
6572
6748
|
|
|
6573
6749
|
// `thisNumberValue` abstract operation
|
|
6574
6750
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
6575
|
-
var thisNumberValue$1 = uncurryThis$
|
|
6751
|
+
var thisNumberValue$1 = uncurryThis$9(1.1.valueOf);
|
|
6576
6752
|
|
|
6577
|
-
var toIntegerOrInfinity$
|
|
6578
|
-
var toString$
|
|
6579
|
-
var requireObjectCoercible$
|
|
6753
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
6754
|
+
var toString$7 = toString$9;
|
|
6755
|
+
var requireObjectCoercible$4 = requireObjectCoercible$8;
|
|
6580
6756
|
|
|
6581
6757
|
var $RangeError$1 = RangeError;
|
|
6582
|
-
var floor$
|
|
6758
|
+
var floor$3 = Math.floor;
|
|
6583
6759
|
|
|
6584
6760
|
// `String.prototype.repeat` method implementation
|
|
6585
6761
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
6586
6762
|
var stringRepeat = function repeat(count) {
|
|
6587
|
-
var str = toString$
|
|
6763
|
+
var str = toString$7(requireObjectCoercible$4(this));
|
|
6588
6764
|
var result = '';
|
|
6589
|
-
var n = toIntegerOrInfinity$
|
|
6765
|
+
var n = toIntegerOrInfinity$3(count);
|
|
6590
6766
|
if (n < 0 || n === Infinity) throw new $RangeError$1('Wrong number of repetitions');
|
|
6591
|
-
for (;n > 0; (n = floor$
|
|
6767
|
+
for (;n > 0; (n = floor$3(n / 2)) && (str += str)) if (n % 2) result += str;
|
|
6592
6768
|
return result;
|
|
6593
6769
|
};
|
|
6594
6770
|
|
|
6595
6771
|
var $$e = _export;
|
|
6596
|
-
var uncurryThis$
|
|
6597
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$
|
|
6772
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
6773
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
6598
6774
|
var thisNumberValue = thisNumberValue$1;
|
|
6599
6775
|
var $repeat = stringRepeat;
|
|
6600
|
-
var fails$
|
|
6776
|
+
var fails$b = fails$s;
|
|
6601
6777
|
|
|
6602
6778
|
var $RangeError = RangeError;
|
|
6603
6779
|
var $String = String;
|
|
6604
|
-
var floor$
|
|
6605
|
-
var repeat = uncurryThis$
|
|
6606
|
-
var stringSlice$
|
|
6607
|
-
var nativeToFixed = uncurryThis$
|
|
6780
|
+
var floor$2 = Math.floor;
|
|
6781
|
+
var repeat = uncurryThis$8($repeat);
|
|
6782
|
+
var stringSlice$4 = uncurryThis$8(''.slice);
|
|
6783
|
+
var nativeToFixed = uncurryThis$8(1.1.toFixed);
|
|
6608
6784
|
|
|
6609
6785
|
var pow = function (x, n, acc) {
|
|
6610
6786
|
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
@@ -6629,7 +6805,7 @@ var multiply = function (data, n, c) {
|
|
|
6629
6805
|
while (++index < 6) {
|
|
6630
6806
|
c2 += n * data[index];
|
|
6631
6807
|
data[index] = c2 % 1e7;
|
|
6632
|
-
c2 = floor$
|
|
6808
|
+
c2 = floor$2(c2 / 1e7);
|
|
6633
6809
|
}
|
|
6634
6810
|
};
|
|
6635
6811
|
|
|
@@ -6638,7 +6814,7 @@ var divide = function (data, n) {
|
|
|
6638
6814
|
var c = 0;
|
|
6639
6815
|
while (--index >= 0) {
|
|
6640
6816
|
c += data[index];
|
|
6641
|
-
data[index] = floor$
|
|
6817
|
+
data[index] = floor$2(c / n);
|
|
6642
6818
|
c = (c % n) * 1e7;
|
|
6643
6819
|
}
|
|
6644
6820
|
};
|
|
@@ -6654,12 +6830,12 @@ var dataToString = function (data) {
|
|
|
6654
6830
|
} return s;
|
|
6655
6831
|
};
|
|
6656
6832
|
|
|
6657
|
-
var FORCED$5 = fails$
|
|
6833
|
+
var FORCED$5 = fails$b(function () {
|
|
6658
6834
|
return nativeToFixed(0.00008, 3) !== '0.000' ||
|
|
6659
6835
|
nativeToFixed(0.9, 0) !== '1' ||
|
|
6660
6836
|
nativeToFixed(1.255, 2) !== '1.25' ||
|
|
6661
6837
|
nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
6662
|
-
}) || !fails$
|
|
6838
|
+
}) || !fails$b(function () {
|
|
6663
6839
|
// V8 ~ Android 4.3-
|
|
6664
6840
|
nativeToFixed({});
|
|
6665
6841
|
});
|
|
@@ -6669,7 +6845,7 @@ var FORCED$5 = fails$a(function () {
|
|
|
6669
6845
|
$$e({ target: 'Number', proto: true, forced: FORCED$5 }, {
|
|
6670
6846
|
toFixed: function toFixed(fractionDigits) {
|
|
6671
6847
|
var number = thisNumberValue(this);
|
|
6672
|
-
var fractDigits = toIntegerOrInfinity(fractionDigits);
|
|
6848
|
+
var fractDigits = toIntegerOrInfinity$2(fractionDigits);
|
|
6673
6849
|
var data = [0, 0, 0, 0, 0, 0];
|
|
6674
6850
|
var sign = '';
|
|
6675
6851
|
var result = '0';
|
|
@@ -6716,7 +6892,7 @@ $$e({ target: 'Number', proto: true, forced: FORCED$5 }, {
|
|
|
6716
6892
|
k = result.length;
|
|
6717
6893
|
result = sign + (k <= fractDigits
|
|
6718
6894
|
? '0.' + repeat('0', fractDigits - k) + result
|
|
6719
|
-
: stringSlice$
|
|
6895
|
+
: stringSlice$4(result, 0, k - fractDigits) + '.' + stringSlice$4(result, k - fractDigits));
|
|
6720
6896
|
} else {
|
|
6721
6897
|
result = sign + result;
|
|
6722
6898
|
} return result;
|
|
@@ -6727,7 +6903,7 @@ const VentionSteps = props => {
|
|
|
6727
6903
|
const {
|
|
6728
6904
|
classes,
|
|
6729
6905
|
cx
|
|
6730
|
-
} = useStyles$
|
|
6906
|
+
} = useStyles$w(props);
|
|
6731
6907
|
const typographyVariants = getTypographyVariants(props.size);
|
|
6732
6908
|
let variant = props.variant;
|
|
6733
6909
|
if (props.size === "small" && variant === "number") {
|
|
@@ -6780,7 +6956,7 @@ const VentionSteps = props => {
|
|
|
6780
6956
|
})
|
|
6781
6957
|
});
|
|
6782
6958
|
};
|
|
6783
|
-
const useStyles$
|
|
6959
|
+
const useStyles$w = tss.withParams().withNestedSelectors().create(({
|
|
6784
6960
|
theme,
|
|
6785
6961
|
size,
|
|
6786
6962
|
classes
|
|
@@ -6969,7 +7145,7 @@ const VentionStatusDot = props => {
|
|
|
6969
7145
|
const {
|
|
6970
7146
|
classes,
|
|
6971
7147
|
cx
|
|
6972
|
-
} = useStyles$
|
|
7148
|
+
} = useStyles$v({
|
|
6973
7149
|
color: props.color,
|
|
6974
7150
|
borderColor: props.borderColor,
|
|
6975
7151
|
size
|
|
@@ -6981,7 +7157,7 @@ const VentionStatusDot = props => {
|
|
|
6981
7157
|
})
|
|
6982
7158
|
});
|
|
6983
7159
|
};
|
|
6984
|
-
const useStyles$
|
|
7160
|
+
const useStyles$v = tss.withParams().create(({
|
|
6985
7161
|
color,
|
|
6986
7162
|
borderColor,
|
|
6987
7163
|
size
|
|
@@ -7027,285 +7203,90 @@ const useStyles$t = tss.withParams().create(({
|
|
|
7027
7203
|
};
|
|
7028
7204
|
});
|
|
7029
7205
|
|
|
7030
|
-
const
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
case "disabled":
|
|
7056
|
-
return theme.palette.background.inputDisabled;
|
|
7057
|
-
case "default":
|
|
7058
|
-
case "focused":
|
|
7059
|
-
case "hover":
|
|
7060
|
-
default:
|
|
7061
|
-
return theme.palette.background.inputOutlined;
|
|
7062
|
-
}
|
|
7063
|
-
};
|
|
7064
|
-
const getLabelColor = (state, theme) => {
|
|
7065
|
-
switch (state) {
|
|
7066
|
-
case "warning":
|
|
7067
|
-
return theme.palette.text.warning;
|
|
7068
|
-
case "success":
|
|
7069
|
-
return theme.palette.text.positive;
|
|
7070
|
-
case "error":
|
|
7071
|
-
return theme.palette.text.negative;
|
|
7072
|
-
default:
|
|
7073
|
-
return undefined;
|
|
7074
|
-
}
|
|
7075
|
-
};
|
|
7076
|
-
const getFieldSetBackgroundColor = (state, theme, variant) => {
|
|
7077
|
-
if (variant === "shaded" && state !== "disabled") {
|
|
7078
|
-
return `${theme.palette.background.inputShaded}${state === "error" ? " !important" : ""}`;
|
|
7079
|
-
}
|
|
7080
|
-
return getBackgroundColorFromState(state, theme);
|
|
7081
|
-
};
|
|
7082
|
-
const getBorderWidth$1 = size => {
|
|
7083
|
-
switch (size) {
|
|
7084
|
-
case "x-small":
|
|
7085
|
-
return "1px";
|
|
7086
|
-
case "small":
|
|
7087
|
-
return "1px";
|
|
7088
|
-
case "medium":
|
|
7089
|
-
return "1px";
|
|
7090
|
-
case "large":
|
|
7091
|
-
return "1px";
|
|
7092
|
-
case "x-large":
|
|
7093
|
-
return "1px";
|
|
7094
|
-
case "xx-large":
|
|
7095
|
-
return "2px";
|
|
7096
|
-
}
|
|
7097
|
-
};
|
|
7098
|
-
const getInputHeight = (size, theme) => {
|
|
7099
|
-
switch (size) {
|
|
7100
|
-
case "x-small":
|
|
7101
|
-
return theme.spacing(4);
|
|
7102
|
-
case "small":
|
|
7103
|
-
return theme.spacing(5);
|
|
7104
|
-
case "medium":
|
|
7105
|
-
return theme.spacing(7);
|
|
7106
|
-
case "large":
|
|
7107
|
-
return theme.spacing(8);
|
|
7108
|
-
case "x-large":
|
|
7109
|
-
return theme.spacing(9);
|
|
7110
|
-
case "xx-large":
|
|
7111
|
-
return theme.spacing(11);
|
|
7206
|
+
const VentionTextInput = _a => {
|
|
7207
|
+
var {
|
|
7208
|
+
state = "default",
|
|
7209
|
+
variant,
|
|
7210
|
+
size,
|
|
7211
|
+
rightItemText,
|
|
7212
|
+
leftItemText,
|
|
7213
|
+
maxCharacters
|
|
7214
|
+
} = _a,
|
|
7215
|
+
props = __rest(_a, ["state", "variant", "size", "rightItemText", "leftItemText", "maxCharacters"]);
|
|
7216
|
+
const {
|
|
7217
|
+
classes
|
|
7218
|
+
} = useStyles$u({
|
|
7219
|
+
size,
|
|
7220
|
+
variant,
|
|
7221
|
+
state,
|
|
7222
|
+
multiline: props.multiline
|
|
7223
|
+
});
|
|
7224
|
+
const [uncontrolledLength, setUncontrolledLength] = useState(countCharacters(props.defaultValue));
|
|
7225
|
+
const showCharacterCount = maxCharacters !== undefined && state !== "disabled";
|
|
7226
|
+
const characterCount = props.value === undefined || props.value === null ? uncontrolledLength : countCharacters(props.value);
|
|
7227
|
+
function handleChange(event) {
|
|
7228
|
+
var _a;
|
|
7229
|
+
setUncontrolledLength(event.target.value.length);
|
|
7230
|
+
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, event);
|
|
7112
7231
|
}
|
|
7232
|
+
const inputProps = Object.assign(Object.assign(Object.assign(Object.assign({}, props.InputProps), {
|
|
7233
|
+
disabled: state === "disabled"
|
|
7234
|
+
}), leftItemText ? {
|
|
7235
|
+
startAdornment: jsx(InputAdornment, {
|
|
7236
|
+
position: "start",
|
|
7237
|
+
disablePointerEvents: true,
|
|
7238
|
+
className: cx(classes.adornment, classes.adornmentLeft),
|
|
7239
|
+
children: jsx(Box$1, {
|
|
7240
|
+
display: "flex",
|
|
7241
|
+
alignItems: "center",
|
|
7242
|
+
height: "100%",
|
|
7243
|
+
children: jsx(Typography, {
|
|
7244
|
+
className: classes.adornmentText,
|
|
7245
|
+
children: leftItemText
|
|
7246
|
+
})
|
|
7247
|
+
})
|
|
7248
|
+
})
|
|
7249
|
+
} : {}), rightItemText ? {
|
|
7250
|
+
endAdornment: jsx(InputAdornment, {
|
|
7251
|
+
position: "end",
|
|
7252
|
+
disablePointerEvents: true,
|
|
7253
|
+
className: cx(classes.adornment, classes.adornmentRight),
|
|
7254
|
+
children: jsx(Box$1, {
|
|
7255
|
+
display: "flex",
|
|
7256
|
+
alignItems: "center",
|
|
7257
|
+
height: "100%",
|
|
7258
|
+
children: jsx(Typography, {
|
|
7259
|
+
className: classes.adornmentText,
|
|
7260
|
+
children: rightItemText
|
|
7261
|
+
})
|
|
7262
|
+
})
|
|
7263
|
+
})
|
|
7264
|
+
} : {});
|
|
7265
|
+
return jsx(TextField, Object.assign({
|
|
7266
|
+
classes: {
|
|
7267
|
+
root: classes.root
|
|
7268
|
+
}
|
|
7269
|
+
}, props, {
|
|
7270
|
+
value: (props.type === "number" || props.type === "tel") && (props.value === undefined || props.value === null) ? "" : props.value,
|
|
7271
|
+
variant: "outlined",
|
|
7272
|
+
error: state === "error",
|
|
7273
|
+
helperText: showCharacterCount ? jsxs("span", {
|
|
7274
|
+
className: classes.helperRow,
|
|
7275
|
+
children: [jsx("span", {
|
|
7276
|
+
children: props.helperText
|
|
7277
|
+
}), jsxs("span", {
|
|
7278
|
+
className: classes.characterCount,
|
|
7279
|
+
children: [characterCount, "/", maxCharacters]
|
|
7280
|
+
})]
|
|
7281
|
+
}) : state !== "disabled" && props.helperText,
|
|
7282
|
+
inputProps: maxCharacters === undefined ? props.inputProps : Object.assign(Object.assign({}, props.inputProps), {
|
|
7283
|
+
maxLength: maxCharacters
|
|
7284
|
+
}),
|
|
7285
|
+
onChange: showCharacterCount ? handleChange : props.onChange,
|
|
7286
|
+
InputProps: inputProps
|
|
7287
|
+
}));
|
|
7113
7288
|
};
|
|
7114
|
-
const
|
|
7115
|
-
switch (size) {
|
|
7116
|
-
case "x-small":
|
|
7117
|
-
case "small":
|
|
7118
|
-
return {
|
|
7119
|
-
paddingLeft: theme.spacing(2),
|
|
7120
|
-
paddingRight: theme.spacing(2)
|
|
7121
|
-
};
|
|
7122
|
-
case "medium":
|
|
7123
|
-
return {
|
|
7124
|
-
paddingLeft: theme.spacing(3),
|
|
7125
|
-
paddingRight: theme.spacing(3)
|
|
7126
|
-
};
|
|
7127
|
-
case "large":
|
|
7128
|
-
case "x-large":
|
|
7129
|
-
case "xx-large":
|
|
7130
|
-
return {
|
|
7131
|
-
paddingLeft: theme.spacing(4),
|
|
7132
|
-
paddingRight: theme.spacing(4)
|
|
7133
|
-
};
|
|
7134
|
-
}
|
|
7135
|
-
};
|
|
7136
|
-
/**
|
|
7137
|
-
* Get the vertical padding style for multiline input
|
|
7138
|
-
* @param size The size of the input
|
|
7139
|
-
* @param theme Theme used by MUI
|
|
7140
|
-
*/
|
|
7141
|
-
const getMultilineVerticalPaddingStyles = (size, theme) => {
|
|
7142
|
-
switch (size) {
|
|
7143
|
-
case "x-small":
|
|
7144
|
-
return {
|
|
7145
|
-
paddingTop: 0,
|
|
7146
|
-
paddingBottom: 0
|
|
7147
|
-
};
|
|
7148
|
-
case "small":
|
|
7149
|
-
case "medium":
|
|
7150
|
-
return {
|
|
7151
|
-
paddingTop: theme.spacing(1),
|
|
7152
|
-
paddingBottom: theme.spacing(1)
|
|
7153
|
-
};
|
|
7154
|
-
case "large":
|
|
7155
|
-
return {
|
|
7156
|
-
paddingTop: theme.spacing(2),
|
|
7157
|
-
paddingBottom: theme.spacing(2)
|
|
7158
|
-
};
|
|
7159
|
-
case "x-large":
|
|
7160
|
-
return {
|
|
7161
|
-
paddingTop: theme.spacing(3),
|
|
7162
|
-
paddingBottom: theme.spacing(3)
|
|
7163
|
-
};
|
|
7164
|
-
case "xx-large":
|
|
7165
|
-
return {
|
|
7166
|
-
paddingTop: theme.spacing(4),
|
|
7167
|
-
paddingBottom: theme.spacing(4)
|
|
7168
|
-
};
|
|
7169
|
-
}
|
|
7170
|
-
};
|
|
7171
|
-
const typographyNameFromSizeMap = {
|
|
7172
|
-
"x-small": {
|
|
7173
|
-
label: "uiText12SemiBold",
|
|
7174
|
-
labelDiminished: "uiText12Regular",
|
|
7175
|
-
text: "uiText12Regular",
|
|
7176
|
-
textDiminished: "uiText12Regular",
|
|
7177
|
-
helperText: "uiText12Regular"
|
|
7178
|
-
},
|
|
7179
|
-
small: {
|
|
7180
|
-
label: "uiText12SemiBold",
|
|
7181
|
-
labelDiminished: "uiText12Regular",
|
|
7182
|
-
text: "uiText12Regular",
|
|
7183
|
-
textDiminished: "uiText12Regular",
|
|
7184
|
-
helperText: "uiText12Regular"
|
|
7185
|
-
},
|
|
7186
|
-
medium: {
|
|
7187
|
-
label: "uiText14SemiBold",
|
|
7188
|
-
labelDiminished: "uiText14Regular",
|
|
7189
|
-
text: "uiText14Regular",
|
|
7190
|
-
textDiminished: "uiText12Regular",
|
|
7191
|
-
helperText: "uiText12Regular"
|
|
7192
|
-
},
|
|
7193
|
-
large: {
|
|
7194
|
-
label: "uiText14SemiBold",
|
|
7195
|
-
labelDiminished: "uiText14Regular",
|
|
7196
|
-
text: "uiText14Regular",
|
|
7197
|
-
textDiminished: "uiText12Regular",
|
|
7198
|
-
helperText: "uiText12Regular"
|
|
7199
|
-
},
|
|
7200
|
-
"x-large": {
|
|
7201
|
-
label: "heading18SemiBold",
|
|
7202
|
-
labelDiminished: "paragraph18Regular",
|
|
7203
|
-
text: "paragraph18Regular",
|
|
7204
|
-
textDiminished: "uiText12Regular",
|
|
7205
|
-
helperText: "uiText12Regular"
|
|
7206
|
-
},
|
|
7207
|
-
"xx-large": {
|
|
7208
|
-
label: "hmiText20SemiBold",
|
|
7209
|
-
labelDiminished: "hmiText20Regular",
|
|
7210
|
-
text: "uiText18Regular",
|
|
7211
|
-
textDiminished: "uiText12Regular",
|
|
7212
|
-
helperText: "paragraph18Regular"
|
|
7213
|
-
}
|
|
7214
|
-
};
|
|
7215
|
-
const getTypography = (size, theme) => {
|
|
7216
|
-
return {
|
|
7217
|
-
label: theme.typography[typographyNameFromSizeMap[size].label],
|
|
7218
|
-
labelDiminished: theme.typography[typographyNameFromSizeMap[size].labelDiminished],
|
|
7219
|
-
text: theme.typography[typographyNameFromSizeMap[size].text],
|
|
7220
|
-
textDiminished: theme.typography[typographyNameFromSizeMap[size].textDiminished],
|
|
7221
|
-
helperText: theme.typography[typographyNameFromSizeMap[size].helperText]
|
|
7222
|
-
};
|
|
7223
|
-
};
|
|
7224
|
-
|
|
7225
|
-
const VentionTextInput = _a => {
|
|
7226
|
-
var {
|
|
7227
|
-
state = "default",
|
|
7228
|
-
variant,
|
|
7229
|
-
size,
|
|
7230
|
-
rightItemText,
|
|
7231
|
-
leftItemText,
|
|
7232
|
-
maxCharacters
|
|
7233
|
-
} = _a,
|
|
7234
|
-
props = __rest(_a, ["state", "variant", "size", "rightItemText", "leftItemText", "maxCharacters"]);
|
|
7235
|
-
const {
|
|
7236
|
-
classes
|
|
7237
|
-
} = useStyles$s({
|
|
7238
|
-
size,
|
|
7239
|
-
variant,
|
|
7240
|
-
state,
|
|
7241
|
-
multiline: props.multiline
|
|
7242
|
-
});
|
|
7243
|
-
const [uncontrolledLength, setUncontrolledLength] = useState(countCharacters(props.defaultValue));
|
|
7244
|
-
const showCharacterCount = maxCharacters !== undefined && state !== "disabled";
|
|
7245
|
-
const characterCount = props.value === undefined || props.value === null ? uncontrolledLength : countCharacters(props.value);
|
|
7246
|
-
function handleChange(event) {
|
|
7247
|
-
var _a;
|
|
7248
|
-
setUncontrolledLength(event.target.value.length);
|
|
7249
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, event);
|
|
7250
|
-
}
|
|
7251
|
-
const inputProps = Object.assign(Object.assign(Object.assign(Object.assign({}, props.InputProps), {
|
|
7252
|
-
disabled: state === "disabled"
|
|
7253
|
-
}), leftItemText ? {
|
|
7254
|
-
startAdornment: jsx(InputAdornment, {
|
|
7255
|
-
position: "start",
|
|
7256
|
-
disablePointerEvents: true,
|
|
7257
|
-
className: cx(classes.adornment, classes.adornmentLeft),
|
|
7258
|
-
children: jsx(Box$1, {
|
|
7259
|
-
display: "flex",
|
|
7260
|
-
alignItems: "center",
|
|
7261
|
-
height: "100%",
|
|
7262
|
-
children: jsx(Typography, {
|
|
7263
|
-
className: classes.adornmentText,
|
|
7264
|
-
children: leftItemText
|
|
7265
|
-
})
|
|
7266
|
-
})
|
|
7267
|
-
})
|
|
7268
|
-
} : {}), rightItemText ? {
|
|
7269
|
-
endAdornment: jsx(InputAdornment, {
|
|
7270
|
-
position: "end",
|
|
7271
|
-
disablePointerEvents: true,
|
|
7272
|
-
className: cx(classes.adornment, classes.adornmentRight),
|
|
7273
|
-
children: jsx(Box$1, {
|
|
7274
|
-
display: "flex",
|
|
7275
|
-
alignItems: "center",
|
|
7276
|
-
height: "100%",
|
|
7277
|
-
children: jsx(Typography, {
|
|
7278
|
-
className: classes.adornmentText,
|
|
7279
|
-
children: rightItemText
|
|
7280
|
-
})
|
|
7281
|
-
})
|
|
7282
|
-
})
|
|
7283
|
-
} : {});
|
|
7284
|
-
return jsx(TextField, Object.assign({
|
|
7285
|
-
classes: {
|
|
7286
|
-
root: classes.root
|
|
7287
|
-
}
|
|
7288
|
-
}, props, {
|
|
7289
|
-
value: (props.type === "number" || props.type === "tel") && (props.value === undefined || props.value === null) ? "" : props.value,
|
|
7290
|
-
variant: "outlined",
|
|
7291
|
-
error: state === "error",
|
|
7292
|
-
helperText: showCharacterCount ? jsxs("span", {
|
|
7293
|
-
className: classes.helperRow,
|
|
7294
|
-
children: [jsx("span", {
|
|
7295
|
-
children: props.helperText
|
|
7296
|
-
}), jsxs("span", {
|
|
7297
|
-
className: classes.characterCount,
|
|
7298
|
-
children: [characterCount, "/", maxCharacters]
|
|
7299
|
-
})]
|
|
7300
|
-
}) : state !== "disabled" && props.helperText,
|
|
7301
|
-
inputProps: maxCharacters === undefined ? props.inputProps : Object.assign(Object.assign({}, props.inputProps), {
|
|
7302
|
-
maxLength: maxCharacters
|
|
7303
|
-
}),
|
|
7304
|
-
onChange: showCharacterCount ? handleChange : props.onChange,
|
|
7305
|
-
InputProps: inputProps
|
|
7306
|
-
}));
|
|
7307
|
-
};
|
|
7308
|
-
const useStyles$s = tss.withParams().create(({
|
|
7289
|
+
const useStyles$u = tss.withParams().create(({
|
|
7309
7290
|
size,
|
|
7310
7291
|
variant,
|
|
7311
7292
|
state,
|
|
@@ -7536,7 +7517,7 @@ const VentionRadioIcon = props => {
|
|
|
7536
7517
|
const {
|
|
7537
7518
|
classes,
|
|
7538
7519
|
cx
|
|
7539
|
-
} = useStyles$
|
|
7520
|
+
} = useStyles$t({
|
|
7540
7521
|
radioSize: props.radioSize,
|
|
7541
7522
|
variant: props.variant,
|
|
7542
7523
|
checked: props.checked,
|
|
@@ -7554,7 +7535,7 @@ const VentionRadioIcon = props => {
|
|
|
7554
7535
|
})
|
|
7555
7536
|
});
|
|
7556
7537
|
};
|
|
7557
|
-
const useStyles$
|
|
7538
|
+
const useStyles$t = tss.withParams().create(({
|
|
7558
7539
|
radioSize,
|
|
7559
7540
|
variant,
|
|
7560
7541
|
checked,
|
|
@@ -7692,7 +7673,7 @@ const getColors = (variant, checked, theme) => {
|
|
|
7692
7673
|
const VentionRadioTileControl = props => {
|
|
7693
7674
|
const {
|
|
7694
7675
|
classes
|
|
7695
|
-
} = useStyles$
|
|
7676
|
+
} = useStyles$s({
|
|
7696
7677
|
radioLocation: props.radioLocation
|
|
7697
7678
|
});
|
|
7698
7679
|
return jsx("div", {
|
|
@@ -7709,7 +7690,7 @@ const VentionRadioTileControl = props => {
|
|
|
7709
7690
|
})
|
|
7710
7691
|
});
|
|
7711
7692
|
};
|
|
7712
|
-
const useStyles$
|
|
7693
|
+
const useStyles$s = tss.withParams().create(({
|
|
7713
7694
|
radioLocation
|
|
7714
7695
|
}) => {
|
|
7715
7696
|
return {
|
|
@@ -7729,7 +7710,7 @@ const useStyles$q = tss.withParams().create(({
|
|
|
7729
7710
|
const VentionRadioTileLabel = props => {
|
|
7730
7711
|
const {
|
|
7731
7712
|
classes
|
|
7732
|
-
} = useStyles$
|
|
7713
|
+
} = useStyles$r({
|
|
7733
7714
|
size: props.size,
|
|
7734
7715
|
labelText: props.labelText
|
|
7735
7716
|
});
|
|
@@ -7743,7 +7724,7 @@ const VentionRadioTileLabel = props => {
|
|
|
7743
7724
|
})]
|
|
7744
7725
|
});
|
|
7745
7726
|
};
|
|
7746
|
-
const useStyles$
|
|
7727
|
+
const useStyles$r = tss.withParams().create(({
|
|
7747
7728
|
theme,
|
|
7748
7729
|
size,
|
|
7749
7730
|
labelText
|
|
@@ -7788,7 +7769,7 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7788
7769
|
const props = applyDefaultProps(radioTileProps, defaultProps$3);
|
|
7789
7770
|
const {
|
|
7790
7771
|
classes
|
|
7791
|
-
} = useStyles$
|
|
7772
|
+
} = useStyles$q({
|
|
7792
7773
|
variant: props.variant,
|
|
7793
7774
|
checked: props.checked,
|
|
7794
7775
|
state: props.state,
|
|
@@ -7817,7 +7798,7 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7817
7798
|
"data-testid": "RadioTileFormControlLabel"
|
|
7818
7799
|
}));
|
|
7819
7800
|
};
|
|
7820
|
-
const useStyles$
|
|
7801
|
+
const useStyles$q = tss.withParams().create(({
|
|
7821
7802
|
variant,
|
|
7822
7803
|
checked,
|
|
7823
7804
|
state,
|
|
@@ -7908,8 +7889,8 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
7908
7889
|
});
|
|
7909
7890
|
};
|
|
7910
7891
|
|
|
7911
|
-
var isCallable$
|
|
7912
|
-
var isObject$
|
|
7892
|
+
var isCallable$2 = isCallable$o;
|
|
7893
|
+
var isObject$4 = isObject$f;
|
|
7913
7894
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
7914
7895
|
|
|
7915
7896
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -7919,35 +7900,35 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
|
7919
7900
|
// it can work only with native `setPrototypeOf`
|
|
7920
7901
|
setPrototypeOf$1 &&
|
|
7921
7902
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
7922
|
-
isCallable$
|
|
7903
|
+
isCallable$2(NewTarget = dummy.constructor) &&
|
|
7923
7904
|
NewTarget !== Wrapper &&
|
|
7924
|
-
isObject$
|
|
7905
|
+
isObject$4(NewTargetPrototype = NewTarget.prototype) &&
|
|
7925
7906
|
NewTargetPrototype !== Wrapper.prototype
|
|
7926
7907
|
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
7927
7908
|
return $this;
|
|
7928
7909
|
};
|
|
7929
7910
|
|
|
7930
|
-
var toString$
|
|
7911
|
+
var toString$6 = toString$9;
|
|
7931
7912
|
|
|
7932
7913
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
7933
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
7914
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$6(argument);
|
|
7934
7915
|
};
|
|
7935
7916
|
|
|
7936
|
-
var isObject$
|
|
7917
|
+
var isObject$3 = isObject$f;
|
|
7937
7918
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
|
|
7938
7919
|
|
|
7939
7920
|
// `InstallErrorCause` abstract operation
|
|
7940
7921
|
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
7941
7922
|
var installErrorCause$1 = function (O, options) {
|
|
7942
|
-
if (isObject$
|
|
7923
|
+
if (isObject$3(options) && 'cause' in options) {
|
|
7943
7924
|
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
7944
7925
|
}
|
|
7945
7926
|
};
|
|
7946
7927
|
|
|
7947
|
-
var uncurryThis$
|
|
7928
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
7948
7929
|
|
|
7949
7930
|
var $Error = Error;
|
|
7950
|
-
var replace$
|
|
7931
|
+
var replace$2 = uncurryThis$7(''.replace);
|
|
7951
7932
|
|
|
7952
7933
|
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
7953
7934
|
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
@@ -7956,14 +7937,14 @@ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
|
7956
7937
|
|
|
7957
7938
|
var errorStackClear = function (stack, dropEntries) {
|
|
7958
7939
|
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
7959
|
-
while (dropEntries--) stack = replace$
|
|
7940
|
+
while (dropEntries--) stack = replace$2(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
7960
7941
|
} return stack;
|
|
7961
7942
|
};
|
|
7962
7943
|
|
|
7963
|
-
var fails$
|
|
7944
|
+
var fails$a = fails$s;
|
|
7964
7945
|
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
7965
7946
|
|
|
7966
|
-
var errorStackInstallable = !fails$
|
|
7947
|
+
var errorStackInstallable = !fails$a(function () {
|
|
7967
7948
|
var error = new Error('a');
|
|
7968
7949
|
if (!('stack' in error)) return true;
|
|
7969
7950
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -8053,7 +8034,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
8053
8034
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
8054
8035
|
var $$d = _export;
|
|
8055
8036
|
var globalThis$4 = globalThis_1;
|
|
8056
|
-
var apply$
|
|
8037
|
+
var apply$2 = functionApply;
|
|
8057
8038
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
8058
8039
|
|
|
8059
8040
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
@@ -8080,41 +8061,41 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
|
8080
8061
|
|
|
8081
8062
|
// https://tc39.es/ecma262/#sec-nativeerror
|
|
8082
8063
|
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
8083
|
-
return function Error(message) { return apply$
|
|
8064
|
+
return function Error(message) { return apply$2(init, this, arguments); };
|
|
8084
8065
|
});
|
|
8085
8066
|
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
8086
|
-
return function EvalError(message) { return apply$
|
|
8067
|
+
return function EvalError(message) { return apply$2(init, this, arguments); };
|
|
8087
8068
|
});
|
|
8088
8069
|
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
8089
|
-
return function RangeError(message) { return apply$
|
|
8070
|
+
return function RangeError(message) { return apply$2(init, this, arguments); };
|
|
8090
8071
|
});
|
|
8091
8072
|
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
8092
|
-
return function ReferenceError(message) { return apply$
|
|
8073
|
+
return function ReferenceError(message) { return apply$2(init, this, arguments); };
|
|
8093
8074
|
});
|
|
8094
8075
|
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
8095
|
-
return function SyntaxError(message) { return apply$
|
|
8076
|
+
return function SyntaxError(message) { return apply$2(init, this, arguments); };
|
|
8096
8077
|
});
|
|
8097
8078
|
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
8098
|
-
return function TypeError(message) { return apply$
|
|
8079
|
+
return function TypeError(message) { return apply$2(init, this, arguments); };
|
|
8099
8080
|
});
|
|
8100
8081
|
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
8101
|
-
return function URIError(message) { return apply$
|
|
8082
|
+
return function URIError(message) { return apply$2(init, this, arguments); };
|
|
8102
8083
|
});
|
|
8103
8084
|
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
8104
|
-
return function CompileError(message) { return apply$
|
|
8085
|
+
return function CompileError(message) { return apply$2(init, this, arguments); };
|
|
8105
8086
|
});
|
|
8106
8087
|
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
8107
|
-
return function LinkError(message) { return apply$
|
|
8088
|
+
return function LinkError(message) { return apply$2(init, this, arguments); };
|
|
8108
8089
|
});
|
|
8109
8090
|
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
8110
|
-
return function RuntimeError(message) { return apply$
|
|
8091
|
+
return function RuntimeError(message) { return apply$2(init, this, arguments); };
|
|
8111
8092
|
});
|
|
8112
8093
|
|
|
8113
8094
|
var $$c = _export;
|
|
8114
|
-
var call$
|
|
8095
|
+
var call$8 = functionCall;
|
|
8115
8096
|
var iterate$3 = iterate$6;
|
|
8116
8097
|
var aCallable$7 = aCallable$h;
|
|
8117
|
-
var anObject$
|
|
8098
|
+
var anObject$7 = anObject$m;
|
|
8118
8099
|
var getIteratorDirect$4 = getIteratorDirect$6;
|
|
8119
8100
|
var iteratorClose$4 = iteratorClose$a;
|
|
8120
8101
|
var iteratorHelperWithoutClosingOnEarlyError$4 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -8125,14 +8106,14 @@ var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$4
|
|
|
8125
8106
|
// https://tc39.es/ecma262/#sec-iterator.prototype.every
|
|
8126
8107
|
$$c({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
|
|
8127
8108
|
every: function every(predicate) {
|
|
8128
|
-
anObject$
|
|
8109
|
+
anObject$7(this);
|
|
8129
8110
|
try {
|
|
8130
8111
|
aCallable$7(predicate);
|
|
8131
8112
|
} catch (error) {
|
|
8132
8113
|
iteratorClose$4(this, 'throw', error);
|
|
8133
8114
|
}
|
|
8134
8115
|
|
|
8135
|
-
if (everyWithoutClosingOnEarlyError) return call$
|
|
8116
|
+
if (everyWithoutClosingOnEarlyError) return call$8(everyWithoutClosingOnEarlyError, this, predicate);
|
|
8136
8117
|
|
|
8137
8118
|
var record = getIteratorDirect$4(this);
|
|
8138
8119
|
var counter = 0;
|
|
@@ -8142,16 +8123,16 @@ $$c({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOn
|
|
|
8142
8123
|
}
|
|
8143
8124
|
});
|
|
8144
8125
|
|
|
8145
|
-
var uncurryThis$
|
|
8126
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
8146
8127
|
|
|
8147
8128
|
// eslint-disable-next-line es/no-map -- safe
|
|
8148
8129
|
var MapPrototype = Map.prototype;
|
|
8149
8130
|
|
|
8150
8131
|
var mapHelpers = {
|
|
8151
|
-
set: uncurryThis$
|
|
8152
|
-
get: uncurryThis$
|
|
8153
|
-
has: uncurryThis$
|
|
8154
|
-
remove: uncurryThis$
|
|
8132
|
+
set: uncurryThis$6(MapPrototype.set),
|
|
8133
|
+
get: uncurryThis$6(MapPrototype.get),
|
|
8134
|
+
has: uncurryThis$6(MapPrototype.has),
|
|
8135
|
+
remove: uncurryThis$6(MapPrototype['delete'])};
|
|
8155
8136
|
|
|
8156
8137
|
var $$b = _export;
|
|
8157
8138
|
var MapHelpers$1 = mapHelpers;
|
|
@@ -8209,7 +8190,7 @@ const getChevronIconSize = size => {
|
|
|
8209
8190
|
const VentionSelect = props => {
|
|
8210
8191
|
const {
|
|
8211
8192
|
classes
|
|
8212
|
-
} = useStyles$
|
|
8193
|
+
} = useStyles$p(props);
|
|
8213
8194
|
const {
|
|
8214
8195
|
size,
|
|
8215
8196
|
placeholder,
|
|
@@ -8329,7 +8310,7 @@ const VentionSelect = props => {
|
|
|
8329
8310
|
})
|
|
8330
8311
|
});
|
|
8331
8312
|
};
|
|
8332
|
-
const useStyles$
|
|
8313
|
+
const useStyles$p = tss.withParams().create(({
|
|
8333
8314
|
theme,
|
|
8334
8315
|
size,
|
|
8335
8316
|
isDisabled,
|
|
@@ -8498,7 +8479,7 @@ const VentionStepper = props => {
|
|
|
8498
8479
|
} = props;
|
|
8499
8480
|
const {
|
|
8500
8481
|
classes
|
|
8501
|
-
} = useStyles$
|
|
8482
|
+
} = useStyles$o();
|
|
8502
8483
|
return jsxs(ButtonGroup, {
|
|
8503
8484
|
variant: "contained",
|
|
8504
8485
|
"aria-label": "Basic button group",
|
|
@@ -8546,7 +8527,7 @@ const VentionStepper = props => {
|
|
|
8546
8527
|
}))]
|
|
8547
8528
|
});
|
|
8548
8529
|
};
|
|
8549
|
-
const useStyles$
|
|
8530
|
+
const useStyles$o = tss.withNestedSelectors().create(({
|
|
8550
8531
|
theme,
|
|
8551
8532
|
classes
|
|
8552
8533
|
}) => {
|
|
@@ -8629,7 +8610,7 @@ const VentionTabs = ({
|
|
|
8629
8610
|
const {
|
|
8630
8611
|
cx,
|
|
8631
8612
|
classes
|
|
8632
|
-
} = useStyles$
|
|
8613
|
+
} = useStyles$n();
|
|
8633
8614
|
return jsx(Box$1, {
|
|
8634
8615
|
className: classes.root,
|
|
8635
8616
|
children: tabOptions.map((buttonLabel, index) => jsx(Button, {
|
|
@@ -8643,7 +8624,7 @@ const VentionTabs = ({
|
|
|
8643
8624
|
}, index))
|
|
8644
8625
|
});
|
|
8645
8626
|
};
|
|
8646
|
-
const useStyles$
|
|
8627
|
+
const useStyles$n = tss.create(({
|
|
8647
8628
|
theme
|
|
8648
8629
|
}) => {
|
|
8649
8630
|
return {
|
|
@@ -8678,7 +8659,7 @@ const useStyles$l = tss.create(({
|
|
|
8678
8659
|
const VentionDraggable = props => {
|
|
8679
8660
|
const {
|
|
8680
8661
|
classes
|
|
8681
|
-
} = useStyles$
|
|
8662
|
+
} = useStyles$m(props);
|
|
8682
8663
|
return jsx(Draggable, {
|
|
8683
8664
|
handle: "#draggable-area",
|
|
8684
8665
|
positionOffset: props.defaultPosition,
|
|
@@ -8704,7 +8685,7 @@ const VentionDraggable = props => {
|
|
|
8704
8685
|
})
|
|
8705
8686
|
});
|
|
8706
8687
|
};
|
|
8707
|
-
const useStyles$
|
|
8688
|
+
const useStyles$m = tss.withParams().create(({
|
|
8708
8689
|
tabLocation,
|
|
8709
8690
|
height,
|
|
8710
8691
|
width,
|
|
@@ -8800,7 +8781,7 @@ const VentionSlider = props => {
|
|
|
8800
8781
|
other = __rest(props, ["value", "onChange", "largeThumb"]);
|
|
8801
8782
|
const {
|
|
8802
8783
|
classes
|
|
8803
|
-
} = useStyles$
|
|
8784
|
+
} = useStyles$l({
|
|
8804
8785
|
largeThumb
|
|
8805
8786
|
});
|
|
8806
8787
|
return jsx("div", {
|
|
@@ -8812,7 +8793,7 @@ const VentionSlider = props => {
|
|
|
8812
8793
|
}, other))
|
|
8813
8794
|
});
|
|
8814
8795
|
};
|
|
8815
|
-
const useStyles$
|
|
8796
|
+
const useStyles$l = tss.withParams().create(({
|
|
8816
8797
|
theme,
|
|
8817
8798
|
largeThumb
|
|
8818
8799
|
}) => {
|
|
@@ -8872,17 +8853,17 @@ const useStyles$j = tss.withParams().create(({
|
|
|
8872
8853
|
|
|
8873
8854
|
var $$9 = _export;
|
|
8874
8855
|
var $includes = arrayIncludes.includes;
|
|
8875
|
-
var fails$
|
|
8856
|
+
var fails$9 = fails$s;
|
|
8876
8857
|
var addToUnscopables = addToUnscopables$2;
|
|
8877
8858
|
|
|
8878
8859
|
// FF99+ bug
|
|
8879
|
-
var BROKEN_ON_SPARSE = fails$
|
|
8860
|
+
var BROKEN_ON_SPARSE = fails$9(function () {
|
|
8880
8861
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
8881
8862
|
return !Array(1).includes();
|
|
8882
8863
|
});
|
|
8883
8864
|
|
|
8884
8865
|
// Safari 26.4- bug
|
|
8885
|
-
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$
|
|
8866
|
+
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$9(function () {
|
|
8886
8867
|
// eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
|
|
8887
8868
|
return [, 1].includes(undefined, 1);
|
|
8888
8869
|
});
|
|
@@ -8910,7 +8891,7 @@ const VentionSwitch = props => {
|
|
|
8910
8891
|
const {
|
|
8911
8892
|
classes,
|
|
8912
8893
|
theme
|
|
8913
|
-
} = useStyles$
|
|
8894
|
+
} = useStyles$k({
|
|
8914
8895
|
checked,
|
|
8915
8896
|
size,
|
|
8916
8897
|
variant: (_a = props.variant) !== null && _a !== void 0 ? _a : "default",
|
|
@@ -8943,7 +8924,7 @@ const VentionSwitch = props => {
|
|
|
8943
8924
|
})]
|
|
8944
8925
|
});
|
|
8945
8926
|
};
|
|
8946
|
-
const useStyles$
|
|
8927
|
+
const useStyles$k = tss.withParams().create(({
|
|
8947
8928
|
theme,
|
|
8948
8929
|
checked,
|
|
8949
8930
|
size,
|
|
@@ -9109,7 +9090,7 @@ const ventionPopoverArrowSize = 10;
|
|
|
9109
9090
|
const VentionPopover = props => {
|
|
9110
9091
|
const {
|
|
9111
9092
|
classes
|
|
9112
|
-
} = useStyles$
|
|
9093
|
+
} = useStyles$j({
|
|
9113
9094
|
maxWidth: props.maxWidth
|
|
9114
9095
|
});
|
|
9115
9096
|
const popoverRef = useRef(null);
|
|
@@ -9278,7 +9259,7 @@ const getArrowStyles = arrowPos => {
|
|
|
9278
9259
|
borderColor: getBorderColor()
|
|
9279
9260
|
});
|
|
9280
9261
|
};
|
|
9281
|
-
const useStyles$
|
|
9262
|
+
const useStyles$j = tss.withParams().create(({
|
|
9282
9263
|
theme,
|
|
9283
9264
|
maxWidth
|
|
9284
9265
|
}) => {
|
|
@@ -9466,7 +9447,7 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9466
9447
|
} = useContext(VentionMenuContext);
|
|
9467
9448
|
const {
|
|
9468
9449
|
classes
|
|
9469
|
-
} = useStyles$
|
|
9450
|
+
} = useStyles$i({
|
|
9470
9451
|
size,
|
|
9471
9452
|
focused
|
|
9472
9453
|
});
|
|
@@ -9507,7 +9488,7 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9507
9488
|
})]
|
|
9508
9489
|
});
|
|
9509
9490
|
});
|
|
9510
|
-
const useStyles$
|
|
9491
|
+
const useStyles$i = tss.withParams().create(({
|
|
9511
9492
|
size,
|
|
9512
9493
|
focused,
|
|
9513
9494
|
theme
|
|
@@ -9567,7 +9548,7 @@ const VentionMenuParentItem = _a => {
|
|
|
9567
9548
|
} = useContext(VentionMenuContext);
|
|
9568
9549
|
const {
|
|
9569
9550
|
classes
|
|
9570
|
-
} = useStyles$
|
|
9551
|
+
} = useStyles$h({
|
|
9571
9552
|
size
|
|
9572
9553
|
});
|
|
9573
9554
|
const [open, setOpen] = useState(false);
|
|
@@ -9630,7 +9611,7 @@ const VentionMenuParentItem = _a => {
|
|
|
9630
9611
|
})]
|
|
9631
9612
|
});
|
|
9632
9613
|
};
|
|
9633
|
-
const useStyles$
|
|
9614
|
+
const useStyles$h = tss.withParams().create(({
|
|
9634
9615
|
size,
|
|
9635
9616
|
theme
|
|
9636
9617
|
}) => {
|
|
@@ -9665,7 +9646,7 @@ const VentionMenuList = ({
|
|
|
9665
9646
|
} = useContext(VentionMenuContext);
|
|
9666
9647
|
const {
|
|
9667
9648
|
classes
|
|
9668
|
-
} = useStyles$
|
|
9649
|
+
} = useStyles$g({
|
|
9669
9650
|
size,
|
|
9670
9651
|
menuWidth,
|
|
9671
9652
|
disableBoxShadow: _disableBoxShadow
|
|
@@ -9679,7 +9660,7 @@ const VentionMenuList = ({
|
|
|
9679
9660
|
children: (_a = menuOptionsInfo === null || menuOptionsInfo === void 0 ? void 0 : menuOptionsInfo.map(renderMenuItem)) !== null && _a !== void 0 ? _a : children
|
|
9680
9661
|
});
|
|
9681
9662
|
};
|
|
9682
|
-
const useStyles$
|
|
9663
|
+
const useStyles$g = tss.withParams().create(({
|
|
9683
9664
|
size,
|
|
9684
9665
|
menuWidth,
|
|
9685
9666
|
disableBoxShadow,
|
|
@@ -9712,7 +9693,7 @@ const VentionMenuHeader = props => {
|
|
|
9712
9693
|
} = props;
|
|
9713
9694
|
const {
|
|
9714
9695
|
classes
|
|
9715
|
-
} = useStyles$
|
|
9696
|
+
} = useStyles$f({
|
|
9716
9697
|
size
|
|
9717
9698
|
});
|
|
9718
9699
|
return jsx("div", {
|
|
@@ -9723,7 +9704,7 @@ const VentionMenuHeader = props => {
|
|
|
9723
9704
|
})
|
|
9724
9705
|
});
|
|
9725
9706
|
};
|
|
9726
|
-
const useStyles$
|
|
9707
|
+
const useStyles$f = tss.withParams().create(({
|
|
9727
9708
|
size
|
|
9728
9709
|
}) => {
|
|
9729
9710
|
const stylingProperties = getPaddingForMenuHeaderSize(size);
|
|
@@ -9739,7 +9720,7 @@ const VentionMenuDivider = ({
|
|
|
9739
9720
|
}) => {
|
|
9740
9721
|
const {
|
|
9741
9722
|
classes
|
|
9742
|
-
} = useStyles$
|
|
9723
|
+
} = useStyles$e({
|
|
9743
9724
|
size
|
|
9744
9725
|
});
|
|
9745
9726
|
return jsx("div", {
|
|
@@ -9751,7 +9732,7 @@ const VentionMenuDivider = ({
|
|
|
9751
9732
|
})
|
|
9752
9733
|
});
|
|
9753
9734
|
};
|
|
9754
|
-
const useStyles$
|
|
9735
|
+
const useStyles$e = tss.withParams().create(({
|
|
9755
9736
|
size
|
|
9756
9737
|
}) => {
|
|
9757
9738
|
const stylingProperties = getPaddingForMenuDividerSize(size);
|
|
@@ -9805,10 +9786,10 @@ VentionMenu.Header = VentionMenuHeader;
|
|
|
9805
9786
|
VentionMenu.Divider = VentionMenuDivider;
|
|
9806
9787
|
|
|
9807
9788
|
var $$8 = _export;
|
|
9808
|
-
var call$
|
|
9789
|
+
var call$7 = functionCall;
|
|
9809
9790
|
var iterate$2 = iterate$6;
|
|
9810
9791
|
var aCallable$5 = aCallable$h;
|
|
9811
|
-
var anObject$
|
|
9792
|
+
var anObject$6 = anObject$m;
|
|
9812
9793
|
var getIteratorDirect$3 = getIteratorDirect$6;
|
|
9813
9794
|
var iteratorClose$3 = iteratorClose$a;
|
|
9814
9795
|
var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -9819,14 +9800,14 @@ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3(
|
|
|
9819
9800
|
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
9820
9801
|
$$8({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
9821
9802
|
some: function some(predicate) {
|
|
9822
|
-
anObject$
|
|
9803
|
+
anObject$6(this);
|
|
9823
9804
|
try {
|
|
9824
9805
|
aCallable$5(predicate);
|
|
9825
9806
|
} catch (error) {
|
|
9826
9807
|
iteratorClose$3(this, 'throw', error);
|
|
9827
9808
|
}
|
|
9828
9809
|
|
|
9829
|
-
if (someWithoutClosingOnEarlyError) return call$
|
|
9810
|
+
if (someWithoutClosingOnEarlyError) return call$7(someWithoutClosingOnEarlyError, this, predicate);
|
|
9830
9811
|
|
|
9831
9812
|
var record = getIteratorDirect$3(this);
|
|
9832
9813
|
var counter = 0;
|
|
@@ -9844,7 +9825,7 @@ const VentionCollapsibleCaretButton = ({
|
|
|
9844
9825
|
}) => {
|
|
9845
9826
|
const {
|
|
9846
9827
|
classes
|
|
9847
|
-
} = useStyles$
|
|
9828
|
+
} = useStyles$d({
|
|
9848
9829
|
isVisible,
|
|
9849
9830
|
isExpanded
|
|
9850
9831
|
});
|
|
@@ -9859,7 +9840,7 @@ const VentionCollapsibleCaretButton = ({
|
|
|
9859
9840
|
})
|
|
9860
9841
|
});
|
|
9861
9842
|
};
|
|
9862
|
-
const useStyles$
|
|
9843
|
+
const useStyles$d = tss.withParams().create(({
|
|
9863
9844
|
isVisible,
|
|
9864
9845
|
isExpanded,
|
|
9865
9846
|
theme
|
|
@@ -9925,7 +9906,7 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
9925
9906
|
const {
|
|
9926
9907
|
classes,
|
|
9927
9908
|
cx
|
|
9928
|
-
} = useStyles$
|
|
9909
|
+
} = useStyles$c({
|
|
9929
9910
|
classesOverrides,
|
|
9930
9911
|
hasWarning: hasWarning,
|
|
9931
9912
|
isSelected: isSelected,
|
|
@@ -10074,7 +10055,7 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
10074
10055
|
})]
|
|
10075
10056
|
});
|
|
10076
10057
|
});
|
|
10077
|
-
const useStyles$
|
|
10058
|
+
const useStyles$c = tss.withParams().withNestedSelectors().create(({
|
|
10078
10059
|
isSelected,
|
|
10079
10060
|
isExpanded,
|
|
10080
10061
|
theme,
|
|
@@ -10225,7 +10206,7 @@ const useStyles$a = tss.withParams().withNestedSelectors().create(({
|
|
|
10225
10206
|
const VentionDrawerWrapper = props => {
|
|
10226
10207
|
const {
|
|
10227
10208
|
classes
|
|
10228
|
-
} = useStyles$
|
|
10209
|
+
} = useStyles$b({
|
|
10229
10210
|
onDrawerHandleClick: props.onDrawerHandleClick,
|
|
10230
10211
|
anchor: props.anchor,
|
|
10231
10212
|
open: props.open
|
|
@@ -10240,7 +10221,7 @@ const VentionDrawerWrapper = props => {
|
|
|
10240
10221
|
const VentionDrawer = props => {
|
|
10241
10222
|
const {
|
|
10242
10223
|
classes
|
|
10243
|
-
} = useStyles$
|
|
10224
|
+
} = useStyles$b({
|
|
10244
10225
|
onDrawerHandleClick: props.onDrawerHandleClick,
|
|
10245
10226
|
width: props.width,
|
|
10246
10227
|
anchor: props.anchor,
|
|
@@ -10276,7 +10257,7 @@ const VentionDrawer = props => {
|
|
|
10276
10257
|
};
|
|
10277
10258
|
const DrawerHandleHeight = 64;
|
|
10278
10259
|
const DrawerHandleWidth = 24;
|
|
10279
|
-
const useStyles$
|
|
10260
|
+
const useStyles$b = tss.withParams().create(({
|
|
10280
10261
|
onDrawerHandleClick,
|
|
10281
10262
|
width,
|
|
10282
10263
|
anchor,
|
|
@@ -10350,7 +10331,7 @@ const VentionStatusIndicator = inputProps => {
|
|
|
10350
10331
|
const {
|
|
10351
10332
|
classes,
|
|
10352
10333
|
theme
|
|
10353
|
-
} = useStyles$
|
|
10334
|
+
} = useStyles$a({
|
|
10354
10335
|
size: props.size,
|
|
10355
10336
|
outline: props.outline,
|
|
10356
10337
|
dotPosition: props.dotPosition
|
|
@@ -10372,7 +10353,7 @@ const VentionStatusIndicator = inputProps => {
|
|
|
10372
10353
|
})]
|
|
10373
10354
|
});
|
|
10374
10355
|
};
|
|
10375
|
-
const useStyles$
|
|
10356
|
+
const useStyles$a = tss.withParams().create(({
|
|
10376
10357
|
size,
|
|
10377
10358
|
outline,
|
|
10378
10359
|
dotPosition,
|
|
@@ -10530,7 +10511,7 @@ const VentionBanner = ({
|
|
|
10530
10511
|
}) => {
|
|
10531
10512
|
const {
|
|
10532
10513
|
classes
|
|
10533
|
-
} = useStyles$
|
|
10514
|
+
} = useStyles$9({
|
|
10534
10515
|
color,
|
|
10535
10516
|
accent: _accent
|
|
10536
10517
|
});
|
|
@@ -10619,7 +10600,7 @@ function useBannerColorStyles(color, accent, theme) {
|
|
|
10619
10600
|
textColor
|
|
10620
10601
|
};
|
|
10621
10602
|
}
|
|
10622
|
-
const useStyles$
|
|
10603
|
+
const useStyles$9 = tss.withParams().create(({
|
|
10623
10604
|
theme,
|
|
10624
10605
|
color,
|
|
10625
10606
|
accent
|
|
@@ -10688,7 +10669,7 @@ const VentionModalBanner = ({
|
|
|
10688
10669
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
10689
10670
|
const {
|
|
10690
10671
|
classes
|
|
10691
|
-
} = useStyles$
|
|
10672
|
+
} = useStyles$8({
|
|
10692
10673
|
color,
|
|
10693
10674
|
accent: _accent,
|
|
10694
10675
|
maxWidth: _maxWidth
|
|
@@ -10736,7 +10717,7 @@ const VentionModalBanner = ({
|
|
|
10736
10717
|
})]
|
|
10737
10718
|
});
|
|
10738
10719
|
};
|
|
10739
|
-
const useStyles$
|
|
10720
|
+
const useStyles$8 = tss.withParams().create(({
|
|
10740
10721
|
theme,
|
|
10741
10722
|
color,
|
|
10742
10723
|
accent,
|
|
@@ -10787,7 +10768,7 @@ const useStyles$6 = tss.withParams().create(({
|
|
|
10787
10768
|
const VentionSidebarItem = props => {
|
|
10788
10769
|
const {
|
|
10789
10770
|
classes
|
|
10790
|
-
} = useStyles$
|
|
10771
|
+
} = useStyles$7({
|
|
10791
10772
|
state: props.state
|
|
10792
10773
|
});
|
|
10793
10774
|
const isDisabled = props.state === "disabled";
|
|
@@ -10820,7 +10801,7 @@ const VentionSidebarItem = props => {
|
|
|
10820
10801
|
})
|
|
10821
10802
|
});
|
|
10822
10803
|
};
|
|
10823
|
-
const useStyles$
|
|
10804
|
+
const useStyles$7 = tss.withParams().create(({
|
|
10824
10805
|
theme,
|
|
10825
10806
|
state
|
|
10826
10807
|
}) => {
|
|
@@ -10901,13 +10882,13 @@ var doesNotExceedSafeInteger$1 = function (it) {
|
|
|
10901
10882
|
};
|
|
10902
10883
|
|
|
10903
10884
|
var $$7 = _export;
|
|
10904
|
-
var toObject$
|
|
10885
|
+
var toObject$3 = toObject$7;
|
|
10905
10886
|
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
10906
10887
|
var setArrayLength = arraySetLength;
|
|
10907
10888
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
10908
|
-
var fails$
|
|
10889
|
+
var fails$8 = fails$s;
|
|
10909
10890
|
|
|
10910
|
-
var INCORRECT_TO_LENGTH = fails$
|
|
10891
|
+
var INCORRECT_TO_LENGTH = fails$8(function () {
|
|
10911
10892
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
10912
10893
|
});
|
|
10913
10894
|
|
|
@@ -10929,7 +10910,7 @@ var FORCED$3 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
|
10929
10910
|
$$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
|
|
10930
10911
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
10931
10912
|
push: function push(item) {
|
|
10932
|
-
var O = toObject$
|
|
10913
|
+
var O = toObject$3(this);
|
|
10933
10914
|
var len = lengthOfArrayLike$2(O);
|
|
10934
10915
|
var argCount = arguments.length;
|
|
10935
10916
|
doesNotExceedSafeInteger(len + argCount);
|
|
@@ -10943,7 +10924,7 @@ $$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
|
|
|
10943
10924
|
});
|
|
10944
10925
|
|
|
10945
10926
|
var aCallable$4 = aCallable$h;
|
|
10946
|
-
var toObject$
|
|
10927
|
+
var toObject$2 = toObject$7;
|
|
10947
10928
|
var IndexedObject = indexedObject;
|
|
10948
10929
|
var lengthOfArrayLike$1 = lengthOfArrayLike$5;
|
|
10949
10930
|
|
|
@@ -10952,9 +10933,9 @@ var $TypeError$4 = TypeError;
|
|
|
10952
10933
|
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
|
|
10953
10934
|
|
|
10954
10935
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
10955
|
-
var createMethod = function (IS_RIGHT) {
|
|
10936
|
+
var createMethod$1 = function (IS_RIGHT) {
|
|
10956
10937
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
10957
|
-
var O = toObject$
|
|
10938
|
+
var O = toObject$2(that);
|
|
10958
10939
|
var self = IndexedObject(O);
|
|
10959
10940
|
var length = lengthOfArrayLike$1(O);
|
|
10960
10941
|
aCallable$4(callbackfn);
|
|
@@ -10982,13 +10963,13 @@ var createMethod = function (IS_RIGHT) {
|
|
|
10982
10963
|
var arrayReduce = {
|
|
10983
10964
|
// `Array.prototype.reduce` method
|
|
10984
10965
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
10985
|
-
left: createMethod(false)};
|
|
10966
|
+
left: createMethod$1(false)};
|
|
10986
10967
|
|
|
10987
|
-
var fails$
|
|
10968
|
+
var fails$7 = fails$s;
|
|
10988
10969
|
|
|
10989
10970
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
10990
10971
|
var method = [][METHOD_NAME];
|
|
10991
|
-
return !!method && fails$
|
|
10972
|
+
return !!method && fails$7(function () {
|
|
10992
10973
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
10993
10974
|
method.call(null, argument || function () { return 1; }, 1);
|
|
10994
10975
|
});
|
|
@@ -11024,7 +11005,7 @@ var deletePropertyOrThrow$1 = function (O, P) {
|
|
|
11024
11005
|
|
|
11025
11006
|
var arraySlice = arraySlice$2;
|
|
11026
11007
|
|
|
11027
|
-
var floor = Math.floor;
|
|
11008
|
+
var floor$1 = Math.floor;
|
|
11028
11009
|
|
|
11029
11010
|
var sort = function (array, comparefn) {
|
|
11030
11011
|
var length = array.length;
|
|
@@ -11044,7 +11025,7 @@ var sort = function (array, comparefn) {
|
|
|
11044
11025
|
}
|
|
11045
11026
|
} else {
|
|
11046
11027
|
// merge sort
|
|
11047
|
-
var middle = floor(length / 2);
|
|
11028
|
+
var middle = floor$1(length / 2);
|
|
11048
11029
|
var left = sort(arraySlice(array, 0, middle), comparefn);
|
|
11049
11030
|
var right = sort(arraySlice(array, middle), comparefn);
|
|
11050
11031
|
var llength = left.length;
|
|
@@ -11081,13 +11062,13 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
11081
11062
|
var environmentWebkitVersion = !!webkit && +webkit[1];
|
|
11082
11063
|
|
|
11083
11064
|
var $$5 = _export;
|
|
11084
|
-
var uncurryThis$
|
|
11065
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
11085
11066
|
var aCallable$3 = aCallable$h;
|
|
11086
|
-
var toObject = toObject$
|
|
11067
|
+
var toObject$1 = toObject$7;
|
|
11087
11068
|
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
11088
11069
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
11089
|
-
var toString$
|
|
11090
|
-
var fails$
|
|
11070
|
+
var toString$5 = toString$9;
|
|
11071
|
+
var fails$6 = fails$s;
|
|
11091
11072
|
var internalSort = arraySort;
|
|
11092
11073
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
11093
11074
|
var FF = environmentFfVersion;
|
|
@@ -11096,21 +11077,21 @@ var V8 = environmentV8Version;
|
|
|
11096
11077
|
var WEBKIT = environmentWebkitVersion;
|
|
11097
11078
|
|
|
11098
11079
|
var test = [];
|
|
11099
|
-
var nativeSort = uncurryThis$
|
|
11100
|
-
var push = uncurryThis$
|
|
11080
|
+
var nativeSort = uncurryThis$5(test.sort);
|
|
11081
|
+
var push$1 = uncurryThis$5(test.push);
|
|
11101
11082
|
|
|
11102
11083
|
// IE8-
|
|
11103
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
11084
|
+
var FAILS_ON_UNDEFINED = fails$6(function () {
|
|
11104
11085
|
test.sort(undefined);
|
|
11105
11086
|
});
|
|
11106
11087
|
// V8 bug
|
|
11107
|
-
var FAILS_ON_NULL = fails$
|
|
11088
|
+
var FAILS_ON_NULL = fails$6(function () {
|
|
11108
11089
|
test.sort(null);
|
|
11109
11090
|
});
|
|
11110
11091
|
// Old WebKit
|
|
11111
11092
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
11112
11093
|
|
|
11113
|
-
var STABLE_SORT = !fails$
|
|
11094
|
+
var STABLE_SORT = !fails$6(function () {
|
|
11114
11095
|
// feature detection can be too slow, so check engines versions
|
|
11115
11096
|
if (V8) return V8 < 70;
|
|
11116
11097
|
if (FF && FF > 3) return;
|
|
@@ -11152,8 +11133,8 @@ var getSortCompare = function (comparefn) {
|
|
|
11152
11133
|
if (y === undefined) return -1;
|
|
11153
11134
|
if (x === undefined) return 1;
|
|
11154
11135
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
11155
|
-
var xString = toString$
|
|
11156
|
-
var yString = toString$
|
|
11136
|
+
var xString = toString$5(x);
|
|
11137
|
+
var yString = toString$5(y);
|
|
11157
11138
|
return xString === yString ? 0 : xString > yString ? 1 : -1;
|
|
11158
11139
|
};
|
|
11159
11140
|
};
|
|
@@ -11164,7 +11145,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11164
11145
|
sort: function sort(comparefn) {
|
|
11165
11146
|
if (comparefn !== undefined) aCallable$3(comparefn);
|
|
11166
11147
|
|
|
11167
|
-
var array = toObject(this);
|
|
11148
|
+
var array = toObject$1(this);
|
|
11168
11149
|
|
|
11169
11150
|
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
|
|
11170
11151
|
|
|
@@ -11173,7 +11154,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11173
11154
|
var itemsLength, index;
|
|
11174
11155
|
|
|
11175
11156
|
for (index = 0; index < arrayLength; index++) {
|
|
11176
|
-
if (index in array) push(items, array[index]);
|
|
11157
|
+
if (index in array) push$1(items, array[index]);
|
|
11177
11158
|
}
|
|
11178
11159
|
|
|
11179
11160
|
internalSort(items, getSortCompare(comparefn));
|
|
@@ -11189,9 +11170,9 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11189
11170
|
});
|
|
11190
11171
|
|
|
11191
11172
|
var $$4 = _export;
|
|
11192
|
-
var call$
|
|
11173
|
+
var call$6 = functionCall;
|
|
11193
11174
|
var aCallable$2 = aCallable$h;
|
|
11194
|
-
var anObject$
|
|
11175
|
+
var anObject$5 = anObject$m;
|
|
11195
11176
|
var getIteratorDirect$2 = getIteratorDirect$6;
|
|
11196
11177
|
var createIteratorProxy = iteratorCreateProxy;
|
|
11197
11178
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
@@ -11211,7 +11192,7 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
11211
11192
|
var next = this.next;
|
|
11212
11193
|
var result, done, value;
|
|
11213
11194
|
while (true) {
|
|
11214
|
-
result = anObject$
|
|
11195
|
+
result = anObject$5(call$6(next, iterator));
|
|
11215
11196
|
done = this.done = !!result.done;
|
|
11216
11197
|
if (done) return;
|
|
11217
11198
|
value = result.value;
|
|
@@ -11223,14 +11204,14 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
11223
11204
|
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
11224
11205
|
$$4({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
11225
11206
|
filter: function filter(predicate) {
|
|
11226
|
-
anObject$
|
|
11207
|
+
anObject$5(this);
|
|
11227
11208
|
try {
|
|
11228
11209
|
aCallable$2(predicate);
|
|
11229
11210
|
} catch (error) {
|
|
11230
11211
|
iteratorClose$2(this, 'throw', error);
|
|
11231
11212
|
}
|
|
11232
11213
|
|
|
11233
|
-
if (filterWithoutClosingOnEarlyError) return call$
|
|
11214
|
+
if (filterWithoutClosingOnEarlyError) return call$6(filterWithoutClosingOnEarlyError, this, predicate);
|
|
11234
11215
|
|
|
11235
11216
|
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
11236
11217
|
predicate: predicate
|
|
@@ -11239,10 +11220,10 @@ $$4({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
11239
11220
|
});
|
|
11240
11221
|
|
|
11241
11222
|
var $$3 = _export;
|
|
11242
|
-
var call$
|
|
11223
|
+
var call$5 = functionCall;
|
|
11243
11224
|
var iterate$1 = iterate$6;
|
|
11244
11225
|
var aCallable$1 = aCallable$h;
|
|
11245
|
-
var anObject$
|
|
11226
|
+
var anObject$4 = anObject$m;
|
|
11246
11227
|
var getIteratorDirect$1 = getIteratorDirect$6;
|
|
11247
11228
|
var iteratorClose$1 = iteratorClose$a;
|
|
11248
11229
|
var iteratorHelperWithoutClosingOnEarlyError$1 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -11253,14 +11234,14 @@ var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1(
|
|
|
11253
11234
|
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
11254
11235
|
$$3({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
11255
11236
|
find: function find(predicate) {
|
|
11256
|
-
anObject$
|
|
11237
|
+
anObject$4(this);
|
|
11257
11238
|
try {
|
|
11258
11239
|
aCallable$1(predicate);
|
|
11259
11240
|
} catch (error) {
|
|
11260
11241
|
iteratorClose$1(this, 'throw', error);
|
|
11261
11242
|
}
|
|
11262
11243
|
|
|
11263
|
-
if (findWithoutClosingOnEarlyError) return call$
|
|
11244
|
+
if (findWithoutClosingOnEarlyError) return call$5(findWithoutClosingOnEarlyError, this, predicate);
|
|
11264
11245
|
|
|
11265
11246
|
var record = getIteratorDirect$1(this);
|
|
11266
11247
|
var counter = 0;
|
|
@@ -11273,17 +11254,17 @@ $$3({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnE
|
|
|
11273
11254
|
var $$2 = _export;
|
|
11274
11255
|
var iterate = iterate$6;
|
|
11275
11256
|
var aCallable = aCallable$h;
|
|
11276
|
-
var anObject$
|
|
11257
|
+
var anObject$3 = anObject$m;
|
|
11277
11258
|
var getIteratorDirect = getIteratorDirect$6;
|
|
11278
11259
|
var iteratorClose = iteratorClose$a;
|
|
11279
11260
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
11280
|
-
var apply = functionApply;
|
|
11281
|
-
var fails$
|
|
11261
|
+
var apply$1 = functionApply;
|
|
11262
|
+
var fails$5 = fails$s;
|
|
11282
11263
|
|
|
11283
11264
|
var $TypeError$2 = TypeError;
|
|
11284
11265
|
|
|
11285
11266
|
// https://bugs.webkit.org/show_bug.cgi?id=291651
|
|
11286
|
-
var FAILS_ON_INITIAL_UNDEFINED = fails$
|
|
11267
|
+
var FAILS_ON_INITIAL_UNDEFINED = fails$5(function () {
|
|
11287
11268
|
// eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
|
|
11288
11269
|
[].keys().reduce(function () { /* empty */ }, undefined);
|
|
11289
11270
|
});
|
|
@@ -11294,7 +11275,7 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
11294
11275
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
11295
11276
|
$$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
11296
11277
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
11297
|
-
anObject$
|
|
11278
|
+
anObject$3(this);
|
|
11298
11279
|
try {
|
|
11299
11280
|
aCallable(reducer);
|
|
11300
11281
|
} catch (error) {
|
|
@@ -11304,7 +11285,7 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
11304
11285
|
var noInitial = arguments.length < 2;
|
|
11305
11286
|
var accumulator = noInitial ? undefined : arguments[1];
|
|
11306
11287
|
if (reduceWithoutClosingOnEarlyError) {
|
|
11307
|
-
return apply(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
|
|
11288
|
+
return apply$1(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
|
|
11308
11289
|
}
|
|
11309
11290
|
var record = getIteratorDirect(this);
|
|
11310
11291
|
var counter = 0;
|
|
@@ -11322,13 +11303,13 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
11322
11303
|
}
|
|
11323
11304
|
});
|
|
11324
11305
|
|
|
11325
|
-
var fails$
|
|
11306
|
+
var fails$4 = fails$s;
|
|
11326
11307
|
var globalThis$3 = globalThis_1;
|
|
11327
11308
|
|
|
11328
11309
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
11329
11310
|
var $RegExp$2 = globalThis$3.RegExp;
|
|
11330
11311
|
|
|
11331
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
11312
|
+
var UNSUPPORTED_Y$1 = fails$4(function () {
|
|
11332
11313
|
var re = $RegExp$2('a', 'y');
|
|
11333
11314
|
re.lastIndex = 2;
|
|
11334
11315
|
return re.exec('abcd') !== null;
|
|
@@ -11336,11 +11317,11 @@ var UNSUPPORTED_Y$1 = fails$3(function () {
|
|
|
11336
11317
|
|
|
11337
11318
|
// UC Browser bug
|
|
11338
11319
|
// https://github.com/zloirock/core-js/issues/1008
|
|
11339
|
-
UNSUPPORTED_Y$1 || fails$
|
|
11320
|
+
UNSUPPORTED_Y$1 || fails$4(function () {
|
|
11340
11321
|
return !$RegExp$2('a', 'y').sticky;
|
|
11341
11322
|
});
|
|
11342
11323
|
|
|
11343
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
11324
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () {
|
|
11344
11325
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
11345
11326
|
var re = $RegExp$2('^r', 'gy');
|
|
11346
11327
|
re.lastIndex = 2;
|
|
@@ -11350,24 +11331,24 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
|
|
|
11350
11331
|
var regexpStickyHelpers = {
|
|
11351
11332
|
BROKEN_CARET: BROKEN_CARET};
|
|
11352
11333
|
|
|
11353
|
-
var fails$
|
|
11334
|
+
var fails$3 = fails$s;
|
|
11354
11335
|
var globalThis$2 = globalThis_1;
|
|
11355
11336
|
|
|
11356
11337
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
11357
11338
|
var $RegExp$1 = globalThis$2.RegExp;
|
|
11358
11339
|
|
|
11359
|
-
var regexpUnsupportedDotAll = fails$
|
|
11340
|
+
var regexpUnsupportedDotAll = fails$3(function () {
|
|
11360
11341
|
var re = $RegExp$1('.', 's');
|
|
11361
11342
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
11362
11343
|
});
|
|
11363
11344
|
|
|
11364
|
-
var fails$
|
|
11345
|
+
var fails$2 = fails$s;
|
|
11365
11346
|
var globalThis$1 = globalThis_1;
|
|
11366
11347
|
|
|
11367
11348
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
11368
11349
|
var $RegExp = globalThis$1.RegExp;
|
|
11369
11350
|
|
|
11370
|
-
var regexpUnsupportedNcg = fails$
|
|
11351
|
+
var regexpUnsupportedNcg = fails$2(function () {
|
|
11371
11352
|
var re = $RegExp('(?<a>b)', 'g');
|
|
11372
11353
|
return re.exec('b').groups.a !== 'b' ||
|
|
11373
11354
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -11375,9 +11356,9 @@ var regexpUnsupportedNcg = fails$1(function () {
|
|
|
11375
11356
|
|
|
11376
11357
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
11377
11358
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
11378
|
-
var call$
|
|
11379
|
-
var uncurryThis$
|
|
11380
|
-
var toString$
|
|
11359
|
+
var call$4 = functionCall;
|
|
11360
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
11361
|
+
var toString$4 = toString$9;
|
|
11381
11362
|
var regexpFlags = regexpFlags$1;
|
|
11382
11363
|
var stickyHelpers = regexpStickyHelpers;
|
|
11383
11364
|
var shared = shared$4;
|
|
@@ -11389,16 +11370,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
11389
11370
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
11390
11371
|
var nativeExec = RegExp.prototype.exec;
|
|
11391
11372
|
var patchedExec = nativeExec;
|
|
11392
|
-
var charAt = uncurryThis$
|
|
11393
|
-
var indexOf = uncurryThis$
|
|
11394
|
-
var replace = uncurryThis$
|
|
11395
|
-
var stringSlice = uncurryThis$
|
|
11373
|
+
var charAt$3 = uncurryThis$4(''.charAt);
|
|
11374
|
+
var indexOf = uncurryThis$4(''.indexOf);
|
|
11375
|
+
var replace$1 = uncurryThis$4(''.replace);
|
|
11376
|
+
var stringSlice$3 = uncurryThis$4(''.slice);
|
|
11396
11377
|
|
|
11397
11378
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
11398
11379
|
var re1 = /a/;
|
|
11399
11380
|
var re2 = /b*/g;
|
|
11400
|
-
call$
|
|
11401
|
-
call$
|
|
11381
|
+
call$4(nativeExec, re1, 'a');
|
|
11382
|
+
call$4(nativeExec, re2, 'a');
|
|
11402
11383
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
11403
11384
|
})();
|
|
11404
11385
|
|
|
@@ -11421,13 +11402,13 @@ if (PATCH) {
|
|
|
11421
11402
|
patchedExec = function exec(string) {
|
|
11422
11403
|
var re = this;
|
|
11423
11404
|
var state = getInternalState(re);
|
|
11424
|
-
var str = toString$
|
|
11405
|
+
var str = toString$4(string);
|
|
11425
11406
|
var raw = state.raw;
|
|
11426
11407
|
var result, reCopy, lastIndex;
|
|
11427
11408
|
|
|
11428
11409
|
if (raw) {
|
|
11429
11410
|
raw.lastIndex = re.lastIndex;
|
|
11430
|
-
result = call$
|
|
11411
|
+
result = call$4(patchedExec, raw, str);
|
|
11431
11412
|
re.lastIndex = raw.lastIndex;
|
|
11432
11413
|
|
|
11433
11414
|
if (result && state.groups) setGroups(result, state.groups);
|
|
@@ -11437,20 +11418,20 @@ if (PATCH) {
|
|
|
11437
11418
|
|
|
11438
11419
|
var groups = state.groups;
|
|
11439
11420
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
11440
|
-
var flags = call$
|
|
11421
|
+
var flags = call$4(regexpFlags, re);
|
|
11441
11422
|
var source = re.source;
|
|
11442
11423
|
var charsAdded = 0;
|
|
11443
11424
|
var strCopy = str;
|
|
11444
11425
|
|
|
11445
11426
|
if (sticky) {
|
|
11446
|
-
flags = replace(flags, 'y', '');
|
|
11427
|
+
flags = replace$1(flags, 'y', '');
|
|
11447
11428
|
if (indexOf(flags, 'g') === -1) {
|
|
11448
11429
|
flags += 'g';
|
|
11449
11430
|
}
|
|
11450
11431
|
|
|
11451
|
-
strCopy = stringSlice(str, re.lastIndex);
|
|
11432
|
+
strCopy = stringSlice$3(str, re.lastIndex);
|
|
11452
11433
|
// Support anchored sticky behavior.
|
|
11453
|
-
var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
|
|
11434
|
+
var prevChar = re.lastIndex > 0 && charAt$3(str, re.lastIndex - 1);
|
|
11454
11435
|
if (re.lastIndex > 0 &&
|
|
11455
11436
|
(!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
|
|
11456
11437
|
source = '(?: (?:' + source + '))';
|
|
@@ -11467,12 +11448,12 @@ if (PATCH) {
|
|
|
11467
11448
|
}
|
|
11468
11449
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
11469
11450
|
|
|
11470
|
-
var match = call$
|
|
11451
|
+
var match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
|
|
11471
11452
|
|
|
11472
11453
|
if (sticky) {
|
|
11473
11454
|
if (match) {
|
|
11474
11455
|
match.input = str;
|
|
11475
|
-
match[0] = stringSlice(match[0], charsAdded);
|
|
11456
|
+
match[0] = stringSlice$3(match[0], charsAdded);
|
|
11476
11457
|
match.index = re.lastIndex;
|
|
11477
11458
|
re.lastIndex += match[0].length;
|
|
11478
11459
|
} else re.lastIndex = 0;
|
|
@@ -11482,7 +11463,7 @@ if (PATCH) {
|
|
|
11482
11463
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
11483
11464
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
11484
11465
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
11485
|
-
call$
|
|
11466
|
+
call$4(nativeReplace, match[0], reCopy, function () {
|
|
11486
11467
|
for (var i = 1; i < arguments.length - 2; i++) {
|
|
11487
11468
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
11488
11469
|
}
|
|
@@ -11506,17 +11487,17 @@ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
11506
11487
|
exec: exec
|
|
11507
11488
|
});
|
|
11508
11489
|
|
|
11509
|
-
var isObject$
|
|
11490
|
+
var isObject$2 = isObject$f;
|
|
11510
11491
|
var classof$1 = classofRaw$2;
|
|
11511
|
-
var wellKnownSymbol$
|
|
11492
|
+
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
11512
11493
|
|
|
11513
|
-
var MATCH$1 = wellKnownSymbol$
|
|
11494
|
+
var MATCH$1 = wellKnownSymbol$3('match');
|
|
11514
11495
|
|
|
11515
11496
|
// `IsRegExp` abstract operation
|
|
11516
11497
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
11517
11498
|
var isRegexp = function (it) {
|
|
11518
11499
|
var isRegExp;
|
|
11519
|
-
return isObject$
|
|
11500
|
+
return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
|
|
11520
11501
|
};
|
|
11521
11502
|
|
|
11522
11503
|
var isRegExp = isRegexp;
|
|
@@ -11529,9 +11510,9 @@ var notARegexp = function (it) {
|
|
|
11529
11510
|
} return it;
|
|
11530
11511
|
};
|
|
11531
11512
|
|
|
11532
|
-
var wellKnownSymbol$
|
|
11513
|
+
var wellKnownSymbol$2 = wellKnownSymbol$k;
|
|
11533
11514
|
|
|
11534
|
-
var MATCH = wellKnownSymbol$
|
|
11515
|
+
var MATCH = wellKnownSymbol$2('match');
|
|
11535
11516
|
|
|
11536
11517
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
11537
11518
|
var regexp = /./;
|
|
@@ -11546,21 +11527,21 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
11546
11527
|
};
|
|
11547
11528
|
|
|
11548
11529
|
var $ = _export;
|
|
11549
|
-
var uncurryThis = functionUncurryThis;
|
|
11530
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
11550
11531
|
var notARegExp = notARegexp;
|
|
11551
|
-
var requireObjectCoercible$
|
|
11552
|
-
var toString$
|
|
11532
|
+
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
11533
|
+
var toString$3 = toString$9;
|
|
11553
11534
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
11554
11535
|
|
|
11555
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
11536
|
+
var stringIndexOf$1 = uncurryThis$3(''.indexOf);
|
|
11556
11537
|
|
|
11557
11538
|
// `String.prototype.includes` method
|
|
11558
11539
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
11559
11540
|
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
11560
11541
|
includes: function includes(searchString /* , position = 0 */) {
|
|
11561
|
-
return !!~stringIndexOf(
|
|
11562
|
-
toString$
|
|
11563
|
-
toString$
|
|
11542
|
+
return !!~stringIndexOf$1(
|
|
11543
|
+
toString$3(requireObjectCoercible$3(this)),
|
|
11544
|
+
toString$3(notARegExp(searchString)),
|
|
11564
11545
|
arguments.length > 1 ? arguments[1] : undefined
|
|
11565
11546
|
);
|
|
11566
11547
|
}
|
|
@@ -11568,20 +11549,20 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
11568
11549
|
|
|
11569
11550
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
11570
11551
|
|
|
11571
|
-
var call$
|
|
11552
|
+
var call$3 = functionCall;
|
|
11572
11553
|
var defineBuiltIn = defineBuiltIn$8;
|
|
11573
11554
|
var regexpExec$1 = regexpExec$2;
|
|
11574
|
-
var fails = fails$
|
|
11575
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
11555
|
+
var fails$1 = fails$s;
|
|
11556
|
+
var wellKnownSymbol$1 = wellKnownSymbol$k;
|
|
11576
11557
|
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
11577
11558
|
|
|
11578
|
-
var SPECIES = wellKnownSymbol('species');
|
|
11559
|
+
var SPECIES = wellKnownSymbol$1('species');
|
|
11579
11560
|
var RegExpPrototype = RegExp.prototype;
|
|
11580
11561
|
|
|
11581
11562
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
11582
|
-
var SYMBOL = wellKnownSymbol(KEY);
|
|
11563
|
+
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
11583
11564
|
|
|
11584
|
-
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
11565
|
+
var DELEGATES_TO_SYMBOL = !fails$1(function () {
|
|
11585
11566
|
// String methods call symbol-named RegExp methods
|
|
11586
11567
|
var O = {};
|
|
11587
11568
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
@@ -11589,7 +11570,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
11589
11570
|
return ''[KEY](O) !== 7;
|
|
11590
11571
|
});
|
|
11591
11572
|
|
|
11592
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
11573
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () {
|
|
11593
11574
|
// Symbol-named RegExp methods call .exec
|
|
11594
11575
|
var execCalled = false;
|
|
11595
11576
|
var re = /a/;
|
|
@@ -11630,9 +11611,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
11630
11611
|
// The native String method already delegates to @@method (this
|
|
11631
11612
|
// polyfilled function), leasing to infinite recursion.
|
|
11632
11613
|
// We avoid it by directly calling the native @@method method.
|
|
11633
|
-
return { done: true, value: call$
|
|
11614
|
+
return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
|
|
11634
11615
|
}
|
|
11635
|
-
return { done: true, value: call$
|
|
11616
|
+
return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
|
|
11636
11617
|
}
|
|
11637
11618
|
return { done: false };
|
|
11638
11619
|
});
|
|
@@ -11652,9 +11633,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
11652
11633
|
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
11653
11634
|
};
|
|
11654
11635
|
|
|
11655
|
-
var call$
|
|
11656
|
-
var anObject$
|
|
11657
|
-
var isCallable = isCallable$
|
|
11636
|
+
var call$2 = functionCall;
|
|
11637
|
+
var anObject$2 = anObject$m;
|
|
11638
|
+
var isCallable$1 = isCallable$o;
|
|
11658
11639
|
var classof = classofRaw$2;
|
|
11659
11640
|
var regexpExec = regexpExec$2;
|
|
11660
11641
|
|
|
@@ -11664,47 +11645,47 @@ var $TypeError = TypeError;
|
|
|
11664
11645
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
11665
11646
|
var regexpExecAbstract = function (R, S) {
|
|
11666
11647
|
var exec = R.exec;
|
|
11667
|
-
if (isCallable(exec)) {
|
|
11668
|
-
var result = call$
|
|
11669
|
-
if (result !== null) anObject$
|
|
11648
|
+
if (isCallable$1(exec)) {
|
|
11649
|
+
var result = call$2(exec, R, S);
|
|
11650
|
+
if (result !== null) anObject$2(result);
|
|
11670
11651
|
return result;
|
|
11671
11652
|
}
|
|
11672
|
-
if (classof(R) === 'RegExp') return call$
|
|
11653
|
+
if (classof(R) === 'RegExp') return call$2(regexpExec, R, S);
|
|
11673
11654
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
|
11674
11655
|
};
|
|
11675
11656
|
|
|
11676
|
-
var call = functionCall;
|
|
11677
|
-
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
11678
|
-
var anObject = anObject$
|
|
11679
|
-
var isObject = isObject$
|
|
11680
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
11657
|
+
var call$1 = functionCall;
|
|
11658
|
+
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
11659
|
+
var anObject$1 = anObject$m;
|
|
11660
|
+
var isObject$1 = isObject$f;
|
|
11661
|
+
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
11681
11662
|
var sameValue = sameValue$1;
|
|
11682
|
-
var toString = toString$
|
|
11683
|
-
var getMethod = getMethod$
|
|
11684
|
-
var regExpExec = regexpExecAbstract;
|
|
11663
|
+
var toString$2 = toString$9;
|
|
11664
|
+
var getMethod$1 = getMethod$6;
|
|
11665
|
+
var regExpExec$1 = regexpExecAbstract;
|
|
11685
11666
|
|
|
11686
11667
|
// @@search logic
|
|
11687
|
-
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
11668
|
+
fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
11688
11669
|
return [
|
|
11689
11670
|
// `String.prototype.search` method
|
|
11690
11671
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
11691
11672
|
function search(regexp) {
|
|
11692
|
-
var O = requireObjectCoercible(this);
|
|
11693
|
-
var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
|
|
11694
|
-
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
11673
|
+
var O = requireObjectCoercible$2(this);
|
|
11674
|
+
var searcher = isObject$1(regexp) ? getMethod$1(regexp, SEARCH) : undefined;
|
|
11675
|
+
return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$2(O));
|
|
11695
11676
|
},
|
|
11696
11677
|
// `RegExp.prototype[@@search]` method
|
|
11697
11678
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
11698
11679
|
function (string) {
|
|
11699
|
-
var rx = anObject(this);
|
|
11700
|
-
var S = toString(string);
|
|
11680
|
+
var rx = anObject$1(this);
|
|
11681
|
+
var S = toString$2(string);
|
|
11701
11682
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
11702
11683
|
|
|
11703
11684
|
if (res.done) return res.value;
|
|
11704
11685
|
|
|
11705
11686
|
var previousLastIndex = rx.lastIndex;
|
|
11706
11687
|
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
|
|
11707
|
-
var result = regExpExec(rx, S);
|
|
11688
|
+
var result = regExpExec$1(rx, S);
|
|
11708
11689
|
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
|
|
11709
11690
|
return result === null ? -1 : result.index;
|
|
11710
11691
|
}
|
|
@@ -11823,7 +11804,7 @@ const VentionCombobox = props => {
|
|
|
11823
11804
|
const {
|
|
11824
11805
|
theme,
|
|
11825
11806
|
classes
|
|
11826
|
-
} = useStyles$
|
|
11807
|
+
} = useStyles$6({
|
|
11827
11808
|
isOpen,
|
|
11828
11809
|
size
|
|
11829
11810
|
});
|
|
@@ -12013,7 +11994,7 @@ const MenuMessage = ({
|
|
|
12013
11994
|
}) => {
|
|
12014
11995
|
const {
|
|
12015
11996
|
classes
|
|
12016
|
-
} = useStyles$
|
|
11997
|
+
} = useStyles$6({
|
|
12017
11998
|
size
|
|
12018
11999
|
});
|
|
12019
12000
|
return jsx("div", {
|
|
@@ -12025,7 +12006,7 @@ const MenuMessage = ({
|
|
|
12025
12006
|
})
|
|
12026
12007
|
});
|
|
12027
12008
|
};
|
|
12028
|
-
const useStyles$
|
|
12009
|
+
const useStyles$6 = tss.withParams().create(({
|
|
12029
12010
|
theme,
|
|
12030
12011
|
isOpen,
|
|
12031
12012
|
size
|
|
@@ -12140,6 +12121,665 @@ const useStyles$4 = tss.withParams().create(({
|
|
|
12140
12121
|
};
|
|
12141
12122
|
});
|
|
12142
12123
|
|
|
12124
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
12125
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
|
|
12126
|
+
var toString$1 = toString$9;
|
|
12127
|
+
var requireObjectCoercible$1 = requireObjectCoercible$8;
|
|
12128
|
+
|
|
12129
|
+
var charAt$2 = uncurryThis$2(''.charAt);
|
|
12130
|
+
var charCodeAt = uncurryThis$2(''.charCodeAt);
|
|
12131
|
+
var stringSlice$2 = uncurryThis$2(''.slice);
|
|
12132
|
+
|
|
12133
|
+
var createMethod = function (CONVERT_TO_STRING) {
|
|
12134
|
+
return function ($this, pos) {
|
|
12135
|
+
var S = toString$1(requireObjectCoercible$1($this));
|
|
12136
|
+
var position = toIntegerOrInfinity$1(pos);
|
|
12137
|
+
var size = S.length;
|
|
12138
|
+
var first, second;
|
|
12139
|
+
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
12140
|
+
first = charCodeAt(S, position);
|
|
12141
|
+
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
12142
|
+
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
12143
|
+
? CONVERT_TO_STRING
|
|
12144
|
+
? charAt$2(S, position)
|
|
12145
|
+
: first
|
|
12146
|
+
: CONVERT_TO_STRING
|
|
12147
|
+
? stringSlice$2(S, position, position + 2)
|
|
12148
|
+
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
12149
|
+
};
|
|
12150
|
+
};
|
|
12151
|
+
|
|
12152
|
+
var stringMultibyte = {
|
|
12153
|
+
// `String.prototype.at` method
|
|
12154
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
12155
|
+
charAt: createMethod(true)
|
|
12156
|
+
};
|
|
12157
|
+
|
|
12158
|
+
var charAt$1 = stringMultibyte.charAt;
|
|
12159
|
+
|
|
12160
|
+
// `AdvanceStringIndex` abstract operation
|
|
12161
|
+
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
12162
|
+
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
12163
|
+
return index + (unicode ? charAt$1(S, index).length || 1 : 1);
|
|
12164
|
+
};
|
|
12165
|
+
|
|
12166
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
12167
|
+
var toObject = toObject$7;
|
|
12168
|
+
|
|
12169
|
+
var floor = Math.floor;
|
|
12170
|
+
var charAt = uncurryThis$1(''.charAt);
|
|
12171
|
+
var replace = uncurryThis$1(''.replace);
|
|
12172
|
+
var stringSlice$1 = uncurryThis$1(''.slice);
|
|
12173
|
+
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
12174
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
12175
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
12176
|
+
|
|
12177
|
+
// `GetSubstitution` abstract operation
|
|
12178
|
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
12179
|
+
var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
12180
|
+
var tailPos = position + matched.length;
|
|
12181
|
+
var m = captures.length;
|
|
12182
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
12183
|
+
if (namedCaptures !== undefined) {
|
|
12184
|
+
namedCaptures = toObject(namedCaptures);
|
|
12185
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
12186
|
+
}
|
|
12187
|
+
return replace(replacement, symbols, function (match, ch) {
|
|
12188
|
+
var capture;
|
|
12189
|
+
switch (charAt(ch, 0)) {
|
|
12190
|
+
case '$': return '$';
|
|
12191
|
+
case '&': return matched;
|
|
12192
|
+
case '`': return stringSlice$1(str, 0, position);
|
|
12193
|
+
case "'": return stringSlice$1(str, tailPos);
|
|
12194
|
+
case '<':
|
|
12195
|
+
capture = namedCaptures[stringSlice$1(ch, 1, -1)];
|
|
12196
|
+
break;
|
|
12197
|
+
default: // \d\d?
|
|
12198
|
+
var n = +ch;
|
|
12199
|
+
if (n === 0) return match;
|
|
12200
|
+
if (n > m) {
|
|
12201
|
+
var f = floor(n / 10);
|
|
12202
|
+
if (f === 0) return match;
|
|
12203
|
+
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
12204
|
+
return match;
|
|
12205
|
+
}
|
|
12206
|
+
capture = captures[n - 1];
|
|
12207
|
+
}
|
|
12208
|
+
return capture === undefined ? '' : capture;
|
|
12209
|
+
});
|
|
12210
|
+
};
|
|
12211
|
+
|
|
12212
|
+
var apply = functionApply;
|
|
12213
|
+
var call = functionCall;
|
|
12214
|
+
var uncurryThis = functionUncurryThis;
|
|
12215
|
+
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
12216
|
+
var fails = fails$s;
|
|
12217
|
+
var anObject = anObject$m;
|
|
12218
|
+
var isCallable = isCallable$o;
|
|
12219
|
+
var isObject = isObject$f;
|
|
12220
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$6;
|
|
12221
|
+
var toLength = toLength$2;
|
|
12222
|
+
var toString = toString$9;
|
|
12223
|
+
var requireObjectCoercible = requireObjectCoercible$8;
|
|
12224
|
+
var advanceStringIndex = advanceStringIndex$1;
|
|
12225
|
+
var getMethod = getMethod$6;
|
|
12226
|
+
var getSubstitution = getSubstitution$1;
|
|
12227
|
+
var getRegExpFlags = regexpGetFlags;
|
|
12228
|
+
var regExpExec = regexpExecAbstract;
|
|
12229
|
+
var wellKnownSymbol = wellKnownSymbol$k;
|
|
12230
|
+
|
|
12231
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
12232
|
+
var max = Math.max;
|
|
12233
|
+
var min = Math.min;
|
|
12234
|
+
var concat = uncurryThis([].concat);
|
|
12235
|
+
var push = uncurryThis([].push);
|
|
12236
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
12237
|
+
var stringSlice = uncurryThis(''.slice);
|
|
12238
|
+
|
|
12239
|
+
var maybeToString = function (it) {
|
|
12240
|
+
return it === undefined ? it : String(it);
|
|
12241
|
+
};
|
|
12242
|
+
|
|
12243
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
12244
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
12245
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
12246
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
12247
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
12248
|
+
})();
|
|
12249
|
+
|
|
12250
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
12251
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
12252
|
+
if (/./[REPLACE]) {
|
|
12253
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
12254
|
+
}
|
|
12255
|
+
return false;
|
|
12256
|
+
})();
|
|
12257
|
+
|
|
12258
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
12259
|
+
var re = /./;
|
|
12260
|
+
re.exec = function () {
|
|
12261
|
+
var result = [];
|
|
12262
|
+
result.groups = { a: '7' };
|
|
12263
|
+
return result;
|
|
12264
|
+
};
|
|
12265
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
12266
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
12267
|
+
});
|
|
12268
|
+
|
|
12269
|
+
// @@replace logic
|
|
12270
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
12271
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
12272
|
+
|
|
12273
|
+
return [
|
|
12274
|
+
// `String.prototype.replace` method
|
|
12275
|
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
12276
|
+
function replace(searchValue, replaceValue) {
|
|
12277
|
+
var O = requireObjectCoercible(this);
|
|
12278
|
+
var replacer = isObject(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
|
|
12279
|
+
return replacer
|
|
12280
|
+
? call(replacer, searchValue, O, replaceValue)
|
|
12281
|
+
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
12282
|
+
},
|
|
12283
|
+
// `RegExp.prototype[@@replace]` method
|
|
12284
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
12285
|
+
function (string, replaceValue) {
|
|
12286
|
+
var rx = anObject(this);
|
|
12287
|
+
var S = toString(string);
|
|
12288
|
+
|
|
12289
|
+
var functionalReplace = isCallable(replaceValue);
|
|
12290
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
12291
|
+
var flags = toString(getRegExpFlags(rx));
|
|
12292
|
+
|
|
12293
|
+
if (
|
|
12294
|
+
typeof replaceValue == 'string' &&
|
|
12295
|
+
!~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
|
|
12296
|
+
!~stringIndexOf(replaceValue, '$<') &&
|
|
12297
|
+
!~stringIndexOf(flags, 'y')
|
|
12298
|
+
) {
|
|
12299
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
12300
|
+
if (res.done) return res.value;
|
|
12301
|
+
}
|
|
12302
|
+
|
|
12303
|
+
var global = !!~stringIndexOf(flags, 'g');
|
|
12304
|
+
var fullUnicode;
|
|
12305
|
+
if (global) {
|
|
12306
|
+
fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
|
|
12307
|
+
rx.lastIndex = 0;
|
|
12308
|
+
}
|
|
12309
|
+
|
|
12310
|
+
var results = [];
|
|
12311
|
+
var result;
|
|
12312
|
+
while (true) {
|
|
12313
|
+
result = regExpExec(rx, S);
|
|
12314
|
+
if (result === null) break;
|
|
12315
|
+
|
|
12316
|
+
push(results, result);
|
|
12317
|
+
if (!global) break;
|
|
12318
|
+
|
|
12319
|
+
var matchStr = toString(result[0]);
|
|
12320
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
12321
|
+
}
|
|
12322
|
+
|
|
12323
|
+
var accumulatedResult = '';
|
|
12324
|
+
var nextSourcePosition = 0;
|
|
12325
|
+
for (var i = 0; i < results.length; i++) {
|
|
12326
|
+
result = results[i];
|
|
12327
|
+
|
|
12328
|
+
var matched = toString(result[0]);
|
|
12329
|
+
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
12330
|
+
var captures = [];
|
|
12331
|
+
var replacement;
|
|
12332
|
+
// NOTE: This is equivalent to
|
|
12333
|
+
// captures = result.slice(1).map(maybeToString)
|
|
12334
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
12335
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
12336
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
12337
|
+
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
|
12338
|
+
var namedCaptures = result.groups;
|
|
12339
|
+
if (functionalReplace) {
|
|
12340
|
+
var replacerArgs = concat([matched], captures, position, S);
|
|
12341
|
+
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
12342
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
12343
|
+
} else {
|
|
12344
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
12345
|
+
}
|
|
12346
|
+
if (position >= nextSourcePosition) {
|
|
12347
|
+
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
12348
|
+
nextSourcePosition = position + matched.length;
|
|
12349
|
+
}
|
|
12350
|
+
}
|
|
12351
|
+
|
|
12352
|
+
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
12353
|
+
}
|
|
12354
|
+
];
|
|
12355
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
12356
|
+
|
|
12357
|
+
const DISABLED_OPACITY = 0.4;
|
|
12358
|
+
const VentionTagsInputTag = ({
|
|
12359
|
+
label,
|
|
12360
|
+
removeLabel,
|
|
12361
|
+
disabled,
|
|
12362
|
+
size,
|
|
12363
|
+
onDelete,
|
|
12364
|
+
dataTestId
|
|
12365
|
+
}) => {
|
|
12366
|
+
const {
|
|
12367
|
+
classes
|
|
12368
|
+
} = useStyles$5({
|
|
12369
|
+
size,
|
|
12370
|
+
disabled
|
|
12371
|
+
});
|
|
12372
|
+
const theme = useTheme();
|
|
12373
|
+
return jsxs("div", {
|
|
12374
|
+
className: classes.root,
|
|
12375
|
+
"data-testid": dataTestId,
|
|
12376
|
+
children: [jsx(Typography, {
|
|
12377
|
+
variant: getTagTypographyVariant(size),
|
|
12378
|
+
className: classes.label,
|
|
12379
|
+
title: label,
|
|
12380
|
+
children: label
|
|
12381
|
+
}), jsx(VentionIconButton, {
|
|
12382
|
+
variant: "text-only",
|
|
12383
|
+
size: "small",
|
|
12384
|
+
tabIndex: -1,
|
|
12385
|
+
disabled: disabled,
|
|
12386
|
+
"aria-label": `${removeLabel} ${label}`,
|
|
12387
|
+
className: classes.removeButton,
|
|
12388
|
+
onClick: onDelete,
|
|
12389
|
+
children: jsx(VentionIcon, {
|
|
12390
|
+
type: "close",
|
|
12391
|
+
size: getRemoveIconSize(size),
|
|
12392
|
+
color: theme.palette.icon.primary
|
|
12393
|
+
})
|
|
12394
|
+
})]
|
|
12395
|
+
});
|
|
12396
|
+
};
|
|
12397
|
+
const useStyles$5 = tss.withParams().create(({
|
|
12398
|
+
size,
|
|
12399
|
+
disabled,
|
|
12400
|
+
theme
|
|
12401
|
+
}) => {
|
|
12402
|
+
const {
|
|
12403
|
+
background,
|
|
12404
|
+
textColor
|
|
12405
|
+
} = getVentionBadgeColors("slate", "subtle", theme);
|
|
12406
|
+
const height = getTagHeight(size);
|
|
12407
|
+
const removeButtonSize = IconSizes[size];
|
|
12408
|
+
return {
|
|
12409
|
+
root: {
|
|
12410
|
+
zIndex: 1,
|
|
12411
|
+
display: "inline-flex",
|
|
12412
|
+
alignItems: "center",
|
|
12413
|
+
gap: theme.spacing(1),
|
|
12414
|
+
height,
|
|
12415
|
+
maxWidth: "100%",
|
|
12416
|
+
padding: getTagPadding(size, theme),
|
|
12417
|
+
background,
|
|
12418
|
+
border: "solid 1px",
|
|
12419
|
+
borderColor: theme.palette.border.default,
|
|
12420
|
+
borderRadius: height / 2,
|
|
12421
|
+
boxSizing: "border-box",
|
|
12422
|
+
opacity: disabled ? DISABLED_OPACITY : 1
|
|
12423
|
+
},
|
|
12424
|
+
label: {
|
|
12425
|
+
color: textColor,
|
|
12426
|
+
overflow: "hidden",
|
|
12427
|
+
textOverflow: "ellipsis",
|
|
12428
|
+
whiteSpace: "nowrap"
|
|
12429
|
+
},
|
|
12430
|
+
removeButton: {
|
|
12431
|
+
flexShrink: 0,
|
|
12432
|
+
width: removeButtonSize,
|
|
12433
|
+
height: removeButtonSize,
|
|
12434
|
+
borderRadius: "50%",
|
|
12435
|
+
opacity: 0.6,
|
|
12436
|
+
backgroundColor: theme.palette.background.surface2,
|
|
12437
|
+
"&:focus-visible": {
|
|
12438
|
+
outline: `1px solid ${theme.palette.border.blue}`,
|
|
12439
|
+
outlineOffset: 0
|
|
12440
|
+
},
|
|
12441
|
+
"& svg > path": {
|
|
12442
|
+
strokeWidth: 2
|
|
12443
|
+
}
|
|
12444
|
+
}
|
|
12445
|
+
};
|
|
12446
|
+
});
|
|
12447
|
+
const getTagHeight = size => {
|
|
12448
|
+
switch (size) {
|
|
12449
|
+
case "small":
|
|
12450
|
+
return 24;
|
|
12451
|
+
case "medium":
|
|
12452
|
+
return 28;
|
|
12453
|
+
case "large":
|
|
12454
|
+
return 32;
|
|
12455
|
+
}
|
|
12456
|
+
};
|
|
12457
|
+
const getRemoveIconSize = size => {
|
|
12458
|
+
switch (size) {
|
|
12459
|
+
case "small":
|
|
12460
|
+
return 12;
|
|
12461
|
+
case "medium":
|
|
12462
|
+
return 14;
|
|
12463
|
+
case "large":
|
|
12464
|
+
return 16;
|
|
12465
|
+
}
|
|
12466
|
+
};
|
|
12467
|
+
const getTagPadding = (size, theme) => {
|
|
12468
|
+
switch (size) {
|
|
12469
|
+
case "small":
|
|
12470
|
+
return theme.spacing(0, 1, 0, 3);
|
|
12471
|
+
case "medium":
|
|
12472
|
+
return theme.spacing(0, 1, 0, 4);
|
|
12473
|
+
case "large":
|
|
12474
|
+
return theme.spacing(0, 2, 0, 4);
|
|
12475
|
+
}
|
|
12476
|
+
};
|
|
12477
|
+
const getTagTypographyVariant = size => {
|
|
12478
|
+
switch (size) {
|
|
12479
|
+
case "small":
|
|
12480
|
+
return "uiText12Medium";
|
|
12481
|
+
case "medium":
|
|
12482
|
+
case "large":
|
|
12483
|
+
return "uiText14Medium";
|
|
12484
|
+
}
|
|
12485
|
+
};
|
|
12486
|
+
|
|
12487
|
+
const OPTION_ROW_HEIGHT = 36;
|
|
12488
|
+
const DEFAULT_MAX_VISIBLE_OPTIONS = 7;
|
|
12489
|
+
const INDICATORS_WIDTH = 56;
|
|
12490
|
+
const INDICATOR_INSET = 2;
|
|
12491
|
+
const FIELD_VERTICAL_PADDING = 4;
|
|
12492
|
+
const EMPTY_TAGS = [];
|
|
12493
|
+
function normalizeTag(tag) {
|
|
12494
|
+
return tag.toLowerCase().replace(/[\s,]+/g, "-").replace(/^-+|-+$/g, "");
|
|
12495
|
+
}
|
|
12496
|
+
function toDisplayedInputValue(rawValue) {
|
|
12497
|
+
return rawValue.toLowerCase().replace(/\s+/g, "-").replace(/^-+/, "");
|
|
12498
|
+
}
|
|
12499
|
+
function collectNormalizedTags(tags, target) {
|
|
12500
|
+
for (const tag of tags) {
|
|
12501
|
+
const normalized = normalizeTag(tag);
|
|
12502
|
+
if (normalized.length > 0 && !target.includes(normalized)) {
|
|
12503
|
+
target.push(normalized);
|
|
12504
|
+
}
|
|
12505
|
+
}
|
|
12506
|
+
return target;
|
|
12507
|
+
}
|
|
12508
|
+
function splitTagsAtLastComma(rawValue, selectedTags) {
|
|
12509
|
+
const lastCommaIndex = rawValue.lastIndexOf(",");
|
|
12510
|
+
return {
|
|
12511
|
+
tags: collectNormalizedTags(rawValue.slice(0, lastCommaIndex).split(","), [...selectedTags]),
|
|
12512
|
+
inputValue: toDisplayedInputValue(rawValue.slice(lastCommaIndex + 1))
|
|
12513
|
+
};
|
|
12514
|
+
}
|
|
12515
|
+
function getMatchingTagOptions(availableOptions, query, createOption) {
|
|
12516
|
+
const matches = [];
|
|
12517
|
+
if (createOption !== null) {
|
|
12518
|
+
matches.push(createOption);
|
|
12519
|
+
}
|
|
12520
|
+
for (const option of availableOptions) {
|
|
12521
|
+
if (option.includes(query)) {
|
|
12522
|
+
matches.push(option);
|
|
12523
|
+
}
|
|
12524
|
+
}
|
|
12525
|
+
return matches;
|
|
12526
|
+
}
|
|
12527
|
+
const VentionTagsInput = ({
|
|
12528
|
+
value,
|
|
12529
|
+
onChange,
|
|
12530
|
+
suggestions: _suggestions = EMPTY_TAGS,
|
|
12531
|
+
label,
|
|
12532
|
+
placeholder: _placeholder = "Type or select tags",
|
|
12533
|
+
suggestionsTitle: _suggestionsTitle = "Suggested tags",
|
|
12534
|
+
createOptionLabel: _createOptionLabel = "(Create new)",
|
|
12535
|
+
noOptionsMessage: _noOptionsMessage = "No tags available",
|
|
12536
|
+
removeTagLabel: _removeTagLabel = "Remove",
|
|
12537
|
+
disabled: _disabled = false,
|
|
12538
|
+
size,
|
|
12539
|
+
autoFocus: _autoFocus = false,
|
|
12540
|
+
maxVisibleOptions: _maxVisibleOptions = DEFAULT_MAX_VISIBLE_OPTIONS,
|
|
12541
|
+
className,
|
|
12542
|
+
inputDataTestId
|
|
12543
|
+
}) => {
|
|
12544
|
+
const [inputValue, setInputValue] = useState("");
|
|
12545
|
+
const theme = useTheme();
|
|
12546
|
+
const {
|
|
12547
|
+
classes
|
|
12548
|
+
} = useStyles$4({
|
|
12549
|
+
size
|
|
12550
|
+
});
|
|
12551
|
+
const selectedTags = useMemo(() => collectNormalizedTags(value, []), [value]);
|
|
12552
|
+
const options = useMemo(() => collectNormalizedTags(selectedTags, collectNormalizedTags(_suggestions, [])), [selectedTags, _suggestions]);
|
|
12553
|
+
const query = normalizeTag(inputValue);
|
|
12554
|
+
const createOption = query.length > 0 && !options.includes(query) ? query : null;
|
|
12555
|
+
function filterTagOptions(availableOptions) {
|
|
12556
|
+
return getMatchingTagOptions(availableOptions, query, createOption);
|
|
12557
|
+
}
|
|
12558
|
+
function groupOptionsBySuggestionsTitle() {
|
|
12559
|
+
return _suggestionsTitle;
|
|
12560
|
+
}
|
|
12561
|
+
function handleChange(_event, newValue) {
|
|
12562
|
+
const nextTags = collectNormalizedTags(newValue, []);
|
|
12563
|
+
onChange(nextTags);
|
|
12564
|
+
if (nextTags[nextTags.length - 1] === createOption) {
|
|
12565
|
+
setInputValue("");
|
|
12566
|
+
}
|
|
12567
|
+
}
|
|
12568
|
+
function handleBlur() {
|
|
12569
|
+
setInputValue("");
|
|
12570
|
+
}
|
|
12571
|
+
function handleInputChange(_event, newInputValue, reason) {
|
|
12572
|
+
if (reason === "clear") {
|
|
12573
|
+
setInputValue("");
|
|
12574
|
+
return;
|
|
12575
|
+
}
|
|
12576
|
+
if (reason !== "input") {
|
|
12577
|
+
return;
|
|
12578
|
+
}
|
|
12579
|
+
if (!newInputValue.includes(",")) {
|
|
12580
|
+
setInputValue(toDisplayedInputValue(newInputValue));
|
|
12581
|
+
return;
|
|
12582
|
+
}
|
|
12583
|
+
const committed = splitTagsAtLastComma(newInputValue, selectedTags);
|
|
12584
|
+
setInputValue(committed.inputValue);
|
|
12585
|
+
if (committed.tags.length > selectedTags.length) {
|
|
12586
|
+
onChange(committed.tags);
|
|
12587
|
+
}
|
|
12588
|
+
}
|
|
12589
|
+
function renderTagPills(tags, getTagProps) {
|
|
12590
|
+
const pills = [];
|
|
12591
|
+
for (let index = 0; index < tags.length; index++) {
|
|
12592
|
+
const tagProps = getTagProps({
|
|
12593
|
+
index
|
|
12594
|
+
});
|
|
12595
|
+
const tag = tags[index];
|
|
12596
|
+
pills.push(jsx(VentionTagsInputTag, {
|
|
12597
|
+
label: tag,
|
|
12598
|
+
removeLabel: _removeTagLabel,
|
|
12599
|
+
disabled: _disabled,
|
|
12600
|
+
size: size,
|
|
12601
|
+
onDelete: tagProps.onDelete,
|
|
12602
|
+
dataTestId: `vention-tags-input-tag-${tag}`
|
|
12603
|
+
}, tag));
|
|
12604
|
+
}
|
|
12605
|
+
return pills;
|
|
12606
|
+
}
|
|
12607
|
+
function renderTagOption(optionProps, option) {
|
|
12608
|
+
return jsxs("li", Object.assign({}, optionProps, {
|
|
12609
|
+
"data-testid": `vention-tags-input-option-${option}`,
|
|
12610
|
+
children: [jsx(Typography, {
|
|
12611
|
+
variant: "uiText14Regular",
|
|
12612
|
+
className: classes.optionLabel,
|
|
12613
|
+
title: option,
|
|
12614
|
+
children: option
|
|
12615
|
+
}), option === createOption && jsx(Typography, {
|
|
12616
|
+
variant: "uiText14Regular",
|
|
12617
|
+
className: classes.createOptionLabel,
|
|
12618
|
+
children: _createOptionLabel
|
|
12619
|
+
})]
|
|
12620
|
+
}));
|
|
12621
|
+
}
|
|
12622
|
+
function renderTagsInput(params) {
|
|
12623
|
+
return jsx(VentionTextInput, Object.assign({}, params, {
|
|
12624
|
+
size: size,
|
|
12625
|
+
autoFocus: _autoFocus,
|
|
12626
|
+
label: label,
|
|
12627
|
+
placeholder: selectedTags.length > 0 ? undefined : _placeholder,
|
|
12628
|
+
state: _disabled ? "disabled" : "default",
|
|
12629
|
+
"data-testid": inputDataTestId
|
|
12630
|
+
}));
|
|
12631
|
+
}
|
|
12632
|
+
return jsx(Autocomplete, {
|
|
12633
|
+
multiple: true,
|
|
12634
|
+
fullWidth: true,
|
|
12635
|
+
openOnFocus: true,
|
|
12636
|
+
autoHighlight: true,
|
|
12637
|
+
disableCloseOnSelect: true,
|
|
12638
|
+
filterSelectedOptions: true,
|
|
12639
|
+
className: className,
|
|
12640
|
+
classes: {
|
|
12641
|
+
root: classes.root,
|
|
12642
|
+
inputRoot: classes.inputRoot,
|
|
12643
|
+
input: classes.input,
|
|
12644
|
+
paper: classes.paper,
|
|
12645
|
+
listbox: classes.listbox,
|
|
12646
|
+
option: classes.option,
|
|
12647
|
+
groupLabel: classes.groupLabel,
|
|
12648
|
+
groupUl: classes.groupUl,
|
|
12649
|
+
noOptions: classes.noOptions,
|
|
12650
|
+
endAdornment: classes.endAdornment,
|
|
12651
|
+
clearIndicator: classes.indicator,
|
|
12652
|
+
popupIndicator: classes.indicator
|
|
12653
|
+
},
|
|
12654
|
+
disabled: _disabled,
|
|
12655
|
+
options: options,
|
|
12656
|
+
value: selectedTags,
|
|
12657
|
+
inputValue: inputValue,
|
|
12658
|
+
groupBy: query.length > 0 ? undefined : groupOptionsBySuggestionsTitle,
|
|
12659
|
+
filterOptions: filterTagOptions,
|
|
12660
|
+
onChange: handleChange,
|
|
12661
|
+
onInputChange: handleInputChange,
|
|
12662
|
+
onBlur: handleBlur,
|
|
12663
|
+
ListboxProps: {
|
|
12664
|
+
style: {
|
|
12665
|
+
maxHeight: _maxVisibleOptions * OPTION_ROW_HEIGHT
|
|
12666
|
+
}
|
|
12667
|
+
},
|
|
12668
|
+
renderTags: renderTagPills,
|
|
12669
|
+
renderOption: renderTagOption,
|
|
12670
|
+
renderInput: renderTagsInput,
|
|
12671
|
+
noOptionsText: jsx(Typography, {
|
|
12672
|
+
variant: "uiText14Regular",
|
|
12673
|
+
children: _noOptionsMessage
|
|
12674
|
+
}),
|
|
12675
|
+
clearIcon: jsx(VentionIcon, {
|
|
12676
|
+
type: "circle-x-filled",
|
|
12677
|
+
size: IconSizes[size],
|
|
12678
|
+
color: theme.palette.icon.tertiary
|
|
12679
|
+
}),
|
|
12680
|
+
popupIcon: jsx(VentionIcon, {
|
|
12681
|
+
type: "chevron-down",
|
|
12682
|
+
size: IconSizes[size]
|
|
12683
|
+
})
|
|
12684
|
+
});
|
|
12685
|
+
};
|
|
12686
|
+
const useStyles$4 = tss.withParams().create(({
|
|
12687
|
+
size,
|
|
12688
|
+
theme
|
|
12689
|
+
}) => ({
|
|
12690
|
+
root: {
|
|
12691
|
+
"&&& .MuiAutocomplete-clearIndicator": {
|
|
12692
|
+
visibility: "hidden"
|
|
12693
|
+
},
|
|
12694
|
+
"&&&:focus-within .MuiAutocomplete-clearIndicator": {
|
|
12695
|
+
visibility: "visible"
|
|
12696
|
+
}
|
|
12697
|
+
},
|
|
12698
|
+
inputRoot: {
|
|
12699
|
+
"&&&": {
|
|
12700
|
+
height: "auto",
|
|
12701
|
+
minHeight: getTagHeight(size) + 2 * FIELD_VERTICAL_PADDING,
|
|
12702
|
+
flexWrap: "wrap",
|
|
12703
|
+
alignItems: "center",
|
|
12704
|
+
gap: theme.spacing(1),
|
|
12705
|
+
paddingBlock: FIELD_VERTICAL_PADDING,
|
|
12706
|
+
paddingInline: theme.spacing(2),
|
|
12707
|
+
paddingRight: INDICATORS_WIDTH
|
|
12708
|
+
}
|
|
12709
|
+
},
|
|
12710
|
+
input: {
|
|
12711
|
+
"&&&&": {
|
|
12712
|
+
minWidth: 40,
|
|
12713
|
+
flexGrow: 1,
|
|
12714
|
+
height: getTagHeight(size),
|
|
12715
|
+
padding: 0
|
|
12716
|
+
}
|
|
12717
|
+
},
|
|
12718
|
+
paper: {
|
|
12719
|
+
marginTop: theme.spacing(1),
|
|
12720
|
+
border: `1px solid ${theme.palette.border.default}`,
|
|
12721
|
+
borderRadius: 4,
|
|
12722
|
+
boxShadow: "none"
|
|
12723
|
+
},
|
|
12724
|
+
listbox: {
|
|
12725
|
+
padding: theme.spacing(1, 0)
|
|
12726
|
+
},
|
|
12727
|
+
option: {
|
|
12728
|
+
gap: theme.spacing(1),
|
|
12729
|
+
margin: theme.spacing(0, 1),
|
|
12730
|
+
borderRadius: theme.shape.borderRadius,
|
|
12731
|
+
"&&&": {
|
|
12732
|
+
minHeight: OPTION_ROW_HEIGHT,
|
|
12733
|
+
padding: theme.spacing(2, 3)
|
|
12734
|
+
},
|
|
12735
|
+
"&&&.Mui-focused": {
|
|
12736
|
+
backgroundColor: theme.palette.background.subtleSlate
|
|
12737
|
+
}
|
|
12738
|
+
},
|
|
12739
|
+
optionLabel: {
|
|
12740
|
+
color: theme.palette.text.primary,
|
|
12741
|
+
overflow: "hidden",
|
|
12742
|
+
textOverflow: "ellipsis",
|
|
12743
|
+
whiteSpace: "nowrap"
|
|
12744
|
+
},
|
|
12745
|
+
createOptionLabel: {
|
|
12746
|
+
color: theme.palette.text.tertiary,
|
|
12747
|
+
whiteSpace: "nowrap"
|
|
12748
|
+
},
|
|
12749
|
+
groupLabel: Object.assign(Object.assign({}, theme.typography.uiText12Regular), {
|
|
12750
|
+
position: "static",
|
|
12751
|
+
padding: theme.spacing(2, 4),
|
|
12752
|
+
color: theme.palette.text.tertiary,
|
|
12753
|
+
backgroundColor: "transparent"
|
|
12754
|
+
}),
|
|
12755
|
+
groupUl: {
|
|
12756
|
+
"&& .MuiAutocomplete-option": {
|
|
12757
|
+
paddingLeft: theme.spacing(3)
|
|
12758
|
+
}
|
|
12759
|
+
},
|
|
12760
|
+
noOptions: {
|
|
12761
|
+
padding: theme.spacing(4, 2),
|
|
12762
|
+
textAlign: "center",
|
|
12763
|
+
color: theme.palette.text.secondary
|
|
12764
|
+
},
|
|
12765
|
+
endAdornment: {
|
|
12766
|
+
zIndex: 1,
|
|
12767
|
+
right: theme.spacing(2),
|
|
12768
|
+
display: "flex",
|
|
12769
|
+
alignItems: "center",
|
|
12770
|
+
gap: theme.spacing(1)
|
|
12771
|
+
},
|
|
12772
|
+
indicator: {
|
|
12773
|
+
width: IconSizes[size] + 2 * INDICATOR_INSET,
|
|
12774
|
+
height: IconSizes[size] + 2 * INDICATOR_INSET,
|
|
12775
|
+
padding: 0,
|
|
12776
|
+
marginRight: 0,
|
|
12777
|
+
"&:hover": {
|
|
12778
|
+
backgroundColor: "transparent"
|
|
12779
|
+
}
|
|
12780
|
+
}
|
|
12781
|
+
}));
|
|
12782
|
+
|
|
12143
12783
|
const VentionTooltip = _a => {
|
|
12144
12784
|
var {
|
|
12145
12785
|
children,
|
|
@@ -13175,4 +13815,4 @@ function calcMenuPosition(anchorRect, menuSize, placement, alignment) {
|
|
|
13175
13815
|
}
|
|
13176
13816
|
}
|
|
13177
13817
|
|
|
13178
|
-
export { COLORS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionBadge, VentionBanner, VentionButton, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSidebarItem, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSwitch, VentionTabs, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|
|
13818
|
+
export { COLORS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionBadge, VentionBanner, VentionButton, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSidebarItem, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSwitch, VentionTabs, VentionTagsInput, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|