@majoo-ui/react 1.54.2 → 1.54.3
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 +577 -576
- package/index.umd.css +1307 -1294
- package/index.umd.js +577 -576
- 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$11 = "
|
|
52
|
+
var _jsxFileName$11 = "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 (
|
|
803
|
+
if (O === global$B) {
|
|
792
804
|
if (simple) O[key] = value;
|
|
793
|
-
else
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
configurable: !options.nonConfigurable,
|
|
804
|
-
writable: !options.nonWritable
|
|
805
|
-
});
|
|
806
|
-
} return O;
|
|
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$B = ["children"],
|
|
2241
2243
|
_excluded2$2 = ["children"];
|
|
2242
|
-
var _jsxFileName$10 = "
|
|
2244
|
+
var _jsxFileName$10 = "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$A = ["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$z = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
2857
|
-
var _jsxFileName$_ = "
|
|
2859
|
+
var _jsxFileName$_ = "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$Z = "
|
|
3213
|
+
var _jsxFileName$Z = "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$y = ["id"];
|
|
3287
|
-
var _jsxFileName$Y = "
|
|
3289
|
+
var _jsxFileName$Y = "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$X = "
|
|
3374
|
+
var _jsxFileName$X = "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$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
|
|
3407
|
-
var _jsxFileName$W = "
|
|
3409
|
+
var _jsxFileName$W = "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$w = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon", "showBottomLine"];
|
|
4091
|
-
var _jsxFileName$V = "
|
|
4093
|
+
var _jsxFileName$V = "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',
|
|
@@ -4299,7 +4301,7 @@ Card.defaultProps = {
|
|
|
4299
4301
|
};
|
|
4300
4302
|
|
|
4301
4303
|
const _excluded$v = ["children"];
|
|
4302
|
-
var _jsxFileName$U = "
|
|
4304
|
+
var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
|
|
4303
4305
|
const BreadcrumbStyle = styled('nav', {
|
|
4304
4306
|
wordWrap: 'break-word',
|
|
4305
4307
|
'& li+li:before': {
|
|
@@ -4575,7 +4577,7 @@ Badge.defaultProps = {
|
|
|
4575
4577
|
Badge.displayName = 'Badge';
|
|
4576
4578
|
|
|
4577
4579
|
const _excluded$u = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
4578
|
-
var _jsxFileName$T = "
|
|
4580
|
+
var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
|
|
4579
4581
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
4580
4582
|
width: '32px',
|
|
4581
4583
|
height: '32px',
|
|
@@ -4678,7 +4680,7 @@ Avatar.defaultProps = {
|
|
|
4678
4680
|
};
|
|
4679
4681
|
|
|
4680
4682
|
const _excluded$t = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
4681
|
-
var _jsxFileName$S = "
|
|
4683
|
+
var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
|
|
4682
4684
|
const ContainerFallback = styled(Flex$1, {
|
|
4683
4685
|
boxSizing: 'border-box',
|
|
4684
4686
|
border: '2px dashed #C0C4C4',
|
|
@@ -4775,58 +4777,58 @@ function Image(_ref) {
|
|
|
4775
4777
|
}
|
|
4776
4778
|
}
|
|
4777
4779
|
Image.propTypes = {
|
|
4778
|
-
/**
|
|
4779
|
-
Additional className for img element.
|
|
4780
|
+
/**
|
|
4781
|
+
Additional className for img element.
|
|
4780
4782
|
*/
|
|
4781
4783
|
className: PropTypes.string,
|
|
4782
4784
|
|
|
4783
|
-
/**
|
|
4784
|
-
Which is used to specify the source of an image.
|
|
4785
|
+
/**
|
|
4786
|
+
Which is used to specify the source of an image.
|
|
4785
4787
|
*/
|
|
4786
4788
|
src: PropTypes.string,
|
|
4787
4789
|
|
|
4788
|
-
/**
|
|
4789
|
-
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4790
|
+
/**
|
|
4791
|
+
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4790
4792
|
*/
|
|
4791
4793
|
alt: PropTypes.string,
|
|
4792
4794
|
|
|
4793
|
-
/**
|
|
4794
|
-
Additional css for img element.
|
|
4795
|
+
/**
|
|
4796
|
+
Additional css for img element.
|
|
4795
4797
|
*/
|
|
4796
4798
|
css: PropTypes.object,
|
|
4797
4799
|
|
|
4798
|
-
/**
|
|
4799
|
-
Additional css for default fallback element.
|
|
4800
|
+
/**
|
|
4801
|
+
Additional css for default fallback element.
|
|
4800
4802
|
*/
|
|
4801
4803
|
cssFallback: PropTypes.object,
|
|
4802
4804
|
|
|
4803
|
-
/**
|
|
4804
|
-
Custom width of img element.
|
|
4805
|
+
/**
|
|
4806
|
+
Custom width of img element.
|
|
4805
4807
|
*/
|
|
4806
4808
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4807
4809
|
|
|
4808
|
-
/**
|
|
4809
|
-
Custom height of img element.
|
|
4810
|
+
/**
|
|
4811
|
+
Custom height of img element.
|
|
4810
4812
|
*/
|
|
4811
4813
|
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4812
4814
|
|
|
4813
|
-
/**
|
|
4814
|
-
Set image to circle.
|
|
4815
|
+
/**
|
|
4816
|
+
Set image to circle.
|
|
4815
4817
|
*/
|
|
4816
4818
|
rounded: PropTypes.bool,
|
|
4817
4819
|
|
|
4818
|
-
/**
|
|
4819
|
-
Used to specify how an <img> should be resized to fit its container.
|
|
4820
|
+
/**
|
|
4821
|
+
Used to specify how an <img> should be resized to fit its container.
|
|
4820
4822
|
*/
|
|
4821
4823
|
objectFit: PropTypes.string,
|
|
4822
4824
|
|
|
4823
|
-
/**
|
|
4824
|
-
Custom fallback if image url doesn't exist.
|
|
4825
|
+
/**
|
|
4826
|
+
Custom fallback if image url doesn't exist.
|
|
4825
4827
|
*/
|
|
4826
4828
|
fallback: PropTypes.string,
|
|
4827
4829
|
|
|
4828
|
-
/**
|
|
4829
|
-
Custom fallback title for default fallback.
|
|
4830
|
+
/**
|
|
4831
|
+
Custom fallback title for default fallback.
|
|
4830
4832
|
*/
|
|
4831
4833
|
fallbackTitle: PropTypes.string
|
|
4832
4834
|
};
|
|
@@ -4836,7 +4838,7 @@ Image.defaultProps = {
|
|
|
4836
4838
|
};
|
|
4837
4839
|
|
|
4838
4840
|
const _excluded$s = ["children", "label", "color", "css", "withClick", "side", "align"];
|
|
4839
|
-
var _jsxFileName$R = "
|
|
4841
|
+
var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
|
|
4840
4842
|
const {
|
|
4841
4843
|
zIndices: zIndices$1
|
|
4842
4844
|
} = foundations;
|
|
@@ -5037,7 +5039,7 @@ Tooltip$1.defaultProps = {
|
|
|
5037
5039
|
};
|
|
5038
5040
|
|
|
5039
5041
|
const _excluded$r = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
5040
|
-
var _jsxFileName$Q = "
|
|
5042
|
+
var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
|
|
5041
5043
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
5042
5044
|
position: 'relative',
|
|
5043
5045
|
overflow: 'hidden',
|
|
@@ -5214,7 +5216,7 @@ const ConditionalWrapper = ({
|
|
|
5214
5216
|
}) => condition ? wrapper(children) : children;
|
|
5215
5217
|
|
|
5216
5218
|
const _excluded$q = ["count", "maxCount", "css"];
|
|
5217
|
-
var _jsxFileName$P = "
|
|
5219
|
+
var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
|
|
5218
5220
|
const formLabelClassStyle = {
|
|
5219
5221
|
alignItems: 'start !important',
|
|
5220
5222
|
'& > div': {
|
|
@@ -5368,7 +5370,7 @@ const FormGroup = _ref => {
|
|
|
5368
5370
|
FormGroup.displayName = 'FormGroup';
|
|
5369
5371
|
|
|
5370
5372
|
const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
5371
|
-
var _jsxFileName$O = "
|
|
5373
|
+
var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
|
|
5372
5374
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
5373
5375
|
display: 'inline-block',
|
|
5374
5376
|
fontSize: '$label',
|
|
@@ -5488,7 +5490,7 @@ FormLabel.defaultProps = {
|
|
|
5488
5490
|
FormLabel.displayName = 'FormLabel';
|
|
5489
5491
|
|
|
5490
5492
|
const _excluded$o = ["children", "error", "errorMessage"];
|
|
5491
|
-
var _jsxFileName$N = "
|
|
5493
|
+
var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
|
|
5492
5494
|
const StyledHelper = styled(Text$1, {
|
|
5493
5495
|
display: 'inline-block',
|
|
5494
5496
|
color: '$textSecondary',
|
|
@@ -5549,7 +5551,7 @@ FormHelper.propTypes = {
|
|
|
5549
5551
|
};
|
|
5550
5552
|
FormHelper.displayName = 'FormHelper';
|
|
5551
5553
|
|
|
5552
|
-
var _jsxFileName$M = "
|
|
5554
|
+
var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
|
|
5553
5555
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
5554
5556
|
|
|
5555
5557
|
const CheckboxGroup = ({
|
|
@@ -5612,7 +5614,7 @@ CheckboxGroup.defaultProps = {
|
|
|
5612
5614
|
};
|
|
5613
5615
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
5614
5616
|
|
|
5615
|
-
var _jsxFileName$L = "
|
|
5617
|
+
var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
|
|
5616
5618
|
|
|
5617
5619
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5618
5620
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5660,7 +5662,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
5660
5662
|
}
|
|
5661
5663
|
}));
|
|
5662
5664
|
|
|
5663
|
-
var _jsxFileName$K = "
|
|
5665
|
+
var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
|
|
5664
5666
|
|
|
5665
5667
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5666
5668
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5709,7 +5711,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
5709
5711
|
}));
|
|
5710
5712
|
|
|
5711
5713
|
const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
5712
|
-
var _jsxFileName$J = "
|
|
5714
|
+
var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
|
|
5713
5715
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
5714
5716
|
alignItems: 'center',
|
|
5715
5717
|
display: 'flex',
|
|
@@ -5875,7 +5877,7 @@ InputCheckbox.propTypes = {
|
|
|
5875
5877
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
5876
5878
|
|
|
5877
5879
|
const _excluded$m = ["children", "size"];
|
|
5878
|
-
var _jsxFileName$I = "
|
|
5880
|
+
var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
|
|
5879
5881
|
const InputGroupStyle = styled('div', {
|
|
5880
5882
|
display: 'flex',
|
|
5881
5883
|
width: '100%',
|
|
@@ -6022,13 +6024,13 @@ const InputGroup = _ref => {
|
|
|
6022
6024
|
}));
|
|
6023
6025
|
};
|
|
6024
6026
|
InputGroup.propTypes = {
|
|
6025
|
-
/**
|
|
6026
|
-
Adjust Input Text Size
|
|
6027
|
+
/**
|
|
6028
|
+
Adjust Input Text Size
|
|
6027
6029
|
*/
|
|
6028
6030
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6029
6031
|
|
|
6030
|
-
/**
|
|
6031
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
6032
|
+
/**
|
|
6033
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
6032
6034
|
*/
|
|
6033
6035
|
children: PropTypes.node.isRequired,
|
|
6034
6036
|
|
|
@@ -6194,7 +6196,7 @@ InputSuffix.propTypes = {
|
|
|
6194
6196
|
};
|
|
6195
6197
|
|
|
6196
6198
|
const _excluded$l = ["disabled", "readOnly"];
|
|
6197
|
-
var _jsxFileName$H = "
|
|
6199
|
+
var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
|
|
6198
6200
|
const disabledStyle = {
|
|
6199
6201
|
backgroundColor: '$formDisable',
|
|
6200
6202
|
color: '$textDisable',
|
|
@@ -6384,7 +6386,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6384
6386
|
InputText.displayName = 'InputText';
|
|
6385
6387
|
|
|
6386
6388
|
const _excluded$k = ["disabled", "readOnly"];
|
|
6387
|
-
var _jsxFileName$G = "
|
|
6389
|
+
var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
|
|
6388
6390
|
const StyledTextArea = styled(StyledInput$1, {
|
|
6389
6391
|
variants: {
|
|
6390
6392
|
size: {
|
|
@@ -6421,14 +6423,20 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6421
6423
|
e.target.style.height = `${e.target.scrollHeight + 5}px`;
|
|
6422
6424
|
}
|
|
6423
6425
|
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6426
|
+
function mergeRefs(refs) {
|
|
6427
|
+
return value => {
|
|
6428
|
+
refs.forEach(ref => {
|
|
6429
|
+
if (typeof ref === 'function') {
|
|
6430
|
+
ref(value);
|
|
6431
|
+
} else if (ref != null) {
|
|
6432
|
+
ref.current = value;
|
|
6433
|
+
}
|
|
6434
|
+
});
|
|
6435
|
+
};
|
|
6436
|
+
}
|
|
6427
6437
|
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
}
|
|
6431
|
-
},
|
|
6438
|
+
return /*#__PURE__*/React__default.createElement(StyledTextArea, _extends({
|
|
6439
|
+
ref: mergeRefs([textareaRef, ref]),
|
|
6432
6440
|
disabled: disabled,
|
|
6433
6441
|
isDisabled: disabled,
|
|
6434
6442
|
readOnly: readOnly,
|
|
@@ -6438,7 +6446,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6438
6446
|
__self: undefined,
|
|
6439
6447
|
__source: {
|
|
6440
6448
|
fileName: _jsxFileName$G,
|
|
6441
|
-
lineNumber:
|
|
6449
|
+
lineNumber: 50,
|
|
6442
6450
|
columnNumber: 5
|
|
6443
6451
|
}
|
|
6444
6452
|
}));
|
|
@@ -6450,7 +6458,7 @@ InputTextArea.defaultProps = {
|
|
|
6450
6458
|
|
|
6451
6459
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
6452
6460
|
|
|
6453
|
-
var _jsxFileName$F = "
|
|
6461
|
+
var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
|
|
6454
6462
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
6455
6463
|
function InputRadioGroup(props) {
|
|
6456
6464
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -6483,7 +6491,7 @@ InputRadioGroup.propTypes = {
|
|
|
6483
6491
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
6484
6492
|
|
|
6485
6493
|
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
6486
|
-
var _jsxFileName$E = "
|
|
6494
|
+
var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
|
|
6487
6495
|
const INDICATOR_BASE_STYLES = {
|
|
6488
6496
|
alignItems: 'center',
|
|
6489
6497
|
display: 'flex',
|
|
@@ -6795,7 +6803,7 @@ InputRightElement.propTypes = {
|
|
|
6795
6803
|
InputRightElement.name = 'InputRightElement';
|
|
6796
6804
|
|
|
6797
6805
|
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
|
|
6798
|
-
var _jsxFileName$D = "
|
|
6806
|
+
var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
|
|
6799
6807
|
const StyledInput = styled(NumberFormat, {
|
|
6800
6808
|
// Reset
|
|
6801
6809
|
appearance: 'none',
|
|
@@ -7045,7 +7053,6 @@ var regexpFlags$1 = function () {
|
|
|
7045
7053
|
if (that.multiline) result += 'm';
|
|
7046
7054
|
if (that.dotAll) result += 's';
|
|
7047
7055
|
if (that.unicode) result += 'u';
|
|
7048
|
-
if (that.unicodeSets) result += 'v';
|
|
7049
7056
|
if (that.sticky) result += 'y';
|
|
7050
7057
|
return result;
|
|
7051
7058
|
};
|
|
@@ -7064,10 +7071,10 @@ var regexpGetFlags = function (R) {
|
|
|
7064
7071
|
};
|
|
7065
7072
|
|
|
7066
7073
|
var fails$g = fails$t;
|
|
7067
|
-
var global$
|
|
7074
|
+
var global$s = global$U;
|
|
7068
7075
|
|
|
7069
7076
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
7070
|
-
var $RegExp$2 = global$
|
|
7077
|
+
var $RegExp$2 = global$s.RegExp;
|
|
7071
7078
|
|
|
7072
7079
|
var UNSUPPORTED_Y$3 = fails$g(function () {
|
|
7073
7080
|
var re = $RegExp$2('a', 'y');
|
|
@@ -7124,10 +7131,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
7124
7131
|
};
|
|
7125
7132
|
|
|
7126
7133
|
var fails$f = fails$t;
|
|
7127
|
-
var global$
|
|
7134
|
+
var global$r = global$U;
|
|
7128
7135
|
|
|
7129
7136
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
7130
|
-
var $RegExp$1 = global$
|
|
7137
|
+
var $RegExp$1 = global$r.RegExp;
|
|
7131
7138
|
|
|
7132
7139
|
var regexpUnsupportedDotAll = fails$f(function () {
|
|
7133
7140
|
var re = $RegExp$1('.', 's');
|
|
@@ -7135,10 +7142,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
|
|
|
7135
7142
|
});
|
|
7136
7143
|
|
|
7137
7144
|
var fails$e = fails$t;
|
|
7138
|
-
var global$
|
|
7145
|
+
var global$q = global$U;
|
|
7139
7146
|
|
|
7140
7147
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
7141
|
-
var $RegExp = global$
|
|
7148
|
+
var $RegExp = global$q.RegExp;
|
|
7142
7149
|
|
|
7143
7150
|
var regexpUnsupportedNcg = fails$e(function () {
|
|
7144
7151
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -7147,11 +7154,11 @@ var regexpUnsupportedNcg = fails$e(function () {
|
|
|
7147
7154
|
});
|
|
7148
7155
|
|
|
7149
7156
|
var DESCRIPTORS$2 = descriptors;
|
|
7150
|
-
var global$
|
|
7157
|
+
var global$p = global$U;
|
|
7151
7158
|
var uncurryThis$j = functionUncurryThis;
|
|
7152
7159
|
var isForced$1 = isForced_1;
|
|
7153
7160
|
var inheritIfRequired = inheritIfRequired$1;
|
|
7154
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
7161
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
|
|
7155
7162
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
7156
7163
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
7157
7164
|
var isRegExp$1 = isRegexp;
|
|
@@ -7169,15 +7176,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
|
7169
7176
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
7170
7177
|
|
|
7171
7178
|
var MATCH = wellKnownSymbol$9('match');
|
|
7172
|
-
var NativeRegExp = global$
|
|
7179
|
+
var NativeRegExp = global$p.RegExp;
|
|
7173
7180
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
7174
|
-
var SyntaxError = global$
|
|
7181
|
+
var SyntaxError = global$p.SyntaxError;
|
|
7175
7182
|
var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
|
|
7176
7183
|
var charAt$8 = uncurryThis$j(''.charAt);
|
|
7177
7184
|
var replace$6 = uncurryThis$j(''.replace);
|
|
7178
7185
|
var stringIndexOf$1 = uncurryThis$j(''.indexOf);
|
|
7179
7186
|
var stringSlice$9 = uncurryThis$j(''.slice);
|
|
7180
|
-
// TODO: Use only
|
|
7187
|
+
// TODO: Use only propper RegExpIdentifierName
|
|
7181
7188
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7182
7189
|
var re1 = /a/g;
|
|
7183
7190
|
var re2 = /a/g;
|
|
@@ -7331,7 +7338,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
7331
7338
|
|
|
7332
7339
|
RegExpPrototype$2.constructor = RegExpWrapper;
|
|
7333
7340
|
RegExpWrapper.prototype = RegExpPrototype$2;
|
|
7334
|
-
defineBuiltIn$7(global$
|
|
7341
|
+
defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
|
|
7335
7342
|
}
|
|
7336
7343
|
|
|
7337
7344
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -7432,7 +7439,7 @@ if (PATCH) {
|
|
|
7432
7439
|
}
|
|
7433
7440
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
7434
7441
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
7435
|
-
// for NPCG, like IE8. NOTE: This doesn'
|
|
7442
|
+
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
7436
7443
|
call$f(nativeReplace, match[0], reCopy, function () {
|
|
7437
7444
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
7438
7445
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -7490,7 +7497,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
7490
7497
|
}
|
|
7491
7498
|
|
|
7492
7499
|
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
7493
|
-
var _jsxFileName$C = "
|
|
7500
|
+
var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
|
|
7494
7501
|
const TagWrapper$3 = styled('div', {
|
|
7495
7502
|
boxSizing: 'border-box',
|
|
7496
7503
|
listStyle: 'none',
|
|
@@ -7667,7 +7674,7 @@ Tag.defaultProps = {
|
|
|
7667
7674
|
};
|
|
7668
7675
|
|
|
7669
7676
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
7670
|
-
var _jsxFileName$B = "
|
|
7677
|
+
var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
|
|
7671
7678
|
const Wrapper$2 = styled('div', {
|
|
7672
7679
|
margin: 0,
|
|
7673
7680
|
flexDirection: 'column',
|
|
@@ -7967,7 +7974,7 @@ TagsInput.defaultProps = {
|
|
|
7967
7974
|
};
|
|
7968
7975
|
|
|
7969
7976
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
7970
|
-
var _jsxFileName$A = "
|
|
7977
|
+
var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
|
|
7971
7978
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
7972
7979
|
display: 'block',
|
|
7973
7980
|
width: '16px',
|
|
@@ -8075,7 +8082,7 @@ InputSwitch.propTypes = {
|
|
|
8075
8082
|
};
|
|
8076
8083
|
InputSwitch.displayName = 'InputSwitch';
|
|
8077
8084
|
|
|
8078
|
-
var _jsxFileName$z = "
|
|
8085
|
+
var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
|
|
8079
8086
|
|
|
8080
8087
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8081
8088
|
width: props.size,
|
|
@@ -8136,7 +8143,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
8136
8143
|
size: 24
|
|
8137
8144
|
};
|
|
8138
8145
|
|
|
8139
|
-
var _jsxFileName$y = "
|
|
8146
|
+
var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
|
|
8140
8147
|
|
|
8141
8148
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8142
8149
|
width: props.size,
|
|
@@ -8179,7 +8186,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
8179
8186
|
};
|
|
8180
8187
|
|
|
8181
8188
|
const _excluded$e = ["size", "onChange", "css", "disabled"];
|
|
8182
|
-
var _jsxFileName$x = "
|
|
8189
|
+
var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
|
|
8183
8190
|
|
|
8184
8191
|
const InputSearchbox = _ref => {
|
|
8185
8192
|
let {
|
|
@@ -8294,7 +8301,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
|
|
|
8294
8301
|
var regexpExec$2 = regexpExec$3;
|
|
8295
8302
|
var fails$b = fails$t;
|
|
8296
8303
|
var wellKnownSymbol$8 = wellKnownSymbol$l;
|
|
8297
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
8304
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$7;
|
|
8298
8305
|
|
|
8299
8306
|
var SPECIES$2 = wellKnownSymbol$8('species');
|
|
8300
8307
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -8369,13 +8376,14 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
8369
8376
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
8370
8377
|
};
|
|
8371
8378
|
|
|
8379
|
+
var global$o = global$U;
|
|
8372
8380
|
var call$e = functionCall;
|
|
8373
8381
|
var anObject$a = anObject$i;
|
|
8374
8382
|
var isCallable$7 = isCallable$p;
|
|
8375
8383
|
var classof$4 = classofRaw$1;
|
|
8376
8384
|
var regexpExec$1 = regexpExec$3;
|
|
8377
8385
|
|
|
8378
|
-
var
|
|
8386
|
+
var TypeError$a = global$o.TypeError;
|
|
8379
8387
|
|
|
8380
8388
|
// `RegExpExec` abstract operation
|
|
8381
8389
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -8387,7 +8395,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
8387
8395
|
return result;
|
|
8388
8396
|
}
|
|
8389
8397
|
if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
|
|
8390
|
-
throw
|
|
8398
|
+
throw TypeError$a('RegExp#exec called on incompatible receiver');
|
|
8391
8399
|
};
|
|
8392
8400
|
|
|
8393
8401
|
var call$d = functionCall;
|
|
@@ -9013,14 +9021,6 @@ function InputSelect(_a) {
|
|
|
9013
9021
|
}), void 0);
|
|
9014
9022
|
}
|
|
9015
9023
|
|
|
9016
|
-
var tryToString$3 = tryToString$5;
|
|
9017
|
-
|
|
9018
|
-
var $TypeError$6 = TypeError;
|
|
9019
|
-
|
|
9020
|
-
var deletePropertyOrThrow$1 = function (O, P) {
|
|
9021
|
-
if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
9022
|
-
};
|
|
9023
|
-
|
|
9024
9024
|
var toPropertyKey = toPropertyKey$3;
|
|
9025
9025
|
var definePropertyModule = objectDefineProperty;
|
|
9026
9026
|
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
@@ -9031,18 +9031,19 @@ var createProperty$2 = function (object, key, value) {
|
|
|
9031
9031
|
else object[propertyKey] = value;
|
|
9032
9032
|
};
|
|
9033
9033
|
|
|
9034
|
+
var global$n = global$U;
|
|
9034
9035
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
9035
9036
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
9036
9037
|
var createProperty$1 = createProperty$2;
|
|
9037
9038
|
|
|
9038
|
-
var
|
|
9039
|
+
var Array$2 = global$n.Array;
|
|
9039
9040
|
var max$1 = Math.max;
|
|
9040
9041
|
|
|
9041
9042
|
var arraySliceSimple = function (O, start, end) {
|
|
9042
9043
|
var length = lengthOfArrayLike$4(O);
|
|
9043
9044
|
var k = toAbsoluteIndex(start, length);
|
|
9044
9045
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
9045
|
-
var result =
|
|
9046
|
+
var result = Array$2(max$1(fin - k, 0));
|
|
9046
9047
|
for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
|
|
9047
9048
|
result.length = n;
|
|
9048
9049
|
return result;
|
|
@@ -9124,7 +9125,6 @@ var uncurryThis$g = functionUncurryThis;
|
|
|
9124
9125
|
var aCallable$7 = aCallable$9;
|
|
9125
9126
|
var toObject$3 = toObject$7;
|
|
9126
9127
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
9127
|
-
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
9128
9128
|
var toString$b = toString$h;
|
|
9129
9129
|
var fails$9 = fails$t;
|
|
9130
9130
|
var internalSort = arraySort$1;
|
|
@@ -9219,18 +9219,19 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
|
9219
9219
|
index = 0;
|
|
9220
9220
|
|
|
9221
9221
|
while (index < itemsLength) array[index] = items[index++];
|
|
9222
|
-
while (index < arrayLength)
|
|
9222
|
+
while (index < arrayLength) delete array[index++];
|
|
9223
9223
|
|
|
9224
9224
|
return array;
|
|
9225
9225
|
}
|
|
9226
9226
|
});
|
|
9227
9227
|
|
|
9228
|
+
var global$m = global$U;
|
|
9228
9229
|
var aCallable$6 = aCallable$9;
|
|
9229
9230
|
var toObject$2 = toObject$7;
|
|
9230
9231
|
var IndexedObject = indexedObject;
|
|
9231
9232
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
9232
9233
|
|
|
9233
|
-
var
|
|
9234
|
+
var TypeError$9 = global$m.TypeError;
|
|
9234
9235
|
|
|
9235
9236
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
9236
9237
|
var createMethod$2 = function (IS_RIGHT) {
|
|
@@ -9249,7 +9250,7 @@ var createMethod$2 = function (IS_RIGHT) {
|
|
|
9249
9250
|
}
|
|
9250
9251
|
index += i;
|
|
9251
9252
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
9252
|
-
throw
|
|
9253
|
+
throw TypeError$9('Reduce of empty array with no initial value');
|
|
9253
9254
|
}
|
|
9254
9255
|
}
|
|
9255
9256
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -9269,20 +9270,20 @@ var arrayReduce = {
|
|
|
9269
9270
|
};
|
|
9270
9271
|
|
|
9271
9272
|
var classof$3 = classofRaw$1;
|
|
9272
|
-
var global$
|
|
9273
|
+
var global$l = global$U;
|
|
9273
9274
|
|
|
9274
|
-
var engineIsNode = classof$3(global$
|
|
9275
|
+
var engineIsNode = classof$3(global$l.process) == 'process';
|
|
9275
9276
|
|
|
9276
9277
|
var $$f = _export;
|
|
9277
9278
|
var $reduce = arrayReduce.left;
|
|
9278
9279
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
9279
9280
|
var CHROME_VERSION = engineV8Version;
|
|
9280
|
-
var IS_NODE$
|
|
9281
|
+
var IS_NODE$3 = engineIsNode;
|
|
9281
9282
|
|
|
9282
9283
|
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
9283
9284
|
// Chrome 80-82 has a critical bug
|
|
9284
9285
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
9285
|
-
var CHROME_BUG = !IS_NODE$
|
|
9286
|
+
var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
9286
9287
|
|
|
9287
9288
|
// `Array.prototype.reduce` method
|
|
9288
9289
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
@@ -9293,7 +9294,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
9293
9294
|
}
|
|
9294
9295
|
});
|
|
9295
9296
|
|
|
9296
|
-
var _jsxFileName$w = "
|
|
9297
|
+
var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
|
|
9297
9298
|
|
|
9298
9299
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
9299
9300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9342,7 +9343,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
9342
9343
|
}));
|
|
9343
9344
|
|
|
9344
9345
|
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"];
|
|
9345
|
-
var _jsxFileName$v = "
|
|
9346
|
+
var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
|
|
9346
9347
|
const Wrapper$1 = styled('div', {
|
|
9347
9348
|
margin: 0,
|
|
9348
9349
|
flexDirection: 'column',
|
|
@@ -10188,7 +10189,7 @@ InputSelectCheck.defaultProps = {
|
|
|
10188
10189
|
labelCounter: 'Item terpilih'
|
|
10189
10190
|
};
|
|
10190
10191
|
|
|
10191
|
-
var _jsxFileName$u = "
|
|
10192
|
+
var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
|
|
10192
10193
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10193
10194
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
10194
10195
|
ref: ref,
|
|
@@ -10239,7 +10240,7 @@ InputSelectTag.defaultProps = {
|
|
|
10239
10240
|
labelCounter: 'Item terpilih'
|
|
10240
10241
|
};
|
|
10241
10242
|
|
|
10242
|
-
var _jsxFileName$t = "
|
|
10243
|
+
var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
|
|
10243
10244
|
const Wrapper = styled('div', {
|
|
10244
10245
|
margin: 0,
|
|
10245
10246
|
flexDirection: 'column',
|
|
@@ -11004,15 +11005,15 @@ var stringTrim = {
|
|
|
11004
11005
|
trim: createMethod$1(3)
|
|
11005
11006
|
};
|
|
11006
11007
|
|
|
11007
|
-
var global$
|
|
11008
|
+
var global$k = global$U;
|
|
11008
11009
|
var fails$8 = fails$t;
|
|
11009
11010
|
var uncurryThis$d = functionUncurryThis;
|
|
11010
11011
|
var toString$8 = toString$h;
|
|
11011
11012
|
var trim$1 = stringTrim.trim;
|
|
11012
11013
|
var whitespaces$2 = whitespaces$4;
|
|
11013
11014
|
|
|
11014
|
-
var $parseInt$1 = global$
|
|
11015
|
-
var Symbol$6 = global$
|
|
11015
|
+
var $parseInt$1 = global$k.parseInt;
|
|
11016
|
+
var Symbol$6 = global$k.Symbol;
|
|
11016
11017
|
var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
|
|
11017
11018
|
var hex = /^[+-]?0x/i;
|
|
11018
11019
|
var exec$4 = uncurryThis$d(hex.exec);
|
|
@@ -11231,7 +11232,7 @@ InputCounter.defaultProps = {
|
|
|
11231
11232
|
};
|
|
11232
11233
|
|
|
11233
11234
|
const _excluded$c = ["children"];
|
|
11234
|
-
var _jsxFileName$s = "
|
|
11235
|
+
var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
|
|
11235
11236
|
const {
|
|
11236
11237
|
zIndices
|
|
11237
11238
|
} = foundations;
|
|
@@ -11365,7 +11366,7 @@ Popover.propTypes = {
|
|
|
11365
11366
|
Popover.displayName = 'Popover';
|
|
11366
11367
|
|
|
11367
11368
|
const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
11368
|
-
var _jsxFileName$r = "
|
|
11369
|
+
var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
|
|
11369
11370
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
11370
11371
|
position: 'relative',
|
|
11371
11372
|
display: 'flex',
|
|
@@ -11710,7 +11711,7 @@ Slider.defaultProps = {
|
|
|
11710
11711
|
};
|
|
11711
11712
|
|
|
11712
11713
|
const _excluded$a = ["className", "children", "onClick", "type", "size"];
|
|
11713
|
-
var _jsxFileName$q = "
|
|
11714
|
+
var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
|
|
11714
11715
|
const TagWrapper = styled('div', {
|
|
11715
11716
|
boxSizing: 'border-box',
|
|
11716
11717
|
fontSize: '12px',
|
|
@@ -11876,7 +11877,7 @@ const _excluded$9 = ["children"],
|
|
|
11876
11877
|
_excluded2$1 = ["children", "activeTabs"],
|
|
11877
11878
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
11878
11879
|
_excluded4 = ["activeTabs"];
|
|
11879
|
-
var _jsxFileName$p = "
|
|
11880
|
+
var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
11880
11881
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
11881
11882
|
display: 'flex',
|
|
11882
11883
|
flexDirection: 'column',
|
|
@@ -12227,7 +12228,7 @@ Separator$2.displayName = 'Separator';
|
|
|
12227
12228
|
|
|
12228
12229
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
|
|
12229
12230
|
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12230
|
-
var _jsxFileName$o = "
|
|
12231
|
+
var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
12231
12232
|
const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
|
|
12232
12233
|
display: 'inline-flex',
|
|
12233
12234
|
borderRadius: '$md',
|
|
@@ -12455,7 +12456,7 @@ ButtonGroupItem.defaultProps = {
|
|
|
12455
12456
|
};
|
|
12456
12457
|
|
|
12457
12458
|
const _excluded$7 = ["children"];
|
|
12458
|
-
var _jsxFileName$n = "
|
|
12459
|
+
var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
|
|
12459
12460
|
const NotificationBadgeRootStyle = styled('span', {
|
|
12460
12461
|
position: 'relative',
|
|
12461
12462
|
display: 'inline-flex',
|
|
@@ -12599,7 +12600,7 @@ NotificationBadge.propTypes = {
|
|
|
12599
12600
|
};
|
|
12600
12601
|
|
|
12601
12602
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
12602
|
-
var _jsxFileName$m = "
|
|
12603
|
+
var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
|
|
12603
12604
|
const PaperComponent = styled('div', {
|
|
12604
12605
|
padding: '20px',
|
|
12605
12606
|
height: 'auto',
|
|
@@ -12810,13 +12811,14 @@ DialogClose.displayName = 'DialogClose';
|
|
|
12810
12811
|
DialogOverlay.displayName = 'DialogOverlay';
|
|
12811
12812
|
DialogPortal.displayName = 'DialogPortal';
|
|
12812
12813
|
|
|
12814
|
+
var global$j = global$U;
|
|
12813
12815
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
12814
12816
|
|
|
12815
|
-
var
|
|
12817
|
+
var TypeError$8 = global$j.TypeError;
|
|
12816
12818
|
|
|
12817
12819
|
var anInstance$3 = function (it, Prototype) {
|
|
12818
12820
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
12819
|
-
throw
|
|
12821
|
+
throw TypeError$8('Incorrect invocation');
|
|
12820
12822
|
};
|
|
12821
12823
|
|
|
12822
12824
|
var uncurryThis$c = functionUncurryThis;
|
|
@@ -12872,15 +12874,16 @@ var isConstructor$2 = !construct || fails$7(function () {
|
|
|
12872
12874
|
|| called;
|
|
12873
12875
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
12874
12876
|
|
|
12877
|
+
var global$i = global$U;
|
|
12875
12878
|
var isConstructor$1 = isConstructor$2;
|
|
12876
|
-
var tryToString$2 = tryToString$
|
|
12879
|
+
var tryToString$2 = tryToString$4;
|
|
12877
12880
|
|
|
12878
|
-
var
|
|
12881
|
+
var TypeError$7 = global$i.TypeError;
|
|
12879
12882
|
|
|
12880
12883
|
// `Assert: IsConstructor(argument) is true`
|
|
12881
12884
|
var aConstructor$1 = function (argument) {
|
|
12882
12885
|
if (isConstructor$1(argument)) return argument;
|
|
12883
|
-
throw
|
|
12886
|
+
throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
|
|
12884
12887
|
};
|
|
12885
12888
|
|
|
12886
12889
|
var anObject$8 = anObject$i;
|
|
@@ -12926,10 +12929,12 @@ var uncurryThis$a = functionUncurryThis;
|
|
|
12926
12929
|
|
|
12927
12930
|
var arraySlice$3 = uncurryThis$a([].slice);
|
|
12928
12931
|
|
|
12929
|
-
var $
|
|
12932
|
+
var global$h = global$U;
|
|
12933
|
+
|
|
12934
|
+
var TypeError$6 = global$h.TypeError;
|
|
12930
12935
|
|
|
12931
12936
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
12932
|
-
if (passed < required) throw
|
|
12937
|
+
if (passed < required) throw TypeError$6('Not enough arguments');
|
|
12933
12938
|
return passed;
|
|
12934
12939
|
};
|
|
12935
12940
|
|
|
@@ -12937,7 +12942,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
12937
12942
|
|
|
12938
12943
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
12939
12944
|
|
|
12940
|
-
var global$
|
|
12945
|
+
var global$g = global$U;
|
|
12941
12946
|
var apply$2 = functionApply;
|
|
12942
12947
|
var bind$6 = functionBindContext;
|
|
12943
12948
|
var isCallable$5 = isCallable$p;
|
|
@@ -12948,15 +12953,15 @@ var arraySlice$2 = arraySlice$3;
|
|
|
12948
12953
|
var createElement = documentCreateElement$2;
|
|
12949
12954
|
var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
12950
12955
|
var IS_IOS$1 = engineIsIos;
|
|
12951
|
-
var IS_NODE$
|
|
12956
|
+
var IS_NODE$2 = engineIsNode;
|
|
12952
12957
|
|
|
12953
|
-
var set = global$
|
|
12954
|
-
var clear = global$
|
|
12955
|
-
var process$2 = global$
|
|
12956
|
-
var Dispatch = global$
|
|
12957
|
-
var Function$1 = global$
|
|
12958
|
-
var MessageChannel = global$
|
|
12959
|
-
var String$
|
|
12958
|
+
var set = global$g.setImmediate;
|
|
12959
|
+
var clear = global$g.clearImmediate;
|
|
12960
|
+
var process$2 = global$g.process;
|
|
12961
|
+
var Dispatch = global$g.Dispatch;
|
|
12962
|
+
var Function$1 = global$g.Function;
|
|
12963
|
+
var MessageChannel = global$g.MessageChannel;
|
|
12964
|
+
var String$2 = global$g.String;
|
|
12960
12965
|
var counter = 0;
|
|
12961
12966
|
var queue$1 = {};
|
|
12962
12967
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -12964,7 +12969,7 @@ var location, defer, channel, port;
|
|
|
12964
12969
|
|
|
12965
12970
|
try {
|
|
12966
12971
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
12967
|
-
location = global$
|
|
12972
|
+
location = global$g.location;
|
|
12968
12973
|
} catch (error) { /* empty */ }
|
|
12969
12974
|
|
|
12970
12975
|
var run = function (id) {
|
|
@@ -12987,7 +12992,7 @@ var listener = function (event) {
|
|
|
12987
12992
|
|
|
12988
12993
|
var post = function (id) {
|
|
12989
12994
|
// old engines have not location.origin
|
|
12990
|
-
global$
|
|
12995
|
+
global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
|
|
12991
12996
|
};
|
|
12992
12997
|
|
|
12993
12998
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -13006,7 +13011,7 @@ if (!set || !clear) {
|
|
|
13006
13011
|
delete queue$1[id];
|
|
13007
13012
|
};
|
|
13008
13013
|
// Node.js 0.8-
|
|
13009
|
-
if (IS_NODE$
|
|
13014
|
+
if (IS_NODE$2) {
|
|
13010
13015
|
defer = function (id) {
|
|
13011
13016
|
process$2.nextTick(runner(id));
|
|
13012
13017
|
};
|
|
@@ -13025,14 +13030,14 @@ if (!set || !clear) {
|
|
|
13025
13030
|
// Browsers with postMessage, skip WebWorkers
|
|
13026
13031
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
13027
13032
|
} else if (
|
|
13028
|
-
global$
|
|
13029
|
-
isCallable$5(global$
|
|
13030
|
-
!global$
|
|
13033
|
+
global$g.addEventListener &&
|
|
13034
|
+
isCallable$5(global$g.postMessage) &&
|
|
13035
|
+
!global$g.importScripts &&
|
|
13031
13036
|
location && location.protocol !== 'file:' &&
|
|
13032
13037
|
!fails$6(post)
|
|
13033
13038
|
) {
|
|
13034
13039
|
defer = post;
|
|
13035
|
-
global$
|
|
13040
|
+
global$g.addEventListener('message', listener, false);
|
|
13036
13041
|
// IE8-
|
|
13037
13042
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
13038
13043
|
defer = function (id) {
|
|
@@ -13055,29 +13060,29 @@ var task$1 = {
|
|
|
13055
13060
|
};
|
|
13056
13061
|
|
|
13057
13062
|
var userAgent$1 = engineUserAgent;
|
|
13058
|
-
var global$
|
|
13063
|
+
var global$f = global$U;
|
|
13059
13064
|
|
|
13060
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
13065
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
|
|
13061
13066
|
|
|
13062
13067
|
var userAgent = engineUserAgent;
|
|
13063
13068
|
|
|
13064
13069
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
13065
13070
|
|
|
13066
|
-
var global$
|
|
13071
|
+
var global$e = global$U;
|
|
13067
13072
|
var bind$5 = functionBindContext;
|
|
13068
13073
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
13069
13074
|
var macrotask = task$1.set;
|
|
13070
13075
|
var IS_IOS = engineIsIos;
|
|
13071
13076
|
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
13072
13077
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
13073
|
-
var IS_NODE$
|
|
13078
|
+
var IS_NODE$1 = engineIsNode;
|
|
13074
13079
|
|
|
13075
|
-
var MutationObserver = global$
|
|
13076
|
-
var document$2 = global$
|
|
13077
|
-
var process$1 = global$
|
|
13078
|
-
var Promise$1 = global$
|
|
13080
|
+
var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
|
|
13081
|
+
var document$2 = global$e.document;
|
|
13082
|
+
var process$1 = global$e.process;
|
|
13083
|
+
var Promise$1 = global$e.Promise;
|
|
13079
13084
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
13080
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$
|
|
13085
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
|
|
13081
13086
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
13082
13087
|
|
|
13083
13088
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -13086,7 +13091,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
|
|
|
13086
13091
|
if (!queueMicrotask) {
|
|
13087
13092
|
flush = function () {
|
|
13088
13093
|
var parent, fn;
|
|
13089
|
-
if (IS_NODE$
|
|
13094
|
+
if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
|
|
13090
13095
|
while (head) {
|
|
13091
13096
|
fn = head.fn;
|
|
13092
13097
|
head = head.next;
|
|
@@ -13103,7 +13108,7 @@ if (!queueMicrotask) {
|
|
|
13103
13108
|
|
|
13104
13109
|
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
13105
13110
|
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
13106
|
-
if (!IS_IOS && !IS_NODE$
|
|
13111
|
+
if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
13107
13112
|
toggle = true;
|
|
13108
13113
|
node = document$2.createTextNode('');
|
|
13109
13114
|
new MutationObserver(flush).observe(node, { characterData: true });
|
|
@@ -13121,7 +13126,7 @@ if (!queueMicrotask) {
|
|
|
13121
13126
|
then(flush);
|
|
13122
13127
|
};
|
|
13123
13128
|
// Node.js without promises
|
|
13124
|
-
} else if (IS_NODE$
|
|
13129
|
+
} else if (IS_NODE$1) {
|
|
13125
13130
|
notify$1 = function () {
|
|
13126
13131
|
process$1.nextTick(flush);
|
|
13127
13132
|
};
|
|
@@ -13133,7 +13138,7 @@ if (!queueMicrotask) {
|
|
|
13133
13138
|
// - setTimeout
|
|
13134
13139
|
} else {
|
|
13135
13140
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
13136
|
-
macrotask = bind$5(macrotask, global$
|
|
13141
|
+
macrotask = bind$5(macrotask, global$e);
|
|
13137
13142
|
notify$1 = function () {
|
|
13138
13143
|
macrotask(flush);
|
|
13139
13144
|
};
|
|
@@ -13149,10 +13154,10 @@ var microtask$1 = queueMicrotask || function (fn) {
|
|
|
13149
13154
|
} last = task;
|
|
13150
13155
|
};
|
|
13151
13156
|
|
|
13152
|
-
var global$
|
|
13157
|
+
var global$d = global$U;
|
|
13153
13158
|
|
|
13154
13159
|
var hostReportErrors$1 = function (a, b) {
|
|
13155
|
-
var console = global$
|
|
13160
|
+
var console = global$d.console;
|
|
13156
13161
|
if (console && console.error) {
|
|
13157
13162
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
13158
13163
|
}
|
|
@@ -13190,35 +13195,25 @@ Queue$1.prototype = {
|
|
|
13190
13195
|
|
|
13191
13196
|
var queue = Queue$1;
|
|
13192
13197
|
|
|
13193
|
-
var global$
|
|
13194
|
-
|
|
13195
|
-
var promiseNativeConstructor = global$6.Promise;
|
|
13198
|
+
var global$c = global$U;
|
|
13196
13199
|
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
13200
|
-
|
|
13201
|
-
var IS_DENO$1 = engineIsDeno;
|
|
13202
|
-
var IS_NODE$1 = engineIsNode;
|
|
13200
|
+
var promiseNativeConstructor = global$c.Promise;
|
|
13203
13201
|
|
|
13204
|
-
var engineIsBrowser =
|
|
13205
|
-
&& typeof window == 'object'
|
|
13206
|
-
&& typeof document == 'object';
|
|
13202
|
+
var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
|
|
13207
13203
|
|
|
13208
|
-
var global$
|
|
13204
|
+
var global$b = global$U;
|
|
13209
13205
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
13210
13206
|
var isCallable$4 = isCallable$p;
|
|
13211
13207
|
var isForced = isForced_1;
|
|
13212
13208
|
var inspectSource = inspectSource$4;
|
|
13213
13209
|
var wellKnownSymbol$6 = wellKnownSymbol$l;
|
|
13214
13210
|
var IS_BROWSER = engineIsBrowser;
|
|
13215
|
-
var IS_DENO = engineIsDeno;
|
|
13216
13211
|
var V8_VERSION = engineV8Version;
|
|
13217
13212
|
|
|
13218
13213
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
13219
13214
|
var SPECIES = wellKnownSymbol$6('species');
|
|
13220
13215
|
var SUBCLASSING = false;
|
|
13221
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$
|
|
13216
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
|
|
13222
13217
|
|
|
13223
13218
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
13224
13219
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -13230,18 +13225,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
|
13230
13225
|
// We can't use @@species feature detection in V8 since it causes
|
|
13231
13226
|
// deoptimization and performance degradation
|
|
13232
13227
|
// https://github.com/zloirock/core-js/issues/679
|
|
13233
|
-
if (
|
|
13234
|
-
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
|
|
13228
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
13229
|
+
// Detect correctness of subclassing with @@species support
|
|
13230
|
+
var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
|
|
13231
|
+
var FakePromise = function (exec) {
|
|
13232
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
13233
|
+
};
|
|
13234
|
+
var constructor = promise.constructor = {};
|
|
13235
|
+
constructor[SPECIES] = FakePromise;
|
|
13236
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
13237
|
+
if (!SUBCLASSING) return true;
|
|
13243
13238
|
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
13244
|
-
|
|
13239
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13245
13240
|
});
|
|
13246
13241
|
|
|
13247
13242
|
var promiseConstructorDetection = {
|
|
@@ -13273,7 +13268,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
13273
13268
|
|
|
13274
13269
|
var $$c = _export;
|
|
13275
13270
|
var IS_NODE = engineIsNode;
|
|
13276
|
-
var global$
|
|
13271
|
+
var global$a = global$U;
|
|
13277
13272
|
var call$b = functionCall;
|
|
13278
13273
|
var defineBuiltIn$4 = defineBuiltIn$b;
|
|
13279
13274
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -13303,13 +13298,13 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
13303
13298
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
13304
13299
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
13305
13300
|
var PromisePrototype = NativePromisePrototype$1;
|
|
13306
|
-
var TypeError$
|
|
13307
|
-
var document$1 = global$
|
|
13308
|
-
var process = global$
|
|
13301
|
+
var TypeError$5 = global$a.TypeError;
|
|
13302
|
+
var document$1 = global$a.document;
|
|
13303
|
+
var process = global$a.process;
|
|
13309
13304
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
13310
13305
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
13311
13306
|
|
|
13312
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
13307
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
|
|
13313
13308
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
13314
13309
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
13315
13310
|
var PENDING = 0;
|
|
@@ -13350,7 +13345,7 @@ var callReaction = function (reaction, state) {
|
|
|
13350
13345
|
}
|
|
13351
13346
|
}
|
|
13352
13347
|
if (result === reaction.promise) {
|
|
13353
|
-
reject(TypeError$
|
|
13348
|
+
reject(TypeError$5('Promise-chain cycle'));
|
|
13354
13349
|
} else if (then = isThenable(result)) {
|
|
13355
13350
|
call$b(then, result, resolve, reject);
|
|
13356
13351
|
} else resolve(result);
|
|
@@ -13382,14 +13377,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
13382
13377
|
event.promise = promise;
|
|
13383
13378
|
event.reason = reason;
|
|
13384
13379
|
event.initEvent(name, false, true);
|
|
13385
|
-
global$
|
|
13380
|
+
global$a.dispatchEvent(event);
|
|
13386
13381
|
} else event = { promise: promise, reason: reason };
|
|
13387
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
13382
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
|
|
13388
13383
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
13389
13384
|
};
|
|
13390
13385
|
|
|
13391
13386
|
var onUnhandled = function (state) {
|
|
13392
|
-
call$b(task, global$
|
|
13387
|
+
call$b(task, global$a, function () {
|
|
13393
13388
|
var promise = state.facade;
|
|
13394
13389
|
var value = state.value;
|
|
13395
13390
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -13412,7 +13407,7 @@ var isUnhandled = function (state) {
|
|
|
13412
13407
|
};
|
|
13413
13408
|
|
|
13414
13409
|
var onHandleUnhandled = function (state) {
|
|
13415
|
-
call$b(task, global$
|
|
13410
|
+
call$b(task, global$a, function () {
|
|
13416
13411
|
var promise = state.facade;
|
|
13417
13412
|
if (IS_NODE) {
|
|
13418
13413
|
process.emit('rejectionHandled', promise);
|
|
@@ -13440,7 +13435,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
13440
13435
|
state.done = true;
|
|
13441
13436
|
if (unwrap) state = unwrap;
|
|
13442
13437
|
try {
|
|
13443
|
-
if (state.facade === value) throw TypeError$
|
|
13438
|
+
if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
|
|
13444
13439
|
var then = isThenable(value);
|
|
13445
13440
|
if (then) {
|
|
13446
13441
|
microtask(function () {
|
|
@@ -13582,18 +13577,19 @@ var getIteratorMethod$4 = function (it) {
|
|
|
13582
13577
|
|| Iterators[classof$1(it)];
|
|
13583
13578
|
};
|
|
13584
13579
|
|
|
13580
|
+
var global$9 = global$U;
|
|
13585
13581
|
var call$a = functionCall;
|
|
13586
13582
|
var aCallable$2 = aCallable$9;
|
|
13587
13583
|
var anObject$7 = anObject$i;
|
|
13588
|
-
var tryToString$1 = tryToString$
|
|
13584
|
+
var tryToString$1 = tryToString$4;
|
|
13589
13585
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
13590
13586
|
|
|
13591
|
-
var
|
|
13587
|
+
var TypeError$4 = global$9.TypeError;
|
|
13592
13588
|
|
|
13593
13589
|
var getIterator$3 = function (argument, usingIterator) {
|
|
13594
13590
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
13595
13591
|
if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
|
|
13596
|
-
throw
|
|
13592
|
+
throw TypeError$4(tryToString$1(argument) + ' is not iterable');
|
|
13597
13593
|
};
|
|
13598
13594
|
|
|
13599
13595
|
var call$9 = functionCall;
|
|
@@ -13620,10 +13616,11 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
13620
13616
|
return value;
|
|
13621
13617
|
};
|
|
13622
13618
|
|
|
13619
|
+
var global$8 = global$U;
|
|
13623
13620
|
var bind$3 = functionBindContext;
|
|
13624
13621
|
var call$8 = functionCall;
|
|
13625
13622
|
var anObject$5 = anObject$i;
|
|
13626
|
-
var tryToString = tryToString$
|
|
13623
|
+
var tryToString = tryToString$4;
|
|
13627
13624
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
13628
13625
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
13629
13626
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -13631,7 +13628,7 @@ var getIterator$2 = getIterator$3;
|
|
|
13631
13628
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
13632
13629
|
var iteratorClose$1 = iteratorClose$2;
|
|
13633
13630
|
|
|
13634
|
-
var $
|
|
13631
|
+
var TypeError$3 = global$8.TypeError;
|
|
13635
13632
|
|
|
13636
13633
|
var Result = function (stopped, result) {
|
|
13637
13634
|
this.stopped = stopped;
|
|
@@ -13643,7 +13640,6 @@ var ResultPrototype = Result.prototype;
|
|
|
13643
13640
|
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
13644
13641
|
var that = options && options.that;
|
|
13645
13642
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
13646
|
-
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
13647
13643
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
13648
13644
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
13649
13645
|
var fn = bind$3(unboundFunction, that);
|
|
@@ -13661,13 +13657,11 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13661
13657
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
13662
13658
|
};
|
|
13663
13659
|
|
|
13664
|
-
if (
|
|
13665
|
-
iterator = iterable.iterator;
|
|
13666
|
-
} else if (IS_ITERATOR) {
|
|
13660
|
+
if (IS_ITERATOR) {
|
|
13667
13661
|
iterator = iterable;
|
|
13668
13662
|
} else {
|
|
13669
13663
|
iterFn = getIteratorMethod$2(iterable);
|
|
13670
|
-
if (!iterFn) throw $
|
|
13664
|
+
if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
|
|
13671
13665
|
// optimisation for array iterators
|
|
13672
13666
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
13673
13667
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -13678,7 +13672,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13678
13672
|
iterator = getIterator$2(iterable, iterFn);
|
|
13679
13673
|
}
|
|
13680
13674
|
|
|
13681
|
-
next =
|
|
13675
|
+
next = iterator.next;
|
|
13682
13676
|
while (!(step = call$8(next, iterator)).done) {
|
|
13683
13677
|
try {
|
|
13684
13678
|
result = callFn(step.value);
|
|
@@ -14105,7 +14099,7 @@ ModalDialog.defaultProps = {
|
|
|
14105
14099
|
};
|
|
14106
14100
|
|
|
14107
14101
|
const _excluded$5 = ["children"];
|
|
14108
|
-
var _jsxFileName$l = "
|
|
14102
|
+
var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
|
|
14109
14103
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
14110
14104
|
const {
|
|
14111
14105
|
sizes
|
|
@@ -15797,7 +15791,7 @@ const MobileCalendarBox = ({
|
|
|
15797
15791
|
return null;
|
|
15798
15792
|
};
|
|
15799
15793
|
|
|
15800
|
-
var _jsxFileName$k = "
|
|
15794
|
+
var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
|
|
15801
15795
|
const Input$3 = styled('input', {
|
|
15802
15796
|
display: 'none'
|
|
15803
15797
|
});
|
|
@@ -16054,33 +16048,33 @@ const NativeTimePicker = ({
|
|
|
16054
16048
|
})));
|
|
16055
16049
|
};
|
|
16056
16050
|
NativeTimePicker.propTypes = {
|
|
16057
|
-
/**
|
|
16058
|
-
Resize time picker.
|
|
16051
|
+
/**
|
|
16052
|
+
Resize time picker.
|
|
16059
16053
|
*/
|
|
16060
16054
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16061
16055
|
|
|
16062
|
-
/**
|
|
16063
|
-
Change handler.
|
|
16056
|
+
/**
|
|
16057
|
+
Change handler.
|
|
16064
16058
|
*/
|
|
16065
16059
|
onChange: PropTypes.func,
|
|
16066
16060
|
|
|
16067
|
-
/**
|
|
16068
|
-
Time picker default value, support moment format.
|
|
16061
|
+
/**
|
|
16062
|
+
Time picker default value, support moment format.
|
|
16069
16063
|
*/
|
|
16070
16064
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16071
16065
|
|
|
16072
|
-
/**
|
|
16073
|
-
Time picker value, support moment format.
|
|
16066
|
+
/**
|
|
16067
|
+
Time picker value, support moment format.
|
|
16074
16068
|
*/
|
|
16075
16069
|
value: PropTypes.instanceOf(Date),
|
|
16076
16070
|
|
|
16077
|
-
/**
|
|
16078
|
-
Specify the minimum date.
|
|
16071
|
+
/**
|
|
16072
|
+
Specify the minimum date.
|
|
16079
16073
|
*/
|
|
16080
16074
|
minDate: PropTypes.instanceOf(Date),
|
|
16081
16075
|
|
|
16082
|
-
/**
|
|
16083
|
-
Specify the maximum date.
|
|
16076
|
+
/**
|
|
16077
|
+
Specify the maximum date.
|
|
16084
16078
|
*/
|
|
16085
16079
|
maxDate: PropTypes.instanceOf(Date)
|
|
16086
16080
|
};
|
|
@@ -16125,49 +16119,49 @@ const TimePicker = ({
|
|
|
16125
16119
|
};
|
|
16126
16120
|
TimePicker.displayName = 'TimePicker';
|
|
16127
16121
|
TimePicker.propTypes = {
|
|
16128
|
-
/**
|
|
16129
|
-
Additional styles.
|
|
16122
|
+
/**
|
|
16123
|
+
Additional styles.
|
|
16130
16124
|
*/
|
|
16131
16125
|
css: PropTypes.object,
|
|
16132
16126
|
|
|
16133
|
-
/**
|
|
16134
|
-
Resize time picker.
|
|
16127
|
+
/**
|
|
16128
|
+
Resize time picker.
|
|
16135
16129
|
*/
|
|
16136
16130
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16137
16131
|
|
|
16138
|
-
/**
|
|
16139
|
-
Change handler.
|
|
16132
|
+
/**
|
|
16133
|
+
Change handler.
|
|
16140
16134
|
*/
|
|
16141
16135
|
onChange: PropTypes.func,
|
|
16142
16136
|
|
|
16143
|
-
/**
|
|
16144
|
-
Time picker default value, support moment format.
|
|
16137
|
+
/**
|
|
16138
|
+
Time picker default value, support moment format.
|
|
16145
16139
|
*/
|
|
16146
16140
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16147
16141
|
|
|
16148
|
-
/**
|
|
16149
|
-
Time picker value, support moment format.
|
|
16142
|
+
/**
|
|
16143
|
+
Time picker value, support moment format.
|
|
16150
16144
|
*/
|
|
16151
16145
|
value: PropTypes.instanceOf(Date),
|
|
16152
16146
|
|
|
16153
|
-
/**
|
|
16154
|
-
Disabled state.
|
|
16147
|
+
/**
|
|
16148
|
+
Disabled state.
|
|
16155
16149
|
*/
|
|
16156
16150
|
disabled: PropTypes.bool,
|
|
16157
16151
|
|
|
16158
|
-
/**
|
|
16159
|
-
Specify the minimum date.
|
|
16152
|
+
/**
|
|
16153
|
+
Specify the minimum date.
|
|
16160
16154
|
*/
|
|
16161
16155
|
minDate: PropTypes.instanceOf(Date),
|
|
16162
16156
|
|
|
16163
|
-
/**
|
|
16164
|
-
Specify the maximum date.
|
|
16157
|
+
/**
|
|
16158
|
+
Specify the maximum date.
|
|
16165
16159
|
*/
|
|
16166
16160
|
maxDate: PropTypes.instanceOf(Date)
|
|
16167
16161
|
};
|
|
16168
16162
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
16169
16163
|
|
|
16170
|
-
var _jsxFileName$j = "
|
|
16164
|
+
var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
|
|
16171
16165
|
|
|
16172
16166
|
const getInputPickerValue$1 = date => {
|
|
16173
16167
|
if (!date) return;
|
|
@@ -16343,63 +16337,63 @@ InputTimePicker.defaultProps = {
|
|
|
16343
16337
|
placeholder: 'Select Time'
|
|
16344
16338
|
};
|
|
16345
16339
|
InputTimePicker.propTypes = {
|
|
16346
|
-
/**
|
|
16347
|
-
Additional styles.
|
|
16340
|
+
/**
|
|
16341
|
+
Additional styles.
|
|
16348
16342
|
*/
|
|
16349
16343
|
css: PropTypes.object,
|
|
16350
16344
|
|
|
16351
|
-
/**
|
|
16352
|
-
Disabled state.
|
|
16345
|
+
/**
|
|
16346
|
+
Disabled state.
|
|
16353
16347
|
*/
|
|
16354
16348
|
disabled: PropTypes.bool,
|
|
16355
16349
|
|
|
16356
|
-
/**
|
|
16357
|
-
ReadOnly state.
|
|
16350
|
+
/**
|
|
16351
|
+
ReadOnly state.
|
|
16358
16352
|
*/
|
|
16359
16353
|
readOnly: PropTypes.bool,
|
|
16360
16354
|
|
|
16361
|
-
/**
|
|
16362
|
-
Resize time picker.
|
|
16355
|
+
/**
|
|
16356
|
+
Resize time picker.
|
|
16363
16357
|
*/
|
|
16364
16358
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16365
16359
|
|
|
16366
|
-
/**
|
|
16367
|
-
Custom placeholder input time picker.
|
|
16360
|
+
/**
|
|
16361
|
+
Custom placeholder input time picker.
|
|
16368
16362
|
*/
|
|
16369
16363
|
placeholder: PropTypes.string,
|
|
16370
16364
|
|
|
16371
|
-
/**
|
|
16372
|
-
Time picker default value, support moment format.
|
|
16365
|
+
/**
|
|
16366
|
+
Time picker default value, support moment format.
|
|
16373
16367
|
*/
|
|
16374
16368
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16375
16369
|
|
|
16376
|
-
/**
|
|
16377
|
-
Time picker value, support moment format.
|
|
16370
|
+
/**
|
|
16371
|
+
Time picker value, support moment format.
|
|
16378
16372
|
*/
|
|
16379
16373
|
value: PropTypes.instanceOf(Date),
|
|
16380
16374
|
|
|
16381
|
-
/**
|
|
16382
|
-
Change handler.
|
|
16375
|
+
/**
|
|
16376
|
+
Change handler.
|
|
16383
16377
|
*/
|
|
16384
16378
|
onChange: PropTypes.func,
|
|
16385
16379
|
|
|
16386
|
-
/**
|
|
16387
|
-
Placement popover input time picker.
|
|
16380
|
+
/**
|
|
16381
|
+
Placement popover input time picker.
|
|
16388
16382
|
*/
|
|
16389
16383
|
placement: PropTypes.string,
|
|
16390
16384
|
|
|
16391
|
-
/**
|
|
16392
|
-
Specify the minimum date.
|
|
16385
|
+
/**
|
|
16386
|
+
Specify the minimum date.
|
|
16393
16387
|
*/
|
|
16394
16388
|
minDate: PropTypes.instanceOf(Date),
|
|
16395
16389
|
|
|
16396
|
-
/**
|
|
16397
|
-
Specify the maximum date.
|
|
16390
|
+
/**
|
|
16391
|
+
Specify the maximum date.
|
|
16398
16392
|
*/
|
|
16399
16393
|
maxDate: PropTypes.instanceOf(Date),
|
|
16400
16394
|
|
|
16401
|
-
/**
|
|
16402
|
-
* Invalid state input.
|
|
16395
|
+
/**
|
|
16396
|
+
* Invalid state input.
|
|
16403
16397
|
*/
|
|
16404
16398
|
isInvalid: PropTypes.bool
|
|
16405
16399
|
};
|
|
@@ -16934,7 +16928,7 @@ const removeUndefinedFields = obj => {
|
|
|
16934
16928
|
};
|
|
16935
16929
|
|
|
16936
16930
|
const _excluded$4 = ["isActive", "onClick"];
|
|
16937
|
-
var _jsxFileName$i = "
|
|
16931
|
+
var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
|
|
16938
16932
|
const PrevNextButton = styled(Text$1, {
|
|
16939
16933
|
padding: '$spacing-01',
|
|
16940
16934
|
cursor: 'pointer',
|
|
@@ -17204,7 +17198,7 @@ const PaginationButton = ({
|
|
|
17204
17198
|
};
|
|
17205
17199
|
|
|
17206
17200
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
17207
|
-
var _jsxFileName$h = "
|
|
17201
|
+
var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
|
|
17208
17202
|
const LimitContainer = styled(Flex$1, {
|
|
17209
17203
|
cursor: 'pointer'
|
|
17210
17204
|
});
|
|
@@ -17341,7 +17335,7 @@ function PaginationInfo(_ref) {
|
|
|
17341
17335
|
}
|
|
17342
17336
|
|
|
17343
17337
|
const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
|
|
17344
|
-
var _jsxFileName$g = "
|
|
17338
|
+
var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
|
|
17345
17339
|
|
|
17346
17340
|
function Pagination(_ref) {
|
|
17347
17341
|
let {
|
|
@@ -18451,7 +18445,7 @@ const TableColumn = _a => {
|
|
|
18451
18445
|
return jsx("div", {}, void 0);
|
|
18452
18446
|
};
|
|
18453
18447
|
|
|
18454
|
-
var _jsxFileName$f = "
|
|
18448
|
+
var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
|
|
18455
18449
|
|
|
18456
18450
|
const DateColumn = ({
|
|
18457
18451
|
value,
|
|
@@ -18487,11 +18481,12 @@ var uncurryThis$9 = functionUncurryThis;
|
|
|
18487
18481
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
18488
18482
|
var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
|
|
18489
18483
|
|
|
18484
|
+
var global$7 = global$U;
|
|
18490
18485
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
18491
18486
|
var toString$7 = toString$h;
|
|
18492
18487
|
var requireObjectCoercible$3 = requireObjectCoercible$a;
|
|
18493
18488
|
|
|
18494
|
-
var
|
|
18489
|
+
var RangeError$2 = global$7.RangeError;
|
|
18495
18490
|
|
|
18496
18491
|
// `String.prototype.repeat` method implementation
|
|
18497
18492
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -18499,20 +18494,21 @@ var stringRepeat = function repeat(count) {
|
|
|
18499
18494
|
var str = toString$7(requireObjectCoercible$3(this));
|
|
18500
18495
|
var result = '';
|
|
18501
18496
|
var n = toIntegerOrInfinity$3(count);
|
|
18502
|
-
if (n < 0 || n == Infinity) throw
|
|
18497
|
+
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18503
18498
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18504
18499
|
return result;
|
|
18505
18500
|
};
|
|
18506
18501
|
|
|
18507
18502
|
var $$6 = _export;
|
|
18503
|
+
var global$6 = global$U;
|
|
18508
18504
|
var uncurryThis$8 = functionUncurryThis;
|
|
18509
18505
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
18510
18506
|
var thisNumberValue = thisNumberValue$1;
|
|
18511
18507
|
var $repeat = stringRepeat;
|
|
18512
18508
|
var fails$5 = fails$t;
|
|
18513
18509
|
|
|
18514
|
-
var
|
|
18515
|
-
var $
|
|
18510
|
+
var RangeError$1 = global$6.RangeError;
|
|
18511
|
+
var String$1 = global$6.String;
|
|
18516
18512
|
var floor$3 = Math.floor;
|
|
18517
18513
|
var repeat = uncurryThis$8($repeat);
|
|
18518
18514
|
var stringSlice$6 = uncurryThis$8(''.slice);
|
|
@@ -18560,7 +18556,7 @@ var dataToString = function (data) {
|
|
|
18560
18556
|
var s = '';
|
|
18561
18557
|
while (--index >= 0) {
|
|
18562
18558
|
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
18563
|
-
var t = $
|
|
18559
|
+
var t = String$1(data[index]);
|
|
18564
18560
|
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
18565
18561
|
}
|
|
18566
18562
|
} return s;
|
|
@@ -18588,10 +18584,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
18588
18584
|
var e, z, j, k;
|
|
18589
18585
|
|
|
18590
18586
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
18591
|
-
if (fractDigits < 0 || fractDigits > 20) throw
|
|
18587
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
|
|
18592
18588
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
18593
18589
|
if (number != number) return 'NaN';
|
|
18594
|
-
if (number <= -1e21 || number >= 1e21) return $
|
|
18590
|
+
if (number <= -1e21 || number >= 1e21) return String$1(number);
|
|
18595
18591
|
if (number < 0) {
|
|
18596
18592
|
sign = '-';
|
|
18597
18593
|
number = -number;
|
|
@@ -18635,7 +18631,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
18635
18631
|
}
|
|
18636
18632
|
});
|
|
18637
18633
|
|
|
18638
|
-
var global$
|
|
18634
|
+
var global$5 = global$U;
|
|
18639
18635
|
var fails$4 = fails$t;
|
|
18640
18636
|
var uncurryThis$7 = functionUncurryThis;
|
|
18641
18637
|
var toString$6 = toString$h;
|
|
@@ -18643,8 +18639,8 @@ var trim = stringTrim.trim;
|
|
|
18643
18639
|
var whitespaces$1 = whitespaces$4;
|
|
18644
18640
|
|
|
18645
18641
|
var charAt$6 = uncurryThis$7(''.charAt);
|
|
18646
|
-
var n$ParseFloat = global$
|
|
18647
|
-
var Symbol$5 = global$
|
|
18642
|
+
var n$ParseFloat = global$5.parseFloat;
|
|
18643
|
+
var Symbol$5 = global$5.Symbol;
|
|
18648
18644
|
var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
|
|
18649
18645
|
var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
18650
18646
|
// MS Edge 18- broken with boxed symbols
|
|
@@ -19133,7 +19129,7 @@ const PriceColumn = props => {
|
|
|
19133
19129
|
return addThousandSeparator(param);
|
|
19134
19130
|
};
|
|
19135
19131
|
|
|
19136
|
-
var _jsxFileName$e = "
|
|
19132
|
+
var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
|
|
19137
19133
|
const rowExpanderColumn = {
|
|
19138
19134
|
id: 'expander',
|
|
19139
19135
|
Header: () => null,
|
|
@@ -19175,7 +19171,7 @@ const rowExpanderColumn = {
|
|
|
19175
19171
|
unsortable: true
|
|
19176
19172
|
};
|
|
19177
19173
|
|
|
19178
|
-
var _jsxFileName$d = "
|
|
19174
|
+
var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
|
|
19179
19175
|
|
|
19180
19176
|
const rowMenuColumn = (options, icon, config) => ({
|
|
19181
19177
|
id: 'menu',
|
|
@@ -19427,7 +19423,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19427
19423
|
unsortable: true
|
|
19428
19424
|
});
|
|
19429
19425
|
|
|
19430
|
-
var _jsxFileName$c = "
|
|
19426
|
+
var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
|
|
19431
19427
|
const rowSelectionColumn = {
|
|
19432
19428
|
id: 'selection',
|
|
19433
19429
|
Header: ({
|
|
@@ -19730,7 +19726,7 @@ PageDialog.defaultProps = {
|
|
|
19730
19726
|
};
|
|
19731
19727
|
|
|
19732
19728
|
const _excluded$1 = ["children"];
|
|
19733
|
-
var _jsxFileName$b = "
|
|
19729
|
+
var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
|
|
19734
19730
|
const overlayShow = keyframes({
|
|
19735
19731
|
'0%': {
|
|
19736
19732
|
opacity: 0
|
|
@@ -20329,7 +20325,7 @@ const AlertDialogCancel = ADialog.Cancel;
|
|
|
20329
20325
|
const AlertDialogConfirm = ADialog.Action;
|
|
20330
20326
|
|
|
20331
20327
|
const _excluded = ["side", "align", "children"];
|
|
20332
|
-
var _jsxFileName$a = "
|
|
20328
|
+
var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
20333
20329
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
20334
20330
|
const slideUpAndFade = keyframes({
|
|
20335
20331
|
'0%': {
|
|
@@ -20666,6 +20662,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
20666
20662
|
}
|
|
20667
20663
|
};
|
|
20668
20664
|
|
|
20665
|
+
var global$4 = global$U;
|
|
20669
20666
|
var bind$2 = functionBindContext;
|
|
20670
20667
|
var call$2 = functionCall;
|
|
20671
20668
|
var toObject = toObject$7;
|
|
@@ -20677,7 +20674,7 @@ var createProperty = createProperty$2;
|
|
|
20677
20674
|
var getIterator$1 = getIterator$3;
|
|
20678
20675
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
20679
20676
|
|
|
20680
|
-
var $
|
|
20677
|
+
var Array$1 = global$4.Array;
|
|
20681
20678
|
|
|
20682
20679
|
// `Array.from` method implementation
|
|
20683
20680
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -20692,7 +20689,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20692
20689
|
var index = 0;
|
|
20693
20690
|
var length, result, step, iterator, next, value;
|
|
20694
20691
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
20695
|
-
if (iteratorMethod && !(this
|
|
20692
|
+
if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
|
|
20696
20693
|
iterator = getIterator$1(O, iteratorMethod);
|
|
20697
20694
|
next = iterator.next;
|
|
20698
20695
|
result = IS_CONSTRUCTOR ? new this() : [];
|
|
@@ -20702,7 +20699,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20702
20699
|
}
|
|
20703
20700
|
} else {
|
|
20704
20701
|
length = lengthOfArrayLike(O);
|
|
20705
|
-
result = IS_CONSTRUCTOR ? new this(length) : $
|
|
20702
|
+
result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
|
|
20706
20703
|
for (;length > index; index++) {
|
|
20707
20704
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
20708
20705
|
createProperty(result, index, value);
|
|
@@ -20713,6 +20710,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
20713
20710
|
};
|
|
20714
20711
|
|
|
20715
20712
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
20713
|
+
var global$3 = global$U;
|
|
20716
20714
|
var uncurryThis$2 = functionUncurryThis;
|
|
20717
20715
|
|
|
20718
20716
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -20729,7 +20727,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
|
20729
20727
|
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
|
|
20730
20728
|
var baseMinusTMin = base - tMin;
|
|
20731
20729
|
|
|
20732
|
-
var
|
|
20730
|
+
var RangeError = global$3.RangeError;
|
|
20733
20731
|
var exec$1 = uncurryThis$2(regexSeparators.exec);
|
|
20734
20732
|
var floor$1 = Math.floor;
|
|
20735
20733
|
var fromCharCode = String.fromCharCode;
|
|
@@ -20844,7 +20842,7 @@ var encode = function (input) {
|
|
|
20844
20842
|
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
|
|
20845
20843
|
var handledCPCountPlusOne = handledCPCount + 1;
|
|
20846
20844
|
if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
|
|
20847
|
-
throw
|
|
20845
|
+
throw RangeError(OVERFLOW_ERROR);
|
|
20848
20846
|
}
|
|
20849
20847
|
|
|
20850
20848
|
delta += (m - n) * handledCPCountPlusOne;
|
|
@@ -20853,7 +20851,7 @@ var encode = function (input) {
|
|
|
20853
20851
|
for (i = 0; i < input.length; i++) {
|
|
20854
20852
|
currentValue = input[i];
|
|
20855
20853
|
if (currentValue < n && ++delta > maxInt) {
|
|
20856
|
-
throw
|
|
20854
|
+
throw RangeError(OVERFLOW_ERROR);
|
|
20857
20855
|
}
|
|
20858
20856
|
if (currentValue == n) {
|
|
20859
20857
|
// Represent delta as a generalized variable-length integer.
|
|
@@ -20903,7 +20901,7 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
20903
20901
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
20904
20902
|
|
|
20905
20903
|
var $$4 = _export;
|
|
20906
|
-
var global$2 = global$
|
|
20904
|
+
var global$2 = global$U;
|
|
20907
20905
|
var call$1 = functionCall;
|
|
20908
20906
|
var uncurryThis$1 = functionUncurryThis;
|
|
20909
20907
|
var DESCRIPTORS$1 = descriptors;
|
|
@@ -21265,7 +21263,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21265
21263
|
};
|
|
21266
21264
|
|
|
21267
21265
|
if (isCallable(nativeFetch)) {
|
|
21268
|
-
$$4({ global: true, enumerable: true,
|
|
21266
|
+
$$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
|
|
21269
21267
|
fetch: function fetch(input /* , init */) {
|
|
21270
21268
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
21271
21269
|
}
|
|
@@ -21281,7 +21279,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21281
21279
|
RequestPrototype.constructor = RequestConstructor;
|
|
21282
21280
|
RequestConstructor.prototype = RequestPrototype;
|
|
21283
21281
|
|
|
21284
|
-
$$4({ global: true, constructor: true,
|
|
21282
|
+
$$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
|
|
21285
21283
|
Request: RequestConstructor
|
|
21286
21284
|
});
|
|
21287
21285
|
}
|
|
@@ -21297,7 +21295,7 @@ var web_urlSearchParams_constructor = {
|
|
|
21297
21295
|
var $$3 = _export;
|
|
21298
21296
|
var DESCRIPTORS = descriptors;
|
|
21299
21297
|
var USE_NATIVE_URL = nativeUrl;
|
|
21300
|
-
var global$1 = global$
|
|
21298
|
+
var global$1 = global$U;
|
|
21301
21299
|
var bind = functionBindContext;
|
|
21302
21300
|
var uncurryThis = functionUncurryThis;
|
|
21303
21301
|
var defineBuiltIn = defineBuiltIn$b;
|
|
@@ -22441,7 +22439,7 @@ function upload({
|
|
|
22441
22439
|
return promise;
|
|
22442
22440
|
}
|
|
22443
22441
|
|
|
22444
|
-
var _jsxFileName$9 = "
|
|
22442
|
+
var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
|
|
22445
22443
|
const Input$2 = styled('input', {
|
|
22446
22444
|
display: 'none !important'
|
|
22447
22445
|
});
|
|
@@ -23630,176 +23628,176 @@ Upload.defaultProps = {
|
|
|
23630
23628
|
imageCompression: true
|
|
23631
23629
|
};
|
|
23632
23630
|
Upload.propTypes = {
|
|
23633
|
-
/**
|
|
23634
|
-
Placeholder label of upload.
|
|
23631
|
+
/**
|
|
23632
|
+
Placeholder label of upload.
|
|
23635
23633
|
*/
|
|
23636
23634
|
placeholder: PropTypes.string,
|
|
23637
23635
|
|
|
23638
|
-
/**
|
|
23639
|
-
Disabled state of upload.
|
|
23636
|
+
/**
|
|
23637
|
+
Disabled state of upload.
|
|
23640
23638
|
*/
|
|
23641
23639
|
disabled: PropTypes.bool,
|
|
23642
23640
|
|
|
23643
|
-
/**
|
|
23644
|
-
Built-in stylesheets, support for two types.
|
|
23641
|
+
/**
|
|
23642
|
+
Built-in stylesheets, support for two types.
|
|
23645
23643
|
*/
|
|
23646
23644
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
23647
23645
|
|
|
23648
|
-
/**
|
|
23649
|
-
Whether to support selected multiple file.
|
|
23646
|
+
/**
|
|
23647
|
+
Whether to support selected multiple file.
|
|
23650
23648
|
*/
|
|
23651
23649
|
multiple: PropTypes.bool,
|
|
23652
23650
|
|
|
23653
|
-
/**
|
|
23654
|
-
List of files to be uploaded.
|
|
23651
|
+
/**
|
|
23652
|
+
List of files to be uploaded.
|
|
23655
23653
|
*/
|
|
23656
23654
|
fileList: PropTypes.array,
|
|
23657
23655
|
|
|
23658
|
-
/**
|
|
23659
|
-
A callback function, can be executed when uploading state is changing.
|
|
23656
|
+
/**
|
|
23657
|
+
A callback function, can be executed when uploading state is changing.
|
|
23660
23658
|
*/
|
|
23661
23659
|
onChange: PropTypes.func,
|
|
23662
23660
|
|
|
23663
|
-
/**
|
|
23664
|
-
A callback function, can be executed when uploading in progress.
|
|
23665
|
-
`(progress) => void`
|
|
23661
|
+
/**
|
|
23662
|
+
A callback function, can be executed when uploading in progress.
|
|
23663
|
+
`(progress) => void`
|
|
23666
23664
|
*/
|
|
23667
23665
|
onProgress: PropTypes.func,
|
|
23668
23666
|
|
|
23669
|
-
/**
|
|
23670
|
-
A callback function, can be executed when uploading is success.
|
|
23671
|
-
`(response) => void`
|
|
23667
|
+
/**
|
|
23668
|
+
A callback function, can be executed when uploading is success.
|
|
23669
|
+
`(response) => void`
|
|
23672
23670
|
*/
|
|
23673
23671
|
onSuccess: PropTypes.func,
|
|
23674
23672
|
|
|
23675
|
-
/**
|
|
23676
|
-
A callback function, can be executed when uploading is error.
|
|
23677
|
-
`(error, response) => void`
|
|
23673
|
+
/**
|
|
23674
|
+
A callback function, can be executed when uploading is error.
|
|
23675
|
+
`(error, response) => void`
|
|
23678
23676
|
*/
|
|
23679
23677
|
onError: PropTypes.func,
|
|
23680
23678
|
|
|
23681
|
-
/**
|
|
23682
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
23679
|
+
/**
|
|
23680
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
23683
23681
|
*/
|
|
23684
23682
|
onPreview: PropTypes.func,
|
|
23685
23683
|
|
|
23686
|
-
/**
|
|
23687
|
-
A callback function, can be executed when remove icon is clicked.
|
|
23684
|
+
/**
|
|
23685
|
+
A callback function, can be executed when remove icon is clicked.
|
|
23688
23686
|
*/
|
|
23689
23687
|
onRemove: PropTypes.func,
|
|
23690
23688
|
|
|
23691
|
-
/**
|
|
23692
|
-
A custom element inside upload container.
|
|
23689
|
+
/**
|
|
23690
|
+
A custom element inside upload container.
|
|
23693
23691
|
*/
|
|
23694
23692
|
children: PropTypes.element,
|
|
23695
23693
|
|
|
23696
|
-
/**
|
|
23697
|
-
Limit the number of uploaded files.
|
|
23694
|
+
/**
|
|
23695
|
+
Limit the number of uploaded files.
|
|
23698
23696
|
*/
|
|
23699
23697
|
max: PropTypes.number,
|
|
23700
23698
|
|
|
23701
|
-
/**
|
|
23702
|
-
Limit the maximum image size in MB.
|
|
23699
|
+
/**
|
|
23700
|
+
Limit the maximum image size in MB.
|
|
23703
23701
|
*/
|
|
23704
23702
|
maxSizeMB: PropTypes.number,
|
|
23705
23703
|
|
|
23706
|
-
/**
|
|
23707
|
-
Limit file type of upload.
|
|
23704
|
+
/**
|
|
23705
|
+
Limit file type of upload.
|
|
23708
23706
|
*/
|
|
23709
23707
|
accept: PropTypes.string,
|
|
23710
23708
|
|
|
23711
|
-
/**
|
|
23712
|
-
Custom label for replace button.
|
|
23709
|
+
/**
|
|
23710
|
+
Custom label for replace button.
|
|
23713
23711
|
*/
|
|
23714
23712
|
replaceLabel: PropTypes.string,
|
|
23715
23713
|
|
|
23716
|
-
/**
|
|
23717
|
-
Custom width of upload container.
|
|
23714
|
+
/**
|
|
23715
|
+
Custom width of upload container.
|
|
23718
23716
|
*/
|
|
23719
23717
|
width: PropTypes.number,
|
|
23720
23718
|
|
|
23721
|
-
/**
|
|
23722
|
-
Custom height of upload container.
|
|
23719
|
+
/**
|
|
23720
|
+
Custom height of upload container.
|
|
23723
23721
|
*/
|
|
23724
23722
|
height: PropTypes.number,
|
|
23725
23723
|
|
|
23726
|
-
/**
|
|
23727
|
-
Additional css.
|
|
23724
|
+
/**
|
|
23725
|
+
Additional css.
|
|
23728
23726
|
*/
|
|
23729
23727
|
css: PropTypes.object,
|
|
23730
23728
|
|
|
23731
|
-
/**
|
|
23732
|
-
Custom title header of cropper modal.
|
|
23729
|
+
/**
|
|
23730
|
+
Custom title header of cropper modal.
|
|
23733
23731
|
*/
|
|
23734
23732
|
cropperTitle: PropTypes.string,
|
|
23735
23733
|
|
|
23736
|
-
/**
|
|
23737
|
-
Add image cropper on upload.
|
|
23734
|
+
/**
|
|
23735
|
+
Add image cropper on upload.
|
|
23738
23736
|
*/
|
|
23739
23737
|
showCropper: PropTypes.bool,
|
|
23740
23738
|
|
|
23741
|
-
/**
|
|
23742
|
-
Hidden toggle aspect ratio image cropper.
|
|
23739
|
+
/**
|
|
23740
|
+
Hidden toggle aspect ratio image cropper.
|
|
23743
23741
|
*/
|
|
23744
23742
|
hiddenToggleAspect: PropTypes.bool,
|
|
23745
23743
|
|
|
23746
|
-
/**
|
|
23747
|
-
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.
|
|
23744
|
+
/**
|
|
23745
|
+
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.
|
|
23748
23746
|
*/
|
|
23749
23747
|
ratio: PropTypes.number,
|
|
23750
23748
|
|
|
23751
|
-
/**
|
|
23752
|
-
Can set error message to the upload.
|
|
23749
|
+
/**
|
|
23750
|
+
Can set error message to the upload.
|
|
23753
23751
|
*/
|
|
23754
23752
|
errorMessage: PropTypes.string,
|
|
23755
23753
|
|
|
23756
|
-
/**
|
|
23757
|
-
Progress of upload process.
|
|
23754
|
+
/**
|
|
23755
|
+
Progress of upload process.
|
|
23758
23756
|
*/
|
|
23759
23757
|
progress: PropTypes.number,
|
|
23760
23758
|
|
|
23761
|
-
/**
|
|
23762
|
-
Auto increment progress of upload process.
|
|
23759
|
+
/**
|
|
23760
|
+
Auto increment progress of upload process.
|
|
23763
23761
|
*/
|
|
23764
23762
|
loading: PropTypes.bool,
|
|
23765
23763
|
|
|
23766
|
-
/**
|
|
23767
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
23764
|
+
/**
|
|
23765
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
23768
23766
|
*/
|
|
23769
23767
|
action: PropTypes.string,
|
|
23770
23768
|
|
|
23771
|
-
/**
|
|
23772
|
-
Custom body request to upload action.
|
|
23769
|
+
/**
|
|
23770
|
+
Custom body request to upload action.
|
|
23773
23771
|
*/
|
|
23774
23772
|
customBodyRequest: PropTypes.func,
|
|
23775
23773
|
|
|
23776
|
-
/**
|
|
23777
|
-
Contains an authentication token for upload API.
|
|
23774
|
+
/**
|
|
23775
|
+
Contains an authentication token for upload API.
|
|
23778
23776
|
*/
|
|
23779
23777
|
token: PropTypes.string,
|
|
23780
23778
|
|
|
23781
|
-
/**
|
|
23782
|
-
Referencing the headers key to attach the token.
|
|
23779
|
+
/**
|
|
23780
|
+
Referencing the headers key to attach the token.
|
|
23783
23781
|
*/
|
|
23784
23782
|
tokenKey: PropTypes.string,
|
|
23785
23783
|
|
|
23786
|
-
/**
|
|
23787
|
-
Referencing the key to attach the file to be sent.
|
|
23784
|
+
/**
|
|
23785
|
+
Referencing the key to attach the file to be sent.
|
|
23788
23786
|
*/
|
|
23789
23787
|
reqKey: PropTypes.string,
|
|
23790
23788
|
|
|
23791
|
-
/**
|
|
23792
|
-
Referencing the key to get the file from the API response.
|
|
23789
|
+
/**
|
|
23790
|
+
Referencing the key to get the file from the API response.
|
|
23793
23791
|
*/
|
|
23794
23792
|
resKey: PropTypes.string,
|
|
23795
23793
|
|
|
23796
|
-
/**
|
|
23797
|
-
To compression image if file size > 1MB.
|
|
23794
|
+
/**
|
|
23795
|
+
To compression image if file size > 1MB.
|
|
23798
23796
|
*/
|
|
23799
23797
|
imageCompression: PropTypes.bool,
|
|
23800
23798
|
|
|
23801
|
-
/**
|
|
23802
|
-
Callback to handle before crop image.
|
|
23799
|
+
/**
|
|
23800
|
+
Callback to handle before crop image.
|
|
23803
23801
|
*/
|
|
23804
23802
|
onBeforeCrop: PropTypes.func
|
|
23805
23803
|
};
|
|
@@ -24426,7 +24424,7 @@ const Device = props => {
|
|
|
24426
24424
|
|
|
24427
24425
|
Device.displayName = 'DevicePreview';
|
|
24428
24426
|
|
|
24429
|
-
var _jsxFileName$8 = "
|
|
24427
|
+
var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
|
|
24430
24428
|
const Separator$1 = styled('div', {
|
|
24431
24429
|
height: 20,
|
|
24432
24430
|
width: 1,
|
|
@@ -24538,28 +24536,28 @@ function InputColorPicker(props) {
|
|
|
24538
24536
|
|
|
24539
24537
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
24540
24538
|
InputColorPicker.propTypes = {
|
|
24541
|
-
/**
|
|
24542
|
-
Color code to be displayed.
|
|
24539
|
+
/**
|
|
24540
|
+
Color code to be displayed.
|
|
24543
24541
|
*/
|
|
24544
24542
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
24545
24543
|
|
|
24546
|
-
/**
|
|
24547
|
-
Additional color list.
|
|
24544
|
+
/**
|
|
24545
|
+
Additional color list.
|
|
24548
24546
|
*/
|
|
24549
24547
|
presetColors: PropTypes.array,
|
|
24550
24548
|
|
|
24551
|
-
/**
|
|
24552
|
-
Change event handler.
|
|
24549
|
+
/**
|
|
24550
|
+
Change event handler.
|
|
24553
24551
|
*/
|
|
24554
24552
|
onChange: PropTypes.func,
|
|
24555
24553
|
|
|
24556
|
-
/**
|
|
24557
|
-
Add preset color event handler.
|
|
24554
|
+
/**
|
|
24555
|
+
Add preset color event handler.
|
|
24558
24556
|
*/
|
|
24559
24557
|
onAddColor: PropTypes.func,
|
|
24560
24558
|
|
|
24561
|
-
/**
|
|
24562
|
-
Disable opacity selector.
|
|
24559
|
+
/**
|
|
24560
|
+
Disable opacity selector.
|
|
24563
24561
|
*/
|
|
24564
24562
|
disableAlpha: PropTypes.bool
|
|
24565
24563
|
};
|
|
@@ -24569,7 +24567,7 @@ InputColorPicker.defaultProps = {
|
|
|
24569
24567
|
|
|
24570
24568
|
var img$d = "data:image/gif;base64,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";
|
|
24571
24569
|
|
|
24572
|
-
var _jsxFileName$7 = "
|
|
24570
|
+
var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
|
|
24573
24571
|
const Container$7 = styled('div', {
|
|
24574
24572
|
userSelect: 'none',
|
|
24575
24573
|
margin: 'auto',
|
|
@@ -26533,7 +26531,7 @@ function ColorMap({
|
|
|
26533
26531
|
})));
|
|
26534
26532
|
}
|
|
26535
26533
|
|
|
26536
|
-
var _jsxFileName$6 = "
|
|
26534
|
+
var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
|
|
26537
26535
|
const CheckBoard = styled(Flex$1, {
|
|
26538
26536
|
background: '$bgwhite',
|
|
26539
26537
|
border: '1px solid #E5E7EB',
|
|
@@ -26734,7 +26732,7 @@ function ColorFields({
|
|
|
26734
26732
|
}, "%")));
|
|
26735
26733
|
}
|
|
26736
26734
|
|
|
26737
|
-
var _jsxFileName$5 = "
|
|
26735
|
+
var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
|
|
26738
26736
|
const Container$6 = styled(Flex$1, {
|
|
26739
26737
|
background: '$white',
|
|
26740
26738
|
padding: 16,
|
|
@@ -27237,28 +27235,28 @@ function ColorPicker({
|
|
|
27237
27235
|
}
|
|
27238
27236
|
|
|
27239
27237
|
ColorPicker.propTypes = {
|
|
27240
|
-
/**
|
|
27241
|
-
Color code to be displayed.
|
|
27238
|
+
/**
|
|
27239
|
+
Color code to be displayed.
|
|
27242
27240
|
*/
|
|
27243
27241
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
27244
27242
|
|
|
27245
|
-
/**
|
|
27246
|
-
Additional color list
|
|
27243
|
+
/**
|
|
27244
|
+
Additional color list
|
|
27247
27245
|
*/
|
|
27248
27246
|
presetColors: PropTypes.array,
|
|
27249
27247
|
|
|
27250
|
-
/**
|
|
27251
|
-
Change event handler
|
|
27248
|
+
/**
|
|
27249
|
+
Change event handler
|
|
27252
27250
|
*/
|
|
27253
27251
|
onChange: PropTypes.func,
|
|
27254
27252
|
|
|
27255
|
-
/**
|
|
27256
|
-
Add preset color event handler
|
|
27253
|
+
/**
|
|
27254
|
+
Add preset color event handler
|
|
27257
27255
|
*/
|
|
27258
27256
|
onAddColor: PropTypes.func,
|
|
27259
27257
|
|
|
27260
|
-
/**
|
|
27261
|
-
Disable opacity selector
|
|
27258
|
+
/**
|
|
27259
|
+
Disable opacity selector
|
|
27262
27260
|
*/
|
|
27263
27261
|
disableAlpha: PropTypes.bool
|
|
27264
27262
|
};
|
|
@@ -27267,7 +27265,7 @@ ColorPicker.defaultProps = {
|
|
|
27267
27265
|
};
|
|
27268
27266
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
27269
27267
|
|
|
27270
|
-
var _jsxFileName$4 = "
|
|
27268
|
+
var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
|
|
27271
27269
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
27272
27270
|
const Stepper = StepWizard$1;
|
|
27273
27271
|
Stepper.displayName = 'Stepper';
|
|
@@ -27748,7 +27746,7 @@ const StepWizard = props => {
|
|
|
27748
27746
|
}), void 0);
|
|
27749
27747
|
};
|
|
27750
27748
|
|
|
27751
|
-
var _jsxFileName$3 = "
|
|
27749
|
+
var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
27752
27750
|
|
|
27753
27751
|
function Collapse({
|
|
27754
27752
|
children,
|
|
@@ -27793,7 +27791,7 @@ Collapse.defaultProps = {
|
|
|
27793
27791
|
isOpen: false
|
|
27794
27792
|
};
|
|
27795
27793
|
|
|
27796
|
-
var _jsxFileName$2 = "
|
|
27794
|
+
var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
|
|
27797
27795
|
const DesktopContainer = styled(Flex$1, {
|
|
27798
27796
|
display: 'none',
|
|
27799
27797
|
'& .active-scroll-spy': {
|
|
@@ -28079,23 +28077,23 @@ TableOfContent.defaultProps = {
|
|
|
28079
28077
|
isDialog: false
|
|
28080
28078
|
};
|
|
28081
28079
|
TableOfContent.propTypes = {
|
|
28082
|
-
/**
|
|
28083
|
-
List of contents containing the title and id of a content.
|
|
28080
|
+
/**
|
|
28081
|
+
List of contents containing the title and id of a content.
|
|
28084
28082
|
*/
|
|
28085
28083
|
content: PropTypes.array,
|
|
28086
28084
|
|
|
28087
|
-
/**
|
|
28088
|
-
Components devoted to mobile viewing only.
|
|
28085
|
+
/**
|
|
28086
|
+
Components devoted to mobile viewing only.
|
|
28089
28087
|
*/
|
|
28090
28088
|
isMobile: PropTypes.bool,
|
|
28091
28089
|
|
|
28092
|
-
/**
|
|
28093
|
-
Condition when table of content is inside a component dialog.
|
|
28090
|
+
/**
|
|
28091
|
+
Condition when table of content is inside a component dialog.
|
|
28094
28092
|
*/
|
|
28095
28093
|
isDialog: PropTypes.bool,
|
|
28096
28094
|
|
|
28097
|
-
/**
|
|
28098
|
-
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28095
|
+
/**
|
|
28096
|
+
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28099
28097
|
*/
|
|
28100
28098
|
activeId: PropTypes.string
|
|
28101
28099
|
};
|
|
@@ -28115,7 +28113,7 @@ TableOfContentPage.defaultProps = {
|
|
|
28115
28113
|
useBoxMethod: true
|
|
28116
28114
|
};
|
|
28117
28115
|
|
|
28118
|
-
var _jsxFileName$1 = "
|
|
28116
|
+
var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
|
|
28119
28117
|
|
|
28120
28118
|
function Collapalse({
|
|
28121
28119
|
children,
|
|
@@ -31478,10 +31476,13 @@ function Skeleton(props) {
|
|
|
31478
31476
|
color: "primary",
|
|
31479
31477
|
width: isDesktop ? '20%' : '30%'
|
|
31480
31478
|
}, void 0), jsx(Card, Object.assign({
|
|
31479
|
+
showBottomLine: false,
|
|
31481
31480
|
css: {
|
|
31482
|
-
flex: 1
|
|
31483
|
-
|
|
31484
|
-
|
|
31481
|
+
flex: 1,
|
|
31482
|
+
padding: '$spacing-08 80px $spacing-08 $spacing-08',
|
|
31483
|
+
background: '$bgWhite',
|
|
31484
|
+
boxShadow: '0px 7px 15px rgba(0, 0, 0, 0.07)'
|
|
31485
|
+
}
|
|
31485
31486
|
}, {
|
|
31486
31487
|
children: jsxs(Grid, Object.assign({
|
|
31487
31488
|
columns: 6,
|
|
@@ -31523,7 +31524,7 @@ function Skeleton(props) {
|
|
|
31523
31524
|
}), void 0);
|
|
31524
31525
|
}
|
|
31525
31526
|
|
|
31526
|
-
var _jsxFileName = "
|
|
31527
|
+
var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
|
|
31527
31528
|
const StyledPaper = styled(Paper, {
|
|
31528
31529
|
borderRadius: '10px 10px 0 0',
|
|
31529
31530
|
padding: 15,
|