@majoo-ui/react 1.54.1-rc.1 → 1.54.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/components/pageDialog/PageDialog.d.ts +8 -24
- package/index.esm.css +1307 -1294
- package/index.esm.js +574 -568
- package/index.umd.css +1307 -1294
- package/index.umd.js +574 -568
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -49,7 +49,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
|
|
|
49
49
|
import imageCompressionComponent from 'browser-image-compression';
|
|
50
50
|
import { useSticky } from 'react-table-sticky';
|
|
51
51
|
|
|
52
|
-
var _jsxFileName$10 = "
|
|
52
|
+
var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
|
|
53
53
|
|
|
54
54
|
function ThemeProvider({
|
|
55
55
|
theme,
|
|
@@ -78,7 +78,7 @@ var check = function (it) {
|
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
81
|
-
var global$
|
|
81
|
+
var global$U =
|
|
82
82
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
83
83
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
84
84
|
check(typeof window == 'object' && window) ||
|
|
@@ -172,28 +172,31 @@ var classofRaw$1 = function (it) {
|
|
|
172
172
|
return stringSlice$b(toString$j(it), 8, -1);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
+
var global$T = global$U;
|
|
175
176
|
var uncurryThis$v = functionUncurryThis;
|
|
176
177
|
var fails$q = fails$t;
|
|
177
178
|
var classof$8 = classofRaw$1;
|
|
178
179
|
|
|
179
|
-
var
|
|
180
|
+
var Object$5 = global$T.Object;
|
|
180
181
|
var split$3 = uncurryThis$v(''.split);
|
|
181
182
|
|
|
182
183
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
183
184
|
var indexedObject = fails$q(function () {
|
|
184
185
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
185
186
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
186
|
-
return
|
|
187
|
+
return !Object$5('z').propertyIsEnumerable(0);
|
|
187
188
|
}) ? function (it) {
|
|
188
|
-
return classof$8(it) == 'String' ? split$3(it, '') :
|
|
189
|
-
} :
|
|
189
|
+
return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
|
|
190
|
+
} : Object$5;
|
|
190
191
|
|
|
191
|
-
var $
|
|
192
|
+
var global$S = global$U;
|
|
193
|
+
|
|
194
|
+
var TypeError$j = global$S.TypeError;
|
|
192
195
|
|
|
193
196
|
// `RequireObjectCoercible` abstract operation
|
|
194
197
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
195
198
|
var requireObjectCoercible$a = function (it) {
|
|
196
|
-
if (it == undefined) throw
|
|
199
|
+
if (it == undefined) throw TypeError$j("Can't call method on " + it);
|
|
197
200
|
return it;
|
|
198
201
|
};
|
|
199
202
|
|
|
@@ -217,7 +220,7 @@ var isObject$d = function (it) {
|
|
|
217
220
|
return typeof it == 'object' ? it !== null : isCallable$o(it);
|
|
218
221
|
};
|
|
219
222
|
|
|
220
|
-
var global$
|
|
223
|
+
var global$R = global$U;
|
|
221
224
|
var isCallable$n = isCallable$p;
|
|
222
225
|
|
|
223
226
|
var aFunction = function (argument) {
|
|
@@ -225,7 +228,7 @@ var aFunction = function (argument) {
|
|
|
225
228
|
};
|
|
226
229
|
|
|
227
230
|
var getBuiltIn$8 = function (namespace, method) {
|
|
228
|
-
return arguments.length < 2 ? aFunction(global$
|
|
231
|
+
return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
|
|
229
232
|
};
|
|
230
233
|
|
|
231
234
|
var uncurryThis$u = functionUncurryThis;
|
|
@@ -236,11 +239,11 @@ var getBuiltIn$7 = getBuiltIn$8;
|
|
|
236
239
|
|
|
237
240
|
var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
|
|
238
241
|
|
|
239
|
-
var global$
|
|
242
|
+
var global$Q = global$U;
|
|
240
243
|
var userAgent$5 = engineUserAgent;
|
|
241
244
|
|
|
242
|
-
var process$3 = global$
|
|
243
|
-
var Deno$1 = global$
|
|
245
|
+
var process$3 = global$Q.process;
|
|
246
|
+
var Deno$1 = global$Q.Deno;
|
|
244
247
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
245
248
|
var v8 = versions && versions.v8;
|
|
246
249
|
var match, version;
|
|
@@ -287,39 +290,43 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
287
290
|
&& !Symbol.sham
|
|
288
291
|
&& typeof Symbol.iterator == 'symbol';
|
|
289
292
|
|
|
293
|
+
var global$P = global$U;
|
|
290
294
|
var getBuiltIn$6 = getBuiltIn$8;
|
|
291
295
|
var isCallable$m = isCallable$p;
|
|
292
296
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
293
297
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
294
298
|
|
|
295
|
-
var
|
|
299
|
+
var Object$4 = global$P.Object;
|
|
296
300
|
|
|
297
301
|
var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
298
302
|
return typeof it == 'symbol';
|
|
299
303
|
} : function (it) {
|
|
300
304
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
301
|
-
return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype,
|
|
305
|
+
return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
|
|
302
306
|
};
|
|
303
307
|
|
|
304
|
-
var $
|
|
308
|
+
var global$O = global$U;
|
|
309
|
+
|
|
310
|
+
var String$6 = global$O.String;
|
|
305
311
|
|
|
306
|
-
var tryToString$
|
|
312
|
+
var tryToString$4 = function (argument) {
|
|
307
313
|
try {
|
|
308
|
-
return
|
|
314
|
+
return String$6(argument);
|
|
309
315
|
} catch (error) {
|
|
310
316
|
return 'Object';
|
|
311
317
|
}
|
|
312
318
|
};
|
|
313
319
|
|
|
320
|
+
var global$N = global$U;
|
|
314
321
|
var isCallable$l = isCallable$p;
|
|
315
|
-
var tryToString$
|
|
322
|
+
var tryToString$3 = tryToString$4;
|
|
316
323
|
|
|
317
|
-
var
|
|
324
|
+
var TypeError$i = global$N.TypeError;
|
|
318
325
|
|
|
319
326
|
// `Assert: IsCallable(argument) is true`
|
|
320
327
|
var aCallable$9 = function (argument) {
|
|
321
328
|
if (isCallable$l(argument)) return argument;
|
|
322
|
-
throw
|
|
329
|
+
throw TypeError$i(tryToString$3(argument) + ' is not a function');
|
|
323
330
|
};
|
|
324
331
|
|
|
325
332
|
var aCallable$8 = aCallable$9;
|
|
@@ -331,11 +338,12 @@ var getMethod$6 = function (V, P) {
|
|
|
331
338
|
return func == null ? undefined : aCallable$8(func);
|
|
332
339
|
};
|
|
333
340
|
|
|
341
|
+
var global$M = global$U;
|
|
334
342
|
var call$l = functionCall;
|
|
335
343
|
var isCallable$k = isCallable$p;
|
|
336
344
|
var isObject$c = isObject$d;
|
|
337
345
|
|
|
338
|
-
var
|
|
346
|
+
var TypeError$h = global$M.TypeError;
|
|
339
347
|
|
|
340
348
|
// `OrdinaryToPrimitive` abstract operation
|
|
341
349
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -344,31 +352,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
344
352
|
if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
|
|
345
353
|
if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
|
|
346
354
|
if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
|
|
347
|
-
throw
|
|
355
|
+
throw TypeError$h("Can't convert object to primitive value");
|
|
348
356
|
};
|
|
349
357
|
|
|
350
358
|
var shared$4 = {exports: {}};
|
|
351
359
|
|
|
352
360
|
var isPure = false;
|
|
353
361
|
|
|
354
|
-
var global$
|
|
362
|
+
var global$L = global$U;
|
|
355
363
|
|
|
356
364
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
357
|
-
var defineProperty$
|
|
365
|
+
var defineProperty$7 = Object.defineProperty;
|
|
358
366
|
|
|
359
|
-
var
|
|
367
|
+
var setGlobal$3 = function (key, value) {
|
|
360
368
|
try {
|
|
361
|
-
defineProperty$
|
|
369
|
+
defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
|
|
362
370
|
} catch (error) {
|
|
363
|
-
global$
|
|
371
|
+
global$L[key] = value;
|
|
364
372
|
} return value;
|
|
365
373
|
};
|
|
366
374
|
|
|
367
|
-
var global$
|
|
368
|
-
var
|
|
375
|
+
var global$K = global$U;
|
|
376
|
+
var setGlobal$2 = setGlobal$3;
|
|
369
377
|
|
|
370
378
|
var SHARED = '__core-js_shared__';
|
|
371
|
-
var store$3 = global$
|
|
379
|
+
var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
|
|
372
380
|
|
|
373
381
|
var sharedStore = store$3;
|
|
374
382
|
|
|
@@ -377,21 +385,22 @@ var store$2 = sharedStore;
|
|
|
377
385
|
(shared$4.exports = function (key, value) {
|
|
378
386
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
379
387
|
})('versions', []).push({
|
|
380
|
-
version: '3.
|
|
388
|
+
version: '3.22.5',
|
|
381
389
|
mode: 'global',
|
|
382
390
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
383
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
391
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
384
392
|
source: 'https://github.com/zloirock/core-js'
|
|
385
393
|
});
|
|
386
394
|
|
|
395
|
+
var global$J = global$U;
|
|
387
396
|
var requireObjectCoercible$8 = requireObjectCoercible$a;
|
|
388
397
|
|
|
389
|
-
var
|
|
398
|
+
var Object$3 = global$J.Object;
|
|
390
399
|
|
|
391
400
|
// `ToObject` abstract operation
|
|
392
401
|
// https://tc39.es/ecma262/#sec-toobject
|
|
393
402
|
var toObject$7 = function (argument) {
|
|
394
|
-
return
|
|
403
|
+
return Object$3(requireObjectCoercible$8(argument));
|
|
395
404
|
};
|
|
396
405
|
|
|
397
406
|
var uncurryThis$t = functionUncurryThis;
|
|
@@ -416,7 +425,7 @@ var uid$2 = function (key) {
|
|
|
416
425
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
|
|
417
426
|
};
|
|
418
427
|
|
|
419
|
-
var global$
|
|
428
|
+
var global$I = global$U;
|
|
420
429
|
var shared$3 = shared$4.exports;
|
|
421
430
|
var hasOwn$e = hasOwnProperty_1;
|
|
422
431
|
var uid$1 = uid$2;
|
|
@@ -424,7 +433,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
|
424
433
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
425
434
|
|
|
426
435
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
427
|
-
var Symbol$7 = global$
|
|
436
|
+
var Symbol$7 = global$I.Symbol;
|
|
428
437
|
var symbolFor = Symbol$7 && Symbol$7['for'];
|
|
429
438
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
|
|
430
439
|
|
|
@@ -441,6 +450,7 @@ var wellKnownSymbol$l = function (name) {
|
|
|
441
450
|
} return WellKnownSymbolsStore[name];
|
|
442
451
|
};
|
|
443
452
|
|
|
453
|
+
var global$H = global$U;
|
|
444
454
|
var call$k = functionCall;
|
|
445
455
|
var isObject$b = isObject$d;
|
|
446
456
|
var isSymbol$5 = isSymbol$6;
|
|
@@ -448,7 +458,7 @@ var getMethod$5 = getMethod$6;
|
|
|
448
458
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
449
459
|
var wellKnownSymbol$k = wellKnownSymbol$l;
|
|
450
460
|
|
|
451
|
-
var
|
|
461
|
+
var TypeError$g = global$H.TypeError;
|
|
452
462
|
var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
|
|
453
463
|
|
|
454
464
|
// `ToPrimitive` abstract operation
|
|
@@ -461,7 +471,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
461
471
|
if (pref === undefined) pref = 'default';
|
|
462
472
|
result = call$k(exoticToPrim, input, pref);
|
|
463
473
|
if (!isObject$b(result) || isSymbol$5(result)) return result;
|
|
464
|
-
throw
|
|
474
|
+
throw TypeError$g("Can't convert object to primitive value");
|
|
465
475
|
}
|
|
466
476
|
if (pref === undefined) pref = 'number';
|
|
467
477
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -477,10 +487,10 @@ var toPropertyKey$3 = function (argument) {
|
|
|
477
487
|
return isSymbol$4(key) ? key : key + '';
|
|
478
488
|
};
|
|
479
489
|
|
|
480
|
-
var global$
|
|
490
|
+
var global$G = global$U;
|
|
481
491
|
var isObject$a = isObject$d;
|
|
482
492
|
|
|
483
|
-
var document$3 = global$
|
|
493
|
+
var document$3 = global$G.document;
|
|
484
494
|
// typeof document.createElement is 'object' in old IE
|
|
485
495
|
var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
|
|
486
496
|
|
|
@@ -538,24 +548,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$n(function () {
|
|
|
538
548
|
}).prototype != 42;
|
|
539
549
|
});
|
|
540
550
|
|
|
551
|
+
var global$F = global$U;
|
|
541
552
|
var isObject$9 = isObject$d;
|
|
542
553
|
|
|
543
|
-
var
|
|
544
|
-
var
|
|
554
|
+
var String$5 = global$F.String;
|
|
555
|
+
var TypeError$f = global$F.TypeError;
|
|
545
556
|
|
|
546
557
|
// `Assert: Type(argument) is Object`
|
|
547
558
|
var anObject$i = function (argument) {
|
|
548
559
|
if (isObject$9(argument)) return argument;
|
|
549
|
-
throw
|
|
560
|
+
throw TypeError$f(String$5(argument) + ' is not an object');
|
|
550
561
|
};
|
|
551
562
|
|
|
563
|
+
var global$E = global$U;
|
|
552
564
|
var DESCRIPTORS$b = descriptors;
|
|
553
565
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
554
566
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
555
567
|
var anObject$h = anObject$i;
|
|
556
568
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
557
569
|
|
|
558
|
-
var
|
|
570
|
+
var TypeError$e = global$E.TypeError;
|
|
559
571
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
560
572
|
var $defineProperty = Object.defineProperty;
|
|
561
573
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -588,7 +600,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
588
600
|
if (IE8_DOM_DEFINE) try {
|
|
589
601
|
return $defineProperty(O, P, Attributes);
|
|
590
602
|
} catch (error) { /* empty */ }
|
|
591
|
-
if ('get' in Attributes || 'set' in Attributes) throw
|
|
603
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
|
|
592
604
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
593
605
|
return O;
|
|
594
606
|
};
|
|
@@ -597,7 +609,7 @@ var DESCRIPTORS$a = descriptors;
|
|
|
597
609
|
var definePropertyModule$5 = objectDefineProperty;
|
|
598
610
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
599
611
|
|
|
600
|
-
var createNonEnumerableProperty$
|
|
612
|
+
var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
|
|
601
613
|
return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
|
|
602
614
|
} : function (object, key, value) {
|
|
603
615
|
object[key] = value;
|
|
@@ -639,11 +651,11 @@ if (!isCallable$j(store$1.inspectSource)) {
|
|
|
639
651
|
|
|
640
652
|
var inspectSource$4 = store$1.inspectSource;
|
|
641
653
|
|
|
642
|
-
var global$
|
|
654
|
+
var global$D = global$U;
|
|
643
655
|
var isCallable$i = isCallable$p;
|
|
644
656
|
var inspectSource$3 = inspectSource$4;
|
|
645
657
|
|
|
646
|
-
var WeakMap$1 = global$
|
|
658
|
+
var WeakMap$1 = global$D.WeakMap;
|
|
647
659
|
|
|
648
660
|
var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
|
|
649
661
|
|
|
@@ -659,18 +671,18 @@ var sharedKey$3 = function (key) {
|
|
|
659
671
|
var hiddenKeys$4 = {};
|
|
660
672
|
|
|
661
673
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
662
|
-
var global$
|
|
674
|
+
var global$C = global$U;
|
|
663
675
|
var uncurryThis$q = functionUncurryThis;
|
|
664
676
|
var isObject$8 = isObject$d;
|
|
665
|
-
var createNonEnumerableProperty$
|
|
677
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
|
|
666
678
|
var hasOwn$b = hasOwnProperty_1;
|
|
667
679
|
var shared$1 = sharedStore;
|
|
668
680
|
var sharedKey$2 = sharedKey$3;
|
|
669
681
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
670
682
|
|
|
671
683
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
672
|
-
var TypeError$
|
|
673
|
-
var WeakMap = global$
|
|
684
|
+
var TypeError$d = global$C.TypeError;
|
|
685
|
+
var WeakMap = global$C.WeakMap;
|
|
674
686
|
var set$1, get$1, has;
|
|
675
687
|
|
|
676
688
|
var enforce = function (it) {
|
|
@@ -681,7 +693,7 @@ var getterFor = function (TYPE) {
|
|
|
681
693
|
return function (it) {
|
|
682
694
|
var state;
|
|
683
695
|
if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
|
|
684
|
-
throw TypeError$
|
|
696
|
+
throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
|
|
685
697
|
} return state;
|
|
686
698
|
};
|
|
687
699
|
};
|
|
@@ -692,7 +704,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
692
704
|
var wmhas = uncurryThis$q(store.has);
|
|
693
705
|
var wmset = uncurryThis$q(store.set);
|
|
694
706
|
set$1 = function (it, metadata) {
|
|
695
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
707
|
+
if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
|
|
696
708
|
metadata.facade = it;
|
|
697
709
|
wmset(store, it, metadata);
|
|
698
710
|
return metadata;
|
|
@@ -707,9 +719,9 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
707
719
|
var STATE = sharedKey$2('state');
|
|
708
720
|
hiddenKeys$3[STATE] = true;
|
|
709
721
|
set$1 = function (it, metadata) {
|
|
710
|
-
if (hasOwn$b(it, STATE)) throw new TypeError$
|
|
722
|
+
if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
|
|
711
723
|
metadata.facade = it;
|
|
712
|
-
createNonEnumerableProperty$
|
|
724
|
+
createNonEnumerableProperty$6(it, STATE, metadata);
|
|
713
725
|
return metadata;
|
|
714
726
|
};
|
|
715
727
|
get$1 = function (it) {
|
|
@@ -739,10 +751,10 @@ var InternalStateModule$5 = internalState;
|
|
|
739
751
|
var enforceInternalState$1 = InternalStateModule$5.enforce;
|
|
740
752
|
var getInternalState$3 = InternalStateModule$5.get;
|
|
741
753
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
742
|
-
var defineProperty$
|
|
754
|
+
var defineProperty$6 = Object.defineProperty;
|
|
743
755
|
|
|
744
756
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
|
|
745
|
-
return defineProperty$
|
|
757
|
+
return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
746
758
|
});
|
|
747
759
|
|
|
748
760
|
var TEMPLATE = String(String).split('String');
|
|
@@ -754,18 +766,16 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
754
766
|
if (options && options.getter) name = 'get ' + name;
|
|
755
767
|
if (options && options.setter) name = 'set ' + name;
|
|
756
768
|
if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
757
|
-
|
|
758
|
-
else value.name = name;
|
|
769
|
+
defineProperty$6(value, 'name', { value: name, configurable: true });
|
|
759
770
|
}
|
|
760
771
|
if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
|
|
761
|
-
defineProperty$
|
|
772
|
+
defineProperty$6(value, 'length', { value: options.arity });
|
|
762
773
|
}
|
|
763
|
-
|
|
764
|
-
if (
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
} catch (error) { /* empty */ }
|
|
774
|
+
if (options && hasOwn$a(options, 'constructor') && options.constructor) {
|
|
775
|
+
if (DESCRIPTORS$8) try {
|
|
776
|
+
defineProperty$6(value, 'prototype', { writable: false });
|
|
777
|
+
} catch (error) { /* empty */ }
|
|
778
|
+
} else value.prototype = undefined;
|
|
769
779
|
var state = enforceInternalState$1(value);
|
|
770
780
|
if (!hasOwn$a(state, 'source')) {
|
|
771
781
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
@@ -778,32 +788,30 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
|
778
788
|
return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
|
|
779
789
|
}, 'toString');
|
|
780
790
|
|
|
791
|
+
var global$B = global$U;
|
|
781
792
|
var isCallable$g = isCallable$p;
|
|
782
|
-
var
|
|
793
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
|
|
783
794
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
784
|
-
var
|
|
795
|
+
var setGlobal$1 = setGlobal$3;
|
|
785
796
|
|
|
786
797
|
var defineBuiltIn$b = function (O, key, value, options) {
|
|
787
|
-
|
|
788
|
-
var simple = options.enumerable;
|
|
789
|
-
var
|
|
798
|
+
var unsafe = options ? !!options.unsafe : false;
|
|
799
|
+
var simple = options ? !!options.enumerable : false;
|
|
800
|
+
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
801
|
+
var name = options && options.name !== undefined ? options.name : key;
|
|
790
802
|
if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
|
|
791
|
-
if (
|
|
792
|
-
if (simple) O[key] = value;
|
|
793
|
-
else defineGlobalProperty$1(key, value);
|
|
794
|
-
} else {
|
|
795
|
-
try {
|
|
796
|
-
if (!options.unsafe) delete O[key];
|
|
797
|
-
else if (O[key]) simple = true;
|
|
798
|
-
} catch (error) { /* empty */ }
|
|
803
|
+
if (O === global$B) {
|
|
799
804
|
if (simple) O[key] = value;
|
|
800
|
-
else
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
805
|
+
else setGlobal$1(key, value);
|
|
806
|
+
return O;
|
|
807
|
+
} else if (!unsafe) {
|
|
808
|
+
delete O[key];
|
|
809
|
+
} else if (!noTargetGet && O[key]) {
|
|
810
|
+
simple = true;
|
|
811
|
+
}
|
|
812
|
+
if (simple) O[key] = value;
|
|
813
|
+
else createNonEnumerableProperty$5(O, key, value);
|
|
814
|
+
return O;
|
|
807
815
|
};
|
|
808
816
|
|
|
809
817
|
var objectGetOwnPropertyNames = {};
|
|
@@ -811,22 +819,12 @@ var objectGetOwnPropertyNames = {};
|
|
|
811
819
|
var ceil = Math.ceil;
|
|
812
820
|
var floor$5 = Math.floor;
|
|
813
821
|
|
|
814
|
-
// `Math.trunc` method
|
|
815
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
816
|
-
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
817
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
818
|
-
var n = +x;
|
|
819
|
-
return (n > 0 ? floor$5 : ceil)(n);
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
var trunc = mathTrunc;
|
|
823
|
-
|
|
824
822
|
// `ToIntegerOrInfinity` abstract operation
|
|
825
823
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
826
824
|
var toIntegerOrInfinity$6 = function (argument) {
|
|
827
825
|
var number = +argument;
|
|
828
|
-
// eslint-disable-next-line no-self-compare --
|
|
829
|
-
return number !== number || number === 0 ? 0 :
|
|
826
|
+
// eslint-disable-next-line no-self-compare -- safe
|
|
827
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
|
|
830
828
|
};
|
|
831
829
|
|
|
832
830
|
var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
|
|
@@ -960,11 +958,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
960
958
|
var hasOwn$8 = hasOwnProperty_1;
|
|
961
959
|
var ownKeys = ownKeys$1;
|
|
962
960
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
963
|
-
var definePropertyModule$
|
|
961
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
964
962
|
|
|
965
963
|
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
966
964
|
var keys = ownKeys(source);
|
|
967
|
-
var defineProperty = definePropertyModule$
|
|
965
|
+
var defineProperty = definePropertyModule$4.f;
|
|
968
966
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
969
967
|
for (var i = 0; i < keys.length; i++) {
|
|
970
968
|
var key = keys[i];
|
|
@@ -997,28 +995,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
997
995
|
|
|
998
996
|
var isForced_1 = isForced$3;
|
|
999
997
|
|
|
1000
|
-
var global$
|
|
998
|
+
var global$A = global$U;
|
|
1001
999
|
var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
|
|
1002
|
-
var createNonEnumerableProperty$4 = createNonEnumerableProperty$
|
|
1000
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
|
|
1003
1001
|
var defineBuiltIn$a = defineBuiltIn$b;
|
|
1004
|
-
var
|
|
1002
|
+
var setGlobal = setGlobal$3;
|
|
1005
1003
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1006
1004
|
var isForced$2 = isForced_1;
|
|
1007
1005
|
|
|
1008
1006
|
/*
|
|
1009
|
-
options.target
|
|
1010
|
-
options.global
|
|
1011
|
-
options.stat
|
|
1012
|
-
options.proto
|
|
1013
|
-
options.real
|
|
1014
|
-
options.forced
|
|
1015
|
-
options.bind
|
|
1016
|
-
options.wrap
|
|
1017
|
-
options.unsafe
|
|
1018
|
-
options.sham
|
|
1019
|
-
options.enumerable
|
|
1020
|
-
options.
|
|
1021
|
-
options.name
|
|
1007
|
+
options.target - name of the target object
|
|
1008
|
+
options.global - target is the global object
|
|
1009
|
+
options.stat - export as static methods of target
|
|
1010
|
+
options.proto - export as prototype methods of target
|
|
1011
|
+
options.real - real prototype method for the `pure` version
|
|
1012
|
+
options.forced - export even if the native feature is available
|
|
1013
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
1014
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1015
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1016
|
+
options.sham - add a flag to not completely full polyfills
|
|
1017
|
+
options.enumerable - export as enumerable property
|
|
1018
|
+
options.noTargetGet - prevent calling a getter on target
|
|
1019
|
+
options.name - the .name of the function if it does not match the key
|
|
1022
1020
|
*/
|
|
1023
1021
|
var _export = function (options, source) {
|
|
1024
1022
|
var TARGET = options.target;
|
|
@@ -1026,15 +1024,15 @@ var _export = function (options, source) {
|
|
|
1026
1024
|
var STATIC = options.stat;
|
|
1027
1025
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1028
1026
|
if (GLOBAL) {
|
|
1029
|
-
target = global$
|
|
1027
|
+
target = global$A;
|
|
1030
1028
|
} else if (STATIC) {
|
|
1031
|
-
target = global$
|
|
1029
|
+
target = global$A[TARGET] || setGlobal(TARGET, {});
|
|
1032
1030
|
} else {
|
|
1033
|
-
target = (global$
|
|
1031
|
+
target = (global$A[TARGET] || {}).prototype;
|
|
1034
1032
|
}
|
|
1035
1033
|
if (target) for (key in source) {
|
|
1036
1034
|
sourceProperty = source[key];
|
|
1037
|
-
if (options.
|
|
1035
|
+
if (options.noTargetGet) {
|
|
1038
1036
|
descriptor = getOwnPropertyDescriptor$3(target, key);
|
|
1039
1037
|
targetProperty = descriptor && descriptor.value;
|
|
1040
1038
|
} else targetProperty = target[key];
|
|
@@ -1075,17 +1073,17 @@ var IndexedObject$1 = indexedObject;
|
|
|
1075
1073
|
// eslint-disable-next-line es-x/no-object-assign -- safe
|
|
1076
1074
|
var $assign = Object.assign;
|
|
1077
1075
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1078
|
-
var defineProperty$
|
|
1076
|
+
var defineProperty$5 = Object.defineProperty;
|
|
1079
1077
|
var concat$1 = uncurryThis$n([].concat);
|
|
1080
1078
|
|
|
1081
1079
|
// `Object.assign` method
|
|
1082
1080
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1083
1081
|
var objectAssign = !$assign || fails$k(function () {
|
|
1084
1082
|
// should have correct order of operations (Edge bug)
|
|
1085
|
-
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$
|
|
1083
|
+
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
|
|
1086
1084
|
enumerable: true,
|
|
1087
1085
|
get: function () {
|
|
1088
|
-
defineProperty$
|
|
1086
|
+
defineProperty$5(this, 'b', {
|
|
1089
1087
|
value: 3,
|
|
1090
1088
|
enumerable: false
|
|
1091
1089
|
});
|
|
@@ -1405,7 +1403,7 @@ var objectDefineProperties = {};
|
|
|
1405
1403
|
|
|
1406
1404
|
var DESCRIPTORS$6 = descriptors;
|
|
1407
1405
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1408
|
-
var definePropertyModule$
|
|
1406
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
1409
1407
|
var anObject$f = anObject$i;
|
|
1410
1408
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1411
1409
|
var objectKeys = objectKeys$2;
|
|
@@ -1420,7 +1418,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1420
1418
|
var length = keys.length;
|
|
1421
1419
|
var index = 0;
|
|
1422
1420
|
var key;
|
|
1423
|
-
while (length > index) definePropertyModule$
|
|
1421
|
+
while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
|
|
1424
1422
|
return O;
|
|
1425
1423
|
};
|
|
1426
1424
|
|
|
@@ -1515,7 +1513,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1515
1513
|
|
|
1516
1514
|
var wellKnownSymbol$j = wellKnownSymbol$l;
|
|
1517
1515
|
var create$3 = objectCreate;
|
|
1518
|
-
var
|
|
1516
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1519
1517
|
|
|
1520
1518
|
var UNSCOPABLES = wellKnownSymbol$j('unscopables');
|
|
1521
1519
|
var ArrayPrototype$1 = Array.prototype;
|
|
@@ -1523,7 +1521,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
|
1523
1521
|
// Array.prototype[@@unscopables]
|
|
1524
1522
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1525
1523
|
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
1526
|
-
|
|
1524
|
+
definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
|
|
1527
1525
|
configurable: true,
|
|
1528
1526
|
value: create$3(null)
|
|
1529
1527
|
});
|
|
@@ -1545,6 +1543,7 @@ var correctPrototypeGetter = !fails$j(function () {
|
|
|
1545
1543
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1546
1544
|
});
|
|
1547
1545
|
|
|
1546
|
+
var global$z = global$U;
|
|
1548
1547
|
var hasOwn$7 = hasOwnProperty_1;
|
|
1549
1548
|
var isCallable$e = isCallable$p;
|
|
1550
1549
|
var toObject$4 = toObject$7;
|
|
@@ -1552,19 +1551,18 @@ var sharedKey = sharedKey$3;
|
|
|
1552
1551
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1553
1552
|
|
|
1554
1553
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1555
|
-
var
|
|
1556
|
-
var ObjectPrototype =
|
|
1554
|
+
var Object$2 = global$z.Object;
|
|
1555
|
+
var ObjectPrototype = Object$2.prototype;
|
|
1557
1556
|
|
|
1558
1557
|
// `Object.getPrototypeOf` method
|
|
1559
1558
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1560
|
-
|
|
1561
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1559
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
|
|
1562
1560
|
var object = toObject$4(O);
|
|
1563
1561
|
if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
|
|
1564
1562
|
var constructor = object.constructor;
|
|
1565
1563
|
if (isCallable$e(constructor) && object instanceof constructor) {
|
|
1566
1564
|
return constructor.prototype;
|
|
1567
|
-
} return object instanceof
|
|
1565
|
+
} return object instanceof Object$2 ? ObjectPrototype : null;
|
|
1568
1566
|
};
|
|
1569
1567
|
|
|
1570
1568
|
var fails$i = fails$t;
|
|
@@ -1641,14 +1639,15 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
|
|
|
1641
1639
|
return IteratorConstructor;
|
|
1642
1640
|
};
|
|
1643
1641
|
|
|
1642
|
+
var global$y = global$U;
|
|
1644
1643
|
var isCallable$c = isCallable$p;
|
|
1645
1644
|
|
|
1646
|
-
var
|
|
1647
|
-
var
|
|
1645
|
+
var String$4 = global$y.String;
|
|
1646
|
+
var TypeError$c = global$y.TypeError;
|
|
1648
1647
|
|
|
1649
1648
|
var aPossiblePrototype$1 = function (argument) {
|
|
1650
1649
|
if (typeof argument == 'object' || isCallable$c(argument)) return argument;
|
|
1651
|
-
throw
|
|
1650
|
+
throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
|
|
1652
1651
|
};
|
|
1653
1652
|
|
|
1654
1653
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1688,7 +1687,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
|
|
|
1688
1687
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1689
1688
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1690
1689
|
var setToStringTag$3 = setToStringTag$5;
|
|
1691
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$
|
|
1690
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
|
|
1692
1691
|
var defineBuiltIn$8 = defineBuiltIn$b;
|
|
1693
1692
|
var wellKnownSymbol$g = wellKnownSymbol$l;
|
|
1694
1693
|
var Iterators$3 = iterators;
|
|
@@ -1881,11 +1880,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1881
1880
|
|
|
1882
1881
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1883
1882
|
|
|
1884
|
-
var global$
|
|
1883
|
+
var global$x = global$U;
|
|
1885
1884
|
var DOMIterables = domIterables;
|
|
1886
1885
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1887
1886
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1888
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$
|
|
1887
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
|
|
1889
1888
|
var wellKnownSymbol$f = wellKnownSymbol$l;
|
|
1890
1889
|
|
|
1891
1890
|
var ITERATOR$7 = wellKnownSymbol$f('iterator');
|
|
@@ -1915,7 +1914,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1915
1914
|
};
|
|
1916
1915
|
|
|
1917
1916
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1918
|
-
handlePrototype(global$
|
|
1917
|
+
handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1919
1918
|
}
|
|
1920
1919
|
|
|
1921
1920
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -1929,13 +1928,14 @@ test$1[TO_STRING_TAG$1] = 'z';
|
|
|
1929
1928
|
|
|
1930
1929
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
1931
1930
|
|
|
1931
|
+
var global$w = global$U;
|
|
1932
1932
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1933
1933
|
var isCallable$a = isCallable$p;
|
|
1934
1934
|
var classofRaw = classofRaw$1;
|
|
1935
1935
|
var wellKnownSymbol$d = wellKnownSymbol$l;
|
|
1936
1936
|
|
|
1937
1937
|
var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
|
|
1938
|
-
var $
|
|
1938
|
+
var Object$1 = global$w.Object;
|
|
1939
1939
|
|
|
1940
1940
|
// ES3 wrong here
|
|
1941
1941
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -1952,25 +1952,26 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
1952
1952
|
var O, tag, result;
|
|
1953
1953
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1954
1954
|
// @@toStringTag case
|
|
1955
|
-
: typeof (tag = tryGet(O = $
|
|
1955
|
+
: typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1956
1956
|
// builtinTag case
|
|
1957
1957
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1958
1958
|
// ES3 arguments fallback
|
|
1959
1959
|
: (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
1960
1960
|
};
|
|
1961
1961
|
|
|
1962
|
+
var global$v = global$U;
|
|
1962
1963
|
var classof$6 = classof$7;
|
|
1963
1964
|
|
|
1964
|
-
var
|
|
1965
|
+
var String$3 = global$v.String;
|
|
1965
1966
|
|
|
1966
1967
|
var toString$h = function (argument) {
|
|
1967
1968
|
if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1968
|
-
return
|
|
1969
|
+
return String$3(argument);
|
|
1969
1970
|
};
|
|
1970
1971
|
|
|
1971
1972
|
var $$k = _export;
|
|
1972
1973
|
var DESCRIPTORS$4 = descriptors;
|
|
1973
|
-
var global$
|
|
1974
|
+
var global$u = global$U;
|
|
1974
1975
|
var uncurryThis$l = functionUncurryThis;
|
|
1975
1976
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1976
1977
|
var isCallable$9 = isCallable$p;
|
|
@@ -1979,7 +1980,7 @@ var toString$g = toString$h;
|
|
|
1979
1980
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1980
1981
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
1981
1982
|
|
|
1982
|
-
var NativeSymbol = global$
|
|
1983
|
+
var NativeSymbol = global$u.Symbol;
|
|
1983
1984
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
1984
1985
|
|
|
1985
1986
|
if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
@@ -2059,13 +2060,14 @@ var isRegexp = function (it) {
|
|
|
2059
2060
|
return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
|
|
2060
2061
|
};
|
|
2061
2062
|
|
|
2063
|
+
var global$t = global$U;
|
|
2062
2064
|
var isRegExp$2 = isRegexp;
|
|
2063
2065
|
|
|
2064
|
-
var
|
|
2066
|
+
var TypeError$b = global$t.TypeError;
|
|
2065
2067
|
|
|
2066
2068
|
var notARegexp = function (it) {
|
|
2067
2069
|
if (isRegExp$2(it)) {
|
|
2068
|
-
throw
|
|
2070
|
+
throw TypeError$b("The method doesn't accept regular expressions");
|
|
2069
2071
|
} return it;
|
|
2070
2072
|
};
|
|
2071
2073
|
|
|
@@ -2239,7 +2241,7 @@ Flex$1.displayName = 'Flex';
|
|
|
2239
2241
|
|
|
2240
2242
|
const _excluded$A = ["children"],
|
|
2241
2243
|
_excluded2$2 = ["children"];
|
|
2242
|
-
var _jsxFileName$$ = "
|
|
2244
|
+
var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
|
|
2243
2245
|
const GridComponent = styled('div', {
|
|
2244
2246
|
display: 'grid',
|
|
2245
2247
|
variants: {
|
|
@@ -2498,7 +2500,7 @@ GridItem.propTypes = {
|
|
|
2498
2500
|
GridItem.displayName = 'Grid Item';
|
|
2499
2501
|
|
|
2500
2502
|
const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
|
|
2501
|
-
var _jsxFileName$_ = "
|
|
2503
|
+
var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
|
|
2502
2504
|
const StyledDiv$3 = styled(Flex$1, {
|
|
2503
2505
|
justifyContent: 'center',
|
|
2504
2506
|
marginLeft: 'auto',
|
|
@@ -2854,7 +2856,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
2854
2856
|
});
|
|
2855
2857
|
|
|
2856
2858
|
const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
2857
|
-
var _jsxFileName$Z = "
|
|
2859
|
+
var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
|
|
2858
2860
|
const TOAST_WIDTH = 576;
|
|
2859
2861
|
const ANIMATION_DURATION = 400;
|
|
2860
2862
|
const TOP_RIGHT_POSITION = 'top-right';
|
|
@@ -3208,7 +3210,7 @@ Toast.defaultProps = {
|
|
|
3208
3210
|
|
|
3209
3211
|
const ToastContext = /*#__PURE__*/React.createContext({});
|
|
3210
3212
|
|
|
3211
|
-
var _jsxFileName$Y = "
|
|
3213
|
+
var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
|
|
3212
3214
|
const ToastBox = styled(Flex$1, {
|
|
3213
3215
|
position: 'fixed',
|
|
3214
3216
|
variants: {
|
|
@@ -3284,7 +3286,7 @@ const ToastContainer = ({
|
|
|
3284
3286
|
};
|
|
3285
3287
|
|
|
3286
3288
|
const _excluded$x = ["id"];
|
|
3287
|
-
var _jsxFileName$X = "
|
|
3289
|
+
var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
|
|
3288
3290
|
let toastCount = 0;
|
|
3289
3291
|
|
|
3290
3292
|
const ToastProvider = ({
|
|
@@ -3369,7 +3371,7 @@ const ToastProvider = ({
|
|
|
3369
3371
|
}));
|
|
3370
3372
|
};
|
|
3371
3373
|
|
|
3372
|
-
var _jsxFileName$W = "
|
|
3374
|
+
var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
|
|
3373
3375
|
|
|
3374
3376
|
function MajooProvider({
|
|
3375
3377
|
children,
|
|
@@ -3404,7 +3406,7 @@ MajooProvider.propTypes = {
|
|
|
3404
3406
|
};
|
|
3405
3407
|
|
|
3406
3408
|
const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
|
|
3407
|
-
var _jsxFileName$V = "
|
|
3409
|
+
var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
|
|
3408
3410
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
3409
3411
|
const StyledBanner = styled(Flex$1, {
|
|
3410
3412
|
maxWidth: '100%',
|
|
@@ -3496,13 +3498,13 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
|
|
|
3496
3498
|
}
|
|
3497
3499
|
}), props.children);
|
|
3498
3500
|
BannerTitle.propTypes = {
|
|
3499
|
-
/**
|
|
3500
|
-
Additional styles of title
|
|
3501
|
+
/**
|
|
3502
|
+
Additional styles of title
|
|
3501
3503
|
*/
|
|
3502
3504
|
css: PropTypes.object,
|
|
3503
3505
|
|
|
3504
|
-
/**
|
|
3505
|
-
Title of the Banner to be displayed
|
|
3506
|
+
/**
|
|
3507
|
+
Title of the Banner to be displayed
|
|
3506
3508
|
*/
|
|
3507
3509
|
children: PropTypes.string
|
|
3508
3510
|
};
|
|
@@ -3518,13 +3520,13 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
|
|
|
3518
3520
|
}
|
|
3519
3521
|
}), props.children);
|
|
3520
3522
|
BannerDescription.propTypes = {
|
|
3521
|
-
/**
|
|
3522
|
-
Additional styles of description
|
|
3523
|
+
/**
|
|
3524
|
+
Additional styles of description
|
|
3523
3525
|
*/
|
|
3524
3526
|
css: PropTypes.object,
|
|
3525
3527
|
|
|
3526
|
-
/**
|
|
3527
|
-
Description of the Banner to be displayed
|
|
3528
|
+
/**
|
|
3529
|
+
Description of the Banner to be displayed
|
|
3528
3530
|
*/
|
|
3529
3531
|
children: PropTypes.string
|
|
3530
3532
|
};
|
|
@@ -3553,18 +3555,18 @@ const BannerLink = ({
|
|
|
3553
3555
|
}
|
|
3554
3556
|
}, children));
|
|
3555
3557
|
BannerLink.propTypes = {
|
|
3556
|
-
/**
|
|
3557
|
-
The purpose of a clickable link, presented in url
|
|
3558
|
+
/**
|
|
3559
|
+
The purpose of a clickable link, presented in url
|
|
3558
3560
|
*/
|
|
3559
3561
|
link: PropTypes.string,
|
|
3560
3562
|
|
|
3561
|
-
/**
|
|
3562
|
-
Text of BannerLink to be displayed
|
|
3563
|
+
/**
|
|
3564
|
+
Text of BannerLink to be displayed
|
|
3563
3565
|
*/
|
|
3564
3566
|
children: PropTypes.string,
|
|
3565
3567
|
|
|
3566
|
-
/**
|
|
3567
|
-
Additional theme of BannerLink is presented by color variants
|
|
3568
|
+
/**
|
|
3569
|
+
Additional theme of BannerLink is presented by color variants
|
|
3568
3570
|
*/
|
|
3569
3571
|
variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
|
|
3570
3572
|
};
|
|
@@ -3755,43 +3757,43 @@ Banner.displayName = 'Banner';
|
|
|
3755
3757
|
BannerTitle.displayName = 'BannerTitle';
|
|
3756
3758
|
BannerDescription.displayName = 'BannerDescription';
|
|
3757
3759
|
Banner.propTypes = {
|
|
3758
|
-
/**
|
|
3759
|
-
Title of banner to be displayed
|
|
3760
|
+
/**
|
|
3761
|
+
Title of banner to be displayed
|
|
3760
3762
|
*/
|
|
3761
3763
|
title: PropTypes.string,
|
|
3762
3764
|
|
|
3763
|
-
/**
|
|
3764
|
-
Description of banner to be displayed
|
|
3765
|
+
/**
|
|
3766
|
+
Description of banner to be displayed
|
|
3765
3767
|
*/
|
|
3766
3768
|
description: PropTypes.string,
|
|
3767
3769
|
|
|
3768
|
-
/**
|
|
3769
|
-
The banner theme is presented in color variants
|
|
3770
|
+
/**
|
|
3771
|
+
The banner theme is presented in color variants
|
|
3770
3772
|
*/
|
|
3771
3773
|
variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
|
|
3772
3774
|
|
|
3773
|
-
/**
|
|
3774
|
-
The purpose of a clickable link, presented in url
|
|
3775
|
+
/**
|
|
3776
|
+
The purpose of a clickable link, presented in url
|
|
3775
3777
|
*/
|
|
3776
3778
|
link: PropTypes.string,
|
|
3777
3779
|
|
|
3778
|
-
/**
|
|
3779
|
-
Text of button link to be displayed
|
|
3780
|
+
/**
|
|
3781
|
+
Text of button link to be displayed
|
|
3780
3782
|
*/
|
|
3781
3783
|
linkText: PropTypes.string,
|
|
3782
3784
|
|
|
3783
|
-
/**
|
|
3784
|
-
Clickable event handler
|
|
3785
|
+
/**
|
|
3786
|
+
Clickable event handler
|
|
3785
3787
|
*/
|
|
3786
3788
|
onClick: PropTypes.func,
|
|
3787
3789
|
|
|
3788
|
-
/**
|
|
3789
|
-
Closable event handler
|
|
3790
|
+
/**
|
|
3791
|
+
Closable event handler
|
|
3790
3792
|
*/
|
|
3791
3793
|
onRemove: PropTypes.func,
|
|
3792
3794
|
|
|
3793
|
-
/**
|
|
3794
|
-
Block type banner to display in full width
|
|
3795
|
+
/**
|
|
3796
|
+
Block type banner to display in full width
|
|
3795
3797
|
*/
|
|
3796
3798
|
bannerBlock: PropTypes.bool
|
|
3797
3799
|
};
|
|
@@ -4088,7 +4090,7 @@ const Button$3 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
4088
4090
|
});
|
|
4089
4091
|
|
|
4090
4092
|
const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
|
|
4091
|
-
var _jsxFileName$U = "
|
|
4093
|
+
var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
|
|
4092
4094
|
const CardComponent = styled('div', {
|
|
4093
4095
|
padding: '12px',
|
|
4094
4096
|
height: 'auto',
|
|
@@ -4296,7 +4298,7 @@ Card$1.defaultProps = {
|
|
|
4296
4298
|
};
|
|
4297
4299
|
|
|
4298
4300
|
const _excluded$u = ["children"];
|
|
4299
|
-
var _jsxFileName$T = "
|
|
4301
|
+
var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
|
|
4300
4302
|
const BreadcrumbStyle = styled('nav', {
|
|
4301
4303
|
wordWrap: 'break-word',
|
|
4302
4304
|
'& li+li:before': {
|
|
@@ -4572,7 +4574,7 @@ Badge.defaultProps = {
|
|
|
4572
4574
|
Badge.displayName = 'Badge';
|
|
4573
4575
|
|
|
4574
4576
|
const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
4575
|
-
var _jsxFileName$S = "
|
|
4577
|
+
var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
|
|
4576
4578
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
4577
4579
|
width: '32px',
|
|
4578
4580
|
height: '32px',
|
|
@@ -4675,7 +4677,7 @@ Avatar.defaultProps = {
|
|
|
4675
4677
|
};
|
|
4676
4678
|
|
|
4677
4679
|
const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
4678
|
-
var _jsxFileName$R = "
|
|
4680
|
+
var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
|
|
4679
4681
|
const ContainerFallback = styled(Flex$1, {
|
|
4680
4682
|
boxSizing: 'border-box',
|
|
4681
4683
|
border: '2px dashed #C0C4C4',
|
|
@@ -4772,58 +4774,58 @@ function Image(_ref) {
|
|
|
4772
4774
|
}
|
|
4773
4775
|
}
|
|
4774
4776
|
Image.propTypes = {
|
|
4775
|
-
/**
|
|
4776
|
-
Additional className for img element.
|
|
4777
|
+
/**
|
|
4778
|
+
Additional className for img element.
|
|
4777
4779
|
*/
|
|
4778
4780
|
className: PropTypes.string,
|
|
4779
4781
|
|
|
4780
|
-
/**
|
|
4781
|
-
Which is used to specify the source of an image.
|
|
4782
|
+
/**
|
|
4783
|
+
Which is used to specify the source of an image.
|
|
4782
4784
|
*/
|
|
4783
4785
|
src: PropTypes.string,
|
|
4784
4786
|
|
|
4785
|
-
/**
|
|
4786
|
-
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4787
|
+
/**
|
|
4788
|
+
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4787
4789
|
*/
|
|
4788
4790
|
alt: PropTypes.string,
|
|
4789
4791
|
|
|
4790
|
-
/**
|
|
4791
|
-
Additional css for img element.
|
|
4792
|
+
/**
|
|
4793
|
+
Additional css for img element.
|
|
4792
4794
|
*/
|
|
4793
4795
|
css: PropTypes.object,
|
|
4794
4796
|
|
|
4795
|
-
/**
|
|
4796
|
-
Additional css for default fallback element.
|
|
4797
|
+
/**
|
|
4798
|
+
Additional css for default fallback element.
|
|
4797
4799
|
*/
|
|
4798
4800
|
cssFallback: PropTypes.object,
|
|
4799
4801
|
|
|
4800
|
-
/**
|
|
4801
|
-
Custom width of img element.
|
|
4802
|
+
/**
|
|
4803
|
+
Custom width of img element.
|
|
4802
4804
|
*/
|
|
4803
4805
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4804
4806
|
|
|
4805
|
-
/**
|
|
4806
|
-
Custom height of img element.
|
|
4807
|
+
/**
|
|
4808
|
+
Custom height of img element.
|
|
4807
4809
|
*/
|
|
4808
4810
|
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4809
4811
|
|
|
4810
|
-
/**
|
|
4811
|
-
Set image to circle.
|
|
4812
|
+
/**
|
|
4813
|
+
Set image to circle.
|
|
4812
4814
|
*/
|
|
4813
4815
|
rounded: PropTypes.bool,
|
|
4814
4816
|
|
|
4815
|
-
/**
|
|
4816
|
-
Used to specify how an <img> should be resized to fit its container.
|
|
4817
|
+
/**
|
|
4818
|
+
Used to specify how an <img> should be resized to fit its container.
|
|
4817
4819
|
*/
|
|
4818
4820
|
objectFit: PropTypes.string,
|
|
4819
4821
|
|
|
4820
|
-
/**
|
|
4821
|
-
Custom fallback if image url doesn't exist.
|
|
4822
|
+
/**
|
|
4823
|
+
Custom fallback if image url doesn't exist.
|
|
4822
4824
|
*/
|
|
4823
4825
|
fallback: PropTypes.string,
|
|
4824
4826
|
|
|
4825
|
-
/**
|
|
4826
|
-
Custom fallback title for default fallback.
|
|
4827
|
+
/**
|
|
4828
|
+
Custom fallback title for default fallback.
|
|
4827
4829
|
*/
|
|
4828
4830
|
fallbackTitle: PropTypes.string
|
|
4829
4831
|
};
|
|
@@ -4833,7 +4835,7 @@ Image.defaultProps = {
|
|
|
4833
4835
|
};
|
|
4834
4836
|
|
|
4835
4837
|
const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
|
|
4836
|
-
var _jsxFileName$Q = "
|
|
4838
|
+
var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
|
|
4837
4839
|
const {
|
|
4838
4840
|
zIndices: zIndices$1
|
|
4839
4841
|
} = foundations;
|
|
@@ -5034,7 +5036,7 @@ Tooltip$1.defaultProps = {
|
|
|
5034
5036
|
};
|
|
5035
5037
|
|
|
5036
5038
|
const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
5037
|
-
var _jsxFileName$P = "
|
|
5039
|
+
var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
|
|
5038
5040
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
5039
5041
|
position: 'relative',
|
|
5040
5042
|
overflow: 'hidden',
|
|
@@ -5295,7 +5297,7 @@ const FormGroup = styled('div', {
|
|
|
5295
5297
|
FormGroup.displayName = 'FormGroup';
|
|
5296
5298
|
|
|
5297
5299
|
const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
5298
|
-
var _jsxFileName$O = "
|
|
5300
|
+
var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
|
|
5299
5301
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
5300
5302
|
display: 'inline-block',
|
|
5301
5303
|
fontSize: '$label',
|
|
@@ -5415,7 +5417,7 @@ FormLabel.defaultProps = {
|
|
|
5415
5417
|
FormLabel.displayName = 'FormLabel';
|
|
5416
5418
|
|
|
5417
5419
|
const _excluded$o = ["children", "error", "errorMessage"];
|
|
5418
|
-
var _jsxFileName$N = "
|
|
5420
|
+
var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
|
|
5419
5421
|
const StyledHelper = styled(Text$1, {
|
|
5420
5422
|
display: 'inline-block',
|
|
5421
5423
|
color: '$textSecondary',
|
|
@@ -5476,7 +5478,7 @@ FormHelper.propTypes = {
|
|
|
5476
5478
|
};
|
|
5477
5479
|
FormHelper.displayName = 'FormHelper';
|
|
5478
5480
|
|
|
5479
|
-
var _jsxFileName$M = "
|
|
5481
|
+
var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
|
|
5480
5482
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
5481
5483
|
|
|
5482
5484
|
const CheckboxGroup = ({
|
|
@@ -5539,7 +5541,7 @@ CheckboxGroup.defaultProps = {
|
|
|
5539
5541
|
};
|
|
5540
5542
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
5541
5543
|
|
|
5542
|
-
var _jsxFileName$L = "
|
|
5544
|
+
var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
|
|
5543
5545
|
|
|
5544
5546
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5545
5547
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5587,7 +5589,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
5587
5589
|
}
|
|
5588
5590
|
}));
|
|
5589
5591
|
|
|
5590
|
-
var _jsxFileName$K = "
|
|
5592
|
+
var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
|
|
5591
5593
|
|
|
5592
5594
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5593
5595
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5636,7 +5638,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
5636
5638
|
}));
|
|
5637
5639
|
|
|
5638
5640
|
const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
5639
|
-
var _jsxFileName$J = "
|
|
5641
|
+
var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
|
|
5640
5642
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
5641
5643
|
alignItems: 'center',
|
|
5642
5644
|
display: 'flex',
|
|
@@ -5802,7 +5804,7 @@ InputCheckbox.propTypes = {
|
|
|
5802
5804
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
5803
5805
|
|
|
5804
5806
|
const _excluded$m = ["children", "size"];
|
|
5805
|
-
var _jsxFileName$I = "
|
|
5807
|
+
var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
|
|
5806
5808
|
const InputGroupStyle = styled('div', {
|
|
5807
5809
|
display: 'flex',
|
|
5808
5810
|
width: '100%',
|
|
@@ -5949,13 +5951,13 @@ const InputGroup = _ref => {
|
|
|
5949
5951
|
}));
|
|
5950
5952
|
};
|
|
5951
5953
|
InputGroup.propTypes = {
|
|
5952
|
-
/**
|
|
5953
|
-
Adjust Input Text Size
|
|
5954
|
+
/**
|
|
5955
|
+
Adjust Input Text Size
|
|
5954
5956
|
*/
|
|
5955
5957
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
5956
5958
|
|
|
5957
|
-
/**
|
|
5958
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
5959
|
+
/**
|
|
5960
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
5959
5961
|
*/
|
|
5960
5962
|
children: PropTypes.node.isRequired,
|
|
5961
5963
|
|
|
@@ -6121,7 +6123,7 @@ InputSuffix.propTypes = {
|
|
|
6121
6123
|
};
|
|
6122
6124
|
|
|
6123
6125
|
const _excluded$l = ["disabled", "readOnly"];
|
|
6124
|
-
var _jsxFileName$H = "
|
|
6126
|
+
var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
|
|
6125
6127
|
const disabledStyle = {
|
|
6126
6128
|
backgroundColor: '$formDisable',
|
|
6127
6129
|
color: '$textDisable',
|
|
@@ -6283,7 +6285,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6283
6285
|
InputText.displayName = 'InputText';
|
|
6284
6286
|
|
|
6285
6287
|
const _excluded$k = ["disabled", "readOnly"];
|
|
6286
|
-
var _jsxFileName$G = "
|
|
6288
|
+
var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
|
|
6287
6289
|
const StyledTextArea = styled(StyledInput$1, {
|
|
6288
6290
|
variants: {
|
|
6289
6291
|
size: {
|
|
@@ -6349,7 +6351,7 @@ InputTextArea.defaultProps = {
|
|
|
6349
6351
|
|
|
6350
6352
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
6351
6353
|
|
|
6352
|
-
var _jsxFileName$F = "
|
|
6354
|
+
var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
|
|
6353
6355
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
6354
6356
|
function InputRadioGroup(props) {
|
|
6355
6357
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -6382,7 +6384,7 @@ InputRadioGroup.propTypes = {
|
|
|
6382
6384
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
6383
6385
|
|
|
6384
6386
|
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
6385
|
-
var _jsxFileName$E = "
|
|
6387
|
+
var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
|
|
6386
6388
|
const INDICATOR_BASE_STYLES = {
|
|
6387
6389
|
alignItems: 'center',
|
|
6388
6390
|
display: 'flex',
|
|
@@ -6680,7 +6682,7 @@ InputRightElement.propTypes = {
|
|
|
6680
6682
|
InputRightElement.name = 'InputRightElement';
|
|
6681
6683
|
|
|
6682
6684
|
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
|
|
6683
|
-
var _jsxFileName$D = "
|
|
6685
|
+
var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
|
|
6684
6686
|
const StyledInput = styled(NumberFormat, {
|
|
6685
6687
|
// Reset
|
|
6686
6688
|
appearance: 'none',
|
|
@@ -6890,7 +6892,6 @@ var regexpFlags$1 = function () {
|
|
|
6890
6892
|
if (that.multiline) result += 'm';
|
|
6891
6893
|
if (that.dotAll) result += 's';
|
|
6892
6894
|
if (that.unicode) result += 'u';
|
|
6893
|
-
if (that.unicodeSets) result += 'v';
|
|
6894
6895
|
if (that.sticky) result += 'y';
|
|
6895
6896
|
return result;
|
|
6896
6897
|
};
|
|
@@ -6909,10 +6910,10 @@ var regexpGetFlags = function (R) {
|
|
|
6909
6910
|
};
|
|
6910
6911
|
|
|
6911
6912
|
var fails$g = fails$t;
|
|
6912
|
-
var global$
|
|
6913
|
+
var global$s = global$U;
|
|
6913
6914
|
|
|
6914
6915
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
6915
|
-
var $RegExp$2 = global$
|
|
6916
|
+
var $RegExp$2 = global$s.RegExp;
|
|
6916
6917
|
|
|
6917
6918
|
var UNSUPPORTED_Y$3 = fails$g(function () {
|
|
6918
6919
|
var re = $RegExp$2('a', 'y');
|
|
@@ -6969,10 +6970,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
6969
6970
|
};
|
|
6970
6971
|
|
|
6971
6972
|
var fails$f = fails$t;
|
|
6972
|
-
var global$
|
|
6973
|
+
var global$r = global$U;
|
|
6973
6974
|
|
|
6974
6975
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
6975
|
-
var $RegExp$1 = global$
|
|
6976
|
+
var $RegExp$1 = global$r.RegExp;
|
|
6976
6977
|
|
|
6977
6978
|
var regexpUnsupportedDotAll = fails$f(function () {
|
|
6978
6979
|
var re = $RegExp$1('.', 's');
|
|
@@ -6980,10 +6981,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
|
|
|
6980
6981
|
});
|
|
6981
6982
|
|
|
6982
6983
|
var fails$e = fails$t;
|
|
6983
|
-
var global$
|
|
6984
|
+
var global$q = global$U;
|
|
6984
6985
|
|
|
6985
6986
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
6986
|
-
var $RegExp = global$
|
|
6987
|
+
var $RegExp = global$q.RegExp;
|
|
6987
6988
|
|
|
6988
6989
|
var regexpUnsupportedNcg = fails$e(function () {
|
|
6989
6990
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -6992,11 +6993,11 @@ var regexpUnsupportedNcg = fails$e(function () {
|
|
|
6992
6993
|
});
|
|
6993
6994
|
|
|
6994
6995
|
var DESCRIPTORS$2 = descriptors;
|
|
6995
|
-
var global$
|
|
6996
|
+
var global$p = global$U;
|
|
6996
6997
|
var uncurryThis$j = functionUncurryThis;
|
|
6997
6998
|
var isForced$1 = isForced_1;
|
|
6998
6999
|
var inheritIfRequired = inheritIfRequired$1;
|
|
6999
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
7000
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
|
|
7000
7001
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
7001
7002
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
7002
7003
|
var isRegExp$1 = isRegexp;
|
|
@@ -7014,15 +7015,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
|
7014
7015
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
7015
7016
|
|
|
7016
7017
|
var MATCH = wellKnownSymbol$9('match');
|
|
7017
|
-
var NativeRegExp = global$
|
|
7018
|
+
var NativeRegExp = global$p.RegExp;
|
|
7018
7019
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
7019
|
-
var SyntaxError = global$
|
|
7020
|
+
var SyntaxError = global$p.SyntaxError;
|
|
7020
7021
|
var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
|
|
7021
7022
|
var charAt$8 = uncurryThis$j(''.charAt);
|
|
7022
7023
|
var replace$6 = uncurryThis$j(''.replace);
|
|
7023
7024
|
var stringIndexOf$1 = uncurryThis$j(''.indexOf);
|
|
7024
7025
|
var stringSlice$9 = uncurryThis$j(''.slice);
|
|
7025
|
-
// TODO: Use only
|
|
7026
|
+
// TODO: Use only propper RegExpIdentifierName
|
|
7026
7027
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7027
7028
|
var re1 = /a/g;
|
|
7028
7029
|
var re2 = /a/g;
|
|
@@ -7176,7 +7177,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
7176
7177
|
|
|
7177
7178
|
RegExpPrototype$2.constructor = RegExpWrapper;
|
|
7178
7179
|
RegExpWrapper.prototype = RegExpPrototype$2;
|
|
7179
|
-
defineBuiltIn$7(global$
|
|
7180
|
+
defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
|
|
7180
7181
|
}
|
|
7181
7182
|
|
|
7182
7183
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -7277,7 +7278,7 @@ if (PATCH) {
|
|
|
7277
7278
|
}
|
|
7278
7279
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
7279
7280
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
7280
|
-
// for NPCG, like IE8. NOTE: This doesn'
|
|
7281
|
+
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
7281
7282
|
call$f(nativeReplace, match[0], reCopy, function () {
|
|
7282
7283
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
7283
7284
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -7335,7 +7336,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
7335
7336
|
}
|
|
7336
7337
|
|
|
7337
7338
|
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
7338
|
-
var _jsxFileName$C = "
|
|
7339
|
+
var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
|
|
7339
7340
|
const TagWrapper$3 = styled('div', {
|
|
7340
7341
|
boxSizing: 'border-box',
|
|
7341
7342
|
listStyle: 'none',
|
|
@@ -7512,7 +7513,7 @@ Tag.defaultProps = {
|
|
|
7512
7513
|
};
|
|
7513
7514
|
|
|
7514
7515
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
7515
|
-
var _jsxFileName$B = "
|
|
7516
|
+
var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
|
|
7516
7517
|
const Wrapper$2 = styled('div', {
|
|
7517
7518
|
margin: 0,
|
|
7518
7519
|
flexDirection: 'column',
|
|
@@ -7812,7 +7813,7 @@ TagsInput.defaultProps = {
|
|
|
7812
7813
|
};
|
|
7813
7814
|
|
|
7814
7815
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
7815
|
-
var _jsxFileName$A = "
|
|
7816
|
+
var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
|
|
7816
7817
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
7817
7818
|
display: 'block',
|
|
7818
7819
|
width: '16px',
|
|
@@ -7920,7 +7921,7 @@ InputSwitch.propTypes = {
|
|
|
7920
7921
|
};
|
|
7921
7922
|
InputSwitch.displayName = 'InputSwitch';
|
|
7922
7923
|
|
|
7923
|
-
var _jsxFileName$z = "
|
|
7924
|
+
var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
|
|
7924
7925
|
|
|
7925
7926
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7926
7927
|
width: props.size,
|
|
@@ -7981,7 +7982,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
7981
7982
|
size: 24
|
|
7982
7983
|
};
|
|
7983
7984
|
|
|
7984
|
-
var _jsxFileName$y = "
|
|
7985
|
+
var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
|
|
7985
7986
|
|
|
7986
7987
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7987
7988
|
width: props.size,
|
|
@@ -8024,7 +8025,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
8024
8025
|
};
|
|
8025
8026
|
|
|
8026
8027
|
const _excluded$e = ["size", "onChange", "css", "disabled"];
|
|
8027
|
-
var _jsxFileName$x = "
|
|
8028
|
+
var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
|
|
8028
8029
|
|
|
8029
8030
|
const InputSearchbox = _ref => {
|
|
8030
8031
|
let {
|
|
@@ -8139,7 +8140,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
|
|
|
8139
8140
|
var regexpExec$2 = regexpExec$3;
|
|
8140
8141
|
var fails$b = fails$t;
|
|
8141
8142
|
var wellKnownSymbol$8 = wellKnownSymbol$l;
|
|
8142
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
8143
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$7;
|
|
8143
8144
|
|
|
8144
8145
|
var SPECIES$2 = wellKnownSymbol$8('species');
|
|
8145
8146
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -8214,13 +8215,14 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
8214
8215
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
8215
8216
|
};
|
|
8216
8217
|
|
|
8218
|
+
var global$o = global$U;
|
|
8217
8219
|
var call$e = functionCall;
|
|
8218
8220
|
var anObject$a = anObject$i;
|
|
8219
8221
|
var isCallable$7 = isCallable$p;
|
|
8220
8222
|
var classof$4 = classofRaw$1;
|
|
8221
8223
|
var regexpExec$1 = regexpExec$3;
|
|
8222
8224
|
|
|
8223
|
-
var
|
|
8225
|
+
var TypeError$a = global$o.TypeError;
|
|
8224
8226
|
|
|
8225
8227
|
// `RegExpExec` abstract operation
|
|
8226
8228
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -8232,7 +8234,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
8232
8234
|
return result;
|
|
8233
8235
|
}
|
|
8234
8236
|
if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
|
|
8235
|
-
throw
|
|
8237
|
+
throw TypeError$a('RegExp#exec called on incompatible receiver');
|
|
8236
8238
|
};
|
|
8237
8239
|
|
|
8238
8240
|
var call$d = functionCall;
|
|
@@ -8863,14 +8865,6 @@ function InputSelect(_a) {
|
|
|
8863
8865
|
}), void 0);
|
|
8864
8866
|
}
|
|
8865
8867
|
|
|
8866
|
-
var tryToString$3 = tryToString$5;
|
|
8867
|
-
|
|
8868
|
-
var $TypeError$6 = TypeError;
|
|
8869
|
-
|
|
8870
|
-
var deletePropertyOrThrow$1 = function (O, P) {
|
|
8871
|
-
if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
8872
|
-
};
|
|
8873
|
-
|
|
8874
8868
|
var toPropertyKey = toPropertyKey$3;
|
|
8875
8869
|
var definePropertyModule = objectDefineProperty;
|
|
8876
8870
|
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
@@ -8881,18 +8875,19 @@ var createProperty$2 = function (object, key, value) {
|
|
|
8881
8875
|
else object[propertyKey] = value;
|
|
8882
8876
|
};
|
|
8883
8877
|
|
|
8878
|
+
var global$n = global$U;
|
|
8884
8879
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
8885
8880
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
8886
8881
|
var createProperty$1 = createProperty$2;
|
|
8887
8882
|
|
|
8888
|
-
var
|
|
8883
|
+
var Array$2 = global$n.Array;
|
|
8889
8884
|
var max$1 = Math.max;
|
|
8890
8885
|
|
|
8891
8886
|
var arraySliceSimple = function (O, start, end) {
|
|
8892
8887
|
var length = lengthOfArrayLike$4(O);
|
|
8893
8888
|
var k = toAbsoluteIndex(start, length);
|
|
8894
8889
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
8895
|
-
var result =
|
|
8890
|
+
var result = Array$2(max$1(fin - k, 0));
|
|
8896
8891
|
for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
|
|
8897
8892
|
result.length = n;
|
|
8898
8893
|
return result;
|
|
@@ -8974,7 +8969,6 @@ var uncurryThis$g = functionUncurryThis;
|
|
|
8974
8969
|
var aCallable$7 = aCallable$9;
|
|
8975
8970
|
var toObject$3 = toObject$7;
|
|
8976
8971
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
8977
|
-
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
8978
8972
|
var toString$b = toString$h;
|
|
8979
8973
|
var fails$9 = fails$t;
|
|
8980
8974
|
var internalSort = arraySort$1;
|
|
@@ -9069,18 +9063,19 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
|
9069
9063
|
index = 0;
|
|
9070
9064
|
|
|
9071
9065
|
while (index < itemsLength) array[index] = items[index++];
|
|
9072
|
-
while (index < arrayLength)
|
|
9066
|
+
while (index < arrayLength) delete array[index++];
|
|
9073
9067
|
|
|
9074
9068
|
return array;
|
|
9075
9069
|
}
|
|
9076
9070
|
});
|
|
9077
9071
|
|
|
9072
|
+
var global$m = global$U;
|
|
9078
9073
|
var aCallable$6 = aCallable$9;
|
|
9079
9074
|
var toObject$2 = toObject$7;
|
|
9080
9075
|
var IndexedObject = indexedObject;
|
|
9081
9076
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
9082
9077
|
|
|
9083
|
-
var
|
|
9078
|
+
var TypeError$9 = global$m.TypeError;
|
|
9084
9079
|
|
|
9085
9080
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
9086
9081
|
var createMethod$2 = function (IS_RIGHT) {
|
|
@@ -9099,7 +9094,7 @@ var createMethod$2 = function (IS_RIGHT) {
|
|
|
9099
9094
|
}
|
|
9100
9095
|
index += i;
|
|
9101
9096
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
9102
|
-
throw
|
|
9097
|
+
throw TypeError$9('Reduce of empty array with no initial value');
|
|
9103
9098
|
}
|
|
9104
9099
|
}
|
|
9105
9100
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -9119,20 +9114,20 @@ var arrayReduce = {
|
|
|
9119
9114
|
};
|
|
9120
9115
|
|
|
9121
9116
|
var classof$3 = classofRaw$1;
|
|
9122
|
-
var global$
|
|
9117
|
+
var global$l = global$U;
|
|
9123
9118
|
|
|
9124
|
-
var engineIsNode = classof$3(global$
|
|
9119
|
+
var engineIsNode = classof$3(global$l.process) == 'process';
|
|
9125
9120
|
|
|
9126
9121
|
var $$f = _export;
|
|
9127
9122
|
var $reduce = arrayReduce.left;
|
|
9128
9123
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
9129
9124
|
var CHROME_VERSION = engineV8Version;
|
|
9130
|
-
var IS_NODE$
|
|
9125
|
+
var IS_NODE$3 = engineIsNode;
|
|
9131
9126
|
|
|
9132
9127
|
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
9133
9128
|
// Chrome 80-82 has a critical bug
|
|
9134
9129
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
9135
|
-
var CHROME_BUG = !IS_NODE$
|
|
9130
|
+
var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
9136
9131
|
|
|
9137
9132
|
// `Array.prototype.reduce` method
|
|
9138
9133
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
@@ -9143,7 +9138,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
9143
9138
|
}
|
|
9144
9139
|
});
|
|
9145
9140
|
|
|
9146
|
-
var _jsxFileName$w = "
|
|
9141
|
+
var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
|
|
9147
9142
|
|
|
9148
9143
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
9149
9144
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9192,7 +9187,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
9192
9187
|
}));
|
|
9193
9188
|
|
|
9194
9189
|
const _excluded$d = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter"];
|
|
9195
|
-
var _jsxFileName$v = "
|
|
9190
|
+
var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
|
|
9196
9191
|
const Wrapper$1 = styled('div', {
|
|
9197
9192
|
margin: 0,
|
|
9198
9193
|
flexDirection: 'column',
|
|
@@ -10038,7 +10033,7 @@ InputSelectCheck.defaultProps = {
|
|
|
10038
10033
|
labelCounter: 'Item terpilih'
|
|
10039
10034
|
};
|
|
10040
10035
|
|
|
10041
|
-
var _jsxFileName$u = "
|
|
10036
|
+
var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
|
|
10042
10037
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10043
10038
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
10044
10039
|
ref: ref,
|
|
@@ -10089,7 +10084,7 @@ InputSelectTag.defaultProps = {
|
|
|
10089
10084
|
labelCounter: 'Item terpilih'
|
|
10090
10085
|
};
|
|
10091
10086
|
|
|
10092
|
-
var _jsxFileName$t = "
|
|
10087
|
+
var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
|
|
10093
10088
|
const Wrapper = styled('div', {
|
|
10094
10089
|
margin: 0,
|
|
10095
10090
|
flexDirection: 'column',
|
|
@@ -10854,15 +10849,15 @@ var stringTrim = {
|
|
|
10854
10849
|
trim: createMethod$1(3)
|
|
10855
10850
|
};
|
|
10856
10851
|
|
|
10857
|
-
var global$
|
|
10852
|
+
var global$k = global$U;
|
|
10858
10853
|
var fails$8 = fails$t;
|
|
10859
10854
|
var uncurryThis$d = functionUncurryThis;
|
|
10860
10855
|
var toString$8 = toString$h;
|
|
10861
10856
|
var trim$1 = stringTrim.trim;
|
|
10862
10857
|
var whitespaces$2 = whitespaces$4;
|
|
10863
10858
|
|
|
10864
|
-
var $parseInt$1 = global$
|
|
10865
|
-
var Symbol$6 = global$
|
|
10859
|
+
var $parseInt$1 = global$k.parseInt;
|
|
10860
|
+
var Symbol$6 = global$k.Symbol;
|
|
10866
10861
|
var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
|
|
10867
10862
|
var hex = /^[+-]?0x/i;
|
|
10868
10863
|
var exec$4 = uncurryThis$d(hex.exec);
|
|
@@ -11081,7 +11076,7 @@ InputCounter.defaultProps = {
|
|
|
11081
11076
|
};
|
|
11082
11077
|
|
|
11083
11078
|
const _excluded$c = ["children"];
|
|
11084
|
-
var _jsxFileName$s = "
|
|
11079
|
+
var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
|
|
11085
11080
|
const {
|
|
11086
11081
|
zIndices
|
|
11087
11082
|
} = foundations;
|
|
@@ -11215,7 +11210,7 @@ Popover.propTypes = {
|
|
|
11215
11210
|
Popover.displayName = 'Popover';
|
|
11216
11211
|
|
|
11217
11212
|
const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
11218
|
-
var _jsxFileName$r = "
|
|
11213
|
+
var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
|
|
11219
11214
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
11220
11215
|
position: 'relative',
|
|
11221
11216
|
display: 'flex',
|
|
@@ -11560,7 +11555,7 @@ Slider.defaultProps = {
|
|
|
11560
11555
|
};
|
|
11561
11556
|
|
|
11562
11557
|
const _excluded$a = ["className", "children", "onClick", "type", "size"];
|
|
11563
|
-
var _jsxFileName$q = "
|
|
11558
|
+
var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
|
|
11564
11559
|
const TagWrapper = styled('div', {
|
|
11565
11560
|
boxSizing: 'border-box',
|
|
11566
11561
|
fontSize: '12px',
|
|
@@ -11726,7 +11721,7 @@ const _excluded$9 = ["children"],
|
|
|
11726
11721
|
_excluded2$1 = ["children", "activeTabs"],
|
|
11727
11722
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
11728
11723
|
_excluded4 = ["activeTabs"];
|
|
11729
|
-
var _jsxFileName$p = "
|
|
11724
|
+
var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
11730
11725
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
11731
11726
|
display: 'flex',
|
|
11732
11727
|
flexDirection: 'column',
|
|
@@ -12077,7 +12072,7 @@ Separator$2.displayName = 'Separator';
|
|
|
12077
12072
|
|
|
12078
12073
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
|
|
12079
12074
|
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12080
|
-
var _jsxFileName$o = "
|
|
12075
|
+
var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
12081
12076
|
const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
|
|
12082
12077
|
display: 'inline-flex',
|
|
12083
12078
|
borderRadius: '$md',
|
|
@@ -12305,7 +12300,7 @@ ButtonGroupItem.defaultProps = {
|
|
|
12305
12300
|
};
|
|
12306
12301
|
|
|
12307
12302
|
const _excluded$7 = ["children"];
|
|
12308
|
-
var _jsxFileName$n = "
|
|
12303
|
+
var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
|
|
12309
12304
|
const NotificationBadgeRootStyle = styled('span', {
|
|
12310
12305
|
position: 'relative',
|
|
12311
12306
|
display: 'inline-flex',
|
|
@@ -12449,7 +12444,7 @@ NotificationBadge.propTypes = {
|
|
|
12449
12444
|
};
|
|
12450
12445
|
|
|
12451
12446
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
12452
|
-
var _jsxFileName$m = "
|
|
12447
|
+
var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
|
|
12453
12448
|
const PaperComponent = styled('div', {
|
|
12454
12449
|
padding: '20px',
|
|
12455
12450
|
height: 'auto',
|
|
@@ -12660,13 +12655,14 @@ DialogClose.displayName = 'DialogClose';
|
|
|
12660
12655
|
DialogOverlay.displayName = 'DialogOverlay';
|
|
12661
12656
|
DialogPortal.displayName = 'DialogPortal';
|
|
12662
12657
|
|
|
12658
|
+
var global$j = global$U;
|
|
12663
12659
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
12664
12660
|
|
|
12665
|
-
var
|
|
12661
|
+
var TypeError$8 = global$j.TypeError;
|
|
12666
12662
|
|
|
12667
12663
|
var anInstance$3 = function (it, Prototype) {
|
|
12668
12664
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
12669
|
-
throw
|
|
12665
|
+
throw TypeError$8('Incorrect invocation');
|
|
12670
12666
|
};
|
|
12671
12667
|
|
|
12672
12668
|
var uncurryThis$c = functionUncurryThis;
|
|
@@ -12722,15 +12718,16 @@ var isConstructor$2 = !construct || fails$7(function () {
|
|
|
12722
12718
|
|| called;
|
|
12723
12719
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
12724
12720
|
|
|
12721
|
+
var global$i = global$U;
|
|
12725
12722
|
var isConstructor$1 = isConstructor$2;
|
|
12726
|
-
var tryToString$2 = tryToString$
|
|
12723
|
+
var tryToString$2 = tryToString$4;
|
|
12727
12724
|
|
|
12728
|
-
var
|
|
12725
|
+
var TypeError$7 = global$i.TypeError;
|
|
12729
12726
|
|
|
12730
12727
|
// `Assert: IsConstructor(argument) is true`
|
|
12731
12728
|
var aConstructor$1 = function (argument) {
|
|
12732
12729
|
if (isConstructor$1(argument)) return argument;
|
|
12733
|
-
throw
|
|
12730
|
+
throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
|
|
12734
12731
|
};
|
|
12735
12732
|
|
|
12736
12733
|
var anObject$8 = anObject$i;
|
|
@@ -12776,10 +12773,12 @@ var uncurryThis$a = functionUncurryThis;
|
|
|
12776
12773
|
|
|
12777
12774
|
var arraySlice$3 = uncurryThis$a([].slice);
|
|
12778
12775
|
|
|
12779
|
-
var $
|
|
12776
|
+
var global$h = global$U;
|
|
12777
|
+
|
|
12778
|
+
var TypeError$6 = global$h.TypeError;
|
|
12780
12779
|
|
|
12781
12780
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
12782
|
-
if (passed < required) throw
|
|
12781
|
+
if (passed < required) throw TypeError$6('Not enough arguments');
|
|
12783
12782
|
return passed;
|
|
12784
12783
|
};
|
|
12785
12784
|
|
|
@@ -12787,7 +12786,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
12787
12786
|
|
|
12788
12787
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
12789
12788
|
|
|
12790
|
-
var global$
|
|
12789
|
+
var global$g = global$U;
|
|
12791
12790
|
var apply$2 = functionApply;
|
|
12792
12791
|
var bind$6 = functionBindContext;
|
|
12793
12792
|
var isCallable$5 = isCallable$p;
|
|
@@ -12798,15 +12797,15 @@ var arraySlice$2 = arraySlice$3;
|
|
|
12798
12797
|
var createElement = documentCreateElement$2;
|
|
12799
12798
|
var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
12800
12799
|
var IS_IOS$1 = engineIsIos;
|
|
12801
|
-
var IS_NODE$
|
|
12800
|
+
var IS_NODE$2 = engineIsNode;
|
|
12802
12801
|
|
|
12803
|
-
var set = global$
|
|
12804
|
-
var clear = global$
|
|
12805
|
-
var process$2 = global$
|
|
12806
|
-
var Dispatch = global$
|
|
12807
|
-
var Function$1 = global$
|
|
12808
|
-
var MessageChannel = global$
|
|
12809
|
-
var String$
|
|
12802
|
+
var set = global$g.setImmediate;
|
|
12803
|
+
var clear = global$g.clearImmediate;
|
|
12804
|
+
var process$2 = global$g.process;
|
|
12805
|
+
var Dispatch = global$g.Dispatch;
|
|
12806
|
+
var Function$1 = global$g.Function;
|
|
12807
|
+
var MessageChannel = global$g.MessageChannel;
|
|
12808
|
+
var String$2 = global$g.String;
|
|
12810
12809
|
var counter = 0;
|
|
12811
12810
|
var queue$1 = {};
|
|
12812
12811
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -12814,7 +12813,7 @@ var location, defer, channel, port;
|
|
|
12814
12813
|
|
|
12815
12814
|
try {
|
|
12816
12815
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
12817
|
-
location = global$
|
|
12816
|
+
location = global$g.location;
|
|
12818
12817
|
} catch (error) { /* empty */ }
|
|
12819
12818
|
|
|
12820
12819
|
var run = function (id) {
|
|
@@ -12837,7 +12836,7 @@ var listener = function (event) {
|
|
|
12837
12836
|
|
|
12838
12837
|
var post = function (id) {
|
|
12839
12838
|
// old engines have not location.origin
|
|
12840
|
-
global$
|
|
12839
|
+
global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
|
|
12841
12840
|
};
|
|
12842
12841
|
|
|
12843
12842
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -12856,7 +12855,7 @@ if (!set || !clear) {
|
|
|
12856
12855
|
delete queue$1[id];
|
|
12857
12856
|
};
|
|
12858
12857
|
// Node.js 0.8-
|
|
12859
|
-
if (IS_NODE$
|
|
12858
|
+
if (IS_NODE$2) {
|
|
12860
12859
|
defer = function (id) {
|
|
12861
12860
|
process$2.nextTick(runner(id));
|
|
12862
12861
|
};
|
|
@@ -12875,14 +12874,14 @@ if (!set || !clear) {
|
|
|
12875
12874
|
// Browsers with postMessage, skip WebWorkers
|
|
12876
12875
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
12877
12876
|
} else if (
|
|
12878
|
-
global$
|
|
12879
|
-
isCallable$5(global$
|
|
12880
|
-
!global$
|
|
12877
|
+
global$g.addEventListener &&
|
|
12878
|
+
isCallable$5(global$g.postMessage) &&
|
|
12879
|
+
!global$g.importScripts &&
|
|
12881
12880
|
location && location.protocol !== 'file:' &&
|
|
12882
12881
|
!fails$6(post)
|
|
12883
12882
|
) {
|
|
12884
12883
|
defer = post;
|
|
12885
|
-
global$
|
|
12884
|
+
global$g.addEventListener('message', listener, false);
|
|
12886
12885
|
// IE8-
|
|
12887
12886
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
12888
12887
|
defer = function (id) {
|
|
@@ -12905,29 +12904,29 @@ var task$1 = {
|
|
|
12905
12904
|
};
|
|
12906
12905
|
|
|
12907
12906
|
var userAgent$1 = engineUserAgent;
|
|
12908
|
-
var global$
|
|
12907
|
+
var global$f = global$U;
|
|
12909
12908
|
|
|
12910
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
12909
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
|
|
12911
12910
|
|
|
12912
12911
|
var userAgent = engineUserAgent;
|
|
12913
12912
|
|
|
12914
12913
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
12915
12914
|
|
|
12916
|
-
var global$
|
|
12915
|
+
var global$e = global$U;
|
|
12917
12916
|
var bind$5 = functionBindContext;
|
|
12918
12917
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
12919
12918
|
var macrotask = task$1.set;
|
|
12920
12919
|
var IS_IOS = engineIsIos;
|
|
12921
12920
|
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
12922
12921
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
12923
|
-
var IS_NODE$
|
|
12922
|
+
var IS_NODE$1 = engineIsNode;
|
|
12924
12923
|
|
|
12925
|
-
var MutationObserver = global$
|
|
12926
|
-
var document$2 = global$
|
|
12927
|
-
var process$1 = global$
|
|
12928
|
-
var Promise$1 = global$
|
|
12924
|
+
var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
|
|
12925
|
+
var document$2 = global$e.document;
|
|
12926
|
+
var process$1 = global$e.process;
|
|
12927
|
+
var Promise$1 = global$e.Promise;
|
|
12929
12928
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
12930
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$
|
|
12929
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
|
|
12931
12930
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
12932
12931
|
|
|
12933
12932
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -12936,7 +12935,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
|
|
|
12936
12935
|
if (!queueMicrotask) {
|
|
12937
12936
|
flush = function () {
|
|
12938
12937
|
var parent, fn;
|
|
12939
|
-
if (IS_NODE$
|
|
12938
|
+
if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
|
|
12940
12939
|
while (head) {
|
|
12941
12940
|
fn = head.fn;
|
|
12942
12941
|
head = head.next;
|
|
@@ -12953,7 +12952,7 @@ if (!queueMicrotask) {
|
|
|
12953
12952
|
|
|
12954
12953
|
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
12955
12954
|
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
12956
|
-
if (!IS_IOS && !IS_NODE$
|
|
12955
|
+
if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
12957
12956
|
toggle = true;
|
|
12958
12957
|
node = document$2.createTextNode('');
|
|
12959
12958
|
new MutationObserver(flush).observe(node, { characterData: true });
|
|
@@ -12971,7 +12970,7 @@ if (!queueMicrotask) {
|
|
|
12971
12970
|
then(flush);
|
|
12972
12971
|
};
|
|
12973
12972
|
// Node.js without promises
|
|
12974
|
-
} else if (IS_NODE$
|
|
12973
|
+
} else if (IS_NODE$1) {
|
|
12975
12974
|
notify$1 = function () {
|
|
12976
12975
|
process$1.nextTick(flush);
|
|
12977
12976
|
};
|
|
@@ -12983,7 +12982,7 @@ if (!queueMicrotask) {
|
|
|
12983
12982
|
// - setTimeout
|
|
12984
12983
|
} else {
|
|
12985
12984
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
12986
|
-
macrotask = bind$5(macrotask, global$
|
|
12985
|
+
macrotask = bind$5(macrotask, global$e);
|
|
12987
12986
|
notify$1 = function () {
|
|
12988
12987
|
macrotask(flush);
|
|
12989
12988
|
};
|
|
@@ -12999,10 +12998,10 @@ var microtask$1 = queueMicrotask || function (fn) {
|
|
|
12999
12998
|
} last = task;
|
|
13000
12999
|
};
|
|
13001
13000
|
|
|
13002
|
-
var global$
|
|
13001
|
+
var global$d = global$U;
|
|
13003
13002
|
|
|
13004
13003
|
var hostReportErrors$1 = function (a, b) {
|
|
13005
|
-
var console = global$
|
|
13004
|
+
var console = global$d.console;
|
|
13006
13005
|
if (console && console.error) {
|
|
13007
13006
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
13008
13007
|
}
|
|
@@ -13040,35 +13039,25 @@ Queue$1.prototype = {
|
|
|
13040
13039
|
|
|
13041
13040
|
var queue = Queue$1;
|
|
13042
13041
|
|
|
13043
|
-
var global$
|
|
13044
|
-
|
|
13045
|
-
var promiseNativeConstructor = global$6.Promise;
|
|
13042
|
+
var global$c = global$U;
|
|
13046
13043
|
|
|
13047
|
-
|
|
13044
|
+
var promiseNativeConstructor = global$c.Promise;
|
|
13048
13045
|
|
|
13049
|
-
var
|
|
13046
|
+
var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
|
|
13050
13047
|
|
|
13051
|
-
var
|
|
13052
|
-
var IS_NODE$1 = engineIsNode;
|
|
13053
|
-
|
|
13054
|
-
var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
13055
|
-
&& typeof window == 'object'
|
|
13056
|
-
&& typeof document == 'object';
|
|
13057
|
-
|
|
13058
|
-
var global$5 = global$s;
|
|
13048
|
+
var global$b = global$U;
|
|
13059
13049
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
13060
13050
|
var isCallable$4 = isCallable$p;
|
|
13061
13051
|
var isForced = isForced_1;
|
|
13062
13052
|
var inspectSource = inspectSource$4;
|
|
13063
13053
|
var wellKnownSymbol$6 = wellKnownSymbol$l;
|
|
13064
13054
|
var IS_BROWSER = engineIsBrowser;
|
|
13065
|
-
var IS_DENO = engineIsDeno;
|
|
13066
13055
|
var V8_VERSION = engineV8Version;
|
|
13067
13056
|
|
|
13068
13057
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
13069
13058
|
var SPECIES = wellKnownSymbol$6('species');
|
|
13070
13059
|
var SUBCLASSING = false;
|
|
13071
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$
|
|
13060
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
|
|
13072
13061
|
|
|
13073
13062
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
13074
13063
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -13080,18 +13069,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
|
13080
13069
|
// We can't use @@species feature detection in V8 since it causes
|
|
13081
13070
|
// deoptimization and performance degradation
|
|
13082
13071
|
// https://github.com/zloirock/core-js/issues/679
|
|
13083
|
-
if (
|
|
13084
|
-
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13089
|
-
|
|
13090
|
-
|
|
13091
|
-
|
|
13092
|
-
|
|
13072
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
13073
|
+
// Detect correctness of subclassing with @@species support
|
|
13074
|
+
var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
|
|
13075
|
+
var FakePromise = function (exec) {
|
|
13076
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
13077
|
+
};
|
|
13078
|
+
var constructor = promise.constructor = {};
|
|
13079
|
+
constructor[SPECIES] = FakePromise;
|
|
13080
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
13081
|
+
if (!SUBCLASSING) return true;
|
|
13093
13082
|
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
13094
|
-
|
|
13083
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13095
13084
|
});
|
|
13096
13085
|
|
|
13097
13086
|
var promiseConstructorDetection = {
|
|
@@ -13123,7 +13112,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
13123
13112
|
|
|
13124
13113
|
var $$c = _export;
|
|
13125
13114
|
var IS_NODE = engineIsNode;
|
|
13126
|
-
var global$
|
|
13115
|
+
var global$a = global$U;
|
|
13127
13116
|
var call$b = functionCall;
|
|
13128
13117
|
var defineBuiltIn$4 = defineBuiltIn$b;
|
|
13129
13118
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -13153,13 +13142,13 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
13153
13142
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
13154
13143
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
13155
13144
|
var PromisePrototype = NativePromisePrototype$1;
|
|
13156
|
-
var TypeError$
|
|
13157
|
-
var document$1 = global$
|
|
13158
|
-
var process = global$
|
|
13145
|
+
var TypeError$5 = global$a.TypeError;
|
|
13146
|
+
var document$1 = global$a.document;
|
|
13147
|
+
var process = global$a.process;
|
|
13159
13148
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
13160
13149
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
13161
13150
|
|
|
13162
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
13151
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
|
|
13163
13152
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
13164
13153
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
13165
13154
|
var PENDING = 0;
|
|
@@ -13200,7 +13189,7 @@ var callReaction = function (reaction, state) {
|
|
|
13200
13189
|
}
|
|
13201
13190
|
}
|
|
13202
13191
|
if (result === reaction.promise) {
|
|
13203
|
-
reject(TypeError$
|
|
13192
|
+
reject(TypeError$5('Promise-chain cycle'));
|
|
13204
13193
|
} else if (then = isThenable(result)) {
|
|
13205
13194
|
call$b(then, result, resolve, reject);
|
|
13206
13195
|
} else resolve(result);
|
|
@@ -13232,14 +13221,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
13232
13221
|
event.promise = promise;
|
|
13233
13222
|
event.reason = reason;
|
|
13234
13223
|
event.initEvent(name, false, true);
|
|
13235
|
-
global$
|
|
13224
|
+
global$a.dispatchEvent(event);
|
|
13236
13225
|
} else event = { promise: promise, reason: reason };
|
|
13237
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
13226
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
|
|
13238
13227
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
13239
13228
|
};
|
|
13240
13229
|
|
|
13241
13230
|
var onUnhandled = function (state) {
|
|
13242
|
-
call$b(task, global$
|
|
13231
|
+
call$b(task, global$a, function () {
|
|
13243
13232
|
var promise = state.facade;
|
|
13244
13233
|
var value = state.value;
|
|
13245
13234
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -13262,7 +13251,7 @@ var isUnhandled = function (state) {
|
|
|
13262
13251
|
};
|
|
13263
13252
|
|
|
13264
13253
|
var onHandleUnhandled = function (state) {
|
|
13265
|
-
call$b(task, global$
|
|
13254
|
+
call$b(task, global$a, function () {
|
|
13266
13255
|
var promise = state.facade;
|
|
13267
13256
|
if (IS_NODE) {
|
|
13268
13257
|
process.emit('rejectionHandled', promise);
|
|
@@ -13290,7 +13279,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
13290
13279
|
state.done = true;
|
|
13291
13280
|
if (unwrap) state = unwrap;
|
|
13292
13281
|
try {
|
|
13293
|
-
if (state.facade === value) throw TypeError$
|
|
13282
|
+
if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
|
|
13294
13283
|
var then = isThenable(value);
|
|
13295
13284
|
if (then) {
|
|
13296
13285
|
microtask(function () {
|
|
@@ -13432,18 +13421,19 @@ var getIteratorMethod$4 = function (it) {
|
|
|
13432
13421
|
|| Iterators[classof$1(it)];
|
|
13433
13422
|
};
|
|
13434
13423
|
|
|
13424
|
+
var global$9 = global$U;
|
|
13435
13425
|
var call$a = functionCall;
|
|
13436
13426
|
var aCallable$2 = aCallable$9;
|
|
13437
13427
|
var anObject$7 = anObject$i;
|
|
13438
|
-
var tryToString$1 = tryToString$
|
|
13428
|
+
var tryToString$1 = tryToString$4;
|
|
13439
13429
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
13440
13430
|
|
|
13441
|
-
var
|
|
13431
|
+
var TypeError$4 = global$9.TypeError;
|
|
13442
13432
|
|
|
13443
13433
|
var getIterator$3 = function (argument, usingIterator) {
|
|
13444
13434
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
13445
13435
|
if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
|
|
13446
|
-
throw
|
|
13436
|
+
throw TypeError$4(tryToString$1(argument) + ' is not iterable');
|
|
13447
13437
|
};
|
|
13448
13438
|
|
|
13449
13439
|
var call$9 = functionCall;
|
|
@@ -13470,10 +13460,11 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
13470
13460
|
return value;
|
|
13471
13461
|
};
|
|
13472
13462
|
|
|
13463
|
+
var global$8 = global$U;
|
|
13473
13464
|
var bind$3 = functionBindContext;
|
|
13474
13465
|
var call$8 = functionCall;
|
|
13475
13466
|
var anObject$5 = anObject$i;
|
|
13476
|
-
var tryToString = tryToString$
|
|
13467
|
+
var tryToString = tryToString$4;
|
|
13477
13468
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
13478
13469
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
13479
13470
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -13481,7 +13472,7 @@ var getIterator$2 = getIterator$3;
|
|
|
13481
13472
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
13482
13473
|
var iteratorClose$1 = iteratorClose$2;
|
|
13483
13474
|
|
|
13484
|
-
var $
|
|
13475
|
+
var TypeError$3 = global$8.TypeError;
|
|
13485
13476
|
|
|
13486
13477
|
var Result = function (stopped, result) {
|
|
13487
13478
|
this.stopped = stopped;
|
|
@@ -13493,7 +13484,6 @@ var ResultPrototype = Result.prototype;
|
|
|
13493
13484
|
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
13494
13485
|
var that = options && options.that;
|
|
13495
13486
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
13496
|
-
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
13497
13487
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
13498
13488
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
13499
13489
|
var fn = bind$3(unboundFunction, that);
|
|
@@ -13511,13 +13501,11 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13511
13501
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
13512
13502
|
};
|
|
13513
13503
|
|
|
13514
|
-
if (
|
|
13515
|
-
iterator = iterable.iterator;
|
|
13516
|
-
} else if (IS_ITERATOR) {
|
|
13504
|
+
if (IS_ITERATOR) {
|
|
13517
13505
|
iterator = iterable;
|
|
13518
13506
|
} else {
|
|
13519
13507
|
iterFn = getIteratorMethod$2(iterable);
|
|
13520
|
-
if (!iterFn) throw $
|
|
13508
|
+
if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
|
|
13521
13509
|
// optimisation for array iterators
|
|
13522
13510
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
13523
13511
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -13528,7 +13516,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13528
13516
|
iterator = getIterator$2(iterable, iterFn);
|
|
13529
13517
|
}
|
|
13530
13518
|
|
|
13531
|
-
next =
|
|
13519
|
+
next = iterator.next;
|
|
13532
13520
|
while (!(step = call$8(next, iterator)).done) {
|
|
13533
13521
|
try {
|
|
13534
13522
|
result = callFn(step.value);
|
|
@@ -13955,7 +13943,7 @@ ModalDialog.defaultProps = {
|
|
|
13955
13943
|
};
|
|
13956
13944
|
|
|
13957
13945
|
const _excluded$5 = ["children"];
|
|
13958
|
-
var _jsxFileName$l = "
|
|
13946
|
+
var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
|
|
13959
13947
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
13960
13948
|
const {
|
|
13961
13949
|
sizes
|
|
@@ -15647,7 +15635,7 @@ const MobileCalendarBox = ({
|
|
|
15647
15635
|
return null;
|
|
15648
15636
|
};
|
|
15649
15637
|
|
|
15650
|
-
var _jsxFileName$k = "
|
|
15638
|
+
var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
|
|
15651
15639
|
const Input$3 = styled('input', {
|
|
15652
15640
|
display: 'none'
|
|
15653
15641
|
});
|
|
@@ -15904,33 +15892,33 @@ const NativeTimePicker = ({
|
|
|
15904
15892
|
})));
|
|
15905
15893
|
};
|
|
15906
15894
|
NativeTimePicker.propTypes = {
|
|
15907
|
-
/**
|
|
15908
|
-
Resize time picker.
|
|
15895
|
+
/**
|
|
15896
|
+
Resize time picker.
|
|
15909
15897
|
*/
|
|
15910
15898
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
15911
15899
|
|
|
15912
|
-
/**
|
|
15913
|
-
Change handler.
|
|
15900
|
+
/**
|
|
15901
|
+
Change handler.
|
|
15914
15902
|
*/
|
|
15915
15903
|
onChange: PropTypes.func,
|
|
15916
15904
|
|
|
15917
|
-
/**
|
|
15918
|
-
Time picker default value, support moment format.
|
|
15905
|
+
/**
|
|
15906
|
+
Time picker default value, support moment format.
|
|
15919
15907
|
*/
|
|
15920
15908
|
defaultValue: PropTypes.instanceOf(Date),
|
|
15921
15909
|
|
|
15922
|
-
/**
|
|
15923
|
-
Time picker value, support moment format.
|
|
15910
|
+
/**
|
|
15911
|
+
Time picker value, support moment format.
|
|
15924
15912
|
*/
|
|
15925
15913
|
value: PropTypes.instanceOf(Date),
|
|
15926
15914
|
|
|
15927
|
-
/**
|
|
15928
|
-
Specify the minimum date.
|
|
15915
|
+
/**
|
|
15916
|
+
Specify the minimum date.
|
|
15929
15917
|
*/
|
|
15930
15918
|
minDate: PropTypes.instanceOf(Date),
|
|
15931
15919
|
|
|
15932
|
-
/**
|
|
15933
|
-
Specify the maximum date.
|
|
15920
|
+
/**
|
|
15921
|
+
Specify the maximum date.
|
|
15934
15922
|
*/
|
|
15935
15923
|
maxDate: PropTypes.instanceOf(Date)
|
|
15936
15924
|
};
|
|
@@ -15975,49 +15963,49 @@ const TimePicker = ({
|
|
|
15975
15963
|
};
|
|
15976
15964
|
TimePicker.displayName = 'TimePicker';
|
|
15977
15965
|
TimePicker.propTypes = {
|
|
15978
|
-
/**
|
|
15979
|
-
Additional styles.
|
|
15966
|
+
/**
|
|
15967
|
+
Additional styles.
|
|
15980
15968
|
*/
|
|
15981
15969
|
css: PropTypes.object,
|
|
15982
15970
|
|
|
15983
|
-
/**
|
|
15984
|
-
Resize time picker.
|
|
15971
|
+
/**
|
|
15972
|
+
Resize time picker.
|
|
15985
15973
|
*/
|
|
15986
15974
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
15987
15975
|
|
|
15988
|
-
/**
|
|
15989
|
-
Change handler.
|
|
15976
|
+
/**
|
|
15977
|
+
Change handler.
|
|
15990
15978
|
*/
|
|
15991
15979
|
onChange: PropTypes.func,
|
|
15992
15980
|
|
|
15993
|
-
/**
|
|
15994
|
-
Time picker default value, support moment format.
|
|
15981
|
+
/**
|
|
15982
|
+
Time picker default value, support moment format.
|
|
15995
15983
|
*/
|
|
15996
15984
|
defaultValue: PropTypes.instanceOf(Date),
|
|
15997
15985
|
|
|
15998
|
-
/**
|
|
15999
|
-
Time picker value, support moment format.
|
|
15986
|
+
/**
|
|
15987
|
+
Time picker value, support moment format.
|
|
16000
15988
|
*/
|
|
16001
15989
|
value: PropTypes.instanceOf(Date),
|
|
16002
15990
|
|
|
16003
|
-
/**
|
|
16004
|
-
Disabled state.
|
|
15991
|
+
/**
|
|
15992
|
+
Disabled state.
|
|
16005
15993
|
*/
|
|
16006
15994
|
disabled: PropTypes.bool,
|
|
16007
15995
|
|
|
16008
|
-
/**
|
|
16009
|
-
Specify the minimum date.
|
|
15996
|
+
/**
|
|
15997
|
+
Specify the minimum date.
|
|
16010
15998
|
*/
|
|
16011
15999
|
minDate: PropTypes.instanceOf(Date),
|
|
16012
16000
|
|
|
16013
|
-
/**
|
|
16014
|
-
Specify the maximum date.
|
|
16001
|
+
/**
|
|
16002
|
+
Specify the maximum date.
|
|
16015
16003
|
*/
|
|
16016
16004
|
maxDate: PropTypes.instanceOf(Date)
|
|
16017
16005
|
};
|
|
16018
16006
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
16019
16007
|
|
|
16020
|
-
var _jsxFileName$j = "
|
|
16008
|
+
var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
|
|
16021
16009
|
|
|
16022
16010
|
const getInputPickerValue$1 = date => {
|
|
16023
16011
|
if (!date) return;
|
|
@@ -16193,63 +16181,63 @@ InputTimePicker.defaultProps = {
|
|
|
16193
16181
|
placeholder: 'Select Time'
|
|
16194
16182
|
};
|
|
16195
16183
|
InputTimePicker.propTypes = {
|
|
16196
|
-
/**
|
|
16197
|
-
Additional styles.
|
|
16184
|
+
/**
|
|
16185
|
+
Additional styles.
|
|
16198
16186
|
*/
|
|
16199
16187
|
css: PropTypes.object,
|
|
16200
16188
|
|
|
16201
|
-
/**
|
|
16202
|
-
Disabled state.
|
|
16189
|
+
/**
|
|
16190
|
+
Disabled state.
|
|
16203
16191
|
*/
|
|
16204
16192
|
disabled: PropTypes.bool,
|
|
16205
16193
|
|
|
16206
|
-
/**
|
|
16207
|
-
ReadOnly state.
|
|
16194
|
+
/**
|
|
16195
|
+
ReadOnly state.
|
|
16208
16196
|
*/
|
|
16209
16197
|
readOnly: PropTypes.bool,
|
|
16210
16198
|
|
|
16211
|
-
/**
|
|
16212
|
-
Resize time picker.
|
|
16199
|
+
/**
|
|
16200
|
+
Resize time picker.
|
|
16213
16201
|
*/
|
|
16214
16202
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16215
16203
|
|
|
16216
|
-
/**
|
|
16217
|
-
Custom placeholder input time picker.
|
|
16204
|
+
/**
|
|
16205
|
+
Custom placeholder input time picker.
|
|
16218
16206
|
*/
|
|
16219
16207
|
placeholder: PropTypes.string,
|
|
16220
16208
|
|
|
16221
|
-
/**
|
|
16222
|
-
Time picker default value, support moment format.
|
|
16209
|
+
/**
|
|
16210
|
+
Time picker default value, support moment format.
|
|
16223
16211
|
*/
|
|
16224
16212
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16225
16213
|
|
|
16226
|
-
/**
|
|
16227
|
-
Time picker value, support moment format.
|
|
16214
|
+
/**
|
|
16215
|
+
Time picker value, support moment format.
|
|
16228
16216
|
*/
|
|
16229
16217
|
value: PropTypes.instanceOf(Date),
|
|
16230
16218
|
|
|
16231
|
-
/**
|
|
16232
|
-
Change handler.
|
|
16219
|
+
/**
|
|
16220
|
+
Change handler.
|
|
16233
16221
|
*/
|
|
16234
16222
|
onChange: PropTypes.func,
|
|
16235
16223
|
|
|
16236
|
-
/**
|
|
16237
|
-
Placement popover input time picker.
|
|
16224
|
+
/**
|
|
16225
|
+
Placement popover input time picker.
|
|
16238
16226
|
*/
|
|
16239
16227
|
placement: PropTypes.string,
|
|
16240
16228
|
|
|
16241
|
-
/**
|
|
16242
|
-
Specify the minimum date.
|
|
16229
|
+
/**
|
|
16230
|
+
Specify the minimum date.
|
|
16243
16231
|
*/
|
|
16244
16232
|
minDate: PropTypes.instanceOf(Date),
|
|
16245
16233
|
|
|
16246
|
-
/**
|
|
16247
|
-
Specify the maximum date.
|
|
16234
|
+
/**
|
|
16235
|
+
Specify the maximum date.
|
|
16248
16236
|
*/
|
|
16249
16237
|
maxDate: PropTypes.instanceOf(Date),
|
|
16250
16238
|
|
|
16251
|
-
/**
|
|
16252
|
-
* Invalid state input.
|
|
16239
|
+
/**
|
|
16240
|
+
* Invalid state input.
|
|
16253
16241
|
*/
|
|
16254
16242
|
isInvalid: PropTypes.bool
|
|
16255
16243
|
};
|
|
@@ -16784,7 +16772,7 @@ const removeUndefinedFields = obj => {
|
|
|
16784
16772
|
};
|
|
16785
16773
|
|
|
16786
16774
|
const _excluded$4 = ["isActive", "onClick"];
|
|
16787
|
-
var _jsxFileName$i = "
|
|
16775
|
+
var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
|
|
16788
16776
|
const PrevNextButton = styled(Text$1, {
|
|
16789
16777
|
padding: '$spacing-01',
|
|
16790
16778
|
cursor: 'pointer',
|
|
@@ -17054,7 +17042,7 @@ const PaginationButton = ({
|
|
|
17054
17042
|
};
|
|
17055
17043
|
|
|
17056
17044
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
17057
|
-
var _jsxFileName$h = "
|
|
17045
|
+
var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
|
|
17058
17046
|
const LimitContainer = styled(Flex$1, {
|
|
17059
17047
|
cursor: 'pointer'
|
|
17060
17048
|
});
|
|
@@ -17191,7 +17179,7 @@ function PaginationInfo(_ref) {
|
|
|
17191
17179
|
}
|
|
17192
17180
|
|
|
17193
17181
|
const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
|
|
17194
|
-
var _jsxFileName$g = "
|
|
17182
|
+
var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
|
|
17195
17183
|
|
|
17196
17184
|
function Pagination(_ref) {
|
|
17197
17185
|
let {
|
|
@@ -18285,7 +18273,7 @@ const TableColumn = _a => {
|
|
|
18285
18273
|
return jsx("div", {}, void 0);
|
|
18286
18274
|
};
|
|
18287
18275
|
|
|
18288
|
-
var _jsxFileName$f = "
|
|
18276
|
+
var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
|
|
18289
18277
|
|
|
18290
18278
|
const DateColumn = ({
|
|
18291
18279
|
value,
|
|
@@ -18321,11 +18309,12 @@ var uncurryThis$9 = functionUncurryThis;
|
|
|
18321
18309
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
18322
18310
|
var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
|
|
18323
18311
|
|
|
18312
|
+
var global$7 = global$U;
|
|
18324
18313
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
18325
18314
|
var toString$7 = toString$h;
|
|
18326
18315
|
var requireObjectCoercible$3 = requireObjectCoercible$a;
|
|
18327
18316
|
|
|
18328
|
-
var
|
|
18317
|
+
var RangeError$2 = global$7.RangeError;
|
|
18329
18318
|
|
|
18330
18319
|
// `String.prototype.repeat` method implementation
|
|
18331
18320
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -18333,20 +18322,21 @@ var stringRepeat = function repeat(count) {
|
|
|
18333
18322
|
var str = toString$7(requireObjectCoercible$3(this));
|
|
18334
18323
|
var result = '';
|
|
18335
18324
|
var n = toIntegerOrInfinity$3(count);
|
|
18336
|
-
if (n < 0 || n == Infinity) throw
|
|
18325
|
+
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18337
18326
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18338
18327
|
return result;
|
|
18339
18328
|
};
|
|
18340
18329
|
|
|
18341
18330
|
var $$6 = _export;
|
|
18331
|
+
var global$6 = global$U;
|
|
18342
18332
|
var uncurryThis$8 = functionUncurryThis;
|
|
18343
18333
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
18344
18334
|
var thisNumberValue = thisNumberValue$1;
|
|
18345
18335
|
var $repeat = stringRepeat;
|
|
18346
18336
|
var fails$5 = fails$t;
|
|
18347
18337
|
|
|
18348
|
-
var
|
|
18349
|
-
var $
|
|
18338
|
+
var RangeError$1 = global$6.RangeError;
|
|
18339
|
+
var String$1 = global$6.String;
|
|
18350
18340
|
var floor$3 = Math.floor;
|
|
18351
18341
|
var repeat = uncurryThis$8($repeat);
|
|
18352
18342
|
var stringSlice$6 = uncurryThis$8(''.slice);
|
|
@@ -18394,7 +18384,7 @@ var dataToString = function (data) {
|
|
|
18394
18384
|
var s = '';
|
|
18395
18385
|
while (--index >= 0) {
|
|
18396
18386
|
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
18397
|
-
var t = $
|
|
18387
|
+
var t = String$1(data[index]);
|
|
18398
18388
|
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
18399
18389
|
}
|
|
18400
18390
|
} return s;
|
|
@@ -18422,10 +18412,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
18422
18412
|
var e, z, j, k;
|
|
18423
18413
|
|
|
18424
18414
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
18425
|
-
if (fractDigits < 0 || fractDigits > 20) throw
|
|
18415
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
|
|
18426
18416
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
18427
18417
|
if (number != number) return 'NaN';
|
|
18428
|
-
if (number <= -1e21 || number >= 1e21) return $
|
|
18418
|
+
if (number <= -1e21 || number >= 1e21) return String$1(number);
|
|
18429
18419
|
if (number < 0) {
|
|
18430
18420
|
sign = '-';
|
|
18431
18421
|
number = -number;
|
|
@@ -18469,7 +18459,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
18469
18459
|
}
|
|
18470
18460
|
});
|
|
18471
18461
|
|
|
18472
|
-
var global$
|
|
18462
|
+
var global$5 = global$U;
|
|
18473
18463
|
var fails$4 = fails$t;
|
|
18474
18464
|
var uncurryThis$7 = functionUncurryThis;
|
|
18475
18465
|
var toString$6 = toString$h;
|
|
@@ -18477,8 +18467,8 @@ var trim = stringTrim.trim;
|
|
|
18477
18467
|
var whitespaces$1 = whitespaces$4;
|
|
18478
18468
|
|
|
18479
18469
|
var charAt$6 = uncurryThis$7(''.charAt);
|
|
18480
|
-
var n$ParseFloat = global$
|
|
18481
|
-
var Symbol$5 = global$
|
|
18470
|
+
var n$ParseFloat = global$5.parseFloat;
|
|
18471
|
+
var Symbol$5 = global$5.Symbol;
|
|
18482
18472
|
var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
|
|
18483
18473
|
var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
18484
18474
|
// MS Edge 18- broken with boxed symbols
|
|
@@ -18967,7 +18957,7 @@ const PriceColumn = props => {
|
|
|
18967
18957
|
return addThousandSeparator(param);
|
|
18968
18958
|
};
|
|
18969
18959
|
|
|
18970
|
-
var _jsxFileName$e = "
|
|
18960
|
+
var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
|
|
18971
18961
|
const rowExpanderColumn = {
|
|
18972
18962
|
id: 'expander',
|
|
18973
18963
|
Header: () => null,
|
|
@@ -19009,7 +18999,7 @@ const rowExpanderColumn = {
|
|
|
19009
18999
|
unsortable: true
|
|
19010
19000
|
};
|
|
19011
19001
|
|
|
19012
|
-
var _jsxFileName$d = "
|
|
19002
|
+
var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
|
|
19013
19003
|
|
|
19014
19004
|
const rowMenuColumn = (options, icon, config) => ({
|
|
19015
19005
|
id: 'menu',
|
|
@@ -19261,7 +19251,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19261
19251
|
unsortable: true
|
|
19262
19252
|
});
|
|
19263
19253
|
|
|
19264
|
-
var _jsxFileName$c = "
|
|
19254
|
+
var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
|
|
19265
19255
|
const rowSelectionColumn = {
|
|
19266
19256
|
id: 'selection',
|
|
19267
19257
|
Header: ({
|
|
@@ -19564,7 +19554,7 @@ PageDialog.defaultProps = {
|
|
|
19564
19554
|
};
|
|
19565
19555
|
|
|
19566
19556
|
const _excluded$1 = ["children"];
|
|
19567
|
-
var _jsxFileName$b = "
|
|
19557
|
+
var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
|
|
19568
19558
|
const overlayShow = keyframes({
|
|
19569
19559
|
'0%': {
|
|
19570
19560
|
opacity: 0
|
|
@@ -20163,7 +20153,7 @@ const AlertDialogCancel = ADialog.Cancel;
|
|
|
20163
20153
|
const AlertDialogConfirm = ADialog.Action;
|
|
20164
20154
|
|
|
20165
20155
|
const _excluded = ["side", "align", "children"];
|
|
20166
|
-
var _jsxFileName$a = "
|
|
20156
|
+
var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
20167
20157
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
20168
20158
|
const slideUpAndFade = keyframes({
|
|
20169
20159
|
'0%': {
|
|
@@ -20500,6 +20490,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
20500
20490
|
}
|
|
20501
20491
|
};
|
|
20502
20492
|
|
|
20493
|
+
var global$4 = global$U;
|
|
20503
20494
|
var bind$2 = functionBindContext;
|
|
20504
20495
|
var call$2 = functionCall;
|
|
20505
20496
|
var toObject = toObject$7;
|
|
@@ -20511,7 +20502,7 @@ var createProperty = createProperty$2;
|
|
|
20511
20502
|
var getIterator$1 = getIterator$3;
|
|
20512
20503
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
20513
20504
|
|
|
20514
|
-
var $
|
|
20505
|
+
var Array$1 = global$4.Array;
|
|
20515
20506
|
|
|
20516
20507
|
// `Array.from` method implementation
|
|
20517
20508
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -20526,7 +20517,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20526
20517
|
var index = 0;
|
|
20527
20518
|
var length, result, step, iterator, next, value;
|
|
20528
20519
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
20529
|
-
if (iteratorMethod && !(this
|
|
20520
|
+
if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
|
|
20530
20521
|
iterator = getIterator$1(O, iteratorMethod);
|
|
20531
20522
|
next = iterator.next;
|
|
20532
20523
|
result = IS_CONSTRUCTOR ? new this() : [];
|
|
@@ -20536,7 +20527,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20536
20527
|
}
|
|
20537
20528
|
} else {
|
|
20538
20529
|
length = lengthOfArrayLike(O);
|
|
20539
|
-
result = IS_CONSTRUCTOR ? new this(length) : $
|
|
20530
|
+
result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
|
|
20540
20531
|
for (;length > index; index++) {
|
|
20541
20532
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
20542
20533
|
createProperty(result, index, value);
|
|
@@ -20547,6 +20538,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20547
20538
|
};
|
|
20548
20539
|
|
|
20549
20540
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
20541
|
+
var global$3 = global$U;
|
|
20550
20542
|
var uncurryThis$2 = functionUncurryThis;
|
|
20551
20543
|
|
|
20552
20544
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -20563,7 +20555,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
|
20563
20555
|
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
|
|
20564
20556
|
var baseMinusTMin = base - tMin;
|
|
20565
20557
|
|
|
20566
|
-
var
|
|
20558
|
+
var RangeError = global$3.RangeError;
|
|
20567
20559
|
var exec$1 = uncurryThis$2(regexSeparators.exec);
|
|
20568
20560
|
var floor$1 = Math.floor;
|
|
20569
20561
|
var fromCharCode = String.fromCharCode;
|
|
@@ -20678,7 +20670,7 @@ var encode = function (input) {
|
|
|
20678
20670
|
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
|
|
20679
20671
|
var handledCPCountPlusOne = handledCPCount + 1;
|
|
20680
20672
|
if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
|
|
20681
|
-
throw
|
|
20673
|
+
throw RangeError(OVERFLOW_ERROR);
|
|
20682
20674
|
}
|
|
20683
20675
|
|
|
20684
20676
|
delta += (m - n) * handledCPCountPlusOne;
|
|
@@ -20687,7 +20679,7 @@ var encode = function (input) {
|
|
|
20687
20679
|
for (i = 0; i < input.length; i++) {
|
|
20688
20680
|
currentValue = input[i];
|
|
20689
20681
|
if (currentValue < n && ++delta > maxInt) {
|
|
20690
|
-
throw
|
|
20682
|
+
throw RangeError(OVERFLOW_ERROR);
|
|
20691
20683
|
}
|
|
20692
20684
|
if (currentValue == n) {
|
|
20693
20685
|
// Represent delta as a generalized variable-length integer.
|
|
@@ -20737,7 +20729,7 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
20737
20729
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
20738
20730
|
|
|
20739
20731
|
var $$4 = _export;
|
|
20740
|
-
var global$2 = global$
|
|
20732
|
+
var global$2 = global$U;
|
|
20741
20733
|
var call$1 = functionCall;
|
|
20742
20734
|
var uncurryThis$1 = functionUncurryThis;
|
|
20743
20735
|
var DESCRIPTORS$1 = descriptors;
|
|
@@ -21099,7 +21091,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21099
21091
|
};
|
|
21100
21092
|
|
|
21101
21093
|
if (isCallable(nativeFetch)) {
|
|
21102
|
-
$$4({ global: true, enumerable: true,
|
|
21094
|
+
$$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
|
|
21103
21095
|
fetch: function fetch(input /* , init */) {
|
|
21104
21096
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
21105
21097
|
}
|
|
@@ -21115,7 +21107,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21115
21107
|
RequestPrototype.constructor = RequestConstructor;
|
|
21116
21108
|
RequestConstructor.prototype = RequestPrototype;
|
|
21117
21109
|
|
|
21118
|
-
$$4({ global: true, constructor: true,
|
|
21110
|
+
$$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
|
|
21119
21111
|
Request: RequestConstructor
|
|
21120
21112
|
});
|
|
21121
21113
|
}
|
|
@@ -21131,7 +21123,7 @@ var web_urlSearchParams_constructor = {
|
|
|
21131
21123
|
var $$3 = _export;
|
|
21132
21124
|
var DESCRIPTORS = descriptors;
|
|
21133
21125
|
var USE_NATIVE_URL = nativeUrl;
|
|
21134
|
-
var global$1 = global$
|
|
21126
|
+
var global$1 = global$U;
|
|
21135
21127
|
var bind = functionBindContext;
|
|
21136
21128
|
var uncurryThis = functionUncurryThis;
|
|
21137
21129
|
var defineBuiltIn = defineBuiltIn$b;
|
|
@@ -22275,7 +22267,7 @@ function upload({
|
|
|
22275
22267
|
return promise;
|
|
22276
22268
|
}
|
|
22277
22269
|
|
|
22278
|
-
var _jsxFileName$9 = "
|
|
22270
|
+
var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
|
|
22279
22271
|
const Input$2 = styled('input', {
|
|
22280
22272
|
display: 'none !important'
|
|
22281
22273
|
});
|
|
@@ -23464,176 +23456,176 @@ Upload.defaultProps = {
|
|
|
23464
23456
|
imageCompression: true
|
|
23465
23457
|
};
|
|
23466
23458
|
Upload.propTypes = {
|
|
23467
|
-
/**
|
|
23468
|
-
Placeholder label of upload.
|
|
23459
|
+
/**
|
|
23460
|
+
Placeholder label of upload.
|
|
23469
23461
|
*/
|
|
23470
23462
|
placeholder: PropTypes.string,
|
|
23471
23463
|
|
|
23472
|
-
/**
|
|
23473
|
-
Disabled state of upload.
|
|
23464
|
+
/**
|
|
23465
|
+
Disabled state of upload.
|
|
23474
23466
|
*/
|
|
23475
23467
|
disabled: PropTypes.bool,
|
|
23476
23468
|
|
|
23477
|
-
/**
|
|
23478
|
-
Built-in stylesheets, support for two types.
|
|
23469
|
+
/**
|
|
23470
|
+
Built-in stylesheets, support for two types.
|
|
23479
23471
|
*/
|
|
23480
23472
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
23481
23473
|
|
|
23482
|
-
/**
|
|
23483
|
-
Whether to support selected multiple file.
|
|
23474
|
+
/**
|
|
23475
|
+
Whether to support selected multiple file.
|
|
23484
23476
|
*/
|
|
23485
23477
|
multiple: PropTypes.bool,
|
|
23486
23478
|
|
|
23487
|
-
/**
|
|
23488
|
-
List of files to be uploaded.
|
|
23479
|
+
/**
|
|
23480
|
+
List of files to be uploaded.
|
|
23489
23481
|
*/
|
|
23490
23482
|
fileList: PropTypes.array,
|
|
23491
23483
|
|
|
23492
|
-
/**
|
|
23493
|
-
A callback function, can be executed when uploading state is changing.
|
|
23484
|
+
/**
|
|
23485
|
+
A callback function, can be executed when uploading state is changing.
|
|
23494
23486
|
*/
|
|
23495
23487
|
onChange: PropTypes.func,
|
|
23496
23488
|
|
|
23497
|
-
/**
|
|
23498
|
-
A callback function, can be executed when uploading in progress.
|
|
23499
|
-
`(progress) => void`
|
|
23489
|
+
/**
|
|
23490
|
+
A callback function, can be executed when uploading in progress.
|
|
23491
|
+
`(progress) => void`
|
|
23500
23492
|
*/
|
|
23501
23493
|
onProgress: PropTypes.func,
|
|
23502
23494
|
|
|
23503
|
-
/**
|
|
23504
|
-
A callback function, can be executed when uploading is success.
|
|
23505
|
-
`(response) => void`
|
|
23495
|
+
/**
|
|
23496
|
+
A callback function, can be executed when uploading is success.
|
|
23497
|
+
`(response) => void`
|
|
23506
23498
|
*/
|
|
23507
23499
|
onSuccess: PropTypes.func,
|
|
23508
23500
|
|
|
23509
|
-
/**
|
|
23510
|
-
A callback function, can be executed when uploading is error.
|
|
23511
|
-
`(error, response) => void`
|
|
23501
|
+
/**
|
|
23502
|
+
A callback function, can be executed when uploading is error.
|
|
23503
|
+
`(error, response) => void`
|
|
23512
23504
|
*/
|
|
23513
23505
|
onError: PropTypes.func,
|
|
23514
23506
|
|
|
23515
|
-
/**
|
|
23516
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
23507
|
+
/**
|
|
23508
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
23517
23509
|
*/
|
|
23518
23510
|
onPreview: PropTypes.func,
|
|
23519
23511
|
|
|
23520
|
-
/**
|
|
23521
|
-
A callback function, can be executed when remove icon is clicked.
|
|
23512
|
+
/**
|
|
23513
|
+
A callback function, can be executed when remove icon is clicked.
|
|
23522
23514
|
*/
|
|
23523
23515
|
onRemove: PropTypes.func,
|
|
23524
23516
|
|
|
23525
|
-
/**
|
|
23526
|
-
A custom element inside upload container.
|
|
23517
|
+
/**
|
|
23518
|
+
A custom element inside upload container.
|
|
23527
23519
|
*/
|
|
23528
23520
|
children: PropTypes.element,
|
|
23529
23521
|
|
|
23530
|
-
/**
|
|
23531
|
-
Limit the number of uploaded files.
|
|
23522
|
+
/**
|
|
23523
|
+
Limit the number of uploaded files.
|
|
23532
23524
|
*/
|
|
23533
23525
|
max: PropTypes.number,
|
|
23534
23526
|
|
|
23535
|
-
/**
|
|
23536
|
-
Limit the maximum image size in MB.
|
|
23527
|
+
/**
|
|
23528
|
+
Limit the maximum image size in MB.
|
|
23537
23529
|
*/
|
|
23538
23530
|
maxSizeMB: PropTypes.number,
|
|
23539
23531
|
|
|
23540
|
-
/**
|
|
23541
|
-
Limit file type of upload.
|
|
23532
|
+
/**
|
|
23533
|
+
Limit file type of upload.
|
|
23542
23534
|
*/
|
|
23543
23535
|
accept: PropTypes.string,
|
|
23544
23536
|
|
|
23545
|
-
/**
|
|
23546
|
-
Custom label for replace button.
|
|
23537
|
+
/**
|
|
23538
|
+
Custom label for replace button.
|
|
23547
23539
|
*/
|
|
23548
23540
|
replaceLabel: PropTypes.string,
|
|
23549
23541
|
|
|
23550
|
-
/**
|
|
23551
|
-
Custom width of upload container.
|
|
23542
|
+
/**
|
|
23543
|
+
Custom width of upload container.
|
|
23552
23544
|
*/
|
|
23553
23545
|
width: PropTypes.number,
|
|
23554
23546
|
|
|
23555
|
-
/**
|
|
23556
|
-
Custom height of upload container.
|
|
23547
|
+
/**
|
|
23548
|
+
Custom height of upload container.
|
|
23557
23549
|
*/
|
|
23558
23550
|
height: PropTypes.number,
|
|
23559
23551
|
|
|
23560
|
-
/**
|
|
23561
|
-
Additional css.
|
|
23552
|
+
/**
|
|
23553
|
+
Additional css.
|
|
23562
23554
|
*/
|
|
23563
23555
|
css: PropTypes.object,
|
|
23564
23556
|
|
|
23565
|
-
/**
|
|
23566
|
-
Custom title header of cropper modal.
|
|
23557
|
+
/**
|
|
23558
|
+
Custom title header of cropper modal.
|
|
23567
23559
|
*/
|
|
23568
23560
|
cropperTitle: PropTypes.string,
|
|
23569
23561
|
|
|
23570
|
-
/**
|
|
23571
|
-
Add image cropper on upload.
|
|
23562
|
+
/**
|
|
23563
|
+
Add image cropper on upload.
|
|
23572
23564
|
*/
|
|
23573
23565
|
showCropper: PropTypes.bool,
|
|
23574
23566
|
|
|
23575
|
-
/**
|
|
23576
|
-
Hidden toggle aspect ratio image cropper.
|
|
23567
|
+
/**
|
|
23568
|
+
Hidden toggle aspect ratio image cropper.
|
|
23577
23569
|
*/
|
|
23578
23570
|
hiddenToggleAspect: PropTypes.bool,
|
|
23579
23571
|
|
|
23580
|
-
/**
|
|
23581
|
-
The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
|
|
23572
|
+
/**
|
|
23573
|
+
The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
|
|
23582
23574
|
*/
|
|
23583
23575
|
ratio: PropTypes.number,
|
|
23584
23576
|
|
|
23585
|
-
/**
|
|
23586
|
-
Can set error message to the upload.
|
|
23577
|
+
/**
|
|
23578
|
+
Can set error message to the upload.
|
|
23587
23579
|
*/
|
|
23588
23580
|
errorMessage: PropTypes.string,
|
|
23589
23581
|
|
|
23590
|
-
/**
|
|
23591
|
-
Progress of upload process.
|
|
23582
|
+
/**
|
|
23583
|
+
Progress of upload process.
|
|
23592
23584
|
*/
|
|
23593
23585
|
progress: PropTypes.number,
|
|
23594
23586
|
|
|
23595
|
-
/**
|
|
23596
|
-
Auto increment progress of upload process.
|
|
23587
|
+
/**
|
|
23588
|
+
Auto increment progress of upload process.
|
|
23597
23589
|
*/
|
|
23598
23590
|
loading: PropTypes.bool,
|
|
23599
23591
|
|
|
23600
|
-
/**
|
|
23601
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
23592
|
+
/**
|
|
23593
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
23602
23594
|
*/
|
|
23603
23595
|
action: PropTypes.string,
|
|
23604
23596
|
|
|
23605
|
-
/**
|
|
23606
|
-
Custom body request to upload action.
|
|
23597
|
+
/**
|
|
23598
|
+
Custom body request to upload action.
|
|
23607
23599
|
*/
|
|
23608
23600
|
customBodyRequest: PropTypes.func,
|
|
23609
23601
|
|
|
23610
|
-
/**
|
|
23611
|
-
Contains an authentication token for upload API.
|
|
23602
|
+
/**
|
|
23603
|
+
Contains an authentication token for upload API.
|
|
23612
23604
|
*/
|
|
23613
23605
|
token: PropTypes.string,
|
|
23614
23606
|
|
|
23615
|
-
/**
|
|
23616
|
-
Referencing the headers key to attach the token.
|
|
23607
|
+
/**
|
|
23608
|
+
Referencing the headers key to attach the token.
|
|
23617
23609
|
*/
|
|
23618
23610
|
tokenKey: PropTypes.string,
|
|
23619
23611
|
|
|
23620
|
-
/**
|
|
23621
|
-
Referencing the key to attach the file to be sent.
|
|
23612
|
+
/**
|
|
23613
|
+
Referencing the key to attach the file to be sent.
|
|
23622
23614
|
*/
|
|
23623
23615
|
reqKey: PropTypes.string,
|
|
23624
23616
|
|
|
23625
|
-
/**
|
|
23626
|
-
Referencing the key to get the file from the API response.
|
|
23617
|
+
/**
|
|
23618
|
+
Referencing the key to get the file from the API response.
|
|
23627
23619
|
*/
|
|
23628
23620
|
resKey: PropTypes.string,
|
|
23629
23621
|
|
|
23630
|
-
/**
|
|
23631
|
-
To compression image if file size > 1MB.
|
|
23622
|
+
/**
|
|
23623
|
+
To compression image if file size > 1MB.
|
|
23632
23624
|
*/
|
|
23633
23625
|
imageCompression: PropTypes.bool,
|
|
23634
23626
|
|
|
23635
|
-
/**
|
|
23636
|
-
Callback to handle before crop image.
|
|
23627
|
+
/**
|
|
23628
|
+
Callback to handle before crop image.
|
|
23637
23629
|
*/
|
|
23638
23630
|
onBeforeCrop: PropTypes.func
|
|
23639
23631
|
};
|
|
@@ -24239,7 +24231,7 @@ const Device = props => {
|
|
|
24239
24231
|
|
|
24240
24232
|
Device.displayName = 'DevicePreview';
|
|
24241
24233
|
|
|
24242
|
-
var _jsxFileName$8 = "
|
|
24234
|
+
var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
|
|
24243
24235
|
const Separator$1 = styled('div', {
|
|
24244
24236
|
height: 20,
|
|
24245
24237
|
width: 1,
|
|
@@ -24351,28 +24343,28 @@ function InputColorPicker(props) {
|
|
|
24351
24343
|
|
|
24352
24344
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
24353
24345
|
InputColorPicker.propTypes = {
|
|
24354
|
-
/**
|
|
24355
|
-
Color code to be displayed.
|
|
24346
|
+
/**
|
|
24347
|
+
Color code to be displayed.
|
|
24356
24348
|
*/
|
|
24357
24349
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
24358
24350
|
|
|
24359
|
-
/**
|
|
24360
|
-
Additional color list.
|
|
24351
|
+
/**
|
|
24352
|
+
Additional color list.
|
|
24361
24353
|
*/
|
|
24362
24354
|
presetColors: PropTypes.array,
|
|
24363
24355
|
|
|
24364
|
-
/**
|
|
24365
|
-
Change event handler.
|
|
24356
|
+
/**
|
|
24357
|
+
Change event handler.
|
|
24366
24358
|
*/
|
|
24367
24359
|
onChange: PropTypes.func,
|
|
24368
24360
|
|
|
24369
|
-
/**
|
|
24370
|
-
Add preset color event handler.
|
|
24361
|
+
/**
|
|
24362
|
+
Add preset color event handler.
|
|
24371
24363
|
*/
|
|
24372
24364
|
onAddColor: PropTypes.func,
|
|
24373
24365
|
|
|
24374
|
-
/**
|
|
24375
|
-
Disable opacity selector.
|
|
24366
|
+
/**
|
|
24367
|
+
Disable opacity selector.
|
|
24376
24368
|
*/
|
|
24377
24369
|
disableAlpha: PropTypes.bool
|
|
24378
24370
|
};
|
|
@@ -24382,7 +24374,7 @@ InputColorPicker.defaultProps = {
|
|
|
24382
24374
|
|
|
24383
24375
|
var img$d = "data:image/gif;base64,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";
|
|
24384
24376
|
|
|
24385
|
-
var _jsxFileName$7 = "
|
|
24377
|
+
var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
|
|
24386
24378
|
const Container$6 = styled('div', {
|
|
24387
24379
|
userSelect: 'none',
|
|
24388
24380
|
margin: 'auto',
|
|
@@ -26346,7 +26338,7 @@ function ColorMap({
|
|
|
26346
26338
|
})));
|
|
26347
26339
|
}
|
|
26348
26340
|
|
|
26349
|
-
var _jsxFileName$6 = "
|
|
26341
|
+
var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
|
|
26350
26342
|
const CheckBoard = styled(Flex$1, {
|
|
26351
26343
|
background: '$bgwhite',
|
|
26352
26344
|
border: '1px solid #E5E7EB',
|
|
@@ -26547,7 +26539,7 @@ function ColorFields({
|
|
|
26547
26539
|
}, "%")));
|
|
26548
26540
|
}
|
|
26549
26541
|
|
|
26550
|
-
var _jsxFileName$5 = "
|
|
26542
|
+
var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
|
|
26551
26543
|
const Container$5 = styled(Flex$1, {
|
|
26552
26544
|
background: '$white',
|
|
26553
26545
|
padding: 16,
|
|
@@ -27050,28 +27042,28 @@ function ColorPicker({
|
|
|
27050
27042
|
}
|
|
27051
27043
|
|
|
27052
27044
|
ColorPicker.propTypes = {
|
|
27053
|
-
/**
|
|
27054
|
-
Color code to be displayed.
|
|
27045
|
+
/**
|
|
27046
|
+
Color code to be displayed.
|
|
27055
27047
|
*/
|
|
27056
27048
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
27057
27049
|
|
|
27058
|
-
/**
|
|
27059
|
-
Additional color list
|
|
27050
|
+
/**
|
|
27051
|
+
Additional color list
|
|
27060
27052
|
*/
|
|
27061
27053
|
presetColors: PropTypes.array,
|
|
27062
27054
|
|
|
27063
|
-
/**
|
|
27064
|
-
Change event handler
|
|
27055
|
+
/**
|
|
27056
|
+
Change event handler
|
|
27065
27057
|
*/
|
|
27066
27058
|
onChange: PropTypes.func,
|
|
27067
27059
|
|
|
27068
|
-
/**
|
|
27069
|
-
Add preset color event handler
|
|
27060
|
+
/**
|
|
27061
|
+
Add preset color event handler
|
|
27070
27062
|
*/
|
|
27071
27063
|
onAddColor: PropTypes.func,
|
|
27072
27064
|
|
|
27073
|
-
/**
|
|
27074
|
-
Disable opacity selector
|
|
27065
|
+
/**
|
|
27066
|
+
Disable opacity selector
|
|
27075
27067
|
*/
|
|
27076
27068
|
disableAlpha: PropTypes.bool
|
|
27077
27069
|
};
|
|
@@ -27080,7 +27072,7 @@ ColorPicker.defaultProps = {
|
|
|
27080
27072
|
};
|
|
27081
27073
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
27082
27074
|
|
|
27083
|
-
var _jsxFileName$4 = "
|
|
27075
|
+
var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
|
|
27084
27076
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
27085
27077
|
const Stepper = StepWizard$1;
|
|
27086
27078
|
Stepper.displayName = 'Stepper';
|
|
@@ -27559,7 +27551,7 @@ const StepWizard = props => {
|
|
|
27559
27551
|
}), void 0);
|
|
27560
27552
|
};
|
|
27561
27553
|
|
|
27562
|
-
var _jsxFileName$3 = "
|
|
27554
|
+
var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
27563
27555
|
|
|
27564
27556
|
function Collapse({
|
|
27565
27557
|
children,
|
|
@@ -27604,7 +27596,7 @@ Collapse.defaultProps = {
|
|
|
27604
27596
|
isOpen: false
|
|
27605
27597
|
};
|
|
27606
27598
|
|
|
27607
|
-
var _jsxFileName$2 = "
|
|
27599
|
+
var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
|
|
27608
27600
|
const DesktopContainer = styled(Flex$1, {
|
|
27609
27601
|
display: 'none',
|
|
27610
27602
|
'& .active-scroll-spy': {
|
|
@@ -27890,23 +27882,23 @@ TableOfContent.defaultProps = {
|
|
|
27890
27882
|
isDialog: false
|
|
27891
27883
|
};
|
|
27892
27884
|
TableOfContent.propTypes = {
|
|
27893
|
-
/**
|
|
27894
|
-
List of contents containing the title and id of a content.
|
|
27885
|
+
/**
|
|
27886
|
+
List of contents containing the title and id of a content.
|
|
27895
27887
|
*/
|
|
27896
27888
|
content: PropTypes.array,
|
|
27897
27889
|
|
|
27898
|
-
/**
|
|
27899
|
-
Components devoted to mobile viewing only.
|
|
27890
|
+
/**
|
|
27891
|
+
Components devoted to mobile viewing only.
|
|
27900
27892
|
*/
|
|
27901
27893
|
isMobile: PropTypes.bool,
|
|
27902
27894
|
|
|
27903
|
-
/**
|
|
27904
|
-
Condition when table of content is inside a component dialog.
|
|
27895
|
+
/**
|
|
27896
|
+
Condition when table of content is inside a component dialog.
|
|
27905
27897
|
*/
|
|
27906
27898
|
isDialog: PropTypes.bool,
|
|
27907
27899
|
|
|
27908
|
-
/**
|
|
27909
|
-
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
27900
|
+
/**
|
|
27901
|
+
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
27910
27902
|
*/
|
|
27911
27903
|
activeId: PropTypes.string
|
|
27912
27904
|
};
|
|
@@ -27926,7 +27918,7 @@ TableOfContentPage.defaultProps = {
|
|
|
27926
27918
|
useBoxMethod: true
|
|
27927
27919
|
};
|
|
27928
27920
|
|
|
27929
|
-
var _jsxFileName$1 = "
|
|
27921
|
+
var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
|
|
27930
27922
|
|
|
27931
27923
|
function Collapalse({
|
|
27932
27924
|
children,
|
|
@@ -31182,6 +31174,18 @@ function ContentEditor(props) {
|
|
|
31182
31174
|
}), void 0);
|
|
31183
31175
|
}
|
|
31184
31176
|
|
|
31177
|
+
const transform = keyframes({
|
|
31178
|
+
'100%': {
|
|
31179
|
+
transform: 'translateX(100%)'
|
|
31180
|
+
}
|
|
31181
|
+
});
|
|
31182
|
+
const SkeletonContainer = styled(Box, {
|
|
31183
|
+
'& .react-loading-skeleton::after': {
|
|
31184
|
+
animation: `1.5s infinite normal ${transform} !important`,
|
|
31185
|
+
animationTimingFunction: 'ease-in-out !important'
|
|
31186
|
+
}
|
|
31187
|
+
});
|
|
31188
|
+
|
|
31185
31189
|
const StyledSkeleton = props => {
|
|
31186
31190
|
const {
|
|
31187
31191
|
color,
|
|
@@ -31220,10 +31224,12 @@ const StyledSkeleton = props => {
|
|
|
31220
31224
|
baseColor: getBaseColor(color),
|
|
31221
31225
|
highlightColor: "#FAFAFA"
|
|
31222
31226
|
}, {
|
|
31223
|
-
children: jsx(
|
|
31224
|
-
|
|
31225
|
-
|
|
31226
|
-
|
|
31227
|
+
children: jsx(SkeletonContainer, {
|
|
31228
|
+
children: jsx(ReactSkeleton, {
|
|
31229
|
+
height: getSize(size),
|
|
31230
|
+
count: count,
|
|
31231
|
+
circle: circle
|
|
31232
|
+
}, void 0)
|
|
31227
31233
|
}, void 0)
|
|
31228
31234
|
}), void 0);
|
|
31229
31235
|
};
|
|
@@ -31585,7 +31591,7 @@ function Skeleton() {
|
|
|
31585
31591
|
}
|
|
31586
31592
|
}
|
|
31587
31593
|
|
|
31588
|
-
var _jsxFileName = "
|
|
31594
|
+
var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
|
|
31589
31595
|
const StyledPaper = styled(Paper, {
|
|
31590
31596
|
borderRadius: '10px 10px 0 0',
|
|
31591
31597
|
padding: 15,
|