@majoo-ui/react 1.54.12 → 1.54.13
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/modalDialog/ModalDialog.d.ts +24 -8
- package/index.esm.css +1295 -1308
- package/index.esm.js +599 -578
- package/index.umd.css +1295 -1308
- package/index.umd.js +599 -578
- 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 = "/home/alfiantryp/Project/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$s =
|
|
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,31 +172,28 @@ 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;
|
|
176
175
|
var uncurryThis$v = functionUncurryThis;
|
|
177
176
|
var fails$q = fails$t;
|
|
178
177
|
var classof$8 = classofRaw$1;
|
|
179
178
|
|
|
180
|
-
var Object$
|
|
179
|
+
var $Object$4 = Object;
|
|
181
180
|
var split$3 = uncurryThis$v(''.split);
|
|
182
181
|
|
|
183
182
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
184
183
|
var indexedObject = fails$q(function () {
|
|
185
184
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
186
185
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
187
|
-
return
|
|
186
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
188
187
|
}) ? function (it) {
|
|
189
|
-
return classof$8(it) == 'String' ? split$3(it, '') : Object$
|
|
190
|
-
} : Object$
|
|
188
|
+
return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
|
|
189
|
+
} : $Object$4;
|
|
191
190
|
|
|
192
|
-
var
|
|
193
|
-
|
|
194
|
-
var TypeError$j = global$S.TypeError;
|
|
191
|
+
var $TypeError$f = TypeError;
|
|
195
192
|
|
|
196
193
|
// `RequireObjectCoercible` abstract operation
|
|
197
194
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
198
195
|
var requireObjectCoercible$a = function (it) {
|
|
199
|
-
if (it == undefined) throw TypeError$
|
|
196
|
+
if (it == undefined) throw $TypeError$f("Can't call method on " + it);
|
|
200
197
|
return it;
|
|
201
198
|
};
|
|
202
199
|
|
|
@@ -220,7 +217,7 @@ var isObject$d = function (it) {
|
|
|
220
217
|
return typeof it == 'object' ? it !== null : isCallable$o(it);
|
|
221
218
|
};
|
|
222
219
|
|
|
223
|
-
var global$
|
|
220
|
+
var global$r = global$s;
|
|
224
221
|
var isCallable$n = isCallable$p;
|
|
225
222
|
|
|
226
223
|
var aFunction = function (argument) {
|
|
@@ -228,7 +225,7 @@ var aFunction = function (argument) {
|
|
|
228
225
|
};
|
|
229
226
|
|
|
230
227
|
var getBuiltIn$8 = function (namespace, method) {
|
|
231
|
-
return arguments.length < 2 ? aFunction(global$
|
|
228
|
+
return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
|
|
232
229
|
};
|
|
233
230
|
|
|
234
231
|
var uncurryThis$u = functionUncurryThis;
|
|
@@ -239,11 +236,11 @@ var getBuiltIn$7 = getBuiltIn$8;
|
|
|
239
236
|
|
|
240
237
|
var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
|
|
241
238
|
|
|
242
|
-
var global$
|
|
239
|
+
var global$q = global$s;
|
|
243
240
|
var userAgent$5 = engineUserAgent;
|
|
244
241
|
|
|
245
|
-
var process$3 = global$
|
|
246
|
-
var Deno$1 = global$
|
|
242
|
+
var process$3 = global$q.process;
|
|
243
|
+
var Deno$1 = global$q.Deno;
|
|
247
244
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
248
245
|
var v8 = versions && versions.v8;
|
|
249
246
|
var match, version;
|
|
@@ -290,43 +287,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
290
287
|
&& !Symbol.sham
|
|
291
288
|
&& typeof Symbol.iterator == 'symbol';
|
|
292
289
|
|
|
293
|
-
var global$P = global$U;
|
|
294
290
|
var getBuiltIn$6 = getBuiltIn$8;
|
|
295
291
|
var isCallable$m = isCallable$p;
|
|
296
292
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
297
293
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
298
294
|
|
|
299
|
-
var Object$
|
|
295
|
+
var $Object$3 = Object;
|
|
300
296
|
|
|
301
297
|
var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
302
298
|
return typeof it == 'symbol';
|
|
303
299
|
} : function (it) {
|
|
304
300
|
var $Symbol = getBuiltIn$6('Symbol');
|
|
305
|
-
return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$
|
|
301
|
+
return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
|
|
306
302
|
};
|
|
307
303
|
|
|
308
|
-
var
|
|
309
|
-
|
|
310
|
-
var String$6 = global$O.String;
|
|
304
|
+
var $String$4 = String;
|
|
311
305
|
|
|
312
|
-
var tryToString$
|
|
306
|
+
var tryToString$5 = function (argument) {
|
|
313
307
|
try {
|
|
314
|
-
return String$
|
|
308
|
+
return $String$4(argument);
|
|
315
309
|
} catch (error) {
|
|
316
310
|
return 'Object';
|
|
317
311
|
}
|
|
318
312
|
};
|
|
319
313
|
|
|
320
|
-
var global$N = global$U;
|
|
321
314
|
var isCallable$l = isCallable$p;
|
|
322
|
-
var tryToString$
|
|
315
|
+
var tryToString$4 = tryToString$5;
|
|
323
316
|
|
|
324
|
-
var TypeError$
|
|
317
|
+
var $TypeError$e = TypeError;
|
|
325
318
|
|
|
326
319
|
// `Assert: IsCallable(argument) is true`
|
|
327
320
|
var aCallable$9 = function (argument) {
|
|
328
321
|
if (isCallable$l(argument)) return argument;
|
|
329
|
-
throw TypeError$
|
|
322
|
+
throw $TypeError$e(tryToString$4(argument) + ' is not a function');
|
|
330
323
|
};
|
|
331
324
|
|
|
332
325
|
var aCallable$8 = aCallable$9;
|
|
@@ -338,12 +331,11 @@ var getMethod$6 = function (V, P) {
|
|
|
338
331
|
return func == null ? undefined : aCallable$8(func);
|
|
339
332
|
};
|
|
340
333
|
|
|
341
|
-
var global$M = global$U;
|
|
342
334
|
var call$l = functionCall;
|
|
343
335
|
var isCallable$k = isCallable$p;
|
|
344
336
|
var isObject$c = isObject$d;
|
|
345
337
|
|
|
346
|
-
var TypeError$
|
|
338
|
+
var $TypeError$d = TypeError;
|
|
347
339
|
|
|
348
340
|
// `OrdinaryToPrimitive` abstract operation
|
|
349
341
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -352,31 +344,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
352
344
|
if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
|
|
353
345
|
if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
|
|
354
346
|
if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
|
|
355
|
-
throw TypeError$
|
|
347
|
+
throw $TypeError$d("Can't convert object to primitive value");
|
|
356
348
|
};
|
|
357
349
|
|
|
358
350
|
var shared$4 = {exports: {}};
|
|
359
351
|
|
|
360
352
|
var isPure = false;
|
|
361
353
|
|
|
362
|
-
var global$
|
|
354
|
+
var global$p = global$s;
|
|
363
355
|
|
|
364
356
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
365
|
-
var defineProperty$
|
|
357
|
+
var defineProperty$8 = Object.defineProperty;
|
|
366
358
|
|
|
367
|
-
var
|
|
359
|
+
var defineGlobalProperty$3 = function (key, value) {
|
|
368
360
|
try {
|
|
369
|
-
defineProperty$
|
|
361
|
+
defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
|
|
370
362
|
} catch (error) {
|
|
371
|
-
global$
|
|
363
|
+
global$p[key] = value;
|
|
372
364
|
} return value;
|
|
373
365
|
};
|
|
374
366
|
|
|
375
|
-
var global$
|
|
376
|
-
var
|
|
367
|
+
var global$o = global$s;
|
|
368
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
377
369
|
|
|
378
370
|
var SHARED = '__core-js_shared__';
|
|
379
|
-
var store$3 = global$
|
|
371
|
+
var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
380
372
|
|
|
381
373
|
var sharedStore = store$3;
|
|
382
374
|
|
|
@@ -385,22 +377,21 @@ var store$2 = sharedStore;
|
|
|
385
377
|
(shared$4.exports = function (key, value) {
|
|
386
378
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
387
379
|
})('versions', []).push({
|
|
388
|
-
version: '3.
|
|
380
|
+
version: '3.24.1',
|
|
389
381
|
mode: 'global',
|
|
390
382
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
391
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
383
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
|
|
392
384
|
source: 'https://github.com/zloirock/core-js'
|
|
393
385
|
});
|
|
394
386
|
|
|
395
|
-
var global$J = global$U;
|
|
396
387
|
var requireObjectCoercible$8 = requireObjectCoercible$a;
|
|
397
388
|
|
|
398
|
-
var Object$
|
|
389
|
+
var $Object$2 = Object;
|
|
399
390
|
|
|
400
391
|
// `ToObject` abstract operation
|
|
401
392
|
// https://tc39.es/ecma262/#sec-toobject
|
|
402
393
|
var toObject$7 = function (argument) {
|
|
403
|
-
return Object$
|
|
394
|
+
return $Object$2(requireObjectCoercible$8(argument));
|
|
404
395
|
};
|
|
405
396
|
|
|
406
397
|
var uncurryThis$t = functionUncurryThis;
|
|
@@ -425,7 +416,7 @@ var uid$2 = function (key) {
|
|
|
425
416
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
|
|
426
417
|
};
|
|
427
418
|
|
|
428
|
-
var global$
|
|
419
|
+
var global$n = global$s;
|
|
429
420
|
var shared$3 = shared$4.exports;
|
|
430
421
|
var hasOwn$e = hasOwnProperty_1;
|
|
431
422
|
var uid$1 = uid$2;
|
|
@@ -433,7 +424,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
|
433
424
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
434
425
|
|
|
435
426
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
436
|
-
var Symbol$7 = global$
|
|
427
|
+
var Symbol$7 = global$n.Symbol;
|
|
437
428
|
var symbolFor = Symbol$7 && Symbol$7['for'];
|
|
438
429
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
|
|
439
430
|
|
|
@@ -450,7 +441,6 @@ var wellKnownSymbol$l = function (name) {
|
|
|
450
441
|
} return WellKnownSymbolsStore[name];
|
|
451
442
|
};
|
|
452
443
|
|
|
453
|
-
var global$H = global$U;
|
|
454
444
|
var call$k = functionCall;
|
|
455
445
|
var isObject$b = isObject$d;
|
|
456
446
|
var isSymbol$5 = isSymbol$6;
|
|
@@ -458,7 +448,7 @@ var getMethod$5 = getMethod$6;
|
|
|
458
448
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
459
449
|
var wellKnownSymbol$k = wellKnownSymbol$l;
|
|
460
450
|
|
|
461
|
-
var TypeError$
|
|
451
|
+
var $TypeError$c = TypeError;
|
|
462
452
|
var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
|
|
463
453
|
|
|
464
454
|
// `ToPrimitive` abstract operation
|
|
@@ -471,7 +461,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
471
461
|
if (pref === undefined) pref = 'default';
|
|
472
462
|
result = call$k(exoticToPrim, input, pref);
|
|
473
463
|
if (!isObject$b(result) || isSymbol$5(result)) return result;
|
|
474
|
-
throw TypeError$
|
|
464
|
+
throw $TypeError$c("Can't convert object to primitive value");
|
|
475
465
|
}
|
|
476
466
|
if (pref === undefined) pref = 'number';
|
|
477
467
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -487,10 +477,10 @@ var toPropertyKey$3 = function (argument) {
|
|
|
487
477
|
return isSymbol$4(key) ? key : key + '';
|
|
488
478
|
};
|
|
489
479
|
|
|
490
|
-
var global$
|
|
480
|
+
var global$m = global$s;
|
|
491
481
|
var isObject$a = isObject$d;
|
|
492
482
|
|
|
493
|
-
var document$3 = global$
|
|
483
|
+
var document$3 = global$m.document;
|
|
494
484
|
// typeof document.createElement is 'object' in old IE
|
|
495
485
|
var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
|
|
496
486
|
|
|
@@ -548,26 +538,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$n(function () {
|
|
|
548
538
|
}).prototype != 42;
|
|
549
539
|
});
|
|
550
540
|
|
|
551
|
-
var global$F = global$U;
|
|
552
541
|
var isObject$9 = isObject$d;
|
|
553
542
|
|
|
554
|
-
var String$
|
|
555
|
-
var TypeError$
|
|
543
|
+
var $String$3 = String;
|
|
544
|
+
var $TypeError$b = TypeError;
|
|
556
545
|
|
|
557
546
|
// `Assert: Type(argument) is Object`
|
|
558
547
|
var anObject$i = function (argument) {
|
|
559
548
|
if (isObject$9(argument)) return argument;
|
|
560
|
-
throw TypeError$
|
|
549
|
+
throw $TypeError$b($String$3(argument) + ' is not an object');
|
|
561
550
|
};
|
|
562
551
|
|
|
563
|
-
var global$E = global$U;
|
|
564
552
|
var DESCRIPTORS$b = descriptors;
|
|
565
553
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
566
554
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
567
555
|
var anObject$h = anObject$i;
|
|
568
556
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
569
557
|
|
|
570
|
-
var TypeError$
|
|
558
|
+
var $TypeError$a = TypeError;
|
|
571
559
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
572
560
|
var $defineProperty = Object.defineProperty;
|
|
573
561
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -600,7 +588,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
600
588
|
if (IE8_DOM_DEFINE) try {
|
|
601
589
|
return $defineProperty(O, P, Attributes);
|
|
602
590
|
} catch (error) { /* empty */ }
|
|
603
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
591
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
|
|
604
592
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
605
593
|
return O;
|
|
606
594
|
};
|
|
@@ -609,7 +597,7 @@ var DESCRIPTORS$a = descriptors;
|
|
|
609
597
|
var definePropertyModule$5 = objectDefineProperty;
|
|
610
598
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
611
599
|
|
|
612
|
-
var createNonEnumerableProperty$
|
|
600
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
|
|
613
601
|
return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
|
|
614
602
|
} : function (object, key, value) {
|
|
615
603
|
object[key] = value;
|
|
@@ -651,11 +639,11 @@ if (!isCallable$j(store$1.inspectSource)) {
|
|
|
651
639
|
|
|
652
640
|
var inspectSource$4 = store$1.inspectSource;
|
|
653
641
|
|
|
654
|
-
var global$
|
|
642
|
+
var global$l = global$s;
|
|
655
643
|
var isCallable$i = isCallable$p;
|
|
656
644
|
var inspectSource$3 = inspectSource$4;
|
|
657
645
|
|
|
658
|
-
var WeakMap$1 = global$
|
|
646
|
+
var WeakMap$1 = global$l.WeakMap;
|
|
659
647
|
|
|
660
648
|
var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
|
|
661
649
|
|
|
@@ -671,18 +659,18 @@ var sharedKey$3 = function (key) {
|
|
|
671
659
|
var hiddenKeys$4 = {};
|
|
672
660
|
|
|
673
661
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
674
|
-
var global$
|
|
662
|
+
var global$k = global$s;
|
|
675
663
|
var uncurryThis$q = functionUncurryThis;
|
|
676
664
|
var isObject$8 = isObject$d;
|
|
677
|
-
var createNonEnumerableProperty$
|
|
665
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
678
666
|
var hasOwn$b = hasOwnProperty_1;
|
|
679
667
|
var shared$1 = sharedStore;
|
|
680
668
|
var sharedKey$2 = sharedKey$3;
|
|
681
669
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
682
670
|
|
|
683
671
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
684
|
-
var TypeError$
|
|
685
|
-
var WeakMap = global$
|
|
672
|
+
var TypeError$4 = global$k.TypeError;
|
|
673
|
+
var WeakMap = global$k.WeakMap;
|
|
686
674
|
var set$1, get$1, has;
|
|
687
675
|
|
|
688
676
|
var enforce = function (it) {
|
|
@@ -693,7 +681,7 @@ var getterFor = function (TYPE) {
|
|
|
693
681
|
return function (it) {
|
|
694
682
|
var state;
|
|
695
683
|
if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
|
|
696
|
-
throw TypeError$
|
|
684
|
+
throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
|
|
697
685
|
} return state;
|
|
698
686
|
};
|
|
699
687
|
};
|
|
@@ -704,7 +692,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
704
692
|
var wmhas = uncurryThis$q(store.has);
|
|
705
693
|
var wmset = uncurryThis$q(store.set);
|
|
706
694
|
set$1 = function (it, metadata) {
|
|
707
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
695
|
+
if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
|
|
708
696
|
metadata.facade = it;
|
|
709
697
|
wmset(store, it, metadata);
|
|
710
698
|
return metadata;
|
|
@@ -719,9 +707,9 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
719
707
|
var STATE = sharedKey$2('state');
|
|
720
708
|
hiddenKeys$3[STATE] = true;
|
|
721
709
|
set$1 = function (it, metadata) {
|
|
722
|
-
if (hasOwn$b(it, STATE)) throw new TypeError$
|
|
710
|
+
if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
|
|
723
711
|
metadata.facade = it;
|
|
724
|
-
createNonEnumerableProperty$
|
|
712
|
+
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
725
713
|
return metadata;
|
|
726
714
|
};
|
|
727
715
|
get$1 = function (it) {
|
|
@@ -751,10 +739,10 @@ var InternalStateModule$5 = internalState;
|
|
|
751
739
|
var enforceInternalState$1 = InternalStateModule$5.enforce;
|
|
752
740
|
var getInternalState$3 = InternalStateModule$5.get;
|
|
753
741
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
754
|
-
var defineProperty$
|
|
742
|
+
var defineProperty$7 = Object.defineProperty;
|
|
755
743
|
|
|
756
744
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
|
|
757
|
-
return defineProperty$
|
|
745
|
+
return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
758
746
|
});
|
|
759
747
|
|
|
760
748
|
var TEMPLATE = String(String).split('String');
|
|
@@ -766,16 +754,18 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
766
754
|
if (options && options.getter) name = 'get ' + name;
|
|
767
755
|
if (options && options.setter) name = 'set ' + name;
|
|
768
756
|
if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
769
|
-
defineProperty$
|
|
757
|
+
if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
|
|
758
|
+
else value.name = name;
|
|
770
759
|
}
|
|
771
760
|
if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
|
|
772
|
-
defineProperty$
|
|
761
|
+
defineProperty$7(value, 'length', { value: options.arity });
|
|
773
762
|
}
|
|
774
|
-
|
|
775
|
-
if (
|
|
776
|
-
defineProperty$
|
|
777
|
-
|
|
778
|
-
|
|
763
|
+
try {
|
|
764
|
+
if (options && hasOwn$a(options, 'constructor') && options.constructor) {
|
|
765
|
+
if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
|
|
766
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
767
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
768
|
+
} catch (error) { /* empty */ }
|
|
779
769
|
var state = enforceInternalState$1(value);
|
|
780
770
|
if (!hasOwn$a(state, 'source')) {
|
|
781
771
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
@@ -788,30 +778,32 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
|
788
778
|
return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
|
|
789
779
|
}, 'toString');
|
|
790
780
|
|
|
791
|
-
var global$B = global$U;
|
|
792
781
|
var isCallable$g = isCallable$p;
|
|
793
|
-
var
|
|
782
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
794
783
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
795
|
-
var
|
|
784
|
+
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
796
785
|
|
|
797
786
|
var defineBuiltIn$b = function (O, key, value, options) {
|
|
798
|
-
|
|
799
|
-
var simple = options
|
|
800
|
-
var
|
|
801
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
787
|
+
if (!options) options = {};
|
|
788
|
+
var simple = options.enumerable;
|
|
789
|
+
var name = options.name !== undefined ? options.name : key;
|
|
802
790
|
if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
|
|
803
|
-
if (
|
|
791
|
+
if (options.global) {
|
|
804
792
|
if (simple) O[key] = value;
|
|
805
|
-
else
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
793
|
+
else defineGlobalProperty$1(key, value);
|
|
794
|
+
} else {
|
|
795
|
+
try {
|
|
796
|
+
if (!options.unsafe) delete O[key];
|
|
797
|
+
else if (O[key]) simple = true;
|
|
798
|
+
} catch (error) { /* empty */ }
|
|
799
|
+
if (simple) O[key] = value;
|
|
800
|
+
else definePropertyModule$4.f(O, key, {
|
|
801
|
+
value: value,
|
|
802
|
+
enumerable: false,
|
|
803
|
+
configurable: !options.nonConfigurable,
|
|
804
|
+
writable: !options.nonWritable
|
|
805
|
+
});
|
|
806
|
+
} return O;
|
|
815
807
|
};
|
|
816
808
|
|
|
817
809
|
var objectGetOwnPropertyNames = {};
|
|
@@ -819,12 +811,22 @@ var objectGetOwnPropertyNames = {};
|
|
|
819
811
|
var ceil = Math.ceil;
|
|
820
812
|
var floor$5 = Math.floor;
|
|
821
813
|
|
|
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
|
+
|
|
822
824
|
// `ToIntegerOrInfinity` abstract operation
|
|
823
825
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
824
826
|
var toIntegerOrInfinity$6 = function (argument) {
|
|
825
827
|
var number = +argument;
|
|
826
|
-
// eslint-disable-next-line no-self-compare --
|
|
827
|
-
return number !== number || number === 0 ? 0 : (number
|
|
828
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
829
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
828
830
|
};
|
|
829
831
|
|
|
830
832
|
var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
|
|
@@ -958,11 +960,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
958
960
|
var hasOwn$8 = hasOwnProperty_1;
|
|
959
961
|
var ownKeys = ownKeys$1;
|
|
960
962
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
961
|
-
var definePropertyModule$
|
|
963
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
962
964
|
|
|
963
965
|
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
964
966
|
var keys = ownKeys(source);
|
|
965
|
-
var defineProperty = definePropertyModule$
|
|
967
|
+
var defineProperty = definePropertyModule$3.f;
|
|
966
968
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
967
969
|
for (var i = 0; i < keys.length; i++) {
|
|
968
970
|
var key = keys[i];
|
|
@@ -995,28 +997,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
995
997
|
|
|
996
998
|
var isForced_1 = isForced$3;
|
|
997
999
|
|
|
998
|
-
var global$
|
|
1000
|
+
var global$j = global$s;
|
|
999
1001
|
var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
|
|
1000
|
-
var createNonEnumerableProperty$4 = createNonEnumerableProperty$
|
|
1002
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
1001
1003
|
var defineBuiltIn$a = defineBuiltIn$b;
|
|
1002
|
-
var
|
|
1004
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1003
1005
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1004
1006
|
var isForced$2 = isForced_1;
|
|
1005
1007
|
|
|
1006
1008
|
/*
|
|
1007
|
-
options.target
|
|
1008
|
-
options.global
|
|
1009
|
-
options.stat
|
|
1010
|
-
options.proto
|
|
1011
|
-
options.real
|
|
1012
|
-
options.forced
|
|
1013
|
-
options.bind
|
|
1014
|
-
options.wrap
|
|
1015
|
-
options.unsafe
|
|
1016
|
-
options.sham
|
|
1017
|
-
options.enumerable
|
|
1018
|
-
options.
|
|
1019
|
-
options.name
|
|
1009
|
+
options.target - name of the target object
|
|
1010
|
+
options.global - target is the global object
|
|
1011
|
+
options.stat - export as static methods of target
|
|
1012
|
+
options.proto - export as prototype methods of target
|
|
1013
|
+
options.real - real prototype method for the `pure` version
|
|
1014
|
+
options.forced - export even if the native feature is available
|
|
1015
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
1016
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1017
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1018
|
+
options.sham - add a flag to not completely full polyfills
|
|
1019
|
+
options.enumerable - export as enumerable property
|
|
1020
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
1021
|
+
options.name - the .name of the function if it does not match the key
|
|
1020
1022
|
*/
|
|
1021
1023
|
var _export = function (options, source) {
|
|
1022
1024
|
var TARGET = options.target;
|
|
@@ -1024,15 +1026,15 @@ var _export = function (options, source) {
|
|
|
1024
1026
|
var STATIC = options.stat;
|
|
1025
1027
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1026
1028
|
if (GLOBAL) {
|
|
1027
|
-
target = global$
|
|
1029
|
+
target = global$j;
|
|
1028
1030
|
} else if (STATIC) {
|
|
1029
|
-
target = global$
|
|
1031
|
+
target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1030
1032
|
} else {
|
|
1031
|
-
target = (global$
|
|
1033
|
+
target = (global$j[TARGET] || {}).prototype;
|
|
1032
1034
|
}
|
|
1033
1035
|
if (target) for (key in source) {
|
|
1034
1036
|
sourceProperty = source[key];
|
|
1035
|
-
if (options.
|
|
1037
|
+
if (options.dontCallGetSet) {
|
|
1036
1038
|
descriptor = getOwnPropertyDescriptor$3(target, key);
|
|
1037
1039
|
targetProperty = descriptor && descriptor.value;
|
|
1038
1040
|
} else targetProperty = target[key];
|
|
@@ -1073,17 +1075,17 @@ var IndexedObject$1 = indexedObject;
|
|
|
1073
1075
|
// eslint-disable-next-line es-x/no-object-assign -- safe
|
|
1074
1076
|
var $assign = Object.assign;
|
|
1075
1077
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1076
|
-
var defineProperty$
|
|
1078
|
+
var defineProperty$6 = Object.defineProperty;
|
|
1077
1079
|
var concat$1 = uncurryThis$n([].concat);
|
|
1078
1080
|
|
|
1079
1081
|
// `Object.assign` method
|
|
1080
1082
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1081
1083
|
var objectAssign = !$assign || fails$k(function () {
|
|
1082
1084
|
// should have correct order of operations (Edge bug)
|
|
1083
|
-
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$
|
|
1085
|
+
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
|
|
1084
1086
|
enumerable: true,
|
|
1085
1087
|
get: function () {
|
|
1086
|
-
defineProperty$
|
|
1088
|
+
defineProperty$6(this, 'b', {
|
|
1087
1089
|
value: 3,
|
|
1088
1090
|
enumerable: false
|
|
1089
1091
|
});
|
|
@@ -1403,7 +1405,7 @@ var objectDefineProperties = {};
|
|
|
1403
1405
|
|
|
1404
1406
|
var DESCRIPTORS$6 = descriptors;
|
|
1405
1407
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1406
|
-
var definePropertyModule$
|
|
1408
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1407
1409
|
var anObject$f = anObject$i;
|
|
1408
1410
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1409
1411
|
var objectKeys = objectKeys$2;
|
|
@@ -1418,7 +1420,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1418
1420
|
var length = keys.length;
|
|
1419
1421
|
var index = 0;
|
|
1420
1422
|
var key;
|
|
1421
|
-
while (length > index) definePropertyModule$
|
|
1423
|
+
while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
|
|
1422
1424
|
return O;
|
|
1423
1425
|
};
|
|
1424
1426
|
|
|
@@ -1513,7 +1515,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1513
1515
|
|
|
1514
1516
|
var wellKnownSymbol$j = wellKnownSymbol$l;
|
|
1515
1517
|
var create$3 = objectCreate;
|
|
1516
|
-
var
|
|
1518
|
+
var defineProperty$5 = objectDefineProperty.f;
|
|
1517
1519
|
|
|
1518
1520
|
var UNSCOPABLES = wellKnownSymbol$j('unscopables');
|
|
1519
1521
|
var ArrayPrototype$1 = Array.prototype;
|
|
@@ -1521,7 +1523,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
|
1521
1523
|
// Array.prototype[@@unscopables]
|
|
1522
1524
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1523
1525
|
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
1524
|
-
|
|
1526
|
+
defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
|
|
1525
1527
|
configurable: true,
|
|
1526
1528
|
value: create$3(null)
|
|
1527
1529
|
});
|
|
@@ -1543,7 +1545,6 @@ var correctPrototypeGetter = !fails$j(function () {
|
|
|
1543
1545
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1544
1546
|
});
|
|
1545
1547
|
|
|
1546
|
-
var global$z = global$U;
|
|
1547
1548
|
var hasOwn$7 = hasOwnProperty_1;
|
|
1548
1549
|
var isCallable$e = isCallable$p;
|
|
1549
1550
|
var toObject$4 = toObject$7;
|
|
@@ -1551,18 +1552,19 @@ var sharedKey = sharedKey$3;
|
|
|
1551
1552
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1552
1553
|
|
|
1553
1554
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1554
|
-
var Object$
|
|
1555
|
-
var ObjectPrototype = Object$
|
|
1555
|
+
var $Object$1 = Object;
|
|
1556
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
1556
1557
|
|
|
1557
1558
|
// `Object.getPrototypeOf` method
|
|
1558
1559
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1559
|
-
|
|
1560
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
1561
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1560
1562
|
var object = toObject$4(O);
|
|
1561
1563
|
if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
|
|
1562
1564
|
var constructor = object.constructor;
|
|
1563
1565
|
if (isCallable$e(constructor) && object instanceof constructor) {
|
|
1564
1566
|
return constructor.prototype;
|
|
1565
|
-
} return object instanceof Object$
|
|
1567
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1566
1568
|
};
|
|
1567
1569
|
|
|
1568
1570
|
var fails$i = fails$t;
|
|
@@ -1639,15 +1641,14 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
|
|
|
1639
1641
|
return IteratorConstructor;
|
|
1640
1642
|
};
|
|
1641
1643
|
|
|
1642
|
-
var global$y = global$U;
|
|
1643
1644
|
var isCallable$c = isCallable$p;
|
|
1644
1645
|
|
|
1645
|
-
var String$
|
|
1646
|
-
var TypeError$
|
|
1646
|
+
var $String$2 = String;
|
|
1647
|
+
var $TypeError$9 = TypeError;
|
|
1647
1648
|
|
|
1648
1649
|
var aPossiblePrototype$1 = function (argument) {
|
|
1649
1650
|
if (typeof argument == 'object' || isCallable$c(argument)) return argument;
|
|
1650
|
-
throw TypeError$
|
|
1651
|
+
throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
|
|
1651
1652
|
};
|
|
1652
1653
|
|
|
1653
1654
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1687,7 +1688,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
|
|
|
1687
1688
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1688
1689
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1689
1690
|
var setToStringTag$3 = setToStringTag$5;
|
|
1690
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$
|
|
1691
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
1691
1692
|
var defineBuiltIn$8 = defineBuiltIn$b;
|
|
1692
1693
|
var wellKnownSymbol$g = wellKnownSymbol$l;
|
|
1693
1694
|
var Iterators$3 = iterators;
|
|
@@ -1880,11 +1881,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1880
1881
|
|
|
1881
1882
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1882
1883
|
|
|
1883
|
-
var global$
|
|
1884
|
+
var global$i = global$s;
|
|
1884
1885
|
var DOMIterables = domIterables;
|
|
1885
1886
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1886
1887
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1887
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$
|
|
1888
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
1888
1889
|
var wellKnownSymbol$f = wellKnownSymbol$l;
|
|
1889
1890
|
|
|
1890
1891
|
var ITERATOR$7 = wellKnownSymbol$f('iterator');
|
|
@@ -1914,7 +1915,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1914
1915
|
};
|
|
1915
1916
|
|
|
1916
1917
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1917
|
-
handlePrototype(global$
|
|
1918
|
+
handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1918
1919
|
}
|
|
1919
1920
|
|
|
1920
1921
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -1928,14 +1929,13 @@ test$1[TO_STRING_TAG$1] = 'z';
|
|
|
1928
1929
|
|
|
1929
1930
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
1930
1931
|
|
|
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 Object
|
|
1938
|
+
var $Object = Object;
|
|
1939
1939
|
|
|
1940
1940
|
// ES3 wrong here
|
|
1941
1941
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -1952,26 +1952,25 @@ 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 = Object
|
|
1955
|
+
: typeof (tag = tryGet(O = $Object(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;
|
|
1963
1962
|
var classof$6 = classof$7;
|
|
1964
1963
|
|
|
1965
|
-
var String$
|
|
1964
|
+
var $String$1 = String;
|
|
1966
1965
|
|
|
1967
1966
|
var toString$h = function (argument) {
|
|
1968
1967
|
if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1969
|
-
return String$
|
|
1968
|
+
return $String$1(argument);
|
|
1970
1969
|
};
|
|
1971
1970
|
|
|
1972
1971
|
var $$k = _export;
|
|
1973
1972
|
var DESCRIPTORS$4 = descriptors;
|
|
1974
|
-
var global$
|
|
1973
|
+
var global$h = global$s;
|
|
1975
1974
|
var uncurryThis$l = functionUncurryThis;
|
|
1976
1975
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1977
1976
|
var isCallable$9 = isCallable$p;
|
|
@@ -1980,7 +1979,7 @@ var toString$g = toString$h;
|
|
|
1980
1979
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1981
1980
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
1982
1981
|
|
|
1983
|
-
var NativeSymbol = global$
|
|
1982
|
+
var NativeSymbol = global$h.Symbol;
|
|
1984
1983
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
1985
1984
|
|
|
1986
1985
|
if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
@@ -2060,14 +2059,13 @@ var isRegexp = function (it) {
|
|
|
2060
2059
|
return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
|
|
2061
2060
|
};
|
|
2062
2061
|
|
|
2063
|
-
var global$t = global$U;
|
|
2064
2062
|
var isRegExp$2 = isRegexp;
|
|
2065
2063
|
|
|
2066
|
-
var TypeError$
|
|
2064
|
+
var $TypeError$8 = TypeError;
|
|
2067
2065
|
|
|
2068
2066
|
var notARegexp = function (it) {
|
|
2069
2067
|
if (isRegExp$2(it)) {
|
|
2070
|
-
throw TypeError$
|
|
2068
|
+
throw $TypeError$8("The method doesn't accept regular expressions");
|
|
2071
2069
|
} return it;
|
|
2072
2070
|
};
|
|
2073
2071
|
|
|
@@ -2241,7 +2239,7 @@ Flex$1.displayName = 'Flex';
|
|
|
2241
2239
|
|
|
2242
2240
|
const _excluded$B = ["children"],
|
|
2243
2241
|
_excluded2$2 = ["children"];
|
|
2244
|
-
var _jsxFileName$10 = "
|
|
2242
|
+
var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
|
|
2245
2243
|
const GridComponent = styled('div', {
|
|
2246
2244
|
display: 'grid',
|
|
2247
2245
|
variants: {
|
|
@@ -2500,7 +2498,7 @@ GridItem.propTypes = {
|
|
|
2500
2498
|
GridItem.displayName = 'Grid Item';
|
|
2501
2499
|
|
|
2502
2500
|
const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
|
|
2503
|
-
var _jsxFileName$$ = "
|
|
2501
|
+
var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
|
|
2504
2502
|
const StyledDiv$3 = styled(Flex$1, {
|
|
2505
2503
|
justifyContent: 'center',
|
|
2506
2504
|
marginLeft: 'auto',
|
|
@@ -2856,7 +2854,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
2856
2854
|
});
|
|
2857
2855
|
|
|
2858
2856
|
const _excluded$z = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
2859
|
-
var _jsxFileName$_ = "
|
|
2857
|
+
var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
|
|
2860
2858
|
const TOAST_WIDTH = 576;
|
|
2861
2859
|
const ANIMATION_DURATION = 400;
|
|
2862
2860
|
const TOP_RIGHT_POSITION = 'top-right';
|
|
@@ -3210,7 +3208,7 @@ Toast.defaultProps = {
|
|
|
3210
3208
|
|
|
3211
3209
|
const ToastContext = /*#__PURE__*/React.createContext({});
|
|
3212
3210
|
|
|
3213
|
-
var _jsxFileName$Z = "
|
|
3211
|
+
var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
|
|
3214
3212
|
const ToastBox = styled(Flex$1, {
|
|
3215
3213
|
position: 'fixed',
|
|
3216
3214
|
variants: {
|
|
@@ -3286,7 +3284,7 @@ const ToastContainer = ({
|
|
|
3286
3284
|
};
|
|
3287
3285
|
|
|
3288
3286
|
const _excluded$y = ["id"];
|
|
3289
|
-
var _jsxFileName$Y = "
|
|
3287
|
+
var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
|
|
3290
3288
|
let toastCount = 0;
|
|
3291
3289
|
|
|
3292
3290
|
const ToastProvider = ({
|
|
@@ -3371,7 +3369,7 @@ const ToastProvider = ({
|
|
|
3371
3369
|
}));
|
|
3372
3370
|
};
|
|
3373
3371
|
|
|
3374
|
-
var _jsxFileName$X = "
|
|
3372
|
+
var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
|
|
3375
3373
|
|
|
3376
3374
|
function MajooProvider({
|
|
3377
3375
|
children,
|
|
@@ -3406,7 +3404,7 @@ MajooProvider.propTypes = {
|
|
|
3406
3404
|
};
|
|
3407
3405
|
|
|
3408
3406
|
const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
|
|
3409
|
-
var _jsxFileName$W = "
|
|
3407
|
+
var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
|
|
3410
3408
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
3411
3409
|
const StyledBanner = styled(Flex$1, {
|
|
3412
3410
|
maxWidth: '100%',
|
|
@@ -3498,13 +3496,13 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
|
|
|
3498
3496
|
}
|
|
3499
3497
|
}), props.children);
|
|
3500
3498
|
BannerTitle.propTypes = {
|
|
3501
|
-
/**
|
|
3502
|
-
Additional styles of title
|
|
3499
|
+
/**
|
|
3500
|
+
Additional styles of title
|
|
3503
3501
|
*/
|
|
3504
3502
|
css: PropTypes.object,
|
|
3505
3503
|
|
|
3506
|
-
/**
|
|
3507
|
-
Title of the Banner to be displayed
|
|
3504
|
+
/**
|
|
3505
|
+
Title of the Banner to be displayed
|
|
3508
3506
|
*/
|
|
3509
3507
|
children: PropTypes.string
|
|
3510
3508
|
};
|
|
@@ -3520,13 +3518,13 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
|
|
|
3520
3518
|
}
|
|
3521
3519
|
}), props.children);
|
|
3522
3520
|
BannerDescription.propTypes = {
|
|
3523
|
-
/**
|
|
3524
|
-
Additional styles of description
|
|
3521
|
+
/**
|
|
3522
|
+
Additional styles of description
|
|
3525
3523
|
*/
|
|
3526
3524
|
css: PropTypes.object,
|
|
3527
3525
|
|
|
3528
|
-
/**
|
|
3529
|
-
Description of the Banner to be displayed
|
|
3526
|
+
/**
|
|
3527
|
+
Description of the Banner to be displayed
|
|
3530
3528
|
*/
|
|
3531
3529
|
children: PropTypes.string
|
|
3532
3530
|
};
|
|
@@ -3555,18 +3553,18 @@ const BannerLink = ({
|
|
|
3555
3553
|
}
|
|
3556
3554
|
}, children));
|
|
3557
3555
|
BannerLink.propTypes = {
|
|
3558
|
-
/**
|
|
3559
|
-
The purpose of a clickable link, presented in url
|
|
3556
|
+
/**
|
|
3557
|
+
The purpose of a clickable link, presented in url
|
|
3560
3558
|
*/
|
|
3561
3559
|
link: PropTypes.string,
|
|
3562
3560
|
|
|
3563
|
-
/**
|
|
3564
|
-
Text of BannerLink to be displayed
|
|
3561
|
+
/**
|
|
3562
|
+
Text of BannerLink to be displayed
|
|
3565
3563
|
*/
|
|
3566
3564
|
children: PropTypes.string,
|
|
3567
3565
|
|
|
3568
|
-
/**
|
|
3569
|
-
Additional theme of BannerLink is presented by color variants
|
|
3566
|
+
/**
|
|
3567
|
+
Additional theme of BannerLink is presented by color variants
|
|
3570
3568
|
*/
|
|
3571
3569
|
variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
|
|
3572
3570
|
};
|
|
@@ -3757,43 +3755,43 @@ Banner.displayName = 'Banner';
|
|
|
3757
3755
|
BannerTitle.displayName = 'BannerTitle';
|
|
3758
3756
|
BannerDescription.displayName = 'BannerDescription';
|
|
3759
3757
|
Banner.propTypes = {
|
|
3760
|
-
/**
|
|
3761
|
-
Title of banner to be displayed
|
|
3758
|
+
/**
|
|
3759
|
+
Title of banner to be displayed
|
|
3762
3760
|
*/
|
|
3763
3761
|
title: PropTypes.string,
|
|
3764
3762
|
|
|
3765
|
-
/**
|
|
3766
|
-
Description of banner to be displayed
|
|
3763
|
+
/**
|
|
3764
|
+
Description of banner to be displayed
|
|
3767
3765
|
*/
|
|
3768
3766
|
description: PropTypes.string,
|
|
3769
3767
|
|
|
3770
|
-
/**
|
|
3771
|
-
The banner theme is presented in color variants
|
|
3768
|
+
/**
|
|
3769
|
+
The banner theme is presented in color variants
|
|
3772
3770
|
*/
|
|
3773
3771
|
variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
|
|
3774
3772
|
|
|
3775
|
-
/**
|
|
3776
|
-
The purpose of a clickable link, presented in url
|
|
3773
|
+
/**
|
|
3774
|
+
The purpose of a clickable link, presented in url
|
|
3777
3775
|
*/
|
|
3778
3776
|
link: PropTypes.string,
|
|
3779
3777
|
|
|
3780
|
-
/**
|
|
3781
|
-
Text of button link to be displayed
|
|
3778
|
+
/**
|
|
3779
|
+
Text of button link to be displayed
|
|
3782
3780
|
*/
|
|
3783
3781
|
linkText: PropTypes.string,
|
|
3784
3782
|
|
|
3785
|
-
/**
|
|
3786
|
-
Clickable event handler
|
|
3783
|
+
/**
|
|
3784
|
+
Clickable event handler
|
|
3787
3785
|
*/
|
|
3788
3786
|
onClick: PropTypes.func,
|
|
3789
3787
|
|
|
3790
|
-
/**
|
|
3791
|
-
Closable event handler
|
|
3788
|
+
/**
|
|
3789
|
+
Closable event handler
|
|
3792
3790
|
*/
|
|
3793
3791
|
onRemove: PropTypes.func,
|
|
3794
3792
|
|
|
3795
|
-
/**
|
|
3796
|
-
Block type banner to display in full width
|
|
3793
|
+
/**
|
|
3794
|
+
Block type banner to display in full width
|
|
3797
3795
|
*/
|
|
3798
3796
|
bannerBlock: PropTypes.bool
|
|
3799
3797
|
};
|
|
@@ -4090,7 +4088,7 @@ const Button$4 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
4090
4088
|
});
|
|
4091
4089
|
|
|
4092
4090
|
const _excluded$w = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon", "showBottomLine"];
|
|
4093
|
-
var _jsxFileName$V = "
|
|
4091
|
+
var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
|
|
4094
4092
|
const CardComponent = styled('div', {
|
|
4095
4093
|
padding: '12px',
|
|
4096
4094
|
height: 'auto',
|
|
@@ -4300,7 +4298,7 @@ Card.defaultProps = {
|
|
|
4300
4298
|
};
|
|
4301
4299
|
|
|
4302
4300
|
const _excluded$v = ["children"];
|
|
4303
|
-
var _jsxFileName$U = "
|
|
4301
|
+
var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
|
|
4304
4302
|
const BreadcrumbStyle = styled('nav', {
|
|
4305
4303
|
wordWrap: 'break-word',
|
|
4306
4304
|
'& li+li:before': {
|
|
@@ -4576,7 +4574,7 @@ Badge.defaultProps = {
|
|
|
4576
4574
|
Badge.displayName = 'Badge';
|
|
4577
4575
|
|
|
4578
4576
|
const _excluded$u = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
4579
|
-
var _jsxFileName$T = "
|
|
4577
|
+
var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
|
|
4580
4578
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
4581
4579
|
width: '32px',
|
|
4582
4580
|
height: '32px',
|
|
@@ -4679,7 +4677,7 @@ Avatar.defaultProps = {
|
|
|
4679
4677
|
};
|
|
4680
4678
|
|
|
4681
4679
|
const _excluded$t = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
4682
|
-
var _jsxFileName$S = "
|
|
4680
|
+
var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
|
|
4683
4681
|
const ContainerFallback = styled(Flex$1, {
|
|
4684
4682
|
boxSizing: 'border-box',
|
|
4685
4683
|
border: '2px dashed #C0C4C4',
|
|
@@ -4776,58 +4774,58 @@ function Image(_ref) {
|
|
|
4776
4774
|
}
|
|
4777
4775
|
}
|
|
4778
4776
|
Image.propTypes = {
|
|
4779
|
-
/**
|
|
4780
|
-
Additional className for img element.
|
|
4777
|
+
/**
|
|
4778
|
+
Additional className for img element.
|
|
4781
4779
|
*/
|
|
4782
4780
|
className: PropTypes.string,
|
|
4783
4781
|
|
|
4784
|
-
/**
|
|
4785
|
-
Which is used to specify the source of an image.
|
|
4782
|
+
/**
|
|
4783
|
+
Which is used to specify the source of an image.
|
|
4786
4784
|
*/
|
|
4787
4785
|
src: PropTypes.string,
|
|
4788
4786
|
|
|
4789
|
-
/**
|
|
4790
|
-
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4787
|
+
/**
|
|
4788
|
+
The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
|
|
4791
4789
|
*/
|
|
4792
4790
|
alt: PropTypes.string,
|
|
4793
4791
|
|
|
4794
|
-
/**
|
|
4795
|
-
Additional css for img element.
|
|
4792
|
+
/**
|
|
4793
|
+
Additional css for img element.
|
|
4796
4794
|
*/
|
|
4797
4795
|
css: PropTypes.object,
|
|
4798
4796
|
|
|
4799
|
-
/**
|
|
4800
|
-
Additional css for default fallback element.
|
|
4797
|
+
/**
|
|
4798
|
+
Additional css for default fallback element.
|
|
4801
4799
|
*/
|
|
4802
4800
|
cssFallback: PropTypes.object,
|
|
4803
4801
|
|
|
4804
|
-
/**
|
|
4805
|
-
Custom width of img element.
|
|
4802
|
+
/**
|
|
4803
|
+
Custom width of img element.
|
|
4806
4804
|
*/
|
|
4807
4805
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4808
4806
|
|
|
4809
|
-
/**
|
|
4810
|
-
Custom height of img element.
|
|
4807
|
+
/**
|
|
4808
|
+
Custom height of img element.
|
|
4811
4809
|
*/
|
|
4812
4810
|
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4813
4811
|
|
|
4814
|
-
/**
|
|
4815
|
-
Set image to circle.
|
|
4812
|
+
/**
|
|
4813
|
+
Set image to circle.
|
|
4816
4814
|
*/
|
|
4817
4815
|
rounded: PropTypes.bool,
|
|
4818
4816
|
|
|
4819
|
-
/**
|
|
4820
|
-
Used to specify how an <img> should be resized to fit its container.
|
|
4817
|
+
/**
|
|
4818
|
+
Used to specify how an <img> should be resized to fit its container.
|
|
4821
4819
|
*/
|
|
4822
4820
|
objectFit: PropTypes.string,
|
|
4823
4821
|
|
|
4824
|
-
/**
|
|
4825
|
-
Custom fallback if image url doesn't exist.
|
|
4822
|
+
/**
|
|
4823
|
+
Custom fallback if image url doesn't exist.
|
|
4826
4824
|
*/
|
|
4827
4825
|
fallback: PropTypes.string,
|
|
4828
4826
|
|
|
4829
|
-
/**
|
|
4830
|
-
Custom fallback title for default fallback.
|
|
4827
|
+
/**
|
|
4828
|
+
Custom fallback title for default fallback.
|
|
4831
4829
|
*/
|
|
4832
4830
|
fallbackTitle: PropTypes.string
|
|
4833
4831
|
};
|
|
@@ -4837,7 +4835,7 @@ Image.defaultProps = {
|
|
|
4837
4835
|
};
|
|
4838
4836
|
|
|
4839
4837
|
const _excluded$s = ["children", "label", "color", "css", "withClick", "side", "align"];
|
|
4840
|
-
var _jsxFileName$R = "
|
|
4838
|
+
var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
|
|
4841
4839
|
const {
|
|
4842
4840
|
zIndices: zIndices$1
|
|
4843
4841
|
} = foundations;
|
|
@@ -5038,7 +5036,7 @@ Tooltip$1.defaultProps = {
|
|
|
5038
5036
|
};
|
|
5039
5037
|
|
|
5040
5038
|
const _excluded$r = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
5041
|
-
var _jsxFileName$Q = "
|
|
5039
|
+
var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
|
|
5042
5040
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
5043
5041
|
position: 'relative',
|
|
5044
5042
|
overflow: 'hidden',
|
|
@@ -5215,7 +5213,7 @@ const ConditionalWrapper = ({
|
|
|
5215
5213
|
}) => condition ? wrapper(children) : children;
|
|
5216
5214
|
|
|
5217
5215
|
const _excluded$q = ["count", "maxCount", "css"];
|
|
5218
|
-
var _jsxFileName$P = "
|
|
5216
|
+
var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
|
|
5219
5217
|
const formLabelClassStyle = {
|
|
5220
5218
|
alignItems: 'start !important',
|
|
5221
5219
|
'& > div': {
|
|
@@ -5369,7 +5367,7 @@ const FormGroup = _ref => {
|
|
|
5369
5367
|
FormGroup.displayName = 'FormGroup';
|
|
5370
5368
|
|
|
5371
5369
|
const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
5372
|
-
var _jsxFileName$O = "
|
|
5370
|
+
var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
|
|
5373
5371
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
5374
5372
|
display: 'inline-block',
|
|
5375
5373
|
fontSize: '$label',
|
|
@@ -5489,7 +5487,7 @@ FormLabel.defaultProps = {
|
|
|
5489
5487
|
FormLabel.displayName = 'FormLabel';
|
|
5490
5488
|
|
|
5491
5489
|
const _excluded$o = ["children", "error", "errorMessage"];
|
|
5492
|
-
var _jsxFileName$N = "
|
|
5490
|
+
var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
|
|
5493
5491
|
const StyledHelper = styled(Text$1, {
|
|
5494
5492
|
display: 'inline-block',
|
|
5495
5493
|
color: '$textSecondary',
|
|
@@ -5550,7 +5548,7 @@ FormHelper.propTypes = {
|
|
|
5550
5548
|
};
|
|
5551
5549
|
FormHelper.displayName = 'FormHelper';
|
|
5552
5550
|
|
|
5553
|
-
var _jsxFileName$M = "
|
|
5551
|
+
var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
|
|
5554
5552
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
5555
5553
|
|
|
5556
5554
|
const CheckboxGroup = ({
|
|
@@ -5613,7 +5611,7 @@ CheckboxGroup.defaultProps = {
|
|
|
5613
5611
|
};
|
|
5614
5612
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
5615
5613
|
|
|
5616
|
-
var _jsxFileName$L = "
|
|
5614
|
+
var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
|
|
5617
5615
|
|
|
5618
5616
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5619
5617
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5661,7 +5659,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
5661
5659
|
}
|
|
5662
5660
|
}));
|
|
5663
5661
|
|
|
5664
|
-
var _jsxFileName$K = "
|
|
5662
|
+
var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
|
|
5665
5663
|
|
|
5666
5664
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5667
5665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5710,7 +5708,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
5710
5708
|
}));
|
|
5711
5709
|
|
|
5712
5710
|
const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
5713
|
-
var _jsxFileName$J = "
|
|
5711
|
+
var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
|
|
5714
5712
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
5715
5713
|
alignItems: 'center',
|
|
5716
5714
|
display: 'flex',
|
|
@@ -5876,7 +5874,7 @@ InputCheckbox.propTypes = {
|
|
|
5876
5874
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
5877
5875
|
|
|
5878
5876
|
const _excluded$m = ["children", "size"];
|
|
5879
|
-
var _jsxFileName$I = "
|
|
5877
|
+
var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
|
|
5880
5878
|
const InputGroupStyle = styled('div', {
|
|
5881
5879
|
display: 'flex',
|
|
5882
5880
|
width: '100%',
|
|
@@ -5908,11 +5906,19 @@ const InputGroupStyle = styled('div', {
|
|
|
5908
5906
|
color: '$textDisable'
|
|
5909
5907
|
},
|
|
5910
5908
|
'&:hover': {
|
|
5911
|
-
border: '1px solid $colors$gray300'
|
|
5909
|
+
border: '1px solid $colors$gray300',
|
|
5910
|
+
borderRadius: '$lg',
|
|
5911
|
+
'& > .addon': {
|
|
5912
|
+
border: '1px solid $colors$gray300'
|
|
5913
|
+
}
|
|
5912
5914
|
},
|
|
5913
5915
|
'& > input': {
|
|
5914
|
-
color: '$
|
|
5915
|
-
cursor: 'not-allowed'
|
|
5916
|
+
color: '$textDisable !important',
|
|
5917
|
+
cursor: 'not-allowed !important',
|
|
5918
|
+
border: 'none !important',
|
|
5919
|
+
'&:hover': {
|
|
5920
|
+
border: 'none !important'
|
|
5921
|
+
}
|
|
5916
5922
|
}
|
|
5917
5923
|
}
|
|
5918
5924
|
},
|
|
@@ -6017,19 +6023,19 @@ const InputGroup = _ref => {
|
|
|
6017
6023
|
__self: undefined,
|
|
6018
6024
|
__source: {
|
|
6019
6025
|
fileName: _jsxFileName$I,
|
|
6020
|
-
lineNumber:
|
|
6026
|
+
lineNumber: 154,
|
|
6021
6027
|
columnNumber: 10
|
|
6022
6028
|
}
|
|
6023
6029
|
}));
|
|
6024
6030
|
};
|
|
6025
6031
|
InputGroup.propTypes = {
|
|
6026
|
-
/**
|
|
6027
|
-
Adjust Input Text Size
|
|
6032
|
+
/**
|
|
6033
|
+
Adjust Input Text Size
|
|
6028
6034
|
*/
|
|
6029
6035
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6030
6036
|
|
|
6031
|
-
/**
|
|
6032
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
6037
|
+
/**
|
|
6038
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
6033
6039
|
*/
|
|
6034
6040
|
children: PropTypes.node.isRequired,
|
|
6035
6041
|
|
|
@@ -6111,7 +6117,8 @@ const InputLeftAddon = styled(InputAddon, {
|
|
|
6111
6117
|
}
|
|
6112
6118
|
});
|
|
6113
6119
|
InputLeftAddon.defaultProps = {
|
|
6114
|
-
as: 'div'
|
|
6120
|
+
as: 'div',
|
|
6121
|
+
className: 'addon'
|
|
6115
6122
|
};
|
|
6116
6123
|
InputLeftAddon.name = 'InputLeftAddon';
|
|
6117
6124
|
const InputRightAddon = styled(InputAddon, {
|
|
@@ -6138,7 +6145,8 @@ const InputRightAddon = styled(InputAddon, {
|
|
|
6138
6145
|
});
|
|
6139
6146
|
InputRightAddon.name = 'InputRightAddon';
|
|
6140
6147
|
InputRightAddon.defaultProps = {
|
|
6141
|
-
as: 'div'
|
|
6148
|
+
as: 'div',
|
|
6149
|
+
className: 'addon'
|
|
6142
6150
|
};
|
|
6143
6151
|
|
|
6144
6152
|
const InputLetter = styled(Text$1, {
|
|
@@ -6195,7 +6203,7 @@ InputSuffix.propTypes = {
|
|
|
6195
6203
|
};
|
|
6196
6204
|
|
|
6197
6205
|
const _excluded$l = ["disabled", "readOnly"];
|
|
6198
|
-
var _jsxFileName$H = "
|
|
6206
|
+
var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
6199
6207
|
const disabledStyle = {
|
|
6200
6208
|
backgroundColor: '$formDisable',
|
|
6201
6209
|
color: '$textDisable',
|
|
@@ -6385,7 +6393,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6385
6393
|
InputText.displayName = 'InputText';
|
|
6386
6394
|
|
|
6387
6395
|
const _excluded$k = ["disabled", "readOnly"];
|
|
6388
|
-
var _jsxFileName$G = "
|
|
6396
|
+
var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
6389
6397
|
const StyledTextArea = styled(StyledInput$1, {
|
|
6390
6398
|
variants: {
|
|
6391
6399
|
size: {
|
|
@@ -6457,7 +6465,7 @@ InputTextArea.defaultProps = {
|
|
|
6457
6465
|
|
|
6458
6466
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
6459
6467
|
|
|
6460
|
-
var _jsxFileName$F = "
|
|
6468
|
+
var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
6461
6469
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
6462
6470
|
function InputRadioGroup(props) {
|
|
6463
6471
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -6490,7 +6498,7 @@ InputRadioGroup.propTypes = {
|
|
|
6490
6498
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
6491
6499
|
|
|
6492
6500
|
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
6493
|
-
var _jsxFileName$E = "
|
|
6501
|
+
var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
6494
6502
|
const INDICATOR_BASE_STYLES = {
|
|
6495
6503
|
alignItems: 'center',
|
|
6496
6504
|
display: 'flex',
|
|
@@ -6802,7 +6810,7 @@ InputRightElement.propTypes = {
|
|
|
6802
6810
|
InputRightElement.name = 'InputRightElement';
|
|
6803
6811
|
|
|
6804
6812
|
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
|
|
6805
|
-
var _jsxFileName$D = "
|
|
6813
|
+
var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
6806
6814
|
const StyledInput = styled(NumberFormat, {
|
|
6807
6815
|
// Reset
|
|
6808
6816
|
appearance: 'none',
|
|
@@ -7052,6 +7060,7 @@ var regexpFlags$1 = function () {
|
|
|
7052
7060
|
if (that.multiline) result += 'm';
|
|
7053
7061
|
if (that.dotAll) result += 's';
|
|
7054
7062
|
if (that.unicode) result += 'u';
|
|
7063
|
+
if (that.unicodeSets) result += 'v';
|
|
7055
7064
|
if (that.sticky) result += 'y';
|
|
7056
7065
|
return result;
|
|
7057
7066
|
};
|
|
@@ -7070,10 +7079,10 @@ var regexpGetFlags = function (R) {
|
|
|
7070
7079
|
};
|
|
7071
7080
|
|
|
7072
7081
|
var fails$g = fails$t;
|
|
7073
|
-
var global$
|
|
7082
|
+
var global$g = global$s;
|
|
7074
7083
|
|
|
7075
7084
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
7076
|
-
var $RegExp$2 = global$
|
|
7085
|
+
var $RegExp$2 = global$g.RegExp;
|
|
7077
7086
|
|
|
7078
7087
|
var UNSUPPORTED_Y$3 = fails$g(function () {
|
|
7079
7088
|
var re = $RegExp$2('a', 'y');
|
|
@@ -7130,10 +7139,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
7130
7139
|
};
|
|
7131
7140
|
|
|
7132
7141
|
var fails$f = fails$t;
|
|
7133
|
-
var global$
|
|
7142
|
+
var global$f = global$s;
|
|
7134
7143
|
|
|
7135
7144
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
7136
|
-
var $RegExp$1 = global$
|
|
7145
|
+
var $RegExp$1 = global$f.RegExp;
|
|
7137
7146
|
|
|
7138
7147
|
var regexpUnsupportedDotAll = fails$f(function () {
|
|
7139
7148
|
var re = $RegExp$1('.', 's');
|
|
@@ -7141,10 +7150,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
|
|
|
7141
7150
|
});
|
|
7142
7151
|
|
|
7143
7152
|
var fails$e = fails$t;
|
|
7144
|
-
var global$
|
|
7153
|
+
var global$e = global$s;
|
|
7145
7154
|
|
|
7146
7155
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
7147
|
-
var $RegExp = global$
|
|
7156
|
+
var $RegExp = global$e.RegExp;
|
|
7148
7157
|
|
|
7149
7158
|
var regexpUnsupportedNcg = fails$e(function () {
|
|
7150
7159
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -7153,11 +7162,11 @@ var regexpUnsupportedNcg = fails$e(function () {
|
|
|
7153
7162
|
});
|
|
7154
7163
|
|
|
7155
7164
|
var DESCRIPTORS$2 = descriptors;
|
|
7156
|
-
var global$
|
|
7165
|
+
var global$d = global$s;
|
|
7157
7166
|
var uncurryThis$j = functionUncurryThis;
|
|
7158
7167
|
var isForced$1 = isForced_1;
|
|
7159
7168
|
var inheritIfRequired = inheritIfRequired$1;
|
|
7160
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
7169
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
7161
7170
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
7162
7171
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
7163
7172
|
var isRegExp$1 = isRegexp;
|
|
@@ -7175,15 +7184,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
|
7175
7184
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
7176
7185
|
|
|
7177
7186
|
var MATCH = wellKnownSymbol$9('match');
|
|
7178
|
-
var NativeRegExp = global$
|
|
7187
|
+
var NativeRegExp = global$d.RegExp;
|
|
7179
7188
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
7180
|
-
var SyntaxError = global$
|
|
7189
|
+
var SyntaxError = global$d.SyntaxError;
|
|
7181
7190
|
var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
|
|
7182
7191
|
var charAt$8 = uncurryThis$j(''.charAt);
|
|
7183
7192
|
var replace$6 = uncurryThis$j(''.replace);
|
|
7184
7193
|
var stringIndexOf$1 = uncurryThis$j(''.indexOf);
|
|
7185
7194
|
var stringSlice$9 = uncurryThis$j(''.slice);
|
|
7186
|
-
// TODO: Use only
|
|
7195
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
7187
7196
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7188
7197
|
var re1 = /a/g;
|
|
7189
7198
|
var re2 = /a/g;
|
|
@@ -7337,7 +7346,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
7337
7346
|
|
|
7338
7347
|
RegExpPrototype$2.constructor = RegExpWrapper;
|
|
7339
7348
|
RegExpWrapper.prototype = RegExpPrototype$2;
|
|
7340
|
-
defineBuiltIn$7(global$
|
|
7349
|
+
defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
|
|
7341
7350
|
}
|
|
7342
7351
|
|
|
7343
7352
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -7438,7 +7447,7 @@ if (PATCH) {
|
|
|
7438
7447
|
}
|
|
7439
7448
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
7440
7449
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
7441
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
7450
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
7442
7451
|
call$f(nativeReplace, match[0], reCopy, function () {
|
|
7443
7452
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
7444
7453
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -7496,7 +7505,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
7496
7505
|
}
|
|
7497
7506
|
|
|
7498
7507
|
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
7499
|
-
var _jsxFileName$C = "
|
|
7508
|
+
var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
7500
7509
|
const TagWrapper$3 = styled('div', {
|
|
7501
7510
|
boxSizing: 'border-box',
|
|
7502
7511
|
listStyle: 'none',
|
|
@@ -7673,7 +7682,7 @@ Tag.defaultProps = {
|
|
|
7673
7682
|
};
|
|
7674
7683
|
|
|
7675
7684
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
7676
|
-
var _jsxFileName$B = "
|
|
7685
|
+
var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
7677
7686
|
const Wrapper$2 = styled('div', {
|
|
7678
7687
|
margin: 0,
|
|
7679
7688
|
flexDirection: 'column',
|
|
@@ -7973,7 +7982,7 @@ TagsInput.defaultProps = {
|
|
|
7973
7982
|
};
|
|
7974
7983
|
|
|
7975
7984
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
7976
|
-
var _jsxFileName$A = "
|
|
7985
|
+
var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
7977
7986
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
7978
7987
|
display: 'block',
|
|
7979
7988
|
width: '16px',
|
|
@@ -8081,7 +8090,7 @@ InputSwitch.propTypes = {
|
|
|
8081
8090
|
};
|
|
8082
8091
|
InputSwitch.displayName = 'InputSwitch';
|
|
8083
8092
|
|
|
8084
|
-
var _jsxFileName$z = "
|
|
8093
|
+
var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
8085
8094
|
|
|
8086
8095
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8087
8096
|
width: props.size,
|
|
@@ -8142,7 +8151,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
8142
8151
|
size: 24
|
|
8143
8152
|
};
|
|
8144
8153
|
|
|
8145
|
-
var _jsxFileName$y = "
|
|
8154
|
+
var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
8146
8155
|
|
|
8147
8156
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8148
8157
|
width: props.size,
|
|
@@ -8185,7 +8194,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
8185
8194
|
};
|
|
8186
8195
|
|
|
8187
8196
|
const _excluded$e = ["size", "onChange", "css", "disabled"];
|
|
8188
|
-
var _jsxFileName$x = "
|
|
8197
|
+
var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
8189
8198
|
|
|
8190
8199
|
const InputSearchbox = _ref => {
|
|
8191
8200
|
let {
|
|
@@ -8300,7 +8309,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
|
|
|
8300
8309
|
var regexpExec$2 = regexpExec$3;
|
|
8301
8310
|
var fails$b = fails$t;
|
|
8302
8311
|
var wellKnownSymbol$8 = wellKnownSymbol$l;
|
|
8303
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
8312
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
8304
8313
|
|
|
8305
8314
|
var SPECIES$2 = wellKnownSymbol$8('species');
|
|
8306
8315
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -8375,14 +8384,13 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
8375
8384
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
8376
8385
|
};
|
|
8377
8386
|
|
|
8378
|
-
var global$o = global$U;
|
|
8379
8387
|
var call$e = functionCall;
|
|
8380
8388
|
var anObject$a = anObject$i;
|
|
8381
8389
|
var isCallable$7 = isCallable$p;
|
|
8382
8390
|
var classof$4 = classofRaw$1;
|
|
8383
8391
|
var regexpExec$1 = regexpExec$3;
|
|
8384
8392
|
|
|
8385
|
-
var TypeError$
|
|
8393
|
+
var $TypeError$7 = TypeError;
|
|
8386
8394
|
|
|
8387
8395
|
// `RegExpExec` abstract operation
|
|
8388
8396
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -8394,7 +8402,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
8394
8402
|
return result;
|
|
8395
8403
|
}
|
|
8396
8404
|
if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
|
|
8397
|
-
throw TypeError$
|
|
8405
|
+
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
8398
8406
|
};
|
|
8399
8407
|
|
|
8400
8408
|
var call$d = functionCall;
|
|
@@ -9020,6 +9028,14 @@ function InputSelect(_a) {
|
|
|
9020
9028
|
}), void 0);
|
|
9021
9029
|
}
|
|
9022
9030
|
|
|
9031
|
+
var tryToString$3 = tryToString$5;
|
|
9032
|
+
|
|
9033
|
+
var $TypeError$6 = TypeError;
|
|
9034
|
+
|
|
9035
|
+
var deletePropertyOrThrow$1 = function (O, P) {
|
|
9036
|
+
if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
9037
|
+
};
|
|
9038
|
+
|
|
9023
9039
|
var toPropertyKey = toPropertyKey$3;
|
|
9024
9040
|
var definePropertyModule = objectDefineProperty;
|
|
9025
9041
|
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
@@ -9030,19 +9046,18 @@ var createProperty$2 = function (object, key, value) {
|
|
|
9030
9046
|
else object[propertyKey] = value;
|
|
9031
9047
|
};
|
|
9032
9048
|
|
|
9033
|
-
var global$n = global$U;
|
|
9034
9049
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
9035
9050
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
9036
9051
|
var createProperty$1 = createProperty$2;
|
|
9037
9052
|
|
|
9038
|
-
var Array$
|
|
9053
|
+
var $Array$1 = Array;
|
|
9039
9054
|
var max$1 = Math.max;
|
|
9040
9055
|
|
|
9041
9056
|
var arraySliceSimple = function (O, start, end) {
|
|
9042
9057
|
var length = lengthOfArrayLike$4(O);
|
|
9043
9058
|
var k = toAbsoluteIndex(start, length);
|
|
9044
9059
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
9045
|
-
var result = Array$
|
|
9060
|
+
var result = $Array$1(max$1(fin - k, 0));
|
|
9046
9061
|
for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
|
|
9047
9062
|
result.length = n;
|
|
9048
9063
|
return result;
|
|
@@ -9124,6 +9139,7 @@ var uncurryThis$g = functionUncurryThis;
|
|
|
9124
9139
|
var aCallable$7 = aCallable$9;
|
|
9125
9140
|
var toObject$3 = toObject$7;
|
|
9126
9141
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
9142
|
+
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
9127
9143
|
var toString$b = toString$h;
|
|
9128
9144
|
var fails$9 = fails$t;
|
|
9129
9145
|
var internalSort = arraySort$1;
|
|
@@ -9218,19 +9234,18 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
|
9218
9234
|
index = 0;
|
|
9219
9235
|
|
|
9220
9236
|
while (index < itemsLength) array[index] = items[index++];
|
|
9221
|
-
while (index < arrayLength)
|
|
9237
|
+
while (index < arrayLength) deletePropertyOrThrow(array, index++);
|
|
9222
9238
|
|
|
9223
9239
|
return array;
|
|
9224
9240
|
}
|
|
9225
9241
|
});
|
|
9226
9242
|
|
|
9227
|
-
var global$m = global$U;
|
|
9228
9243
|
var aCallable$6 = aCallable$9;
|
|
9229
9244
|
var toObject$2 = toObject$7;
|
|
9230
9245
|
var IndexedObject = indexedObject;
|
|
9231
9246
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
9232
9247
|
|
|
9233
|
-
var TypeError$
|
|
9248
|
+
var $TypeError$5 = TypeError;
|
|
9234
9249
|
|
|
9235
9250
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
9236
9251
|
var createMethod$2 = function (IS_RIGHT) {
|
|
@@ -9249,7 +9264,7 @@ var createMethod$2 = function (IS_RIGHT) {
|
|
|
9249
9264
|
}
|
|
9250
9265
|
index += i;
|
|
9251
9266
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
9252
|
-
throw TypeError$
|
|
9267
|
+
throw $TypeError$5('Reduce of empty array with no initial value');
|
|
9253
9268
|
}
|
|
9254
9269
|
}
|
|
9255
9270
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -9269,20 +9284,20 @@ var arrayReduce = {
|
|
|
9269
9284
|
};
|
|
9270
9285
|
|
|
9271
9286
|
var classof$3 = classofRaw$1;
|
|
9272
|
-
var global$
|
|
9287
|
+
var global$c = global$s;
|
|
9273
9288
|
|
|
9274
|
-
var engineIsNode = classof$3(global$
|
|
9289
|
+
var engineIsNode = classof$3(global$c.process) == 'process';
|
|
9275
9290
|
|
|
9276
9291
|
var $$f = _export;
|
|
9277
9292
|
var $reduce = arrayReduce.left;
|
|
9278
9293
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
9279
9294
|
var CHROME_VERSION = engineV8Version;
|
|
9280
|
-
var IS_NODE$
|
|
9295
|
+
var IS_NODE$4 = engineIsNode;
|
|
9281
9296
|
|
|
9282
9297
|
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
9283
9298
|
// Chrome 80-82 has a critical bug
|
|
9284
9299
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
9285
|
-
var CHROME_BUG = !IS_NODE$
|
|
9300
|
+
var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
9286
9301
|
|
|
9287
9302
|
// `Array.prototype.reduce` method
|
|
9288
9303
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
@@ -9293,7 +9308,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
9293
9308
|
}
|
|
9294
9309
|
});
|
|
9295
9310
|
|
|
9296
|
-
var _jsxFileName$w = "
|
|
9311
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
9297
9312
|
|
|
9298
9313
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
9299
9314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9342,7 +9357,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
9342
9357
|
}));
|
|
9343
9358
|
|
|
9344
9359
|
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", "collapsible"];
|
|
9345
|
-
var _jsxFileName$v = "
|
|
9360
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
9346
9361
|
const Wrapper$1 = styled('div', {
|
|
9347
9362
|
margin: 0,
|
|
9348
9363
|
flexDirection: 'column',
|
|
@@ -10267,7 +10282,7 @@ InputSelectCheck.defaultProps = {
|
|
|
10267
10282
|
collapsible: true
|
|
10268
10283
|
};
|
|
10269
10284
|
|
|
10270
|
-
var _jsxFileName$u = "
|
|
10285
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
10271
10286
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10272
10287
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
10273
10288
|
ref: ref,
|
|
@@ -10320,7 +10335,7 @@ InputSelectTag.defaultProps = {
|
|
|
10320
10335
|
collapsible: true
|
|
10321
10336
|
};
|
|
10322
10337
|
|
|
10323
|
-
var _jsxFileName$t = "
|
|
10338
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
10324
10339
|
const Wrapper = styled('div', {
|
|
10325
10340
|
margin: 0,
|
|
10326
10341
|
flexDirection: 'column',
|
|
@@ -11085,15 +11100,15 @@ var stringTrim = {
|
|
|
11085
11100
|
trim: createMethod$1(3)
|
|
11086
11101
|
};
|
|
11087
11102
|
|
|
11088
|
-
var global$
|
|
11103
|
+
var global$b = global$s;
|
|
11089
11104
|
var fails$8 = fails$t;
|
|
11090
11105
|
var uncurryThis$d = functionUncurryThis;
|
|
11091
11106
|
var toString$8 = toString$h;
|
|
11092
11107
|
var trim$1 = stringTrim.trim;
|
|
11093
11108
|
var whitespaces$2 = whitespaces$4;
|
|
11094
11109
|
|
|
11095
|
-
var $parseInt$1 = global$
|
|
11096
|
-
var Symbol$6 = global$
|
|
11110
|
+
var $parseInt$1 = global$b.parseInt;
|
|
11111
|
+
var Symbol$6 = global$b.Symbol;
|
|
11097
11112
|
var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
|
|
11098
11113
|
var hex = /^[+-]?0x/i;
|
|
11099
11114
|
var exec$4 = uncurryThis$d(hex.exec);
|
|
@@ -11312,7 +11327,7 @@ InputCounter.defaultProps = {
|
|
|
11312
11327
|
};
|
|
11313
11328
|
|
|
11314
11329
|
const _excluded$c = ["children"];
|
|
11315
|
-
var _jsxFileName$s = "
|
|
11330
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
11316
11331
|
const {
|
|
11317
11332
|
zIndices
|
|
11318
11333
|
} = foundations;
|
|
@@ -11446,7 +11461,7 @@ Popover.propTypes = {
|
|
|
11446
11461
|
Popover.displayName = 'Popover';
|
|
11447
11462
|
|
|
11448
11463
|
const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
11449
|
-
var _jsxFileName$r = "
|
|
11464
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
11450
11465
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
11451
11466
|
position: 'relative',
|
|
11452
11467
|
display: 'flex',
|
|
@@ -11791,7 +11806,7 @@ Slider.defaultProps = {
|
|
|
11791
11806
|
};
|
|
11792
11807
|
|
|
11793
11808
|
const _excluded$a = ["className", "children", "onClick", "type", "size"];
|
|
11794
|
-
var _jsxFileName$q = "
|
|
11809
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
11795
11810
|
const TagWrapper = styled('div', {
|
|
11796
11811
|
boxSizing: 'border-box',
|
|
11797
11812
|
fontSize: '12px',
|
|
@@ -11957,7 +11972,7 @@ const _excluded$9 = ["children"],
|
|
|
11957
11972
|
_excluded2$1 = ["children", "activeTabs"],
|
|
11958
11973
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
11959
11974
|
_excluded4 = ["activeTabs"];
|
|
11960
|
-
var _jsxFileName$p = "
|
|
11975
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
11961
11976
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
11962
11977
|
display: 'flex',
|
|
11963
11978
|
flexDirection: 'column',
|
|
@@ -12308,7 +12323,7 @@ Separator$2.displayName = 'Separator';
|
|
|
12308
12323
|
|
|
12309
12324
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
|
|
12310
12325
|
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12311
|
-
var _jsxFileName$o = "
|
|
12326
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
12312
12327
|
const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
|
|
12313
12328
|
display: 'inline-flex',
|
|
12314
12329
|
borderRadius: '$md',
|
|
@@ -12536,7 +12551,7 @@ ButtonGroupItem.defaultProps = {
|
|
|
12536
12551
|
};
|
|
12537
12552
|
|
|
12538
12553
|
const _excluded$7 = ["children"];
|
|
12539
|
-
var _jsxFileName$n = "
|
|
12554
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
12540
12555
|
const NotificationBadgeRootStyle = styled('span', {
|
|
12541
12556
|
position: 'relative',
|
|
12542
12557
|
display: 'inline-flex',
|
|
@@ -12680,7 +12695,7 @@ NotificationBadge.propTypes = {
|
|
|
12680
12695
|
};
|
|
12681
12696
|
|
|
12682
12697
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
12683
|
-
var _jsxFileName$m = "
|
|
12698
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
12684
12699
|
const PaperComponent = styled('div', {
|
|
12685
12700
|
padding: '20px',
|
|
12686
12701
|
height: 'auto',
|
|
@@ -12891,14 +12906,13 @@ DialogClose.displayName = 'DialogClose';
|
|
|
12891
12906
|
DialogOverlay.displayName = 'DialogOverlay';
|
|
12892
12907
|
DialogPortal.displayName = 'DialogPortal';
|
|
12893
12908
|
|
|
12894
|
-
var global$j = global$U;
|
|
12895
12909
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
12896
12910
|
|
|
12897
|
-
var TypeError$
|
|
12911
|
+
var $TypeError$4 = TypeError;
|
|
12898
12912
|
|
|
12899
12913
|
var anInstance$3 = function (it, Prototype) {
|
|
12900
12914
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
12901
|
-
throw TypeError$
|
|
12915
|
+
throw $TypeError$4('Incorrect invocation');
|
|
12902
12916
|
};
|
|
12903
12917
|
|
|
12904
12918
|
var uncurryThis$c = functionUncurryThis;
|
|
@@ -12954,16 +12968,15 @@ var isConstructor$2 = !construct || fails$7(function () {
|
|
|
12954
12968
|
|| called;
|
|
12955
12969
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
12956
12970
|
|
|
12957
|
-
var global$i = global$U;
|
|
12958
12971
|
var isConstructor$1 = isConstructor$2;
|
|
12959
|
-
var tryToString$2 = tryToString$
|
|
12972
|
+
var tryToString$2 = tryToString$5;
|
|
12960
12973
|
|
|
12961
|
-
var TypeError$
|
|
12974
|
+
var $TypeError$3 = TypeError;
|
|
12962
12975
|
|
|
12963
12976
|
// `Assert: IsConstructor(argument) is true`
|
|
12964
12977
|
var aConstructor$1 = function (argument) {
|
|
12965
12978
|
if (isConstructor$1(argument)) return argument;
|
|
12966
|
-
throw TypeError$
|
|
12979
|
+
throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
|
|
12967
12980
|
};
|
|
12968
12981
|
|
|
12969
12982
|
var anObject$8 = anObject$i;
|
|
@@ -13009,12 +13022,10 @@ var uncurryThis$a = functionUncurryThis;
|
|
|
13009
13022
|
|
|
13010
13023
|
var arraySlice$3 = uncurryThis$a([].slice);
|
|
13011
13024
|
|
|
13012
|
-
var
|
|
13013
|
-
|
|
13014
|
-
var TypeError$6 = global$h.TypeError;
|
|
13025
|
+
var $TypeError$2 = TypeError;
|
|
13015
13026
|
|
|
13016
13027
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
13017
|
-
if (passed < required) throw TypeError$
|
|
13028
|
+
if (passed < required) throw $TypeError$2('Not enough arguments');
|
|
13018
13029
|
return passed;
|
|
13019
13030
|
};
|
|
13020
13031
|
|
|
@@ -13022,7 +13033,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
13022
13033
|
|
|
13023
13034
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
13024
13035
|
|
|
13025
|
-
var global$
|
|
13036
|
+
var global$a = global$s;
|
|
13026
13037
|
var apply$2 = functionApply;
|
|
13027
13038
|
var bind$6 = functionBindContext;
|
|
13028
13039
|
var isCallable$5 = isCallable$p;
|
|
@@ -13033,15 +13044,15 @@ var arraySlice$2 = arraySlice$3;
|
|
|
13033
13044
|
var createElement = documentCreateElement$2;
|
|
13034
13045
|
var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
13035
13046
|
var IS_IOS$1 = engineIsIos;
|
|
13036
|
-
var IS_NODE$
|
|
13047
|
+
var IS_NODE$3 = engineIsNode;
|
|
13037
13048
|
|
|
13038
|
-
var set = global$
|
|
13039
|
-
var clear = global$
|
|
13040
|
-
var process$2 = global$
|
|
13041
|
-
var Dispatch = global$
|
|
13042
|
-
var Function$1 = global$
|
|
13043
|
-
var MessageChannel = global$
|
|
13044
|
-
var String$
|
|
13049
|
+
var set = global$a.setImmediate;
|
|
13050
|
+
var clear = global$a.clearImmediate;
|
|
13051
|
+
var process$2 = global$a.process;
|
|
13052
|
+
var Dispatch = global$a.Dispatch;
|
|
13053
|
+
var Function$1 = global$a.Function;
|
|
13054
|
+
var MessageChannel = global$a.MessageChannel;
|
|
13055
|
+
var String$1 = global$a.String;
|
|
13045
13056
|
var counter = 0;
|
|
13046
13057
|
var queue$1 = {};
|
|
13047
13058
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -13049,7 +13060,7 @@ var location, defer, channel, port;
|
|
|
13049
13060
|
|
|
13050
13061
|
try {
|
|
13051
13062
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
13052
|
-
location = global$
|
|
13063
|
+
location = global$a.location;
|
|
13053
13064
|
} catch (error) { /* empty */ }
|
|
13054
13065
|
|
|
13055
13066
|
var run = function (id) {
|
|
@@ -13072,7 +13083,7 @@ var listener = function (event) {
|
|
|
13072
13083
|
|
|
13073
13084
|
var post = function (id) {
|
|
13074
13085
|
// old engines have not location.origin
|
|
13075
|
-
global$
|
|
13086
|
+
global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
|
|
13076
13087
|
};
|
|
13077
13088
|
|
|
13078
13089
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -13091,7 +13102,7 @@ if (!set || !clear) {
|
|
|
13091
13102
|
delete queue$1[id];
|
|
13092
13103
|
};
|
|
13093
13104
|
// Node.js 0.8-
|
|
13094
|
-
if (IS_NODE$
|
|
13105
|
+
if (IS_NODE$3) {
|
|
13095
13106
|
defer = function (id) {
|
|
13096
13107
|
process$2.nextTick(runner(id));
|
|
13097
13108
|
};
|
|
@@ -13110,14 +13121,14 @@ if (!set || !clear) {
|
|
|
13110
13121
|
// Browsers with postMessage, skip WebWorkers
|
|
13111
13122
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
13112
13123
|
} else if (
|
|
13113
|
-
global$
|
|
13114
|
-
isCallable$5(global$
|
|
13115
|
-
!global$
|
|
13124
|
+
global$a.addEventListener &&
|
|
13125
|
+
isCallable$5(global$a.postMessage) &&
|
|
13126
|
+
!global$a.importScripts &&
|
|
13116
13127
|
location && location.protocol !== 'file:' &&
|
|
13117
13128
|
!fails$6(post)
|
|
13118
13129
|
) {
|
|
13119
13130
|
defer = post;
|
|
13120
|
-
global$
|
|
13131
|
+
global$a.addEventListener('message', listener, false);
|
|
13121
13132
|
// IE8-
|
|
13122
13133
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
13123
13134
|
defer = function (id) {
|
|
@@ -13140,29 +13151,29 @@ var task$1 = {
|
|
|
13140
13151
|
};
|
|
13141
13152
|
|
|
13142
13153
|
var userAgent$1 = engineUserAgent;
|
|
13143
|
-
var global$
|
|
13154
|
+
var global$9 = global$s;
|
|
13144
13155
|
|
|
13145
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
13156
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
|
|
13146
13157
|
|
|
13147
13158
|
var userAgent = engineUserAgent;
|
|
13148
13159
|
|
|
13149
13160
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
13150
13161
|
|
|
13151
|
-
var global$
|
|
13162
|
+
var global$8 = global$s;
|
|
13152
13163
|
var bind$5 = functionBindContext;
|
|
13153
13164
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
13154
13165
|
var macrotask = task$1.set;
|
|
13155
13166
|
var IS_IOS = engineIsIos;
|
|
13156
13167
|
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
13157
13168
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
13158
|
-
var IS_NODE$
|
|
13169
|
+
var IS_NODE$2 = engineIsNode;
|
|
13159
13170
|
|
|
13160
|
-
var MutationObserver = global$
|
|
13161
|
-
var document$2 = global$
|
|
13162
|
-
var process$1 = global$
|
|
13163
|
-
var Promise$1 = global$
|
|
13171
|
+
var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
|
|
13172
|
+
var document$2 = global$8.document;
|
|
13173
|
+
var process$1 = global$8.process;
|
|
13174
|
+
var Promise$1 = global$8.Promise;
|
|
13164
13175
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
13165
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$
|
|
13176
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
|
|
13166
13177
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
13167
13178
|
|
|
13168
13179
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -13171,7 +13182,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
|
|
|
13171
13182
|
if (!queueMicrotask) {
|
|
13172
13183
|
flush = function () {
|
|
13173
13184
|
var parent, fn;
|
|
13174
|
-
if (IS_NODE$
|
|
13185
|
+
if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
|
|
13175
13186
|
while (head) {
|
|
13176
13187
|
fn = head.fn;
|
|
13177
13188
|
head = head.next;
|
|
@@ -13188,7 +13199,7 @@ if (!queueMicrotask) {
|
|
|
13188
13199
|
|
|
13189
13200
|
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
13190
13201
|
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
13191
|
-
if (!IS_IOS && !IS_NODE$
|
|
13202
|
+
if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
13192
13203
|
toggle = true;
|
|
13193
13204
|
node = document$2.createTextNode('');
|
|
13194
13205
|
new MutationObserver(flush).observe(node, { characterData: true });
|
|
@@ -13206,7 +13217,7 @@ if (!queueMicrotask) {
|
|
|
13206
13217
|
then(flush);
|
|
13207
13218
|
};
|
|
13208
13219
|
// Node.js without promises
|
|
13209
|
-
} else if (IS_NODE$
|
|
13220
|
+
} else if (IS_NODE$2) {
|
|
13210
13221
|
notify$1 = function () {
|
|
13211
13222
|
process$1.nextTick(flush);
|
|
13212
13223
|
};
|
|
@@ -13218,7 +13229,7 @@ if (!queueMicrotask) {
|
|
|
13218
13229
|
// - setTimeout
|
|
13219
13230
|
} else {
|
|
13220
13231
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
13221
|
-
macrotask = bind$5(macrotask, global$
|
|
13232
|
+
macrotask = bind$5(macrotask, global$8);
|
|
13222
13233
|
notify$1 = function () {
|
|
13223
13234
|
macrotask(flush);
|
|
13224
13235
|
};
|
|
@@ -13234,10 +13245,10 @@ var microtask$1 = queueMicrotask || function (fn) {
|
|
|
13234
13245
|
} last = task;
|
|
13235
13246
|
};
|
|
13236
13247
|
|
|
13237
|
-
var global$
|
|
13248
|
+
var global$7 = global$s;
|
|
13238
13249
|
|
|
13239
13250
|
var hostReportErrors$1 = function (a, b) {
|
|
13240
|
-
var console = global$
|
|
13251
|
+
var console = global$7.console;
|
|
13241
13252
|
if (console && console.error) {
|
|
13242
13253
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
13243
13254
|
}
|
|
@@ -13275,25 +13286,35 @@ Queue$1.prototype = {
|
|
|
13275
13286
|
|
|
13276
13287
|
var queue = Queue$1;
|
|
13277
13288
|
|
|
13278
|
-
var global$
|
|
13289
|
+
var global$6 = global$s;
|
|
13279
13290
|
|
|
13280
|
-
var promiseNativeConstructor = global$
|
|
13291
|
+
var promiseNativeConstructor = global$6.Promise;
|
|
13292
|
+
|
|
13293
|
+
/* global Deno -- Deno case */
|
|
13294
|
+
|
|
13295
|
+
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
13296
|
+
|
|
13297
|
+
var IS_DENO$1 = engineIsDeno;
|
|
13298
|
+
var IS_NODE$1 = engineIsNode;
|
|
13281
13299
|
|
|
13282
|
-
var engineIsBrowser =
|
|
13300
|
+
var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
13301
|
+
&& typeof window == 'object'
|
|
13302
|
+
&& typeof document == 'object';
|
|
13283
13303
|
|
|
13284
|
-
var global$
|
|
13304
|
+
var global$5 = global$s;
|
|
13285
13305
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
13286
13306
|
var isCallable$4 = isCallable$p;
|
|
13287
13307
|
var isForced = isForced_1;
|
|
13288
13308
|
var inspectSource = inspectSource$4;
|
|
13289
13309
|
var wellKnownSymbol$6 = wellKnownSymbol$l;
|
|
13290
13310
|
var IS_BROWSER = engineIsBrowser;
|
|
13311
|
+
var IS_DENO = engineIsDeno;
|
|
13291
13312
|
var V8_VERSION = engineV8Version;
|
|
13292
13313
|
|
|
13293
13314
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
13294
13315
|
var SPECIES = wellKnownSymbol$6('species');
|
|
13295
13316
|
var SUBCLASSING = false;
|
|
13296
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$
|
|
13317
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
|
|
13297
13318
|
|
|
13298
13319
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
13299
13320
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -13305,18 +13326,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
|
13305
13326
|
// We can't use @@species feature detection in V8 since it causes
|
|
13306
13327
|
// deoptimization and performance degradation
|
|
13307
13328
|
// https://github.com/zloirock/core-js/issues/679
|
|
13308
|
-
if (V8_VERSION
|
|
13309
|
-
|
|
13310
|
-
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13329
|
+
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
|
|
13330
|
+
// Detect correctness of subclassing with @@species support
|
|
13331
|
+
var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
|
|
13332
|
+
var FakePromise = function (exec) {
|
|
13333
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
13334
|
+
};
|
|
13335
|
+
var constructor = promise.constructor = {};
|
|
13336
|
+
constructor[SPECIES] = FakePromise;
|
|
13337
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
13338
|
+
if (!SUBCLASSING) return true;
|
|
13318
13339
|
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
13319
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13340
|
+
} return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13320
13341
|
});
|
|
13321
13342
|
|
|
13322
13343
|
var promiseConstructorDetection = {
|
|
@@ -13348,7 +13369,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
13348
13369
|
|
|
13349
13370
|
var $$c = _export;
|
|
13350
13371
|
var IS_NODE = engineIsNode;
|
|
13351
|
-
var global$
|
|
13372
|
+
var global$4 = global$s;
|
|
13352
13373
|
var call$b = functionCall;
|
|
13353
13374
|
var defineBuiltIn$4 = defineBuiltIn$b;
|
|
13354
13375
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -13378,13 +13399,13 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
13378
13399
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
13379
13400
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
13380
13401
|
var PromisePrototype = NativePromisePrototype$1;
|
|
13381
|
-
var TypeError$
|
|
13382
|
-
var document$1 = global$
|
|
13383
|
-
var process = global$
|
|
13402
|
+
var TypeError$3 = global$4.TypeError;
|
|
13403
|
+
var document$1 = global$4.document;
|
|
13404
|
+
var process = global$4.process;
|
|
13384
13405
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
13385
13406
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
13386
13407
|
|
|
13387
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
13408
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
|
|
13388
13409
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
13389
13410
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
13390
13411
|
var PENDING = 0;
|
|
@@ -13425,7 +13446,7 @@ var callReaction = function (reaction, state) {
|
|
|
13425
13446
|
}
|
|
13426
13447
|
}
|
|
13427
13448
|
if (result === reaction.promise) {
|
|
13428
|
-
reject(TypeError$
|
|
13449
|
+
reject(TypeError$3('Promise-chain cycle'));
|
|
13429
13450
|
} else if (then = isThenable(result)) {
|
|
13430
13451
|
call$b(then, result, resolve, reject);
|
|
13431
13452
|
} else resolve(result);
|
|
@@ -13457,14 +13478,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
13457
13478
|
event.promise = promise;
|
|
13458
13479
|
event.reason = reason;
|
|
13459
13480
|
event.initEvent(name, false, true);
|
|
13460
|
-
global$
|
|
13481
|
+
global$4.dispatchEvent(event);
|
|
13461
13482
|
} else event = { promise: promise, reason: reason };
|
|
13462
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
13483
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
|
|
13463
13484
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
13464
13485
|
};
|
|
13465
13486
|
|
|
13466
13487
|
var onUnhandled = function (state) {
|
|
13467
|
-
call$b(task, global$
|
|
13488
|
+
call$b(task, global$4, function () {
|
|
13468
13489
|
var promise = state.facade;
|
|
13469
13490
|
var value = state.value;
|
|
13470
13491
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -13487,7 +13508,7 @@ var isUnhandled = function (state) {
|
|
|
13487
13508
|
};
|
|
13488
13509
|
|
|
13489
13510
|
var onHandleUnhandled = function (state) {
|
|
13490
|
-
call$b(task, global$
|
|
13511
|
+
call$b(task, global$4, function () {
|
|
13491
13512
|
var promise = state.facade;
|
|
13492
13513
|
if (IS_NODE) {
|
|
13493
13514
|
process.emit('rejectionHandled', promise);
|
|
@@ -13515,7 +13536,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
13515
13536
|
state.done = true;
|
|
13516
13537
|
if (unwrap) state = unwrap;
|
|
13517
13538
|
try {
|
|
13518
|
-
if (state.facade === value) throw TypeError$
|
|
13539
|
+
if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
|
|
13519
13540
|
var then = isThenable(value);
|
|
13520
13541
|
if (then) {
|
|
13521
13542
|
microtask(function () {
|
|
@@ -13657,19 +13678,18 @@ var getIteratorMethod$4 = function (it) {
|
|
|
13657
13678
|
|| Iterators[classof$1(it)];
|
|
13658
13679
|
};
|
|
13659
13680
|
|
|
13660
|
-
var global$9 = global$U;
|
|
13661
13681
|
var call$a = functionCall;
|
|
13662
13682
|
var aCallable$2 = aCallable$9;
|
|
13663
13683
|
var anObject$7 = anObject$i;
|
|
13664
|
-
var tryToString$1 = tryToString$
|
|
13684
|
+
var tryToString$1 = tryToString$5;
|
|
13665
13685
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
13666
13686
|
|
|
13667
|
-
var TypeError$
|
|
13687
|
+
var $TypeError$1 = TypeError;
|
|
13668
13688
|
|
|
13669
13689
|
var getIterator$3 = function (argument, usingIterator) {
|
|
13670
13690
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
13671
13691
|
if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
|
|
13672
|
-
throw TypeError$
|
|
13692
|
+
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
13673
13693
|
};
|
|
13674
13694
|
|
|
13675
13695
|
var call$9 = functionCall;
|
|
@@ -13696,11 +13716,10 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
13696
13716
|
return value;
|
|
13697
13717
|
};
|
|
13698
13718
|
|
|
13699
|
-
var global$8 = global$U;
|
|
13700
13719
|
var bind$3 = functionBindContext;
|
|
13701
13720
|
var call$8 = functionCall;
|
|
13702
13721
|
var anObject$5 = anObject$i;
|
|
13703
|
-
var tryToString = tryToString$
|
|
13722
|
+
var tryToString = tryToString$5;
|
|
13704
13723
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
13705
13724
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
13706
13725
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -13708,7 +13727,7 @@ var getIterator$2 = getIterator$3;
|
|
|
13708
13727
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
13709
13728
|
var iteratorClose$1 = iteratorClose$2;
|
|
13710
13729
|
|
|
13711
|
-
var TypeError
|
|
13730
|
+
var $TypeError = TypeError;
|
|
13712
13731
|
|
|
13713
13732
|
var Result = function (stopped, result) {
|
|
13714
13733
|
this.stopped = stopped;
|
|
@@ -13720,6 +13739,7 @@ var ResultPrototype = Result.prototype;
|
|
|
13720
13739
|
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
13721
13740
|
var that = options && options.that;
|
|
13722
13741
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
13742
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
13723
13743
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
13724
13744
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
13725
13745
|
var fn = bind$3(unboundFunction, that);
|
|
@@ -13737,11 +13757,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13737
13757
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
13738
13758
|
};
|
|
13739
13759
|
|
|
13740
|
-
if (
|
|
13760
|
+
if (IS_RECORD) {
|
|
13761
|
+
iterator = iterable.iterator;
|
|
13762
|
+
} else if (IS_ITERATOR) {
|
|
13741
13763
|
iterator = iterable;
|
|
13742
13764
|
} else {
|
|
13743
13765
|
iterFn = getIteratorMethod$2(iterable);
|
|
13744
|
-
if (!iterFn) throw TypeError
|
|
13766
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
13745
13767
|
// optimisation for array iterators
|
|
13746
13768
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
13747
13769
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -13752,7 +13774,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13752
13774
|
iterator = getIterator$2(iterable, iterFn);
|
|
13753
13775
|
}
|
|
13754
13776
|
|
|
13755
|
-
next = iterator.next;
|
|
13777
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
13756
13778
|
while (!(step = call$8(next, iterator)).done) {
|
|
13757
13779
|
try {
|
|
13758
13780
|
result = callFn(step.value);
|
|
@@ -14181,7 +14203,7 @@ ModalDialog.defaultProps = {
|
|
|
14181
14203
|
};
|
|
14182
14204
|
|
|
14183
14205
|
const _excluded$5 = ["children"];
|
|
14184
|
-
var _jsxFileName$l = "
|
|
14206
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
14185
14207
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
14186
14208
|
const {
|
|
14187
14209
|
sizes
|
|
@@ -15880,7 +15902,7 @@ const MobileCalendarBox = ({
|
|
|
15880
15902
|
return null;
|
|
15881
15903
|
};
|
|
15882
15904
|
|
|
15883
|
-
var _jsxFileName$k = "
|
|
15905
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
15884
15906
|
const Input$3 = styled('input', {
|
|
15885
15907
|
display: 'none'
|
|
15886
15908
|
});
|
|
@@ -16137,33 +16159,33 @@ const NativeTimePicker = ({
|
|
|
16137
16159
|
})));
|
|
16138
16160
|
};
|
|
16139
16161
|
NativeTimePicker.propTypes = {
|
|
16140
|
-
/**
|
|
16141
|
-
Resize time picker.
|
|
16162
|
+
/**
|
|
16163
|
+
Resize time picker.
|
|
16142
16164
|
*/
|
|
16143
16165
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16144
16166
|
|
|
16145
|
-
/**
|
|
16146
|
-
Change handler.
|
|
16167
|
+
/**
|
|
16168
|
+
Change handler.
|
|
16147
16169
|
*/
|
|
16148
16170
|
onChange: PropTypes.func,
|
|
16149
16171
|
|
|
16150
|
-
/**
|
|
16151
|
-
Time picker default value, support moment format.
|
|
16172
|
+
/**
|
|
16173
|
+
Time picker default value, support moment format.
|
|
16152
16174
|
*/
|
|
16153
16175
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16154
16176
|
|
|
16155
|
-
/**
|
|
16156
|
-
Time picker value, support moment format.
|
|
16177
|
+
/**
|
|
16178
|
+
Time picker value, support moment format.
|
|
16157
16179
|
*/
|
|
16158
16180
|
value: PropTypes.instanceOf(Date),
|
|
16159
16181
|
|
|
16160
|
-
/**
|
|
16161
|
-
Specify the minimum date.
|
|
16182
|
+
/**
|
|
16183
|
+
Specify the minimum date.
|
|
16162
16184
|
*/
|
|
16163
16185
|
minDate: PropTypes.instanceOf(Date),
|
|
16164
16186
|
|
|
16165
|
-
/**
|
|
16166
|
-
Specify the maximum date.
|
|
16187
|
+
/**
|
|
16188
|
+
Specify the maximum date.
|
|
16167
16189
|
*/
|
|
16168
16190
|
maxDate: PropTypes.instanceOf(Date)
|
|
16169
16191
|
};
|
|
@@ -16208,49 +16230,49 @@ const TimePicker = ({
|
|
|
16208
16230
|
};
|
|
16209
16231
|
TimePicker.displayName = 'TimePicker';
|
|
16210
16232
|
TimePicker.propTypes = {
|
|
16211
|
-
/**
|
|
16212
|
-
Additional styles.
|
|
16233
|
+
/**
|
|
16234
|
+
Additional styles.
|
|
16213
16235
|
*/
|
|
16214
16236
|
css: PropTypes.object,
|
|
16215
16237
|
|
|
16216
|
-
/**
|
|
16217
|
-
Resize time picker.
|
|
16238
|
+
/**
|
|
16239
|
+
Resize time picker.
|
|
16218
16240
|
*/
|
|
16219
16241
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16220
16242
|
|
|
16221
|
-
/**
|
|
16222
|
-
Change handler.
|
|
16243
|
+
/**
|
|
16244
|
+
Change handler.
|
|
16223
16245
|
*/
|
|
16224
16246
|
onChange: PropTypes.func,
|
|
16225
16247
|
|
|
16226
|
-
/**
|
|
16227
|
-
Time picker default value, support moment format.
|
|
16248
|
+
/**
|
|
16249
|
+
Time picker default value, support moment format.
|
|
16228
16250
|
*/
|
|
16229
16251
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16230
16252
|
|
|
16231
|
-
/**
|
|
16232
|
-
Time picker value, support moment format.
|
|
16253
|
+
/**
|
|
16254
|
+
Time picker value, support moment format.
|
|
16233
16255
|
*/
|
|
16234
16256
|
value: PropTypes.instanceOf(Date),
|
|
16235
16257
|
|
|
16236
|
-
/**
|
|
16237
|
-
Disabled state.
|
|
16258
|
+
/**
|
|
16259
|
+
Disabled state.
|
|
16238
16260
|
*/
|
|
16239
16261
|
disabled: PropTypes.bool,
|
|
16240
16262
|
|
|
16241
|
-
/**
|
|
16242
|
-
Specify the minimum date.
|
|
16263
|
+
/**
|
|
16264
|
+
Specify the minimum date.
|
|
16243
16265
|
*/
|
|
16244
16266
|
minDate: PropTypes.instanceOf(Date),
|
|
16245
16267
|
|
|
16246
|
-
/**
|
|
16247
|
-
Specify the maximum date.
|
|
16268
|
+
/**
|
|
16269
|
+
Specify the maximum date.
|
|
16248
16270
|
*/
|
|
16249
16271
|
maxDate: PropTypes.instanceOf(Date)
|
|
16250
16272
|
};
|
|
16251
16273
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
16252
16274
|
|
|
16253
|
-
var _jsxFileName$j = "
|
|
16275
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
16254
16276
|
|
|
16255
16277
|
const getInputPickerValue$1 = date => {
|
|
16256
16278
|
if (!date) return;
|
|
@@ -16313,7 +16335,8 @@ function InputTimePicker({
|
|
|
16313
16335
|
value: getInputPickerValue$1(value),
|
|
16314
16336
|
defaultValue: defaultValue,
|
|
16315
16337
|
onChange: () => {},
|
|
16316
|
-
isPicker: true
|
|
16338
|
+
isPicker: true,
|
|
16339
|
+
autocomplete: "false" // tabIndex="-1"
|
|
16317
16340
|
,
|
|
16318
16341
|
__self: this,
|
|
16319
16342
|
__source: {
|
|
@@ -16334,7 +16357,7 @@ function InputTimePicker({
|
|
|
16334
16357
|
__self: this,
|
|
16335
16358
|
__source: {
|
|
16336
16359
|
fileName: _jsxFileName$j,
|
|
16337
|
-
lineNumber:
|
|
16360
|
+
lineNumber: 58,
|
|
16338
16361
|
columnNumber: 5
|
|
16339
16362
|
}
|
|
16340
16363
|
});
|
|
@@ -16346,7 +16369,7 @@ function InputTimePicker({
|
|
|
16346
16369
|
__self: this,
|
|
16347
16370
|
__source: {
|
|
16348
16371
|
fileName: _jsxFileName$j,
|
|
16349
|
-
lineNumber:
|
|
16372
|
+
lineNumber: 70,
|
|
16350
16373
|
columnNumber: 5
|
|
16351
16374
|
}
|
|
16352
16375
|
}, disabled || readOnly ? /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16354,14 +16377,14 @@ function InputTimePicker({
|
|
|
16354
16377
|
__self: this,
|
|
16355
16378
|
__source: {
|
|
16356
16379
|
fileName: _jsxFileName$j,
|
|
16357
|
-
lineNumber:
|
|
16380
|
+
lineNumber: 72,
|
|
16358
16381
|
columnNumber: 9
|
|
16359
16382
|
}
|
|
16360
16383
|
}, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
|
|
16361
16384
|
__self: this,
|
|
16362
16385
|
__source: {
|
|
16363
16386
|
fileName: _jsxFileName$j,
|
|
16364
|
-
lineNumber:
|
|
16387
|
+
lineNumber: 74,
|
|
16365
16388
|
columnNumber: 9
|
|
16366
16389
|
}
|
|
16367
16390
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16369,14 +16392,14 @@ function InputTimePicker({
|
|
|
16369
16392
|
__self: this,
|
|
16370
16393
|
__source: {
|
|
16371
16394
|
fileName: _jsxFileName$j,
|
|
16372
|
-
lineNumber:
|
|
16395
|
+
lineNumber: 75,
|
|
16373
16396
|
columnNumber: 11
|
|
16374
16397
|
}
|
|
16375
16398
|
}, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
|
|
16376
16399
|
__self: this,
|
|
16377
16400
|
__source: {
|
|
16378
16401
|
fileName: _jsxFileName$j,
|
|
16379
|
-
lineNumber:
|
|
16402
|
+
lineNumber: 78,
|
|
16380
16403
|
columnNumber: 7
|
|
16381
16404
|
}
|
|
16382
16405
|
}, renderTimePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16384,7 +16407,7 @@ function InputTimePicker({
|
|
|
16384
16407
|
__self: this,
|
|
16385
16408
|
__source: {
|
|
16386
16409
|
fileName: _jsxFileName$j,
|
|
16387
|
-
lineNumber:
|
|
16410
|
+
lineNumber: 82,
|
|
16388
16411
|
columnNumber: 7
|
|
16389
16412
|
}
|
|
16390
16413
|
}, renderInputGroup()), /*#__PURE__*/React__default.createElement(Drawer, {
|
|
@@ -16394,7 +16417,7 @@ function InputTimePicker({
|
|
|
16394
16417
|
__self: this,
|
|
16395
16418
|
__source: {
|
|
16396
16419
|
fileName: _jsxFileName$j,
|
|
16397
|
-
lineNumber:
|
|
16420
|
+
lineNumber: 83,
|
|
16398
16421
|
columnNumber: 7
|
|
16399
16422
|
}
|
|
16400
16423
|
}, /*#__PURE__*/React__default.createElement(DrawerContent, {
|
|
@@ -16405,7 +16428,7 @@ function InputTimePicker({
|
|
|
16405
16428
|
__self: this,
|
|
16406
16429
|
__source: {
|
|
16407
16430
|
fileName: _jsxFileName$j,
|
|
16408
|
-
lineNumber:
|
|
16431
|
+
lineNumber: 84,
|
|
16409
16432
|
columnNumber: 9
|
|
16410
16433
|
}
|
|
16411
16434
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -16417,7 +16440,7 @@ function InputTimePicker({
|
|
|
16417
16440
|
__self: this,
|
|
16418
16441
|
__source: {
|
|
16419
16442
|
fileName: _jsxFileName$j,
|
|
16420
|
-
lineNumber:
|
|
16443
|
+
lineNumber: 90,
|
|
16421
16444
|
columnNumber: 11
|
|
16422
16445
|
}
|
|
16423
16446
|
}, renderTimePicker()))));
|
|
@@ -16427,63 +16450,63 @@ InputTimePicker.defaultProps = {
|
|
|
16427
16450
|
placeholder: 'Select Time'
|
|
16428
16451
|
};
|
|
16429
16452
|
InputTimePicker.propTypes = {
|
|
16430
|
-
/**
|
|
16431
|
-
Additional styles.
|
|
16453
|
+
/**
|
|
16454
|
+
Additional styles.
|
|
16432
16455
|
*/
|
|
16433
16456
|
css: PropTypes.object,
|
|
16434
16457
|
|
|
16435
|
-
/**
|
|
16436
|
-
Disabled state.
|
|
16458
|
+
/**
|
|
16459
|
+
Disabled state.
|
|
16437
16460
|
*/
|
|
16438
16461
|
disabled: PropTypes.bool,
|
|
16439
16462
|
|
|
16440
|
-
/**
|
|
16441
|
-
ReadOnly state.
|
|
16463
|
+
/**
|
|
16464
|
+
ReadOnly state.
|
|
16442
16465
|
*/
|
|
16443
16466
|
readOnly: PropTypes.bool,
|
|
16444
16467
|
|
|
16445
|
-
/**
|
|
16446
|
-
Resize time picker.
|
|
16468
|
+
/**
|
|
16469
|
+
Resize time picker.
|
|
16447
16470
|
*/
|
|
16448
16471
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16449
16472
|
|
|
16450
|
-
/**
|
|
16451
|
-
Custom placeholder input time picker.
|
|
16473
|
+
/**
|
|
16474
|
+
Custom placeholder input time picker.
|
|
16452
16475
|
*/
|
|
16453
16476
|
placeholder: PropTypes.string,
|
|
16454
16477
|
|
|
16455
|
-
/**
|
|
16456
|
-
Time picker default value, support moment format.
|
|
16478
|
+
/**
|
|
16479
|
+
Time picker default value, support moment format.
|
|
16457
16480
|
*/
|
|
16458
16481
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16459
16482
|
|
|
16460
|
-
/**
|
|
16461
|
-
Time picker value, support moment format.
|
|
16483
|
+
/**
|
|
16484
|
+
Time picker value, support moment format.
|
|
16462
16485
|
*/
|
|
16463
16486
|
value: PropTypes.instanceOf(Date),
|
|
16464
16487
|
|
|
16465
|
-
/**
|
|
16466
|
-
Change handler.
|
|
16488
|
+
/**
|
|
16489
|
+
Change handler.
|
|
16467
16490
|
*/
|
|
16468
16491
|
onChange: PropTypes.func,
|
|
16469
16492
|
|
|
16470
|
-
/**
|
|
16471
|
-
Placement popover input time picker.
|
|
16493
|
+
/**
|
|
16494
|
+
Placement popover input time picker.
|
|
16472
16495
|
*/
|
|
16473
16496
|
placement: PropTypes.string,
|
|
16474
16497
|
|
|
16475
|
-
/**
|
|
16476
|
-
Specify the minimum date.
|
|
16498
|
+
/**
|
|
16499
|
+
Specify the minimum date.
|
|
16477
16500
|
*/
|
|
16478
16501
|
minDate: PropTypes.instanceOf(Date),
|
|
16479
16502
|
|
|
16480
|
-
/**
|
|
16481
|
-
Specify the maximum date.
|
|
16503
|
+
/**
|
|
16504
|
+
Specify the maximum date.
|
|
16482
16505
|
*/
|
|
16483
16506
|
maxDate: PropTypes.instanceOf(Date),
|
|
16484
16507
|
|
|
16485
|
-
/**
|
|
16486
|
-
* Invalid state input.
|
|
16508
|
+
/**
|
|
16509
|
+
* Invalid state input.
|
|
16487
16510
|
*/
|
|
16488
16511
|
isInvalid: PropTypes.bool
|
|
16489
16512
|
};
|
|
@@ -17075,7 +17098,8 @@ function InputDateRangePicker(props) {
|
|
|
17075
17098
|
value: value,
|
|
17076
17099
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
17077
17100
|
onChange: () => {},
|
|
17078
|
-
isPicker: true
|
|
17101
|
+
isPicker: true,
|
|
17102
|
+
autocomplete: "false"
|
|
17079
17103
|
}, void 0)]
|
|
17080
17104
|
}), void 0);
|
|
17081
17105
|
}
|
|
@@ -17179,7 +17203,8 @@ function InputDatePicker({
|
|
|
17179
17203
|
value: getInputPickerValue(type, selectedDate, showTimePicker),
|
|
17180
17204
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
17181
17205
|
onChange: () => {},
|
|
17182
|
-
isPicker: true
|
|
17206
|
+
isPicker: true,
|
|
17207
|
+
autocomplete: "false"
|
|
17183
17208
|
}, void 0)]
|
|
17184
17209
|
}), void 0);
|
|
17185
17210
|
} else {
|
|
@@ -17337,7 +17362,7 @@ const removeUndefinedFields = obj => {
|
|
|
17337
17362
|
};
|
|
17338
17363
|
|
|
17339
17364
|
const _excluded$4 = ["isActive", "onClick"];
|
|
17340
|
-
var _jsxFileName$i = "
|
|
17365
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
17341
17366
|
const PrevNextButton = styled(Text$1, {
|
|
17342
17367
|
padding: '$spacing-01',
|
|
17343
17368
|
cursor: 'pointer',
|
|
@@ -17607,7 +17632,7 @@ const PaginationButton = ({
|
|
|
17607
17632
|
};
|
|
17608
17633
|
|
|
17609
17634
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
17610
|
-
var _jsxFileName$h = "
|
|
17635
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
17611
17636
|
const LimitContainer = styled(Flex$1, {
|
|
17612
17637
|
cursor: 'pointer'
|
|
17613
17638
|
});
|
|
@@ -17744,7 +17769,7 @@ function PaginationInfo(_ref) {
|
|
|
17744
17769
|
}
|
|
17745
17770
|
|
|
17746
17771
|
const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
|
|
17747
|
-
var _jsxFileName$g = "
|
|
17772
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
17748
17773
|
|
|
17749
17774
|
function Pagination(_ref) {
|
|
17750
17775
|
let {
|
|
@@ -18894,7 +18919,7 @@ const TableColumn = _a => {
|
|
|
18894
18919
|
return jsx("div", {}, void 0);
|
|
18895
18920
|
};
|
|
18896
18921
|
|
|
18897
|
-
var _jsxFileName$f = "
|
|
18922
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
18898
18923
|
|
|
18899
18924
|
const DateColumn = ({
|
|
18900
18925
|
value,
|
|
@@ -18930,12 +18955,11 @@ var uncurryThis$9 = functionUncurryThis;
|
|
|
18930
18955
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
18931
18956
|
var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
|
|
18932
18957
|
|
|
18933
|
-
var global$7 = global$U;
|
|
18934
18958
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
18935
18959
|
var toString$7 = toString$h;
|
|
18936
18960
|
var requireObjectCoercible$3 = requireObjectCoercible$a;
|
|
18937
18961
|
|
|
18938
|
-
var RangeError$2 =
|
|
18962
|
+
var $RangeError$2 = RangeError;
|
|
18939
18963
|
|
|
18940
18964
|
// `String.prototype.repeat` method implementation
|
|
18941
18965
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -18943,21 +18967,20 @@ var stringRepeat = function repeat(count) {
|
|
|
18943
18967
|
var str = toString$7(requireObjectCoercible$3(this));
|
|
18944
18968
|
var result = '';
|
|
18945
18969
|
var n = toIntegerOrInfinity$3(count);
|
|
18946
|
-
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18970
|
+
if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
|
|
18947
18971
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18948
18972
|
return result;
|
|
18949
18973
|
};
|
|
18950
18974
|
|
|
18951
18975
|
var $$6 = _export;
|
|
18952
|
-
var global$6 = global$U;
|
|
18953
18976
|
var uncurryThis$8 = functionUncurryThis;
|
|
18954
18977
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
18955
18978
|
var thisNumberValue = thisNumberValue$1;
|
|
18956
18979
|
var $repeat = stringRepeat;
|
|
18957
18980
|
var fails$5 = fails$t;
|
|
18958
18981
|
|
|
18959
|
-
var RangeError$1 =
|
|
18960
|
-
var String
|
|
18982
|
+
var $RangeError$1 = RangeError;
|
|
18983
|
+
var $String = String;
|
|
18961
18984
|
var floor$3 = Math.floor;
|
|
18962
18985
|
var repeat = uncurryThis$8($repeat);
|
|
18963
18986
|
var stringSlice$6 = uncurryThis$8(''.slice);
|
|
@@ -19005,7 +19028,7 @@ var dataToString = function (data) {
|
|
|
19005
19028
|
var s = '';
|
|
19006
19029
|
while (--index >= 0) {
|
|
19007
19030
|
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
19008
|
-
var t = String
|
|
19031
|
+
var t = $String(data[index]);
|
|
19009
19032
|
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
19010
19033
|
}
|
|
19011
19034
|
} return s;
|
|
@@ -19033,10 +19056,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
19033
19056
|
var e, z, j, k;
|
|
19034
19057
|
|
|
19035
19058
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
19036
|
-
if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
|
|
19059
|
+
if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
|
|
19037
19060
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
19038
19061
|
if (number != number) return 'NaN';
|
|
19039
|
-
if (number <= -1e21 || number >= 1e21) return String
|
|
19062
|
+
if (number <= -1e21 || number >= 1e21) return $String(number);
|
|
19040
19063
|
if (number < 0) {
|
|
19041
19064
|
sign = '-';
|
|
19042
19065
|
number = -number;
|
|
@@ -19080,7 +19103,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
19080
19103
|
}
|
|
19081
19104
|
});
|
|
19082
19105
|
|
|
19083
|
-
var global$
|
|
19106
|
+
var global$3 = global$s;
|
|
19084
19107
|
var fails$4 = fails$t;
|
|
19085
19108
|
var uncurryThis$7 = functionUncurryThis;
|
|
19086
19109
|
var toString$6 = toString$h;
|
|
@@ -19088,8 +19111,8 @@ var trim = stringTrim.trim;
|
|
|
19088
19111
|
var whitespaces$1 = whitespaces$4;
|
|
19089
19112
|
|
|
19090
19113
|
var charAt$6 = uncurryThis$7(''.charAt);
|
|
19091
|
-
var n$ParseFloat = global$
|
|
19092
|
-
var Symbol$5 = global$
|
|
19114
|
+
var n$ParseFloat = global$3.parseFloat;
|
|
19115
|
+
var Symbol$5 = global$3.Symbol;
|
|
19093
19116
|
var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
|
|
19094
19117
|
var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
19095
19118
|
// MS Edge 18- broken with boxed symbols
|
|
@@ -19578,7 +19601,7 @@ const PriceColumn = props => {
|
|
|
19578
19601
|
return addThousandSeparator(param);
|
|
19579
19602
|
};
|
|
19580
19603
|
|
|
19581
|
-
var _jsxFileName$e = "
|
|
19604
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
19582
19605
|
const rowExpanderColumn = {
|
|
19583
19606
|
id: 'expander',
|
|
19584
19607
|
Header: () => null,
|
|
@@ -19620,7 +19643,7 @@ const rowExpanderColumn = {
|
|
|
19620
19643
|
unsortable: true
|
|
19621
19644
|
};
|
|
19622
19645
|
|
|
19623
|
-
var _jsxFileName$d = "
|
|
19646
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
19624
19647
|
|
|
19625
19648
|
const rowMenuColumn = (options, icon, config) => ({
|
|
19626
19649
|
id: 'menu',
|
|
@@ -19878,7 +19901,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19878
19901
|
unsortable: true
|
|
19879
19902
|
});
|
|
19880
19903
|
|
|
19881
|
-
var _jsxFileName$c = "
|
|
19904
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
19882
19905
|
const rowSelectionColumn = {
|
|
19883
19906
|
id: 'selection',
|
|
19884
19907
|
Header: ({
|
|
@@ -20199,7 +20222,7 @@ PageDialog.defaultProps = {
|
|
|
20199
20222
|
};
|
|
20200
20223
|
|
|
20201
20224
|
const _excluded$1 = ["children"];
|
|
20202
|
-
var _jsxFileName$b = "
|
|
20225
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
20203
20226
|
const overlayShow = keyframes({
|
|
20204
20227
|
'0%': {
|
|
20205
20228
|
opacity: 0
|
|
@@ -20802,7 +20825,7 @@ const AlertDialogCancel = ADialog.Cancel;
|
|
|
20802
20825
|
const AlertDialogConfirm = ADialog.Action;
|
|
20803
20826
|
|
|
20804
20827
|
const _excluded = ["side", "align", "children"];
|
|
20805
|
-
var _jsxFileName$a = "
|
|
20828
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
20806
20829
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
20807
20830
|
const slideUpAndFade = keyframes({
|
|
20808
20831
|
'0%': {
|
|
@@ -21139,7 +21162,6 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
21139
21162
|
}
|
|
21140
21163
|
};
|
|
21141
21164
|
|
|
21142
|
-
var global$4 = global$U;
|
|
21143
21165
|
var bind$2 = functionBindContext;
|
|
21144
21166
|
var call$2 = functionCall;
|
|
21145
21167
|
var toObject = toObject$7;
|
|
@@ -21151,7 +21173,7 @@ var createProperty = createProperty$2;
|
|
|
21151
21173
|
var getIterator$1 = getIterator$3;
|
|
21152
21174
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
21153
21175
|
|
|
21154
|
-
var Array
|
|
21176
|
+
var $Array = Array;
|
|
21155
21177
|
|
|
21156
21178
|
// `Array.from` method implementation
|
|
21157
21179
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -21166,7 +21188,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21166
21188
|
var index = 0;
|
|
21167
21189
|
var length, result, step, iterator, next, value;
|
|
21168
21190
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
21169
|
-
if (iteratorMethod && !(this
|
|
21191
|
+
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
21170
21192
|
iterator = getIterator$1(O, iteratorMethod);
|
|
21171
21193
|
next = iterator.next;
|
|
21172
21194
|
result = IS_CONSTRUCTOR ? new this() : [];
|
|
@@ -21176,7 +21198,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21176
21198
|
}
|
|
21177
21199
|
} else {
|
|
21178
21200
|
length = lengthOfArrayLike(O);
|
|
21179
|
-
result = IS_CONSTRUCTOR ? new this(length) : Array
|
|
21201
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
21180
21202
|
for (;length > index; index++) {
|
|
21181
21203
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
21182
21204
|
createProperty(result, index, value);
|
|
@@ -21187,7 +21209,6 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21187
21209
|
};
|
|
21188
21210
|
|
|
21189
21211
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
21190
|
-
var global$3 = global$U;
|
|
21191
21212
|
var uncurryThis$2 = functionUncurryThis;
|
|
21192
21213
|
|
|
21193
21214
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -21204,7 +21225,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
|
21204
21225
|
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
|
|
21205
21226
|
var baseMinusTMin = base - tMin;
|
|
21206
21227
|
|
|
21207
|
-
var RangeError =
|
|
21228
|
+
var $RangeError = RangeError;
|
|
21208
21229
|
var exec$1 = uncurryThis$2(regexSeparators.exec);
|
|
21209
21230
|
var floor$1 = Math.floor;
|
|
21210
21231
|
var fromCharCode = String.fromCharCode;
|
|
@@ -21319,7 +21340,7 @@ var encode = function (input) {
|
|
|
21319
21340
|
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
|
|
21320
21341
|
var handledCPCountPlusOne = handledCPCount + 1;
|
|
21321
21342
|
if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
|
|
21322
|
-
throw RangeError(OVERFLOW_ERROR);
|
|
21343
|
+
throw $RangeError(OVERFLOW_ERROR);
|
|
21323
21344
|
}
|
|
21324
21345
|
|
|
21325
21346
|
delta += (m - n) * handledCPCountPlusOne;
|
|
@@ -21328,7 +21349,7 @@ var encode = function (input) {
|
|
|
21328
21349
|
for (i = 0; i < input.length; i++) {
|
|
21329
21350
|
currentValue = input[i];
|
|
21330
21351
|
if (currentValue < n && ++delta > maxInt) {
|
|
21331
|
-
throw RangeError(OVERFLOW_ERROR);
|
|
21352
|
+
throw $RangeError(OVERFLOW_ERROR);
|
|
21332
21353
|
}
|
|
21333
21354
|
if (currentValue == n) {
|
|
21334
21355
|
// Represent delta as a generalized variable-length integer.
|
|
@@ -21378,7 +21399,7 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
21378
21399
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
21379
21400
|
|
|
21380
21401
|
var $$4 = _export;
|
|
21381
|
-
var global$2 = global$
|
|
21402
|
+
var global$2 = global$s;
|
|
21382
21403
|
var call$1 = functionCall;
|
|
21383
21404
|
var uncurryThis$1 = functionUncurryThis;
|
|
21384
21405
|
var DESCRIPTORS$1 = descriptors;
|
|
@@ -21740,7 +21761,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21740
21761
|
};
|
|
21741
21762
|
|
|
21742
21763
|
if (isCallable(nativeFetch)) {
|
|
21743
|
-
$$4({ global: true, enumerable: true,
|
|
21764
|
+
$$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
21744
21765
|
fetch: function fetch(input /* , init */) {
|
|
21745
21766
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
21746
21767
|
}
|
|
@@ -21756,7 +21777,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21756
21777
|
RequestPrototype.constructor = RequestConstructor;
|
|
21757
21778
|
RequestConstructor.prototype = RequestPrototype;
|
|
21758
21779
|
|
|
21759
|
-
$$4({ global: true, constructor: true,
|
|
21780
|
+
$$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
21760
21781
|
Request: RequestConstructor
|
|
21761
21782
|
});
|
|
21762
21783
|
}
|
|
@@ -21772,7 +21793,7 @@ var web_urlSearchParams_constructor = {
|
|
|
21772
21793
|
var $$3 = _export;
|
|
21773
21794
|
var DESCRIPTORS = descriptors;
|
|
21774
21795
|
var USE_NATIVE_URL = nativeUrl;
|
|
21775
|
-
var global$1 = global$
|
|
21796
|
+
var global$1 = global$s;
|
|
21776
21797
|
var bind = functionBindContext;
|
|
21777
21798
|
var uncurryThis = functionUncurryThis;
|
|
21778
21799
|
var defineBuiltIn = defineBuiltIn$b;
|
|
@@ -22916,7 +22937,7 @@ function upload({
|
|
|
22916
22937
|
return promise;
|
|
22917
22938
|
}
|
|
22918
22939
|
|
|
22919
|
-
var _jsxFileName$9 = "
|
|
22940
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
22920
22941
|
const Input$2 = styled('input', {
|
|
22921
22942
|
display: 'none !important'
|
|
22922
22943
|
});
|
|
@@ -24105,176 +24126,176 @@ Upload.defaultProps = {
|
|
|
24105
24126
|
imageCompression: true
|
|
24106
24127
|
};
|
|
24107
24128
|
Upload.propTypes = {
|
|
24108
|
-
/**
|
|
24109
|
-
Placeholder label of upload.
|
|
24129
|
+
/**
|
|
24130
|
+
Placeholder label of upload.
|
|
24110
24131
|
*/
|
|
24111
24132
|
placeholder: PropTypes.string,
|
|
24112
24133
|
|
|
24113
|
-
/**
|
|
24114
|
-
Disabled state of upload.
|
|
24134
|
+
/**
|
|
24135
|
+
Disabled state of upload.
|
|
24115
24136
|
*/
|
|
24116
24137
|
disabled: PropTypes.bool,
|
|
24117
24138
|
|
|
24118
|
-
/**
|
|
24119
|
-
Built-in stylesheets, support for two types.
|
|
24139
|
+
/**
|
|
24140
|
+
Built-in stylesheets, support for two types.
|
|
24120
24141
|
*/
|
|
24121
24142
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
24122
24143
|
|
|
24123
|
-
/**
|
|
24124
|
-
Whether to support selected multiple file.
|
|
24144
|
+
/**
|
|
24145
|
+
Whether to support selected multiple file.
|
|
24125
24146
|
*/
|
|
24126
24147
|
multiple: PropTypes.bool,
|
|
24127
24148
|
|
|
24128
|
-
/**
|
|
24129
|
-
List of files to be uploaded.
|
|
24149
|
+
/**
|
|
24150
|
+
List of files to be uploaded.
|
|
24130
24151
|
*/
|
|
24131
24152
|
fileList: PropTypes.array,
|
|
24132
24153
|
|
|
24133
|
-
/**
|
|
24134
|
-
A callback function, can be executed when uploading state is changing.
|
|
24154
|
+
/**
|
|
24155
|
+
A callback function, can be executed when uploading state is changing.
|
|
24135
24156
|
*/
|
|
24136
24157
|
onChange: PropTypes.func,
|
|
24137
24158
|
|
|
24138
|
-
/**
|
|
24139
|
-
A callback function, can be executed when uploading in progress.
|
|
24140
|
-
`(progress) => void`
|
|
24159
|
+
/**
|
|
24160
|
+
A callback function, can be executed when uploading in progress.
|
|
24161
|
+
`(progress) => void`
|
|
24141
24162
|
*/
|
|
24142
24163
|
onProgress: PropTypes.func,
|
|
24143
24164
|
|
|
24144
|
-
/**
|
|
24145
|
-
A callback function, can be executed when uploading is success.
|
|
24146
|
-
`(response) => void`
|
|
24165
|
+
/**
|
|
24166
|
+
A callback function, can be executed when uploading is success.
|
|
24167
|
+
`(response) => void`
|
|
24147
24168
|
*/
|
|
24148
24169
|
onSuccess: PropTypes.func,
|
|
24149
24170
|
|
|
24150
|
-
/**
|
|
24151
|
-
A callback function, can be executed when uploading is error.
|
|
24152
|
-
`(error, response) => void`
|
|
24171
|
+
/**
|
|
24172
|
+
A callback function, can be executed when uploading is error.
|
|
24173
|
+
`(error, response) => void`
|
|
24153
24174
|
*/
|
|
24154
24175
|
onError: PropTypes.func,
|
|
24155
24176
|
|
|
24156
|
-
/**
|
|
24157
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
24177
|
+
/**
|
|
24178
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
24158
24179
|
*/
|
|
24159
24180
|
onPreview: PropTypes.func,
|
|
24160
24181
|
|
|
24161
|
-
/**
|
|
24162
|
-
A callback function, can be executed when remove icon is clicked.
|
|
24182
|
+
/**
|
|
24183
|
+
A callback function, can be executed when remove icon is clicked.
|
|
24163
24184
|
*/
|
|
24164
24185
|
onRemove: PropTypes.func,
|
|
24165
24186
|
|
|
24166
|
-
/**
|
|
24167
|
-
A custom element inside upload container.
|
|
24187
|
+
/**
|
|
24188
|
+
A custom element inside upload container.
|
|
24168
24189
|
*/
|
|
24169
24190
|
children: PropTypes.element,
|
|
24170
24191
|
|
|
24171
|
-
/**
|
|
24172
|
-
Limit the number of uploaded files.
|
|
24192
|
+
/**
|
|
24193
|
+
Limit the number of uploaded files.
|
|
24173
24194
|
*/
|
|
24174
24195
|
max: PropTypes.number,
|
|
24175
24196
|
|
|
24176
|
-
/**
|
|
24177
|
-
Limit the maximum image size in MB.
|
|
24197
|
+
/**
|
|
24198
|
+
Limit the maximum image size in MB.
|
|
24178
24199
|
*/
|
|
24179
24200
|
maxSizeMB: PropTypes.number,
|
|
24180
24201
|
|
|
24181
|
-
/**
|
|
24182
|
-
Limit file type of upload.
|
|
24202
|
+
/**
|
|
24203
|
+
Limit file type of upload.
|
|
24183
24204
|
*/
|
|
24184
24205
|
accept: PropTypes.string,
|
|
24185
24206
|
|
|
24186
|
-
/**
|
|
24187
|
-
Custom label for replace button.
|
|
24207
|
+
/**
|
|
24208
|
+
Custom label for replace button.
|
|
24188
24209
|
*/
|
|
24189
24210
|
replaceLabel: PropTypes.string,
|
|
24190
24211
|
|
|
24191
|
-
/**
|
|
24192
|
-
Custom width of upload container.
|
|
24212
|
+
/**
|
|
24213
|
+
Custom width of upload container.
|
|
24193
24214
|
*/
|
|
24194
24215
|
width: PropTypes.number,
|
|
24195
24216
|
|
|
24196
|
-
/**
|
|
24197
|
-
Custom height of upload container.
|
|
24217
|
+
/**
|
|
24218
|
+
Custom height of upload container.
|
|
24198
24219
|
*/
|
|
24199
24220
|
height: PropTypes.number,
|
|
24200
24221
|
|
|
24201
|
-
/**
|
|
24202
|
-
Additional css.
|
|
24222
|
+
/**
|
|
24223
|
+
Additional css.
|
|
24203
24224
|
*/
|
|
24204
24225
|
css: PropTypes.object,
|
|
24205
24226
|
|
|
24206
|
-
/**
|
|
24207
|
-
Custom title header of cropper modal.
|
|
24227
|
+
/**
|
|
24228
|
+
Custom title header of cropper modal.
|
|
24208
24229
|
*/
|
|
24209
24230
|
cropperTitle: PropTypes.string,
|
|
24210
24231
|
|
|
24211
|
-
/**
|
|
24212
|
-
Add image cropper on upload.
|
|
24232
|
+
/**
|
|
24233
|
+
Add image cropper on upload.
|
|
24213
24234
|
*/
|
|
24214
24235
|
showCropper: PropTypes.bool,
|
|
24215
24236
|
|
|
24216
|
-
/**
|
|
24217
|
-
Hidden toggle aspect ratio image cropper.
|
|
24237
|
+
/**
|
|
24238
|
+
Hidden toggle aspect ratio image cropper.
|
|
24218
24239
|
*/
|
|
24219
24240
|
hiddenToggleAspect: PropTypes.bool,
|
|
24220
24241
|
|
|
24221
|
-
/**
|
|
24222
|
-
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.
|
|
24242
|
+
/**
|
|
24243
|
+
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.
|
|
24223
24244
|
*/
|
|
24224
24245
|
ratio: PropTypes.number,
|
|
24225
24246
|
|
|
24226
|
-
/**
|
|
24227
|
-
Can set error message to the upload.
|
|
24247
|
+
/**
|
|
24248
|
+
Can set error message to the upload.
|
|
24228
24249
|
*/
|
|
24229
24250
|
errorMessage: PropTypes.string,
|
|
24230
24251
|
|
|
24231
|
-
/**
|
|
24232
|
-
Progress of upload process.
|
|
24252
|
+
/**
|
|
24253
|
+
Progress of upload process.
|
|
24233
24254
|
*/
|
|
24234
24255
|
progress: PropTypes.number,
|
|
24235
24256
|
|
|
24236
|
-
/**
|
|
24237
|
-
Auto increment progress of upload process.
|
|
24257
|
+
/**
|
|
24258
|
+
Auto increment progress of upload process.
|
|
24238
24259
|
*/
|
|
24239
24260
|
loading: PropTypes.bool,
|
|
24240
24261
|
|
|
24241
|
-
/**
|
|
24242
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
24262
|
+
/**
|
|
24263
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
24243
24264
|
*/
|
|
24244
24265
|
action: PropTypes.string,
|
|
24245
24266
|
|
|
24246
|
-
/**
|
|
24247
|
-
Custom body request to upload action.
|
|
24267
|
+
/**
|
|
24268
|
+
Custom body request to upload action.
|
|
24248
24269
|
*/
|
|
24249
24270
|
customBodyRequest: PropTypes.func,
|
|
24250
24271
|
|
|
24251
|
-
/**
|
|
24252
|
-
Contains an authentication token for upload API.
|
|
24272
|
+
/**
|
|
24273
|
+
Contains an authentication token for upload API.
|
|
24253
24274
|
*/
|
|
24254
24275
|
token: PropTypes.string,
|
|
24255
24276
|
|
|
24256
|
-
/**
|
|
24257
|
-
Referencing the headers key to attach the token.
|
|
24277
|
+
/**
|
|
24278
|
+
Referencing the headers key to attach the token.
|
|
24258
24279
|
*/
|
|
24259
24280
|
tokenKey: PropTypes.string,
|
|
24260
24281
|
|
|
24261
|
-
/**
|
|
24262
|
-
Referencing the key to attach the file to be sent.
|
|
24282
|
+
/**
|
|
24283
|
+
Referencing the key to attach the file to be sent.
|
|
24263
24284
|
*/
|
|
24264
24285
|
reqKey: PropTypes.string,
|
|
24265
24286
|
|
|
24266
|
-
/**
|
|
24267
|
-
Referencing the key to get the file from the API response.
|
|
24287
|
+
/**
|
|
24288
|
+
Referencing the key to get the file from the API response.
|
|
24268
24289
|
*/
|
|
24269
24290
|
resKey: PropTypes.string,
|
|
24270
24291
|
|
|
24271
|
-
/**
|
|
24272
|
-
To compression image if file size > 1MB.
|
|
24292
|
+
/**
|
|
24293
|
+
To compression image if file size > 1MB.
|
|
24273
24294
|
*/
|
|
24274
24295
|
imageCompression: PropTypes.bool,
|
|
24275
24296
|
|
|
24276
|
-
/**
|
|
24277
|
-
Callback to handle before crop image.
|
|
24297
|
+
/**
|
|
24298
|
+
Callback to handle before crop image.
|
|
24278
24299
|
*/
|
|
24279
24300
|
onBeforeCrop: PropTypes.func
|
|
24280
24301
|
};
|
|
@@ -24902,7 +24923,7 @@ const Device = props => {
|
|
|
24902
24923
|
|
|
24903
24924
|
Device.displayName = 'DevicePreview';
|
|
24904
24925
|
|
|
24905
|
-
var _jsxFileName$8 = "
|
|
24926
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
24906
24927
|
const Separator$1 = styled('div', {
|
|
24907
24928
|
height: 20,
|
|
24908
24929
|
width: 1,
|
|
@@ -25014,28 +25035,28 @@ function InputColorPicker(props) {
|
|
|
25014
25035
|
|
|
25015
25036
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
25016
25037
|
InputColorPicker.propTypes = {
|
|
25017
|
-
/**
|
|
25018
|
-
Color code to be displayed.
|
|
25038
|
+
/**
|
|
25039
|
+
Color code to be displayed.
|
|
25019
25040
|
*/
|
|
25020
25041
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
25021
25042
|
|
|
25022
|
-
/**
|
|
25023
|
-
Additional color list.
|
|
25043
|
+
/**
|
|
25044
|
+
Additional color list.
|
|
25024
25045
|
*/
|
|
25025
25046
|
presetColors: PropTypes.array,
|
|
25026
25047
|
|
|
25027
|
-
/**
|
|
25028
|
-
Change event handler.
|
|
25048
|
+
/**
|
|
25049
|
+
Change event handler.
|
|
25029
25050
|
*/
|
|
25030
25051
|
onChange: PropTypes.func,
|
|
25031
25052
|
|
|
25032
|
-
/**
|
|
25033
|
-
Add preset color event handler.
|
|
25053
|
+
/**
|
|
25054
|
+
Add preset color event handler.
|
|
25034
25055
|
*/
|
|
25035
25056
|
onAddColor: PropTypes.func,
|
|
25036
25057
|
|
|
25037
|
-
/**
|
|
25038
|
-
Disable opacity selector.
|
|
25058
|
+
/**
|
|
25059
|
+
Disable opacity selector.
|
|
25039
25060
|
*/
|
|
25040
25061
|
disableAlpha: PropTypes.bool
|
|
25041
25062
|
};
|
|
@@ -25045,7 +25066,7 @@ InputColorPicker.defaultProps = {
|
|
|
25045
25066
|
|
|
25046
25067
|
var img$d = "data:image/gif;base64,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";
|
|
25047
25068
|
|
|
25048
|
-
var _jsxFileName$7 = "
|
|
25069
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
25049
25070
|
const Container$7 = styled('div', {
|
|
25050
25071
|
userSelect: 'none',
|
|
25051
25072
|
margin: 'auto',
|
|
@@ -27009,7 +27030,7 @@ function ColorMap({
|
|
|
27009
27030
|
})));
|
|
27010
27031
|
}
|
|
27011
27032
|
|
|
27012
|
-
var _jsxFileName$6 = "
|
|
27033
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
27013
27034
|
const CheckBoard = styled(Flex$1, {
|
|
27014
27035
|
background: '$bgwhite',
|
|
27015
27036
|
border: '1px solid #E5E7EB',
|
|
@@ -27210,7 +27231,7 @@ function ColorFields({
|
|
|
27210
27231
|
}, "%")));
|
|
27211
27232
|
}
|
|
27212
27233
|
|
|
27213
|
-
var _jsxFileName$5 = "
|
|
27234
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
27214
27235
|
const Container$6 = styled(Flex$1, {
|
|
27215
27236
|
background: '$white',
|
|
27216
27237
|
padding: 16,
|
|
@@ -27713,28 +27734,28 @@ function ColorPicker({
|
|
|
27713
27734
|
}
|
|
27714
27735
|
|
|
27715
27736
|
ColorPicker.propTypes = {
|
|
27716
|
-
/**
|
|
27717
|
-
Color code to be displayed.
|
|
27737
|
+
/**
|
|
27738
|
+
Color code to be displayed.
|
|
27718
27739
|
*/
|
|
27719
27740
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
27720
27741
|
|
|
27721
|
-
/**
|
|
27722
|
-
Additional color list
|
|
27742
|
+
/**
|
|
27743
|
+
Additional color list
|
|
27723
27744
|
*/
|
|
27724
27745
|
presetColors: PropTypes.array,
|
|
27725
27746
|
|
|
27726
|
-
/**
|
|
27727
|
-
Change event handler
|
|
27747
|
+
/**
|
|
27748
|
+
Change event handler
|
|
27728
27749
|
*/
|
|
27729
27750
|
onChange: PropTypes.func,
|
|
27730
27751
|
|
|
27731
|
-
/**
|
|
27732
|
-
Add preset color event handler
|
|
27752
|
+
/**
|
|
27753
|
+
Add preset color event handler
|
|
27733
27754
|
*/
|
|
27734
27755
|
onAddColor: PropTypes.func,
|
|
27735
27756
|
|
|
27736
|
-
/**
|
|
27737
|
-
Disable opacity selector
|
|
27757
|
+
/**
|
|
27758
|
+
Disable opacity selector
|
|
27738
27759
|
*/
|
|
27739
27760
|
disableAlpha: PropTypes.bool
|
|
27740
27761
|
};
|
|
@@ -27743,7 +27764,7 @@ ColorPicker.defaultProps = {
|
|
|
27743
27764
|
};
|
|
27744
27765
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
27745
27766
|
|
|
27746
|
-
var _jsxFileName$4 = "
|
|
27767
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
27747
27768
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
27748
27769
|
const Stepper = StepWizard$1;
|
|
27749
27770
|
Stepper.displayName = 'Stepper';
|
|
@@ -28287,7 +28308,7 @@ const StepWizard = props => {
|
|
|
28287
28308
|
}), void 0);
|
|
28288
28309
|
};
|
|
28289
28310
|
|
|
28290
|
-
var _jsxFileName$3 = "
|
|
28311
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
28291
28312
|
|
|
28292
28313
|
function Collapse({
|
|
28293
28314
|
children,
|
|
@@ -28332,7 +28353,7 @@ Collapse.defaultProps = {
|
|
|
28332
28353
|
isOpen: false
|
|
28333
28354
|
};
|
|
28334
28355
|
|
|
28335
|
-
var _jsxFileName$2 = "
|
|
28356
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
28336
28357
|
const DesktopContainer = styled(Flex$1, {
|
|
28337
28358
|
display: 'none',
|
|
28338
28359
|
'& .active-scroll-spy': {
|
|
@@ -28658,28 +28679,28 @@ TableOfContent.defaultProps = {
|
|
|
28658
28679
|
isDialog: false
|
|
28659
28680
|
};
|
|
28660
28681
|
TableOfContent.propTypes = {
|
|
28661
|
-
/**
|
|
28662
|
-
List of contents containing the title and id of a content.
|
|
28682
|
+
/**
|
|
28683
|
+
List of contents containing the title and id of a content.
|
|
28663
28684
|
*/
|
|
28664
28685
|
content: PropTypes.array,
|
|
28665
28686
|
|
|
28666
|
-
/**
|
|
28667
|
-
Components devoted to mobile viewing only.
|
|
28687
|
+
/**
|
|
28688
|
+
Components devoted to mobile viewing only.
|
|
28668
28689
|
*/
|
|
28669
28690
|
isMobile: PropTypes.bool,
|
|
28670
28691
|
|
|
28671
|
-
/**
|
|
28672
|
-
Condition when table of content is inside a component dialog.
|
|
28692
|
+
/**
|
|
28693
|
+
Condition when table of content is inside a component dialog.
|
|
28673
28694
|
*/
|
|
28674
28695
|
isDialog: PropTypes.bool,
|
|
28675
28696
|
|
|
28676
|
-
/**
|
|
28677
|
-
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28697
|
+
/**
|
|
28698
|
+
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28678
28699
|
*/
|
|
28679
28700
|
activeId: PropTypes.string,
|
|
28680
28701
|
|
|
28681
|
-
/**
|
|
28682
|
-
Event Callback on navigation click.
|
|
28702
|
+
/**
|
|
28703
|
+
Event Callback on navigation click.
|
|
28683
28704
|
*/
|
|
28684
28705
|
onNavClick: PropTypes.func
|
|
28685
28706
|
};
|
|
@@ -28699,7 +28720,7 @@ TableOfContentPage.defaultProps = {
|
|
|
28699
28720
|
useBoxMethod: true
|
|
28700
28721
|
};
|
|
28701
28722
|
|
|
28702
|
-
var _jsxFileName$1 = "
|
|
28723
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
28703
28724
|
|
|
28704
28725
|
function Collapalse({
|
|
28705
28726
|
children,
|
|
@@ -32111,7 +32132,7 @@ function Skeleton(props) {
|
|
|
32111
32132
|
}), void 0);
|
|
32112
32133
|
}
|
|
32113
32134
|
|
|
32114
|
-
var _jsxFileName = "
|
|
32135
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
32115
32136
|
const StyledPaper = styled(Paper, {
|
|
32116
32137
|
borderRadius: '10px 10px 0 0',
|
|
32117
32138
|
padding: 15,
|