@majoo-ui/react 1.53.2 → 1.54.1-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/index.esm.js CHANGED
@@ -43,11 +43,13 @@ import { ResponsiveContainer, LineChart as LineChart$1, XAxis, YAxis, CartesianG
43
43
  import { EditorState } from 'draft-js';
44
44
  import { Editor } from 'react-draft-wysiwyg';
45
45
  import { ContextMenuTrigger as ContextMenuTrigger$1, ContextMenu as ContextMenu$1, MenuItem } from 'react-contextmenu';
46
+ import ReactSkeleton, { SkeletonTheme } from 'react-loading-skeleton';
47
+ import 'react-loading-skeleton/dist/skeleton.css';
46
48
  import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
47
49
  import imageCompressionComponent from 'browser-image-compression';
48
50
  import { useSticky } from 'react-table-sticky';
49
51
 
50
- var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
52
+ var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
51
53
 
52
54
  function ThemeProvider({
53
55
  theme,
@@ -76,7 +78,7 @@ var check = function (it) {
76
78
  };
77
79
 
78
80
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
79
- var global$U =
81
+ var global$s =
80
82
  // eslint-disable-next-line es-x/no-global-this -- safe
81
83
  check(typeof globalThis == 'object' && globalThis) ||
82
84
  check(typeof window == 'object' && window) ||
@@ -170,31 +172,28 @@ var classofRaw$1 = function (it) {
170
172
  return stringSlice$b(toString$j(it), 8, -1);
171
173
  };
172
174
 
173
- var global$T = global$U;
174
175
  var uncurryThis$v = functionUncurryThis;
175
176
  var fails$q = fails$t;
176
177
  var classof$8 = classofRaw$1;
177
178
 
178
- var Object$5 = global$T.Object;
179
+ var $Object$4 = Object;
179
180
  var split$3 = uncurryThis$v(''.split);
180
181
 
181
182
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
182
183
  var indexedObject = fails$q(function () {
183
184
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
184
185
  // eslint-disable-next-line no-prototype-builtins -- safe
185
- return !Object$5('z').propertyIsEnumerable(0);
186
+ return !$Object$4('z').propertyIsEnumerable(0);
186
187
  }) ? function (it) {
187
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
188
- } : Object$5;
188
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
189
+ } : $Object$4;
189
190
 
190
- var global$S = global$U;
191
-
192
- var TypeError$j = global$S.TypeError;
191
+ var $TypeError$f = TypeError;
193
192
 
194
193
  // `RequireObjectCoercible` abstract operation
195
194
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
196
195
  var requireObjectCoercible$a = function (it) {
197
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
196
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
198
197
  return it;
199
198
  };
200
199
 
@@ -218,7 +217,7 @@ var isObject$d = function (it) {
218
217
  return typeof it == 'object' ? it !== null : isCallable$o(it);
219
218
  };
220
219
 
221
- var global$R = global$U;
220
+ var global$r = global$s;
222
221
  var isCallable$n = isCallable$p;
223
222
 
224
223
  var aFunction = function (argument) {
@@ -226,7 +225,7 @@ var aFunction = function (argument) {
226
225
  };
227
226
 
228
227
  var getBuiltIn$8 = function (namespace, method) {
229
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
228
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
230
229
  };
231
230
 
232
231
  var uncurryThis$u = functionUncurryThis;
@@ -237,11 +236,11 @@ var getBuiltIn$7 = getBuiltIn$8;
237
236
 
238
237
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
239
238
 
240
- var global$Q = global$U;
239
+ var global$q = global$s;
241
240
  var userAgent$5 = engineUserAgent;
242
241
 
243
- var process$3 = global$Q.process;
244
- var Deno$1 = global$Q.Deno;
242
+ var process$3 = global$q.process;
243
+ var Deno$1 = global$q.Deno;
245
244
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
246
245
  var v8 = versions && versions.v8;
247
246
  var match, version;
@@ -288,43 +287,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
288
287
  && !Symbol.sham
289
288
  && typeof Symbol.iterator == 'symbol';
290
289
 
291
- var global$P = global$U;
292
290
  var getBuiltIn$6 = getBuiltIn$8;
293
291
  var isCallable$m = isCallable$p;
294
292
  var isPrototypeOf$5 = objectIsPrototypeOf;
295
293
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
296
294
 
297
- var Object$4 = global$P.Object;
295
+ var $Object$3 = Object;
298
296
 
299
297
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
300
298
  return typeof it == 'symbol';
301
299
  } : function (it) {
302
300
  var $Symbol = getBuiltIn$6('Symbol');
303
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
301
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
304
302
  };
305
303
 
306
- var global$O = global$U;
307
-
308
- var String$6 = global$O.String;
304
+ var $String$4 = String;
309
305
 
310
- var tryToString$4 = function (argument) {
306
+ var tryToString$5 = function (argument) {
311
307
  try {
312
- return String$6(argument);
308
+ return $String$4(argument);
313
309
  } catch (error) {
314
310
  return 'Object';
315
311
  }
316
312
  };
317
313
 
318
- var global$N = global$U;
319
314
  var isCallable$l = isCallable$p;
320
- var tryToString$3 = tryToString$4;
315
+ var tryToString$4 = tryToString$5;
321
316
 
322
- var TypeError$i = global$N.TypeError;
317
+ var $TypeError$e = TypeError;
323
318
 
324
319
  // `Assert: IsCallable(argument) is true`
325
320
  var aCallable$9 = function (argument) {
326
321
  if (isCallable$l(argument)) return argument;
327
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
322
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
328
323
  };
329
324
 
330
325
  var aCallable$8 = aCallable$9;
@@ -336,12 +331,11 @@ var getMethod$6 = function (V, P) {
336
331
  return func == null ? undefined : aCallable$8(func);
337
332
  };
338
333
 
339
- var global$M = global$U;
340
334
  var call$l = functionCall;
341
335
  var isCallable$k = isCallable$p;
342
336
  var isObject$c = isObject$d;
343
337
 
344
- var TypeError$h = global$M.TypeError;
338
+ var $TypeError$d = TypeError;
345
339
 
346
340
  // `OrdinaryToPrimitive` abstract operation
347
341
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -350,31 +344,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
350
344
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
351
345
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
352
346
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
353
- throw TypeError$h("Can't convert object to primitive value");
347
+ throw $TypeError$d("Can't convert object to primitive value");
354
348
  };
355
349
 
356
350
  var shared$4 = {exports: {}};
357
351
 
358
352
  var isPure = false;
359
353
 
360
- var global$L = global$U;
354
+ var global$p = global$s;
361
355
 
362
356
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
363
- var defineProperty$7 = Object.defineProperty;
357
+ var defineProperty$8 = Object.defineProperty;
364
358
 
365
- var setGlobal$3 = function (key, value) {
359
+ var defineGlobalProperty$3 = function (key, value) {
366
360
  try {
367
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
361
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
368
362
  } catch (error) {
369
- global$L[key] = value;
363
+ global$p[key] = value;
370
364
  } return value;
371
365
  };
372
366
 
373
- var global$K = global$U;
374
- var setGlobal$2 = setGlobal$3;
367
+ var global$o = global$s;
368
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
375
369
 
376
370
  var SHARED = '__core-js_shared__';
377
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
371
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
378
372
 
379
373
  var sharedStore = store$3;
380
374
 
@@ -383,22 +377,21 @@ var store$2 = sharedStore;
383
377
  (shared$4.exports = function (key, value) {
384
378
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
385
379
  })('versions', []).push({
386
- version: '3.22.5',
380
+ version: '3.24.1',
387
381
  mode: 'global',
388
382
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
389
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
383
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
390
384
  source: 'https://github.com/zloirock/core-js'
391
385
  });
392
386
 
393
- var global$J = global$U;
394
387
  var requireObjectCoercible$8 = requireObjectCoercible$a;
395
388
 
396
- var Object$3 = global$J.Object;
389
+ var $Object$2 = Object;
397
390
 
398
391
  // `ToObject` abstract operation
399
392
  // https://tc39.es/ecma262/#sec-toobject
400
393
  var toObject$7 = function (argument) {
401
- return Object$3(requireObjectCoercible$8(argument));
394
+ return $Object$2(requireObjectCoercible$8(argument));
402
395
  };
403
396
 
404
397
  var uncurryThis$t = functionUncurryThis;
@@ -423,7 +416,7 @@ var uid$2 = function (key) {
423
416
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
424
417
  };
425
418
 
426
- var global$I = global$U;
419
+ var global$n = global$s;
427
420
  var shared$3 = shared$4.exports;
428
421
  var hasOwn$e = hasOwnProperty_1;
429
422
  var uid$1 = uid$2;
@@ -431,7 +424,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
431
424
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
432
425
 
433
426
  var WellKnownSymbolsStore = shared$3('wks');
434
- var Symbol$7 = global$I.Symbol;
427
+ var Symbol$7 = global$n.Symbol;
435
428
  var symbolFor = Symbol$7 && Symbol$7['for'];
436
429
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
437
430
 
@@ -448,7 +441,6 @@ var wellKnownSymbol$l = function (name) {
448
441
  } return WellKnownSymbolsStore[name];
449
442
  };
450
443
 
451
- var global$H = global$U;
452
444
  var call$k = functionCall;
453
445
  var isObject$b = isObject$d;
454
446
  var isSymbol$5 = isSymbol$6;
@@ -456,7 +448,7 @@ var getMethod$5 = getMethod$6;
456
448
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
457
449
  var wellKnownSymbol$k = wellKnownSymbol$l;
458
450
 
459
- var TypeError$g = global$H.TypeError;
451
+ var $TypeError$c = TypeError;
460
452
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
461
453
 
462
454
  // `ToPrimitive` abstract operation
@@ -469,7 +461,7 @@ var toPrimitive$1 = function (input, pref) {
469
461
  if (pref === undefined) pref = 'default';
470
462
  result = call$k(exoticToPrim, input, pref);
471
463
  if (!isObject$b(result) || isSymbol$5(result)) return result;
472
- throw TypeError$g("Can't convert object to primitive value");
464
+ throw $TypeError$c("Can't convert object to primitive value");
473
465
  }
474
466
  if (pref === undefined) pref = 'number';
475
467
  return ordinaryToPrimitive(input, pref);
@@ -485,10 +477,10 @@ var toPropertyKey$3 = function (argument) {
485
477
  return isSymbol$4(key) ? key : key + '';
486
478
  };
487
479
 
488
- var global$G = global$U;
480
+ var global$m = global$s;
489
481
  var isObject$a = isObject$d;
490
482
 
491
- var document$3 = global$G.document;
483
+ var document$3 = global$m.document;
492
484
  // typeof document.createElement is 'object' in old IE
493
485
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
494
486
 
@@ -546,26 +538,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$n(function () {
546
538
  }).prototype != 42;
547
539
  });
548
540
 
549
- var global$F = global$U;
550
541
  var isObject$9 = isObject$d;
551
542
 
552
- var String$5 = global$F.String;
553
- var TypeError$f = global$F.TypeError;
543
+ var $String$3 = String;
544
+ var $TypeError$b = TypeError;
554
545
 
555
546
  // `Assert: Type(argument) is Object`
556
547
  var anObject$i = function (argument) {
557
548
  if (isObject$9(argument)) return argument;
558
- throw TypeError$f(String$5(argument) + ' is not an object');
549
+ throw $TypeError$b($String$3(argument) + ' is not an object');
559
550
  };
560
551
 
561
- var global$E = global$U;
562
552
  var DESCRIPTORS$b = descriptors;
563
553
  var IE8_DOM_DEFINE = ie8DomDefine;
564
554
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
565
555
  var anObject$h = anObject$i;
566
556
  var toPropertyKey$1 = toPropertyKey$3;
567
557
 
568
- var TypeError$e = global$E.TypeError;
558
+ var $TypeError$a = TypeError;
569
559
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
570
560
  var $defineProperty = Object.defineProperty;
571
561
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -598,7 +588,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
598
588
  if (IE8_DOM_DEFINE) try {
599
589
  return $defineProperty(O, P, Attributes);
600
590
  } catch (error) { /* empty */ }
601
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
591
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
602
592
  if ('value' in Attributes) O[P] = Attributes.value;
603
593
  return O;
604
594
  };
@@ -607,7 +597,7 @@ var DESCRIPTORS$a = descriptors;
607
597
  var definePropertyModule$5 = objectDefineProperty;
608
598
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
609
599
 
610
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
600
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
611
601
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
612
602
  } : function (object, key, value) {
613
603
  object[key] = value;
@@ -649,11 +639,11 @@ if (!isCallable$j(store$1.inspectSource)) {
649
639
 
650
640
  var inspectSource$4 = store$1.inspectSource;
651
641
 
652
- var global$D = global$U;
642
+ var global$l = global$s;
653
643
  var isCallable$i = isCallable$p;
654
644
  var inspectSource$3 = inspectSource$4;
655
645
 
656
- var WeakMap$1 = global$D.WeakMap;
646
+ var WeakMap$1 = global$l.WeakMap;
657
647
 
658
648
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
659
649
 
@@ -669,18 +659,18 @@ var sharedKey$3 = function (key) {
669
659
  var hiddenKeys$4 = {};
670
660
 
671
661
  var NATIVE_WEAK_MAP = nativeWeakMap;
672
- var global$C = global$U;
662
+ var global$k = global$s;
673
663
  var uncurryThis$q = functionUncurryThis;
674
664
  var isObject$8 = isObject$d;
675
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
665
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
676
666
  var hasOwn$b = hasOwnProperty_1;
677
667
  var shared$1 = sharedStore;
678
668
  var sharedKey$2 = sharedKey$3;
679
669
  var hiddenKeys$3 = hiddenKeys$4;
680
670
 
681
671
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
682
- var TypeError$d = global$C.TypeError;
683
- var WeakMap = global$C.WeakMap;
672
+ var TypeError$4 = global$k.TypeError;
673
+ var WeakMap = global$k.WeakMap;
684
674
  var set$1, get$1, has;
685
675
 
686
676
  var enforce = function (it) {
@@ -691,7 +681,7 @@ var getterFor = function (TYPE) {
691
681
  return function (it) {
692
682
  var state;
693
683
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
694
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
684
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
695
685
  } return state;
696
686
  };
697
687
  };
@@ -702,7 +692,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
702
692
  var wmhas = uncurryThis$q(store.has);
703
693
  var wmset = uncurryThis$q(store.set);
704
694
  set$1 = function (it, metadata) {
705
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
695
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
706
696
  metadata.facade = it;
707
697
  wmset(store, it, metadata);
708
698
  return metadata;
@@ -717,9 +707,9 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
717
707
  var STATE = sharedKey$2('state');
718
708
  hiddenKeys$3[STATE] = true;
719
709
  set$1 = function (it, metadata) {
720
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
710
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
721
711
  metadata.facade = it;
722
- createNonEnumerableProperty$6(it, STATE, metadata);
712
+ createNonEnumerableProperty$5(it, STATE, metadata);
723
713
  return metadata;
724
714
  };
725
715
  get$1 = function (it) {
@@ -749,10 +739,10 @@ var InternalStateModule$5 = internalState;
749
739
  var enforceInternalState$1 = InternalStateModule$5.enforce;
750
740
  var getInternalState$3 = InternalStateModule$5.get;
751
741
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
752
- var defineProperty$6 = Object.defineProperty;
742
+ var defineProperty$7 = Object.defineProperty;
753
743
 
754
744
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
755
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
745
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
756
746
  });
757
747
 
758
748
  var TEMPLATE = String(String).split('String');
@@ -764,16 +754,18 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
764
754
  if (options && options.getter) name = 'get ' + name;
765
755
  if (options && options.setter) name = 'set ' + name;
766
756
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
767
- defineProperty$6(value, 'name', { value: name, configurable: true });
757
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
758
+ else value.name = name;
768
759
  }
769
760
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
770
- defineProperty$6(value, 'length', { value: options.arity });
761
+ defineProperty$7(value, 'length', { value: options.arity });
771
762
  }
772
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
773
- if (DESCRIPTORS$8) try {
774
- defineProperty$6(value, 'prototype', { writable: false });
775
- } catch (error) { /* empty */ }
776
- } else value.prototype = undefined;
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 */ }
777
769
  var state = enforceInternalState$1(value);
778
770
  if (!hasOwn$a(state, 'source')) {
779
771
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -786,30 +778,32 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
786
778
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
787
779
  }, 'toString');
788
780
 
789
- var global$B = global$U;
790
781
  var isCallable$g = isCallable$p;
791
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
782
+ var definePropertyModule$4 = objectDefineProperty;
792
783
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
793
- var setGlobal$1 = setGlobal$3;
784
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
794
785
 
795
786
  var defineBuiltIn$b = function (O, key, value, options) {
796
- var unsafe = options ? !!options.unsafe : false;
797
- var simple = options ? !!options.enumerable : false;
798
- var noTargetGet = options ? !!options.noTargetGet : false;
799
- 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;
800
790
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
801
- if (O === global$B) {
791
+ if (options.global) {
802
792
  if (simple) O[key] = value;
803
- else setGlobal$1(key, value);
804
- return O;
805
- } else if (!unsafe) {
806
- delete O[key];
807
- } else if (!noTargetGet && O[key]) {
808
- simple = true;
809
- }
810
- if (simple) O[key] = value;
811
- else createNonEnumerableProperty$5(O, key, value);
812
- return O;
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;
813
807
  };
814
808
 
815
809
  var objectGetOwnPropertyNames = {};
@@ -817,12 +811,22 @@ var objectGetOwnPropertyNames = {};
817
811
  var ceil = Math.ceil;
818
812
  var floor$5 = Math.floor;
819
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
+
820
824
  // `ToIntegerOrInfinity` abstract operation
821
825
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
822
826
  var toIntegerOrInfinity$6 = function (argument) {
823
827
  var number = +argument;
824
- // eslint-disable-next-line no-self-compare -- safe
825
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
828
+ // eslint-disable-next-line no-self-compare -- NaN check
829
+ return number !== number || number === 0 ? 0 : trunc(number);
826
830
  };
827
831
 
828
832
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -956,11 +960,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
956
960
  var hasOwn$8 = hasOwnProperty_1;
957
961
  var ownKeys = ownKeys$1;
958
962
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
959
- var definePropertyModule$4 = objectDefineProperty;
963
+ var definePropertyModule$3 = objectDefineProperty;
960
964
 
961
965
  var copyConstructorProperties$2 = function (target, source, exceptions) {
962
966
  var keys = ownKeys(source);
963
- var defineProperty = definePropertyModule$4.f;
967
+ var defineProperty = definePropertyModule$3.f;
964
968
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
965
969
  for (var i = 0; i < keys.length; i++) {
966
970
  var key = keys[i];
@@ -993,28 +997,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
993
997
 
994
998
  var isForced_1 = isForced$3;
995
999
 
996
- var global$A = global$U;
1000
+ var global$j = global$s;
997
1001
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
998
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1002
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
999
1003
  var defineBuiltIn$a = defineBuiltIn$b;
1000
- var setGlobal = setGlobal$3;
1004
+ var defineGlobalProperty = defineGlobalProperty$3;
1001
1005
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1002
1006
  var isForced$2 = isForced_1;
1003
1007
 
1004
1008
  /*
1005
- options.target - name of the target object
1006
- options.global - target is the global object
1007
- options.stat - export as static methods of target
1008
- options.proto - export as prototype methods of target
1009
- options.real - real prototype method for the `pure` version
1010
- options.forced - export even if the native feature is available
1011
- options.bind - bind methods to the target, required for the `pure` version
1012
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1013
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1014
- options.sham - add a flag to not completely full polyfills
1015
- options.enumerable - export as enumerable property
1016
- options.noTargetGet - prevent calling a getter on target
1017
- options.name - the .name of the function if it does not match the key
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
1018
1022
  */
1019
1023
  var _export = function (options, source) {
1020
1024
  var TARGET = options.target;
@@ -1022,15 +1026,15 @@ var _export = function (options, source) {
1022
1026
  var STATIC = options.stat;
1023
1027
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1024
1028
  if (GLOBAL) {
1025
- target = global$A;
1029
+ target = global$j;
1026
1030
  } else if (STATIC) {
1027
- target = global$A[TARGET] || setGlobal(TARGET, {});
1031
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1028
1032
  } else {
1029
- target = (global$A[TARGET] || {}).prototype;
1033
+ target = (global$j[TARGET] || {}).prototype;
1030
1034
  }
1031
1035
  if (target) for (key in source) {
1032
1036
  sourceProperty = source[key];
1033
- if (options.noTargetGet) {
1037
+ if (options.dontCallGetSet) {
1034
1038
  descriptor = getOwnPropertyDescriptor$3(target, key);
1035
1039
  targetProperty = descriptor && descriptor.value;
1036
1040
  } else targetProperty = target[key];
@@ -1071,17 +1075,17 @@ var IndexedObject$1 = indexedObject;
1071
1075
  // eslint-disable-next-line es-x/no-object-assign -- safe
1072
1076
  var $assign = Object.assign;
1073
1077
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1074
- var defineProperty$5 = Object.defineProperty;
1078
+ var defineProperty$6 = Object.defineProperty;
1075
1079
  var concat$1 = uncurryThis$n([].concat);
1076
1080
 
1077
1081
  // `Object.assign` method
1078
1082
  // https://tc39.es/ecma262/#sec-object.assign
1079
1083
  var objectAssign = !$assign || fails$k(function () {
1080
1084
  // should have correct order of operations (Edge bug)
1081
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1085
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1082
1086
  enumerable: true,
1083
1087
  get: function () {
1084
- defineProperty$5(this, 'b', {
1088
+ defineProperty$6(this, 'b', {
1085
1089
  value: 3,
1086
1090
  enumerable: false
1087
1091
  });
@@ -1401,7 +1405,7 @@ var objectDefineProperties = {};
1401
1405
 
1402
1406
  var DESCRIPTORS$6 = descriptors;
1403
1407
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1404
- var definePropertyModule$3 = objectDefineProperty;
1408
+ var definePropertyModule$2 = objectDefineProperty;
1405
1409
  var anObject$f = anObject$i;
1406
1410
  var toIndexedObject$1 = toIndexedObject$5;
1407
1411
  var objectKeys = objectKeys$2;
@@ -1416,7 +1420,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1416
1420
  var length = keys.length;
1417
1421
  var index = 0;
1418
1422
  var key;
1419
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1423
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1420
1424
  return O;
1421
1425
  };
1422
1426
 
@@ -1511,7 +1515,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1511
1515
 
1512
1516
  var wellKnownSymbol$j = wellKnownSymbol$l;
1513
1517
  var create$3 = objectCreate;
1514
- var definePropertyModule$2 = objectDefineProperty;
1518
+ var defineProperty$5 = objectDefineProperty.f;
1515
1519
 
1516
1520
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1517
1521
  var ArrayPrototype$1 = Array.prototype;
@@ -1519,7 +1523,7 @@ var ArrayPrototype$1 = Array.prototype;
1519
1523
  // Array.prototype[@@unscopables]
1520
1524
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1521
1525
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1522
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1526
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1523
1527
  configurable: true,
1524
1528
  value: create$3(null)
1525
1529
  });
@@ -1541,7 +1545,6 @@ var correctPrototypeGetter = !fails$j(function () {
1541
1545
  return Object.getPrototypeOf(new F()) !== F.prototype;
1542
1546
  });
1543
1547
 
1544
- var global$z = global$U;
1545
1548
  var hasOwn$7 = hasOwnProperty_1;
1546
1549
  var isCallable$e = isCallable$p;
1547
1550
  var toObject$4 = toObject$7;
@@ -1549,18 +1552,19 @@ var sharedKey = sharedKey$3;
1549
1552
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1550
1553
 
1551
1554
  var IE_PROTO = sharedKey('IE_PROTO');
1552
- var Object$2 = global$z.Object;
1553
- var ObjectPrototype = Object$2.prototype;
1555
+ var $Object$1 = Object;
1556
+ var ObjectPrototype = $Object$1.prototype;
1554
1557
 
1555
1558
  // `Object.getPrototypeOf` method
1556
1559
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1557
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1560
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1561
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1558
1562
  var object = toObject$4(O);
1559
1563
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1560
1564
  var constructor = object.constructor;
1561
1565
  if (isCallable$e(constructor) && object instanceof constructor) {
1562
1566
  return constructor.prototype;
1563
- } return object instanceof Object$2 ? ObjectPrototype : null;
1567
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1564
1568
  };
1565
1569
 
1566
1570
  var fails$i = fails$t;
@@ -1637,15 +1641,14 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
1637
1641
  return IteratorConstructor;
1638
1642
  };
1639
1643
 
1640
- var global$y = global$U;
1641
1644
  var isCallable$c = isCallable$p;
1642
1645
 
1643
- var String$4 = global$y.String;
1644
- var TypeError$c = global$y.TypeError;
1646
+ var $String$2 = String;
1647
+ var $TypeError$9 = TypeError;
1645
1648
 
1646
1649
  var aPossiblePrototype$1 = function (argument) {
1647
1650
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1648
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1651
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1649
1652
  };
1650
1653
 
1651
1654
  /* eslint-disable no-proto -- safe */
@@ -1685,7 +1688,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
1685
1688
  var getPrototypeOf = objectGetPrototypeOf;
1686
1689
  var setPrototypeOf$2 = objectSetPrototypeOf;
1687
1690
  var setToStringTag$3 = setToStringTag$5;
1688
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1691
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1689
1692
  var defineBuiltIn$8 = defineBuiltIn$b;
1690
1693
  var wellKnownSymbol$g = wellKnownSymbol$l;
1691
1694
  var Iterators$3 = iterators;
@@ -1878,11 +1881,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1878
1881
 
1879
1882
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1880
1883
 
1881
- var global$x = global$U;
1884
+ var global$i = global$s;
1882
1885
  var DOMIterables = domIterables;
1883
1886
  var DOMTokenListPrototype = domTokenListPrototype;
1884
1887
  var ArrayIteratorMethods = es_array_iterator;
1885
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1888
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1886
1889
  var wellKnownSymbol$f = wellKnownSymbol$l;
1887
1890
 
1888
1891
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -1912,7 +1915,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1912
1915
  };
1913
1916
 
1914
1917
  for (var COLLECTION_NAME in DOMIterables) {
1915
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
1918
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
1916
1919
  }
1917
1920
 
1918
1921
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -1926,14 +1929,13 @@ test$1[TO_STRING_TAG$1] = 'z';
1926
1929
 
1927
1930
  var toStringTagSupport = String(test$1) === '[object z]';
1928
1931
 
1929
- var global$w = global$U;
1930
1932
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1931
1933
  var isCallable$a = isCallable$p;
1932
1934
  var classofRaw = classofRaw$1;
1933
1935
  var wellKnownSymbol$d = wellKnownSymbol$l;
1934
1936
 
1935
1937
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
1936
- var Object$1 = global$w.Object;
1938
+ var $Object = Object;
1937
1939
 
1938
1940
  // ES3 wrong here
1939
1941
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1950,26 +1952,25 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1950
1952
  var O, tag, result;
1951
1953
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1952
1954
  // @@toStringTag case
1953
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1955
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1954
1956
  // builtinTag case
1955
1957
  : CORRECT_ARGUMENTS ? classofRaw(O)
1956
1958
  // ES3 arguments fallback
1957
1959
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1958
1960
  };
1959
1961
 
1960
- var global$v = global$U;
1961
1962
  var classof$6 = classof$7;
1962
1963
 
1963
- var String$3 = global$v.String;
1964
+ var $String$1 = String;
1964
1965
 
1965
1966
  var toString$h = function (argument) {
1966
1967
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1967
- return String$3(argument);
1968
+ return $String$1(argument);
1968
1969
  };
1969
1970
 
1970
1971
  var $$k = _export;
1971
1972
  var DESCRIPTORS$4 = descriptors;
1972
- var global$u = global$U;
1973
+ var global$h = global$s;
1973
1974
  var uncurryThis$l = functionUncurryThis;
1974
1975
  var hasOwn$5 = hasOwnProperty_1;
1975
1976
  var isCallable$9 = isCallable$p;
@@ -1978,7 +1979,7 @@ var toString$g = toString$h;
1978
1979
  var defineProperty$2 = objectDefineProperty.f;
1979
1980
  var copyConstructorProperties = copyConstructorProperties$2;
1980
1981
 
1981
- var NativeSymbol = global$u.Symbol;
1982
+ var NativeSymbol = global$h.Symbol;
1982
1983
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1983
1984
 
1984
1985
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2058,14 +2059,13 @@ var isRegexp = function (it) {
2058
2059
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2059
2060
  };
2060
2061
 
2061
- var global$t = global$U;
2062
2062
  var isRegExp$2 = isRegexp;
2063
2063
 
2064
- var TypeError$b = global$t.TypeError;
2064
+ var $TypeError$8 = TypeError;
2065
2065
 
2066
2066
  var notARegexp = function (it) {
2067
2067
  if (isRegExp$2(it)) {
2068
- throw TypeError$b("The method doesn't accept regular expressions");
2068
+ throw $TypeError$8("The method doesn't accept regular expressions");
2069
2069
  } return it;
2070
2070
  };
2071
2071
 
@@ -2239,7 +2239,7 @@ Flex$1.displayName = 'Flex';
2239
2239
 
2240
2240
  const _excluded$A = ["children"],
2241
2241
  _excluded2$2 = ["children"];
2242
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2242
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
2243
2243
  const GridComponent = styled('div', {
2244
2244
  display: 'grid',
2245
2245
  variants: {
@@ -2498,7 +2498,7 @@ GridItem.propTypes = {
2498
2498
  GridItem.displayName = 'Grid Item';
2499
2499
 
2500
2500
  const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
2501
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2501
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
2502
2502
  const StyledDiv$3 = styled(Flex$1, {
2503
2503
  justifyContent: 'center',
2504
2504
  marginLeft: 'auto',
@@ -2854,7 +2854,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2854
2854
  });
2855
2855
 
2856
2856
  const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2857
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2857
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
2858
2858
  const TOAST_WIDTH = 576;
2859
2859
  const ANIMATION_DURATION = 400;
2860
2860
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3208,7 +3208,7 @@ Toast.defaultProps = {
3208
3208
 
3209
3209
  const ToastContext = /*#__PURE__*/React.createContext({});
3210
3210
 
3211
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3211
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
3212
3212
  const ToastBox = styled(Flex$1, {
3213
3213
  position: 'fixed',
3214
3214
  variants: {
@@ -3284,7 +3284,7 @@ const ToastContainer = ({
3284
3284
  };
3285
3285
 
3286
3286
  const _excluded$x = ["id"];
3287
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3287
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
3288
3288
  let toastCount = 0;
3289
3289
 
3290
3290
  const ToastProvider = ({
@@ -3369,7 +3369,7 @@ const ToastProvider = ({
3369
3369
  }));
3370
3370
  };
3371
3371
 
3372
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3372
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
3373
3373
 
3374
3374
  function MajooProvider({
3375
3375
  children,
@@ -3404,7 +3404,7 @@ MajooProvider.propTypes = {
3404
3404
  };
3405
3405
 
3406
3406
  const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3407
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3407
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
3408
3408
  const Context$2 = /*#__PURE__*/React.createContext();
3409
3409
  const StyledBanner = styled(Flex$1, {
3410
3410
  maxWidth: '100%',
@@ -3496,13 +3496,13 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
3496
3496
  }
3497
3497
  }), props.children);
3498
3498
  BannerTitle.propTypes = {
3499
- /**
3500
- Additional styles of title
3499
+ /**
3500
+ Additional styles of title
3501
3501
  */
3502
3502
  css: PropTypes.object,
3503
3503
 
3504
- /**
3505
- Title of the Banner to be displayed
3504
+ /**
3505
+ Title of the Banner to be displayed
3506
3506
  */
3507
3507
  children: PropTypes.string
3508
3508
  };
@@ -3518,13 +3518,13 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
3518
3518
  }
3519
3519
  }), props.children);
3520
3520
  BannerDescription.propTypes = {
3521
- /**
3522
- Additional styles of description
3521
+ /**
3522
+ Additional styles of description
3523
3523
  */
3524
3524
  css: PropTypes.object,
3525
3525
 
3526
- /**
3527
- Description of the Banner to be displayed
3526
+ /**
3527
+ Description of the Banner to be displayed
3528
3528
  */
3529
3529
  children: PropTypes.string
3530
3530
  };
@@ -3553,18 +3553,18 @@ const BannerLink = ({
3553
3553
  }
3554
3554
  }, children));
3555
3555
  BannerLink.propTypes = {
3556
- /**
3557
- The purpose of a clickable link, presented in url
3556
+ /**
3557
+ The purpose of a clickable link, presented in url
3558
3558
  */
3559
3559
  link: PropTypes.string,
3560
3560
 
3561
- /**
3562
- Text of BannerLink to be displayed
3561
+ /**
3562
+ Text of BannerLink to be displayed
3563
3563
  */
3564
3564
  children: PropTypes.string,
3565
3565
 
3566
- /**
3567
- Additional theme of BannerLink is presented by color variants
3566
+ /**
3567
+ Additional theme of BannerLink is presented by color variants
3568
3568
  */
3569
3569
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
3570
3570
  };
@@ -3582,7 +3582,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3582
3582
  onClick: e => {
3583
3583
  e.preventDefault();
3584
3584
  e.stopPropagation();
3585
- value === null || value === void 0 ? void 0 : value.onRemove();
3585
+ value == null ? void 0 : value.onRemove();
3586
3586
  },
3587
3587
  __self: undefined,
3588
3588
  __source: {
@@ -3659,7 +3659,7 @@ const SingleTagBanner = props => {
3659
3659
  onClick: e => {
3660
3660
  e.preventDefault();
3661
3661
  e.stopPropagation();
3662
- props === null || props === void 0 ? void 0 : props.onRemove();
3662
+ props == null ? void 0 : props.onRemove();
3663
3663
  },
3664
3664
  closeCenter: !props.title && !props.link,
3665
3665
  __self: undefined,
@@ -3755,43 +3755,43 @@ Banner.displayName = 'Banner';
3755
3755
  BannerTitle.displayName = 'BannerTitle';
3756
3756
  BannerDescription.displayName = 'BannerDescription';
3757
3757
  Banner.propTypes = {
3758
- /**
3759
- Title of banner to be displayed
3758
+ /**
3759
+ Title of banner to be displayed
3760
3760
  */
3761
3761
  title: PropTypes.string,
3762
3762
 
3763
- /**
3764
- Description of banner to be displayed
3763
+ /**
3764
+ Description of banner to be displayed
3765
3765
  */
3766
3766
  description: PropTypes.string,
3767
3767
 
3768
- /**
3769
- The banner theme is presented in color variants
3768
+ /**
3769
+ The banner theme is presented in color variants
3770
3770
  */
3771
3771
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
3772
3772
 
3773
- /**
3774
- The purpose of a clickable link, presented in url
3773
+ /**
3774
+ The purpose of a clickable link, presented in url
3775
3775
  */
3776
3776
  link: PropTypes.string,
3777
3777
 
3778
- /**
3779
- Text of button link to be displayed
3778
+ /**
3779
+ Text of button link to be displayed
3780
3780
  */
3781
3781
  linkText: PropTypes.string,
3782
3782
 
3783
- /**
3784
- Clickable event handler
3783
+ /**
3784
+ Clickable event handler
3785
3785
  */
3786
3786
  onClick: PropTypes.func,
3787
3787
 
3788
- /**
3789
- Closable event handler
3788
+ /**
3789
+ Closable event handler
3790
3790
  */
3791
3791
  onRemove: PropTypes.func,
3792
3792
 
3793
- /**
3794
- Block type banner to display in full width
3793
+ /**
3794
+ Block type banner to display in full width
3795
3795
  */
3796
3796
  bannerBlock: PropTypes.bool
3797
3797
  };
@@ -4088,7 +4088,7 @@ const Button$3 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
4088
4088
  });
4089
4089
 
4090
4090
  const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4091
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4091
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
4092
4092
  const CardComponent = styled('div', {
4093
4093
  padding: '12px',
4094
4094
  height: 'auto',
@@ -4212,7 +4212,7 @@ const StyledIcon$1 = styled('span', {
4212
4212
  }
4213
4213
  }
4214
4214
  });
4215
- const Card = _ref => {
4215
+ const Card$1 = _ref => {
4216
4216
  let {
4217
4217
  className,
4218
4218
  children,
@@ -4275,7 +4275,7 @@ const Card = _ref => {
4275
4275
  }
4276
4276
  }, title)) : null, children);
4277
4277
  };
4278
- Card.propTypes = {
4278
+ Card$1.propTypes = {
4279
4279
  className: PropTypes.string,
4280
4280
  color: PropTypes.string,
4281
4281
  shadow: PropTypes.bool,
@@ -4286,7 +4286,7 @@ Card.propTypes = {
4286
4286
  textColor: PropTypes.string,
4287
4287
  icon: PropTypes.element
4288
4288
  };
4289
- Card.defaultProps = {
4289
+ Card$1.defaultProps = {
4290
4290
  className: '',
4291
4291
  color: 'green',
4292
4292
  shadow: false,
@@ -4296,7 +4296,7 @@ Card.defaultProps = {
4296
4296
  };
4297
4297
 
4298
4298
  const _excluded$u = ["children"];
4299
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4299
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
4300
4300
  const BreadcrumbStyle = styled('nav', {
4301
4301
  wordWrap: 'break-word',
4302
4302
  '& li+li:before': {
@@ -4572,7 +4572,7 @@ Badge.defaultProps = {
4572
4572
  Badge.displayName = 'Badge';
4573
4573
 
4574
4574
  const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4575
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4575
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
4576
4576
  const StyledAvatar = styled(AvatarPrimitive.Root, {
4577
4577
  width: '32px',
4578
4578
  height: '32px',
@@ -4675,7 +4675,7 @@ Avatar.defaultProps = {
4675
4675
  };
4676
4676
 
4677
4677
  const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4678
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4678
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
4679
4679
  const ContainerFallback = styled(Flex$1, {
4680
4680
  boxSizing: 'border-box',
4681
4681
  border: '2px dashed #C0C4C4',
@@ -4772,58 +4772,58 @@ function Image(_ref) {
4772
4772
  }
4773
4773
  }
4774
4774
  Image.propTypes = {
4775
- /**
4776
- Additional className for img element.
4775
+ /**
4776
+ Additional className for img element.
4777
4777
  */
4778
4778
  className: PropTypes.string,
4779
4779
 
4780
- /**
4781
- Which is used to specify the source of an image.
4780
+ /**
4781
+ Which is used to specify the source of an image.
4782
4782
  */
4783
4783
  src: PropTypes.string,
4784
4784
 
4785
- /**
4786
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4785
+ /**
4786
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4787
4787
  */
4788
4788
  alt: PropTypes.string,
4789
4789
 
4790
- /**
4791
- Additional css for img element.
4790
+ /**
4791
+ Additional css for img element.
4792
4792
  */
4793
4793
  css: PropTypes.object,
4794
4794
 
4795
- /**
4796
- Additional css for default fallback element.
4795
+ /**
4796
+ Additional css for default fallback element.
4797
4797
  */
4798
4798
  cssFallback: PropTypes.object,
4799
4799
 
4800
- /**
4801
- Custom width of img element.
4800
+ /**
4801
+ Custom width of img element.
4802
4802
  */
4803
4803
  width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4804
4804
 
4805
- /**
4806
- Custom height of img element.
4805
+ /**
4806
+ Custom height of img element.
4807
4807
  */
4808
4808
  height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4809
4809
 
4810
- /**
4811
- Set image to circle.
4810
+ /**
4811
+ Set image to circle.
4812
4812
  */
4813
4813
  rounded: PropTypes.bool,
4814
4814
 
4815
- /**
4816
- Used to specify how an <img> should be resized to fit its container.
4815
+ /**
4816
+ Used to specify how an <img> should be resized to fit its container.
4817
4817
  */
4818
4818
  objectFit: PropTypes.string,
4819
4819
 
4820
- /**
4821
- Custom fallback if image url doesn't exist.
4820
+ /**
4821
+ Custom fallback if image url doesn't exist.
4822
4822
  */
4823
4823
  fallback: PropTypes.string,
4824
4824
 
4825
- /**
4826
- Custom fallback title for default fallback.
4825
+ /**
4826
+ Custom fallback title for default fallback.
4827
4827
  */
4828
4828
  fallbackTitle: PropTypes.string
4829
4829
  };
@@ -4833,7 +4833,7 @@ Image.defaultProps = {
4833
4833
  };
4834
4834
 
4835
4835
  const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
4836
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4836
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4837
4837
  const {
4838
4838
  zIndices: zIndices$1
4839
4839
  } = foundations;
@@ -5034,7 +5034,7 @@ Tooltip$1.defaultProps = {
5034
5034
  };
5035
5035
 
5036
5036
  const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5037
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5037
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
5038
5038
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
5039
5039
  position: 'relative',
5040
5040
  overflow: 'hidden',
@@ -5295,7 +5295,7 @@ const FormGroup = styled('div', {
5295
5295
  FormGroup.displayName = 'FormGroup';
5296
5296
 
5297
5297
  const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
5298
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5298
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
5299
5299
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
5300
5300
  display: 'inline-block',
5301
5301
  fontSize: '$label',
@@ -5415,7 +5415,7 @@ FormLabel.defaultProps = {
5415
5415
  FormLabel.displayName = 'FormLabel';
5416
5416
 
5417
5417
  const _excluded$o = ["children", "error", "errorMessage"];
5418
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5418
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
5419
5419
  const StyledHelper = styled(Text$1, {
5420
5420
  display: 'inline-block',
5421
5421
  color: '$textSecondary',
@@ -5476,7 +5476,7 @@ FormHelper.propTypes = {
5476
5476
  };
5477
5477
  FormHelper.displayName = 'FormHelper';
5478
5478
 
5479
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5479
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
5480
5480
  const CheckboxContext = /*#__PURE__*/createContext();
5481
5481
 
5482
5482
  const CheckboxGroup = ({
@@ -5539,7 +5539,7 @@ CheckboxGroup.defaultProps = {
5539
5539
  };
5540
5540
  CheckboxGroup.displayName = 'CheckboxGroup';
5541
5541
 
5542
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5542
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
5543
5543
 
5544
5544
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
5545
5545
  xmlns: "http://www.w3.org/2000/svg",
@@ -5587,7 +5587,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
5587
5587
  }
5588
5588
  }));
5589
5589
 
5590
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5590
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
5591
5591
 
5592
5592
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
5593
5593
  xmlns: "http://www.w3.org/2000/svg",
@@ -5636,7 +5636,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
5636
5636
  }));
5637
5637
 
5638
5638
  const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5639
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5639
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
5640
5640
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
5641
5641
  alignItems: 'center',
5642
5642
  display: 'flex',
@@ -5701,7 +5701,7 @@ const Checkbox = _ref => {
5701
5701
  const [isChecked, setChecked] = useState(false);
5702
5702
  useEffect(() => {
5703
5703
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5704
- setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5704
+ setChecked(checkValue != null ? checkValue : false);
5705
5705
  }, [checked, indeterminate, context]);
5706
5706
  return /*#__PURE__*/React__default.createElement(StyledCheckbox, _extends({
5707
5707
  id: id,
@@ -5802,7 +5802,7 @@ InputCheckbox.propTypes = {
5802
5802
  InputCheckbox.displayName = 'InputCheckbox';
5803
5803
 
5804
5804
  const _excluded$m = ["children", "size"];
5805
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5805
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
5806
5806
  const InputGroupStyle = styled('div', {
5807
5807
  display: 'flex',
5808
5808
  width: '100%',
@@ -5949,13 +5949,13 @@ const InputGroup = _ref => {
5949
5949
  }));
5950
5950
  };
5951
5951
  InputGroup.propTypes = {
5952
- /**
5953
- Adjust Input Text Size
5952
+ /**
5953
+ Adjust Input Text Size
5954
5954
  */
5955
5955
  size: PropTypes.oneOf(['sm', 'lg']),
5956
5956
 
5957
- /**
5958
- Children must be InputText, InputAddon, or InputPrefixes
5957
+ /**
5958
+ Children must be InputText, InputAddon, or InputPrefixes
5959
5959
  */
5960
5960
  children: PropTypes.node.isRequired,
5961
5961
 
@@ -6121,7 +6121,7 @@ InputSuffix.propTypes = {
6121
6121
  };
6122
6122
 
6123
6123
  const _excluded$l = ["disabled", "readOnly"];
6124
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6124
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
6125
6125
  const disabledStyle = {
6126
6126
  backgroundColor: '$formDisable',
6127
6127
  color: '$textDisable',
@@ -6283,7 +6283,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6283
6283
  InputText.displayName = 'InputText';
6284
6284
 
6285
6285
  const _excluded$k = ["disabled", "readOnly"];
6286
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6286
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
6287
6287
  const StyledTextArea = styled(StyledInput$1, {
6288
6288
  variants: {
6289
6289
  size: {
@@ -6310,7 +6310,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6310
6310
  useEffect(() => {
6311
6311
  if (textareaRef.current) {
6312
6312
  textareaRef.current.style.height = '60px';
6313
- const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
6313
+ const scrollHeight = textareaRef == null ? void 0 : textareaRef.current.scrollHeight;
6314
6314
  textareaRef.current.style.height = scrollHeight + 20 + 'px';
6315
6315
  }
6316
6316
  }, []);
@@ -6349,10 +6349,10 @@ InputTextArea.defaultProps = {
6349
6349
 
6350
6350
  const InputRadioContext = /*#__PURE__*/React__default.createContext();
6351
6351
 
6352
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6352
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
6353
6353
  const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
6354
6354
  function InputRadioGroup(props) {
6355
- return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
6355
+ return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
6356
6356
  value: props,
6357
6357
  __self: this,
6358
6358
  __source: {
@@ -6367,7 +6367,7 @@ function InputRadioGroup(props) {
6367
6367
  lineNumber: 14,
6368
6368
  columnNumber: 9
6369
6369
  }
6370
- }), React__default.Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
6370
+ }), React__default.Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
6371
6371
  style: Object.assign({}, child.props.style, {
6372
6372
  opacity: 1
6373
6373
  })
@@ -6382,7 +6382,7 @@ InputRadioGroup.propTypes = {
6382
6382
  InputRadioGroup.displayName = 'InputRadioGroup';
6383
6383
 
6384
6384
  const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
6385
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6385
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
6386
6386
  const INDICATOR_BASE_STYLES = {
6387
6387
  alignItems: 'center',
6388
6388
  display: 'flex',
@@ -6581,7 +6581,7 @@ const InputRadio = _ref => {
6581
6581
  value,
6582
6582
  outlined
6583
6583
  }) => {
6584
- const checked = value !== null && value !== void 0 ? value : defaultValue;
6584
+ const checked = value != null ? value : defaultValue;
6585
6585
  return /*#__PURE__*/React__default.createElement(Container$8, {
6586
6586
  direction: "column",
6587
6587
  outlined: outlined,
@@ -6680,7 +6680,7 @@ InputRightElement.propTypes = {
6680
6680
  InputRightElement.name = 'InputRightElement';
6681
6681
 
6682
6682
  const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
6683
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
6683
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
6684
6684
  const StyledInput = styled(NumberFormat, {
6685
6685
  // Reset
6686
6686
  appearance: 'none',
@@ -6831,7 +6831,7 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6831
6831
  size: size,
6832
6832
  isInvalid: isInvalid,
6833
6833
  readOnly: readOnly,
6834
- isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup),
6834
+ isReadOnly: readOnly && !(props != null && props.inputGroup),
6835
6835
  disabled: disabled
6836
6836
  }, props, {
6837
6837
  __self: undefined,
@@ -6890,6 +6890,7 @@ var regexpFlags$1 = function () {
6890
6890
  if (that.multiline) result += 'm';
6891
6891
  if (that.dotAll) result += 's';
6892
6892
  if (that.unicode) result += 'u';
6893
+ if (that.unicodeSets) result += 'v';
6893
6894
  if (that.sticky) result += 'y';
6894
6895
  return result;
6895
6896
  };
@@ -6908,10 +6909,10 @@ var regexpGetFlags = function (R) {
6908
6909
  };
6909
6910
 
6910
6911
  var fails$g = fails$t;
6911
- var global$s = global$U;
6912
+ var global$g = global$s;
6912
6913
 
6913
6914
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6914
- var $RegExp$2 = global$s.RegExp;
6915
+ var $RegExp$2 = global$g.RegExp;
6915
6916
 
6916
6917
  var UNSUPPORTED_Y$3 = fails$g(function () {
6917
6918
  var re = $RegExp$2('a', 'y');
@@ -6968,10 +6969,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
6968
6969
  };
6969
6970
 
6970
6971
  var fails$f = fails$t;
6971
- var global$r = global$U;
6972
+ var global$f = global$s;
6972
6973
 
6973
6974
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6974
- var $RegExp$1 = global$r.RegExp;
6975
+ var $RegExp$1 = global$f.RegExp;
6975
6976
 
6976
6977
  var regexpUnsupportedDotAll = fails$f(function () {
6977
6978
  var re = $RegExp$1('.', 's');
@@ -6979,10 +6980,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
6979
6980
  });
6980
6981
 
6981
6982
  var fails$e = fails$t;
6982
- var global$q = global$U;
6983
+ var global$e = global$s;
6983
6984
 
6984
6985
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6985
- var $RegExp = global$q.RegExp;
6986
+ var $RegExp = global$e.RegExp;
6986
6987
 
6987
6988
  var regexpUnsupportedNcg = fails$e(function () {
6988
6989
  var re = $RegExp('(?<a>b)', 'g');
@@ -6991,11 +6992,11 @@ var regexpUnsupportedNcg = fails$e(function () {
6991
6992
  });
6992
6993
 
6993
6994
  var DESCRIPTORS$2 = descriptors;
6994
- var global$p = global$U;
6995
+ var global$d = global$s;
6995
6996
  var uncurryThis$j = functionUncurryThis;
6996
6997
  var isForced$1 = isForced_1;
6997
6998
  var inheritIfRequired = inheritIfRequired$1;
6998
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
6999
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
6999
7000
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
7000
7001
  var isPrototypeOf$2 = objectIsPrototypeOf;
7001
7002
  var isRegExp$1 = isRegexp;
@@ -7013,15 +7014,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
7013
7014
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
7014
7015
 
7015
7016
  var MATCH = wellKnownSymbol$9('match');
7016
- var NativeRegExp = global$p.RegExp;
7017
+ var NativeRegExp = global$d.RegExp;
7017
7018
  var RegExpPrototype$2 = NativeRegExp.prototype;
7018
- var SyntaxError = global$p.SyntaxError;
7019
+ var SyntaxError = global$d.SyntaxError;
7019
7020
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
7020
7021
  var charAt$8 = uncurryThis$j(''.charAt);
7021
7022
  var replace$6 = uncurryThis$j(''.replace);
7022
7023
  var stringIndexOf$1 = uncurryThis$j(''.indexOf);
7023
7024
  var stringSlice$9 = uncurryThis$j(''.slice);
7024
- // TODO: Use only propper RegExpIdentifierName
7025
+ // TODO: Use only proper RegExpIdentifierName
7025
7026
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
7026
7027
  var re1 = /a/g;
7027
7028
  var re2 = /a/g;
@@ -7175,7 +7176,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
7175
7176
 
7176
7177
  RegExpPrototype$2.constructor = RegExpWrapper;
7177
7178
  RegExpWrapper.prototype = RegExpPrototype$2;
7178
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
7179
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
7179
7180
  }
7180
7181
 
7181
7182
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7276,7 +7277,7 @@ if (PATCH) {
7276
7277
  }
7277
7278
  if (NPCG_INCLUDED && match && match.length > 1) {
7278
7279
  // Fix browsers whose `exec` methods don't consistently return `undefined`
7279
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
7280
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
7280
7281
  call$f(nativeReplace, match[0], reCopy, function () {
7281
7282
  for (i = 1; i < arguments.length - 2; i++) {
7282
7283
  if (arguments[i] === undefined) match[i] = undefined;
@@ -7334,7 +7335,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
7334
7335
  }
7335
7336
 
7336
7337
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7337
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7338
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
7338
7339
  const TagWrapper$3 = styled('div', {
7339
7340
  boxSizing: 'border-box',
7340
7341
  listStyle: 'none',
@@ -7511,7 +7512,7 @@ Tag.defaultProps = {
7511
7512
  };
7512
7513
 
7513
7514
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
7514
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7515
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
7515
7516
  const Wrapper$2 = styled('div', {
7516
7517
  margin: 0,
7517
7518
  flexDirection: 'column',
@@ -7647,18 +7648,18 @@ function TagsInput(_ref) {
7647
7648
  const addTags = event => {
7648
7649
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
7649
7650
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
7650
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7651
+ onEnter == null ? void 0 : onEnter({
7651
7652
  key: 'duplicate',
7652
7653
  value: event.target.value
7653
7654
  });
7654
7655
  return;
7655
7656
  }
7656
7657
 
7657
- if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
7658
+ if (pattern && pattern != null && pattern.regex) {
7658
7659
  const regex = new RegExp(pattern.regex);
7659
7660
 
7660
7661
  if (!regex.test(event.target.value)) {
7661
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7662
+ onEnter == null ? void 0 : onEnter({
7662
7663
  key: 'error',
7663
7664
  value: event.target.value
7664
7665
  });
@@ -7668,7 +7669,7 @@ function TagsInput(_ref) {
7668
7669
  }
7669
7670
 
7670
7671
  setRegexError(false);
7671
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7672
+ onEnter == null ? void 0 : onEnter({
7672
7673
  key: 'success',
7673
7674
  value: event.target.value
7674
7675
  });
@@ -7681,7 +7682,7 @@ function TagsInput(_ref) {
7681
7682
  if (disabled || readOnly) {
7682
7683
  return tags;
7683
7684
  } else if (key === 'removeTag' || key === 'Backspace') {
7684
- onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
7685
+ onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
7685
7686
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
7686
7687
  }
7687
7688
  }; // const handleErrorMessage = () => {
@@ -7729,7 +7730,7 @@ function TagsInput(_ref) {
7729
7730
  lineNumber: 180,
7730
7731
  columnNumber: 9
7731
7732
  }
7732
- })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7733
+ })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7733
7734
  color: "red",
7734
7735
  __self: this,
7735
7736
  __source: {
@@ -7811,7 +7812,7 @@ TagsInput.defaultProps = {
7811
7812
  };
7812
7813
 
7813
7814
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7814
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7815
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
7815
7816
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
7816
7817
  display: 'block',
7817
7818
  width: '16px',
@@ -7919,7 +7920,7 @@ InputSwitch.propTypes = {
7919
7920
  };
7920
7921
  InputSwitch.displayName = 'InputSwitch';
7921
7922
 
7922
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7923
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
7923
7924
 
7924
7925
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
7925
7926
  width: props.size,
@@ -7980,7 +7981,7 @@ SvgCloseFilled.defaultProps = {
7980
7981
  size: 24
7981
7982
  };
7982
7983
 
7983
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7984
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
7984
7985
 
7985
7986
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7986
7987
  width: props.size,
@@ -8023,7 +8024,7 @@ SvgSearchOutline.defaultProps = {
8023
8024
  };
8024
8025
 
8025
8026
  const _excluded$e = ["size", "onChange", "css", "disabled"];
8026
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
8027
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8027
8028
 
8028
8029
  const InputSearchbox = _ref => {
8029
8030
  let {
@@ -8138,7 +8139,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
8138
8139
  var regexpExec$2 = regexpExec$3;
8139
8140
  var fails$b = fails$t;
8140
8141
  var wellKnownSymbol$8 = wellKnownSymbol$l;
8141
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
8142
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
8142
8143
 
8143
8144
  var SPECIES$2 = wellKnownSymbol$8('species');
8144
8145
  var RegExpPrototype = RegExp.prototype;
@@ -8213,14 +8214,13 @@ var sameValue$1 = Object.is || function is(x, y) {
8213
8214
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8214
8215
  };
8215
8216
 
8216
- var global$o = global$U;
8217
8217
  var call$e = functionCall;
8218
8218
  var anObject$a = anObject$i;
8219
8219
  var isCallable$7 = isCallable$p;
8220
8220
  var classof$4 = classofRaw$1;
8221
8221
  var regexpExec$1 = regexpExec$3;
8222
8222
 
8223
- var TypeError$a = global$o.TypeError;
8223
+ var $TypeError$7 = TypeError;
8224
8224
 
8225
8225
  // `RegExpExec` abstract operation
8226
8226
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -8232,7 +8232,7 @@ var regexpExecAbstract = function (R, S) {
8232
8232
  return result;
8233
8233
  }
8234
8234
  if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
8235
- throw TypeError$a('RegExp#exec called on incompatible receiver');
8235
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
8236
8236
  };
8237
8237
 
8238
8238
  var call$d = functionCall;
@@ -8863,6 +8863,14 @@ function InputSelect(_a) {
8863
8863
  }), void 0);
8864
8864
  }
8865
8865
 
8866
+ var tryToString$3 = tryToString$5;
8867
+
8868
+ var $TypeError$6 = TypeError;
8869
+
8870
+ var deletePropertyOrThrow$1 = function (O, P) {
8871
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8872
+ };
8873
+
8866
8874
  var toPropertyKey = toPropertyKey$3;
8867
8875
  var definePropertyModule = objectDefineProperty;
8868
8876
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -8873,19 +8881,18 @@ var createProperty$2 = function (object, key, value) {
8873
8881
  else object[propertyKey] = value;
8874
8882
  };
8875
8883
 
8876
- var global$n = global$U;
8877
8884
  var toAbsoluteIndex = toAbsoluteIndex$2;
8878
8885
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8879
8886
  var createProperty$1 = createProperty$2;
8880
8887
 
8881
- var Array$2 = global$n.Array;
8888
+ var $Array$1 = Array;
8882
8889
  var max$1 = Math.max;
8883
8890
 
8884
8891
  var arraySliceSimple = function (O, start, end) {
8885
8892
  var length = lengthOfArrayLike$4(O);
8886
8893
  var k = toAbsoluteIndex(start, length);
8887
8894
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8888
- var result = Array$2(max$1(fin - k, 0));
8895
+ var result = $Array$1(max$1(fin - k, 0));
8889
8896
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8890
8897
  result.length = n;
8891
8898
  return result;
@@ -8967,6 +8974,7 @@ var uncurryThis$g = functionUncurryThis;
8967
8974
  var aCallable$7 = aCallable$9;
8968
8975
  var toObject$3 = toObject$7;
8969
8976
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
8977
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
8970
8978
  var toString$b = toString$h;
8971
8979
  var fails$9 = fails$t;
8972
8980
  var internalSort = arraySort$1;
@@ -9061,19 +9069,18 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
9061
9069
  index = 0;
9062
9070
 
9063
9071
  while (index < itemsLength) array[index] = items[index++];
9064
- while (index < arrayLength) delete array[index++];
9072
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
9065
9073
 
9066
9074
  return array;
9067
9075
  }
9068
9076
  });
9069
9077
 
9070
- var global$m = global$U;
9071
9078
  var aCallable$6 = aCallable$9;
9072
9079
  var toObject$2 = toObject$7;
9073
9080
  var IndexedObject = indexedObject;
9074
9081
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
9075
9082
 
9076
- var TypeError$9 = global$m.TypeError;
9083
+ var $TypeError$5 = TypeError;
9077
9084
 
9078
9085
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
9079
9086
  var createMethod$2 = function (IS_RIGHT) {
@@ -9092,7 +9099,7 @@ var createMethod$2 = function (IS_RIGHT) {
9092
9099
  }
9093
9100
  index += i;
9094
9101
  if (IS_RIGHT ? index < 0 : length <= index) {
9095
- throw TypeError$9('Reduce of empty array with no initial value');
9102
+ throw $TypeError$5('Reduce of empty array with no initial value');
9096
9103
  }
9097
9104
  }
9098
9105
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -9112,20 +9119,20 @@ var arrayReduce = {
9112
9119
  };
9113
9120
 
9114
9121
  var classof$3 = classofRaw$1;
9115
- var global$l = global$U;
9122
+ var global$c = global$s;
9116
9123
 
9117
- var engineIsNode = classof$3(global$l.process) == 'process';
9124
+ var engineIsNode = classof$3(global$c.process) == 'process';
9118
9125
 
9119
9126
  var $$f = _export;
9120
9127
  var $reduce = arrayReduce.left;
9121
9128
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
9122
9129
  var CHROME_VERSION = engineV8Version;
9123
- var IS_NODE$3 = engineIsNode;
9130
+ var IS_NODE$4 = engineIsNode;
9124
9131
 
9125
9132
  var STRICT_METHOD = arrayMethodIsStrict('reduce');
9126
9133
  // Chrome 80-82 has a critical bug
9127
9134
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
9128
- var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9135
+ var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9129
9136
 
9130
9137
  // `Array.prototype.reduce` method
9131
9138
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
@@ -9136,7 +9143,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
9136
9143
  }
9137
9144
  });
9138
9145
 
9139
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
9146
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
9140
9147
 
9141
9148
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
9142
9149
  xmlns: "http://www.w3.org/2000/svg",
@@ -9185,7 +9192,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
9185
9192
  }));
9186
9193
 
9187
9194
  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"];
9188
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9195
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
9189
9196
  const Wrapper$1 = styled('div', {
9190
9197
  margin: 0,
9191
9198
  flexDirection: 'column',
@@ -9550,10 +9557,10 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9550
9557
  return setItems(sortValue);
9551
9558
  }
9552
9559
  } else {
9553
- let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
9554
- var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
9560
+ let filterItems = option == null ? void 0 : option.filter(item => {
9561
+ var _item$name, _item$name$toLowerCas;
9555
9562
 
9556
- return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) === null || _item$name$toLowerCas === void 0 ? void 0 : (_item$name$toLowerCas2 = _item$name$toLowerCas.includes) === null || _item$name$toLowerCas2 === void 0 ? void 0 : _item$name$toLowerCas2.call(_item$name$toLowerCas, input === null || input === void 0 ? void 0 : (_input$toLocaleLowerC = input.toLocaleLowerCase) === null || _input$toLocaleLowerC === void 0 ? void 0 : _input$toLocaleLowerC.call(input));
9563
+ return item == null ? void 0 : (_item$name = item.name) == null ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) == null ? void 0 : _item$name$toLowerCas.includes == null ? void 0 : _item$name$toLowerCas.includes(input == null ? void 0 : input.toLocaleLowerCase == null ? void 0 : input.toLocaleLowerCase());
9557
9564
  });
9558
9565
  setItems(filterItems);
9559
9566
  }
@@ -9563,9 +9570,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9563
9570
  if (disabled || readOnly) {
9564
9571
  return selectedValue;
9565
9572
  } else {
9566
- if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
9573
+ if ((selected == null ? void 0 : selected.id) === 'counter') {
9567
9574
  setSelectedValue([]);
9568
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9575
+ onChange == null ? void 0 : onChange([]);
9569
9576
 
9570
9577
  for (let i = 0; i < selectedValue.length; i++) {
9571
9578
  removeSelectedItem(selectedValue[i]);
@@ -9576,7 +9583,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9576
9583
  setSelectedValue(filterItems);
9577
9584
 
9578
9585
  if (selected.id !== '!all') {
9579
- onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
9586
+ onChange == null ? void 0 : onChange(filterItems);
9580
9587
  }
9581
9588
  }
9582
9589
  }
@@ -9621,7 +9628,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9621
9628
  removeSelectedItem(item);
9622
9629
  });
9623
9630
  setSelectedValue([]);
9624
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9631
+ onChange == null ? void 0 : onChange([]);
9625
9632
  } else {
9626
9633
  removeItem(selectedItem);
9627
9634
  }
@@ -9636,12 +9643,12 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9636
9643
  itemIds.push(item.id);
9637
9644
  });
9638
9645
  setSelectedValue(itemIds);
9639
- onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
9646
+ onChange == null ? void 0 : onChange(itemIds.slice(1));
9640
9647
  } else {
9641
9648
  addSelectedItem(selectedItem);
9642
9649
  setSelectedValue([...selectedValue, selectedItem.id]);
9643
9650
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
9644
- onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9651
+ onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9645
9652
  }
9646
9653
 
9647
9654
  selectItem(null);
@@ -9793,7 +9800,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9793
9800
  lineNumber: 559,
9794
9801
  columnNumber: 11
9795
9802
  }
9796
- }, selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter === void 0 ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
9803
+ }, selectedItems == null ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
9797
9804
  disabled: disabled,
9798
9805
  isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
9799
9806
  size: size,
@@ -9817,7 +9824,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9817
9824
  lineNumber: 563,
9818
9825
  columnNumber: 17
9819
9826
  }
9820
- }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(TagWrapper$1, {
9827
+ }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(TagWrapper$1, {
9821
9828
  disabled: disabled,
9822
9829
  __self: undefined,
9823
9830
  __source: {
@@ -9830,7 +9837,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9830
9837
  maxWidth: '150px !important'
9831
9838
  },
9832
9839
  disabled: disabled,
9833
- isRemovable: readOnly || disabled || Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length),
9840
+ isRemovable: readOnly || disabled || Boolean(selectedItems == null ? void 0 : selectedItems.length),
9834
9841
  size: size,
9835
9842
  readOnly: readOnly // {...getSelectedItemProps({ selectedItem, index })}
9836
9843
  ,
@@ -9852,7 +9859,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9852
9859
  lineNumber: 586,
9853
9860
  columnNumber: 13
9854
9861
  }
9855
- }, `${selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
9862
+ }, `${selectedItems == null ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
9856
9863
  placement: placement,
9857
9864
  css: {
9858
9865
  display: isOpen && disabled === false ? 'block' : 'none',
@@ -9920,7 +9927,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9920
9927
  lineNumber: 640,
9921
9928
  columnNumber: 27
9922
9929
  }
9923
- }), showSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default.createElement(IndeterminateFilled, {
9930
+ }), showSelectAll && (item == null ? void 0 : item.id) === '!all' && selectedValue != null && selectedValue.length && (selectedValue == null ? void 0 : selectedValue.length) < (items == null ? void 0 : items.length) ? /*#__PURE__*/React__default.createElement(IndeterminateFilled, {
9924
9931
  __self: undefined,
9925
9932
  __source: {
9926
9933
  fileName: _jsxFileName$v,
@@ -10031,7 +10038,7 @@ InputSelectCheck.defaultProps = {
10031
10038
  labelCounter: 'Item terpilih'
10032
10039
  };
10033
10040
 
10034
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
10041
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
10035
10042
  const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
10036
10043
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
10037
10044
  ref: ref,
@@ -10082,7 +10089,7 @@ InputSelectTag.defaultProps = {
10082
10089
  labelCounter: 'Item terpilih'
10083
10090
  };
10084
10091
 
10085
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
10092
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
10086
10093
  const Wrapper = styled('div', {
10087
10094
  margin: 0,
10088
10095
  flexDirection: 'column',
@@ -10847,15 +10854,15 @@ var stringTrim = {
10847
10854
  trim: createMethod$1(3)
10848
10855
  };
10849
10856
 
10850
- var global$k = global$U;
10857
+ var global$b = global$s;
10851
10858
  var fails$8 = fails$t;
10852
10859
  var uncurryThis$d = functionUncurryThis;
10853
10860
  var toString$8 = toString$h;
10854
10861
  var trim$1 = stringTrim.trim;
10855
10862
  var whitespaces$2 = whitespaces$4;
10856
10863
 
10857
- var $parseInt$1 = global$k.parseInt;
10858
- var Symbol$6 = global$k.Symbol;
10864
+ var $parseInt$1 = global$b.parseInt;
10865
+ var Symbol$6 = global$b.Symbol;
10859
10866
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
10860
10867
  var hex = /^[+-]?0x/i;
10861
10868
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11074,7 +11081,7 @@ InputCounter.defaultProps = {
11074
11081
  };
11075
11082
 
11076
11083
  const _excluded$c = ["children"];
11077
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
11084
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
11078
11085
  const {
11079
11086
  zIndices
11080
11087
  } = foundations;
@@ -11164,8 +11171,8 @@ const PopoverContent = ({
11164
11171
  ref: floating,
11165
11172
  style: Object.assign({
11166
11173
  position: strategy,
11167
- top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
11168
- left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
11174
+ top: isMobile ? 0 : y != null ? y : '',
11175
+ left: isMobile ? 0 : x != null ? x : '',
11169
11176
  zIndex: zIndices.popover
11170
11177
  }, style)
11171
11178
  }), {
@@ -11208,7 +11215,7 @@ Popover.propTypes = {
11208
11215
  Popover.displayName = 'Popover';
11209
11216
 
11210
11217
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
11211
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
11218
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
11212
11219
  const StyledSlider = styled$1(SliderPrimitive.Root, {
11213
11220
  position: 'relative',
11214
11221
  display: 'flex',
@@ -11553,7 +11560,7 @@ Slider.defaultProps = {
11553
11560
  };
11554
11561
 
11555
11562
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
11556
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
11563
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
11557
11564
  const TagWrapper = styled('div', {
11558
11565
  boxSizing: 'border-box',
11559
11566
  fontSize: '12px',
@@ -11719,7 +11726,7 @@ const _excluded$9 = ["children"],
11719
11726
  _excluded2$1 = ["children", "activeTabs"],
11720
11727
  _excluded3 = ["children", "icon", "activeTabs", "value"],
11721
11728
  _excluded4 = ["activeTabs"];
11722
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
11729
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
11723
11730
  const StyledTabs = styled(TabsPrimitive.Root, {
11724
11731
  display: 'flex',
11725
11732
  flexDirection: 'column',
@@ -12070,7 +12077,7 @@ Separator$2.displayName = 'Separator';
12070
12077
 
12071
12078
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
12072
12079
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
12073
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
12080
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
12074
12081
  const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
12075
12082
  display: 'inline-flex',
12076
12083
  borderRadius: '$md',
@@ -12298,7 +12305,7 @@ ButtonGroupItem.defaultProps = {
12298
12305
  };
12299
12306
 
12300
12307
  const _excluded$7 = ["children"];
12301
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
12308
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
12302
12309
  const NotificationBadgeRootStyle = styled('span', {
12303
12310
  position: 'relative',
12304
12311
  display: 'inline-flex',
@@ -12398,7 +12405,7 @@ const NotificationBadge = _ref => {
12398
12405
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
12399
12406
 
12400
12407
  const getValue = () => {
12401
- let value = props === null || props === void 0 ? void 0 : props.value;
12408
+ let value = props == null ? void 0 : props.value;
12402
12409
 
12403
12410
  if (typeof value === 'number' || parseInt(value)) {
12404
12411
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -12442,7 +12449,7 @@ NotificationBadge.propTypes = {
12442
12449
  };
12443
12450
 
12444
12451
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
12445
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
12452
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
12446
12453
  const PaperComponent = styled('div', {
12447
12454
  padding: '20px',
12448
12455
  height: 'auto',
@@ -12653,14 +12660,13 @@ DialogClose.displayName = 'DialogClose';
12653
12660
  DialogOverlay.displayName = 'DialogOverlay';
12654
12661
  DialogPortal.displayName = 'DialogPortal';
12655
12662
 
12656
- var global$j = global$U;
12657
12663
  var isPrototypeOf$1 = objectIsPrototypeOf;
12658
12664
 
12659
- var TypeError$8 = global$j.TypeError;
12665
+ var $TypeError$4 = TypeError;
12660
12666
 
12661
12667
  var anInstance$3 = function (it, Prototype) {
12662
12668
  if (isPrototypeOf$1(Prototype, it)) return it;
12663
- throw TypeError$8('Incorrect invocation');
12669
+ throw $TypeError$4('Incorrect invocation');
12664
12670
  };
12665
12671
 
12666
12672
  var uncurryThis$c = functionUncurryThis;
@@ -12716,16 +12722,15 @@ var isConstructor$2 = !construct || fails$7(function () {
12716
12722
  || called;
12717
12723
  }) ? isConstructorLegacy : isConstructorModern;
12718
12724
 
12719
- var global$i = global$U;
12720
12725
  var isConstructor$1 = isConstructor$2;
12721
- var tryToString$2 = tryToString$4;
12726
+ var tryToString$2 = tryToString$5;
12722
12727
 
12723
- var TypeError$7 = global$i.TypeError;
12728
+ var $TypeError$3 = TypeError;
12724
12729
 
12725
12730
  // `Assert: IsConstructor(argument) is true`
12726
12731
  var aConstructor$1 = function (argument) {
12727
12732
  if (isConstructor$1(argument)) return argument;
12728
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
12733
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
12729
12734
  };
12730
12735
 
12731
12736
  var anObject$8 = anObject$i;
@@ -12771,12 +12776,10 @@ var uncurryThis$a = functionUncurryThis;
12771
12776
 
12772
12777
  var arraySlice$3 = uncurryThis$a([].slice);
12773
12778
 
12774
- var global$h = global$U;
12775
-
12776
- var TypeError$6 = global$h.TypeError;
12779
+ var $TypeError$2 = TypeError;
12777
12780
 
12778
12781
  var validateArgumentsLength$3 = function (passed, required) {
12779
- if (passed < required) throw TypeError$6('Not enough arguments');
12782
+ if (passed < required) throw $TypeError$2('Not enough arguments');
12780
12783
  return passed;
12781
12784
  };
12782
12785
 
@@ -12784,7 +12787,7 @@ var userAgent$2 = engineUserAgent;
12784
12787
 
12785
12788
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
12786
12789
 
12787
- var global$g = global$U;
12790
+ var global$a = global$s;
12788
12791
  var apply$2 = functionApply;
12789
12792
  var bind$6 = functionBindContext;
12790
12793
  var isCallable$5 = isCallable$p;
@@ -12795,15 +12798,15 @@ var arraySlice$2 = arraySlice$3;
12795
12798
  var createElement = documentCreateElement$2;
12796
12799
  var validateArgumentsLength$2 = validateArgumentsLength$3;
12797
12800
  var IS_IOS$1 = engineIsIos;
12798
- var IS_NODE$2 = engineIsNode;
12801
+ var IS_NODE$3 = engineIsNode;
12799
12802
 
12800
- var set = global$g.setImmediate;
12801
- var clear = global$g.clearImmediate;
12802
- var process$2 = global$g.process;
12803
- var Dispatch = global$g.Dispatch;
12804
- var Function$1 = global$g.Function;
12805
- var MessageChannel = global$g.MessageChannel;
12806
- var String$2 = global$g.String;
12803
+ var set = global$a.setImmediate;
12804
+ var clear = global$a.clearImmediate;
12805
+ var process$2 = global$a.process;
12806
+ var Dispatch = global$a.Dispatch;
12807
+ var Function$1 = global$a.Function;
12808
+ var MessageChannel = global$a.MessageChannel;
12809
+ var String$1 = global$a.String;
12807
12810
  var counter = 0;
12808
12811
  var queue$1 = {};
12809
12812
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -12811,7 +12814,7 @@ var location, defer, channel, port;
12811
12814
 
12812
12815
  try {
12813
12816
  // Deno throws a ReferenceError on `location` access without `--location` flag
12814
- location = global$g.location;
12817
+ location = global$a.location;
12815
12818
  } catch (error) { /* empty */ }
12816
12819
 
12817
12820
  var run = function (id) {
@@ -12834,7 +12837,7 @@ var listener = function (event) {
12834
12837
 
12835
12838
  var post = function (id) {
12836
12839
  // old engines have not location.origin
12837
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
12840
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
12838
12841
  };
12839
12842
 
12840
12843
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -12853,7 +12856,7 @@ if (!set || !clear) {
12853
12856
  delete queue$1[id];
12854
12857
  };
12855
12858
  // Node.js 0.8-
12856
- if (IS_NODE$2) {
12859
+ if (IS_NODE$3) {
12857
12860
  defer = function (id) {
12858
12861
  process$2.nextTick(runner(id));
12859
12862
  };
@@ -12872,14 +12875,14 @@ if (!set || !clear) {
12872
12875
  // Browsers with postMessage, skip WebWorkers
12873
12876
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
12874
12877
  } else if (
12875
- global$g.addEventListener &&
12876
- isCallable$5(global$g.postMessage) &&
12877
- !global$g.importScripts &&
12878
+ global$a.addEventListener &&
12879
+ isCallable$5(global$a.postMessage) &&
12880
+ !global$a.importScripts &&
12878
12881
  location && location.protocol !== 'file:' &&
12879
12882
  !fails$6(post)
12880
12883
  ) {
12881
12884
  defer = post;
12882
- global$g.addEventListener('message', listener, false);
12885
+ global$a.addEventListener('message', listener, false);
12883
12886
  // IE8-
12884
12887
  } else if (ONREADYSTATECHANGE in createElement('script')) {
12885
12888
  defer = function (id) {
@@ -12902,29 +12905,29 @@ var task$1 = {
12902
12905
  };
12903
12906
 
12904
12907
  var userAgent$1 = engineUserAgent;
12905
- var global$f = global$U;
12908
+ var global$9 = global$s;
12906
12909
 
12907
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
12910
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
12908
12911
 
12909
12912
  var userAgent = engineUserAgent;
12910
12913
 
12911
12914
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
12912
12915
 
12913
- var global$e = global$U;
12916
+ var global$8 = global$s;
12914
12917
  var bind$5 = functionBindContext;
12915
12918
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
12916
12919
  var macrotask = task$1.set;
12917
12920
  var IS_IOS = engineIsIos;
12918
12921
  var IS_IOS_PEBBLE = engineIsIosPebble;
12919
12922
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
12920
- var IS_NODE$1 = engineIsNode;
12923
+ var IS_NODE$2 = engineIsNode;
12921
12924
 
12922
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
12923
- var document$2 = global$e.document;
12924
- var process$1 = global$e.process;
12925
- var Promise$1 = global$e.Promise;
12925
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
12926
+ var document$2 = global$8.document;
12927
+ var process$1 = global$8.process;
12928
+ var Promise$1 = global$8.Promise;
12926
12929
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
12927
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
12930
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
12928
12931
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
12929
12932
 
12930
12933
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -12933,7 +12936,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
12933
12936
  if (!queueMicrotask) {
12934
12937
  flush = function () {
12935
12938
  var parent, fn;
12936
- if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
12939
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
12937
12940
  while (head) {
12938
12941
  fn = head.fn;
12939
12942
  head = head.next;
@@ -12950,7 +12953,7 @@ if (!queueMicrotask) {
12950
12953
 
12951
12954
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
12952
12955
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
12953
- if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
12956
+ if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
12954
12957
  toggle = true;
12955
12958
  node = document$2.createTextNode('');
12956
12959
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -12968,7 +12971,7 @@ if (!queueMicrotask) {
12968
12971
  then(flush);
12969
12972
  };
12970
12973
  // Node.js without promises
12971
- } else if (IS_NODE$1) {
12974
+ } else if (IS_NODE$2) {
12972
12975
  notify$1 = function () {
12973
12976
  process$1.nextTick(flush);
12974
12977
  };
@@ -12980,7 +12983,7 @@ if (!queueMicrotask) {
12980
12983
  // - setTimeout
12981
12984
  } else {
12982
12985
  // strange IE + webpack dev server bug - use .bind(global)
12983
- macrotask = bind$5(macrotask, global$e);
12986
+ macrotask = bind$5(macrotask, global$8);
12984
12987
  notify$1 = function () {
12985
12988
  macrotask(flush);
12986
12989
  };
@@ -12996,10 +12999,10 @@ var microtask$1 = queueMicrotask || function (fn) {
12996
12999
  } last = task;
12997
13000
  };
12998
13001
 
12999
- var global$d = global$U;
13002
+ var global$7 = global$s;
13000
13003
 
13001
13004
  var hostReportErrors$1 = function (a, b) {
13002
- var console = global$d.console;
13005
+ var console = global$7.console;
13003
13006
  if (console && console.error) {
13004
13007
  arguments.length == 1 ? console.error(a) : console.error(a, b);
13005
13008
  }
@@ -13037,25 +13040,35 @@ Queue$1.prototype = {
13037
13040
 
13038
13041
  var queue = Queue$1;
13039
13042
 
13040
- var global$c = global$U;
13043
+ var global$6 = global$s;
13044
+
13045
+ var promiseNativeConstructor = global$6.Promise;
13046
+
13047
+ /* global Deno -- Deno case */
13048
+
13049
+ var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
13041
13050
 
13042
- var promiseNativeConstructor = global$c.Promise;
13051
+ var IS_DENO$1 = engineIsDeno;
13052
+ var IS_NODE$1 = engineIsNode;
13043
13053
 
13044
- var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
13054
+ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
13055
+ && typeof window == 'object'
13056
+ && typeof document == 'object';
13045
13057
 
13046
- var global$b = global$U;
13058
+ var global$5 = global$s;
13047
13059
  var NativePromiseConstructor$3 = promiseNativeConstructor;
13048
13060
  var isCallable$4 = isCallable$p;
13049
13061
  var isForced = isForced_1;
13050
13062
  var inspectSource = inspectSource$4;
13051
13063
  var wellKnownSymbol$6 = wellKnownSymbol$l;
13052
13064
  var IS_BROWSER = engineIsBrowser;
13065
+ var IS_DENO = engineIsDeno;
13053
13066
  var V8_VERSION = engineV8Version;
13054
13067
 
13055
13068
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
13056
13069
  var SPECIES = wellKnownSymbol$6('species');
13057
13070
  var SUBCLASSING = false;
13058
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
13071
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
13059
13072
 
13060
13073
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13061
13074
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -13067,18 +13080,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13067
13080
  // We can't use @@species feature detection in V8 since it causes
13068
13081
  // deoptimization and performance degradation
13069
13082
  // https://github.com/zloirock/core-js/issues/679
13070
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
13071
- // Detect correctness of subclassing with @@species support
13072
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13073
- var FakePromise = function (exec) {
13074
- exec(function () { /* empty */ }, function () { /* empty */ });
13075
- };
13076
- var constructor = promise.constructor = {};
13077
- constructor[SPECIES] = FakePromise;
13078
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13079
- if (!SUBCLASSING) return true;
13083
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
13084
+ // Detect correctness of subclassing with @@species support
13085
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13086
+ var FakePromise = function (exec) {
13087
+ exec(function () { /* empty */ }, function () { /* empty */ });
13088
+ };
13089
+ var constructor = promise.constructor = {};
13090
+ constructor[SPECIES] = FakePromise;
13091
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13092
+ if (!SUBCLASSING) return true;
13080
13093
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
13081
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
13094
+ } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
13082
13095
  });
13083
13096
 
13084
13097
  var promiseConstructorDetection = {
@@ -13110,7 +13123,7 @@ newPromiseCapability$2.f = function (C) {
13110
13123
 
13111
13124
  var $$c = _export;
13112
13125
  var IS_NODE = engineIsNode;
13113
- var global$a = global$U;
13126
+ var global$4 = global$s;
13114
13127
  var call$b = functionCall;
13115
13128
  var defineBuiltIn$4 = defineBuiltIn$b;
13116
13129
  var setPrototypeOf = objectSetPrototypeOf;
@@ -13140,13 +13153,13 @@ var setInternalState$3 = InternalStateModule$3.set;
13140
13153
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
13141
13154
  var PromiseConstructor = NativePromiseConstructor$2;
13142
13155
  var PromisePrototype = NativePromisePrototype$1;
13143
- var TypeError$5 = global$a.TypeError;
13144
- var document$1 = global$a.document;
13145
- var process = global$a.process;
13156
+ var TypeError$3 = global$4.TypeError;
13157
+ var document$1 = global$4.document;
13158
+ var process = global$4.process;
13146
13159
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
13147
13160
  var newGenericPromiseCapability = newPromiseCapability$1;
13148
13161
 
13149
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
13162
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
13150
13163
  var UNHANDLED_REJECTION = 'unhandledrejection';
13151
13164
  var REJECTION_HANDLED = 'rejectionhandled';
13152
13165
  var PENDING = 0;
@@ -13187,7 +13200,7 @@ var callReaction = function (reaction, state) {
13187
13200
  }
13188
13201
  }
13189
13202
  if (result === reaction.promise) {
13190
- reject(TypeError$5('Promise-chain cycle'));
13203
+ reject(TypeError$3('Promise-chain cycle'));
13191
13204
  } else if (then = isThenable(result)) {
13192
13205
  call$b(then, result, resolve, reject);
13193
13206
  } else resolve(result);
@@ -13219,14 +13232,14 @@ var dispatchEvent = function (name, promise, reason) {
13219
13232
  event.promise = promise;
13220
13233
  event.reason = reason;
13221
13234
  event.initEvent(name, false, true);
13222
- global$a.dispatchEvent(event);
13235
+ global$4.dispatchEvent(event);
13223
13236
  } else event = { promise: promise, reason: reason };
13224
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
13237
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
13225
13238
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
13226
13239
  };
13227
13240
 
13228
13241
  var onUnhandled = function (state) {
13229
- call$b(task, global$a, function () {
13242
+ call$b(task, global$4, function () {
13230
13243
  var promise = state.facade;
13231
13244
  var value = state.value;
13232
13245
  var IS_UNHANDLED = isUnhandled(state);
@@ -13249,7 +13262,7 @@ var isUnhandled = function (state) {
13249
13262
  };
13250
13263
 
13251
13264
  var onHandleUnhandled = function (state) {
13252
- call$b(task, global$a, function () {
13265
+ call$b(task, global$4, function () {
13253
13266
  var promise = state.facade;
13254
13267
  if (IS_NODE) {
13255
13268
  process.emit('rejectionHandled', promise);
@@ -13277,7 +13290,7 @@ var internalResolve = function (state, value, unwrap) {
13277
13290
  state.done = true;
13278
13291
  if (unwrap) state = unwrap;
13279
13292
  try {
13280
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
13293
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
13281
13294
  var then = isThenable(value);
13282
13295
  if (then) {
13283
13296
  microtask(function () {
@@ -13419,19 +13432,18 @@ var getIteratorMethod$4 = function (it) {
13419
13432
  || Iterators[classof$1(it)];
13420
13433
  };
13421
13434
 
13422
- var global$9 = global$U;
13423
13435
  var call$a = functionCall;
13424
13436
  var aCallable$2 = aCallable$9;
13425
13437
  var anObject$7 = anObject$i;
13426
- var tryToString$1 = tryToString$4;
13438
+ var tryToString$1 = tryToString$5;
13427
13439
  var getIteratorMethod$3 = getIteratorMethod$4;
13428
13440
 
13429
- var TypeError$4 = global$9.TypeError;
13441
+ var $TypeError$1 = TypeError;
13430
13442
 
13431
13443
  var getIterator$3 = function (argument, usingIterator) {
13432
13444
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
13433
13445
  if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
13434
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
13446
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
13435
13447
  };
13436
13448
 
13437
13449
  var call$9 = functionCall;
@@ -13458,11 +13470,10 @@ var iteratorClose$2 = function (iterator, kind, value) {
13458
13470
  return value;
13459
13471
  };
13460
13472
 
13461
- var global$8 = global$U;
13462
13473
  var bind$3 = functionBindContext;
13463
13474
  var call$8 = functionCall;
13464
13475
  var anObject$5 = anObject$i;
13465
- var tryToString = tryToString$4;
13476
+ var tryToString = tryToString$5;
13466
13477
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
13467
13478
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
13468
13479
  var isPrototypeOf = objectIsPrototypeOf;
@@ -13470,7 +13481,7 @@ var getIterator$2 = getIterator$3;
13470
13481
  var getIteratorMethod$2 = getIteratorMethod$4;
13471
13482
  var iteratorClose$1 = iteratorClose$2;
13472
13483
 
13473
- var TypeError$3 = global$8.TypeError;
13484
+ var $TypeError = TypeError;
13474
13485
 
13475
13486
  var Result = function (stopped, result) {
13476
13487
  this.stopped = stopped;
@@ -13482,6 +13493,7 @@ var ResultPrototype = Result.prototype;
13482
13493
  var iterate$2 = function (iterable, unboundFunction, options) {
13483
13494
  var that = options && options.that;
13484
13495
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
13496
+ var IS_RECORD = !!(options && options.IS_RECORD);
13485
13497
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
13486
13498
  var INTERRUPTED = !!(options && options.INTERRUPTED);
13487
13499
  var fn = bind$3(unboundFunction, that);
@@ -13499,11 +13511,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
13499
13511
  } return INTERRUPTED ? fn(value, stop) : fn(value);
13500
13512
  };
13501
13513
 
13502
- if (IS_ITERATOR) {
13514
+ if (IS_RECORD) {
13515
+ iterator = iterable.iterator;
13516
+ } else if (IS_ITERATOR) {
13503
13517
  iterator = iterable;
13504
13518
  } else {
13505
13519
  iterFn = getIteratorMethod$2(iterable);
13506
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
13520
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
13507
13521
  // optimisation for array iterators
13508
13522
  if (isArrayIteratorMethod$1(iterFn)) {
13509
13523
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -13514,7 +13528,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
13514
13528
  iterator = getIterator$2(iterable, iterFn);
13515
13529
  }
13516
13530
 
13517
- next = iterator.next;
13531
+ next = IS_RECORD ? iterable.next : iterator.next;
13518
13532
  while (!(step = call$8(next, iterator)).done) {
13519
13533
  try {
13520
13534
  result = callFn(step.value);
@@ -13941,7 +13955,7 @@ ModalDialog.defaultProps = {
13941
13955
  };
13942
13956
 
13943
13957
  const _excluded$5 = ["children"];
13944
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
13958
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
13945
13959
  const Context$1 = /*#__PURE__*/React__default.createContext();
13946
13960
  const {
13947
13961
  sizes
@@ -15633,7 +15647,7 @@ const MobileCalendarBox = ({
15633
15647
  return null;
15634
15648
  };
15635
15649
 
15636
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
15650
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
15637
15651
  const Input$3 = styled('input', {
15638
15652
  display: 'none'
15639
15653
  });
@@ -15890,33 +15904,33 @@ const NativeTimePicker = ({
15890
15904
  })));
15891
15905
  };
15892
15906
  NativeTimePicker.propTypes = {
15893
- /**
15894
- Resize time picker.
15907
+ /**
15908
+ Resize time picker.
15895
15909
  */
15896
15910
  size: PropTypes.oneOf(['sm', 'lg']),
15897
15911
 
15898
- /**
15899
- Change handler.
15912
+ /**
15913
+ Change handler.
15900
15914
  */
15901
15915
  onChange: PropTypes.func,
15902
15916
 
15903
- /**
15904
- Time picker default value, support moment format.
15917
+ /**
15918
+ Time picker default value, support moment format.
15905
15919
  */
15906
15920
  defaultValue: PropTypes.instanceOf(Date),
15907
15921
 
15908
- /**
15909
- Time picker value, support moment format.
15922
+ /**
15923
+ Time picker value, support moment format.
15910
15924
  */
15911
15925
  value: PropTypes.instanceOf(Date),
15912
15926
 
15913
- /**
15914
- Specify the minimum date.
15927
+ /**
15928
+ Specify the minimum date.
15915
15929
  */
15916
15930
  minDate: PropTypes.instanceOf(Date),
15917
15931
 
15918
- /**
15919
- Specify the maximum date.
15932
+ /**
15933
+ Specify the maximum date.
15920
15934
  */
15921
15935
  maxDate: PropTypes.instanceOf(Date)
15922
15936
  };
@@ -15961,49 +15975,49 @@ const TimePicker = ({
15961
15975
  };
15962
15976
  TimePicker.displayName = 'TimePicker';
15963
15977
  TimePicker.propTypes = {
15964
- /**
15965
- Additional styles.
15978
+ /**
15979
+ Additional styles.
15966
15980
  */
15967
15981
  css: PropTypes.object,
15968
15982
 
15969
- /**
15970
- Resize time picker.
15983
+ /**
15984
+ Resize time picker.
15971
15985
  */
15972
15986
  size: PropTypes.oneOf(['sm', 'lg']),
15973
15987
 
15974
- /**
15975
- Change handler.
15988
+ /**
15989
+ Change handler.
15976
15990
  */
15977
15991
  onChange: PropTypes.func,
15978
15992
 
15979
- /**
15980
- Time picker default value, support moment format.
15993
+ /**
15994
+ Time picker default value, support moment format.
15981
15995
  */
15982
15996
  defaultValue: PropTypes.instanceOf(Date),
15983
15997
 
15984
- /**
15985
- Time picker value, support moment format.
15998
+ /**
15999
+ Time picker value, support moment format.
15986
16000
  */
15987
16001
  value: PropTypes.instanceOf(Date),
15988
16002
 
15989
- /**
15990
- Disabled state.
16003
+ /**
16004
+ Disabled state.
15991
16005
  */
15992
16006
  disabled: PropTypes.bool,
15993
16007
 
15994
- /**
15995
- Specify the minimum date.
16008
+ /**
16009
+ Specify the minimum date.
15996
16010
  */
15997
16011
  minDate: PropTypes.instanceOf(Date),
15998
16012
 
15999
- /**
16000
- Specify the maximum date.
16013
+ /**
16014
+ Specify the maximum date.
16001
16015
  */
16002
16016
  maxDate: PropTypes.instanceOf(Date)
16003
16017
  };
16004
16018
  NativeTimePicker.displayName = 'NativeTimePicker';
16005
16019
 
16006
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
16020
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
16007
16021
 
16008
16022
  const getInputPickerValue$1 = date => {
16009
16023
  if (!date) return;
@@ -16179,63 +16193,63 @@ InputTimePicker.defaultProps = {
16179
16193
  placeholder: 'Select Time'
16180
16194
  };
16181
16195
  InputTimePicker.propTypes = {
16182
- /**
16183
- Additional styles.
16196
+ /**
16197
+ Additional styles.
16184
16198
  */
16185
16199
  css: PropTypes.object,
16186
16200
 
16187
- /**
16188
- Disabled state.
16201
+ /**
16202
+ Disabled state.
16189
16203
  */
16190
16204
  disabled: PropTypes.bool,
16191
16205
 
16192
- /**
16193
- ReadOnly state.
16206
+ /**
16207
+ ReadOnly state.
16194
16208
  */
16195
16209
  readOnly: PropTypes.bool,
16196
16210
 
16197
- /**
16198
- Resize time picker.
16211
+ /**
16212
+ Resize time picker.
16199
16213
  */
16200
16214
  size: PropTypes.oneOf(['sm', 'lg']),
16201
16215
 
16202
- /**
16203
- Custom placeholder input time picker.
16216
+ /**
16217
+ Custom placeholder input time picker.
16204
16218
  */
16205
16219
  placeholder: PropTypes.string,
16206
16220
 
16207
- /**
16208
- Time picker default value, support moment format.
16221
+ /**
16222
+ Time picker default value, support moment format.
16209
16223
  */
16210
16224
  defaultValue: PropTypes.instanceOf(Date),
16211
16225
 
16212
- /**
16213
- Time picker value, support moment format.
16226
+ /**
16227
+ Time picker value, support moment format.
16214
16228
  */
16215
16229
  value: PropTypes.instanceOf(Date),
16216
16230
 
16217
- /**
16218
- Change handler.
16231
+ /**
16232
+ Change handler.
16219
16233
  */
16220
16234
  onChange: PropTypes.func,
16221
16235
 
16222
- /**
16223
- Placement popover input time picker.
16236
+ /**
16237
+ Placement popover input time picker.
16224
16238
  */
16225
16239
  placement: PropTypes.string,
16226
16240
 
16227
- /**
16228
- Specify the minimum date.
16241
+ /**
16242
+ Specify the minimum date.
16229
16243
  */
16230
16244
  minDate: PropTypes.instanceOf(Date),
16231
16245
 
16232
- /**
16233
- Specify the maximum date.
16246
+ /**
16247
+ Specify the maximum date.
16234
16248
  */
16235
16249
  maxDate: PropTypes.instanceOf(Date),
16236
16250
 
16237
- /**
16238
- * Invalid state input.
16251
+ /**
16252
+ * Invalid state input.
16239
16253
  */
16240
16254
  isInvalid: PropTypes.bool
16241
16255
  };
@@ -16770,7 +16784,7 @@ const removeUndefinedFields = obj => {
16770
16784
  };
16771
16785
 
16772
16786
  const _excluded$4 = ["isActive", "onClick"];
16773
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
16787
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
16774
16788
  const PrevNextButton = styled(Text$1, {
16775
16789
  padding: '$spacing-01',
16776
16790
  cursor: 'pointer',
@@ -17040,7 +17054,7 @@ const PaginationButton = ({
17040
17054
  };
17041
17055
 
17042
17056
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
17043
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
17057
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
17044
17058
  const LimitContainer = styled(Flex$1, {
17045
17059
  cursor: 'pointer'
17046
17060
  });
@@ -17146,7 +17160,7 @@ function PaginationInfo(_ref) {
17146
17160
  lineNumber: 40,
17147
17161
  columnNumber: 11
17148
17162
  }
17149
- }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
17163
+ }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
17150
17164
  key: limit,
17151
17165
  css: limitItemContainerStyle(selectedLimit === limit),
17152
17166
  onClick: () => onChange(limit),
@@ -17177,7 +17191,7 @@ function PaginationInfo(_ref) {
17177
17191
  }
17178
17192
 
17179
17193
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
17180
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
17194
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
17181
17195
 
17182
17196
  function Pagination(_ref) {
17183
17197
  let {
@@ -18271,7 +18285,7 @@ const TableColumn = _a => {
18271
18285
  return jsx("div", {}, void 0);
18272
18286
  };
18273
18287
 
18274
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
18288
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
18275
18289
 
18276
18290
  const DateColumn = ({
18277
18291
  value,
@@ -18307,12 +18321,11 @@ var uncurryThis$9 = functionUncurryThis;
18307
18321
  // https://tc39.es/ecma262/#sec-thisnumbervalue
18308
18322
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
18309
18323
 
18310
- var global$7 = global$U;
18311
18324
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
18312
18325
  var toString$7 = toString$h;
18313
18326
  var requireObjectCoercible$3 = requireObjectCoercible$a;
18314
18327
 
18315
- var RangeError$2 = global$7.RangeError;
18328
+ var $RangeError$2 = RangeError;
18316
18329
 
18317
18330
  // `String.prototype.repeat` method implementation
18318
18331
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -18320,21 +18333,20 @@ var stringRepeat = function repeat(count) {
18320
18333
  var str = toString$7(requireObjectCoercible$3(this));
18321
18334
  var result = '';
18322
18335
  var n = toIntegerOrInfinity$3(count);
18323
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
18336
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
18324
18337
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
18325
18338
  return result;
18326
18339
  };
18327
18340
 
18328
18341
  var $$6 = _export;
18329
- var global$6 = global$U;
18330
18342
  var uncurryThis$8 = functionUncurryThis;
18331
18343
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
18332
18344
  var thisNumberValue = thisNumberValue$1;
18333
18345
  var $repeat = stringRepeat;
18334
18346
  var fails$5 = fails$t;
18335
18347
 
18336
- var RangeError$1 = global$6.RangeError;
18337
- var String$1 = global$6.String;
18348
+ var $RangeError$1 = RangeError;
18349
+ var $String = String;
18338
18350
  var floor$3 = Math.floor;
18339
18351
  var repeat = uncurryThis$8($repeat);
18340
18352
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -18382,7 +18394,7 @@ var dataToString = function (data) {
18382
18394
  var s = '';
18383
18395
  while (--index >= 0) {
18384
18396
  if (s !== '' || index === 0 || data[index] !== 0) {
18385
- var t = String$1(data[index]);
18397
+ var t = $String(data[index]);
18386
18398
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
18387
18399
  }
18388
18400
  } return s;
@@ -18410,10 +18422,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
18410
18422
  var e, z, j, k;
18411
18423
 
18412
18424
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
18413
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
18425
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
18414
18426
  // eslint-disable-next-line no-self-compare -- NaN check
18415
18427
  if (number != number) return 'NaN';
18416
- if (number <= -1e21 || number >= 1e21) return String$1(number);
18428
+ if (number <= -1e21 || number >= 1e21) return $String(number);
18417
18429
  if (number < 0) {
18418
18430
  sign = '-';
18419
18431
  number = -number;
@@ -18457,7 +18469,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
18457
18469
  }
18458
18470
  });
18459
18471
 
18460
- var global$5 = global$U;
18472
+ var global$3 = global$s;
18461
18473
  var fails$4 = fails$t;
18462
18474
  var uncurryThis$7 = functionUncurryThis;
18463
18475
  var toString$6 = toString$h;
@@ -18465,8 +18477,8 @@ var trim = stringTrim.trim;
18465
18477
  var whitespaces$1 = whitespaces$4;
18466
18478
 
18467
18479
  var charAt$6 = uncurryThis$7(''.charAt);
18468
- var n$ParseFloat = global$5.parseFloat;
18469
- var Symbol$5 = global$5.Symbol;
18480
+ var n$ParseFloat = global$3.parseFloat;
18481
+ var Symbol$5 = global$3.Symbol;
18470
18482
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
18471
18483
  var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
18472
18484
  // MS Edge 18- broken with boxed symbols
@@ -18955,7 +18967,7 @@ const PriceColumn = props => {
18955
18967
  return addThousandSeparator(param);
18956
18968
  };
18957
18969
 
18958
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
18970
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
18959
18971
  const rowExpanderColumn = {
18960
18972
  id: 'expander',
18961
18973
  Header: () => null,
@@ -18997,7 +19009,7 @@ const rowExpanderColumn = {
18997
19009
  unsortable: true
18998
19010
  };
18999
19011
 
19000
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
19012
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
19001
19013
 
19002
19014
  const rowMenuColumn = (options, icon, config) => ({
19003
19015
  id: 'menu',
@@ -19249,7 +19261,7 @@ const rowMenuColumn = (options, icon, config) => ({
19249
19261
  unsortable: true
19250
19262
  });
19251
19263
 
19252
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
19264
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
19253
19265
  const rowSelectionColumn = {
19254
19266
  id: 'selection',
19255
19267
  Header: ({
@@ -19552,7 +19564,7 @@ PageDialog.defaultProps = {
19552
19564
  };
19553
19565
 
19554
19566
  const _excluded$1 = ["children"];
19555
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
19567
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
19556
19568
  const overlayShow = keyframes({
19557
19569
  '0%': {
19558
19570
  opacity: 0
@@ -19724,7 +19736,7 @@ const TemplateAlertFunction = props => {
19724
19736
  if (!props.onOpenAutoFocus) {
19725
19737
  e.preventDefault();
19726
19738
  } else {
19727
- props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
19739
+ props == null ? void 0 : props.onOpenAutoFocus();
19728
19740
  }
19729
19741
  },
19730
19742
  __self: undefined,
@@ -19845,8 +19857,8 @@ const TemplateAlertFunction = props => {
19845
19857
  size: "sm",
19846
19858
  onClick: buttonConfirm,
19847
19859
  buttonType: props.dialogType,
19848
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19849
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19860
+ disabled: props == null ? void 0 : props.disabledButton
19861
+ }, props == null ? void 0 : props.actionButtonProps, {
19850
19862
  __self: undefined,
19851
19863
  __source: {
19852
19864
  fileName: _jsxFileName$b,
@@ -19865,12 +19877,12 @@ const TemplateAlertFunction = props => {
19865
19877
  size: "sm",
19866
19878
  onClick: buttonCancel,
19867
19879
  css: {
19868
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
19880
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
19869
19881
  flex: props.isMobile && 1
19870
19882
  },
19871
19883
  buttonType: "ghost",
19872
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19873
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
19884
+ disabled: props == null ? void 0 : props.disabledButton
19885
+ }, props == null ? void 0 : props.cancelButtonProps, {
19874
19886
  __self: undefined,
19875
19887
  __source: {
19876
19888
  fileName: _jsxFileName$b,
@@ -19892,8 +19904,8 @@ const TemplateAlertFunction = props => {
19892
19904
  css: {
19893
19905
  flex: props.isMobile && 1
19894
19906
  },
19895
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19896
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19907
+ disabled: props == null ? void 0 : props.disabledButton
19908
+ }, props == null ? void 0 : props.actionButtonProps, {
19897
19909
  __self: undefined,
19898
19910
  __source: {
19899
19911
  fileName: _jsxFileName$b,
@@ -20053,8 +20065,8 @@ function AlertDialog(props) {
20053
20065
  css: {
20054
20066
  flex: props.isMobile && 1
20055
20067
  },
20056
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20057
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20068
+ disabled: props == null ? void 0 : props.disabledButton
20069
+ }, props == null ? void 0 : props.actionButtonProps, {
20058
20070
  __self: this,
20059
20071
  __source: {
20060
20072
  fileName: _jsxFileName$b,
@@ -20073,12 +20085,12 @@ function AlertDialog(props) {
20073
20085
  size: "sm",
20074
20086
  onClick: props.onCancel,
20075
20087
  css: {
20076
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20088
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20077
20089
  flex: props.isMobile && 1
20078
20090
  },
20079
20091
  buttonType: "ghost",
20080
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20081
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20092
+ disabled: props == null ? void 0 : props.disabledButton
20093
+ }, props == null ? void 0 : props.cancelButtonProps, {
20082
20094
  __self: this,
20083
20095
  __source: {
20084
20096
  fileName: _jsxFileName$b,
@@ -20100,8 +20112,8 @@ function AlertDialog(props) {
20100
20112
  css: {
20101
20113
  flex: props.isMobile && 1
20102
20114
  },
20103
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20104
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20115
+ disabled: props == null ? void 0 : props.disabledButton
20116
+ }, props == null ? void 0 : props.actionButtonProps, {
20105
20117
  __self: this,
20106
20118
  __source: {
20107
20119
  fileName: _jsxFileName$b,
@@ -20151,7 +20163,7 @@ const AlertDialogCancel = ADialog.Cancel;
20151
20163
  const AlertDialogConfirm = ADialog.Action;
20152
20164
 
20153
20165
  const _excluded = ["side", "align", "children"];
20154
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
20166
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
20155
20167
  const Context = /*#__PURE__*/React__default.createContext();
20156
20168
  const slideUpAndFade = keyframes({
20157
20169
  '0%': {
@@ -20488,7 +20500,6 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
20488
20500
  }
20489
20501
  };
20490
20502
 
20491
- var global$4 = global$U;
20492
20503
  var bind$2 = functionBindContext;
20493
20504
  var call$2 = functionCall;
20494
20505
  var toObject = toObject$7;
@@ -20500,7 +20511,7 @@ var createProperty = createProperty$2;
20500
20511
  var getIterator$1 = getIterator$3;
20501
20512
  var getIteratorMethod$1 = getIteratorMethod$4;
20502
20513
 
20503
- var Array$1 = global$4.Array;
20514
+ var $Array = Array;
20504
20515
 
20505
20516
  // `Array.from` method implementation
20506
20517
  // https://tc39.es/ecma262/#sec-array.from
@@ -20515,7 +20526,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20515
20526
  var index = 0;
20516
20527
  var length, result, step, iterator, next, value;
20517
20528
  // if the target is not iterable or it's an array with the default iterator - use a simple case
20518
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
20529
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
20519
20530
  iterator = getIterator$1(O, iteratorMethod);
20520
20531
  next = iterator.next;
20521
20532
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -20525,7 +20536,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20525
20536
  }
20526
20537
  } else {
20527
20538
  length = lengthOfArrayLike(O);
20528
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
20539
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
20529
20540
  for (;length > index; index++) {
20530
20541
  value = mapping ? mapfn(O[index], index) : O[index];
20531
20542
  createProperty(result, index, value);
@@ -20536,7 +20547,6 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20536
20547
  };
20537
20548
 
20538
20549
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
20539
- var global$3 = global$U;
20540
20550
  var uncurryThis$2 = functionUncurryThis;
20541
20551
 
20542
20552
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -20553,7 +20563,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
20553
20563
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
20554
20564
  var baseMinusTMin = base - tMin;
20555
20565
 
20556
- var RangeError = global$3.RangeError;
20566
+ var $RangeError = RangeError;
20557
20567
  var exec$1 = uncurryThis$2(regexSeparators.exec);
20558
20568
  var floor$1 = Math.floor;
20559
20569
  var fromCharCode = String.fromCharCode;
@@ -20668,7 +20678,7 @@ var encode = function (input) {
20668
20678
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
20669
20679
  var handledCPCountPlusOne = handledCPCount + 1;
20670
20680
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
20671
- throw RangeError(OVERFLOW_ERROR);
20681
+ throw $RangeError(OVERFLOW_ERROR);
20672
20682
  }
20673
20683
 
20674
20684
  delta += (m - n) * handledCPCountPlusOne;
@@ -20677,7 +20687,7 @@ var encode = function (input) {
20677
20687
  for (i = 0; i < input.length; i++) {
20678
20688
  currentValue = input[i];
20679
20689
  if (currentValue < n && ++delta > maxInt) {
20680
- throw RangeError(OVERFLOW_ERROR);
20690
+ throw $RangeError(OVERFLOW_ERROR);
20681
20691
  }
20682
20692
  if (currentValue == n) {
20683
20693
  // Represent delta as a generalized variable-length integer.
@@ -20727,7 +20737,7 @@ var defineBuiltIns$1 = function (target, src, options) {
20727
20737
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
20728
20738
 
20729
20739
  var $$4 = _export;
20730
- var global$2 = global$U;
20740
+ var global$2 = global$s;
20731
20741
  var call$1 = functionCall;
20732
20742
  var uncurryThis$1 = functionUncurryThis;
20733
20743
  var DESCRIPTORS$1 = descriptors;
@@ -21089,7 +21099,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
21089
21099
  };
21090
21100
 
21091
21101
  if (isCallable(nativeFetch)) {
21092
- $$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
21102
+ $$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
21093
21103
  fetch: function fetch(input /* , init */) {
21094
21104
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
21095
21105
  }
@@ -21105,7 +21115,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
21105
21115
  RequestPrototype.constructor = RequestConstructor;
21106
21116
  RequestConstructor.prototype = RequestPrototype;
21107
21117
 
21108
- $$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
21118
+ $$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
21109
21119
  Request: RequestConstructor
21110
21120
  });
21111
21121
  }
@@ -21121,7 +21131,7 @@ var web_urlSearchParams_constructor = {
21121
21131
  var $$3 = _export;
21122
21132
  var DESCRIPTORS = descriptors;
21123
21133
  var USE_NATIVE_URL = nativeUrl;
21124
- var global$1 = global$U;
21134
+ var global$1 = global$s;
21125
21135
  var bind = functionBindContext;
21126
21136
  var uncurryThis = functionUncurryThis;
21127
21137
  var defineBuiltIn = defineBuiltIn$b;
@@ -22265,7 +22275,7 @@ function upload({
22265
22275
  return promise;
22266
22276
  }
22267
22277
 
22268
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
22278
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
22269
22279
  const Input$2 = styled('input', {
22270
22280
  display: 'none !important'
22271
22281
  });
@@ -22583,7 +22593,7 @@ const Upload = ({
22583
22593
  upload({
22584
22594
  url: action,
22585
22595
  file: newFile,
22586
- customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
22596
+ customBody: customBodyRequest == null ? void 0 : customBodyRequest(newFile),
22587
22597
  token,
22588
22598
  tokenKey,
22589
22599
  reqKey,
@@ -22606,12 +22616,12 @@ const Upload = ({
22606
22616
  }
22607
22617
  }
22608
22618
 
22609
- onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
22619
+ onChange == null ? void 0 : (_onChange = onChange({
22610
22620
  fileList: arrProgress,
22611
22621
  file: fileProgress,
22612
22622
  indexReplace: indexReplace.current,
22613
22623
  isReplace: indexReplace.current !== null
22614
- })) === null || _onChange === void 0 ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) === null || _onChange$then === void 0 ? void 0 : _onChange$then.catch(error => setError(error.message));
22624
+ })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
22615
22625
  }
22616
22626
  }).then(result => {
22617
22627
  var _onChange2, _onChange2$then;
@@ -22628,12 +22638,12 @@ const Upload = ({
22628
22638
  }
22629
22639
  }
22630
22640
 
22631
- onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
22641
+ onChange == null ? void 0 : (_onChange2 = onChange({
22632
22642
  fileList: arrSuccess,
22633
22643
  file: fileSuccess,
22634
22644
  indexReplace: indexReplace.current,
22635
22645
  isReplace: indexReplace.current !== null
22636
- })) === null || _onChange2 === void 0 ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) === null || _onChange2$then === void 0 ? void 0 : _onChange2$then.catch(error => setError(error.message));
22646
+ })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
22637
22647
  }).catch(error => {
22638
22648
  var _onChange3, _onChange3$then;
22639
22649
 
@@ -22649,22 +22659,22 @@ const Upload = ({
22649
22659
  }
22650
22660
  }
22651
22661
 
22652
- onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
22662
+ onChange == null ? void 0 : (_onChange3 = onChange({
22653
22663
  fileList: arrError,
22654
22664
  file: fileError,
22655
22665
  indexReplace: indexReplace.current,
22656
22666
  isReplace: indexReplace.current !== null
22657
- })) === null || _onChange3 === void 0 ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) === null || _onChange3$then === void 0 ? void 0 : _onChange3$then.catch(error => setError(error.message));
22667
+ })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
22658
22668
  });
22659
22669
  } else {
22660
22670
  var _onChange4, _onChange4$then;
22661
22671
 
22662
- onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
22672
+ onChange == null ? void 0 : (_onChange4 = onChange({
22663
22673
  fileList: arrFile,
22664
22674
  file: newFile,
22665
22675
  indexReplace: indexReplace.current,
22666
22676
  isReplace: indexReplace.current !== null
22667
- })) === null || _onChange4 === void 0 ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) === null || _onChange4$then === void 0 ? void 0 : _onChange4$then.catch(error => setError(error.message));
22677
+ })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
22668
22678
  }
22669
22679
 
22670
22680
  if (indexReplace.current !== null) {
@@ -22684,28 +22694,29 @@ const Upload = ({
22684
22694
  handleUpload(files);
22685
22695
  } else {
22686
22696
  if (onBeforeCrop) {
22687
- var _files$;
22697
+ var _files$, _files$2;
22688
22698
 
22689
22699
  // program to get the dimensions of an image
22690
22700
  const img = document.createElement('img');
22691
22701
  img.src = URL.createObjectURL(files[0]);
22692
- img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
22702
+ img.size = files == null ? void 0 : (_files$ = files[0]) == null ? void 0 : _files$.size;
22703
+ img.type = files == null ? void 0 : (_files$2 = files[0]) == null ? void 0 : _files$2.type;
22693
22704
 
22694
22705
  img.onload = () => {
22695
22706
  var _onBeforeCrop, _onBeforeCrop$then;
22696
22707
 
22697
- onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
22708
+ onBeforeCrop == null ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) == null ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
22698
22709
  setError(null);
22699
22710
  toggleModal();
22700
22711
  setFileState(files[0]);
22701
22712
  setPreviewImage(URL.createObjectURL(files[0]));
22702
- })) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
22713
+ })) == null ? void 0 : _onBeforeCrop$then.catch(error => setError(error == null ? void 0 : error.message));
22703
22714
  };
22704
22715
 
22705
22716
  img.onerror = error => {
22706
22717
  var _onBeforeCrop2, _onBeforeCrop2$then;
22707
22718
 
22708
- onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) === null || _onBeforeCrop2 === void 0 ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) === null || _onBeforeCrop2$then === void 0 ? void 0 : _onBeforeCrop2$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
22719
+ onBeforeCrop == null ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) == null ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) == null ? void 0 : _onBeforeCrop2$then.catch(error => setError(error == null ? void 0 : error.message));
22709
22720
  };
22710
22721
  } else {
22711
22722
  toggleModal();
@@ -22717,15 +22728,15 @@ const Upload = ({
22717
22728
  }
22718
22729
 
22719
22730
  function handleCrop() {
22720
- if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
22731
+ if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
22721
22732
  imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
22722
- const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
22733
+ const sizeMB = (blob == null ? void 0 : blob.size) / 1024 / 1024;
22723
22734
 
22724
22735
  if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
22725
22736
  var _fileState$name;
22726
22737
 
22727
- const file = new File([blob], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name = fileState.name) === null || _fileState$name === void 0 ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
22728
- type: blob === null || blob === void 0 ? void 0 : blob.type
22738
+ const file = new File([blob], (fileState == null ? void 0 : (_fileState$name = fileState.name) == null ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
22739
+ type: blob == null ? void 0 : blob.type
22729
22740
  });
22730
22741
  handleUpload([file]);
22731
22742
  setCrop(null);
@@ -22740,17 +22751,17 @@ const Upload = ({
22740
22751
  }).then(compressedFile => {
22741
22752
  var _fileState$name2;
22742
22753
 
22743
- const file = new File([compressedFile], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name2 = fileState.name) === null || _fileState$name2 === void 0 ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
22744
- type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
22754
+ const file = new File([compressedFile], (fileState == null ? void 0 : (_fileState$name2 = fileState.name) == null ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
22755
+ type: compressedFile == null ? void 0 : compressedFile.type
22745
22756
  });
22746
22757
  handleUpload([file]);
22747
22758
  setCrop(null);
22748
22759
  setCompletedCrop(null);
22749
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
22760
+ }).catch(error => console.error(error == null ? void 0 : error.message));
22750
22761
  }
22751
22762
 
22752
22763
  toggleModal();
22753
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
22764
+ }).catch(error => console.error(error == null ? void 0 : error.message));
22754
22765
  } else {
22755
22766
  handleUpload([fileState]);
22756
22767
  toggleModal();
@@ -22781,7 +22792,7 @@ const Upload = ({
22781
22792
  const index = fileList.indexOf(file);
22782
22793
  const newFileList = fileList.slice();
22783
22794
  newFileList.splice(index, 1);
22784
- onChange === null || onChange === void 0 ? void 0 : onChange({
22795
+ onChange == null ? void 0 : onChange({
22785
22796
  fileList: newFileList,
22786
22797
  file
22787
22798
  });
@@ -22809,22 +22820,22 @@ const Upload = ({
22809
22820
  function handleOpenFile(file) {
22810
22821
  var _String, _file$name;
22811
22822
 
22812
- let extension = (_String = String(file === null || file === void 0 ? void 0 : (_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.split('.').pop())) === null || _String === void 0 ? void 0 : _String.toLowerCase();
22823
+ let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
22813
22824
 
22814
22825
  if (extension === 'pdf') {
22815
- window.open(file === null || file === void 0 ? void 0 : file.url);
22826
+ window.open(file == null ? void 0 : file.url);
22816
22827
  } else {
22817
- request.get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
22828
+ request.get(file == null ? void 0 : file.url).end((err, res) => {
22818
22829
  if (err) {
22819
22830
  console.error(err.message);
22820
22831
  }
22821
22832
 
22822
- if (res && res !== null && res !== void 0 && res.ok) {
22823
- const response = res === null || res === void 0 ? void 0 : res.text;
22833
+ if (res && res != null && res.ok) {
22834
+ const response = res == null ? void 0 : res.text;
22824
22835
  const url = window.URL.createObjectURL(new Blob([response]));
22825
22836
  const link = document.createElement('a');
22826
22837
  link.href = url;
22827
- link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
22838
+ link.setAttribute('download', file == null ? void 0 : file.name);
22828
22839
  document.body.appendChild(link);
22829
22840
  link.click();
22830
22841
  document.body.removeChild(link);
@@ -22877,7 +22888,7 @@ const Upload = ({
22877
22888
  __self: this,
22878
22889
  __source: {
22879
22890
  fileName: _jsxFileName$9,
22880
- lineNumber: 607,
22891
+ lineNumber: 608,
22881
22892
  columnNumber: 7
22882
22893
  }
22883
22894
  }, /*#__PURE__*/React__default.createElement(ButtonText, {
@@ -22887,23 +22898,23 @@ const Upload = ({
22887
22898
  __self: this,
22888
22899
  __source: {
22889
22900
  fileName: _jsxFileName$9,
22890
- lineNumber: 608,
22901
+ lineNumber: 609,
22891
22902
  columnNumber: 9
22892
22903
  }
22893
22904
  }, replaceLabel && replaceLabel.length > 0 ? replaceLabel : `Ubah Berkas`));
22894
22905
  }
22895
22906
 
22896
22907
  const renderPicture = () => {
22897
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
22898
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
22908
+ return fileList == null ? void 0 : fileList.map((item, index) => {
22909
+ if ((item == null ? void 0 : item.status) === 'uploading') {
22899
22910
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
22900
22911
  key: index,
22901
- progress: item === null || item === void 0 ? void 0 : item.percent,
22902
- loading: item === null || item === void 0 ? void 0 : item.loading,
22912
+ progress: item == null ? void 0 : item.percent,
22913
+ loading: item == null ? void 0 : item.loading,
22903
22914
  __self: undefined,
22904
22915
  __source: {
22905
22916
  fileName: _jsxFileName$9,
22906
- lineNumber: 618,
22917
+ lineNumber: 619,
22907
22918
  columnNumber: 16
22908
22919
  }
22909
22920
  });
@@ -22915,7 +22926,7 @@ const Upload = ({
22915
22926
  __self: undefined,
22916
22927
  __source: {
22917
22928
  fileName: _jsxFileName$9,
22918
- lineNumber: 621,
22929
+ lineNumber: 622,
22919
22930
  columnNumber: 9
22920
22931
  }
22921
22932
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -22925,7 +22936,7 @@ const Upload = ({
22925
22936
  __self: undefined,
22926
22937
  __source: {
22927
22938
  fileName: _jsxFileName$9,
22928
- lineNumber: 622,
22939
+ lineNumber: 623,
22929
22940
  columnNumber: 11
22930
22941
  }
22931
22942
  }, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -22934,7 +22945,7 @@ const Upload = ({
22934
22945
  __self: undefined,
22935
22946
  __source: {
22936
22947
  fileName: _jsxFileName$9,
22937
- lineNumber: 623,
22948
+ lineNumber: 624,
22938
22949
  columnNumber: 27
22939
22950
  }
22940
22951
  }), /*#__PURE__*/React__default.createElement(Box, {
@@ -22947,7 +22958,7 @@ const Upload = ({
22947
22958
  __self: undefined,
22948
22959
  __source: {
22949
22960
  fileName: _jsxFileName$9,
22950
- lineNumber: 624,
22961
+ lineNumber: 625,
22951
22962
  columnNumber: 13
22952
22963
  }
22953
22964
  }, /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -22956,7 +22967,7 @@ const Upload = ({
22956
22967
  __self: undefined,
22957
22968
  __source: {
22958
22969
  fileName: _jsxFileName$9,
22959
- lineNumber: 632,
22970
+ lineNumber: 633,
22960
22971
  columnNumber: 15
22961
22972
  }
22962
22973
  })), /*#__PURE__*/React__default.createElement(Image, {
@@ -22966,7 +22977,7 @@ const Upload = ({
22966
22977
  __self: undefined,
22967
22978
  __source: {
22968
22979
  fileName: _jsxFileName$9,
22969
- lineNumber: 634,
22980
+ lineNumber: 635,
22970
22981
  columnNumber: 13
22971
22982
  }
22972
22983
  })), !disabled && renderButtonReplace(index));
@@ -22974,18 +22985,18 @@ const Upload = ({
22974
22985
  };
22975
22986
 
22976
22987
  const renderFile = () => {
22977
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
22988
+ return fileList == null ? void 0 : fileList.map((item, index) => {
22978
22989
  var _item$name;
22979
22990
 
22980
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
22991
+ if ((item == null ? void 0 : item.status) === 'uploading') {
22981
22992
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
22982
22993
  key: index,
22983
- progress: item === null || item === void 0 ? void 0 : item.percent,
22984
- loading: item === null || item === void 0 ? void 0 : item.loading,
22994
+ progress: item == null ? void 0 : item.percent,
22995
+ loading: item == null ? void 0 : item.loading,
22985
22996
  __self: undefined,
22986
22997
  __source: {
22987
22998
  fileName: _jsxFileName$9,
22988
- lineNumber: 645,
22999
+ lineNumber: 646,
22989
23000
  columnNumber: 16
22990
23001
  }
22991
23002
  });
@@ -22996,7 +23007,7 @@ const Upload = ({
22996
23007
  __self: undefined,
22997
23008
  __source: {
22998
23009
  fileName: _jsxFileName$9,
22999
- lineNumber: 648,
23010
+ lineNumber: 649,
23000
23011
  columnNumber: 9
23001
23012
  }
23002
23013
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -23006,7 +23017,7 @@ const Upload = ({
23006
23017
  __self: undefined,
23007
23018
  __source: {
23008
23019
  fileName: _jsxFileName$9,
23009
- lineNumber: 649,
23020
+ lineNumber: 650,
23010
23021
  columnNumber: 11
23011
23022
  }
23012
23023
  }, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -23015,7 +23026,7 @@ const Upload = ({
23015
23026
  __self: undefined,
23016
23027
  __source: {
23017
23028
  fileName: _jsxFileName$9,
23018
- lineNumber: 650,
23029
+ lineNumber: 651,
23019
23030
  columnNumber: 27
23020
23031
  }
23021
23032
  }), /*#__PURE__*/React__default.createElement(Box, {
@@ -23028,7 +23039,7 @@ const Upload = ({
23028
23039
  __self: undefined,
23029
23040
  __source: {
23030
23041
  fileName: _jsxFileName$9,
23031
- lineNumber: 651,
23042
+ lineNumber: 652,
23032
23043
  columnNumber: 13
23033
23044
  }
23034
23045
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -23038,22 +23049,22 @@ const Upload = ({
23038
23049
  __self: undefined,
23039
23050
  __source: {
23040
23051
  fileName: _jsxFileName$9,
23041
- lineNumber: 659,
23052
+ lineNumber: 660,
23042
23053
  columnNumber: 15
23043
23054
  }
23044
23055
  }, /*#__PURE__*/React__default.createElement(FileExtension, {
23045
23056
  __self: undefined,
23046
23057
  __source: {
23047
23058
  fileName: _jsxFileName$9,
23048
- lineNumber: 660,
23059
+ lineNumber: 661,
23049
23060
  columnNumber: 17
23050
23061
  }
23051
- }, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
23062
+ }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
23052
23063
  label: item.name,
23053
23064
  __self: undefined,
23054
23065
  __source: {
23055
23066
  fileName: _jsxFileName$9,
23056
- lineNumber: 661,
23067
+ lineNumber: 662,
23057
23068
  columnNumber: 17
23058
23069
  }
23059
23070
  }, /*#__PURE__*/React__default.createElement(Text, {
@@ -23068,7 +23079,7 @@ const Upload = ({
23068
23079
  __self: undefined,
23069
23080
  __source: {
23070
23081
  fileName: _jsxFileName$9,
23071
- lineNumber: 662,
23082
+ lineNumber: 663,
23072
23083
  columnNumber: 19
23073
23084
  }
23074
23085
  }, item.name)))), /*#__PURE__*/React__default.createElement(Box, {
@@ -23081,7 +23092,7 @@ const Upload = ({
23081
23092
  __self: undefined,
23082
23093
  __source: {
23083
23094
  fileName: _jsxFileName$9,
23084
- lineNumber: 677,
23095
+ lineNumber: 678,
23085
23096
  columnNumber: 13
23086
23097
  }
23087
23098
  }, /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -23090,7 +23101,7 @@ const Upload = ({
23090
23101
  __self: undefined,
23091
23102
  __source: {
23092
23103
  fileName: _jsxFileName$9,
23093
- lineNumber: 685,
23104
+ lineNumber: 686,
23094
23105
  columnNumber: 15
23095
23106
  }
23096
23107
  })), /*#__PURE__*/React__default.createElement(Blank, {
@@ -23098,7 +23109,7 @@ const Upload = ({
23098
23109
  __self: undefined,
23099
23110
  __source: {
23100
23111
  fileName: _jsxFileName$9,
23101
- lineNumber: 687,
23112
+ lineNumber: 688,
23102
23113
  columnNumber: 13
23103
23114
  }
23104
23115
  })), !disabled && renderButtonReplace(index));
@@ -23114,7 +23125,7 @@ const Upload = ({
23114
23125
  __self: this,
23115
23126
  __source: {
23116
23127
  fileName: _jsxFileName$9,
23117
- lineNumber: 698,
23128
+ lineNumber: 699,
23118
23129
  columnNumber: 7
23119
23130
  }
23120
23131
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -23128,7 +23139,7 @@ const Upload = ({
23128
23139
  __self: this,
23129
23140
  __source: {
23130
23141
  fileName: _jsxFileName$9,
23131
- lineNumber: 699,
23142
+ lineNumber: 700,
23132
23143
  columnNumber: 9
23133
23144
  }
23134
23145
  }, /*#__PURE__*/React__default.createElement(LoadingBar, {
@@ -23154,7 +23165,7 @@ const Upload = ({
23154
23165
  __self: this,
23155
23166
  __source: {
23156
23167
  fileName: _jsxFileName$9,
23157
- lineNumber: 700,
23168
+ lineNumber: 701,
23158
23169
  columnNumber: 11
23159
23170
  }
23160
23171
  }), /*#__PURE__*/React__default.createElement(Text, {
@@ -23162,14 +23173,14 @@ const Upload = ({
23162
23173
  __self: this,
23163
23174
  __source: {
23164
23175
  fileName: _jsxFileName$9,
23165
- lineNumber: 713,
23176
+ lineNumber: 714,
23166
23177
  columnNumber: 11
23167
23178
  }
23168
23179
  }, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default.createElement(Text, {
23169
23180
  __self: this,
23170
23181
  __source: {
23171
23182
  fileName: _jsxFileName$9,
23172
- lineNumber: 714,
23183
+ lineNumber: 715,
23173
23184
  columnNumber: 11
23174
23185
  }
23175
23186
  }, "Berkas sedang diunggah")));
@@ -23182,7 +23193,7 @@ const Upload = ({
23182
23193
  __self: this,
23183
23194
  __source: {
23184
23195
  fileName: _jsxFileName$9,
23185
- lineNumber: 722,
23196
+ lineNumber: 723,
23186
23197
  columnNumber: 7
23187
23198
  }
23188
23199
  }, /*#__PURE__*/React__default.createElement(ContainerUpload, {
@@ -23198,7 +23209,7 @@ const Upload = ({
23198
23209
  __self: this,
23199
23210
  __source: {
23200
23211
  fileName: _jsxFileName$9,
23201
- lineNumber: 723,
23212
+ lineNumber: 724,
23202
23213
  columnNumber: 9
23203
23214
  }
23204
23215
  }, /*#__PURE__*/React__default.createElement(Input$2, {
@@ -23210,21 +23221,21 @@ const Upload = ({
23210
23221
  __self: this,
23211
23222
  __source: {
23212
23223
  fileName: _jsxFileName$9,
23213
- lineNumber: 734,
23224
+ lineNumber: 735,
23214
23225
  columnNumber: 11
23215
23226
  }
23216
23227
  }), /*#__PURE__*/React__default.createElement(Children, {
23217
23228
  __self: this,
23218
23229
  __source: {
23219
23230
  fileName: _jsxFileName$9,
23220
- lineNumber: 735,
23231
+ lineNumber: 736,
23221
23232
  columnNumber: 11
23222
23233
  }
23223
- }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
23234
+ }, children != null ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
23224
23235
  __self: this,
23225
23236
  __source: {
23226
23237
  fileName: _jsxFileName$9,
23227
- lineNumber: 737,
23238
+ lineNumber: 738,
23228
23239
  columnNumber: 15
23229
23240
  }
23230
23241
  }, /*#__PURE__*/React__default.createElement(IconCard, {
@@ -23233,7 +23244,7 @@ const Upload = ({
23233
23244
  __self: this,
23234
23245
  __source: {
23235
23246
  fileName: _jsxFileName$9,
23236
- lineNumber: 738,
23247
+ lineNumber: 739,
23237
23248
  columnNumber: 17
23238
23249
  }
23239
23250
  }, /*#__PURE__*/React__default.createElement(UploadOutline, {
@@ -23241,7 +23252,7 @@ const Upload = ({
23241
23252
  __self: this,
23242
23253
  __source: {
23243
23254
  fileName: _jsxFileName$9,
23244
- lineNumber: 739,
23255
+ lineNumber: 740,
23245
23256
  columnNumber: 19
23246
23257
  }
23247
23258
  })), /*#__PURE__*/React__default.createElement(Text, {
@@ -23251,14 +23262,14 @@ const Upload = ({
23251
23262
  __self: this,
23252
23263
  __source: {
23253
23264
  fileName: _jsxFileName$9,
23254
- lineNumber: 741,
23265
+ lineNumber: 742,
23255
23266
  columnNumber: 17
23256
23267
  }
23257
- }, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
23268
+ }, placeholder != null ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
23258
23269
  __self: this,
23259
23270
  __source: {
23260
23271
  fileName: _jsxFileName$9,
23261
- lineNumber: 748,
23272
+ lineNumber: 749,
23262
23273
  columnNumber: 19
23263
23274
  }
23264
23275
  }, error));
@@ -23269,7 +23280,7 @@ const Upload = ({
23269
23280
  __self: this,
23270
23281
  __source: {
23271
23282
  fileName: _jsxFileName$9,
23272
- lineNumber: 755,
23283
+ lineNumber: 756,
23273
23284
  columnNumber: 7
23274
23285
  }
23275
23286
  }, /*#__PURE__*/React__default.createElement(ModalDialogTrigger, {
@@ -23277,7 +23288,7 @@ const Upload = ({
23277
23288
  __self: this,
23278
23289
  __source: {
23279
23290
  fileName: _jsxFileName$9,
23280
- lineNumber: 756,
23291
+ lineNumber: 757,
23281
23292
  columnNumber: 9
23282
23293
  }
23283
23294
  }, /*#__PURE__*/React__default.createElement("div", {
@@ -23285,7 +23296,7 @@ const Upload = ({
23285
23296
  __self: this,
23286
23297
  __source: {
23287
23298
  fileName: _jsxFileName$9,
23288
- lineNumber: 757,
23299
+ lineNumber: 758,
23289
23300
  columnNumber: 11
23290
23301
  }
23291
23302
  })), /*#__PURE__*/React__default.createElement(ModalDialogTitle, {
@@ -23298,7 +23309,7 @@ const Upload = ({
23298
23309
  __self: this,
23299
23310
  __source: {
23300
23311
  fileName: _jsxFileName$9,
23301
- lineNumber: 759,
23312
+ lineNumber: 760,
23302
23313
  columnNumber: 9
23303
23314
  }
23304
23315
  }, cropperTitle), /*#__PURE__*/React__default.createElement(ModalDialogContent, {
@@ -23310,7 +23321,7 @@ const Upload = ({
23310
23321
  __self: this,
23311
23322
  __source: {
23312
23323
  fileName: _jsxFileName$9,
23313
- lineNumber: 762,
23324
+ lineNumber: 763,
23314
23325
  columnNumber: 9
23315
23326
  }
23316
23327
  }, /*#__PURE__*/React__default.createElement(ReactCrop, {
@@ -23321,7 +23332,7 @@ const Upload = ({
23321
23332
  __self: this,
23322
23333
  __source: {
23323
23334
  fileName: _jsxFileName$9,
23324
- lineNumber: 763,
23335
+ lineNumber: 764,
23325
23336
  columnNumber: 11
23326
23337
  }
23327
23338
  }, /*#__PURE__*/React__default.createElement(Image, {
@@ -23335,14 +23346,14 @@ const Upload = ({
23335
23346
  __self: this,
23336
23347
  __source: {
23337
23348
  fileName: _jsxFileName$9,
23338
- lineNumber: 764,
23349
+ lineNumber: 765,
23339
23350
  columnNumber: 13
23340
23351
  }
23341
23352
  }))), /*#__PURE__*/React__default.createElement(ModalDialogFooter, {
23342
23353
  __self: this,
23343
23354
  __source: {
23344
23355
  fileName: _jsxFileName$9,
23345
- lineNumber: 767,
23356
+ lineNumber: 768,
23346
23357
  columnNumber: 9
23347
23358
  }
23348
23359
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -23354,14 +23365,14 @@ const Upload = ({
23354
23365
  __self: this,
23355
23366
  __source: {
23356
23367
  fileName: _jsxFileName$9,
23357
- lineNumber: 768,
23368
+ lineNumber: 769,
23358
23369
  columnNumber: 11
23359
23370
  }
23360
23371
  }, hiddenToggleAspect ? /*#__PURE__*/React__default.createElement(Box, {
23361
23372
  __self: this,
23362
23373
  __source: {
23363
23374
  fileName: _jsxFileName$9,
23364
- lineNumber: 770,
23375
+ lineNumber: 771,
23365
23376
  columnNumber: 15
23366
23377
  }
23367
23378
  }) : /*#__PURE__*/React__default.createElement(Tooltip$1, {
@@ -23369,7 +23380,7 @@ const Upload = ({
23369
23380
  __self: this,
23370
23381
  __source: {
23371
23382
  fileName: _jsxFileName$9,
23372
- lineNumber: 772,
23383
+ lineNumber: 773,
23373
23384
  columnNumber: 15
23374
23385
  }
23375
23386
  }, /*#__PURE__*/React__default.createElement(ImageOutline, {
@@ -23381,7 +23392,7 @@ const Upload = ({
23381
23392
  __self: this,
23382
23393
  __source: {
23383
23394
  fileName: _jsxFileName$9,
23384
- lineNumber: 773,
23395
+ lineNumber: 774,
23385
23396
  columnNumber: 17
23386
23397
  }
23387
23398
  })), /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -23389,7 +23400,7 @@ const Upload = ({
23389
23400
  __self: this,
23390
23401
  __source: {
23391
23402
  fileName: _jsxFileName$9,
23392
- lineNumber: 780,
23403
+ lineNumber: 781,
23393
23404
  columnNumber: 13
23394
23405
  }
23395
23406
  }, /*#__PURE__*/React__default.createElement(Button$3, {
@@ -23398,7 +23409,7 @@ const Upload = ({
23398
23409
  __self: this,
23399
23410
  __source: {
23400
23411
  fileName: _jsxFileName$9,
23401
- lineNumber: 781,
23412
+ lineNumber: 782,
23402
23413
  columnNumber: 15
23403
23414
  }
23404
23415
  }, "Batal"), /*#__PURE__*/React__default.createElement(Button$3, {
@@ -23406,7 +23417,7 @@ const Upload = ({
23406
23417
  __self: this,
23407
23418
  __source: {
23408
23419
  fileName: _jsxFileName$9,
23409
- lineNumber: 784,
23420
+ lineNumber: 785,
23410
23421
  columnNumber: 15
23411
23422
  }
23412
23423
  }, "Simpan")))));
@@ -23414,7 +23425,7 @@ const Upload = ({
23414
23425
 
23415
23426
  return /*#__PURE__*/React__default.createElement(Flex$1, {
23416
23427
  direction: "row",
23417
- gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23428
+ gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23418
23429
  wrap: "wrap",
23419
23430
  css: {
23420
23431
  userSelect: 'none'
@@ -23422,7 +23433,7 @@ const Upload = ({
23422
23433
  __self: undefined,
23423
23434
  __source: {
23424
23435
  fileName: _jsxFileName$9,
23425
- lineNumber: 793,
23436
+ lineNumber: 794,
23426
23437
  columnNumber: 5
23427
23438
  }
23428
23439
  }, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default.createElement(UploadProgress, {
@@ -23431,7 +23442,7 @@ const Upload = ({
23431
23442
  __self: undefined,
23432
23443
  __source: {
23433
23444
  fileName: _jsxFileName$9,
23434
- lineNumber: 796,
23445
+ lineNumber: 797,
23435
23446
  columnNumber: 32
23436
23447
  }
23437
23448
  }) : renderUpload(), showCropper && renderCropper());
@@ -23453,176 +23464,176 @@ Upload.defaultProps = {
23453
23464
  imageCompression: true
23454
23465
  };
23455
23466
  Upload.propTypes = {
23456
- /**
23457
- Placeholder label of upload.
23467
+ /**
23468
+ Placeholder label of upload.
23458
23469
  */
23459
23470
  placeholder: PropTypes.string,
23460
23471
 
23461
- /**
23462
- Disabled state of upload.
23472
+ /**
23473
+ Disabled state of upload.
23463
23474
  */
23464
23475
  disabled: PropTypes.bool,
23465
23476
 
23466
- /**
23467
- Built-in stylesheets, support for two types.
23477
+ /**
23478
+ Built-in stylesheets, support for two types.
23468
23479
  */
23469
23480
  listType: PropTypes.oneOf(['file', 'picture']),
23470
23481
 
23471
- /**
23472
- Whether to support selected multiple file.
23482
+ /**
23483
+ Whether to support selected multiple file.
23473
23484
  */
23474
23485
  multiple: PropTypes.bool,
23475
23486
 
23476
- /**
23477
- List of files to be uploaded.
23487
+ /**
23488
+ List of files to be uploaded.
23478
23489
  */
23479
23490
  fileList: PropTypes.array,
23480
23491
 
23481
- /**
23482
- A callback function, can be executed when uploading state is changing.
23492
+ /**
23493
+ A callback function, can be executed when uploading state is changing.
23483
23494
  */
23484
23495
  onChange: PropTypes.func,
23485
23496
 
23486
- /**
23487
- A callback function, can be executed when uploading in progress.
23488
- `(progress) => void`
23497
+ /**
23498
+ A callback function, can be executed when uploading in progress.
23499
+ `(progress) => void`
23489
23500
  */
23490
23501
  onProgress: PropTypes.func,
23491
23502
 
23492
- /**
23493
- A callback function, can be executed when uploading is success.
23494
- `(response) => void`
23503
+ /**
23504
+ A callback function, can be executed when uploading is success.
23505
+ `(response) => void`
23495
23506
  */
23496
23507
  onSuccess: PropTypes.func,
23497
23508
 
23498
- /**
23499
- A callback function, can be executed when uploading is error.
23500
- `(error, response) => void`
23509
+ /**
23510
+ A callback function, can be executed when uploading is error.
23511
+ `(error, response) => void`
23501
23512
  */
23502
23513
  onError: PropTypes.func,
23503
23514
 
23504
- /**
23505
- A callback function, can be executed when preview icon in picture type is clicked.
23515
+ /**
23516
+ A callback function, can be executed when preview icon in picture type is clicked.
23506
23517
  */
23507
23518
  onPreview: PropTypes.func,
23508
23519
 
23509
- /**
23510
- A callback function, can be executed when remove icon is clicked.
23520
+ /**
23521
+ A callback function, can be executed when remove icon is clicked.
23511
23522
  */
23512
23523
  onRemove: PropTypes.func,
23513
23524
 
23514
- /**
23515
- A custom element inside upload container.
23525
+ /**
23526
+ A custom element inside upload container.
23516
23527
  */
23517
23528
  children: PropTypes.element,
23518
23529
 
23519
- /**
23520
- Limit the number of uploaded files.
23530
+ /**
23531
+ Limit the number of uploaded files.
23521
23532
  */
23522
23533
  max: PropTypes.number,
23523
23534
 
23524
- /**
23525
- Limit the maximum image size in MB.
23535
+ /**
23536
+ Limit the maximum image size in MB.
23526
23537
  */
23527
23538
  maxSizeMB: PropTypes.number,
23528
23539
 
23529
- /**
23530
- Limit file type of upload.
23540
+ /**
23541
+ Limit file type of upload.
23531
23542
  */
23532
23543
  accept: PropTypes.string,
23533
23544
 
23534
- /**
23535
- Custom label for replace button.
23545
+ /**
23546
+ Custom label for replace button.
23536
23547
  */
23537
23548
  replaceLabel: PropTypes.string,
23538
23549
 
23539
- /**
23540
- Custom width of upload container.
23550
+ /**
23551
+ Custom width of upload container.
23541
23552
  */
23542
23553
  width: PropTypes.number,
23543
23554
 
23544
- /**
23545
- Custom height of upload container.
23555
+ /**
23556
+ Custom height of upload container.
23546
23557
  */
23547
23558
  height: PropTypes.number,
23548
23559
 
23549
- /**
23550
- Additional css.
23560
+ /**
23561
+ Additional css.
23551
23562
  */
23552
23563
  css: PropTypes.object,
23553
23564
 
23554
- /**
23555
- Custom title header of cropper modal.
23565
+ /**
23566
+ Custom title header of cropper modal.
23556
23567
  */
23557
23568
  cropperTitle: PropTypes.string,
23558
23569
 
23559
- /**
23560
- Add image cropper on upload.
23570
+ /**
23571
+ Add image cropper on upload.
23561
23572
  */
23562
23573
  showCropper: PropTypes.bool,
23563
23574
 
23564
- /**
23565
- Hidden toggle aspect ratio image cropper.
23575
+ /**
23576
+ Hidden toggle aspect ratio image cropper.
23566
23577
  */
23567
23578
  hiddenToggleAspect: PropTypes.bool,
23568
23579
 
23569
- /**
23570
- 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.
23580
+ /**
23581
+ The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
23571
23582
  */
23572
23583
  ratio: PropTypes.number,
23573
23584
 
23574
- /**
23575
- Can set error message to the upload.
23585
+ /**
23586
+ Can set error message to the upload.
23576
23587
  */
23577
23588
  errorMessage: PropTypes.string,
23578
23589
 
23579
- /**
23580
- Progress of upload process.
23590
+ /**
23591
+ Progress of upload process.
23581
23592
  */
23582
23593
  progress: PropTypes.number,
23583
23594
 
23584
- /**
23585
- Auto increment progress of upload process.
23595
+ /**
23596
+ Auto increment progress of upload process.
23586
23597
  */
23587
23598
  loading: PropTypes.bool,
23588
23599
 
23589
- /**
23590
- API upload url, allows components to automatically upload directly to API service.
23600
+ /**
23601
+ API upload url, allows components to automatically upload directly to API service.
23591
23602
  */
23592
23603
  action: PropTypes.string,
23593
23604
 
23594
- /**
23595
- Custom body request to upload action.
23605
+ /**
23606
+ Custom body request to upload action.
23596
23607
  */
23597
23608
  customBodyRequest: PropTypes.func,
23598
23609
 
23599
- /**
23600
- Contains an authentication token for upload API.
23610
+ /**
23611
+ Contains an authentication token for upload API.
23601
23612
  */
23602
23613
  token: PropTypes.string,
23603
23614
 
23604
- /**
23605
- Referencing the headers key to attach the token.
23615
+ /**
23616
+ Referencing the headers key to attach the token.
23606
23617
  */
23607
23618
  tokenKey: PropTypes.string,
23608
23619
 
23609
- /**
23610
- Referencing the key to attach the file to be sent.
23620
+ /**
23621
+ Referencing the key to attach the file to be sent.
23611
23622
  */
23612
23623
  reqKey: PropTypes.string,
23613
23624
 
23614
- /**
23615
- Referencing the key to get the file from the API response.
23625
+ /**
23626
+ Referencing the key to get the file from the API response.
23616
23627
  */
23617
23628
  resKey: PropTypes.string,
23618
23629
 
23619
- /**
23620
- To compression image if file size > 1MB.
23630
+ /**
23631
+ To compression image if file size > 1MB.
23621
23632
  */
23622
23633
  imageCompression: PropTypes.bool,
23623
23634
 
23624
- /**
23625
- Callback to handle before crop image.
23635
+ /**
23636
+ Callback to handle before crop image.
23626
23637
  */
23627
23638
  onBeforeCrop: PropTypes.func
23628
23639
  };
@@ -24228,7 +24239,7 @@ const Device = props => {
24228
24239
 
24229
24240
  Device.displayName = 'DevicePreview';
24230
24241
 
24231
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
24242
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
24232
24243
  const Separator$1 = styled('div', {
24233
24244
  height: 20,
24234
24245
  width: 1,
@@ -24240,10 +24251,10 @@ function InputColorPicker(props) {
24240
24251
  const [isPopover, setIsPopover] = useState(false);
24241
24252
 
24242
24253
  function getColor() {
24243
- const color = props === null || props === void 0 ? void 0 : props.color;
24254
+ const color = props == null ? void 0 : props.color;
24244
24255
 
24245
24256
  if (typeof color === 'string') {
24246
- return color === null || color === void 0 ? void 0 : color.toUpperCase();
24257
+ return color == null ? void 0 : color.toUpperCase();
24247
24258
  }
24248
24259
 
24249
24260
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -24340,28 +24351,28 @@ function InputColorPicker(props) {
24340
24351
 
24341
24352
  InputColorPicker.displayName = 'InputColorPicker';
24342
24353
  InputColorPicker.propTypes = {
24343
- /**
24344
- Color code to be displayed.
24354
+ /**
24355
+ Color code to be displayed.
24345
24356
  */
24346
24357
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
24347
24358
 
24348
- /**
24349
- Additional color list.
24359
+ /**
24360
+ Additional color list.
24350
24361
  */
24351
24362
  presetColors: PropTypes.array,
24352
24363
 
24353
- /**
24354
- Change event handler.
24364
+ /**
24365
+ Change event handler.
24355
24366
  */
24356
24367
  onChange: PropTypes.func,
24357
24368
 
24358
- /**
24359
- Add preset color event handler.
24369
+ /**
24370
+ Add preset color event handler.
24360
24371
  */
24361
24372
  onAddColor: PropTypes.func,
24362
24373
 
24363
- /**
24364
- Disable opacity selector.
24374
+ /**
24375
+ Disable opacity selector.
24365
24376
  */
24366
24377
  disableAlpha: PropTypes.bool
24367
24378
  };
@@ -24371,7 +24382,7 @@ InputColorPicker.defaultProps = {
24371
24382
 
24372
24383
  var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYAzGZmMzMzmQBmZv9mAJkAmTNmmZn/Zv/M/2YAZv/MzADMmZkz/5kA//8zmcwzmcwAmf8zAMwzAMwAAJkzM5kAM5n/MwBmmZlmADMzzAAzzAAA/wAAzDNm/wBm/wBmzP+Zmcxm/5lm/2aZmf+Z/wCZ//+ZAMyZAP///8xmmf//ZgDMZv8zzGb/zP/MZjOZM//MmQCZmZkzZjPM/8z//2b/mZmZ/wBmAP//zGYA/2b/ZswAZplmMwAAmQD/mZkAzACZAMz/zGZmmczM//+ZZv//ADPMzDOZZjNmzGZm/5nM//9m/zPMMwDMAGb//2bM////mcz/mZn/mf/MAMz/M2b/MwD//wAzmQAAZpnMAJkzmf8AAJkzAP8AZgCZM8wA/2aZ/5n/zAD/AP8A/8wAzP+ZM8z/ZjOZ/8xmAACZzDMz/2aZAP9mzP+ZzMzMAP9mmTNmAMyZ/wD/zJmZZswz/////yH5BAEAAH8ALAAAAADqAMcAAAf/gH+Cg4SFhoeIiYqHBY2LhBCRj4NSlZOCYZmXf0edmyagm2Kjm6Wmp6ippY2sjoqRsJKKlbSWipm4moqdvJ6KoMChiqPEpKrHyMnKf63NroWx0bKFtdW2hbnZuoW93b6FweHChcXlxsvo6erMzu0Fg9Lx09b019r329763+L94+YAz60bSHCSu4MF5CmEUK+hFHwQw+ybeMSfRRMBM4opyLGjIYTuFspzWC8iPor7LvrTGNCjy44g24mMR5KeyXso9ansxxLgy58DYzqbKa2mtZvacnrbKa6nOaBQ0QltRjSa0WpIsyntxjSc03JRwyKb2qpqrKu1suba2qtrsK/F/8TKRUWWlVlYaGmpxcWWl1tgcInNHbypbqO7kfJW2pupb6e/oAILJEyZkWHEDBUzlugYMkbJlUNbrotZ8UPGjitClrxRtGtBhhMiNr05tWfWr1032E02hG+zc4KjTUFcLYnjbEsod0unOVwG0HMT3k2dN0Lf2H8vDM5duEPi4ItHPE4eOUXl6JdfbM7euUbo8KNLj1q9vvVm2fNrj9a9v/dq4QUoXjblFWheN+klqF447TXoXjnxRSjffB7ZZ+F9+mW4n38c/ifghwMaKOKBCpa4oIMoPijhihNSuM6FMDag4YwhdGjjHCDmmMKIPJJg4o8lpCgkHSwWyYCLA8V4If+NGt7YoY4g9jgikCYOmaKRLCL5opL2MZmhkxxC+aGUIlJZopUoYrmilupw2aWX+YHpn5gCkmmgmQqi6aCaErKZjpv1wRmnnN3RGaCdBeKZoJ4N8hmhn+gAWp2g2RFaqKHgIVqeoukx2p6j8UG6jKTUUYqdpdxhmqmmx3GKnqfsgQqfqMqQupupvqEanKrEsdqqq0HCSqSsR9KKjK0y4qorjrz66iOwwg4rq7HH2oprjbryuqOvwAYLK7HFUpsKstcuq62z3UYLrriptOCupDvESykU9FoawL2YvqCvpij0y+kJAHs6wsCgMmEwu5u4q/C7McbrsLw00itxvTfeazH/vjrqq/G+Pfbrsb9AAixywEMObDLBRhqs8sEIJ7LwywzX9/DMEOc38c0U93fxzhgHuPHPHBf48dAgJzjy0SQ3ePLSKEe48tMstzwIzFTHTPPVNeOsdc48d90z0GAHTfTYRSNtdtJMp9001GxHzW7VcLeA9dw7bG03FF7nHUDYfL9A9t8onC34CWoXPkLbiDPRctxV04313Vvr7XXfYQNO9uBnG6524m0vzjjMjl8NudaSd0052JaPjbnZmqfNOduef75w6DSPjnPpPJ8OdOpEr45060y/DnXssrtL+8y234z7zrr/zPvQvh8N/NLCP0188cc/nPzEy1/c/MbPfxz9/8jTn1z9ytfLnr3D20vcvcXfaxy+x+OLXL7J56uc/ufrx9s+ve+7V/z0Nb9+1Q9g9xtY/txGreLNrn//w1sAB+i3Ah6QcAlcoOIQ5kCF9a9u/wvg3gZYwMAdMIGHW+D+GPfBCIqQgiW8IAo1iLAo2NCBFchh9vjAw+2B4Yfd64EQvxeHIoZPDUgc3xSWWL4hOPF8CoiisWxIxRvGLYdY1CHdeMjFHt7th2AEot6ESMYh9q2IaDQi4JDIxiQObolwZKLhnEjHJyYuiniUIpuqyEcrviyLgNTizLpISC/eLIyIFOPOyshIM/4sjZBU49DaSEk3Hi2OmJTj0urISTs+Lf+PoNTjfPpISj8G8pSCLKQqDZnIViqykbB0ZCRnKclK2tKSmcylJjvJS0+G8peiFE0phxkFVBqzAqtMJh9cyUwwxPKZPaClNONwy2qqQZfYnEIvtzkEYHpTAa8hZimPiUplrrKZroRmLKdJS2veMpu65GYvvwnMcIqzj+Q8pTlVic5WqhOW7JylO20Jz1zKk5f0/KU971nFfAZyn4XsZyL/2ciARnKglSxoJg/ayYSGcqEMtaFDAQlRQkoUkRRlpEUhiVFKahSTHOWkR0EJ0pCONIsl7eJJw5jSMq40jS1t40vjGNM6zjSPNWXoTbGYUy7uFIw9JeNP0RhUNg4VjkX/peNR8ZjUey41h03l4VN/GFUhTrWIVUXiVZeYVSduNZiVCWlDvxrWZY61rNE8a1qvuda2dvOtXRXnV5EZ1rE6s6xnpWZa16rNtr4VnK6RKxUHW1fD4jWxe2WsXx/rmhx4Vq41CO1NkUDanN7gtDvFgmp7moXW/pQKsA0qEGY7VBbYtqgWyO1RL8Bbynj2t58lZmiHK9pjkva4pVXmaZeL2maq9rmrhWZrp+vaacL2urG15my3S9ts2va7t+Vmbser22/y9ry9FQtw1xtcPhL3vcUFJHLnm1xCMve+zUUkdPcbXUZS97/VhSR2B5xdSnL3wN3FJHgXHF5OkvfB5QUl/3onnN6fsPfC7YWvhuNL3w7XF78gzi9/R9xfAJs4wAROcYERzOIEM/jFDYawjCNM4RpXmCMYznEONszjGnj4x0gIsZBvQOIiY+HESM6CipdMhRY7GQgwjjILZkxlC9j4yhfwiI4x3OMNA9nDQw6xkUmc5BMzWcVPbrGUYVzlGWPZxlreMnu7rOEvdzjMIB7ziMts4jOnOM0sXvOL2yzjN9c4znIGLp3ha2f64hm/euYvnwHsZwIDGsGCZjChIWxoCiM60Z5d9HsbPd9H3zfS+530fys94EsfONML3vSDOz3hT4Na1MQlNXJNzVxUQ1fV1GU1dl3NXViDV9bkpTV6bf+daFwPV9fH5fVyff1cYE9X2Ncl9naN/V1kj1fZ52W2nJ0dWmiTVtqnpbZqrd1abMNW27Pltm29nVtw35ggoFY0uc0dZHSr+8jsdneT4S3vKdPb3lnuSL5/S24fmxvdRFY3u5XsbnhDWd70trK9xb3lhvMb4v+euMAtXvCMI7wjQUh5vq/Aclyz4eW6/oHMeb2GmvvaBzgHdhN2Luw9+JzYKwi6sf1AdGSn4ejKToLSB5LypqtcxyyPest7/PKqwxzIMs/6zIdc867b3Mg4D3vOk7zzsvOcyT5P+8+fHPS2C13KRI970at89LojHctKz/vSl+H0vj99vVIP/NTfa/X/wl99vlpP/Nbv6/XGf32/Yo/82P9r9sqffcBqz/zaD+z2zr99wXIP/dwfbPfS333Cek/93lXh99b/XfCwH7zhZ394xdt+8Y7P/eMlz/vJW/73l9e88Dfv+eJ/XvTIH73pl3961Tt/9aVwvfSDEPvqX4H22GfD7bf/A917fw29D78PgE/+Jgz//HswvvpXkPz2+4H58E/D8+efhFNM3/XWj332ac/9239f9+LXe+UHfOg3fOtnfO6XfPHHfPT3fPZ3f36Xf7C3f7PXf7b3f7kXgLw3gL9XgMJ3gMWXgMi3gMvXgM73gBDodBIoeBRoeBaoeBjoeBooeRxoeR6oeSDo/3kiKHokaHomqHoomIIpt4KB14KF94KJF4ONN4ORV4OVd4OZl4Odt4Oh14Ol94OpF4RCSIRSZ4RWh4Rap4Rex4Ri54RmB4VqJ4VuR4VyZ4V2h4V6p4UpyIVR54VVB4ZZJ4ZdR4ZhZ4Zlh4Zpp4Ztx4Zx54Z1B4d5J4cQSIcsZ4cvh4cyp4c1x4c454c7B4g+J4hBR4hEZ4hHh4jQdwlCqIKM6IjaB4mSCH6UaInmh4mayH6c6InyB4qKeH+MeH2OCIndJ4mUOH6WiInpp4mc+H6eCIr1Zwqj2HS3aIq6mIq9yIrA+IrDKIvGaAoDcI2jiAbayIVW0I1eSATgCIZcMP+OYrgE5kiGMpCOZigB7IiGLvCOalgF8siGbVCPbugG+AiHE7CPk3CN/oiN06eNArmN1teNBumN2QeOChmO3DeODkmO32eOEnmO4peOFqmO5ceOGtmO6PeOHgmP6yePIjmP7lePJmmP8YePKpmP9LePLsmPiPCPMgmQfTeQNkmQgXeQOomQhbeQPsmQifeQQgmRjTeRRkmRkXeRSomRlbeRTsmRmfeRUgmSnTeSVkmSoXeSWomSpbeSXsmSqfeSYgmTgzCTZkmTN5mWOLmTbMmTP/mWQDmUckmUR1mXSLmUeMmUT7mXUDmVfkmVVxmYWLmVhMmVX3mYYDmWismPZ9n/mAOglpCJBm05mVYAl5ZJBHOZmVxgl5y5BHn5mTLAl6IpAX9Zmi4gmKhZBYW5mm2AmK7pBosZmxPgmGcZmWpJmW15mXCpmXPZmXYJmnk5mnxpmn+ZmoLJmoX5mogpm4tJm2Zpm2mJm2ypm2/Jm3Lpm3UJnHgpnHtJnH5pnIGJnISpnIfJnIrpnDMJnTcpnTtJnT9pnUOJnUepnUvJnU/pnVMJnlcpnltJnl9pnmOJnjKpnjbJnjrpnj4Jn0Ipn0ZJn0ppn06Jn1Kpn1bJn1rpn14JoGIpoP9IoANpoAeJoAupoA/JoBPpoBcJoRspoR9JoSNpoSeJoSupoS/Jof7o/6ECCaIGKaIKSaIOaaISiaIWqaIayaIe6aIiCaMmKaMqSaMuaaPXiKPaqKPdyKPg6KPjCKTmKKTpSKTsaKTviKTyqKT1yKT46KT7CKWPKaVUWplWiqWbqaVcGppeCqanKaZk2ppmiqazCaVSKplUaqWYiaVa6plc6qWkCaZiqppkaqawiaZq+qdtKqhwWqhziqh2uqh56qh8Kggcqgeg6qFKMKog+gWmKqIRkKokugWsaqJC8KooSgGyqqJ3UKssage46qI2sKswqgG+KqNkEKw0Wgi0CarGGqqROarKSqqUaarOeqqXmarSqqqayarW2qqd+araCqugKaveOqujWf+r4mqrpomr5pqrqbmr6sqrrOmr7vqrrxms8iqsspkIZnms+IqsNrms/MqsOvmsAAutPjmtBEutQnmtCIutRrmtDMutSvmtEAuuTjmuFEuuUnmuGIuuVrmuHMuuWvmuIAuvXjmvJEuvYtmP15ivKquv/dqy/hqwMCuwBTuzBpuwNquwDZuzDhuxPCuxFfuzFpuxQquxHVu0HhuySCuyJbu0JlsKK/u0euCyUqsEMVu1X0CzWBsBN7u1W6CzXisEPRu2FAC0ZHsHQ3u2dmC0amsDSdu2GsC0cEsGpwC1Kzu1Lmu1MZu1NMu1N/u1Oiu2PVu2QIu2Q7u2Ruu2SRu3TDv/t3Sbr3bbsngLs3o7s3xrs36bs4DLs4L7s4QrtIZbtIiLtIq7tIzbuMf6uP0auQE7uQVbuQl7uQ2buRG7uRXbuRn7uR0buiE7uiVbuqYLqqjLr6oLsKxLsK6LsLDLsLILsbRLsbaLsbjLsboLsrxLsr77u8G7rMP7rMU7rcd7rcm7rcv7rc07rs97rtG7rtP7rtU7r9drutmrrNvrrN0rrd9rreGrrePrreUrrudrrumrruvrru0rr+/buPE7qvNrqvWbqvfLqvn7qvsrq/1bq/+LqwG8qwPsqwUcrAdMtwlMtQvcwFr7wBEMthNcwWZ7wRnMthvcwXJrCr97ugm8/8BX28AP3LURPMFjW8EXnLYZvMFv28EfDLUhbMMknMMnzMMq/MMtLMQwnAozLABUnL11cMXbCwJa3L1w0MXfqwVgHL46MMbjqwJmXL55kMbniwFsnL4Z8Mbr+wBy3L7IQLdUfMdVPLVXvMdYbLVa/MdbnLVdPMhezLVgfMhh/LVjvMhkLLZm/MhnXLZpPMlqjLZsfMltvLZvvMlw7LZy/MlzHLfooLJ4XMp5zK98nMp9DLCA3MqBTLCEHMuFjLCIXMuJzLCMnMuNDLGQ3MuRTLGUHMyVjLGYXMyZzLGcnMydDLKg3MyhbL3rYKymPM2nrMrWvMqunM2vLMvcPMu2/P/Nt6zL4rzLvlzOvyzM6DzMxrzOx6zM7rzMzhzPz8wR1FzPAnDN+FwH2rzPINDN/gwH4BzQWjDOBK0D5nzQKpDOCp0H7NzQGPDOEJ0B8jzRD+AR9kzN+XzN/KzN/9zNAg3OBT3OCG3OC53ODs3OEf3OFC3PFn3RppzR1rzR2dzR3PzR3xzS4jzS5VzS6HzS65zS7rzS8dzSLo3HMK3KMu3KNC3LNm3LOK3LOu3LPC3MPm3MQK3MQu3MRF3UVHzUqZzUrbzUsdzUtfzUuRzVvTzVwVzVxXzVyZzVzbzVXO3VfAzWgCzWhEzWiGzWjIzWkKzWlMzWmOzWnAzXoCzXRU3/13ts13+M14Os14fM14vs148M2JMs2JdM2Jts2J+M2C6t2FfM2Frs2F0M2WAs2WNM2WZs2WmM2Wys2W/M2XLs2RcN2vos2qQN0KaN2gat2qzN0K4N2xIt27Rtz7Yt2v1M2qY90Kit2gnN2q790LAt2xXdEVxt1KCN3Lm93Lzt3L8d3cJN3S9x3QtQ3nQ9Buht116w3nhNA+6t1zgQ33ztBPTt1wlw34B9Bvot2DPQ34TNAwBu2FBx0eVd4Oadz+id4OnNz+vd4Oz9z+4d4e8t0PFd4fJd0PSd4fWN0Pfd4fi90Pod4vvt0P1d4v4d0QCe4gFO0XIxzQb+4geeygo+/+ML3soOfuMPHssSvuMTXssW/uMXnssaPuQb3ssefuQfHswivuQjXswm/uQnnswqPuUrHteEcccwnuUxTuNcXuM4/uU5zuNi3uNAXuZBTuRoXuRIvuZJzuRu3uRQHudRTuV0XuWioeV4vgBdvudjAOZ+7gVjHug0YOaEjgNpfuhOwOaKngBv3uhnIOeQPgN1Puk88Bp5ruV83uV/DuaCPuaFbuaInuaLzuaO/uaRLueUXueWfukwnulcvulf3uli/ullHupoPuprXupufupxnup0vuqsbuCuTuOwjuOyzuO0DuS2TuS4juS6zuS8DuW+TuXAHuzlPewzXuw3fuw7nv/sP77sQ97sR/7sSx7tTz7tU17t1o7tCq7tDs7tEu7tFg7uGi7uHk7uIm7uJo7uKq7uwc7uCe7uDQ7vES7vFU7vGW7vHY7vIa7vJc7vKe7vrA7w6C3w603w7m3w8Y3w9K3w983w+u3w/Q3xAC7xl07xfW7xGD/oGs/xie7xIP/oIk/yle4a1i7sFG/xgI7xGm/oHO/xjA7yIi/pJG/yeY7yOr/yPe/yQB/zQ0/z0nHzfTD17I4HVu/uT5D18N4FXC/vb/D19O4AYm/vBFD2+F4EaK/vCLD2/O4ilz71cE/1fG71dH/1f571eK/1gs71fN/1hf71gA/2iC72hD/2i17/9ohv9o6O9oyf9pG+9pDP9pTuJ1ke95Yv9zNe95pv9zee956v9zve96Lv9z8e+KYv+ENe+Kpv+Eee+K6v+Eve+LLv+E8e+bYv+elOKwV++byP+Zv/+5z/+cIP+qNf/KR/+siP+qu//Kz/+s4P+7Mf/bR/+9SP++zS+9jfB8C//Xgw/N7/BMYf/l2Q/OT/Bsx//g7w/OpPANLf/kVQ/fCPAC2T/b3P/cD//cMv/sZf/skPCA6Cg4SFgwSIiYqLiUWOj5CRjwiUlZaXlX+am5ydnp+goaKjnn2mp6ipp3isra6vrU+ys7S1s124ubq7uW++v8DBv4bEhYzHi5LKkZjN/5ek0NHS05qq1qmw2a+23LW837vC4sHF5Q7I6ATL60XO7gjU8fLx1/V92vh43ftP4P5d4wK+MVcsHTJ2y945m8ewYSh71/Jp49ftHziB4wgSM3gMoTKFzRyKHAnRmsRsFLlZ/IZRnEZDHBl5lAQS08ibDEuqOgkrpa2VvFoKe2kspqKZzGpawsmUmk5sPF359AZUl1ByRA8ZbYR0ktJMTcOSeooqqtSpt6r2ujosq6CtXLu2+0pJrN2HZE2ZjYVWltq1bAe6PQdXndy5dO8q/kTWiGOzMSKjhUFZrZzLbDdozlqm89YOoLt+GP11selS9hyrfpwvsmvJ/CjLrvzvsv9tzAI1695srrNvz+lACw/NbrRx0u9OK0edarVz1q9eS4dda7Z12rtua8cdbLd33oV+iwe+aLh54pGOq0f+bLn7Tqeey4c+vT716/ixb9/P/bt/8OMFSN55BKK33oHsvadgJ/M1aIR9EMaQ34Qw8GehHP9luIGAHJZR4IcdICjiBwuWuImD80VoH4X5Xcifhv91KCCIBY6IoIkmoiifivWxiJ+L+8Hon4wB0kigjQfiWKKOz/E4nY/XAbmdkN8ROZ6R5yG5npILMumck9JBaZ2U2lHpnZXiYWmelupxqaCXq4H5mpizkXmbmbuh+Zuaw7F5nJvvwamanK7RKZudtuH/qZuevvEpnJ/GAeqeoI4RGpmhlCF6maKaMdqZo6BBOpqky1H6oKWYVqgppxt6CmqIopKqnKmWSoipphhy6qmHoIpKoqym0Yrqravq6mqvsQJ7GpwHNCunCNDSycG0dpphLZ4AZKunAdzy6cG3fio7qYPNlutshNCmGy2F07ZL7YXWxnuthtnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
24373
24384
 
24374
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
24385
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
24375
24386
  const Container$6 = styled('div', {
24376
24387
  userSelect: 'none',
24377
24388
  margin: 'auto',
@@ -26335,7 +26346,7 @@ function ColorMap({
26335
26346
  })));
26336
26347
  }
26337
26348
 
26338
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
26349
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
26339
26350
  const CheckBoard = styled(Flex$1, {
26340
26351
  background: '$bgwhite',
26341
26352
  border: '1px solid #E5E7EB',
@@ -26536,7 +26547,7 @@ function ColorFields({
26536
26547
  }, "%")));
26537
26548
  }
26538
26549
 
26539
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
26550
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
26540
26551
  const Container$5 = styled(Flex$1, {
26541
26552
  background: '$white',
26542
26553
  padding: 16,
@@ -27039,28 +27050,28 @@ function ColorPicker({
27039
27050
  }
27040
27051
 
27041
27052
  ColorPicker.propTypes = {
27042
- /**
27043
- Color code to be displayed.
27053
+ /**
27054
+ Color code to be displayed.
27044
27055
  */
27045
27056
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
27046
27057
 
27047
- /**
27048
- Additional color list
27058
+ /**
27059
+ Additional color list
27049
27060
  */
27050
27061
  presetColors: PropTypes.array,
27051
27062
 
27052
- /**
27053
- Change event handler
27063
+ /**
27064
+ Change event handler
27054
27065
  */
27055
27066
  onChange: PropTypes.func,
27056
27067
 
27057
- /**
27058
- Add preset color event handler
27068
+ /**
27069
+ Add preset color event handler
27059
27070
  */
27060
27071
  onAddColor: PropTypes.func,
27061
27072
 
27062
- /**
27063
- Disable opacity selector
27073
+ /**
27074
+ Disable opacity selector
27064
27075
  */
27065
27076
  disableAlpha: PropTypes.bool
27066
27077
  };
@@ -27069,7 +27080,7 @@ ColorPicker.defaultProps = {
27069
27080
  };
27070
27081
  var ColorPicker$1 = ColorWrap(ColorPicker);
27071
27082
 
27072
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
27083
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
27073
27084
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
27074
27085
  const Stepper = StepWizard$1;
27075
27086
  Stepper.displayName = 'Stepper';
@@ -27215,9 +27226,9 @@ const Navigation = props => {
27215
27226
  lineNumber: 120,
27216
27227
  columnNumber: 30
27217
27228
  }
27218
- }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) === null || _data$title === void 0 ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27229
+ }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) == null ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) == null ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27219
27230
  align: "center",
27220
- label: (_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.tooltipsContents,
27231
+ label: (_data3 = data[i - 1]) == null ? void 0 : _data3.tooltipsContents,
27221
27232
  __self: undefined,
27222
27233
  __source: {
27223
27234
  fileName: _jsxFileName$4,
@@ -27236,9 +27247,9 @@ const Navigation = props => {
27236
27247
  lineNumber: 124,
27237
27248
  columnNumber: 19
27238
27249
  }
27239
- })), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27250
+ })), ((_data4 = data[i - 1]) == null ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27240
27251
  css: {
27241
- marginLeft: (_data5 = data[i - 1]) !== null && _data5 !== void 0 && _data5.withTolltip ? 0 : '$spacing-03'
27252
+ marginLeft: (_data5 = data[i - 1]) != null && _data5.withTolltip ? 0 : '$spacing-03'
27242
27253
  },
27243
27254
  align: "center",
27244
27255
  __self: undefined,
@@ -27290,7 +27301,7 @@ const Navigation = props => {
27290
27301
  height: 24,
27291
27302
  borderRadius: '$round',
27292
27303
  border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
27293
- backgroundColor: (_data6 = data[i - 1]) !== null && _data6 !== void 0 && _data6.disabled ? '$gray200' : '$white'
27304
+ backgroundColor: (_data6 = data[i - 1]) != null && _data6.disabled ? '$gray200' : '$white'
27294
27305
  },
27295
27306
  __self: undefined,
27296
27307
  __source: {
@@ -27308,10 +27319,10 @@ const Navigation = props => {
27308
27319
  lineNumber: 163,
27309
27320
  columnNumber: 15
27310
27321
  }
27311
- }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) === null || _data$title2 === void 0 ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) === null || _data8 === void 0 ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27322
+ }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) == null ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) == null ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27312
27323
  align: "center",
27313
27324
  withClick: true,
27314
- label: (_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.tooltipsContents,
27325
+ label: (_data9 = data[i - 1]) == null ? void 0 : _data9.tooltipsContents,
27315
27326
  __self: undefined,
27316
27327
  __source: {
27317
27328
  fileName: _jsxFileName$4,
@@ -27327,11 +27338,11 @@ const Navigation = props => {
27327
27338
  lineNumber: 168,
27328
27339
  columnNumber: 19
27329
27340
  }
27330
- })), isActive && ((_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27341
+ })), isActive && ((_data10 = data[i - 1]) == null ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27331
27342
  align: "center",
27332
27343
  justify: "center",
27333
27344
  css: {
27334
- marginTop: (_data11 = data[i - 1]) !== null && _data11 !== void 0 && _data11.withTolltip ? 0 : '$spacing-03'
27345
+ marginTop: (_data11 = data[i - 1]) != null && _data11.withTolltip ? 0 : '$spacing-03'
27335
27346
  },
27336
27347
  __self: undefined,
27337
27348
  __source: {
@@ -27413,9 +27424,7 @@ const Default = props => {
27413
27424
  }));
27414
27425
  }, [props.hide]);
27415
27426
  useEffect(() => {
27416
- var _props$onChangeVisibi;
27417
-
27418
- props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
27427
+ props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
27419
27428
  }, [state.hide]);
27420
27429
 
27421
27430
  const toogleVisibility = value => {
@@ -27427,13 +27436,13 @@ const Default = props => {
27427
27436
  const getIsComplete = currentStep => {
27428
27437
  var _state$isComplete;
27429
27438
 
27430
- return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
27439
+ return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
27431
27440
  };
27432
27441
 
27433
27442
  const getTitleStep = currentStep => {
27434
27443
  var _props$navContents, _props$navContents2;
27435
27444
 
27436
- return props === null || props === void 0 ? void 0 : (_props$navContents = props.navContents) === null || _props$navContents === void 0 ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) === null || _props$navContents2 === void 0 ? void 0 : _props$navContents2.title;
27445
+ return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
27437
27446
  };
27438
27447
 
27439
27448
  const setState = value => {
@@ -27475,15 +27484,15 @@ const Default = props => {
27475
27484
  });
27476
27485
  props.onStepChange && props.onStepChange(e);
27477
27486
 
27478
- if (props !== null && props !== void 0 && (_props$navContents3 = props.navContents) !== null && _props$navContents3 !== void 0 && (_props$navContents4 = _props$navContents3[(e === null || e === void 0 ? void 0 : e.activeStep) - 1]) !== null && _props$navContents4 !== void 0 && _props$navContents4.disabled) {
27479
- if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
27487
+ if (props != null && (_props$navContents3 = props.navContents) != null && (_props$navContents4 = _props$navContents3[(e == null ? void 0 : e.activeStep) - 1]) != null && _props$navContents4.disabled) {
27488
+ if ((e == null ? void 0 : e.activeStep) > (e == null ? void 0 : e.previousStep)) {
27480
27489
  var _state$SW;
27481
27490
 
27482
- state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
27491
+ state == null ? void 0 : (_state$SW = state.SW) == null ? void 0 : _state$SW.nextStep();
27483
27492
  } else {
27484
27493
  var _state$SW2;
27485
27494
 
27486
- state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
27495
+ state == null ? void 0 : (_state$SW2 = state.SW) == null ? void 0 : _state$SW2.previousStep();
27487
27496
  }
27488
27497
  }
27489
27498
  };
@@ -27499,11 +27508,11 @@ const Default = props => {
27499
27508
  }, /*#__PURE__*/React__default.createElement(StepWizardContext.Provider, {
27500
27509
  value: {
27501
27510
  toogleVisibility,
27502
- isHide: state === null || state === void 0 ? void 0 : state.hide,
27511
+ isHide: state == null ? void 0 : state.hide,
27503
27512
  setComplete,
27504
27513
  setState,
27505
27514
  state,
27506
- SW: state === null || state === void 0 ? void 0 : state.SW,
27515
+ SW: state == null ? void 0 : state.SW,
27507
27516
  forbidClickNav: props.forbidClickNav,
27508
27517
  titles: props.titles,
27509
27518
  isMobile: props.isMobile,
@@ -27550,7 +27559,7 @@ const StepWizard = props => {
27550
27559
  }), void 0);
27551
27560
  };
27552
27561
 
27553
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
27562
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
27554
27563
 
27555
27564
  function Collapse({
27556
27565
  children,
@@ -27595,7 +27604,7 @@ Collapse.defaultProps = {
27595
27604
  isOpen: false
27596
27605
  };
27597
27606
 
27598
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
27607
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
27599
27608
  const DesktopContainer = styled(Flex$1, {
27600
27609
  display: 'none',
27601
27610
  '& .active-scroll-spy': {
@@ -27676,10 +27685,10 @@ function Content({
27676
27685
  function getDatasets(content, activeId, isCollapse) {
27677
27686
  const datasets = [];
27678
27687
 
27679
- for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
27688
+ for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
27680
27689
  var _content$i;
27681
27690
 
27682
- if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
27691
+ if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
27683
27692
  datasets.unshift(content[i]);
27684
27693
  } else {
27685
27694
  datasets.push(content[i]);
@@ -27719,7 +27728,7 @@ function Content({
27719
27728
  lineNumber: 99,
27720
27729
  columnNumber: 7
27721
27730
  }
27722
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
27731
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
27723
27732
  return /*#__PURE__*/React__default.createElement(List, {
27724
27733
  key: index,
27725
27734
  __self: this,
@@ -27736,11 +27745,11 @@ function Content({
27736
27745
  marginLeft: '-4px !important',
27737
27746
  borderLeftWidth: '4px !important',
27738
27747
  borderLeftStyle: 'solid !important',
27739
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
27748
+ borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
27740
27749
  paddingLeft: '16px !important',
27741
27750
  minHeight: 25
27742
27751
  },
27743
- "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
27752
+ "data-to-scrollspy-id": item == null ? void 0 : item.id,
27744
27753
  __self: this,
27745
27754
  __source: {
27746
27755
  fileName: _jsxFileName$2,
@@ -27749,8 +27758,8 @@ function Content({
27749
27758
  }
27750
27759
  }, /*#__PURE__*/React__default.createElement(Title$1, {
27751
27760
  className: "link-title",
27752
- active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
27753
- href: `#${item === null || item === void 0 ? void 0 : item.id}`,
27761
+ active: (item == null ? void 0 : item.id) === activeId,
27762
+ href: `#${item == null ? void 0 : item.id}`,
27754
27763
  onClick: e => {
27755
27764
  e.preventDefault();
27756
27765
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -27779,7 +27788,7 @@ function Content({
27779
27788
  lineNumber: 117,
27780
27789
  columnNumber: 17
27781
27790
  }
27782
- }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
27791
+ }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
27783
27792
  })));
27784
27793
  }
27785
27794
 
@@ -27881,23 +27890,23 @@ TableOfContent.defaultProps = {
27881
27890
  isDialog: false
27882
27891
  };
27883
27892
  TableOfContent.propTypes = {
27884
- /**
27885
- List of contents containing the title and id of a content.
27893
+ /**
27894
+ List of contents containing the title and id of a content.
27886
27895
  */
27887
27896
  content: PropTypes.array,
27888
27897
 
27889
- /**
27890
- Components devoted to mobile viewing only.
27898
+ /**
27899
+ Components devoted to mobile viewing only.
27891
27900
  */
27892
27901
  isMobile: PropTypes.bool,
27893
27902
 
27894
- /**
27895
- Condition when table of content is inside a component dialog.
27903
+ /**
27904
+ Condition when table of content is inside a component dialog.
27896
27905
  */
27897
27906
  isDialog: PropTypes.bool,
27898
27907
 
27899
- /**
27900
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
27908
+ /**
27909
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
27901
27910
  */
27902
27911
  activeId: PropTypes.string
27903
27912
  };
@@ -27917,7 +27926,7 @@ TableOfContentPage.defaultProps = {
27917
27926
  useBoxMethod: true
27918
27927
  };
27919
27928
 
27920
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
27929
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
27921
27930
 
27922
27931
  function Collapalse({
27923
27932
  children,
@@ -28843,7 +28852,7 @@ const ProgressText = styled$1('p', {
28843
28852
  const StyledProgress = styled$1(ProgressPrimitive.Root, {
28844
28853
  position: 'relative',
28845
28854
  overflow: 'hidden',
28846
- background: '$gray50',
28855
+ background: '$gray150',
28847
28856
  borderRadius: '99999px',
28848
28857
  width: '100%',
28849
28858
  height: 8
@@ -28861,9 +28870,11 @@ function PrimitiveLoadingBar({
28861
28870
  progress,
28862
28871
  description,
28863
28872
  showProgressOnly,
28864
- css
28873
+ css,
28874
+ visibility,
28875
+ colors
28865
28876
  }) {
28866
- return jsxs(Container$4, Object.assign({
28877
+ return visibility && jsxs(Container$4, Object.assign({
28867
28878
  css: css
28868
28879
  }, {
28869
28880
  children: [jsx(Progress, Object.assign({
@@ -28872,6 +28883,9 @@ function PrimitiveLoadingBar({
28872
28883
  children: jsx(ProgressIndicator$1, {
28873
28884
  style: {
28874
28885
  transform: `translateX(-${100 - progress}%)`
28886
+ },
28887
+ css: {
28888
+ background: (colors === null || colors === void 0 ? void 0 : colors.length) > 1 ? `linear-gradient(90deg, ${colors === null || colors === void 0 ? void 0 : colors[0]} 35%, ${colors === null || colors === void 0 ? void 0 : colors[1]} 100%)` : colors === null || colors === void 0 ? void 0 : colors[0]
28875
28889
  }
28876
28890
  }, void 0)
28877
28891
  }), void 0), !showProgressOnly && jsx(ProgressText, {
@@ -28885,36 +28899,46 @@ let interval;
28885
28899
  function LoadingBar(props) {
28886
28900
  const {
28887
28901
  show,
28888
- isAuto,
28889
28902
  onCompleted
28890
28903
  } = props;
28891
28904
  const [progress, setProgress] = useState(0);
28905
+ const [visibility, setVisibility] = useState(false);
28892
28906
  useEffect(() => {
28893
28907
  if (show) {
28908
+ setVisibility(true);
28894
28909
  interval = setInterval(() => {
28895
- setProgress(prev => prev + 2);
28896
- }, 500);
28910
+ setProgress(prev => prev + 1);
28911
+ }, 100);
28897
28912
  } else {
28898
28913
  setProgress(100);
28899
28914
  clearInterval(interval);
28900
- onCompleted && onCompleted();
28915
+ setTimeout(() => {
28916
+ setVisibility(false);
28917
+ setProgress(0);
28918
+ }, 1000);
28901
28919
  }
28902
- }, [show, onCompleted]);
28920
+ }, [show]);
28903
28921
  useEffect(() => {
28904
28922
  if (progress === 100) {
28905
28923
  clearInterval(interval);
28906
- }
28907
- }, [progress]);
28908
- return isAuto ? jsx(PrimitiveLoadingBar, Object.assign({}, props, {
28924
+ onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
28925
+ setTimeout(() => {
28926
+ setVisibility(false);
28927
+ setProgress(0);
28928
+ }, 1000);
28929
+ }
28930
+ }, [progress, onCompleted]);
28931
+ return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsx(PrimitiveLoadingBar, Object.assign({}, props, {
28932
+ visibility: true
28933
+ }), void 0) : jsx(PrimitiveLoadingBar, Object.assign({}, props, {
28934
+ visibility: visibility,
28909
28935
  progress: progress
28910
- }), void 0) : jsx(PrimitiveLoadingBar, Object.assign({}, props), void 0);
28936
+ }), void 0);
28911
28937
  }
28912
28938
 
28913
28939
  LoadingBar.defaultProps = {
28914
28940
  showProgressOnly: false,
28915
- isAuto: false,
28916
28941
  show: false,
28917
- progress: 0,
28918
28942
  description: 'Loading...'
28919
28943
  };
28920
28944
 
@@ -31158,7 +31182,410 @@ function ContentEditor(props) {
31158
31182
  }), void 0);
31159
31183
  }
31160
31184
 
31161
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
31185
+ const StyledSkeleton = props => {
31186
+ const {
31187
+ color,
31188
+ count,
31189
+ width,
31190
+ size,
31191
+ circle
31192
+ } = props;
31193
+
31194
+ function getBaseColor(color) {
31195
+ switch (color) {
31196
+ case 'primary':
31197
+ return colors$4.gray300;
31198
+
31199
+ default:
31200
+ return colors$4.gray150;
31201
+ }
31202
+ }
31203
+
31204
+ function getSize(size) {
31205
+ switch (size) {
31206
+ case 'md':
31207
+ return 16;
31208
+
31209
+ case 'lg':
31210
+ return 118;
31211
+
31212
+ default:
31213
+ return 12;
31214
+ }
31215
+ }
31216
+
31217
+ return jsx(SkeletonTheme, Object.assign({
31218
+ width: width,
31219
+ borderRadius: size === 'lg' ? 0 : 20,
31220
+ baseColor: getBaseColor(color),
31221
+ highlightColor: "#FAFAFA"
31222
+ }, {
31223
+ children: jsx(ReactSkeleton, {
31224
+ height: getSize(size),
31225
+ count: count,
31226
+ circle: circle
31227
+ }, void 0)
31228
+ }), void 0);
31229
+ };
31230
+
31231
+ const Card = styled('div', {
31232
+ padding: 40,
31233
+ borderRadius: 8,
31234
+ background: '$bgWhite',
31235
+ boxShadow: '0px 7px 15px rgba(0, 0, 0, 0.07)',
31236
+ position: 'relative'
31237
+ });
31238
+ const Space = styled('div', {
31239
+ height: 8,
31240
+ variants: {
31241
+ size: {
31242
+ sm: {
31243
+ height: 8
31244
+ },
31245
+ md: {
31246
+ height: 18
31247
+ }
31248
+ }
31249
+ }
31250
+ });
31251
+ function Skeleton() {
31252
+ const isDesktop = useMediaQuery('(min-width: 767px)');
31253
+
31254
+ if (isDesktop) {
31255
+ return jsxs(Grid, Object.assign({
31256
+ columns: 6,
31257
+ gapY: 5
31258
+ }, {
31259
+ children: [jsx(GridItem, Object.assign({
31260
+ colSpan: 6
31261
+ }, {
31262
+ children: jsxs(Grid, Object.assign({
31263
+ columns: 6,
31264
+ gapX: 2
31265
+ }, {
31266
+ children: [jsx(GridItem, Object.assign({
31267
+ colSpan: 2
31268
+ }, {
31269
+ children: jsxs(Card, {
31270
+ children: [jsx(StyledSkeleton, {
31271
+ size: "md",
31272
+ color: "primary"
31273
+ }, void 0), jsx(Space, {
31274
+ size: "md"
31275
+ }, void 0), jsxs(Box, {
31276
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31277
+ width: "60%"
31278
+ }, void 0)]
31279
+ }, void 0), jsx(Space, {
31280
+ size: "md"
31281
+ }, void 0), jsxs(Box, {
31282
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31283
+ width: "60%"
31284
+ }, void 0)]
31285
+ }, void 0)]
31286
+ }, void 0)
31287
+ }), void 0), jsx(GridItem, Object.assign({
31288
+ colSpan: 2
31289
+ }, {
31290
+ children: jsxs(Card, {
31291
+ children: [jsx(StyledSkeleton, {
31292
+ size: "md",
31293
+ color: "primary"
31294
+ }, void 0), jsx(Space, {
31295
+ size: "md"
31296
+ }, void 0), jsxs(Box, {
31297
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31298
+ width: "60%"
31299
+ }, void 0)]
31300
+ }, void 0), jsx(Space, {
31301
+ size: "md"
31302
+ }, void 0), jsxs(Box, {
31303
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31304
+ width: "60%"
31305
+ }, void 0)]
31306
+ }, void 0)]
31307
+ }, void 0)
31308
+ }), void 0), jsx(GridItem, Object.assign({
31309
+ colSpan: 2
31310
+ }, {
31311
+ children: jsxs(Card, {
31312
+ children: [jsx(StyledSkeleton, {
31313
+ size: "md",
31314
+ color: "primary"
31315
+ }, void 0), jsx(Space, {
31316
+ size: "md"
31317
+ }, void 0), jsxs(Box, {
31318
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31319
+ width: "60%"
31320
+ }, void 0)]
31321
+ }, void 0), jsx(Space, {
31322
+ size: "md"
31323
+ }, void 0), jsxs(Box, {
31324
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31325
+ width: "60%"
31326
+ }, void 0)]
31327
+ }, void 0)]
31328
+ }, void 0)
31329
+ }), void 0)]
31330
+ }), void 0)
31331
+ }), void 0), jsx(GridItem, Object.assign({
31332
+ colSpan: 6
31333
+ }, {
31334
+ children: jsx(Card, {
31335
+ children: jsxs(Grid, Object.assign({
31336
+ columns: 6,
31337
+ gapY: 5
31338
+ }, {
31339
+ children: [jsx(GridItem, Object.assign({
31340
+ colSpan: 6
31341
+ }, {
31342
+ children: jsxs(Grid, Object.assign({
31343
+ columns: 6,
31344
+ gapX: 2
31345
+ }, {
31346
+ children: [jsxs(GridItem, Object.assign({
31347
+ colSpan: 2
31348
+ }, {
31349
+ children: [jsx(StyledSkeleton, {
31350
+ size: "lg"
31351
+ }, void 0), jsx(Space, {
31352
+ size: "md"
31353
+ }, void 0), jsx(StyledSkeleton, {
31354
+ size: "md",
31355
+ color: "primary",
31356
+ width: "85%"
31357
+ }, void 0), jsx(Space, {
31358
+ size: "md"
31359
+ }, void 0), jsxs(Box, {
31360
+ children: [jsx(StyledSkeleton, {
31361
+ width: "85%"
31362
+ }, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31363
+ width: "60%"
31364
+ }, void 0)]
31365
+ }, void 0)]
31366
+ }), void 0), jsxs(GridItem, Object.assign({
31367
+ colSpan: 2
31368
+ }, {
31369
+ children: [jsx(StyledSkeleton, {
31370
+ size: "lg"
31371
+ }, void 0), jsx(Space, {
31372
+ size: "md"
31373
+ }, void 0), jsx(StyledSkeleton, {
31374
+ size: "md",
31375
+ color: "primary",
31376
+ width: "85%"
31377
+ }, void 0), jsx(Space, {
31378
+ size: "md"
31379
+ }, void 0), jsxs(Box, {
31380
+ children: [jsx(StyledSkeleton, {
31381
+ width: "85%"
31382
+ }, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31383
+ width: "60%"
31384
+ }, void 0)]
31385
+ }, void 0)]
31386
+ }), void 0), jsxs(GridItem, Object.assign({
31387
+ colSpan: 2
31388
+ }, {
31389
+ children: [jsx(StyledSkeleton, {
31390
+ size: "lg"
31391
+ }, void 0), jsx(Space, {
31392
+ size: "md"
31393
+ }, void 0), jsx(StyledSkeleton, {
31394
+ size: "md",
31395
+ color: "primary",
31396
+ width: "85%"
31397
+ }, void 0), jsx(Space, {
31398
+ size: "md"
31399
+ }, void 0), jsxs(Box, {
31400
+ children: [jsx(StyledSkeleton, {
31401
+ width: "85%"
31402
+ }, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31403
+ width: "60%"
31404
+ }, void 0)]
31405
+ }, void 0)]
31406
+ }), void 0)]
31407
+ }), void 0)
31408
+ }), void 0), jsxs(GridItem, Object.assign({
31409
+ colSpan: 6
31410
+ }, {
31411
+ children: [jsx(StyledSkeleton, {
31412
+ width: "50%"
31413
+ }, void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31414
+ inline: true,
31415
+ borderRadius: 20,
31416
+ baseColor: colors$4.gray150,
31417
+ highlightColor: "#FAFAFA"
31418
+ }, {
31419
+ children: [jsx(ReactSkeleton, {
31420
+ style: {
31421
+ marginRight: 8
31422
+ },
31423
+ height: 12,
31424
+ width: 12,
31425
+ circle: true
31426
+ }, void 0), jsx(ReactSkeleton, {
31427
+ height: 12,
31428
+ width: "95%"
31429
+ }, void 0)]
31430
+ }), void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31431
+ inline: true,
31432
+ borderRadius: 20,
31433
+ baseColor: colors$4.gray150,
31434
+ highlightColor: "#FAFAFA"
31435
+ }, {
31436
+ children: [jsx(ReactSkeleton, {
31437
+ style: {
31438
+ marginRight: 8
31439
+ },
31440
+ height: 12,
31441
+ width: 12,
31442
+ circle: true
31443
+ }, void 0), jsx(ReactSkeleton, {
31444
+ height: 12,
31445
+ width: "95%"
31446
+ }, void 0)]
31447
+ }), void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31448
+ inline: true,
31449
+ borderRadius: 20,
31450
+ baseColor: colors$4.gray150,
31451
+ highlightColor: "#FAFAFA"
31452
+ }, {
31453
+ children: [jsx(ReactSkeleton, {
31454
+ style: {
31455
+ marginRight: 8
31456
+ },
31457
+ height: 12,
31458
+ width: 12,
31459
+ circle: true
31460
+ }, void 0), jsx(ReactSkeleton, {
31461
+ height: 12,
31462
+ width: "95%"
31463
+ }, void 0)]
31464
+ }), void 0)]
31465
+ }), void 0)]
31466
+ }), void 0)
31467
+ }, void 0)
31468
+ }), void 0)]
31469
+ }), void 0);
31470
+ } else {
31471
+ return jsxs(Grid, Object.assign({
31472
+ columns: 6,
31473
+ gapY: 4
31474
+ }, {
31475
+ children: [jsx(GridItem, Object.assign({
31476
+ colSpan: 6
31477
+ }, {
31478
+ children: jsxs(Card, {
31479
+ children: [jsx(StyledSkeleton, {
31480
+ size: "md",
31481
+ color: "primary"
31482
+ }, void 0), jsx(Space, {
31483
+ size: "md"
31484
+ }, void 0), jsxs(Box, {
31485
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31486
+ width: "60%"
31487
+ }, void 0)]
31488
+ }, void 0), jsx(Space, {
31489
+ size: "md"
31490
+ }, void 0), jsxs(Box, {
31491
+ children: [jsx(StyledSkeleton, {}, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31492
+ width: "60%"
31493
+ }, void 0)]
31494
+ }, void 0)]
31495
+ }, void 0)
31496
+ }), void 0), jsx(GridItem, Object.assign({
31497
+ colSpan: 6
31498
+ }, {
31499
+ children: jsx(Card, {
31500
+ children: jsxs(Grid, {
31501
+ children: [jsxs(GridItem, Object.assign({
31502
+ colSpan: 6
31503
+ }, {
31504
+ children: [jsx(StyledSkeleton, {
31505
+ size: "lg"
31506
+ }, void 0), jsx(Space, {
31507
+ size: "md"
31508
+ }, void 0), jsx(StyledSkeleton, {
31509
+ size: "md",
31510
+ color: "primary",
31511
+ width: "85%"
31512
+ }, void 0), jsx(Space, {
31513
+ size: "md"
31514
+ }, void 0), jsxs(Box, {
31515
+ children: [jsx(StyledSkeleton, {
31516
+ width: "85%"
31517
+ }, void 0), jsx(Space, {}, void 0), jsx(StyledSkeleton, {
31518
+ width: "60%"
31519
+ }, void 0)]
31520
+ }, void 0), jsx(Space, {
31521
+ size: "md"
31522
+ }, void 0)]
31523
+ }), void 0), jsxs(GridItem, Object.assign({
31524
+ colSpan: 6
31525
+ }, {
31526
+ children: [jsx(StyledSkeleton, {
31527
+ width: "50%"
31528
+ }, void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31529
+ inline: true,
31530
+ borderRadius: 20,
31531
+ baseColor: colors$4.gray150,
31532
+ highlightColor: "#FAFAFA"
31533
+ }, {
31534
+ children: [jsx(ReactSkeleton, {
31535
+ style: {
31536
+ marginRight: 8
31537
+ },
31538
+ height: 12,
31539
+ width: 12,
31540
+ circle: true
31541
+ }, void 0), jsx(ReactSkeleton, {
31542
+ height: 12,
31543
+ width: "85%"
31544
+ }, void 0)]
31545
+ }), void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31546
+ inline: true,
31547
+ borderRadius: 20,
31548
+ baseColor: colors$4.gray150,
31549
+ highlightColor: "#FAFAFA"
31550
+ }, {
31551
+ children: [jsx(ReactSkeleton, {
31552
+ style: {
31553
+ marginRight: 8
31554
+ },
31555
+ height: 12,
31556
+ width: 12,
31557
+ circle: true
31558
+ }, void 0), jsx(ReactSkeleton, {
31559
+ height: 12,
31560
+ width: "85%"
31561
+ }, void 0)]
31562
+ }), void 0), jsx(Space, {}, void 0), jsxs(SkeletonTheme, Object.assign({
31563
+ inline: true,
31564
+ borderRadius: 20,
31565
+ baseColor: colors$4.gray150,
31566
+ highlightColor: "#FAFAFA"
31567
+ }, {
31568
+ children: [jsx(ReactSkeleton, {
31569
+ style: {
31570
+ marginRight: 8
31571
+ },
31572
+ height: 12,
31573
+ width: 12,
31574
+ circle: true
31575
+ }, void 0), jsx(ReactSkeleton, {
31576
+ height: 12,
31577
+ width: "85%"
31578
+ }, void 0)]
31579
+ }), void 0)]
31580
+ }), void 0)]
31581
+ }, void 0)
31582
+ }, void 0)
31583
+ }), void 0)]
31584
+ }), void 0);
31585
+ }
31586
+ }
31587
+
31588
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
31162
31589
  const StyledPaper = styled(Paper, {
31163
31590
  borderRadius: '10px 10px 0 0',
31164
31591
  padding: 15,
@@ -32659,4 +33086,4 @@ const useToggle = initialValue => {
32659
33086
  return useReducer(toggleReducer, initialValue);
32660
33087
  };
32661
33088
 
32662
- export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$3 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MajooProvider, MapPicker, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_PICKER, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptions, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
33089
+ export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$3 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card$1 as Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MajooProvider, MapPicker, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_PICKER, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptions, defaultFetchDataParams, pickerReducer, useListOption, useToggle };