@sebgroup/green-react 1.14.0 → 2.0.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 +453 -516
- package/package.json +4 -3
- package/src/lib/dropdown/dropdown.d.ts +51 -1
- package/src/lib/dropdown/hooks.d.ts +0 -29
package/index.esm.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useState, useEffect, useRef, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { randomId, createDatepicker,
|
|
3
|
+
import { randomId, createDatepicker, months, years, debounce, validateClassName, delay, sliderColors, getSliderTrackBackground, createStepper } from '@sebgroup/extract';
|
|
4
|
+
import { getScopedTagName, GdsDropdown, GdsOption } from '@sebgroup/green-core';
|
|
5
|
+
import { registerTransitionalStyles } from '@sebgroup/green-core/transitional-styles';
|
|
4
6
|
import classNames from 'classnames';
|
|
5
7
|
|
|
6
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
9
|
|
|
8
|
-
var fails$
|
|
10
|
+
var fails$g = function (exec) {
|
|
9
11
|
try {
|
|
10
12
|
return !!exec();
|
|
11
13
|
} catch (error) {
|
|
@@ -13,9 +15,9 @@ var fails$f = function (exec) {
|
|
|
13
15
|
}
|
|
14
16
|
};
|
|
15
17
|
|
|
16
|
-
var fails$
|
|
18
|
+
var fails$f = fails$g;
|
|
17
19
|
|
|
18
|
-
var functionBindNative = !fails$
|
|
20
|
+
var functionBindNative = !fails$f(function () {
|
|
19
21
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
20
22
|
var test = (function () { /* empty */ }).bind();
|
|
21
23
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -34,29 +36,29 @@ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
|
34
36
|
};
|
|
35
37
|
};
|
|
36
38
|
|
|
37
|
-
var uncurryThis$
|
|
39
|
+
var uncurryThis$i = functionUncurryThis;
|
|
38
40
|
|
|
39
|
-
var toString$
|
|
40
|
-
var stringSlice$2 = uncurryThis$
|
|
41
|
+
var toString$6 = uncurryThis$i({}.toString);
|
|
42
|
+
var stringSlice$2 = uncurryThis$i(''.slice);
|
|
41
43
|
|
|
42
44
|
var classofRaw$2 = function (it) {
|
|
43
|
-
return stringSlice$2(toString$
|
|
45
|
+
return stringSlice$2(toString$6(it), 8, -1);
|
|
44
46
|
};
|
|
45
47
|
|
|
46
|
-
var uncurryThis$
|
|
47
|
-
var fails$
|
|
48
|
-
var classof$
|
|
48
|
+
var uncurryThis$h = functionUncurryThis;
|
|
49
|
+
var fails$e = fails$g;
|
|
50
|
+
var classof$6 = classofRaw$2;
|
|
49
51
|
|
|
50
52
|
var $Object$4 = Object;
|
|
51
|
-
var split = uncurryThis$
|
|
53
|
+
var split = uncurryThis$h(''.split);
|
|
52
54
|
|
|
53
55
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
54
|
-
var indexedObject = fails$
|
|
56
|
+
var indexedObject = fails$e(function () {
|
|
55
57
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
56
58
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
57
59
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
58
60
|
}) ? function (it) {
|
|
59
|
-
return classof$
|
|
61
|
+
return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
60
62
|
} : $Object$4;
|
|
61
63
|
|
|
62
64
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -67,29 +69,29 @@ var isNullOrUndefined$4 = function (it) {
|
|
|
67
69
|
|
|
68
70
|
var isNullOrUndefined$3 = isNullOrUndefined$4;
|
|
69
71
|
|
|
70
|
-
var $TypeError$
|
|
72
|
+
var $TypeError$d = TypeError;
|
|
71
73
|
|
|
72
74
|
// `RequireObjectCoercible` abstract operation
|
|
73
75
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
74
|
-
var requireObjectCoercible$
|
|
75
|
-
if (isNullOrUndefined$3(it)) throw $TypeError$
|
|
76
|
+
var requireObjectCoercible$4 = function (it) {
|
|
77
|
+
if (isNullOrUndefined$3(it)) throw new $TypeError$d("Can't call method on " + it);
|
|
76
78
|
return it;
|
|
77
79
|
};
|
|
78
80
|
|
|
79
81
|
// toObject with fallback for non-array-like ES3 strings
|
|
80
82
|
var IndexedObject$1 = indexedObject;
|
|
81
|
-
var requireObjectCoercible$
|
|
83
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
82
84
|
|
|
83
85
|
var toIndexedObject$5 = function (it) {
|
|
84
|
-
return IndexedObject$1(requireObjectCoercible$
|
|
86
|
+
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
85
87
|
};
|
|
86
88
|
|
|
87
89
|
var check = function (it) {
|
|
88
|
-
return it && it.Math
|
|
90
|
+
return it && it.Math === Math && it;
|
|
89
91
|
};
|
|
90
92
|
|
|
91
93
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
92
|
-
var global$
|
|
94
|
+
var global$k =
|
|
93
95
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
94
96
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
95
97
|
check(typeof window == 'object' && window) ||
|
|
@@ -97,28 +99,28 @@ var global$i =
|
|
|
97
99
|
check(typeof self == 'object' && self) ||
|
|
98
100
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
99
101
|
// eslint-disable-next-line no-new-func -- fallback
|
|
100
|
-
(function () { return this; })() || Function('return this')();
|
|
102
|
+
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
|
101
103
|
|
|
102
104
|
var shared$3 = {exports: {}};
|
|
103
105
|
|
|
104
|
-
var global$
|
|
106
|
+
var global$j = global$k;
|
|
105
107
|
|
|
106
108
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
107
109
|
var defineProperty$6 = Object.defineProperty;
|
|
108
110
|
|
|
109
111
|
var defineGlobalProperty$3 = function (key, value) {
|
|
110
112
|
try {
|
|
111
|
-
defineProperty$6(global$
|
|
113
|
+
defineProperty$6(global$j, key, { value: value, configurable: true, writable: true });
|
|
112
114
|
} catch (error) {
|
|
113
|
-
global$
|
|
115
|
+
global$j[key] = value;
|
|
114
116
|
} return value;
|
|
115
117
|
};
|
|
116
118
|
|
|
117
|
-
var global$
|
|
119
|
+
var global$i = global$k;
|
|
118
120
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
119
121
|
|
|
120
122
|
var SHARED = '__core-js_shared__';
|
|
121
|
-
var store$3 = global$
|
|
123
|
+
var store$3 = global$i[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
122
124
|
|
|
123
125
|
var sharedStore = store$3;
|
|
124
126
|
|
|
@@ -127,27 +129,27 @@ var store$2 = sharedStore;
|
|
|
127
129
|
(shared$3.exports = function (key, value) {
|
|
128
130
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
129
131
|
})('versions', []).push({
|
|
130
|
-
version: '3.
|
|
132
|
+
version: '3.33.1',
|
|
131
133
|
mode: 'global',
|
|
132
134
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
133
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
135
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.1/LICENSE',
|
|
134
136
|
source: 'https://github.com/zloirock/core-js'
|
|
135
137
|
});
|
|
136
138
|
|
|
137
|
-
var requireObjectCoercible$
|
|
139
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
138
140
|
|
|
139
141
|
var $Object$3 = Object;
|
|
140
142
|
|
|
141
143
|
// `ToObject` abstract operation
|
|
142
144
|
// https://tc39.es/ecma262/#sec-toobject
|
|
143
145
|
var toObject$3 = function (argument) {
|
|
144
|
-
return $Object$3(requireObjectCoercible$
|
|
146
|
+
return $Object$3(requireObjectCoercible$2(argument));
|
|
145
147
|
};
|
|
146
148
|
|
|
147
|
-
var uncurryThis$
|
|
149
|
+
var uncurryThis$g = functionUncurryThis;
|
|
148
150
|
var toObject$2 = toObject$3;
|
|
149
151
|
|
|
150
|
-
var hasOwnProperty = uncurryThis$
|
|
152
|
+
var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
|
|
151
153
|
|
|
152
154
|
// `HasOwnProperty` abstract operation
|
|
153
155
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -156,24 +158,24 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
156
158
|
return hasOwnProperty(toObject$2(it), key);
|
|
157
159
|
};
|
|
158
160
|
|
|
159
|
-
var uncurryThis$
|
|
161
|
+
var uncurryThis$f = functionUncurryThis;
|
|
160
162
|
|
|
161
163
|
var id = 0;
|
|
162
164
|
var postfix = Math.random();
|
|
163
|
-
var toString$
|
|
165
|
+
var toString$5 = uncurryThis$f(1.0.toString);
|
|
164
166
|
|
|
165
167
|
var uid$2 = function (key) {
|
|
166
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
168
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
167
169
|
};
|
|
168
170
|
|
|
169
171
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
170
172
|
|
|
171
|
-
var global$
|
|
173
|
+
var global$h = global$k;
|
|
172
174
|
var userAgent$3 = engineUserAgent;
|
|
173
175
|
|
|
174
|
-
var process$
|
|
175
|
-
var Deno$1 = global$
|
|
176
|
-
var versions = process$
|
|
176
|
+
var process$3 = global$h.process;
|
|
177
|
+
var Deno$1 = global$h.Deno;
|
|
178
|
+
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
177
179
|
var v8 = versions && versions.v8;
|
|
178
180
|
var match, version;
|
|
179
181
|
|
|
@@ -197,40 +199,43 @@ if (!version && userAgent$3) {
|
|
|
197
199
|
var engineV8Version = version;
|
|
198
200
|
|
|
199
201
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
200
|
-
|
|
201
202
|
var V8_VERSION$1 = engineV8Version;
|
|
202
|
-
var fails$
|
|
203
|
+
var fails$d = fails$g;
|
|
204
|
+
var global$g = global$k;
|
|
205
|
+
|
|
206
|
+
var $String$5 = global$g.String;
|
|
203
207
|
|
|
204
208
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
205
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
206
|
-
var symbol = Symbol();
|
|
209
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
|
|
210
|
+
var symbol = Symbol('symbol detection');
|
|
207
211
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
208
212
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
209
|
-
|
|
213
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
214
|
+
// of course, fail.
|
|
215
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
210
216
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
211
217
|
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
212
218
|
});
|
|
213
219
|
|
|
214
220
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
215
|
-
|
|
216
221
|
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
217
222
|
|
|
218
223
|
var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
219
224
|
&& !Symbol.sham
|
|
220
225
|
&& typeof Symbol.iterator == 'symbol';
|
|
221
226
|
|
|
222
|
-
var global$
|
|
227
|
+
var global$f = global$k;
|
|
223
228
|
var shared$2 = shared$3.exports;
|
|
224
229
|
var hasOwn$b = hasOwnProperty_1;
|
|
225
230
|
var uid$1 = uid$2;
|
|
226
231
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
227
232
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
228
233
|
|
|
229
|
-
var Symbol$2 = global$
|
|
234
|
+
var Symbol$2 = global$f.Symbol;
|
|
230
235
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
231
236
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
232
237
|
|
|
233
|
-
var wellKnownSymbol$
|
|
238
|
+
var wellKnownSymbol$g = function (name) {
|
|
234
239
|
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
235
240
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$b(Symbol$2, name)
|
|
236
241
|
? Symbol$2[name]
|
|
@@ -266,69 +271,69 @@ var $documentAll = documentAll_1;
|
|
|
266
271
|
|
|
267
272
|
var documentAll = $documentAll.all;
|
|
268
273
|
|
|
269
|
-
var isObject$
|
|
274
|
+
var isObject$9 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
270
275
|
return typeof it == 'object' ? it !== null : isCallable$k(it) || it === documentAll;
|
|
271
276
|
} : function (it) {
|
|
272
277
|
return typeof it == 'object' ? it !== null : isCallable$k(it);
|
|
273
278
|
};
|
|
274
279
|
|
|
275
|
-
var isObject$
|
|
280
|
+
var isObject$8 = isObject$9;
|
|
276
281
|
|
|
277
282
|
var $String$4 = String;
|
|
278
|
-
var $TypeError$
|
|
283
|
+
var $TypeError$c = TypeError;
|
|
279
284
|
|
|
280
285
|
// `Assert: Type(argument) is Object`
|
|
281
286
|
var anObject$c = function (argument) {
|
|
282
|
-
if (isObject$
|
|
283
|
-
throw $TypeError$
|
|
287
|
+
if (isObject$8(argument)) return argument;
|
|
288
|
+
throw new $TypeError$c($String$4(argument) + ' is not an object');
|
|
284
289
|
};
|
|
285
290
|
|
|
286
291
|
var objectDefineProperties = {};
|
|
287
292
|
|
|
288
|
-
var fails$
|
|
293
|
+
var fails$c = fails$g;
|
|
289
294
|
|
|
290
295
|
// Detect IE8's incomplete defineProperty implementation
|
|
291
|
-
var descriptors = !fails$
|
|
296
|
+
var descriptors = !fails$c(function () {
|
|
292
297
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
293
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
298
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
294
299
|
});
|
|
295
300
|
|
|
296
301
|
var DESCRIPTORS$b = descriptors;
|
|
297
|
-
var fails$
|
|
302
|
+
var fails$b = fails$g;
|
|
298
303
|
|
|
299
304
|
// V8 ~ Chrome 36-
|
|
300
305
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
301
|
-
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$
|
|
306
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$b(function () {
|
|
302
307
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
303
308
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
304
309
|
value: 42,
|
|
305
310
|
writable: false
|
|
306
|
-
}).prototype
|
|
311
|
+
}).prototype !== 42;
|
|
307
312
|
});
|
|
308
313
|
|
|
309
314
|
var objectDefineProperty = {};
|
|
310
315
|
|
|
311
|
-
var global$
|
|
312
|
-
var isObject$
|
|
316
|
+
var global$e = global$k;
|
|
317
|
+
var isObject$7 = isObject$9;
|
|
313
318
|
|
|
314
|
-
var document$3 = global$
|
|
319
|
+
var document$3 = global$e.document;
|
|
315
320
|
// typeof document.createElement is 'object' in old IE
|
|
316
|
-
var EXISTS$1 = isObject$
|
|
321
|
+
var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
|
|
317
322
|
|
|
318
323
|
var documentCreateElement$2 = function (it) {
|
|
319
324
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
320
325
|
};
|
|
321
326
|
|
|
322
327
|
var DESCRIPTORS$a = descriptors;
|
|
323
|
-
var fails$
|
|
328
|
+
var fails$a = fails$g;
|
|
324
329
|
var createElement$1 = documentCreateElement$2;
|
|
325
330
|
|
|
326
331
|
// Thanks to IE8 for its funny defineProperty
|
|
327
|
-
var ie8DomDefine = !DESCRIPTORS$a && !fails$
|
|
332
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$a(function () {
|
|
328
333
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
329
334
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
330
335
|
get: function () { return 7; }
|
|
331
|
-
}).a
|
|
336
|
+
}).a !== 7;
|
|
332
337
|
});
|
|
333
338
|
|
|
334
339
|
var NATIVE_BIND$2 = functionBindNative;
|
|
@@ -339,7 +344,7 @@ var functionCall = NATIVE_BIND$2 ? call$e.bind(call$e) : function () {
|
|
|
339
344
|
return call$e.apply(call$e, arguments);
|
|
340
345
|
};
|
|
341
346
|
|
|
342
|
-
var global$
|
|
347
|
+
var global$d = global$k;
|
|
343
348
|
var isCallable$j = isCallable$l;
|
|
344
349
|
|
|
345
350
|
var aFunction = function (argument) {
|
|
@@ -347,12 +352,12 @@ var aFunction = function (argument) {
|
|
|
347
352
|
};
|
|
348
353
|
|
|
349
354
|
var getBuiltIn$7 = function (namespace, method) {
|
|
350
|
-
return arguments.length < 2 ? aFunction(global$
|
|
355
|
+
return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
|
|
351
356
|
};
|
|
352
357
|
|
|
353
|
-
var uncurryThis$
|
|
358
|
+
var uncurryThis$e = functionUncurryThis;
|
|
354
359
|
|
|
355
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
360
|
+
var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
|
|
356
361
|
|
|
357
362
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
358
363
|
var isCallable$i = isCallable$l;
|
|
@@ -381,12 +386,12 @@ var tryToString$4 = function (argument) {
|
|
|
381
386
|
var isCallable$h = isCallable$l;
|
|
382
387
|
var tryToString$3 = tryToString$4;
|
|
383
388
|
|
|
384
|
-
var $TypeError$
|
|
389
|
+
var $TypeError$b = TypeError;
|
|
385
390
|
|
|
386
391
|
// `Assert: IsCallable(argument) is true`
|
|
387
392
|
var aCallable$8 = function (argument) {
|
|
388
393
|
if (isCallable$h(argument)) return argument;
|
|
389
|
-
throw $TypeError$
|
|
394
|
+
throw new $TypeError$b(tryToString$3(argument) + ' is not a function');
|
|
390
395
|
};
|
|
391
396
|
|
|
392
397
|
var aCallable$7 = aCallable$8;
|
|
@@ -401,41 +406,41 @@ var getMethod$3 = function (V, P) {
|
|
|
401
406
|
|
|
402
407
|
var call$d = functionCall;
|
|
403
408
|
var isCallable$g = isCallable$l;
|
|
404
|
-
var isObject$
|
|
409
|
+
var isObject$6 = isObject$9;
|
|
405
410
|
|
|
406
|
-
var $TypeError$
|
|
411
|
+
var $TypeError$a = TypeError;
|
|
407
412
|
|
|
408
413
|
// `OrdinaryToPrimitive` abstract operation
|
|
409
414
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
410
415
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
411
416
|
var fn, val;
|
|
412
|
-
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$
|
|
413
|
-
if (isCallable$g(fn = input.valueOf) && !isObject$
|
|
414
|
-
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$
|
|
415
|
-
throw $TypeError$
|
|
417
|
+
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
|
|
418
|
+
if (isCallable$g(fn = input.valueOf) && !isObject$6(val = call$d(fn, input))) return val;
|
|
419
|
+
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
|
|
420
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
416
421
|
};
|
|
417
422
|
|
|
418
423
|
var call$c = functionCall;
|
|
419
|
-
var isObject$
|
|
424
|
+
var isObject$5 = isObject$9;
|
|
420
425
|
var isSymbol$1 = isSymbol$2;
|
|
421
426
|
var getMethod$2 = getMethod$3;
|
|
422
427
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
423
|
-
var wellKnownSymbol$
|
|
428
|
+
var wellKnownSymbol$f = wellKnownSymbol$g;
|
|
424
429
|
|
|
425
|
-
var $TypeError$
|
|
426
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
430
|
+
var $TypeError$9 = TypeError;
|
|
431
|
+
var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
|
|
427
432
|
|
|
428
433
|
// `ToPrimitive` abstract operation
|
|
429
434
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
430
435
|
var toPrimitive$1 = function (input, pref) {
|
|
431
|
-
if (!isObject$
|
|
436
|
+
if (!isObject$5(input) || isSymbol$1(input)) return input;
|
|
432
437
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
433
438
|
var result;
|
|
434
439
|
if (exoticToPrim) {
|
|
435
440
|
if (pref === undefined) pref = 'default';
|
|
436
441
|
result = call$c(exoticToPrim, input, pref);
|
|
437
|
-
if (!isObject$
|
|
438
|
-
throw $TypeError$
|
|
442
|
+
if (!isObject$5(result) || isSymbol$1(result)) return result;
|
|
443
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
439
444
|
}
|
|
440
445
|
if (pref === undefined) pref = 'number';
|
|
441
446
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -457,7 +462,7 @@ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
|
457
462
|
var anObject$b = anObject$c;
|
|
458
463
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
459
464
|
|
|
460
|
-
var $TypeError$
|
|
465
|
+
var $TypeError$8 = TypeError;
|
|
461
466
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
462
467
|
var $defineProperty = Object.defineProperty;
|
|
463
468
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -490,7 +495,7 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
490
495
|
if (IE8_DOM_DEFINE$1) try {
|
|
491
496
|
return $defineProperty(O, P, Attributes);
|
|
492
497
|
} catch (error) { /* empty */ }
|
|
493
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$
|
|
498
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
|
|
494
499
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
495
500
|
return O;
|
|
496
501
|
};
|
|
@@ -560,10 +565,10 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
560
565
|
var value;
|
|
561
566
|
// Array#includes uses SameValueZero equality algorithm
|
|
562
567
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
563
|
-
if (IS_INCLUDES && el
|
|
568
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
564
569
|
value = O[index++];
|
|
565
570
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
566
|
-
if (value
|
|
571
|
+
if (value !== value) return true;
|
|
567
572
|
// Array#indexOf ignores holes, Array#includes - not
|
|
568
573
|
} else for (;length > index; index++) {
|
|
569
574
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -582,13 +587,13 @@ var arrayIncludes = {
|
|
|
582
587
|
|
|
583
588
|
var hiddenKeys$4 = {};
|
|
584
589
|
|
|
585
|
-
var uncurryThis$
|
|
590
|
+
var uncurryThis$d = functionUncurryThis;
|
|
586
591
|
var hasOwn$a = hasOwnProperty_1;
|
|
587
592
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
588
593
|
var indexOf = arrayIncludes.indexOf;
|
|
589
594
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
590
595
|
|
|
591
|
-
var push = uncurryThis$
|
|
596
|
+
var push = uncurryThis$d([].push);
|
|
592
597
|
|
|
593
598
|
var objectKeysInternal = function (object, names) {
|
|
594
599
|
var O = toIndexedObject$3(object);
|
|
@@ -659,7 +664,6 @@ var sharedKey$3 = function (key) {
|
|
|
659
664
|
};
|
|
660
665
|
|
|
661
666
|
/* global ActiveXObject -- old IE, WSH */
|
|
662
|
-
|
|
663
667
|
var anObject$9 = anObject$c;
|
|
664
668
|
var definePropertiesModule = objectDefineProperties;
|
|
665
669
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
@@ -743,16 +747,16 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
743
747
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
744
748
|
};
|
|
745
749
|
|
|
746
|
-
var wellKnownSymbol$
|
|
750
|
+
var wellKnownSymbol$e = wellKnownSymbol$g;
|
|
747
751
|
var create$1 = objectCreate;
|
|
748
752
|
var defineProperty$5 = objectDefineProperty.f;
|
|
749
753
|
|
|
750
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
754
|
+
var UNSCOPABLES = wellKnownSymbol$e('unscopables');
|
|
751
755
|
var ArrayPrototype$1 = Array.prototype;
|
|
752
756
|
|
|
753
757
|
// Array.prototype[@@unscopables]
|
|
754
758
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
755
|
-
if (ArrayPrototype$1[UNSCOPABLES]
|
|
759
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
756
760
|
defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
|
|
757
761
|
configurable: true,
|
|
758
762
|
value: create$1(null)
|
|
@@ -760,18 +764,18 @@ if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
|
760
764
|
}
|
|
761
765
|
|
|
762
766
|
// add a key to Array.prototype[@@unscopables]
|
|
763
|
-
var addToUnscopables$
|
|
767
|
+
var addToUnscopables$2 = function (key) {
|
|
764
768
|
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
765
769
|
};
|
|
766
770
|
|
|
767
771
|
var iterators = {};
|
|
768
772
|
|
|
769
|
-
var global$
|
|
773
|
+
var global$c = global$k;
|
|
770
774
|
var isCallable$f = isCallable$l;
|
|
771
775
|
|
|
772
|
-
var WeakMap$
|
|
776
|
+
var WeakMap$2 = global$c.WeakMap;
|
|
773
777
|
|
|
774
|
-
var weakMapBasicDetection = isCallable$f(WeakMap$
|
|
778
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
|
775
779
|
|
|
776
780
|
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
777
781
|
return {
|
|
@@ -794,8 +798,8 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
794
798
|
};
|
|
795
799
|
|
|
796
800
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
797
|
-
var global$
|
|
798
|
-
var isObject$
|
|
801
|
+
var global$b = global$k;
|
|
802
|
+
var isObject$4 = isObject$9;
|
|
799
803
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
800
804
|
var hasOwn$9 = hasOwnProperty_1;
|
|
801
805
|
var shared = sharedStore;
|
|
@@ -803,8 +807,8 @@ var sharedKey$1 = sharedKey$3;
|
|
|
803
807
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
804
808
|
|
|
805
809
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
806
|
-
var TypeError$2 = global$
|
|
807
|
-
var WeakMap = global$
|
|
810
|
+
var TypeError$2 = global$b.TypeError;
|
|
811
|
+
var WeakMap$1 = global$b.WeakMap;
|
|
808
812
|
var set$1, get, has;
|
|
809
813
|
|
|
810
814
|
var enforce = function (it) {
|
|
@@ -814,21 +818,21 @@ var enforce = function (it) {
|
|
|
814
818
|
var getterFor = function (TYPE) {
|
|
815
819
|
return function (it) {
|
|
816
820
|
var state;
|
|
817
|
-
if (!isObject$
|
|
818
|
-
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
821
|
+
if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
|
|
822
|
+
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
819
823
|
} return state;
|
|
820
824
|
};
|
|
821
825
|
};
|
|
822
826
|
|
|
823
827
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
824
|
-
var store$1 = shared.state || (shared.state = new WeakMap());
|
|
828
|
+
var store$1 = shared.state || (shared.state = new WeakMap$1());
|
|
825
829
|
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
826
830
|
store$1.get = store$1.get;
|
|
827
831
|
store$1.has = store$1.has;
|
|
828
832
|
store$1.set = store$1.set;
|
|
829
833
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
830
834
|
set$1 = function (it, metadata) {
|
|
831
|
-
if (store$1.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
835
|
+
if (store$1.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
832
836
|
metadata.facade = it;
|
|
833
837
|
store$1.set(it, metadata);
|
|
834
838
|
return metadata;
|
|
@@ -843,7 +847,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
843
847
|
var STATE = sharedKey$1('state');
|
|
844
848
|
hiddenKeys$1[STATE] = true;
|
|
845
849
|
set$1 = function (it, metadata) {
|
|
846
|
-
if (hasOwn$9(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
850
|
+
if (hasOwn$9(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
847
851
|
metadata.facade = it;
|
|
848
852
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
849
853
|
return metadata;
|
|
@@ -925,11 +929,11 @@ var functionName = {
|
|
|
925
929
|
CONFIGURABLE: CONFIGURABLE
|
|
926
930
|
};
|
|
927
931
|
|
|
928
|
-
var uncurryThis$
|
|
932
|
+
var uncurryThis$c = functionUncurryThis;
|
|
929
933
|
var isCallable$e = isCallable$l;
|
|
930
934
|
var store = sharedStore;
|
|
931
935
|
|
|
932
|
-
var functionToString = uncurryThis$
|
|
936
|
+
var functionToString = uncurryThis$c(Function.toString);
|
|
933
937
|
|
|
934
938
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
935
939
|
if (!isCallable$e(store.inspectSource)) {
|
|
@@ -940,8 +944,8 @@ if (!isCallable$e(store.inspectSource)) {
|
|
|
940
944
|
|
|
941
945
|
var inspectSource$3 = store.inspectSource;
|
|
942
946
|
|
|
943
|
-
var uncurryThis$
|
|
944
|
-
var fails$
|
|
947
|
+
var uncurryThis$b = functionUncurryThis;
|
|
948
|
+
var fails$9 = fails$g;
|
|
945
949
|
var isCallable$d = isCallable$l;
|
|
946
950
|
var hasOwn$6 = hasOwnProperty_1;
|
|
947
951
|
var DESCRIPTORS$4 = descriptors;
|
|
@@ -954,11 +958,11 @@ var getInternalState$1 = InternalStateModule$2.get;
|
|
|
954
958
|
var $String$2 = String;
|
|
955
959
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
956
960
|
var defineProperty$4 = Object.defineProperty;
|
|
957
|
-
var stringSlice$1 = uncurryThis$
|
|
958
|
-
var replace$2 = uncurryThis$
|
|
959
|
-
var join = uncurryThis$
|
|
961
|
+
var stringSlice$1 = uncurryThis$b(''.slice);
|
|
962
|
+
var replace$2 = uncurryThis$b(''.replace);
|
|
963
|
+
var join = uncurryThis$b([].join);
|
|
960
964
|
|
|
961
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$
|
|
965
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$9(function () {
|
|
962
966
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
963
967
|
});
|
|
964
968
|
|
|
@@ -1043,12 +1047,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1043
1047
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1044
1048
|
|
|
1045
1049
|
var getBuiltIn$4 = getBuiltIn$7;
|
|
1046
|
-
var uncurryThis$
|
|
1050
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1047
1051
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1048
1052
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1049
1053
|
var anObject$8 = anObject$c;
|
|
1050
1054
|
|
|
1051
|
-
var concat$1 = uncurryThis$
|
|
1055
|
+
var concat$1 = uncurryThis$a([].concat);
|
|
1052
1056
|
|
|
1053
1057
|
// all object keys, includes non-enumerable and symbols
|
|
1054
1058
|
var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -1074,16 +1078,16 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
|
1074
1078
|
}
|
|
1075
1079
|
};
|
|
1076
1080
|
|
|
1077
|
-
var fails$
|
|
1081
|
+
var fails$8 = fails$g;
|
|
1078
1082
|
var isCallable$b = isCallable$l;
|
|
1079
1083
|
|
|
1080
1084
|
var replacement = /#|\.prototype\./;
|
|
1081
1085
|
|
|
1082
1086
|
var isForced$2 = function (feature, detection) {
|
|
1083
1087
|
var value = data[normalize(feature)];
|
|
1084
|
-
return value
|
|
1085
|
-
: value
|
|
1086
|
-
: isCallable$b(detection) ? fails$
|
|
1088
|
+
return value === POLYFILL ? true
|
|
1089
|
+
: value === NATIVE ? false
|
|
1090
|
+
: isCallable$b(detection) ? fails$8(detection)
|
|
1087
1091
|
: !!detection;
|
|
1088
1092
|
};
|
|
1089
1093
|
|
|
@@ -1097,7 +1101,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1097
1101
|
|
|
1098
1102
|
var isForced_1 = isForced$2;
|
|
1099
1103
|
|
|
1100
|
-
var global$
|
|
1104
|
+
var global$a = global$k;
|
|
1101
1105
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1102
1106
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
1103
1107
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
@@ -1126,11 +1130,11 @@ var _export = function (options, source) {
|
|
|
1126
1130
|
var STATIC = options.stat;
|
|
1127
1131
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1128
1132
|
if (GLOBAL) {
|
|
1129
|
-
target = global$
|
|
1133
|
+
target = global$a;
|
|
1130
1134
|
} else if (STATIC) {
|
|
1131
|
-
target = global$
|
|
1135
|
+
target = global$a[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1132
1136
|
} else {
|
|
1133
|
-
target = (global$
|
|
1137
|
+
target = (global$a[TARGET] || {}).prototype;
|
|
1134
1138
|
}
|
|
1135
1139
|
if (target) for (key in source) {
|
|
1136
1140
|
sourceProperty = source[key];
|
|
@@ -1152,9 +1156,9 @@ var _export = function (options, source) {
|
|
|
1152
1156
|
}
|
|
1153
1157
|
};
|
|
1154
1158
|
|
|
1155
|
-
var fails$
|
|
1159
|
+
var fails$7 = fails$g;
|
|
1156
1160
|
|
|
1157
|
-
var correctPrototypeGetter = !fails$
|
|
1161
|
+
var correctPrototypeGetter = !fails$7(function () {
|
|
1158
1162
|
function F() { /* empty */ }
|
|
1159
1163
|
F.prototype.constructor = null;
|
|
1160
1164
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1183,14 +1187,14 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1183
1187
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1184
1188
|
};
|
|
1185
1189
|
|
|
1186
|
-
var fails$
|
|
1190
|
+
var fails$6 = fails$g;
|
|
1187
1191
|
var isCallable$9 = isCallable$l;
|
|
1188
|
-
var isObject$
|
|
1192
|
+
var isObject$3 = isObject$9;
|
|
1189
1193
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1190
1194
|
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1191
|
-
var wellKnownSymbol$
|
|
1195
|
+
var wellKnownSymbol$d = wellKnownSymbol$g;
|
|
1192
1196
|
|
|
1193
|
-
var ITERATOR$6 = wellKnownSymbol$
|
|
1197
|
+
var ITERATOR$6 = wellKnownSymbol$d('iterator');
|
|
1194
1198
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1195
1199
|
|
|
1196
1200
|
// `%IteratorPrototype%` object
|
|
@@ -1208,7 +1212,7 @@ if ([].keys) {
|
|
|
1208
1212
|
}
|
|
1209
1213
|
}
|
|
1210
1214
|
|
|
1211
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1215
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$6(function () {
|
|
1212
1216
|
var test = {};
|
|
1213
1217
|
// FF44- legacy iterators case
|
|
1214
1218
|
return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
|
|
@@ -1231,9 +1235,9 @@ var iteratorsCore = {
|
|
|
1231
1235
|
|
|
1232
1236
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1233
1237
|
var hasOwn$3 = hasOwnProperty_1;
|
|
1234
|
-
var wellKnownSymbol$
|
|
1238
|
+
var wellKnownSymbol$c = wellKnownSymbol$g;
|
|
1235
1239
|
|
|
1236
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
1240
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$c('toStringTag');
|
|
1237
1241
|
|
|
1238
1242
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1239
1243
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -1258,28 +1262,27 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1258
1262
|
return IteratorConstructor;
|
|
1259
1263
|
};
|
|
1260
1264
|
|
|
1261
|
-
var uncurryThis$
|
|
1265
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1262
1266
|
var aCallable$6 = aCallable$8;
|
|
1263
1267
|
|
|
1264
1268
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1265
1269
|
try {
|
|
1266
1270
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1267
|
-
return uncurryThis$
|
|
1271
|
+
return uncurryThis$9(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1268
1272
|
} catch (error) { /* empty */ }
|
|
1269
1273
|
};
|
|
1270
1274
|
|
|
1271
1275
|
var isCallable$8 = isCallable$l;
|
|
1272
1276
|
|
|
1273
1277
|
var $String$1 = String;
|
|
1274
|
-
var $TypeError$
|
|
1278
|
+
var $TypeError$7 = TypeError;
|
|
1275
1279
|
|
|
1276
1280
|
var aPossiblePrototype$1 = function (argument) {
|
|
1277
1281
|
if (typeof argument == 'object' || isCallable$8(argument)) return argument;
|
|
1278
|
-
throw $TypeError$
|
|
1282
|
+
throw new $TypeError$7("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1279
1283
|
};
|
|
1280
1284
|
|
|
1281
1285
|
/* eslint-disable no-proto -- safe */
|
|
1282
|
-
|
|
1283
1286
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1284
1287
|
var anObject$7 = anObject$c;
|
|
1285
1288
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
@@ -1306,7 +1309,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1306
1309
|
};
|
|
1307
1310
|
}() : undefined);
|
|
1308
1311
|
|
|
1309
|
-
var $$
|
|
1312
|
+
var $$b = _export;
|
|
1310
1313
|
var call$a = functionCall;
|
|
1311
1314
|
var FunctionName = functionName;
|
|
1312
1315
|
var isCallable$7 = isCallable$l;
|
|
@@ -1316,7 +1319,7 @@ var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
|
1316
1319
|
var setToStringTag$1 = setToStringTag$3;
|
|
1317
1320
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1318
1321
|
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
1319
|
-
var wellKnownSymbol$
|
|
1322
|
+
var wellKnownSymbol$b = wellKnownSymbol$g;
|
|
1320
1323
|
var Iterators$3 = iterators;
|
|
1321
1324
|
var IteratorsCore = iteratorsCore;
|
|
1322
1325
|
|
|
@@ -1324,7 +1327,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
|
1324
1327
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1325
1328
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1326
1329
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1327
|
-
var ITERATOR$5 = wellKnownSymbol$
|
|
1330
|
+
var ITERATOR$5 = wellKnownSymbol$b('iterator');
|
|
1328
1331
|
var KEYS = 'keys';
|
|
1329
1332
|
var VALUES = 'values';
|
|
1330
1333
|
var ENTRIES = 'entries';
|
|
@@ -1336,12 +1339,15 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1336
1339
|
|
|
1337
1340
|
var getIterationMethod = function (KIND) {
|
|
1338
1341
|
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1339
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1342
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1343
|
+
|
|
1340
1344
|
switch (KIND) {
|
|
1341
1345
|
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1342
1346
|
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1343
1347
|
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1344
|
-
}
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
return function () { return new IteratorConstructor(this); };
|
|
1345
1351
|
};
|
|
1346
1352
|
|
|
1347
1353
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
@@ -1351,7 +1357,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1351
1357
|
|| IterablePrototype['@@iterator']
|
|
1352
1358
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1353
1359
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1354
|
-
var anyNativeIterator = NAME
|
|
1360
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1355
1361
|
var CurrentIteratorPrototype, methods, KEY;
|
|
1356
1362
|
|
|
1357
1363
|
// fix native
|
|
@@ -1371,7 +1377,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1371
1377
|
}
|
|
1372
1378
|
|
|
1373
1379
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1374
|
-
if (PROPER_FUNCTION_NAME$1 && DEFAULT
|
|
1380
|
+
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1375
1381
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1376
1382
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1377
1383
|
} else {
|
|
@@ -1391,7 +1397,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1391
1397
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1392
1398
|
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
1393
1399
|
}
|
|
1394
|
-
} else $$
|
|
1400
|
+
} else $$b({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1395
1401
|
}
|
|
1396
1402
|
|
|
1397
1403
|
// define iterator
|
|
@@ -1410,7 +1416,7 @@ var createIterResultObject$1 = function (value, done) {
|
|
|
1410
1416
|
};
|
|
1411
1417
|
|
|
1412
1418
|
var toIndexedObject = toIndexedObject$5;
|
|
1413
|
-
var addToUnscopables = addToUnscopables$
|
|
1419
|
+
var addToUnscopables$1 = addToUnscopables$2;
|
|
1414
1420
|
var Iterators$2 = iterators;
|
|
1415
1421
|
var InternalStateModule$1 = internalState;
|
|
1416
1422
|
var defineProperty$2 = objectDefineProperty.f;
|
|
@@ -1444,15 +1450,15 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1444
1450
|
}, function () {
|
|
1445
1451
|
var state = getInternalState(this);
|
|
1446
1452
|
var target = state.target;
|
|
1447
|
-
var kind = state.kind;
|
|
1448
1453
|
var index = state.index++;
|
|
1449
1454
|
if (!target || index >= target.length) {
|
|
1450
1455
|
state.target = undefined;
|
|
1451
1456
|
return createIterResultObject(undefined, true);
|
|
1452
1457
|
}
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1458
|
+
switch (state.kind) {
|
|
1459
|
+
case 'keys': return createIterResultObject(index, false);
|
|
1460
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
1461
|
+
} return createIterResultObject([index, target[index]], false);
|
|
1456
1462
|
}, 'values');
|
|
1457
1463
|
|
|
1458
1464
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -1461,9 +1467,9 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1461
1467
|
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1462
1468
|
|
|
1463
1469
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1464
|
-
addToUnscopables('keys');
|
|
1465
|
-
addToUnscopables('values');
|
|
1466
|
-
addToUnscopables('entries');
|
|
1470
|
+
addToUnscopables$1('keys');
|
|
1471
|
+
addToUnscopables$1('values');
|
|
1472
|
+
addToUnscopables$1('entries');
|
|
1467
1473
|
|
|
1468
1474
|
// V8 ~ Chrome 45- bug
|
|
1469
1475
|
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
@@ -1514,15 +1520,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1514
1520
|
|
|
1515
1521
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1516
1522
|
|
|
1517
|
-
var global$
|
|
1523
|
+
var global$9 = global$k;
|
|
1518
1524
|
var DOMIterables = domIterables;
|
|
1519
1525
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1520
1526
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1521
1527
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1522
|
-
var wellKnownSymbol$
|
|
1528
|
+
var wellKnownSymbol$a = wellKnownSymbol$g;
|
|
1523
1529
|
|
|
1524
|
-
var ITERATOR$4 = wellKnownSymbol$
|
|
1525
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
1530
|
+
var ITERATOR$4 = wellKnownSymbol$a('iterator');
|
|
1531
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$a('toStringTag');
|
|
1526
1532
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1527
1533
|
|
|
1528
1534
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1548,15 +1554,15 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1548
1554
|
};
|
|
1549
1555
|
|
|
1550
1556
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1551
|
-
handlePrototype(global$
|
|
1557
|
+
handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1552
1558
|
}
|
|
1553
1559
|
|
|
1554
1560
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1555
1561
|
|
|
1556
1562
|
var DESCRIPTORS$2 = descriptors;
|
|
1557
|
-
var uncurryThis$
|
|
1563
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1558
1564
|
var call$9 = functionCall;
|
|
1559
|
-
var fails$
|
|
1565
|
+
var fails$5 = fails$g;
|
|
1560
1566
|
var objectKeys = objectKeys$2;
|
|
1561
1567
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1562
1568
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1567,11 +1573,11 @@ var IndexedObject = indexedObject;
|
|
|
1567
1573
|
var $assign = Object.assign;
|
|
1568
1574
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1569
1575
|
var defineProperty$1 = Object.defineProperty;
|
|
1570
|
-
var concat = uncurryThis$
|
|
1576
|
+
var concat = uncurryThis$8([].concat);
|
|
1571
1577
|
|
|
1572
1578
|
// `Object.assign` method
|
|
1573
1579
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1574
|
-
var objectAssign = !$assign || fails$
|
|
1580
|
+
var objectAssign = !$assign || fails$5(function () {
|
|
1575
1581
|
// should have correct order of operations (Edge bug)
|
|
1576
1582
|
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
1577
1583
|
enumerable: true,
|
|
@@ -1586,11 +1592,11 @@ var objectAssign = !$assign || fails$4(function () {
|
|
|
1586
1592
|
var A = {};
|
|
1587
1593
|
var B = {};
|
|
1588
1594
|
// eslint-disable-next-line es/no-symbol -- safe
|
|
1589
|
-
var symbol = Symbol();
|
|
1595
|
+
var symbol = Symbol('assign detection');
|
|
1590
1596
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1591
1597
|
A[symbol] = 7;
|
|
1592
1598
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1593
|
-
return $assign({}, A)[symbol]
|
|
1599
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1594
1600
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1595
1601
|
var T = toObject(target);
|
|
1596
1602
|
var argumentsLength = arguments.length;
|
|
@@ -1610,13 +1616,13 @@ var objectAssign = !$assign || fails$4(function () {
|
|
|
1610
1616
|
} return T;
|
|
1611
1617
|
} : $assign;
|
|
1612
1618
|
|
|
1613
|
-
var $$
|
|
1619
|
+
var $$a = _export;
|
|
1614
1620
|
var assign = objectAssign;
|
|
1615
1621
|
|
|
1616
1622
|
// `Object.assign` method
|
|
1617
1623
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1618
1624
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1619
|
-
$$
|
|
1625
|
+
$$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1620
1626
|
assign: assign
|
|
1621
1627
|
});
|
|
1622
1628
|
|
|
@@ -1724,7 +1730,12 @@ function __rest(s, e) {
|
|
|
1724
1730
|
t[p[i]] = s[p[i]];
|
|
1725
1731
|
}
|
|
1726
1732
|
return t;
|
|
1727
|
-
}
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1736
|
+
var e = new Error(message);
|
|
1737
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1738
|
+
};
|
|
1728
1739
|
|
|
1729
1740
|
const Check = ({
|
|
1730
1741
|
focusable: _focusable = false,
|
|
@@ -1927,6 +1938,16 @@ function AlertRibbon({
|
|
|
1927
1938
|
});
|
|
1928
1939
|
}
|
|
1929
1940
|
};
|
|
1941
|
+
const renderHeader = () => {
|
|
1942
|
+
if (!header) {
|
|
1943
|
+
return null;
|
|
1944
|
+
}
|
|
1945
|
+
return /*#__PURE__*/React.isValidElement(header) ? header : jsx("span", Object.assign({
|
|
1946
|
+
className: "header"
|
|
1947
|
+
}, {
|
|
1948
|
+
children: header
|
|
1949
|
+
}));
|
|
1950
|
+
};
|
|
1930
1951
|
return jsxs("div", Object.assign({
|
|
1931
1952
|
className: `alert-ribbon ${type}`,
|
|
1932
1953
|
role: role,
|
|
@@ -1939,11 +1960,7 @@ function AlertRibbon({
|
|
|
1939
1960
|
})), jsxs("div", Object.assign({
|
|
1940
1961
|
className: "alert-ribbon__content"
|
|
1941
1962
|
}, {
|
|
1942
|
-
children: [
|
|
1943
|
-
className: "header"
|
|
1944
|
-
}, {
|
|
1945
|
-
children: header
|
|
1946
|
-
})), jsx("p", {
|
|
1963
|
+
children: [renderHeader(), jsx("p", {
|
|
1947
1964
|
children: children
|
|
1948
1965
|
})]
|
|
1949
1966
|
})), closeButton && jsx("button", Object.assign({
|
|
@@ -2047,156 +2064,160 @@ const useDatepicker = (datepickerRef, datepickerDialogRef, dateInputRef, datepic
|
|
|
2047
2064
|
};
|
|
2048
2065
|
};
|
|
2049
2066
|
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
if (!dropdown.isMultiSelect) {
|
|
2094
|
-
const newListItems = dropdown.options.map(o => {
|
|
2095
|
-
var _a;
|
|
2096
|
-
return Object.assign(Object.assign({}, o.attributes), {
|
|
2097
|
-
className: (_a = o.classes) === null || _a === void 0 ? void 0 : _a.join(' '),
|
|
2098
|
-
children: o[dropdown.display],
|
|
2099
|
-
selected: o.selected,
|
|
2100
|
-
onClick: () => handler === null || handler === void 0 ? void 0 : handler.select(o)
|
|
2101
|
-
});
|
|
2102
|
-
});
|
|
2103
|
-
setListItems(newListItems);
|
|
2104
|
-
} else {
|
|
2105
|
-
const checkboxes = dropdown.options.map(o => ({
|
|
2106
|
-
labelProps: Object.assign(Object.assign({}, o.attributes), {
|
|
2107
|
-
className: ['form-control', ...o.classes].join(' ')
|
|
2108
|
-
}),
|
|
2109
|
-
inputProps: {
|
|
2110
|
-
defaultChecked: o.selected,
|
|
2111
|
-
type: 'checkbox',
|
|
2112
|
-
onClick: () => handler === null || handler === void 0 ? void 0 : handler.select(o, false)
|
|
2113
|
-
},
|
|
2114
|
-
spanProps: {
|
|
2115
|
-
children: o[dropdown.display]
|
|
2116
|
-
}
|
|
2117
|
-
}));
|
|
2118
|
-
const newMultiselect = {
|
|
2119
|
-
fieldsetProps: {
|
|
2120
|
-
'aria-describedby': (_f = (_e = (_d = dropdown === null || dropdown === void 0 ? void 0 : dropdown.elements) === null || _d === void 0 ? void 0 : _d.fieldset) === null || _e === void 0 ? void 0 : _e.attributes) === null || _f === void 0 ? void 0 : _f.id,
|
|
2121
|
-
'aria-multiselectable': true,
|
|
2122
|
-
role: 'listbox',
|
|
2123
|
-
tabIndex: -1
|
|
2124
|
-
},
|
|
2125
|
-
legendProps: {
|
|
2126
|
-
className: 'sr-only',
|
|
2127
|
-
id: (_j = (_h = (_g = dropdown === null || dropdown === void 0 ? void 0 : dropdown.elements) === null || _g === void 0 ? void 0 : _g.fieldset) === null || _h === void 0 ? void 0 : _h.attributes) === null || _j === void 0 ? void 0 : _j.id,
|
|
2128
|
-
children: dropdown.texts.optionsDescription
|
|
2129
|
-
},
|
|
2130
|
-
checkboxes
|
|
2131
|
-
};
|
|
2132
|
-
setMultiSelectProps(newMultiselect);
|
|
2133
|
-
}
|
|
2134
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2135
|
-
}, [dropdown]);
|
|
2136
|
-
// When dropdown properties change
|
|
2137
|
-
useEffect(() => {
|
|
2138
|
-
if (!dropdown) return;
|
|
2139
|
-
handler === null || handler === void 0 ? void 0 : handler.update({
|
|
2140
|
-
id,
|
|
2141
|
-
value,
|
|
2142
|
-
texts,
|
|
2143
|
-
options,
|
|
2144
|
-
loop,
|
|
2145
|
-
multiSelect,
|
|
2146
|
-
searchable,
|
|
2147
|
-
searchFilter,
|
|
2148
|
-
compareWith,
|
|
2149
|
-
useValue,
|
|
2150
|
-
display,
|
|
2151
|
-
validator
|
|
2152
|
-
});
|
|
2153
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2154
|
-
}, [id, texts, options, loop, multiSelect, searchable, searchFilter, compareWith, useValue, display]);
|
|
2155
|
-
useEffect(() => {
|
|
2156
|
-
if (!dropdown) return;
|
|
2157
|
-
handler === null || handler === void 0 ? void 0 : handler.selectByValue(value);
|
|
2158
|
-
console.log('new value');
|
|
2159
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2160
|
-
}, [value]);
|
|
2161
|
-
// When validator changes
|
|
2162
|
-
useEffect(() => {
|
|
2163
|
-
if (!dropdown) return;
|
|
2164
|
-
if (validator) handler === null || handler === void 0 ? void 0 : handler.validate(validator);
|
|
2165
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2166
|
-
}, [validator]);
|
|
2167
|
-
// Create dropdown handler
|
|
2168
|
-
useEffect(() => {
|
|
2169
|
-
if (!handler && togglerRef.current && listboxRef.current) {
|
|
2170
|
-
setHandler(createDropdown({
|
|
2171
|
-
id,
|
|
2172
|
-
value,
|
|
2173
|
-
texts,
|
|
2174
|
-
options,
|
|
2175
|
-
loop,
|
|
2176
|
-
multiSelect,
|
|
2177
|
-
searchable,
|
|
2178
|
-
searchFilter,
|
|
2179
|
-
compareWith,
|
|
2180
|
-
useValue,
|
|
2181
|
-
display,
|
|
2182
|
-
validator
|
|
2183
|
-
}, togglerRef.current, listboxRef.current, listboxRef.current, dd => setDropdown(dd), value => onChange === null || onChange === void 0 ? void 0 : onChange(value)));
|
|
2184
|
-
}
|
|
2185
|
-
return () => handler === null || handler === void 0 ? void 0 : handler.destroy();
|
|
2186
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2187
|
-
}, [togglerRef, listboxRef]);
|
|
2188
|
-
return {
|
|
2189
|
-
dropdown: handler,
|
|
2190
|
-
togglerProps,
|
|
2191
|
-
listboxProps,
|
|
2192
|
-
listItems,
|
|
2193
|
-
multiSelectProps
|
|
2194
|
-
};
|
|
2067
|
+
var $$9 = _export;
|
|
2068
|
+
var $includes = arrayIncludes.includes;
|
|
2069
|
+
var fails$4 = fails$g;
|
|
2070
|
+
var addToUnscopables = addToUnscopables$2;
|
|
2071
|
+
|
|
2072
|
+
// FF99+ bug
|
|
2073
|
+
var BROKEN_ON_SPARSE = fails$4(function () {
|
|
2074
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
2075
|
+
return !Array(1).includes();
|
|
2076
|
+
});
|
|
2077
|
+
|
|
2078
|
+
// `Array.prototype.includes` method
|
|
2079
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2080
|
+
$$9({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2081
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2082
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2083
|
+
}
|
|
2084
|
+
});
|
|
2085
|
+
|
|
2086
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2087
|
+
addToUnscopables('includes');
|
|
2088
|
+
|
|
2089
|
+
var isObject$2 = isObject$9;
|
|
2090
|
+
var classof$5 = classofRaw$2;
|
|
2091
|
+
var wellKnownSymbol$9 = wellKnownSymbol$g;
|
|
2092
|
+
|
|
2093
|
+
var MATCH$1 = wellKnownSymbol$9('match');
|
|
2094
|
+
|
|
2095
|
+
// `IsRegExp` abstract operation
|
|
2096
|
+
// https://tc39.es/ecma262/#sec-isregexp
|
|
2097
|
+
var isRegexp = function (it) {
|
|
2098
|
+
var isRegExp;
|
|
2099
|
+
return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) === 'RegExp');
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
var isRegExp = isRegexp;
|
|
2103
|
+
|
|
2104
|
+
var $TypeError$6 = TypeError;
|
|
2105
|
+
|
|
2106
|
+
var notARegexp = function (it) {
|
|
2107
|
+
if (isRegExp(it)) {
|
|
2108
|
+
throw new $TypeError$6("The method doesn't accept regular expressions");
|
|
2109
|
+
} return it;
|
|
2195
2110
|
};
|
|
2196
2111
|
|
|
2112
|
+
var wellKnownSymbol$8 = wellKnownSymbol$g;
|
|
2113
|
+
|
|
2114
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
|
|
2115
|
+
var test = {};
|
|
2116
|
+
|
|
2117
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
2118
|
+
|
|
2119
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
2120
|
+
|
|
2121
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2122
|
+
var isCallable$6 = isCallable$l;
|
|
2123
|
+
var classofRaw$1 = classofRaw$2;
|
|
2124
|
+
var wellKnownSymbol$7 = wellKnownSymbol$g;
|
|
2125
|
+
|
|
2126
|
+
var TO_STRING_TAG = wellKnownSymbol$7('toStringTag');
|
|
2127
|
+
var $Object = Object;
|
|
2128
|
+
|
|
2129
|
+
// ES3 wrong here
|
|
2130
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
2131
|
+
|
|
2132
|
+
// fallback for IE11 Script Access Denied error
|
|
2133
|
+
var tryGet = function (it, key) {
|
|
2134
|
+
try {
|
|
2135
|
+
return it[key];
|
|
2136
|
+
} catch (error) { /* empty */ }
|
|
2137
|
+
};
|
|
2138
|
+
|
|
2139
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
2140
|
+
var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2141
|
+
var O, tag, result;
|
|
2142
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2143
|
+
// @@toStringTag case
|
|
2144
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2145
|
+
// builtinTag case
|
|
2146
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2147
|
+
// ES3 arguments fallback
|
|
2148
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
var classof$3 = classof$4;
|
|
2152
|
+
|
|
2153
|
+
var $String = String;
|
|
2154
|
+
|
|
2155
|
+
var toString$4 = function (argument) {
|
|
2156
|
+
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2157
|
+
return $String(argument);
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
var wellKnownSymbol$6 = wellKnownSymbol$g;
|
|
2161
|
+
|
|
2162
|
+
var MATCH = wellKnownSymbol$6('match');
|
|
2163
|
+
|
|
2164
|
+
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
2165
|
+
var regexp = /./;
|
|
2166
|
+
try {
|
|
2167
|
+
'/./'[METHOD_NAME](regexp);
|
|
2168
|
+
} catch (error1) {
|
|
2169
|
+
try {
|
|
2170
|
+
regexp[MATCH] = false;
|
|
2171
|
+
return '/./'[METHOD_NAME](regexp);
|
|
2172
|
+
} catch (error2) { /* empty */ }
|
|
2173
|
+
} return false;
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2176
|
+
var $$8 = _export;
|
|
2177
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
2178
|
+
var notARegExp = notARegexp;
|
|
2179
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
2180
|
+
var toString$3 = toString$4;
|
|
2181
|
+
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
2182
|
+
|
|
2183
|
+
var stringIndexOf = uncurryThis$7(''.indexOf);
|
|
2184
|
+
|
|
2185
|
+
// `String.prototype.includes` method
|
|
2186
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
2187
|
+
$$8({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
2188
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
2189
|
+
return !!~stringIndexOf(
|
|
2190
|
+
toString$3(requireObjectCoercible$1(this)),
|
|
2191
|
+
toString$3(notARegExp(searchString)),
|
|
2192
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
2193
|
+
);
|
|
2194
|
+
}
|
|
2195
|
+
});
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* @license
|
|
2199
|
+
* Copyright 2018 Google LLC
|
|
2200
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2201
|
+
*/
|
|
2202
|
+
const t=new Set(["children","localName","ref","style","className"]),e=new WeakMap,n=(t,n,s,i,o)=>{const l=null==o?void 0:o[n];void 0===l||s===i?null==s&&n in HTMLElement.prototype?t.removeAttribute(n):t[n]=s:((t,n,s)=>{let i=e.get(t);void 0===i&&e.set(t,i=new Map);let o=i.get(n);void 0!==s?void 0===o?(i.set(n,o={handleEvent:s}),t.addEventListener(n,o)):o.handleEvent=s:void 0!==o&&(i.delete(n),t.removeEventListener(n,o));})(t,l,s);},s=(t,e)=>{"function"==typeof t?t(e):t.current=e;};function i(e=window.React,i,o,l,d){let a,c,r;if(void 0===i){const t=e;(({tagName:c,elementClass:r,events:l,displayName:d}=t)),a=t.react;}else a=e,r=o,c=i;const h=a.Component,u=a.createElement,f=new Set(Object.keys(null!=l?l:{}));class v extends h{constructor(){super(...arguments),this.o=null;}t(t){if(null!==this.o)for(const e in this.i)n(this.o,e,this.props[e],t?t[e]:void 0,l);}componentDidMount(){var t;this.t(),null===(t=this.o)||void 0===t||t.removeAttribute("defer-hydration");}componentDidUpdate(t){this.t(t);}render(){const{_$Gl:e,...n}=this.props;this.h!==e&&(this.u=t=>{null!==e&&s(e,t),this.o=t,this.h=e;}),this.i={};const i={ref:this.u};for(const[e,s]of Object.entries(n))t.has(e)?i["className"===e?"class":e]=s:f.has(e)||e in r.prototype?this.i[e]=s:i[e]=s;return i.suppressHydrationWarning=!0,u(c,i)}}v.displayName=null!=d?d:r.name;const m=a.forwardRef(((t,e)=>u(v,{...t,_$Gl:e},null==t?void 0:t.children)));return m.displayName=v.displayName,m}
|
|
2203
|
+
|
|
2204
|
+
registerTransitionalStyles();
|
|
2205
|
+
const CoreDropdown = i({
|
|
2206
|
+
tagName: getScopedTagName('gds-dropdown'),
|
|
2207
|
+
elementClass: GdsDropdown,
|
|
2208
|
+
events: {
|
|
2209
|
+
onchange: 'change'
|
|
2210
|
+
},
|
|
2211
|
+
react: React
|
|
2212
|
+
});
|
|
2213
|
+
const CoreOption = i({
|
|
2214
|
+
tagName: getScopedTagName('gds-option'),
|
|
2215
|
+
elementClass: GdsOption,
|
|
2216
|
+
react: React
|
|
2217
|
+
});
|
|
2197
2218
|
const Dropdown = ({
|
|
2198
2219
|
compareWith,
|
|
2199
|
-
display,
|
|
2220
|
+
display: _display = 'label',
|
|
2200
2221
|
id,
|
|
2201
2222
|
informationLabel,
|
|
2202
2223
|
label,
|
|
@@ -2207,100 +2228,60 @@ const Dropdown = ({
|
|
|
2207
2228
|
searchFilter,
|
|
2208
2229
|
searchable,
|
|
2209
2230
|
texts,
|
|
2210
|
-
useValue,
|
|
2231
|
+
useValue: _useValue = 'value',
|
|
2211
2232
|
validator,
|
|
2212
2233
|
value
|
|
2213
2234
|
}) => {
|
|
2214
|
-
|
|
2215
|
-
const
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
listItems,
|
|
2222
|
-
multiSelectProps
|
|
2223
|
-
} = useDropdown({
|
|
2224
|
-
id,
|
|
2225
|
-
value,
|
|
2226
|
-
options,
|
|
2227
|
-
loop,
|
|
2228
|
-
multiSelect,
|
|
2229
|
-
searchable,
|
|
2230
|
-
searchFilter,
|
|
2231
|
-
compareWith,
|
|
2232
|
-
useValue,
|
|
2233
|
-
display,
|
|
2234
|
-
togglerRef,
|
|
2235
|
-
listboxRef,
|
|
2236
|
-
texts,
|
|
2237
|
-
onChange,
|
|
2238
|
-
validator
|
|
2239
|
-
});
|
|
2240
|
-
const getListBoxProps = props => {
|
|
2241
|
-
var _a, _b, _c;
|
|
2242
|
-
if (Object.keys(props).length === 0) return {
|
|
2243
|
-
role: 'listbox',
|
|
2244
|
-
tabIndex: -1,
|
|
2245
|
-
className: (_c = (_b = (_a = dropdownValues().elements) === null || _a === void 0 ? void 0 : _a.listbox) === null || _b === void 0 ? void 0 : _b.classes) === null || _c === void 0 ? void 0 : _c.join(' ')
|
|
2246
|
-
};
|
|
2247
|
-
return props;
|
|
2235
|
+
const [selectedOption, setSelectedOption] = React.useState(options.find(o => o.value === value));
|
|
2236
|
+
const handleOnChange = e => {
|
|
2237
|
+
var _a, _b;
|
|
2238
|
+
if ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) {
|
|
2239
|
+
setSelectedOption(options.find(o => o[_useValue] === e.detail.value));
|
|
2240
|
+
onChange === null || onChange === void 0 ? void 0 : onChange((_b = e.detail) === null || _b === void 0 ? void 0 : _b.value);
|
|
2241
|
+
}
|
|
2248
2242
|
};
|
|
2249
|
-
|
|
2243
|
+
// These adapter functions are used to maintain backwards compatibility with the old interface
|
|
2244
|
+
const compareWithAdapter = (o1, o2) => {
|
|
2245
|
+
const compareFn = compareWith || ((a, b) => a === b);
|
|
2246
|
+
return compareFn(o1, o2);
|
|
2247
|
+
};
|
|
2248
|
+
const searchFilterAdapter = (q, o) => {
|
|
2249
|
+
if (searchFilter) return searchFilter(q, o.value[_useValue]);else return ((q, o) => o.innerHTML.toLowerCase().includes(q.toLowerCase()))(q, o);
|
|
2250
|
+
};
|
|
2251
|
+
return jsx("div", Object.assign({
|
|
2250
2252
|
className: "form-group"
|
|
2251
2253
|
}, {
|
|
2252
|
-
children:
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
}, togglerProps, {
|
|
2263
|
-
ref: togglerRef
|
|
2264
|
-
}, {
|
|
2265
|
-
children: jsx("span", {
|
|
2266
|
-
children: togglerProps.children
|
|
2267
|
-
})
|
|
2268
|
-
})), jsxs("div", Object.assign({}, getListBoxProps(listboxProps), {
|
|
2269
|
-
ref: listboxRef
|
|
2254
|
+
children: jsxs(CoreDropdown, Object.assign({
|
|
2255
|
+
id: id,
|
|
2256
|
+
label: label,
|
|
2257
|
+
searchable: searchable,
|
|
2258
|
+
multiple: multiSelect,
|
|
2259
|
+
value: selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value,
|
|
2260
|
+
onchange: handleOnChange,
|
|
2261
|
+
invalid: (validator === null || validator === void 0 ? void 0 : validator.indicator) === 'error',
|
|
2262
|
+
compareWith: compareWithAdapter,
|
|
2263
|
+
searchFilter: searchFilterAdapter
|
|
2270
2264
|
}, {
|
|
2271
|
-
children: [
|
|
2272
|
-
|
|
2265
|
+
children: [informationLabel && jsx("span", Object.assign({
|
|
2266
|
+
slot: "sub-label"
|
|
2273
2267
|
}, {
|
|
2274
|
-
children:
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
children: label
|
|
2278
|
-
})), jsx("button", Object.assign({
|
|
2279
|
-
type: "button",
|
|
2280
|
-
className: "close m-4 m-sm-2 d-block d-sm-none",
|
|
2281
|
-
onClick: dropdown === null || dropdown === void 0 ? void 0 : dropdown.close,
|
|
2282
|
-
"aria-label": dropdown === null || dropdown === void 0 ? void 0 : dropdown.dropdown.texts.close
|
|
2283
|
-
}, {
|
|
2284
|
-
children: jsx("i", {})
|
|
2285
|
-
}))]
|
|
2286
|
-
})), (dropdown === null || dropdown === void 0 ? void 0 : dropdown.dropdown.isMultiSelect) ? jsx("div", Object.assign({
|
|
2287
|
-
className: "sg-fieldset-container"
|
|
2268
|
+
children: informationLabel
|
|
2269
|
+
})), validator && jsx("span", Object.assign({
|
|
2270
|
+
slot: "message"
|
|
2288
2271
|
}, {
|
|
2289
|
-
children:
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
}))
|
|
2294
|
-
})) : jsx("ul", Object.assign({
|
|
2295
|
-
role: "listbox"
|
|
2272
|
+
children: validator.message
|
|
2273
|
+
})), jsx(CoreOption, Object.assign({
|
|
2274
|
+
isPlaceholder: true,
|
|
2275
|
+
"aria-hidden": true
|
|
2296
2276
|
}, {
|
|
2297
|
-
children:
|
|
2298
|
-
}))
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2277
|
+
children: (texts === null || texts === void 0 ? void 0 : texts.placeholder) || 'Select'
|
|
2278
|
+
})), options.map(option => jsx(CoreOption, Object.assign({
|
|
2279
|
+
value: option[_useValue],
|
|
2280
|
+
selected: option.selected
|
|
2281
|
+
}, {
|
|
2282
|
+
children: option[_display]
|
|
2283
|
+
}), option[_useValue]))]
|
|
2284
|
+
}))
|
|
2304
2285
|
}));
|
|
2305
2286
|
};
|
|
2306
2287
|
|
|
@@ -2391,14 +2372,16 @@ const Datepicker = (options = {}) => {
|
|
|
2391
2372
|
texts: {
|
|
2392
2373
|
placeholder: data.monthName
|
|
2393
2374
|
},
|
|
2394
|
-
onChange: datepicker.setMonth
|
|
2375
|
+
onChange: datepicker.setMonth,
|
|
2376
|
+
value: data.month
|
|
2395
2377
|
}), jsx(Dropdown, {
|
|
2396
2378
|
options: years({}),
|
|
2397
2379
|
display: "key",
|
|
2398
2380
|
texts: {
|
|
2399
2381
|
placeholder: data.year + ''
|
|
2400
2382
|
},
|
|
2401
|
-
onChange: datepicker.setYear
|
|
2383
|
+
onChange: datepicker.setYear,
|
|
2384
|
+
value: data.year
|
|
2402
2385
|
}), jsx("button", Object.assign({
|
|
2403
2386
|
className: "link",
|
|
2404
2387
|
onClick: () => datepicker.add(1, 'months')
|
|
@@ -2735,9 +2718,10 @@ function Group({
|
|
|
2735
2718
|
}));
|
|
2736
2719
|
}
|
|
2737
2720
|
|
|
2738
|
-
var
|
|
2721
|
+
var global$8 = global$k;
|
|
2722
|
+
var classof$2 = classofRaw$2;
|
|
2739
2723
|
|
|
2740
|
-
var engineIsNode =
|
|
2724
|
+
var engineIsNode = classof$2(global$8.process) === 'process';
|
|
2741
2725
|
|
|
2742
2726
|
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
2743
2727
|
var defineProperty = objectDefineProperty;
|
|
@@ -2750,10 +2734,10 @@ var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
|
2750
2734
|
|
|
2751
2735
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
2752
2736
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2753
|
-
var wellKnownSymbol$
|
|
2737
|
+
var wellKnownSymbol$5 = wellKnownSymbol$g;
|
|
2754
2738
|
var DESCRIPTORS$1 = descriptors;
|
|
2755
2739
|
|
|
2756
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2740
|
+
var SPECIES$2 = wellKnownSymbol$5('species');
|
|
2757
2741
|
|
|
2758
2742
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2759
2743
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
@@ -2772,52 +2756,13 @@ var $TypeError$5 = TypeError;
|
|
|
2772
2756
|
|
|
2773
2757
|
var anInstance$1 = function (it, Prototype) {
|
|
2774
2758
|
if (isPrototypeOf$3(Prototype, it)) return it;
|
|
2775
|
-
throw $TypeError$5('Incorrect invocation');
|
|
2776
|
-
};
|
|
2777
|
-
|
|
2778
|
-
var wellKnownSymbol$6 = wellKnownSymbol$e;
|
|
2779
|
-
|
|
2780
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
|
|
2781
|
-
var test = {};
|
|
2782
|
-
|
|
2783
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
2784
|
-
|
|
2785
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
2786
|
-
|
|
2787
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2788
|
-
var isCallable$6 = isCallable$l;
|
|
2789
|
-
var classofRaw$1 = classofRaw$2;
|
|
2790
|
-
var wellKnownSymbol$5 = wellKnownSymbol$e;
|
|
2791
|
-
|
|
2792
|
-
var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
|
|
2793
|
-
var $Object = Object;
|
|
2794
|
-
|
|
2795
|
-
// ES3 wrong here
|
|
2796
|
-
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
|
2797
|
-
|
|
2798
|
-
// fallback for IE11 Script Access Denied error
|
|
2799
|
-
var tryGet = function (it, key) {
|
|
2800
|
-
try {
|
|
2801
|
-
return it[key];
|
|
2802
|
-
} catch (error) { /* empty */ }
|
|
2803
|
-
};
|
|
2804
|
-
|
|
2805
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
2806
|
-
var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2807
|
-
var O, tag, result;
|
|
2808
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2809
|
-
// @@toStringTag case
|
|
2810
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2811
|
-
// builtinTag case
|
|
2812
|
-
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2813
|
-
// ES3 arguments fallback
|
|
2814
|
-
: (result = classofRaw$1(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
2759
|
+
throw new $TypeError$5('Incorrect invocation');
|
|
2815
2760
|
};
|
|
2816
2761
|
|
|
2817
2762
|
var uncurryThis$6 = functionUncurryThis;
|
|
2818
|
-
var fails$3 = fails$
|
|
2763
|
+
var fails$3 = fails$g;
|
|
2819
2764
|
var isCallable$5 = isCallable$l;
|
|
2820
|
-
var classof$
|
|
2765
|
+
var classof$1 = classof$4;
|
|
2821
2766
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
2822
2767
|
var inspectSource$1 = inspectSource$3;
|
|
2823
2768
|
|
|
@@ -2826,7 +2771,7 @@ var empty = [];
|
|
|
2826
2771
|
var construct = getBuiltIn$2('Reflect', 'construct');
|
|
2827
2772
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2828
2773
|
var exec$1 = uncurryThis$6(constructorRegExp.exec);
|
|
2829
|
-
var INCORRECT_TO_STRING = !constructorRegExp.
|
|
2774
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop$1);
|
|
2830
2775
|
|
|
2831
2776
|
var isConstructorModern = function isConstructor(argument) {
|
|
2832
2777
|
if (!isCallable$5(argument)) return false;
|
|
@@ -2840,7 +2785,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2840
2785
|
|
|
2841
2786
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2842
2787
|
if (!isCallable$5(argument)) return false;
|
|
2843
|
-
switch (classof$
|
|
2788
|
+
switch (classof$1(argument)) {
|
|
2844
2789
|
case 'AsyncFunction':
|
|
2845
2790
|
case 'GeneratorFunction':
|
|
2846
2791
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -2875,13 +2820,13 @@ var $TypeError$4 = TypeError;
|
|
|
2875
2820
|
// `Assert: IsConstructor(argument) is true`
|
|
2876
2821
|
var aConstructor$1 = function (argument) {
|
|
2877
2822
|
if (isConstructor(argument)) return argument;
|
|
2878
|
-
throw $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
|
2823
|
+
throw new $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
|
2879
2824
|
};
|
|
2880
2825
|
|
|
2881
2826
|
var anObject$6 = anObject$c;
|
|
2882
2827
|
var aConstructor = aConstructor$1;
|
|
2883
2828
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2884
|
-
var wellKnownSymbol$4 = wellKnownSymbol$
|
|
2829
|
+
var wellKnownSymbol$4 = wellKnownSymbol$g;
|
|
2885
2830
|
|
|
2886
2831
|
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
2887
2832
|
|
|
@@ -2935,7 +2880,7 @@ var arraySlice$1 = uncurryThis$3([].slice);
|
|
|
2935
2880
|
var $TypeError$3 = TypeError;
|
|
2936
2881
|
|
|
2937
2882
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
2938
|
-
if (passed < required) throw $TypeError$3('Not enough arguments');
|
|
2883
|
+
if (passed < required) throw new $TypeError$3('Not enough arguments');
|
|
2939
2884
|
return passed;
|
|
2940
2885
|
};
|
|
2941
2886
|
|
|
@@ -2944,12 +2889,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
2944
2889
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2945
2890
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2946
2891
|
|
|
2947
|
-
var global$7 = global$
|
|
2892
|
+
var global$7 = global$k;
|
|
2948
2893
|
var apply = functionApply;
|
|
2949
2894
|
var bind$3 = functionBindContext;
|
|
2950
2895
|
var isCallable$4 = isCallable$l;
|
|
2951
2896
|
var hasOwn$2 = hasOwnProperty_1;
|
|
2952
|
-
var fails$2 = fails$
|
|
2897
|
+
var fails$2 = fails$g;
|
|
2953
2898
|
var html = html$2;
|
|
2954
2899
|
var arraySlice = arraySlice$1;
|
|
2955
2900
|
var createElement = documentCreateElement$2;
|
|
@@ -2959,7 +2904,7 @@ var IS_NODE$3 = engineIsNode;
|
|
|
2959
2904
|
|
|
2960
2905
|
var set = global$7.setImmediate;
|
|
2961
2906
|
var clear = global$7.clearImmediate;
|
|
2962
|
-
var process$
|
|
2907
|
+
var process$2 = global$7.process;
|
|
2963
2908
|
var Dispatch = global$7.Dispatch;
|
|
2964
2909
|
var Function$1 = global$7.Function;
|
|
2965
2910
|
var MessageChannel = global$7.MessageChannel;
|
|
@@ -3015,7 +2960,7 @@ if (!set || !clear) {
|
|
|
3015
2960
|
// Node.js 0.8-
|
|
3016
2961
|
if (IS_NODE$3) {
|
|
3017
2962
|
defer = function (id) {
|
|
3018
|
-
process$
|
|
2963
|
+
process$2.nextTick(runner(id));
|
|
3019
2964
|
};
|
|
3020
2965
|
// Sphere (JS game engine) Dispatch API
|
|
3021
2966
|
} else if (Dispatch && Dispatch.now) {
|
|
@@ -3094,7 +3039,7 @@ var userAgent = engineUserAgent;
|
|
|
3094
3039
|
|
|
3095
3040
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
3096
3041
|
|
|
3097
|
-
var global$6 = global$
|
|
3042
|
+
var global$6 = global$k;
|
|
3098
3043
|
var bind$2 = functionBindContext;
|
|
3099
3044
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
3100
3045
|
var macrotask = task$1.set;
|
|
@@ -3106,7 +3051,7 @@ var IS_NODE$2 = engineIsNode;
|
|
|
3106
3051
|
|
|
3107
3052
|
var MutationObserver = global$6.MutationObserver || global$6.WebKitMutationObserver;
|
|
3108
3053
|
var document$2 = global$6.document;
|
|
3109
|
-
var process$
|
|
3054
|
+
var process$1 = global$6.process;
|
|
3110
3055
|
var Promise$1 = global$6.Promise;
|
|
3111
3056
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
3112
3057
|
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$6, 'queueMicrotask');
|
|
@@ -3119,7 +3064,7 @@ if (!microtask$1) {
|
|
|
3119
3064
|
|
|
3120
3065
|
var flush = function () {
|
|
3121
3066
|
var parent, fn;
|
|
3122
|
-
if (IS_NODE$2 && (parent = process$
|
|
3067
|
+
if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
|
|
3123
3068
|
while (fn = queue.get()) try {
|
|
3124
3069
|
fn();
|
|
3125
3070
|
} catch (error) {
|
|
@@ -3151,7 +3096,7 @@ if (!microtask$1) {
|
|
|
3151
3096
|
// Node.js without promises
|
|
3152
3097
|
} else if (IS_NODE$2) {
|
|
3153
3098
|
notify$1 = function () {
|
|
3154
|
-
process$
|
|
3099
|
+
process$1.nextTick(flush);
|
|
3155
3100
|
};
|
|
3156
3101
|
// for other environments - macrotask based on:
|
|
3157
3102
|
// - setImmediate
|
|
@@ -3178,7 +3123,7 @@ var microtask_1 = microtask$1;
|
|
|
3178
3123
|
var hostReportErrors$1 = function (a, b) {
|
|
3179
3124
|
try {
|
|
3180
3125
|
// eslint-disable-next-line no-console -- safe
|
|
3181
|
-
arguments.length
|
|
3126
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
3182
3127
|
} catch (error) { /* empty */ }
|
|
3183
3128
|
};
|
|
3184
3129
|
|
|
@@ -3190,12 +3135,11 @@ var perform$3 = function (exec) {
|
|
|
3190
3135
|
}
|
|
3191
3136
|
};
|
|
3192
3137
|
|
|
3193
|
-
var global$5 = global$
|
|
3138
|
+
var global$5 = global$k;
|
|
3194
3139
|
|
|
3195
3140
|
var promiseNativeConstructor = global$5.Promise;
|
|
3196
3141
|
|
|
3197
3142
|
/* global Deno -- Deno case */
|
|
3198
|
-
|
|
3199
3143
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
3200
3144
|
|
|
3201
3145
|
var IS_DENO$1 = engineIsDeno;
|
|
@@ -3205,12 +3149,12 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
3205
3149
|
&& typeof window == 'object'
|
|
3206
3150
|
&& typeof document == 'object';
|
|
3207
3151
|
|
|
3208
|
-
var global$4 = global$
|
|
3152
|
+
var global$4 = global$k;
|
|
3209
3153
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
3210
3154
|
var isCallable$3 = isCallable$l;
|
|
3211
3155
|
var isForced = isForced_1;
|
|
3212
3156
|
var inspectSource = inspectSource$3;
|
|
3213
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
|
3157
|
+
var wellKnownSymbol$3 = wellKnownSymbol$g;
|
|
3214
3158
|
var IS_BROWSER = engineIsBrowser;
|
|
3215
3159
|
var IS_DENO = engineIsDeno;
|
|
3216
3160
|
var V8_VERSION = engineV8Version;
|
|
@@ -3259,7 +3203,7 @@ var $TypeError$2 = TypeError;
|
|
|
3259
3203
|
var PromiseCapability = function (C) {
|
|
3260
3204
|
var resolve, reject;
|
|
3261
3205
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
3262
|
-
if (resolve !== undefined || reject !== undefined) throw $TypeError$2('Bad Promise constructor');
|
|
3206
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
|
|
3263
3207
|
resolve = $$resolve;
|
|
3264
3208
|
reject = $$reject;
|
|
3265
3209
|
});
|
|
@@ -3275,7 +3219,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
3275
3219
|
|
|
3276
3220
|
var $$7 = _export;
|
|
3277
3221
|
var IS_NODE = engineIsNode;
|
|
3278
|
-
var global$3 = global$
|
|
3222
|
+
var global$3 = global$k;
|
|
3279
3223
|
var call$7 = functionCall;
|
|
3280
3224
|
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
3281
3225
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -3283,7 +3227,7 @@ var setToStringTag = setToStringTag$3;
|
|
|
3283
3227
|
var setSpecies = setSpecies$1;
|
|
3284
3228
|
var aCallable$3 = aCallable$8;
|
|
3285
3229
|
var isCallable$2 = isCallable$l;
|
|
3286
|
-
var isObject$1 = isObject$
|
|
3230
|
+
var isObject$1 = isObject$9;
|
|
3287
3231
|
var anInstance = anInstance$1;
|
|
3288
3232
|
var speciesConstructor = speciesConstructor$1;
|
|
3289
3233
|
var task = task$1.set;
|
|
@@ -3307,7 +3251,7 @@ var PromiseConstructor = NativePromiseConstructor$2;
|
|
|
3307
3251
|
var PromisePrototype = NativePromisePrototype$1;
|
|
3308
3252
|
var TypeError$1 = global$3.TypeError;
|
|
3309
3253
|
var document$1 = global$3.document;
|
|
3310
|
-
var process
|
|
3254
|
+
var process = global$3.process;
|
|
3311
3255
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
3312
3256
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
3313
3257
|
|
|
@@ -3330,7 +3274,7 @@ var isThenable = function (it) {
|
|
|
3330
3274
|
|
|
3331
3275
|
var callReaction = function (reaction, state) {
|
|
3332
3276
|
var value = state.value;
|
|
3333
|
-
var ok = state.state
|
|
3277
|
+
var ok = state.state === FULFILLED;
|
|
3334
3278
|
var handler = ok ? reaction.ok : reaction.fail;
|
|
3335
3279
|
var resolve = reaction.resolve;
|
|
3336
3280
|
var reject = reaction.reject;
|
|
@@ -3352,7 +3296,7 @@ var callReaction = function (reaction, state) {
|
|
|
3352
3296
|
}
|
|
3353
3297
|
}
|
|
3354
3298
|
if (result === reaction.promise) {
|
|
3355
|
-
reject(TypeError$1('Promise-chain cycle'));
|
|
3299
|
+
reject(new TypeError$1('Promise-chain cycle'));
|
|
3356
3300
|
} else if (then = isThenable(result)) {
|
|
3357
3301
|
call$7(then, result, resolve, reject);
|
|
3358
3302
|
} else resolve(result);
|
|
@@ -3399,7 +3343,7 @@ var onUnhandled = function (state) {
|
|
|
3399
3343
|
if (IS_UNHANDLED) {
|
|
3400
3344
|
result = perform$2(function () {
|
|
3401
3345
|
if (IS_NODE) {
|
|
3402
|
-
process
|
|
3346
|
+
process.emit('unhandledRejection', value, promise);
|
|
3403
3347
|
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
|
3404
3348
|
});
|
|
3405
3349
|
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
|
@@ -3417,7 +3361,7 @@ var onHandleUnhandled = function (state) {
|
|
|
3417
3361
|
call$7(task, global$3, function () {
|
|
3418
3362
|
var promise = state.facade;
|
|
3419
3363
|
if (IS_NODE) {
|
|
3420
|
-
process
|
|
3364
|
+
process.emit('rejectionHandled', promise);
|
|
3421
3365
|
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
|
3422
3366
|
});
|
|
3423
3367
|
};
|
|
@@ -3442,7 +3386,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
3442
3386
|
state.done = true;
|
|
3443
3387
|
if (unwrap) state = unwrap;
|
|
3444
3388
|
try {
|
|
3445
|
-
if (state.facade === value) throw TypeError$1("Promise can't be resolved itself");
|
|
3389
|
+
if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
|
|
3446
3390
|
var then = isThenable(value);
|
|
3447
3391
|
if (then) {
|
|
3448
3392
|
microtask(function () {
|
|
@@ -3505,8 +3449,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3505
3449
|
state.parent = true;
|
|
3506
3450
|
reaction.ok = isCallable$2(onFulfilled) ? onFulfilled : true;
|
|
3507
3451
|
reaction.fail = isCallable$2(onRejected) && onRejected;
|
|
3508
|
-
reaction.domain = IS_NODE ? process
|
|
3509
|
-
if (state.state
|
|
3452
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
3453
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
|
3510
3454
|
else microtask(function () {
|
|
3511
3455
|
callReaction(reaction, state);
|
|
3512
3456
|
});
|
|
@@ -3560,7 +3504,7 @@ $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
|
3560
3504
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
3561
3505
|
setSpecies(PROMISE);
|
|
3562
3506
|
|
|
3563
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
3507
|
+
var wellKnownSymbol$2 = wellKnownSymbol$g;
|
|
3564
3508
|
var Iterators$1 = iterators;
|
|
3565
3509
|
|
|
3566
3510
|
var ITERATOR$3 = wellKnownSymbol$2('iterator');
|
|
@@ -3571,18 +3515,18 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
3571
3515
|
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
|
|
3572
3516
|
};
|
|
3573
3517
|
|
|
3574
|
-
var classof
|
|
3518
|
+
var classof = classof$4;
|
|
3575
3519
|
var getMethod$1 = getMethod$3;
|
|
3576
3520
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
3577
3521
|
var Iterators = iterators;
|
|
3578
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
3522
|
+
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
3579
3523
|
|
|
3580
3524
|
var ITERATOR$2 = wellKnownSymbol$1('iterator');
|
|
3581
3525
|
|
|
3582
3526
|
var getIteratorMethod$2 = function (it) {
|
|
3583
3527
|
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$2)
|
|
3584
3528
|
|| getMethod$1(it, '@@iterator')
|
|
3585
|
-
|| Iterators[classof
|
|
3529
|
+
|| Iterators[classof(it)];
|
|
3586
3530
|
};
|
|
3587
3531
|
|
|
3588
3532
|
var call$6 = functionCall;
|
|
@@ -3596,7 +3540,7 @@ var $TypeError$1 = TypeError;
|
|
|
3596
3540
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3597
3541
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3598
3542
|
if (aCallable$2(iteratorMethod)) return anObject$5(call$6(iteratorMethod, argument));
|
|
3599
|
-
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
3543
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
3600
3544
|
};
|
|
3601
3545
|
|
|
3602
3546
|
var call$5 = functionCall;
|
|
@@ -3670,7 +3614,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3670
3614
|
iterator = iterable;
|
|
3671
3615
|
} else {
|
|
3672
3616
|
iterFn = getIteratorMethod(iterable);
|
|
3673
|
-
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3617
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3674
3618
|
// optimisation for array iterators
|
|
3675
3619
|
if (isArrayIteratorMethod(iterFn)) {
|
|
3676
3620
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -3692,7 +3636,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
3692
3636
|
} return new Result(false);
|
|
3693
3637
|
};
|
|
3694
3638
|
|
|
3695
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3639
|
+
var wellKnownSymbol = wellKnownSymbol$g;
|
|
3696
3640
|
|
|
3697
3641
|
var ITERATOR$1 = wellKnownSymbol('iterator');
|
|
3698
3642
|
var SAFE_CLOSING = false;
|
|
@@ -3715,7 +3659,9 @@ try {
|
|
|
3715
3659
|
} catch (error) { /* empty */ }
|
|
3716
3660
|
|
|
3717
3661
|
var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
3718
|
-
|
|
3662
|
+
try {
|
|
3663
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
|
3664
|
+
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
|
|
3719
3665
|
var ITERATION_SUPPORT = false;
|
|
3720
3666
|
try {
|
|
3721
3667
|
var object = {};
|
|
@@ -3845,7 +3791,7 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3845
3791
|
});
|
|
3846
3792
|
|
|
3847
3793
|
var anObject$2 = anObject$c;
|
|
3848
|
-
var isObject = isObject$
|
|
3794
|
+
var isObject = isObject$9;
|
|
3849
3795
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3850
3796
|
|
|
3851
3797
|
var promiseResolve$1 = function (C, x) {
|
|
@@ -4134,23 +4080,14 @@ const Text = ({
|
|
|
4134
4080
|
children: children
|
|
4135
4081
|
}));
|
|
4136
4082
|
|
|
4137
|
-
var classof = classof$3;
|
|
4138
|
-
|
|
4139
|
-
var $String = String;
|
|
4140
|
-
|
|
4141
|
-
var toString$3 = function (argument) {
|
|
4142
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
4143
|
-
return $String(argument);
|
|
4144
|
-
};
|
|
4145
|
-
|
|
4146
4083
|
var $$1 = _export;
|
|
4147
4084
|
var DESCRIPTORS = descriptors;
|
|
4148
|
-
var global$2 = global$
|
|
4085
|
+
var global$2 = global$k;
|
|
4149
4086
|
var uncurryThis$2 = functionUncurryThis;
|
|
4150
4087
|
var hasOwn$1 = hasOwnProperty_1;
|
|
4151
4088
|
var isCallable = isCallable$l;
|
|
4152
4089
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
4153
|
-
var toString$2 = toString$
|
|
4090
|
+
var toString$2 = toString$4;
|
|
4154
4091
|
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
4155
4092
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
4156
4093
|
|
|
@@ -4177,7 +4114,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
4177
4114
|
SymbolWrapper.prototype = SymbolPrototype;
|
|
4178
4115
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
4179
4116
|
|
|
4180
|
-
var NATIVE_SYMBOL = String(NativeSymbol('
|
|
4117
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
4181
4118
|
var thisSymbolValue = uncurryThis$2(SymbolPrototype.valueOf);
|
|
4182
4119
|
var symbolDescriptiveString = uncurryThis$2(SymbolPrototype.toString);
|
|
4183
4120
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
@@ -4604,17 +4541,17 @@ var regexpGetFlags = function (R) {
|
|
|
4604
4541
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4605
4542
|
var defineBuiltIn = defineBuiltIn$6;
|
|
4606
4543
|
var anObject = anObject$c;
|
|
4607
|
-
var $toString = toString$
|
|
4608
|
-
var fails$1 = fails$
|
|
4544
|
+
var $toString = toString$4;
|
|
4545
|
+
var fails$1 = fails$g;
|
|
4609
4546
|
var getRegExpFlags = regexpGetFlags;
|
|
4610
4547
|
|
|
4611
4548
|
var TO_STRING = 'toString';
|
|
4612
4549
|
var RegExpPrototype = RegExp.prototype;
|
|
4613
4550
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
4614
4551
|
|
|
4615
|
-
var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' })
|
|
4552
|
+
var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
4616
4553
|
// FF44- RegExp#toString has a wrong name
|
|
4617
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name
|
|
4554
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
4618
4555
|
|
|
4619
4556
|
// `RegExp.prototype.toString` method
|
|
4620
4557
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
@@ -4632,7 +4569,7 @@ const InputWrapper = ({
|
|
|
4632
4569
|
unitLabel
|
|
4633
4570
|
}) => jsx(Fragment, {
|
|
4634
4571
|
children: unitLabel ? jsxs("div", Object.assign({
|
|
4635
|
-
className: "group group-border"
|
|
4572
|
+
className: "group group-border group-focus"
|
|
4636
4573
|
}, {
|
|
4637
4574
|
children: [children, jsx("span", Object.assign({
|
|
4638
4575
|
className: "form-text"
|
|
@@ -4892,8 +4829,8 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
4892
4829
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
4893
4830
|
|
|
4894
4831
|
var uncurryThis$1 = functionUncurryThis;
|
|
4895
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
4896
|
-
var toString$1 = toString$
|
|
4832
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
4833
|
+
var toString$1 = toString$4;
|
|
4897
4834
|
var whitespaces$1 = whitespaces$2;
|
|
4898
4835
|
|
|
4899
4836
|
var replace = uncurryThis$1(''.replace);
|
|
@@ -4922,10 +4859,10 @@ var stringTrim = {
|
|
|
4922
4859
|
trim: createMethod(3)
|
|
4923
4860
|
};
|
|
4924
4861
|
|
|
4925
|
-
var global$1 = global$
|
|
4926
|
-
var fails = fails$
|
|
4862
|
+
var global$1 = global$k;
|
|
4863
|
+
var fails = fails$g;
|
|
4927
4864
|
var uncurryThis = functionUncurryThis;
|
|
4928
|
-
var toString = toString$
|
|
4865
|
+
var toString = toString$4;
|
|
4929
4866
|
var trim = stringTrim.trim;
|
|
4930
4867
|
var whitespaces = whitespaces$2;
|
|
4931
4868
|
|
|
@@ -4950,7 +4887,7 @@ var $parseInt = numberParseInt;
|
|
|
4950
4887
|
|
|
4951
4888
|
// `parseInt` method
|
|
4952
4889
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
4953
|
-
$({ global: true, forced: parseInt
|
|
4890
|
+
$({ global: true, forced: parseInt !== $parseInt }, {
|
|
4954
4891
|
parseInt: $parseInt
|
|
4955
4892
|
});
|
|
4956
4893
|
|
|
@@ -5116,4 +5053,4 @@ const Modal = _a => {
|
|
|
5116
5053
|
return isOpen ? modalContent() : null;
|
|
5117
5054
|
};
|
|
5118
5055
|
|
|
5119
|
-
export { Accordion, AlertRibbon as Alert, AlertRibbon, Badge, Button, ButtonGroup, Card, Checkbox, Datepicker, Dropdown, EmailInput, Flexbox, Form, FormItem, FormItems, Group, Link, List$1 as List, Modal, Navbar, NumberInput, Option, OptionGroup, RadioButton, RadioGroup, RenderInput, Select, Slider, Stepper, Tab, Tabs, Text, TextInput, valueList$1 as ValueList };
|
|
5056
|
+
export { Accordion, AlertRibbon as Alert, AlertRibbon, Badge, Button, ButtonGroup, Card, Checkbox, CoreDropdown, CoreOption, Datepicker, Dropdown, EmailInput, Flexbox, Form, FormItem, FormItems, Group, Link, List$1 as List, Modal, Navbar, NumberInput, Option, OptionGroup, RadioButton, RadioGroup, RenderInput, Select, Slider, Stepper, Tab, Tabs, Text, TextInput, valueList$1 as ValueList };
|