@majoo-ui/react 1.54.12 → 1.54.13-rc.1
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 +598 -578
- package/index.umd.css +1295 -1308
- package/index.umd.js +598 -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,18 @@ 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
|
+
'&:hover': {
|
|
5919
|
+
border: 'none !important'
|
|
5920
|
+
}
|
|
5916
5921
|
}
|
|
5917
5922
|
}
|
|
5918
5923
|
},
|
|
@@ -6017,19 +6022,19 @@ const InputGroup = _ref => {
|
|
|
6017
6022
|
__self: undefined,
|
|
6018
6023
|
__source: {
|
|
6019
6024
|
fileName: _jsxFileName$I,
|
|
6020
|
-
lineNumber:
|
|
6025
|
+
lineNumber: 153,
|
|
6021
6026
|
columnNumber: 10
|
|
6022
6027
|
}
|
|
6023
6028
|
}));
|
|
6024
6029
|
};
|
|
6025
6030
|
InputGroup.propTypes = {
|
|
6026
|
-
/**
|
|
6027
|
-
Adjust Input Text Size
|
|
6031
|
+
/**
|
|
6032
|
+
Adjust Input Text Size
|
|
6028
6033
|
*/
|
|
6029
6034
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6030
6035
|
|
|
6031
|
-
/**
|
|
6032
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
6036
|
+
/**
|
|
6037
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
6033
6038
|
*/
|
|
6034
6039
|
children: PropTypes.node.isRequired,
|
|
6035
6040
|
|
|
@@ -6111,7 +6116,8 @@ const InputLeftAddon = styled(InputAddon, {
|
|
|
6111
6116
|
}
|
|
6112
6117
|
});
|
|
6113
6118
|
InputLeftAddon.defaultProps = {
|
|
6114
|
-
as: 'div'
|
|
6119
|
+
as: 'div',
|
|
6120
|
+
className: 'addon'
|
|
6115
6121
|
};
|
|
6116
6122
|
InputLeftAddon.name = 'InputLeftAddon';
|
|
6117
6123
|
const InputRightAddon = styled(InputAddon, {
|
|
@@ -6138,7 +6144,8 @@ const InputRightAddon = styled(InputAddon, {
|
|
|
6138
6144
|
});
|
|
6139
6145
|
InputRightAddon.name = 'InputRightAddon';
|
|
6140
6146
|
InputRightAddon.defaultProps = {
|
|
6141
|
-
as: 'div'
|
|
6147
|
+
as: 'div',
|
|
6148
|
+
className: 'addon'
|
|
6142
6149
|
};
|
|
6143
6150
|
|
|
6144
6151
|
const InputLetter = styled(Text$1, {
|
|
@@ -6195,7 +6202,7 @@ InputSuffix.propTypes = {
|
|
|
6195
6202
|
};
|
|
6196
6203
|
|
|
6197
6204
|
const _excluded$l = ["disabled", "readOnly"];
|
|
6198
|
-
var _jsxFileName$H = "
|
|
6205
|
+
var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
6199
6206
|
const disabledStyle = {
|
|
6200
6207
|
backgroundColor: '$formDisable',
|
|
6201
6208
|
color: '$textDisable',
|
|
@@ -6385,7 +6392,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
6385
6392
|
InputText.displayName = 'InputText';
|
|
6386
6393
|
|
|
6387
6394
|
const _excluded$k = ["disabled", "readOnly"];
|
|
6388
|
-
var _jsxFileName$G = "
|
|
6395
|
+
var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
6389
6396
|
const StyledTextArea = styled(StyledInput$1, {
|
|
6390
6397
|
variants: {
|
|
6391
6398
|
size: {
|
|
@@ -6457,7 +6464,7 @@ InputTextArea.defaultProps = {
|
|
|
6457
6464
|
|
|
6458
6465
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
6459
6466
|
|
|
6460
|
-
var _jsxFileName$F = "
|
|
6467
|
+
var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
6461
6468
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
6462
6469
|
function InputRadioGroup(props) {
|
|
6463
6470
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -6490,7 +6497,7 @@ InputRadioGroup.propTypes = {
|
|
|
6490
6497
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
6491
6498
|
|
|
6492
6499
|
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
6493
|
-
var _jsxFileName$E = "
|
|
6500
|
+
var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
6494
6501
|
const INDICATOR_BASE_STYLES = {
|
|
6495
6502
|
alignItems: 'center',
|
|
6496
6503
|
display: 'flex',
|
|
@@ -6802,7 +6809,7 @@ InputRightElement.propTypes = {
|
|
|
6802
6809
|
InputRightElement.name = 'InputRightElement';
|
|
6803
6810
|
|
|
6804
6811
|
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
|
|
6805
|
-
var _jsxFileName$D = "
|
|
6812
|
+
var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
6806
6813
|
const StyledInput = styled(NumberFormat, {
|
|
6807
6814
|
// Reset
|
|
6808
6815
|
appearance: 'none',
|
|
@@ -7052,6 +7059,7 @@ var regexpFlags$1 = function () {
|
|
|
7052
7059
|
if (that.multiline) result += 'm';
|
|
7053
7060
|
if (that.dotAll) result += 's';
|
|
7054
7061
|
if (that.unicode) result += 'u';
|
|
7062
|
+
if (that.unicodeSets) result += 'v';
|
|
7055
7063
|
if (that.sticky) result += 'y';
|
|
7056
7064
|
return result;
|
|
7057
7065
|
};
|
|
@@ -7070,10 +7078,10 @@ var regexpGetFlags = function (R) {
|
|
|
7070
7078
|
};
|
|
7071
7079
|
|
|
7072
7080
|
var fails$g = fails$t;
|
|
7073
|
-
var global$
|
|
7081
|
+
var global$g = global$s;
|
|
7074
7082
|
|
|
7075
7083
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
7076
|
-
var $RegExp$2 = global$
|
|
7084
|
+
var $RegExp$2 = global$g.RegExp;
|
|
7077
7085
|
|
|
7078
7086
|
var UNSUPPORTED_Y$3 = fails$g(function () {
|
|
7079
7087
|
var re = $RegExp$2('a', 'y');
|
|
@@ -7130,10 +7138,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
7130
7138
|
};
|
|
7131
7139
|
|
|
7132
7140
|
var fails$f = fails$t;
|
|
7133
|
-
var global$
|
|
7141
|
+
var global$f = global$s;
|
|
7134
7142
|
|
|
7135
7143
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
7136
|
-
var $RegExp$1 = global$
|
|
7144
|
+
var $RegExp$1 = global$f.RegExp;
|
|
7137
7145
|
|
|
7138
7146
|
var regexpUnsupportedDotAll = fails$f(function () {
|
|
7139
7147
|
var re = $RegExp$1('.', 's');
|
|
@@ -7141,10 +7149,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
|
|
|
7141
7149
|
});
|
|
7142
7150
|
|
|
7143
7151
|
var fails$e = fails$t;
|
|
7144
|
-
var global$
|
|
7152
|
+
var global$e = global$s;
|
|
7145
7153
|
|
|
7146
7154
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
7147
|
-
var $RegExp = global$
|
|
7155
|
+
var $RegExp = global$e.RegExp;
|
|
7148
7156
|
|
|
7149
7157
|
var regexpUnsupportedNcg = fails$e(function () {
|
|
7150
7158
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -7153,11 +7161,11 @@ var regexpUnsupportedNcg = fails$e(function () {
|
|
|
7153
7161
|
});
|
|
7154
7162
|
|
|
7155
7163
|
var DESCRIPTORS$2 = descriptors;
|
|
7156
|
-
var global$
|
|
7164
|
+
var global$d = global$s;
|
|
7157
7165
|
var uncurryThis$j = functionUncurryThis;
|
|
7158
7166
|
var isForced$1 = isForced_1;
|
|
7159
7167
|
var inheritIfRequired = inheritIfRequired$1;
|
|
7160
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
7168
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
7161
7169
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
7162
7170
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
7163
7171
|
var isRegExp$1 = isRegexp;
|
|
@@ -7175,15 +7183,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
|
7175
7183
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
7176
7184
|
|
|
7177
7185
|
var MATCH = wellKnownSymbol$9('match');
|
|
7178
|
-
var NativeRegExp = global$
|
|
7186
|
+
var NativeRegExp = global$d.RegExp;
|
|
7179
7187
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
7180
|
-
var SyntaxError = global$
|
|
7188
|
+
var SyntaxError = global$d.SyntaxError;
|
|
7181
7189
|
var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
|
|
7182
7190
|
var charAt$8 = uncurryThis$j(''.charAt);
|
|
7183
7191
|
var replace$6 = uncurryThis$j(''.replace);
|
|
7184
7192
|
var stringIndexOf$1 = uncurryThis$j(''.indexOf);
|
|
7185
7193
|
var stringSlice$9 = uncurryThis$j(''.slice);
|
|
7186
|
-
// TODO: Use only
|
|
7194
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
7187
7195
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7188
7196
|
var re1 = /a/g;
|
|
7189
7197
|
var re2 = /a/g;
|
|
@@ -7337,7 +7345,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
7337
7345
|
|
|
7338
7346
|
RegExpPrototype$2.constructor = RegExpWrapper;
|
|
7339
7347
|
RegExpWrapper.prototype = RegExpPrototype$2;
|
|
7340
|
-
defineBuiltIn$7(global$
|
|
7348
|
+
defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
|
|
7341
7349
|
}
|
|
7342
7350
|
|
|
7343
7351
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -7438,7 +7446,7 @@ if (PATCH) {
|
|
|
7438
7446
|
}
|
|
7439
7447
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
7440
7448
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
7441
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
7449
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
7442
7450
|
call$f(nativeReplace, match[0], reCopy, function () {
|
|
7443
7451
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
7444
7452
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -7496,7 +7504,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
7496
7504
|
}
|
|
7497
7505
|
|
|
7498
7506
|
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
7499
|
-
var _jsxFileName$C = "
|
|
7507
|
+
var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
7500
7508
|
const TagWrapper$3 = styled('div', {
|
|
7501
7509
|
boxSizing: 'border-box',
|
|
7502
7510
|
listStyle: 'none',
|
|
@@ -7673,7 +7681,7 @@ Tag.defaultProps = {
|
|
|
7673
7681
|
};
|
|
7674
7682
|
|
|
7675
7683
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
7676
|
-
var _jsxFileName$B = "
|
|
7684
|
+
var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
7677
7685
|
const Wrapper$2 = styled('div', {
|
|
7678
7686
|
margin: 0,
|
|
7679
7687
|
flexDirection: 'column',
|
|
@@ -7973,7 +7981,7 @@ TagsInput.defaultProps = {
|
|
|
7973
7981
|
};
|
|
7974
7982
|
|
|
7975
7983
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
7976
|
-
var _jsxFileName$A = "
|
|
7984
|
+
var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
7977
7985
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
7978
7986
|
display: 'block',
|
|
7979
7987
|
width: '16px',
|
|
@@ -8081,7 +8089,7 @@ InputSwitch.propTypes = {
|
|
|
8081
8089
|
};
|
|
8082
8090
|
InputSwitch.displayName = 'InputSwitch';
|
|
8083
8091
|
|
|
8084
|
-
var _jsxFileName$z = "
|
|
8092
|
+
var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
8085
8093
|
|
|
8086
8094
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8087
8095
|
width: props.size,
|
|
@@ -8142,7 +8150,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
8142
8150
|
size: 24
|
|
8143
8151
|
};
|
|
8144
8152
|
|
|
8145
|
-
var _jsxFileName$y = "
|
|
8153
|
+
var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
8146
8154
|
|
|
8147
8155
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
8148
8156
|
width: props.size,
|
|
@@ -8185,7 +8193,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
8185
8193
|
};
|
|
8186
8194
|
|
|
8187
8195
|
const _excluded$e = ["size", "onChange", "css", "disabled"];
|
|
8188
|
-
var _jsxFileName$x = "
|
|
8196
|
+
var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
8189
8197
|
|
|
8190
8198
|
const InputSearchbox = _ref => {
|
|
8191
8199
|
let {
|
|
@@ -8300,7 +8308,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
|
|
|
8300
8308
|
var regexpExec$2 = regexpExec$3;
|
|
8301
8309
|
var fails$b = fails$t;
|
|
8302
8310
|
var wellKnownSymbol$8 = wellKnownSymbol$l;
|
|
8303
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
8311
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
8304
8312
|
|
|
8305
8313
|
var SPECIES$2 = wellKnownSymbol$8('species');
|
|
8306
8314
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -8375,14 +8383,13 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
8375
8383
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
8376
8384
|
};
|
|
8377
8385
|
|
|
8378
|
-
var global$o = global$U;
|
|
8379
8386
|
var call$e = functionCall;
|
|
8380
8387
|
var anObject$a = anObject$i;
|
|
8381
8388
|
var isCallable$7 = isCallable$p;
|
|
8382
8389
|
var classof$4 = classofRaw$1;
|
|
8383
8390
|
var regexpExec$1 = regexpExec$3;
|
|
8384
8391
|
|
|
8385
|
-
var TypeError$
|
|
8392
|
+
var $TypeError$7 = TypeError;
|
|
8386
8393
|
|
|
8387
8394
|
// `RegExpExec` abstract operation
|
|
8388
8395
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -8394,7 +8401,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
8394
8401
|
return result;
|
|
8395
8402
|
}
|
|
8396
8403
|
if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
|
|
8397
|
-
throw TypeError$
|
|
8404
|
+
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
8398
8405
|
};
|
|
8399
8406
|
|
|
8400
8407
|
var call$d = functionCall;
|
|
@@ -9020,6 +9027,14 @@ function InputSelect(_a) {
|
|
|
9020
9027
|
}), void 0);
|
|
9021
9028
|
}
|
|
9022
9029
|
|
|
9030
|
+
var tryToString$3 = tryToString$5;
|
|
9031
|
+
|
|
9032
|
+
var $TypeError$6 = TypeError;
|
|
9033
|
+
|
|
9034
|
+
var deletePropertyOrThrow$1 = function (O, P) {
|
|
9035
|
+
if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
9036
|
+
};
|
|
9037
|
+
|
|
9023
9038
|
var toPropertyKey = toPropertyKey$3;
|
|
9024
9039
|
var definePropertyModule = objectDefineProperty;
|
|
9025
9040
|
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
@@ -9030,19 +9045,18 @@ var createProperty$2 = function (object, key, value) {
|
|
|
9030
9045
|
else object[propertyKey] = value;
|
|
9031
9046
|
};
|
|
9032
9047
|
|
|
9033
|
-
var global$n = global$U;
|
|
9034
9048
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
9035
9049
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
9036
9050
|
var createProperty$1 = createProperty$2;
|
|
9037
9051
|
|
|
9038
|
-
var Array$
|
|
9052
|
+
var $Array$1 = Array;
|
|
9039
9053
|
var max$1 = Math.max;
|
|
9040
9054
|
|
|
9041
9055
|
var arraySliceSimple = function (O, start, end) {
|
|
9042
9056
|
var length = lengthOfArrayLike$4(O);
|
|
9043
9057
|
var k = toAbsoluteIndex(start, length);
|
|
9044
9058
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
9045
|
-
var result = Array$
|
|
9059
|
+
var result = $Array$1(max$1(fin - k, 0));
|
|
9046
9060
|
for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
|
|
9047
9061
|
result.length = n;
|
|
9048
9062
|
return result;
|
|
@@ -9124,6 +9138,7 @@ var uncurryThis$g = functionUncurryThis;
|
|
|
9124
9138
|
var aCallable$7 = aCallable$9;
|
|
9125
9139
|
var toObject$3 = toObject$7;
|
|
9126
9140
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
9141
|
+
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
9127
9142
|
var toString$b = toString$h;
|
|
9128
9143
|
var fails$9 = fails$t;
|
|
9129
9144
|
var internalSort = arraySort$1;
|
|
@@ -9218,19 +9233,18 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
|
9218
9233
|
index = 0;
|
|
9219
9234
|
|
|
9220
9235
|
while (index < itemsLength) array[index] = items[index++];
|
|
9221
|
-
while (index < arrayLength)
|
|
9236
|
+
while (index < arrayLength) deletePropertyOrThrow(array, index++);
|
|
9222
9237
|
|
|
9223
9238
|
return array;
|
|
9224
9239
|
}
|
|
9225
9240
|
});
|
|
9226
9241
|
|
|
9227
|
-
var global$m = global$U;
|
|
9228
9242
|
var aCallable$6 = aCallable$9;
|
|
9229
9243
|
var toObject$2 = toObject$7;
|
|
9230
9244
|
var IndexedObject = indexedObject;
|
|
9231
9245
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
9232
9246
|
|
|
9233
|
-
var TypeError$
|
|
9247
|
+
var $TypeError$5 = TypeError;
|
|
9234
9248
|
|
|
9235
9249
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
9236
9250
|
var createMethod$2 = function (IS_RIGHT) {
|
|
@@ -9249,7 +9263,7 @@ var createMethod$2 = function (IS_RIGHT) {
|
|
|
9249
9263
|
}
|
|
9250
9264
|
index += i;
|
|
9251
9265
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
9252
|
-
throw TypeError$
|
|
9266
|
+
throw $TypeError$5('Reduce of empty array with no initial value');
|
|
9253
9267
|
}
|
|
9254
9268
|
}
|
|
9255
9269
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -9269,20 +9283,20 @@ var arrayReduce = {
|
|
|
9269
9283
|
};
|
|
9270
9284
|
|
|
9271
9285
|
var classof$3 = classofRaw$1;
|
|
9272
|
-
var global$
|
|
9286
|
+
var global$c = global$s;
|
|
9273
9287
|
|
|
9274
|
-
var engineIsNode = classof$3(global$
|
|
9288
|
+
var engineIsNode = classof$3(global$c.process) == 'process';
|
|
9275
9289
|
|
|
9276
9290
|
var $$f = _export;
|
|
9277
9291
|
var $reduce = arrayReduce.left;
|
|
9278
9292
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
9279
9293
|
var CHROME_VERSION = engineV8Version;
|
|
9280
|
-
var IS_NODE$
|
|
9294
|
+
var IS_NODE$4 = engineIsNode;
|
|
9281
9295
|
|
|
9282
9296
|
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
9283
9297
|
// Chrome 80-82 has a critical bug
|
|
9284
9298
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
9285
|
-
var CHROME_BUG = !IS_NODE$
|
|
9299
|
+
var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
9286
9300
|
|
|
9287
9301
|
// `Array.prototype.reduce` method
|
|
9288
9302
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
@@ -9293,7 +9307,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
|
9293
9307
|
}
|
|
9294
9308
|
});
|
|
9295
9309
|
|
|
9296
|
-
var _jsxFileName$w = "
|
|
9310
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
9297
9311
|
|
|
9298
9312
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
9299
9313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9342,7 +9356,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
9342
9356
|
}));
|
|
9343
9357
|
|
|
9344
9358
|
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 = "
|
|
9359
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
9346
9360
|
const Wrapper$1 = styled('div', {
|
|
9347
9361
|
margin: 0,
|
|
9348
9362
|
flexDirection: 'column',
|
|
@@ -10267,7 +10281,7 @@ InputSelectCheck.defaultProps = {
|
|
|
10267
10281
|
collapsible: true
|
|
10268
10282
|
};
|
|
10269
10283
|
|
|
10270
|
-
var _jsxFileName$u = "
|
|
10284
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
10271
10285
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10272
10286
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
10273
10287
|
ref: ref,
|
|
@@ -10320,7 +10334,7 @@ InputSelectTag.defaultProps = {
|
|
|
10320
10334
|
collapsible: true
|
|
10321
10335
|
};
|
|
10322
10336
|
|
|
10323
|
-
var _jsxFileName$t = "
|
|
10337
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
10324
10338
|
const Wrapper = styled('div', {
|
|
10325
10339
|
margin: 0,
|
|
10326
10340
|
flexDirection: 'column',
|
|
@@ -11085,15 +11099,15 @@ var stringTrim = {
|
|
|
11085
11099
|
trim: createMethod$1(3)
|
|
11086
11100
|
};
|
|
11087
11101
|
|
|
11088
|
-
var global$
|
|
11102
|
+
var global$b = global$s;
|
|
11089
11103
|
var fails$8 = fails$t;
|
|
11090
11104
|
var uncurryThis$d = functionUncurryThis;
|
|
11091
11105
|
var toString$8 = toString$h;
|
|
11092
11106
|
var trim$1 = stringTrim.trim;
|
|
11093
11107
|
var whitespaces$2 = whitespaces$4;
|
|
11094
11108
|
|
|
11095
|
-
var $parseInt$1 = global$
|
|
11096
|
-
var Symbol$6 = global$
|
|
11109
|
+
var $parseInt$1 = global$b.parseInt;
|
|
11110
|
+
var Symbol$6 = global$b.Symbol;
|
|
11097
11111
|
var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
|
|
11098
11112
|
var hex = /^[+-]?0x/i;
|
|
11099
11113
|
var exec$4 = uncurryThis$d(hex.exec);
|
|
@@ -11312,7 +11326,7 @@ InputCounter.defaultProps = {
|
|
|
11312
11326
|
};
|
|
11313
11327
|
|
|
11314
11328
|
const _excluded$c = ["children"];
|
|
11315
|
-
var _jsxFileName$s = "
|
|
11329
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
11316
11330
|
const {
|
|
11317
11331
|
zIndices
|
|
11318
11332
|
} = foundations;
|
|
@@ -11446,7 +11460,7 @@ Popover.propTypes = {
|
|
|
11446
11460
|
Popover.displayName = 'Popover';
|
|
11447
11461
|
|
|
11448
11462
|
const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
11449
|
-
var _jsxFileName$r = "
|
|
11463
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
11450
11464
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
11451
11465
|
position: 'relative',
|
|
11452
11466
|
display: 'flex',
|
|
@@ -11791,7 +11805,7 @@ Slider.defaultProps = {
|
|
|
11791
11805
|
};
|
|
11792
11806
|
|
|
11793
11807
|
const _excluded$a = ["className", "children", "onClick", "type", "size"];
|
|
11794
|
-
var _jsxFileName$q = "
|
|
11808
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
11795
11809
|
const TagWrapper = styled('div', {
|
|
11796
11810
|
boxSizing: 'border-box',
|
|
11797
11811
|
fontSize: '12px',
|
|
@@ -11957,7 +11971,7 @@ const _excluded$9 = ["children"],
|
|
|
11957
11971
|
_excluded2$1 = ["children", "activeTabs"],
|
|
11958
11972
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
11959
11973
|
_excluded4 = ["activeTabs"];
|
|
11960
|
-
var _jsxFileName$p = "
|
|
11974
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
11961
11975
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
11962
11976
|
display: 'flex',
|
|
11963
11977
|
flexDirection: 'column',
|
|
@@ -12308,7 +12322,7 @@ Separator$2.displayName = 'Separator';
|
|
|
12308
12322
|
|
|
12309
12323
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
|
|
12310
12324
|
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12311
|
-
var _jsxFileName$o = "
|
|
12325
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
12312
12326
|
const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
|
|
12313
12327
|
display: 'inline-flex',
|
|
12314
12328
|
borderRadius: '$md',
|
|
@@ -12536,7 +12550,7 @@ ButtonGroupItem.defaultProps = {
|
|
|
12536
12550
|
};
|
|
12537
12551
|
|
|
12538
12552
|
const _excluded$7 = ["children"];
|
|
12539
|
-
var _jsxFileName$n = "
|
|
12553
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
12540
12554
|
const NotificationBadgeRootStyle = styled('span', {
|
|
12541
12555
|
position: 'relative',
|
|
12542
12556
|
display: 'inline-flex',
|
|
@@ -12680,7 +12694,7 @@ NotificationBadge.propTypes = {
|
|
|
12680
12694
|
};
|
|
12681
12695
|
|
|
12682
12696
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
12683
|
-
var _jsxFileName$m = "
|
|
12697
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
12684
12698
|
const PaperComponent = styled('div', {
|
|
12685
12699
|
padding: '20px',
|
|
12686
12700
|
height: 'auto',
|
|
@@ -12891,14 +12905,13 @@ DialogClose.displayName = 'DialogClose';
|
|
|
12891
12905
|
DialogOverlay.displayName = 'DialogOverlay';
|
|
12892
12906
|
DialogPortal.displayName = 'DialogPortal';
|
|
12893
12907
|
|
|
12894
|
-
var global$j = global$U;
|
|
12895
12908
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
12896
12909
|
|
|
12897
|
-
var TypeError$
|
|
12910
|
+
var $TypeError$4 = TypeError;
|
|
12898
12911
|
|
|
12899
12912
|
var anInstance$3 = function (it, Prototype) {
|
|
12900
12913
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
12901
|
-
throw TypeError$
|
|
12914
|
+
throw $TypeError$4('Incorrect invocation');
|
|
12902
12915
|
};
|
|
12903
12916
|
|
|
12904
12917
|
var uncurryThis$c = functionUncurryThis;
|
|
@@ -12954,16 +12967,15 @@ var isConstructor$2 = !construct || fails$7(function () {
|
|
|
12954
12967
|
|| called;
|
|
12955
12968
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
12956
12969
|
|
|
12957
|
-
var global$i = global$U;
|
|
12958
12970
|
var isConstructor$1 = isConstructor$2;
|
|
12959
|
-
var tryToString$2 = tryToString$
|
|
12971
|
+
var tryToString$2 = tryToString$5;
|
|
12960
12972
|
|
|
12961
|
-
var TypeError$
|
|
12973
|
+
var $TypeError$3 = TypeError;
|
|
12962
12974
|
|
|
12963
12975
|
// `Assert: IsConstructor(argument) is true`
|
|
12964
12976
|
var aConstructor$1 = function (argument) {
|
|
12965
12977
|
if (isConstructor$1(argument)) return argument;
|
|
12966
|
-
throw TypeError$
|
|
12978
|
+
throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
|
|
12967
12979
|
};
|
|
12968
12980
|
|
|
12969
12981
|
var anObject$8 = anObject$i;
|
|
@@ -13009,12 +13021,10 @@ var uncurryThis$a = functionUncurryThis;
|
|
|
13009
13021
|
|
|
13010
13022
|
var arraySlice$3 = uncurryThis$a([].slice);
|
|
13011
13023
|
|
|
13012
|
-
var
|
|
13013
|
-
|
|
13014
|
-
var TypeError$6 = global$h.TypeError;
|
|
13024
|
+
var $TypeError$2 = TypeError;
|
|
13015
13025
|
|
|
13016
13026
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
13017
|
-
if (passed < required) throw TypeError$
|
|
13027
|
+
if (passed < required) throw $TypeError$2('Not enough arguments');
|
|
13018
13028
|
return passed;
|
|
13019
13029
|
};
|
|
13020
13030
|
|
|
@@ -13022,7 +13032,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
13022
13032
|
|
|
13023
13033
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
13024
13034
|
|
|
13025
|
-
var global$
|
|
13035
|
+
var global$a = global$s;
|
|
13026
13036
|
var apply$2 = functionApply;
|
|
13027
13037
|
var bind$6 = functionBindContext;
|
|
13028
13038
|
var isCallable$5 = isCallable$p;
|
|
@@ -13033,15 +13043,15 @@ var arraySlice$2 = arraySlice$3;
|
|
|
13033
13043
|
var createElement = documentCreateElement$2;
|
|
13034
13044
|
var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
13035
13045
|
var IS_IOS$1 = engineIsIos;
|
|
13036
|
-
var IS_NODE$
|
|
13046
|
+
var IS_NODE$3 = engineIsNode;
|
|
13037
13047
|
|
|
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$
|
|
13048
|
+
var set = global$a.setImmediate;
|
|
13049
|
+
var clear = global$a.clearImmediate;
|
|
13050
|
+
var process$2 = global$a.process;
|
|
13051
|
+
var Dispatch = global$a.Dispatch;
|
|
13052
|
+
var Function$1 = global$a.Function;
|
|
13053
|
+
var MessageChannel = global$a.MessageChannel;
|
|
13054
|
+
var String$1 = global$a.String;
|
|
13045
13055
|
var counter = 0;
|
|
13046
13056
|
var queue$1 = {};
|
|
13047
13057
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -13049,7 +13059,7 @@ var location, defer, channel, port;
|
|
|
13049
13059
|
|
|
13050
13060
|
try {
|
|
13051
13061
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
13052
|
-
location = global$
|
|
13062
|
+
location = global$a.location;
|
|
13053
13063
|
} catch (error) { /* empty */ }
|
|
13054
13064
|
|
|
13055
13065
|
var run = function (id) {
|
|
@@ -13072,7 +13082,7 @@ var listener = function (event) {
|
|
|
13072
13082
|
|
|
13073
13083
|
var post = function (id) {
|
|
13074
13084
|
// old engines have not location.origin
|
|
13075
|
-
global$
|
|
13085
|
+
global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
|
|
13076
13086
|
};
|
|
13077
13087
|
|
|
13078
13088
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -13091,7 +13101,7 @@ if (!set || !clear) {
|
|
|
13091
13101
|
delete queue$1[id];
|
|
13092
13102
|
};
|
|
13093
13103
|
// Node.js 0.8-
|
|
13094
|
-
if (IS_NODE$
|
|
13104
|
+
if (IS_NODE$3) {
|
|
13095
13105
|
defer = function (id) {
|
|
13096
13106
|
process$2.nextTick(runner(id));
|
|
13097
13107
|
};
|
|
@@ -13110,14 +13120,14 @@ if (!set || !clear) {
|
|
|
13110
13120
|
// Browsers with postMessage, skip WebWorkers
|
|
13111
13121
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
13112
13122
|
} else if (
|
|
13113
|
-
global$
|
|
13114
|
-
isCallable$5(global$
|
|
13115
|
-
!global$
|
|
13123
|
+
global$a.addEventListener &&
|
|
13124
|
+
isCallable$5(global$a.postMessage) &&
|
|
13125
|
+
!global$a.importScripts &&
|
|
13116
13126
|
location && location.protocol !== 'file:' &&
|
|
13117
13127
|
!fails$6(post)
|
|
13118
13128
|
) {
|
|
13119
13129
|
defer = post;
|
|
13120
|
-
global$
|
|
13130
|
+
global$a.addEventListener('message', listener, false);
|
|
13121
13131
|
// IE8-
|
|
13122
13132
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
13123
13133
|
defer = function (id) {
|
|
@@ -13140,29 +13150,29 @@ var task$1 = {
|
|
|
13140
13150
|
};
|
|
13141
13151
|
|
|
13142
13152
|
var userAgent$1 = engineUserAgent;
|
|
13143
|
-
var global$
|
|
13153
|
+
var global$9 = global$s;
|
|
13144
13154
|
|
|
13145
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
13155
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
|
|
13146
13156
|
|
|
13147
13157
|
var userAgent = engineUserAgent;
|
|
13148
13158
|
|
|
13149
13159
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
13150
13160
|
|
|
13151
|
-
var global$
|
|
13161
|
+
var global$8 = global$s;
|
|
13152
13162
|
var bind$5 = functionBindContext;
|
|
13153
13163
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
13154
13164
|
var macrotask = task$1.set;
|
|
13155
13165
|
var IS_IOS = engineIsIos;
|
|
13156
13166
|
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
13157
13167
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
13158
|
-
var IS_NODE$
|
|
13168
|
+
var IS_NODE$2 = engineIsNode;
|
|
13159
13169
|
|
|
13160
|
-
var MutationObserver = global$
|
|
13161
|
-
var document$2 = global$
|
|
13162
|
-
var process$1 = global$
|
|
13163
|
-
var Promise$1 = global$
|
|
13170
|
+
var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
|
|
13171
|
+
var document$2 = global$8.document;
|
|
13172
|
+
var process$1 = global$8.process;
|
|
13173
|
+
var Promise$1 = global$8.Promise;
|
|
13164
13174
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
13165
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$
|
|
13175
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
|
|
13166
13176
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
13167
13177
|
|
|
13168
13178
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -13171,7 +13181,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
|
|
|
13171
13181
|
if (!queueMicrotask) {
|
|
13172
13182
|
flush = function () {
|
|
13173
13183
|
var parent, fn;
|
|
13174
|
-
if (IS_NODE$
|
|
13184
|
+
if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
|
|
13175
13185
|
while (head) {
|
|
13176
13186
|
fn = head.fn;
|
|
13177
13187
|
head = head.next;
|
|
@@ -13188,7 +13198,7 @@ if (!queueMicrotask) {
|
|
|
13188
13198
|
|
|
13189
13199
|
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
13190
13200
|
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
13191
|
-
if (!IS_IOS && !IS_NODE$
|
|
13201
|
+
if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
13192
13202
|
toggle = true;
|
|
13193
13203
|
node = document$2.createTextNode('');
|
|
13194
13204
|
new MutationObserver(flush).observe(node, { characterData: true });
|
|
@@ -13206,7 +13216,7 @@ if (!queueMicrotask) {
|
|
|
13206
13216
|
then(flush);
|
|
13207
13217
|
};
|
|
13208
13218
|
// Node.js without promises
|
|
13209
|
-
} else if (IS_NODE$
|
|
13219
|
+
} else if (IS_NODE$2) {
|
|
13210
13220
|
notify$1 = function () {
|
|
13211
13221
|
process$1.nextTick(flush);
|
|
13212
13222
|
};
|
|
@@ -13218,7 +13228,7 @@ if (!queueMicrotask) {
|
|
|
13218
13228
|
// - setTimeout
|
|
13219
13229
|
} else {
|
|
13220
13230
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
13221
|
-
macrotask = bind$5(macrotask, global$
|
|
13231
|
+
macrotask = bind$5(macrotask, global$8);
|
|
13222
13232
|
notify$1 = function () {
|
|
13223
13233
|
macrotask(flush);
|
|
13224
13234
|
};
|
|
@@ -13234,10 +13244,10 @@ var microtask$1 = queueMicrotask || function (fn) {
|
|
|
13234
13244
|
} last = task;
|
|
13235
13245
|
};
|
|
13236
13246
|
|
|
13237
|
-
var global$
|
|
13247
|
+
var global$7 = global$s;
|
|
13238
13248
|
|
|
13239
13249
|
var hostReportErrors$1 = function (a, b) {
|
|
13240
|
-
var console = global$
|
|
13250
|
+
var console = global$7.console;
|
|
13241
13251
|
if (console && console.error) {
|
|
13242
13252
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
13243
13253
|
}
|
|
@@ -13275,25 +13285,35 @@ Queue$1.prototype = {
|
|
|
13275
13285
|
|
|
13276
13286
|
var queue = Queue$1;
|
|
13277
13287
|
|
|
13278
|
-
var global$
|
|
13288
|
+
var global$6 = global$s;
|
|
13279
13289
|
|
|
13280
|
-
var promiseNativeConstructor = global$
|
|
13290
|
+
var promiseNativeConstructor = global$6.Promise;
|
|
13291
|
+
|
|
13292
|
+
/* global Deno -- Deno case */
|
|
13293
|
+
|
|
13294
|
+
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
13295
|
+
|
|
13296
|
+
var IS_DENO$1 = engineIsDeno;
|
|
13297
|
+
var IS_NODE$1 = engineIsNode;
|
|
13281
13298
|
|
|
13282
|
-
var engineIsBrowser =
|
|
13299
|
+
var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
13300
|
+
&& typeof window == 'object'
|
|
13301
|
+
&& typeof document == 'object';
|
|
13283
13302
|
|
|
13284
|
-
var global$
|
|
13303
|
+
var global$5 = global$s;
|
|
13285
13304
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
13286
13305
|
var isCallable$4 = isCallable$p;
|
|
13287
13306
|
var isForced = isForced_1;
|
|
13288
13307
|
var inspectSource = inspectSource$4;
|
|
13289
13308
|
var wellKnownSymbol$6 = wellKnownSymbol$l;
|
|
13290
13309
|
var IS_BROWSER = engineIsBrowser;
|
|
13310
|
+
var IS_DENO = engineIsDeno;
|
|
13291
13311
|
var V8_VERSION = engineV8Version;
|
|
13292
13312
|
|
|
13293
13313
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
13294
13314
|
var SPECIES = wellKnownSymbol$6('species');
|
|
13295
13315
|
var SUBCLASSING = false;
|
|
13296
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$
|
|
13316
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
|
|
13297
13317
|
|
|
13298
13318
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
13299
13319
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -13305,18 +13325,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
|
13305
13325
|
// We can't use @@species feature detection in V8 since it causes
|
|
13306
13326
|
// deoptimization and performance degradation
|
|
13307
13327
|
// https://github.com/zloirock/core-js/issues/679
|
|
13308
|
-
if (V8_VERSION
|
|
13309
|
-
|
|
13310
|
-
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13328
|
+
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
|
|
13329
|
+
// Detect correctness of subclassing with @@species support
|
|
13330
|
+
var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
|
|
13331
|
+
var FakePromise = function (exec) {
|
|
13332
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
13333
|
+
};
|
|
13334
|
+
var constructor = promise.constructor = {};
|
|
13335
|
+
constructor[SPECIES] = FakePromise;
|
|
13336
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
13337
|
+
if (!SUBCLASSING) return true;
|
|
13318
13338
|
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
13319
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13339
|
+
} return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
13320
13340
|
});
|
|
13321
13341
|
|
|
13322
13342
|
var promiseConstructorDetection = {
|
|
@@ -13348,7 +13368,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
13348
13368
|
|
|
13349
13369
|
var $$c = _export;
|
|
13350
13370
|
var IS_NODE = engineIsNode;
|
|
13351
|
-
var global$
|
|
13371
|
+
var global$4 = global$s;
|
|
13352
13372
|
var call$b = functionCall;
|
|
13353
13373
|
var defineBuiltIn$4 = defineBuiltIn$b;
|
|
13354
13374
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -13378,13 +13398,13 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
13378
13398
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
13379
13399
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
13380
13400
|
var PromisePrototype = NativePromisePrototype$1;
|
|
13381
|
-
var TypeError$
|
|
13382
|
-
var document$1 = global$
|
|
13383
|
-
var process = global$
|
|
13401
|
+
var TypeError$3 = global$4.TypeError;
|
|
13402
|
+
var document$1 = global$4.document;
|
|
13403
|
+
var process = global$4.process;
|
|
13384
13404
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
13385
13405
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
13386
13406
|
|
|
13387
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
13407
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
|
|
13388
13408
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
13389
13409
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
13390
13410
|
var PENDING = 0;
|
|
@@ -13425,7 +13445,7 @@ var callReaction = function (reaction, state) {
|
|
|
13425
13445
|
}
|
|
13426
13446
|
}
|
|
13427
13447
|
if (result === reaction.promise) {
|
|
13428
|
-
reject(TypeError$
|
|
13448
|
+
reject(TypeError$3('Promise-chain cycle'));
|
|
13429
13449
|
} else if (then = isThenable(result)) {
|
|
13430
13450
|
call$b(then, result, resolve, reject);
|
|
13431
13451
|
} else resolve(result);
|
|
@@ -13457,14 +13477,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
13457
13477
|
event.promise = promise;
|
|
13458
13478
|
event.reason = reason;
|
|
13459
13479
|
event.initEvent(name, false, true);
|
|
13460
|
-
global$
|
|
13480
|
+
global$4.dispatchEvent(event);
|
|
13461
13481
|
} else event = { promise: promise, reason: reason };
|
|
13462
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
13482
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
|
|
13463
13483
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
13464
13484
|
};
|
|
13465
13485
|
|
|
13466
13486
|
var onUnhandled = function (state) {
|
|
13467
|
-
call$b(task, global$
|
|
13487
|
+
call$b(task, global$4, function () {
|
|
13468
13488
|
var promise = state.facade;
|
|
13469
13489
|
var value = state.value;
|
|
13470
13490
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -13487,7 +13507,7 @@ var isUnhandled = function (state) {
|
|
|
13487
13507
|
};
|
|
13488
13508
|
|
|
13489
13509
|
var onHandleUnhandled = function (state) {
|
|
13490
|
-
call$b(task, global$
|
|
13510
|
+
call$b(task, global$4, function () {
|
|
13491
13511
|
var promise = state.facade;
|
|
13492
13512
|
if (IS_NODE) {
|
|
13493
13513
|
process.emit('rejectionHandled', promise);
|
|
@@ -13515,7 +13535,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
13515
13535
|
state.done = true;
|
|
13516
13536
|
if (unwrap) state = unwrap;
|
|
13517
13537
|
try {
|
|
13518
|
-
if (state.facade === value) throw TypeError$
|
|
13538
|
+
if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
|
|
13519
13539
|
var then = isThenable(value);
|
|
13520
13540
|
if (then) {
|
|
13521
13541
|
microtask(function () {
|
|
@@ -13657,19 +13677,18 @@ var getIteratorMethod$4 = function (it) {
|
|
|
13657
13677
|
|| Iterators[classof$1(it)];
|
|
13658
13678
|
};
|
|
13659
13679
|
|
|
13660
|
-
var global$9 = global$U;
|
|
13661
13680
|
var call$a = functionCall;
|
|
13662
13681
|
var aCallable$2 = aCallable$9;
|
|
13663
13682
|
var anObject$7 = anObject$i;
|
|
13664
|
-
var tryToString$1 = tryToString$
|
|
13683
|
+
var tryToString$1 = tryToString$5;
|
|
13665
13684
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
13666
13685
|
|
|
13667
|
-
var TypeError$
|
|
13686
|
+
var $TypeError$1 = TypeError;
|
|
13668
13687
|
|
|
13669
13688
|
var getIterator$3 = function (argument, usingIterator) {
|
|
13670
13689
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
13671
13690
|
if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
|
|
13672
|
-
throw TypeError$
|
|
13691
|
+
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
13673
13692
|
};
|
|
13674
13693
|
|
|
13675
13694
|
var call$9 = functionCall;
|
|
@@ -13696,11 +13715,10 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
13696
13715
|
return value;
|
|
13697
13716
|
};
|
|
13698
13717
|
|
|
13699
|
-
var global$8 = global$U;
|
|
13700
13718
|
var bind$3 = functionBindContext;
|
|
13701
13719
|
var call$8 = functionCall;
|
|
13702
13720
|
var anObject$5 = anObject$i;
|
|
13703
|
-
var tryToString = tryToString$
|
|
13721
|
+
var tryToString = tryToString$5;
|
|
13704
13722
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
13705
13723
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
13706
13724
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -13708,7 +13726,7 @@ var getIterator$2 = getIterator$3;
|
|
|
13708
13726
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
13709
13727
|
var iteratorClose$1 = iteratorClose$2;
|
|
13710
13728
|
|
|
13711
|
-
var TypeError
|
|
13729
|
+
var $TypeError = TypeError;
|
|
13712
13730
|
|
|
13713
13731
|
var Result = function (stopped, result) {
|
|
13714
13732
|
this.stopped = stopped;
|
|
@@ -13720,6 +13738,7 @@ var ResultPrototype = Result.prototype;
|
|
|
13720
13738
|
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
13721
13739
|
var that = options && options.that;
|
|
13722
13740
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
13741
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
13723
13742
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
13724
13743
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
13725
13744
|
var fn = bind$3(unboundFunction, that);
|
|
@@ -13737,11 +13756,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13737
13756
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
13738
13757
|
};
|
|
13739
13758
|
|
|
13740
|
-
if (
|
|
13759
|
+
if (IS_RECORD) {
|
|
13760
|
+
iterator = iterable.iterator;
|
|
13761
|
+
} else if (IS_ITERATOR) {
|
|
13741
13762
|
iterator = iterable;
|
|
13742
13763
|
} else {
|
|
13743
13764
|
iterFn = getIteratorMethod$2(iterable);
|
|
13744
|
-
if (!iterFn) throw TypeError
|
|
13765
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
13745
13766
|
// optimisation for array iterators
|
|
13746
13767
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
13747
13768
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -13752,7 +13773,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
13752
13773
|
iterator = getIterator$2(iterable, iterFn);
|
|
13753
13774
|
}
|
|
13754
13775
|
|
|
13755
|
-
next = iterator.next;
|
|
13776
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
13756
13777
|
while (!(step = call$8(next, iterator)).done) {
|
|
13757
13778
|
try {
|
|
13758
13779
|
result = callFn(step.value);
|
|
@@ -14181,7 +14202,7 @@ ModalDialog.defaultProps = {
|
|
|
14181
14202
|
};
|
|
14182
14203
|
|
|
14183
14204
|
const _excluded$5 = ["children"];
|
|
14184
|
-
var _jsxFileName$l = "
|
|
14205
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
14185
14206
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
14186
14207
|
const {
|
|
14187
14208
|
sizes
|
|
@@ -15880,7 +15901,7 @@ const MobileCalendarBox = ({
|
|
|
15880
15901
|
return null;
|
|
15881
15902
|
};
|
|
15882
15903
|
|
|
15883
|
-
var _jsxFileName$k = "
|
|
15904
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
15884
15905
|
const Input$3 = styled('input', {
|
|
15885
15906
|
display: 'none'
|
|
15886
15907
|
});
|
|
@@ -16137,33 +16158,33 @@ const NativeTimePicker = ({
|
|
|
16137
16158
|
})));
|
|
16138
16159
|
};
|
|
16139
16160
|
NativeTimePicker.propTypes = {
|
|
16140
|
-
/**
|
|
16141
|
-
Resize time picker.
|
|
16161
|
+
/**
|
|
16162
|
+
Resize time picker.
|
|
16142
16163
|
*/
|
|
16143
16164
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16144
16165
|
|
|
16145
|
-
/**
|
|
16146
|
-
Change handler.
|
|
16166
|
+
/**
|
|
16167
|
+
Change handler.
|
|
16147
16168
|
*/
|
|
16148
16169
|
onChange: PropTypes.func,
|
|
16149
16170
|
|
|
16150
|
-
/**
|
|
16151
|
-
Time picker default value, support moment format.
|
|
16171
|
+
/**
|
|
16172
|
+
Time picker default value, support moment format.
|
|
16152
16173
|
*/
|
|
16153
16174
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16154
16175
|
|
|
16155
|
-
/**
|
|
16156
|
-
Time picker value, support moment format.
|
|
16176
|
+
/**
|
|
16177
|
+
Time picker value, support moment format.
|
|
16157
16178
|
*/
|
|
16158
16179
|
value: PropTypes.instanceOf(Date),
|
|
16159
16180
|
|
|
16160
|
-
/**
|
|
16161
|
-
Specify the minimum date.
|
|
16181
|
+
/**
|
|
16182
|
+
Specify the minimum date.
|
|
16162
16183
|
*/
|
|
16163
16184
|
minDate: PropTypes.instanceOf(Date),
|
|
16164
16185
|
|
|
16165
|
-
/**
|
|
16166
|
-
Specify the maximum date.
|
|
16186
|
+
/**
|
|
16187
|
+
Specify the maximum date.
|
|
16167
16188
|
*/
|
|
16168
16189
|
maxDate: PropTypes.instanceOf(Date)
|
|
16169
16190
|
};
|
|
@@ -16208,49 +16229,49 @@ const TimePicker = ({
|
|
|
16208
16229
|
};
|
|
16209
16230
|
TimePicker.displayName = 'TimePicker';
|
|
16210
16231
|
TimePicker.propTypes = {
|
|
16211
|
-
/**
|
|
16212
|
-
Additional styles.
|
|
16232
|
+
/**
|
|
16233
|
+
Additional styles.
|
|
16213
16234
|
*/
|
|
16214
16235
|
css: PropTypes.object,
|
|
16215
16236
|
|
|
16216
|
-
/**
|
|
16217
|
-
Resize time picker.
|
|
16237
|
+
/**
|
|
16238
|
+
Resize time picker.
|
|
16218
16239
|
*/
|
|
16219
16240
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16220
16241
|
|
|
16221
|
-
/**
|
|
16222
|
-
Change handler.
|
|
16242
|
+
/**
|
|
16243
|
+
Change handler.
|
|
16223
16244
|
*/
|
|
16224
16245
|
onChange: PropTypes.func,
|
|
16225
16246
|
|
|
16226
|
-
/**
|
|
16227
|
-
Time picker default value, support moment format.
|
|
16247
|
+
/**
|
|
16248
|
+
Time picker default value, support moment format.
|
|
16228
16249
|
*/
|
|
16229
16250
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16230
16251
|
|
|
16231
|
-
/**
|
|
16232
|
-
Time picker value, support moment format.
|
|
16252
|
+
/**
|
|
16253
|
+
Time picker value, support moment format.
|
|
16233
16254
|
*/
|
|
16234
16255
|
value: PropTypes.instanceOf(Date),
|
|
16235
16256
|
|
|
16236
|
-
/**
|
|
16237
|
-
Disabled state.
|
|
16257
|
+
/**
|
|
16258
|
+
Disabled state.
|
|
16238
16259
|
*/
|
|
16239
16260
|
disabled: PropTypes.bool,
|
|
16240
16261
|
|
|
16241
|
-
/**
|
|
16242
|
-
Specify the minimum date.
|
|
16262
|
+
/**
|
|
16263
|
+
Specify the minimum date.
|
|
16243
16264
|
*/
|
|
16244
16265
|
minDate: PropTypes.instanceOf(Date),
|
|
16245
16266
|
|
|
16246
|
-
/**
|
|
16247
|
-
Specify the maximum date.
|
|
16267
|
+
/**
|
|
16268
|
+
Specify the maximum date.
|
|
16248
16269
|
*/
|
|
16249
16270
|
maxDate: PropTypes.instanceOf(Date)
|
|
16250
16271
|
};
|
|
16251
16272
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
16252
16273
|
|
|
16253
|
-
var _jsxFileName$j = "
|
|
16274
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
16254
16275
|
|
|
16255
16276
|
const getInputPickerValue$1 = date => {
|
|
16256
16277
|
if (!date) return;
|
|
@@ -16313,7 +16334,8 @@ function InputTimePicker({
|
|
|
16313
16334
|
value: getInputPickerValue$1(value),
|
|
16314
16335
|
defaultValue: defaultValue,
|
|
16315
16336
|
onChange: () => {},
|
|
16316
|
-
isPicker: true
|
|
16337
|
+
isPicker: true,
|
|
16338
|
+
autocomplete: "false" // tabIndex="-1"
|
|
16317
16339
|
,
|
|
16318
16340
|
__self: this,
|
|
16319
16341
|
__source: {
|
|
@@ -16334,7 +16356,7 @@ function InputTimePicker({
|
|
|
16334
16356
|
__self: this,
|
|
16335
16357
|
__source: {
|
|
16336
16358
|
fileName: _jsxFileName$j,
|
|
16337
|
-
lineNumber:
|
|
16359
|
+
lineNumber: 58,
|
|
16338
16360
|
columnNumber: 5
|
|
16339
16361
|
}
|
|
16340
16362
|
});
|
|
@@ -16346,7 +16368,7 @@ function InputTimePicker({
|
|
|
16346
16368
|
__self: this,
|
|
16347
16369
|
__source: {
|
|
16348
16370
|
fileName: _jsxFileName$j,
|
|
16349
|
-
lineNumber:
|
|
16371
|
+
lineNumber: 70,
|
|
16350
16372
|
columnNumber: 5
|
|
16351
16373
|
}
|
|
16352
16374
|
}, disabled || readOnly ? /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16354,14 +16376,14 @@ function InputTimePicker({
|
|
|
16354
16376
|
__self: this,
|
|
16355
16377
|
__source: {
|
|
16356
16378
|
fileName: _jsxFileName$j,
|
|
16357
|
-
lineNumber:
|
|
16379
|
+
lineNumber: 72,
|
|
16358
16380
|
columnNumber: 9
|
|
16359
16381
|
}
|
|
16360
16382
|
}, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
|
|
16361
16383
|
__self: this,
|
|
16362
16384
|
__source: {
|
|
16363
16385
|
fileName: _jsxFileName$j,
|
|
16364
|
-
lineNumber:
|
|
16386
|
+
lineNumber: 74,
|
|
16365
16387
|
columnNumber: 9
|
|
16366
16388
|
}
|
|
16367
16389
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16369,14 +16391,14 @@ function InputTimePicker({
|
|
|
16369
16391
|
__self: this,
|
|
16370
16392
|
__source: {
|
|
16371
16393
|
fileName: _jsxFileName$j,
|
|
16372
|
-
lineNumber:
|
|
16394
|
+
lineNumber: 75,
|
|
16373
16395
|
columnNumber: 11
|
|
16374
16396
|
}
|
|
16375
16397
|
}, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
|
|
16376
16398
|
__self: this,
|
|
16377
16399
|
__source: {
|
|
16378
16400
|
fileName: _jsxFileName$j,
|
|
16379
|
-
lineNumber:
|
|
16401
|
+
lineNumber: 78,
|
|
16380
16402
|
columnNumber: 7
|
|
16381
16403
|
}
|
|
16382
16404
|
}, renderTimePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16384,7 +16406,7 @@ function InputTimePicker({
|
|
|
16384
16406
|
__self: this,
|
|
16385
16407
|
__source: {
|
|
16386
16408
|
fileName: _jsxFileName$j,
|
|
16387
|
-
lineNumber:
|
|
16409
|
+
lineNumber: 82,
|
|
16388
16410
|
columnNumber: 7
|
|
16389
16411
|
}
|
|
16390
16412
|
}, renderInputGroup()), /*#__PURE__*/React__default.createElement(Drawer, {
|
|
@@ -16394,7 +16416,7 @@ function InputTimePicker({
|
|
|
16394
16416
|
__self: this,
|
|
16395
16417
|
__source: {
|
|
16396
16418
|
fileName: _jsxFileName$j,
|
|
16397
|
-
lineNumber:
|
|
16419
|
+
lineNumber: 83,
|
|
16398
16420
|
columnNumber: 7
|
|
16399
16421
|
}
|
|
16400
16422
|
}, /*#__PURE__*/React__default.createElement(DrawerContent, {
|
|
@@ -16405,7 +16427,7 @@ function InputTimePicker({
|
|
|
16405
16427
|
__self: this,
|
|
16406
16428
|
__source: {
|
|
16407
16429
|
fileName: _jsxFileName$j,
|
|
16408
|
-
lineNumber:
|
|
16430
|
+
lineNumber: 84,
|
|
16409
16431
|
columnNumber: 9
|
|
16410
16432
|
}
|
|
16411
16433
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -16417,7 +16439,7 @@ function InputTimePicker({
|
|
|
16417
16439
|
__self: this,
|
|
16418
16440
|
__source: {
|
|
16419
16441
|
fileName: _jsxFileName$j,
|
|
16420
|
-
lineNumber:
|
|
16442
|
+
lineNumber: 90,
|
|
16421
16443
|
columnNumber: 11
|
|
16422
16444
|
}
|
|
16423
16445
|
}, renderTimePicker()))));
|
|
@@ -16427,63 +16449,63 @@ InputTimePicker.defaultProps = {
|
|
|
16427
16449
|
placeholder: 'Select Time'
|
|
16428
16450
|
};
|
|
16429
16451
|
InputTimePicker.propTypes = {
|
|
16430
|
-
/**
|
|
16431
|
-
Additional styles.
|
|
16452
|
+
/**
|
|
16453
|
+
Additional styles.
|
|
16432
16454
|
*/
|
|
16433
16455
|
css: PropTypes.object,
|
|
16434
16456
|
|
|
16435
|
-
/**
|
|
16436
|
-
Disabled state.
|
|
16457
|
+
/**
|
|
16458
|
+
Disabled state.
|
|
16437
16459
|
*/
|
|
16438
16460
|
disabled: PropTypes.bool,
|
|
16439
16461
|
|
|
16440
|
-
/**
|
|
16441
|
-
ReadOnly state.
|
|
16462
|
+
/**
|
|
16463
|
+
ReadOnly state.
|
|
16442
16464
|
*/
|
|
16443
16465
|
readOnly: PropTypes.bool,
|
|
16444
16466
|
|
|
16445
|
-
/**
|
|
16446
|
-
Resize time picker.
|
|
16467
|
+
/**
|
|
16468
|
+
Resize time picker.
|
|
16447
16469
|
*/
|
|
16448
16470
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
16449
16471
|
|
|
16450
|
-
/**
|
|
16451
|
-
Custom placeholder input time picker.
|
|
16472
|
+
/**
|
|
16473
|
+
Custom placeholder input time picker.
|
|
16452
16474
|
*/
|
|
16453
16475
|
placeholder: PropTypes.string,
|
|
16454
16476
|
|
|
16455
|
-
/**
|
|
16456
|
-
Time picker default value, support moment format.
|
|
16477
|
+
/**
|
|
16478
|
+
Time picker default value, support moment format.
|
|
16457
16479
|
*/
|
|
16458
16480
|
defaultValue: PropTypes.instanceOf(Date),
|
|
16459
16481
|
|
|
16460
|
-
/**
|
|
16461
|
-
Time picker value, support moment format.
|
|
16482
|
+
/**
|
|
16483
|
+
Time picker value, support moment format.
|
|
16462
16484
|
*/
|
|
16463
16485
|
value: PropTypes.instanceOf(Date),
|
|
16464
16486
|
|
|
16465
|
-
/**
|
|
16466
|
-
Change handler.
|
|
16487
|
+
/**
|
|
16488
|
+
Change handler.
|
|
16467
16489
|
*/
|
|
16468
16490
|
onChange: PropTypes.func,
|
|
16469
16491
|
|
|
16470
|
-
/**
|
|
16471
|
-
Placement popover input time picker.
|
|
16492
|
+
/**
|
|
16493
|
+
Placement popover input time picker.
|
|
16472
16494
|
*/
|
|
16473
16495
|
placement: PropTypes.string,
|
|
16474
16496
|
|
|
16475
|
-
/**
|
|
16476
|
-
Specify the minimum date.
|
|
16497
|
+
/**
|
|
16498
|
+
Specify the minimum date.
|
|
16477
16499
|
*/
|
|
16478
16500
|
minDate: PropTypes.instanceOf(Date),
|
|
16479
16501
|
|
|
16480
|
-
/**
|
|
16481
|
-
Specify the maximum date.
|
|
16502
|
+
/**
|
|
16503
|
+
Specify the maximum date.
|
|
16482
16504
|
*/
|
|
16483
16505
|
maxDate: PropTypes.instanceOf(Date),
|
|
16484
16506
|
|
|
16485
|
-
/**
|
|
16486
|
-
* Invalid state input.
|
|
16507
|
+
/**
|
|
16508
|
+
* Invalid state input.
|
|
16487
16509
|
*/
|
|
16488
16510
|
isInvalid: PropTypes.bool
|
|
16489
16511
|
};
|
|
@@ -17075,7 +17097,8 @@ function InputDateRangePicker(props) {
|
|
|
17075
17097
|
value: value,
|
|
17076
17098
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
17077
17099
|
onChange: () => {},
|
|
17078
|
-
isPicker: true
|
|
17100
|
+
isPicker: true,
|
|
17101
|
+
autocomplete: "false"
|
|
17079
17102
|
}, void 0)]
|
|
17080
17103
|
}), void 0);
|
|
17081
17104
|
}
|
|
@@ -17179,7 +17202,8 @@ function InputDatePicker({
|
|
|
17179
17202
|
value: getInputPickerValue(type, selectedDate, showTimePicker),
|
|
17180
17203
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
17181
17204
|
onChange: () => {},
|
|
17182
|
-
isPicker: true
|
|
17205
|
+
isPicker: true,
|
|
17206
|
+
autocomplete: "false"
|
|
17183
17207
|
}, void 0)]
|
|
17184
17208
|
}), void 0);
|
|
17185
17209
|
} else {
|
|
@@ -17337,7 +17361,7 @@ const removeUndefinedFields = obj => {
|
|
|
17337
17361
|
};
|
|
17338
17362
|
|
|
17339
17363
|
const _excluded$4 = ["isActive", "onClick"];
|
|
17340
|
-
var _jsxFileName$i = "
|
|
17364
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
17341
17365
|
const PrevNextButton = styled(Text$1, {
|
|
17342
17366
|
padding: '$spacing-01',
|
|
17343
17367
|
cursor: 'pointer',
|
|
@@ -17607,7 +17631,7 @@ const PaginationButton = ({
|
|
|
17607
17631
|
};
|
|
17608
17632
|
|
|
17609
17633
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
17610
|
-
var _jsxFileName$h = "
|
|
17634
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
17611
17635
|
const LimitContainer = styled(Flex$1, {
|
|
17612
17636
|
cursor: 'pointer'
|
|
17613
17637
|
});
|
|
@@ -17744,7 +17768,7 @@ function PaginationInfo(_ref) {
|
|
|
17744
17768
|
}
|
|
17745
17769
|
|
|
17746
17770
|
const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
|
|
17747
|
-
var _jsxFileName$g = "
|
|
17771
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
17748
17772
|
|
|
17749
17773
|
function Pagination(_ref) {
|
|
17750
17774
|
let {
|
|
@@ -18894,7 +18918,7 @@ const TableColumn = _a => {
|
|
|
18894
18918
|
return jsx("div", {}, void 0);
|
|
18895
18919
|
};
|
|
18896
18920
|
|
|
18897
|
-
var _jsxFileName$f = "
|
|
18921
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
18898
18922
|
|
|
18899
18923
|
const DateColumn = ({
|
|
18900
18924
|
value,
|
|
@@ -18930,12 +18954,11 @@ var uncurryThis$9 = functionUncurryThis;
|
|
|
18930
18954
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
18931
18955
|
var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
|
|
18932
18956
|
|
|
18933
|
-
var global$7 = global$U;
|
|
18934
18957
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
18935
18958
|
var toString$7 = toString$h;
|
|
18936
18959
|
var requireObjectCoercible$3 = requireObjectCoercible$a;
|
|
18937
18960
|
|
|
18938
|
-
var RangeError$2 =
|
|
18961
|
+
var $RangeError$2 = RangeError;
|
|
18939
18962
|
|
|
18940
18963
|
// `String.prototype.repeat` method implementation
|
|
18941
18964
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -18943,21 +18966,20 @@ var stringRepeat = function repeat(count) {
|
|
|
18943
18966
|
var str = toString$7(requireObjectCoercible$3(this));
|
|
18944
18967
|
var result = '';
|
|
18945
18968
|
var n = toIntegerOrInfinity$3(count);
|
|
18946
|
-
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18969
|
+
if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
|
|
18947
18970
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18948
18971
|
return result;
|
|
18949
18972
|
};
|
|
18950
18973
|
|
|
18951
18974
|
var $$6 = _export;
|
|
18952
|
-
var global$6 = global$U;
|
|
18953
18975
|
var uncurryThis$8 = functionUncurryThis;
|
|
18954
18976
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
18955
18977
|
var thisNumberValue = thisNumberValue$1;
|
|
18956
18978
|
var $repeat = stringRepeat;
|
|
18957
18979
|
var fails$5 = fails$t;
|
|
18958
18980
|
|
|
18959
|
-
var RangeError$1 =
|
|
18960
|
-
var String
|
|
18981
|
+
var $RangeError$1 = RangeError;
|
|
18982
|
+
var $String = String;
|
|
18961
18983
|
var floor$3 = Math.floor;
|
|
18962
18984
|
var repeat = uncurryThis$8($repeat);
|
|
18963
18985
|
var stringSlice$6 = uncurryThis$8(''.slice);
|
|
@@ -19005,7 +19027,7 @@ var dataToString = function (data) {
|
|
|
19005
19027
|
var s = '';
|
|
19006
19028
|
while (--index >= 0) {
|
|
19007
19029
|
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
19008
|
-
var t = String
|
|
19030
|
+
var t = $String(data[index]);
|
|
19009
19031
|
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
19010
19032
|
}
|
|
19011
19033
|
} return s;
|
|
@@ -19033,10 +19055,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
19033
19055
|
var e, z, j, k;
|
|
19034
19056
|
|
|
19035
19057
|
// 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');
|
|
19058
|
+
if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
|
|
19037
19059
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
19038
19060
|
if (number != number) return 'NaN';
|
|
19039
|
-
if (number <= -1e21 || number >= 1e21) return String
|
|
19061
|
+
if (number <= -1e21 || number >= 1e21) return $String(number);
|
|
19040
19062
|
if (number < 0) {
|
|
19041
19063
|
sign = '-';
|
|
19042
19064
|
number = -number;
|
|
@@ -19080,7 +19102,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
|
|
|
19080
19102
|
}
|
|
19081
19103
|
});
|
|
19082
19104
|
|
|
19083
|
-
var global$
|
|
19105
|
+
var global$3 = global$s;
|
|
19084
19106
|
var fails$4 = fails$t;
|
|
19085
19107
|
var uncurryThis$7 = functionUncurryThis;
|
|
19086
19108
|
var toString$6 = toString$h;
|
|
@@ -19088,8 +19110,8 @@ var trim = stringTrim.trim;
|
|
|
19088
19110
|
var whitespaces$1 = whitespaces$4;
|
|
19089
19111
|
|
|
19090
19112
|
var charAt$6 = uncurryThis$7(''.charAt);
|
|
19091
|
-
var n$ParseFloat = global$
|
|
19092
|
-
var Symbol$5 = global$
|
|
19113
|
+
var n$ParseFloat = global$3.parseFloat;
|
|
19114
|
+
var Symbol$5 = global$3.Symbol;
|
|
19093
19115
|
var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
|
|
19094
19116
|
var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
19095
19117
|
// MS Edge 18- broken with boxed symbols
|
|
@@ -19578,7 +19600,7 @@ const PriceColumn = props => {
|
|
|
19578
19600
|
return addThousandSeparator(param);
|
|
19579
19601
|
};
|
|
19580
19602
|
|
|
19581
|
-
var _jsxFileName$e = "
|
|
19603
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
19582
19604
|
const rowExpanderColumn = {
|
|
19583
19605
|
id: 'expander',
|
|
19584
19606
|
Header: () => null,
|
|
@@ -19620,7 +19642,7 @@ const rowExpanderColumn = {
|
|
|
19620
19642
|
unsortable: true
|
|
19621
19643
|
};
|
|
19622
19644
|
|
|
19623
|
-
var _jsxFileName$d = "
|
|
19645
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
19624
19646
|
|
|
19625
19647
|
const rowMenuColumn = (options, icon, config) => ({
|
|
19626
19648
|
id: 'menu',
|
|
@@ -19878,7 +19900,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19878
19900
|
unsortable: true
|
|
19879
19901
|
});
|
|
19880
19902
|
|
|
19881
|
-
var _jsxFileName$c = "
|
|
19903
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
19882
19904
|
const rowSelectionColumn = {
|
|
19883
19905
|
id: 'selection',
|
|
19884
19906
|
Header: ({
|
|
@@ -20199,7 +20221,7 @@ PageDialog.defaultProps = {
|
|
|
20199
20221
|
};
|
|
20200
20222
|
|
|
20201
20223
|
const _excluded$1 = ["children"];
|
|
20202
|
-
var _jsxFileName$b = "
|
|
20224
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
20203
20225
|
const overlayShow = keyframes({
|
|
20204
20226
|
'0%': {
|
|
20205
20227
|
opacity: 0
|
|
@@ -20802,7 +20824,7 @@ const AlertDialogCancel = ADialog.Cancel;
|
|
|
20802
20824
|
const AlertDialogConfirm = ADialog.Action;
|
|
20803
20825
|
|
|
20804
20826
|
const _excluded = ["side", "align", "children"];
|
|
20805
|
-
var _jsxFileName$a = "
|
|
20827
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
20806
20828
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
20807
20829
|
const slideUpAndFade = keyframes({
|
|
20808
20830
|
'0%': {
|
|
@@ -21139,7 +21161,6 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
21139
21161
|
}
|
|
21140
21162
|
};
|
|
21141
21163
|
|
|
21142
|
-
var global$4 = global$U;
|
|
21143
21164
|
var bind$2 = functionBindContext;
|
|
21144
21165
|
var call$2 = functionCall;
|
|
21145
21166
|
var toObject = toObject$7;
|
|
@@ -21151,7 +21172,7 @@ var createProperty = createProperty$2;
|
|
|
21151
21172
|
var getIterator$1 = getIterator$3;
|
|
21152
21173
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
21153
21174
|
|
|
21154
|
-
var Array
|
|
21175
|
+
var $Array = Array;
|
|
21155
21176
|
|
|
21156
21177
|
// `Array.from` method implementation
|
|
21157
21178
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -21166,7 +21187,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21166
21187
|
var index = 0;
|
|
21167
21188
|
var length, result, step, iterator, next, value;
|
|
21168
21189
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
21169
|
-
if (iteratorMethod && !(this
|
|
21190
|
+
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
21170
21191
|
iterator = getIterator$1(O, iteratorMethod);
|
|
21171
21192
|
next = iterator.next;
|
|
21172
21193
|
result = IS_CONSTRUCTOR ? new this() : [];
|
|
@@ -21176,7 +21197,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21176
21197
|
}
|
|
21177
21198
|
} else {
|
|
21178
21199
|
length = lengthOfArrayLike(O);
|
|
21179
|
-
result = IS_CONSTRUCTOR ? new this(length) : Array
|
|
21200
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
21180
21201
|
for (;length > index; index++) {
|
|
21181
21202
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
21182
21203
|
createProperty(result, index, value);
|
|
@@ -21187,7 +21208,6 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
21187
21208
|
};
|
|
21188
21209
|
|
|
21189
21210
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
21190
|
-
var global$3 = global$U;
|
|
21191
21211
|
var uncurryThis$2 = functionUncurryThis;
|
|
21192
21212
|
|
|
21193
21213
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -21204,7 +21224,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
|
21204
21224
|
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
|
|
21205
21225
|
var baseMinusTMin = base - tMin;
|
|
21206
21226
|
|
|
21207
|
-
var RangeError =
|
|
21227
|
+
var $RangeError = RangeError;
|
|
21208
21228
|
var exec$1 = uncurryThis$2(regexSeparators.exec);
|
|
21209
21229
|
var floor$1 = Math.floor;
|
|
21210
21230
|
var fromCharCode = String.fromCharCode;
|
|
@@ -21319,7 +21339,7 @@ var encode = function (input) {
|
|
|
21319
21339
|
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
|
|
21320
21340
|
var handledCPCountPlusOne = handledCPCount + 1;
|
|
21321
21341
|
if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
|
|
21322
|
-
throw RangeError(OVERFLOW_ERROR);
|
|
21342
|
+
throw $RangeError(OVERFLOW_ERROR);
|
|
21323
21343
|
}
|
|
21324
21344
|
|
|
21325
21345
|
delta += (m - n) * handledCPCountPlusOne;
|
|
@@ -21328,7 +21348,7 @@ var encode = function (input) {
|
|
|
21328
21348
|
for (i = 0; i < input.length; i++) {
|
|
21329
21349
|
currentValue = input[i];
|
|
21330
21350
|
if (currentValue < n && ++delta > maxInt) {
|
|
21331
|
-
throw RangeError(OVERFLOW_ERROR);
|
|
21351
|
+
throw $RangeError(OVERFLOW_ERROR);
|
|
21332
21352
|
}
|
|
21333
21353
|
if (currentValue == n) {
|
|
21334
21354
|
// Represent delta as a generalized variable-length integer.
|
|
@@ -21378,7 +21398,7 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
21378
21398
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
21379
21399
|
|
|
21380
21400
|
var $$4 = _export;
|
|
21381
|
-
var global$2 = global$
|
|
21401
|
+
var global$2 = global$s;
|
|
21382
21402
|
var call$1 = functionCall;
|
|
21383
21403
|
var uncurryThis$1 = functionUncurryThis;
|
|
21384
21404
|
var DESCRIPTORS$1 = descriptors;
|
|
@@ -21740,7 +21760,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21740
21760
|
};
|
|
21741
21761
|
|
|
21742
21762
|
if (isCallable(nativeFetch)) {
|
|
21743
|
-
$$4({ global: true, enumerable: true,
|
|
21763
|
+
$$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
21744
21764
|
fetch: function fetch(input /* , init */) {
|
|
21745
21765
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
21746
21766
|
}
|
|
@@ -21756,7 +21776,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
21756
21776
|
RequestPrototype.constructor = RequestConstructor;
|
|
21757
21777
|
RequestConstructor.prototype = RequestPrototype;
|
|
21758
21778
|
|
|
21759
|
-
$$4({ global: true, constructor: true,
|
|
21779
|
+
$$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
21760
21780
|
Request: RequestConstructor
|
|
21761
21781
|
});
|
|
21762
21782
|
}
|
|
@@ -21772,7 +21792,7 @@ var web_urlSearchParams_constructor = {
|
|
|
21772
21792
|
var $$3 = _export;
|
|
21773
21793
|
var DESCRIPTORS = descriptors;
|
|
21774
21794
|
var USE_NATIVE_URL = nativeUrl;
|
|
21775
|
-
var global$1 = global$
|
|
21795
|
+
var global$1 = global$s;
|
|
21776
21796
|
var bind = functionBindContext;
|
|
21777
21797
|
var uncurryThis = functionUncurryThis;
|
|
21778
21798
|
var defineBuiltIn = defineBuiltIn$b;
|
|
@@ -22916,7 +22936,7 @@ function upload({
|
|
|
22916
22936
|
return promise;
|
|
22917
22937
|
}
|
|
22918
22938
|
|
|
22919
|
-
var _jsxFileName$9 = "
|
|
22939
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
22920
22940
|
const Input$2 = styled('input', {
|
|
22921
22941
|
display: 'none !important'
|
|
22922
22942
|
});
|
|
@@ -24105,176 +24125,176 @@ Upload.defaultProps = {
|
|
|
24105
24125
|
imageCompression: true
|
|
24106
24126
|
};
|
|
24107
24127
|
Upload.propTypes = {
|
|
24108
|
-
/**
|
|
24109
|
-
Placeholder label of upload.
|
|
24128
|
+
/**
|
|
24129
|
+
Placeholder label of upload.
|
|
24110
24130
|
*/
|
|
24111
24131
|
placeholder: PropTypes.string,
|
|
24112
24132
|
|
|
24113
|
-
/**
|
|
24114
|
-
Disabled state of upload.
|
|
24133
|
+
/**
|
|
24134
|
+
Disabled state of upload.
|
|
24115
24135
|
*/
|
|
24116
24136
|
disabled: PropTypes.bool,
|
|
24117
24137
|
|
|
24118
|
-
/**
|
|
24119
|
-
Built-in stylesheets, support for two types.
|
|
24138
|
+
/**
|
|
24139
|
+
Built-in stylesheets, support for two types.
|
|
24120
24140
|
*/
|
|
24121
24141
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
24122
24142
|
|
|
24123
|
-
/**
|
|
24124
|
-
Whether to support selected multiple file.
|
|
24143
|
+
/**
|
|
24144
|
+
Whether to support selected multiple file.
|
|
24125
24145
|
*/
|
|
24126
24146
|
multiple: PropTypes.bool,
|
|
24127
24147
|
|
|
24128
|
-
/**
|
|
24129
|
-
List of files to be uploaded.
|
|
24148
|
+
/**
|
|
24149
|
+
List of files to be uploaded.
|
|
24130
24150
|
*/
|
|
24131
24151
|
fileList: PropTypes.array,
|
|
24132
24152
|
|
|
24133
|
-
/**
|
|
24134
|
-
A callback function, can be executed when uploading state is changing.
|
|
24153
|
+
/**
|
|
24154
|
+
A callback function, can be executed when uploading state is changing.
|
|
24135
24155
|
*/
|
|
24136
24156
|
onChange: PropTypes.func,
|
|
24137
24157
|
|
|
24138
|
-
/**
|
|
24139
|
-
A callback function, can be executed when uploading in progress.
|
|
24140
|
-
`(progress) => void`
|
|
24158
|
+
/**
|
|
24159
|
+
A callback function, can be executed when uploading in progress.
|
|
24160
|
+
`(progress) => void`
|
|
24141
24161
|
*/
|
|
24142
24162
|
onProgress: PropTypes.func,
|
|
24143
24163
|
|
|
24144
|
-
/**
|
|
24145
|
-
A callback function, can be executed when uploading is success.
|
|
24146
|
-
`(response) => void`
|
|
24164
|
+
/**
|
|
24165
|
+
A callback function, can be executed when uploading is success.
|
|
24166
|
+
`(response) => void`
|
|
24147
24167
|
*/
|
|
24148
24168
|
onSuccess: PropTypes.func,
|
|
24149
24169
|
|
|
24150
|
-
/**
|
|
24151
|
-
A callback function, can be executed when uploading is error.
|
|
24152
|
-
`(error, response) => void`
|
|
24170
|
+
/**
|
|
24171
|
+
A callback function, can be executed when uploading is error.
|
|
24172
|
+
`(error, response) => void`
|
|
24153
24173
|
*/
|
|
24154
24174
|
onError: PropTypes.func,
|
|
24155
24175
|
|
|
24156
|
-
/**
|
|
24157
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
24176
|
+
/**
|
|
24177
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
24158
24178
|
*/
|
|
24159
24179
|
onPreview: PropTypes.func,
|
|
24160
24180
|
|
|
24161
|
-
/**
|
|
24162
|
-
A callback function, can be executed when remove icon is clicked.
|
|
24181
|
+
/**
|
|
24182
|
+
A callback function, can be executed when remove icon is clicked.
|
|
24163
24183
|
*/
|
|
24164
24184
|
onRemove: PropTypes.func,
|
|
24165
24185
|
|
|
24166
|
-
/**
|
|
24167
|
-
A custom element inside upload container.
|
|
24186
|
+
/**
|
|
24187
|
+
A custom element inside upload container.
|
|
24168
24188
|
*/
|
|
24169
24189
|
children: PropTypes.element,
|
|
24170
24190
|
|
|
24171
|
-
/**
|
|
24172
|
-
Limit the number of uploaded files.
|
|
24191
|
+
/**
|
|
24192
|
+
Limit the number of uploaded files.
|
|
24173
24193
|
*/
|
|
24174
24194
|
max: PropTypes.number,
|
|
24175
24195
|
|
|
24176
|
-
/**
|
|
24177
|
-
Limit the maximum image size in MB.
|
|
24196
|
+
/**
|
|
24197
|
+
Limit the maximum image size in MB.
|
|
24178
24198
|
*/
|
|
24179
24199
|
maxSizeMB: PropTypes.number,
|
|
24180
24200
|
|
|
24181
|
-
/**
|
|
24182
|
-
Limit file type of upload.
|
|
24201
|
+
/**
|
|
24202
|
+
Limit file type of upload.
|
|
24183
24203
|
*/
|
|
24184
24204
|
accept: PropTypes.string,
|
|
24185
24205
|
|
|
24186
|
-
/**
|
|
24187
|
-
Custom label for replace button.
|
|
24206
|
+
/**
|
|
24207
|
+
Custom label for replace button.
|
|
24188
24208
|
*/
|
|
24189
24209
|
replaceLabel: PropTypes.string,
|
|
24190
24210
|
|
|
24191
|
-
/**
|
|
24192
|
-
Custom width of upload container.
|
|
24211
|
+
/**
|
|
24212
|
+
Custom width of upload container.
|
|
24193
24213
|
*/
|
|
24194
24214
|
width: PropTypes.number,
|
|
24195
24215
|
|
|
24196
|
-
/**
|
|
24197
|
-
Custom height of upload container.
|
|
24216
|
+
/**
|
|
24217
|
+
Custom height of upload container.
|
|
24198
24218
|
*/
|
|
24199
24219
|
height: PropTypes.number,
|
|
24200
24220
|
|
|
24201
|
-
/**
|
|
24202
|
-
Additional css.
|
|
24221
|
+
/**
|
|
24222
|
+
Additional css.
|
|
24203
24223
|
*/
|
|
24204
24224
|
css: PropTypes.object,
|
|
24205
24225
|
|
|
24206
|
-
/**
|
|
24207
|
-
Custom title header of cropper modal.
|
|
24226
|
+
/**
|
|
24227
|
+
Custom title header of cropper modal.
|
|
24208
24228
|
*/
|
|
24209
24229
|
cropperTitle: PropTypes.string,
|
|
24210
24230
|
|
|
24211
|
-
/**
|
|
24212
|
-
Add image cropper on upload.
|
|
24231
|
+
/**
|
|
24232
|
+
Add image cropper on upload.
|
|
24213
24233
|
*/
|
|
24214
24234
|
showCropper: PropTypes.bool,
|
|
24215
24235
|
|
|
24216
|
-
/**
|
|
24217
|
-
Hidden toggle aspect ratio image cropper.
|
|
24236
|
+
/**
|
|
24237
|
+
Hidden toggle aspect ratio image cropper.
|
|
24218
24238
|
*/
|
|
24219
24239
|
hiddenToggleAspect: PropTypes.bool,
|
|
24220
24240
|
|
|
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.
|
|
24241
|
+
/**
|
|
24242
|
+
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
24243
|
*/
|
|
24224
24244
|
ratio: PropTypes.number,
|
|
24225
24245
|
|
|
24226
|
-
/**
|
|
24227
|
-
Can set error message to the upload.
|
|
24246
|
+
/**
|
|
24247
|
+
Can set error message to the upload.
|
|
24228
24248
|
*/
|
|
24229
24249
|
errorMessage: PropTypes.string,
|
|
24230
24250
|
|
|
24231
|
-
/**
|
|
24232
|
-
Progress of upload process.
|
|
24251
|
+
/**
|
|
24252
|
+
Progress of upload process.
|
|
24233
24253
|
*/
|
|
24234
24254
|
progress: PropTypes.number,
|
|
24235
24255
|
|
|
24236
|
-
/**
|
|
24237
|
-
Auto increment progress of upload process.
|
|
24256
|
+
/**
|
|
24257
|
+
Auto increment progress of upload process.
|
|
24238
24258
|
*/
|
|
24239
24259
|
loading: PropTypes.bool,
|
|
24240
24260
|
|
|
24241
|
-
/**
|
|
24242
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
24261
|
+
/**
|
|
24262
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
24243
24263
|
*/
|
|
24244
24264
|
action: PropTypes.string,
|
|
24245
24265
|
|
|
24246
|
-
/**
|
|
24247
|
-
Custom body request to upload action.
|
|
24266
|
+
/**
|
|
24267
|
+
Custom body request to upload action.
|
|
24248
24268
|
*/
|
|
24249
24269
|
customBodyRequest: PropTypes.func,
|
|
24250
24270
|
|
|
24251
|
-
/**
|
|
24252
|
-
Contains an authentication token for upload API.
|
|
24271
|
+
/**
|
|
24272
|
+
Contains an authentication token for upload API.
|
|
24253
24273
|
*/
|
|
24254
24274
|
token: PropTypes.string,
|
|
24255
24275
|
|
|
24256
|
-
/**
|
|
24257
|
-
Referencing the headers key to attach the token.
|
|
24276
|
+
/**
|
|
24277
|
+
Referencing the headers key to attach the token.
|
|
24258
24278
|
*/
|
|
24259
24279
|
tokenKey: PropTypes.string,
|
|
24260
24280
|
|
|
24261
|
-
/**
|
|
24262
|
-
Referencing the key to attach the file to be sent.
|
|
24281
|
+
/**
|
|
24282
|
+
Referencing the key to attach the file to be sent.
|
|
24263
24283
|
*/
|
|
24264
24284
|
reqKey: PropTypes.string,
|
|
24265
24285
|
|
|
24266
|
-
/**
|
|
24267
|
-
Referencing the key to get the file from the API response.
|
|
24286
|
+
/**
|
|
24287
|
+
Referencing the key to get the file from the API response.
|
|
24268
24288
|
*/
|
|
24269
24289
|
resKey: PropTypes.string,
|
|
24270
24290
|
|
|
24271
|
-
/**
|
|
24272
|
-
To compression image if file size > 1MB.
|
|
24291
|
+
/**
|
|
24292
|
+
To compression image if file size > 1MB.
|
|
24273
24293
|
*/
|
|
24274
24294
|
imageCompression: PropTypes.bool,
|
|
24275
24295
|
|
|
24276
|
-
/**
|
|
24277
|
-
Callback to handle before crop image.
|
|
24296
|
+
/**
|
|
24297
|
+
Callback to handle before crop image.
|
|
24278
24298
|
*/
|
|
24279
24299
|
onBeforeCrop: PropTypes.func
|
|
24280
24300
|
};
|
|
@@ -24902,7 +24922,7 @@ const Device = props => {
|
|
|
24902
24922
|
|
|
24903
24923
|
Device.displayName = 'DevicePreview';
|
|
24904
24924
|
|
|
24905
|
-
var _jsxFileName$8 = "
|
|
24925
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
24906
24926
|
const Separator$1 = styled('div', {
|
|
24907
24927
|
height: 20,
|
|
24908
24928
|
width: 1,
|
|
@@ -25014,28 +25034,28 @@ function InputColorPicker(props) {
|
|
|
25014
25034
|
|
|
25015
25035
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
25016
25036
|
InputColorPicker.propTypes = {
|
|
25017
|
-
/**
|
|
25018
|
-
Color code to be displayed.
|
|
25037
|
+
/**
|
|
25038
|
+
Color code to be displayed.
|
|
25019
25039
|
*/
|
|
25020
25040
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
25021
25041
|
|
|
25022
|
-
/**
|
|
25023
|
-
Additional color list.
|
|
25042
|
+
/**
|
|
25043
|
+
Additional color list.
|
|
25024
25044
|
*/
|
|
25025
25045
|
presetColors: PropTypes.array,
|
|
25026
25046
|
|
|
25027
|
-
/**
|
|
25028
|
-
Change event handler.
|
|
25047
|
+
/**
|
|
25048
|
+
Change event handler.
|
|
25029
25049
|
*/
|
|
25030
25050
|
onChange: PropTypes.func,
|
|
25031
25051
|
|
|
25032
|
-
/**
|
|
25033
|
-
Add preset color event handler.
|
|
25052
|
+
/**
|
|
25053
|
+
Add preset color event handler.
|
|
25034
25054
|
*/
|
|
25035
25055
|
onAddColor: PropTypes.func,
|
|
25036
25056
|
|
|
25037
|
-
/**
|
|
25038
|
-
Disable opacity selector.
|
|
25057
|
+
/**
|
|
25058
|
+
Disable opacity selector.
|
|
25039
25059
|
*/
|
|
25040
25060
|
disableAlpha: PropTypes.bool
|
|
25041
25061
|
};
|
|
@@ -25045,7 +25065,7 @@ InputColorPicker.defaultProps = {
|
|
|
25045
25065
|
|
|
25046
25066
|
var img$d = "data:image/gif;base64,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";
|
|
25047
25067
|
|
|
25048
|
-
var _jsxFileName$7 = "
|
|
25068
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
25049
25069
|
const Container$7 = styled('div', {
|
|
25050
25070
|
userSelect: 'none',
|
|
25051
25071
|
margin: 'auto',
|
|
@@ -27009,7 +27029,7 @@ function ColorMap({
|
|
|
27009
27029
|
})));
|
|
27010
27030
|
}
|
|
27011
27031
|
|
|
27012
|
-
var _jsxFileName$6 = "
|
|
27032
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
27013
27033
|
const CheckBoard = styled(Flex$1, {
|
|
27014
27034
|
background: '$bgwhite',
|
|
27015
27035
|
border: '1px solid #E5E7EB',
|
|
@@ -27210,7 +27230,7 @@ function ColorFields({
|
|
|
27210
27230
|
}, "%")));
|
|
27211
27231
|
}
|
|
27212
27232
|
|
|
27213
|
-
var _jsxFileName$5 = "
|
|
27233
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
27214
27234
|
const Container$6 = styled(Flex$1, {
|
|
27215
27235
|
background: '$white',
|
|
27216
27236
|
padding: 16,
|
|
@@ -27713,28 +27733,28 @@ function ColorPicker({
|
|
|
27713
27733
|
}
|
|
27714
27734
|
|
|
27715
27735
|
ColorPicker.propTypes = {
|
|
27716
|
-
/**
|
|
27717
|
-
Color code to be displayed.
|
|
27736
|
+
/**
|
|
27737
|
+
Color code to be displayed.
|
|
27718
27738
|
*/
|
|
27719
27739
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
27720
27740
|
|
|
27721
|
-
/**
|
|
27722
|
-
Additional color list
|
|
27741
|
+
/**
|
|
27742
|
+
Additional color list
|
|
27723
27743
|
*/
|
|
27724
27744
|
presetColors: PropTypes.array,
|
|
27725
27745
|
|
|
27726
|
-
/**
|
|
27727
|
-
Change event handler
|
|
27746
|
+
/**
|
|
27747
|
+
Change event handler
|
|
27728
27748
|
*/
|
|
27729
27749
|
onChange: PropTypes.func,
|
|
27730
27750
|
|
|
27731
|
-
/**
|
|
27732
|
-
Add preset color event handler
|
|
27751
|
+
/**
|
|
27752
|
+
Add preset color event handler
|
|
27733
27753
|
*/
|
|
27734
27754
|
onAddColor: PropTypes.func,
|
|
27735
27755
|
|
|
27736
|
-
/**
|
|
27737
|
-
Disable opacity selector
|
|
27756
|
+
/**
|
|
27757
|
+
Disable opacity selector
|
|
27738
27758
|
*/
|
|
27739
27759
|
disableAlpha: PropTypes.bool
|
|
27740
27760
|
};
|
|
@@ -27743,7 +27763,7 @@ ColorPicker.defaultProps = {
|
|
|
27743
27763
|
};
|
|
27744
27764
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
27745
27765
|
|
|
27746
|
-
var _jsxFileName$4 = "
|
|
27766
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
27747
27767
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
27748
27768
|
const Stepper = StepWizard$1;
|
|
27749
27769
|
Stepper.displayName = 'Stepper';
|
|
@@ -28287,7 +28307,7 @@ const StepWizard = props => {
|
|
|
28287
28307
|
}), void 0);
|
|
28288
28308
|
};
|
|
28289
28309
|
|
|
28290
|
-
var _jsxFileName$3 = "
|
|
28310
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
28291
28311
|
|
|
28292
28312
|
function Collapse({
|
|
28293
28313
|
children,
|
|
@@ -28332,7 +28352,7 @@ Collapse.defaultProps = {
|
|
|
28332
28352
|
isOpen: false
|
|
28333
28353
|
};
|
|
28334
28354
|
|
|
28335
|
-
var _jsxFileName$2 = "
|
|
28355
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
28336
28356
|
const DesktopContainer = styled(Flex$1, {
|
|
28337
28357
|
display: 'none',
|
|
28338
28358
|
'& .active-scroll-spy': {
|
|
@@ -28658,28 +28678,28 @@ TableOfContent.defaultProps = {
|
|
|
28658
28678
|
isDialog: false
|
|
28659
28679
|
};
|
|
28660
28680
|
TableOfContent.propTypes = {
|
|
28661
|
-
/**
|
|
28662
|
-
List of contents containing the title and id of a content.
|
|
28681
|
+
/**
|
|
28682
|
+
List of contents containing the title and id of a content.
|
|
28663
28683
|
*/
|
|
28664
28684
|
content: PropTypes.array,
|
|
28665
28685
|
|
|
28666
|
-
/**
|
|
28667
|
-
Components devoted to mobile viewing only.
|
|
28686
|
+
/**
|
|
28687
|
+
Components devoted to mobile viewing only.
|
|
28668
28688
|
*/
|
|
28669
28689
|
isMobile: PropTypes.bool,
|
|
28670
28690
|
|
|
28671
|
-
/**
|
|
28672
|
-
Condition when table of content is inside a component dialog.
|
|
28691
|
+
/**
|
|
28692
|
+
Condition when table of content is inside a component dialog.
|
|
28673
28693
|
*/
|
|
28674
28694
|
isDialog: PropTypes.bool,
|
|
28675
28695
|
|
|
28676
|
-
/**
|
|
28677
|
-
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28696
|
+
/**
|
|
28697
|
+
The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
|
|
28678
28698
|
*/
|
|
28679
28699
|
activeId: PropTypes.string,
|
|
28680
28700
|
|
|
28681
|
-
/**
|
|
28682
|
-
Event Callback on navigation click.
|
|
28701
|
+
/**
|
|
28702
|
+
Event Callback on navigation click.
|
|
28683
28703
|
*/
|
|
28684
28704
|
onNavClick: PropTypes.func
|
|
28685
28705
|
};
|
|
@@ -28699,7 +28719,7 @@ TableOfContentPage.defaultProps = {
|
|
|
28699
28719
|
useBoxMethod: true
|
|
28700
28720
|
};
|
|
28701
28721
|
|
|
28702
|
-
var _jsxFileName$1 = "
|
|
28722
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
28703
28723
|
|
|
28704
28724
|
function Collapalse({
|
|
28705
28725
|
children,
|
|
@@ -32111,7 +32131,7 @@ function Skeleton(props) {
|
|
|
32111
32131
|
}), void 0);
|
|
32112
32132
|
}
|
|
32113
32133
|
|
|
32114
|
-
var _jsxFileName = "
|
|
32134
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
32115
32135
|
const StyledPaper = styled(Paper, {
|
|
32116
32136
|
borderRadius: '10px 10px 0 0',
|
|
32117
32137
|
padding: 15,
|