@majoo-ui/react 1.52.1 → 1.52.2-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.umd.js CHANGED
@@ -56,7 +56,7 @@
56
56
  var request__default = /*#__PURE__*/_interopDefaultLegacy(request);
57
57
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
58
58
 
59
- var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
59
+ var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
60
60
 
61
61
  function ThemeProvider({
62
62
  theme,
@@ -85,7 +85,7 @@
85
85
  };
86
86
 
87
87
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
88
- var global$U =
88
+ var global$s =
89
89
  // eslint-disable-next-line es-x/no-global-this -- safe
90
90
  check(typeof globalThis == 'object' && globalThis) ||
91
91
  check(typeof window == 'object' && window) ||
@@ -179,31 +179,28 @@
179
179
  return stringSlice$b(toString$j(it), 8, -1);
180
180
  };
181
181
 
182
- var global$T = global$U;
183
182
  var uncurryThis$v = functionUncurryThis;
184
183
  var fails$q = fails$t;
185
184
  var classof$8 = classofRaw$1;
186
185
 
187
- var Object$5 = global$T.Object;
186
+ var $Object$4 = Object;
188
187
  var split$3 = uncurryThis$v(''.split);
189
188
 
190
189
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
191
190
  var indexedObject = fails$q(function () {
192
191
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
193
192
  // eslint-disable-next-line no-prototype-builtins -- safe
194
- return !Object$5('z').propertyIsEnumerable(0);
193
+ return !$Object$4('z').propertyIsEnumerable(0);
195
194
  }) ? function (it) {
196
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
197
- } : Object$5;
195
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
196
+ } : $Object$4;
198
197
 
199
- var global$S = global$U;
200
-
201
- var TypeError$j = global$S.TypeError;
198
+ var $TypeError$f = TypeError;
202
199
 
203
200
  // `RequireObjectCoercible` abstract operation
204
201
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
205
202
  var requireObjectCoercible$a = function (it) {
206
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
203
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
207
204
  return it;
208
205
  };
209
206
 
@@ -227,7 +224,7 @@
227
224
  return typeof it == 'object' ? it !== null : isCallable$o(it);
228
225
  };
229
226
 
230
- var global$R = global$U;
227
+ var global$r = global$s;
231
228
  var isCallable$n = isCallable$p;
232
229
 
233
230
  var aFunction = function (argument) {
@@ -235,7 +232,7 @@
235
232
  };
236
233
 
237
234
  var getBuiltIn$8 = function (namespace, method) {
238
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
235
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
239
236
  };
240
237
 
241
238
  var uncurryThis$u = functionUncurryThis;
@@ -246,11 +243,11 @@
246
243
 
247
244
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
248
245
 
249
- var global$Q = global$U;
246
+ var global$q = global$s;
250
247
  var userAgent$5 = engineUserAgent;
251
248
 
252
- var process$3 = global$Q.process;
253
- var Deno$1 = global$Q.Deno;
249
+ var process$3 = global$q.process;
250
+ var Deno$1 = global$q.Deno;
254
251
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
255
252
  var v8 = versions && versions.v8;
256
253
  var match, version;
@@ -297,43 +294,39 @@
297
294
  && !Symbol.sham
298
295
  && typeof Symbol.iterator == 'symbol';
299
296
 
300
- var global$P = global$U;
301
297
  var getBuiltIn$6 = getBuiltIn$8;
302
298
  var isCallable$m = isCallable$p;
303
299
  var isPrototypeOf$5 = objectIsPrototypeOf;
304
300
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
305
301
 
306
- var Object$4 = global$P.Object;
302
+ var $Object$3 = Object;
307
303
 
308
304
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
309
305
  return typeof it == 'symbol';
310
306
  } : function (it) {
311
307
  var $Symbol = getBuiltIn$6('Symbol');
312
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
308
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
313
309
  };
314
310
 
315
- var global$O = global$U;
316
-
317
- var String$6 = global$O.String;
311
+ var $String$4 = String;
318
312
 
319
- var tryToString$4 = function (argument) {
313
+ var tryToString$5 = function (argument) {
320
314
  try {
321
- return String$6(argument);
315
+ return $String$4(argument);
322
316
  } catch (error) {
323
317
  return 'Object';
324
318
  }
325
319
  };
326
320
 
327
- var global$N = global$U;
328
321
  var isCallable$l = isCallable$p;
329
- var tryToString$3 = tryToString$4;
322
+ var tryToString$4 = tryToString$5;
330
323
 
331
- var TypeError$i = global$N.TypeError;
324
+ var $TypeError$e = TypeError;
332
325
 
333
326
  // `Assert: IsCallable(argument) is true`
334
327
  var aCallable$9 = function (argument) {
335
328
  if (isCallable$l(argument)) return argument;
336
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
329
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
337
330
  };
338
331
 
339
332
  var aCallable$8 = aCallable$9;
@@ -345,12 +338,11 @@
345
338
  return func == null ? undefined : aCallable$8(func);
346
339
  };
347
340
 
348
- var global$M = global$U;
349
341
  var call$l = functionCall;
350
342
  var isCallable$k = isCallable$p;
351
343
  var isObject$c = isObject$d;
352
344
 
353
- var TypeError$h = global$M.TypeError;
345
+ var $TypeError$d = TypeError;
354
346
 
355
347
  // `OrdinaryToPrimitive` abstract operation
356
348
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -359,31 +351,31 @@
359
351
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
360
352
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
361
353
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
362
- throw TypeError$h("Can't convert object to primitive value");
354
+ throw $TypeError$d("Can't convert object to primitive value");
363
355
  };
364
356
 
365
357
  var shared$4 = {exports: {}};
366
358
 
367
359
  var isPure = false;
368
360
 
369
- var global$L = global$U;
361
+ var global$p = global$s;
370
362
 
371
363
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
372
- var defineProperty$7 = Object.defineProperty;
364
+ var defineProperty$8 = Object.defineProperty;
373
365
 
374
- var setGlobal$3 = function (key, value) {
366
+ var defineGlobalProperty$3 = function (key, value) {
375
367
  try {
376
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
368
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
377
369
  } catch (error) {
378
- global$L[key] = value;
370
+ global$p[key] = value;
379
371
  } return value;
380
372
  };
381
373
 
382
- var global$K = global$U;
383
- var setGlobal$2 = setGlobal$3;
374
+ var global$o = global$s;
375
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
384
376
 
385
377
  var SHARED = '__core-js_shared__';
386
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
378
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
387
379
 
388
380
  var sharedStore = store$3;
389
381
 
@@ -392,22 +384,21 @@
392
384
  (shared$4.exports = function (key, value) {
393
385
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
394
386
  })('versions', []).push({
395
- version: '3.22.5',
387
+ version: '3.24.1',
396
388
  mode: 'global',
397
389
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
398
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
390
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
399
391
  source: 'https://github.com/zloirock/core-js'
400
392
  });
401
393
 
402
- var global$J = global$U;
403
394
  var requireObjectCoercible$8 = requireObjectCoercible$a;
404
395
 
405
- var Object$3 = global$J.Object;
396
+ var $Object$2 = Object;
406
397
 
407
398
  // `ToObject` abstract operation
408
399
  // https://tc39.es/ecma262/#sec-toobject
409
400
  var toObject$7 = function (argument) {
410
- return Object$3(requireObjectCoercible$8(argument));
401
+ return $Object$2(requireObjectCoercible$8(argument));
411
402
  };
412
403
 
413
404
  var uncurryThis$t = functionUncurryThis;
@@ -432,7 +423,7 @@
432
423
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
433
424
  };
434
425
 
435
- var global$I = global$U;
426
+ var global$n = global$s;
436
427
  var shared$3 = shared$4.exports;
437
428
  var hasOwn$e = hasOwnProperty_1;
438
429
  var uid$1 = uid$2;
@@ -440,7 +431,7 @@
440
431
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
441
432
 
442
433
  var WellKnownSymbolsStore = shared$3('wks');
443
- var Symbol$7 = global$I.Symbol;
434
+ var Symbol$7 = global$n.Symbol;
444
435
  var symbolFor = Symbol$7 && Symbol$7['for'];
445
436
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
446
437
 
@@ -457,7 +448,6 @@
457
448
  } return WellKnownSymbolsStore[name];
458
449
  };
459
450
 
460
- var global$H = global$U;
461
451
  var call$k = functionCall;
462
452
  var isObject$b = isObject$d;
463
453
  var isSymbol$5 = isSymbol$6;
@@ -465,7 +455,7 @@
465
455
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
466
456
  var wellKnownSymbol$k = wellKnownSymbol$l;
467
457
 
468
- var TypeError$g = global$H.TypeError;
458
+ var $TypeError$c = TypeError;
469
459
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
470
460
 
471
461
  // `ToPrimitive` abstract operation
@@ -478,7 +468,7 @@
478
468
  if (pref === undefined) pref = 'default';
479
469
  result = call$k(exoticToPrim, input, pref);
480
470
  if (!isObject$b(result) || isSymbol$5(result)) return result;
481
- throw TypeError$g("Can't convert object to primitive value");
471
+ throw $TypeError$c("Can't convert object to primitive value");
482
472
  }
483
473
  if (pref === undefined) pref = 'number';
484
474
  return ordinaryToPrimitive(input, pref);
@@ -494,10 +484,10 @@
494
484
  return isSymbol$4(key) ? key : key + '';
495
485
  };
496
486
 
497
- var global$G = global$U;
487
+ var global$m = global$s;
498
488
  var isObject$a = isObject$d;
499
489
 
500
- var document$3 = global$G.document;
490
+ var document$3 = global$m.document;
501
491
  // typeof document.createElement is 'object' in old IE
502
492
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
503
493
 
@@ -555,26 +545,24 @@
555
545
  }).prototype != 42;
556
546
  });
557
547
 
558
- var global$F = global$U;
559
548
  var isObject$9 = isObject$d;
560
549
 
561
- var String$5 = global$F.String;
562
- var TypeError$f = global$F.TypeError;
550
+ var $String$3 = String;
551
+ var $TypeError$b = TypeError;
563
552
 
564
553
  // `Assert: Type(argument) is Object`
565
554
  var anObject$i = function (argument) {
566
555
  if (isObject$9(argument)) return argument;
567
- throw TypeError$f(String$5(argument) + ' is not an object');
556
+ throw $TypeError$b($String$3(argument) + ' is not an object');
568
557
  };
569
558
 
570
- var global$E = global$U;
571
559
  var DESCRIPTORS$b = descriptors;
572
560
  var IE8_DOM_DEFINE = ie8DomDefine;
573
561
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
574
562
  var anObject$h = anObject$i;
575
563
  var toPropertyKey$1 = toPropertyKey$3;
576
564
 
577
- var TypeError$e = global$E.TypeError;
565
+ var $TypeError$a = TypeError;
578
566
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
579
567
  var $defineProperty = Object.defineProperty;
580
568
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -607,7 +595,7 @@
607
595
  if (IE8_DOM_DEFINE) try {
608
596
  return $defineProperty(O, P, Attributes);
609
597
  } catch (error) { /* empty */ }
610
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
598
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
611
599
  if ('value' in Attributes) O[P] = Attributes.value;
612
600
  return O;
613
601
  };
@@ -616,7 +604,7 @@
616
604
  var definePropertyModule$5 = objectDefineProperty;
617
605
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
618
606
 
619
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
607
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
620
608
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
621
609
  } : function (object, key, value) {
622
610
  object[key] = value;
@@ -658,11 +646,11 @@
658
646
 
659
647
  var inspectSource$4 = store$1.inspectSource;
660
648
 
661
- var global$D = global$U;
649
+ var global$l = global$s;
662
650
  var isCallable$i = isCallable$p;
663
651
  var inspectSource$3 = inspectSource$4;
664
652
 
665
- var WeakMap$1 = global$D.WeakMap;
653
+ var WeakMap$1 = global$l.WeakMap;
666
654
 
667
655
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
668
656
 
@@ -678,18 +666,18 @@
678
666
  var hiddenKeys$4 = {};
679
667
 
680
668
  var NATIVE_WEAK_MAP = nativeWeakMap;
681
- var global$C = global$U;
669
+ var global$k = global$s;
682
670
  var uncurryThis$q = functionUncurryThis;
683
671
  var isObject$8 = isObject$d;
684
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
672
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
685
673
  var hasOwn$b = hasOwnProperty_1;
686
674
  var shared$1 = sharedStore;
687
675
  var sharedKey$2 = sharedKey$3;
688
676
  var hiddenKeys$3 = hiddenKeys$4;
689
677
 
690
678
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
691
- var TypeError$d = global$C.TypeError;
692
- var WeakMap = global$C.WeakMap;
679
+ var TypeError$4 = global$k.TypeError;
680
+ var WeakMap = global$k.WeakMap;
693
681
  var set$1, get$1, has;
694
682
 
695
683
  var enforce = function (it) {
@@ -700,7 +688,7 @@
700
688
  return function (it) {
701
689
  var state;
702
690
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
703
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
691
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
704
692
  } return state;
705
693
  };
706
694
  };
@@ -711,7 +699,7 @@
711
699
  var wmhas = uncurryThis$q(store.has);
712
700
  var wmset = uncurryThis$q(store.set);
713
701
  set$1 = function (it, metadata) {
714
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
702
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
715
703
  metadata.facade = it;
716
704
  wmset(store, it, metadata);
717
705
  return metadata;
@@ -726,9 +714,9 @@
726
714
  var STATE = sharedKey$2('state');
727
715
  hiddenKeys$3[STATE] = true;
728
716
  set$1 = function (it, metadata) {
729
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
717
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
730
718
  metadata.facade = it;
731
- createNonEnumerableProperty$6(it, STATE, metadata);
719
+ createNonEnumerableProperty$5(it, STATE, metadata);
732
720
  return metadata;
733
721
  };
734
722
  get$1 = function (it) {
@@ -758,10 +746,10 @@
758
746
  var enforceInternalState$1 = InternalStateModule$5.enforce;
759
747
  var getInternalState$3 = InternalStateModule$5.get;
760
748
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
761
- var defineProperty$6 = Object.defineProperty;
749
+ var defineProperty$7 = Object.defineProperty;
762
750
 
763
751
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
764
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
752
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
765
753
  });
766
754
 
767
755
  var TEMPLATE = String(String).split('String');
@@ -773,16 +761,18 @@
773
761
  if (options && options.getter) name = 'get ' + name;
774
762
  if (options && options.setter) name = 'set ' + name;
775
763
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
776
- defineProperty$6(value, 'name', { value: name, configurable: true });
764
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
765
+ else value.name = name;
777
766
  }
778
767
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
779
- defineProperty$6(value, 'length', { value: options.arity });
768
+ defineProperty$7(value, 'length', { value: options.arity });
780
769
  }
781
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
782
- if (DESCRIPTORS$8) try {
783
- defineProperty$6(value, 'prototype', { writable: false });
784
- } catch (error) { /* empty */ }
785
- } else value.prototype = undefined;
770
+ try {
771
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
772
+ if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
773
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
774
+ } else if (value.prototype) value.prototype = undefined;
775
+ } catch (error) { /* empty */ }
786
776
  var state = enforceInternalState$1(value);
787
777
  if (!hasOwn$a(state, 'source')) {
788
778
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -795,30 +785,32 @@
795
785
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
796
786
  }, 'toString');
797
787
 
798
- var global$B = global$U;
799
788
  var isCallable$g = isCallable$p;
800
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
789
+ var definePropertyModule$4 = objectDefineProperty;
801
790
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
802
- var setGlobal$1 = setGlobal$3;
791
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
803
792
 
804
793
  var defineBuiltIn$b = function (O, key, value, options) {
805
- var unsafe = options ? !!options.unsafe : false;
806
- var simple = options ? !!options.enumerable : false;
807
- var noTargetGet = options ? !!options.noTargetGet : false;
808
- var name = options && options.name !== undefined ? options.name : key;
794
+ if (!options) options = {};
795
+ var simple = options.enumerable;
796
+ var name = options.name !== undefined ? options.name : key;
809
797
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
810
- if (O === global$B) {
798
+ if (options.global) {
811
799
  if (simple) O[key] = value;
812
- else setGlobal$1(key, value);
813
- return O;
814
- } else if (!unsafe) {
815
- delete O[key];
816
- } else if (!noTargetGet && O[key]) {
817
- simple = true;
818
- }
819
- if (simple) O[key] = value;
820
- else createNonEnumerableProperty$5(O, key, value);
821
- return O;
800
+ else defineGlobalProperty$1(key, value);
801
+ } else {
802
+ try {
803
+ if (!options.unsafe) delete O[key];
804
+ else if (O[key]) simple = true;
805
+ } catch (error) { /* empty */ }
806
+ if (simple) O[key] = value;
807
+ else definePropertyModule$4.f(O, key, {
808
+ value: value,
809
+ enumerable: false,
810
+ configurable: !options.nonConfigurable,
811
+ writable: !options.nonWritable
812
+ });
813
+ } return O;
822
814
  };
823
815
 
824
816
  var objectGetOwnPropertyNames = {};
@@ -826,12 +818,22 @@
826
818
  var ceil = Math.ceil;
827
819
  var floor$5 = Math.floor;
828
820
 
821
+ // `Math.trunc` method
822
+ // https://tc39.es/ecma262/#sec-math.trunc
823
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
824
+ var mathTrunc = Math.trunc || function trunc(x) {
825
+ var n = +x;
826
+ return (n > 0 ? floor$5 : ceil)(n);
827
+ };
828
+
829
+ var trunc = mathTrunc;
830
+
829
831
  // `ToIntegerOrInfinity` abstract operation
830
832
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
831
833
  var toIntegerOrInfinity$6 = function (argument) {
832
834
  var number = +argument;
833
- // eslint-disable-next-line no-self-compare -- safe
834
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
835
+ // eslint-disable-next-line no-self-compare -- NaN check
836
+ return number !== number || number === 0 ? 0 : trunc(number);
835
837
  };
836
838
 
837
839
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -965,11 +967,11 @@
965
967
  var hasOwn$8 = hasOwnProperty_1;
966
968
  var ownKeys = ownKeys$1;
967
969
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
968
- var definePropertyModule$4 = objectDefineProperty;
970
+ var definePropertyModule$3 = objectDefineProperty;
969
971
 
970
972
  var copyConstructorProperties$2 = function (target, source, exceptions) {
971
973
  var keys = ownKeys(source);
972
- var defineProperty = definePropertyModule$4.f;
974
+ var defineProperty = definePropertyModule$3.f;
973
975
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
974
976
  for (var i = 0; i < keys.length; i++) {
975
977
  var key = keys[i];
@@ -1002,28 +1004,28 @@
1002
1004
 
1003
1005
  var isForced_1 = isForced$3;
1004
1006
 
1005
- var global$A = global$U;
1007
+ var global$j = global$s;
1006
1008
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1007
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1009
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
1008
1010
  var defineBuiltIn$a = defineBuiltIn$b;
1009
- var setGlobal = setGlobal$3;
1011
+ var defineGlobalProperty = defineGlobalProperty$3;
1010
1012
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1011
1013
  var isForced$2 = isForced_1;
1012
1014
 
1013
1015
  /*
1014
- options.target - name of the target object
1015
- options.global - target is the global object
1016
- options.stat - export as static methods of target
1017
- options.proto - export as prototype methods of target
1018
- options.real - real prototype method for the `pure` version
1019
- options.forced - export even if the native feature is available
1020
- options.bind - bind methods to the target, required for the `pure` version
1021
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1022
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1023
- options.sham - add a flag to not completely full polyfills
1024
- options.enumerable - export as enumerable property
1025
- options.noTargetGet - prevent calling a getter on target
1026
- options.name - the .name of the function if it does not match the key
1016
+ options.target - name of the target object
1017
+ options.global - target is the global object
1018
+ options.stat - export as static methods of target
1019
+ options.proto - export as prototype methods of target
1020
+ options.real - real prototype method for the `pure` version
1021
+ options.forced - export even if the native feature is available
1022
+ options.bind - bind methods to the target, required for the `pure` version
1023
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1024
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1025
+ options.sham - add a flag to not completely full polyfills
1026
+ options.enumerable - export as enumerable property
1027
+ options.dontCallGetSet - prevent calling a getter on target
1028
+ options.name - the .name of the function if it does not match the key
1027
1029
  */
1028
1030
  var _export = function (options, source) {
1029
1031
  var TARGET = options.target;
@@ -1031,15 +1033,15 @@
1031
1033
  var STATIC = options.stat;
1032
1034
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1033
1035
  if (GLOBAL) {
1034
- target = global$A;
1036
+ target = global$j;
1035
1037
  } else if (STATIC) {
1036
- target = global$A[TARGET] || setGlobal(TARGET, {});
1038
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1037
1039
  } else {
1038
- target = (global$A[TARGET] || {}).prototype;
1040
+ target = (global$j[TARGET] || {}).prototype;
1039
1041
  }
1040
1042
  if (target) for (key in source) {
1041
1043
  sourceProperty = source[key];
1042
- if (options.noTargetGet) {
1044
+ if (options.dontCallGetSet) {
1043
1045
  descriptor = getOwnPropertyDescriptor$3(target, key);
1044
1046
  targetProperty = descriptor && descriptor.value;
1045
1047
  } else targetProperty = target[key];
@@ -1080,17 +1082,17 @@
1080
1082
  // eslint-disable-next-line es-x/no-object-assign -- safe
1081
1083
  var $assign = Object.assign;
1082
1084
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1083
- var defineProperty$5 = Object.defineProperty;
1085
+ var defineProperty$6 = Object.defineProperty;
1084
1086
  var concat$1 = uncurryThis$n([].concat);
1085
1087
 
1086
1088
  // `Object.assign` method
1087
1089
  // https://tc39.es/ecma262/#sec-object.assign
1088
1090
  var objectAssign = !$assign || fails$k(function () {
1089
1091
  // should have correct order of operations (Edge bug)
1090
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1092
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1091
1093
  enumerable: true,
1092
1094
  get: function () {
1093
- defineProperty$5(this, 'b', {
1095
+ defineProperty$6(this, 'b', {
1094
1096
  value: 3,
1095
1097
  enumerable: false
1096
1098
  });
@@ -1513,7 +1515,7 @@
1513
1515
 
1514
1516
  var DESCRIPTORS$6 = descriptors;
1515
1517
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1516
- var definePropertyModule$3 = objectDefineProperty;
1518
+ var definePropertyModule$2 = objectDefineProperty;
1517
1519
  var anObject$f = anObject$i;
1518
1520
  var toIndexedObject$1 = toIndexedObject$5;
1519
1521
  var objectKeys = objectKeys$2;
@@ -1528,7 +1530,7 @@
1528
1530
  var length = keys.length;
1529
1531
  var index = 0;
1530
1532
  var key;
1531
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1533
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1532
1534
  return O;
1533
1535
  };
1534
1536
 
@@ -1623,7 +1625,7 @@
1623
1625
 
1624
1626
  var wellKnownSymbol$j = wellKnownSymbol$l;
1625
1627
  var create$3 = objectCreate;
1626
- var definePropertyModule$2 = objectDefineProperty;
1628
+ var defineProperty$5 = objectDefineProperty.f;
1627
1629
 
1628
1630
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1629
1631
  var ArrayPrototype$1 = Array.prototype;
@@ -1631,7 +1633,7 @@
1631
1633
  // Array.prototype[@@unscopables]
1632
1634
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1633
1635
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1634
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1636
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1635
1637
  configurable: true,
1636
1638
  value: create$3(null)
1637
1639
  });
@@ -1653,7 +1655,6 @@
1653
1655
  return Object.getPrototypeOf(new F()) !== F.prototype;
1654
1656
  });
1655
1657
 
1656
- var global$z = global$U;
1657
1658
  var hasOwn$7 = hasOwnProperty_1;
1658
1659
  var isCallable$e = isCallable$p;
1659
1660
  var toObject$4 = toObject$7;
@@ -1661,18 +1662,19 @@
1661
1662
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1662
1663
 
1663
1664
  var IE_PROTO = sharedKey('IE_PROTO');
1664
- var Object$2 = global$z.Object;
1665
- var ObjectPrototype = Object$2.prototype;
1665
+ var $Object$1 = Object;
1666
+ var ObjectPrototype = $Object$1.prototype;
1666
1667
 
1667
1668
  // `Object.getPrototypeOf` method
1668
1669
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1669
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1670
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1671
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1670
1672
  var object = toObject$4(O);
1671
1673
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1672
1674
  var constructor = object.constructor;
1673
1675
  if (isCallable$e(constructor) && object instanceof constructor) {
1674
1676
  return constructor.prototype;
1675
- } return object instanceof Object$2 ? ObjectPrototype : null;
1677
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1676
1678
  };
1677
1679
 
1678
1680
  var fails$i = fails$t;
@@ -1749,15 +1751,14 @@
1749
1751
  return IteratorConstructor;
1750
1752
  };
1751
1753
 
1752
- var global$y = global$U;
1753
1754
  var isCallable$c = isCallable$p;
1754
1755
 
1755
- var String$4 = global$y.String;
1756
- var TypeError$c = global$y.TypeError;
1756
+ var $String$2 = String;
1757
+ var $TypeError$9 = TypeError;
1757
1758
 
1758
1759
  var aPossiblePrototype$1 = function (argument) {
1759
1760
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1760
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1761
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1761
1762
  };
1762
1763
 
1763
1764
  /* eslint-disable no-proto -- safe */
@@ -1797,7 +1798,7 @@
1797
1798
  var getPrototypeOf = objectGetPrototypeOf;
1798
1799
  var setPrototypeOf$2 = objectSetPrototypeOf;
1799
1800
  var setToStringTag$3 = setToStringTag$5;
1800
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1801
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1801
1802
  var defineBuiltIn$8 = defineBuiltIn$b;
1802
1803
  var wellKnownSymbol$g = wellKnownSymbol$l;
1803
1804
  var Iterators$3 = iterators;
@@ -1990,11 +1991,11 @@
1990
1991
 
1991
1992
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1992
1993
 
1993
- var global$x = global$U;
1994
+ var global$i = global$s;
1994
1995
  var DOMIterables = domIterables;
1995
1996
  var DOMTokenListPrototype = domTokenListPrototype;
1996
1997
  var ArrayIteratorMethods = es_array_iterator;
1997
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1998
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1998
1999
  var wellKnownSymbol$f = wellKnownSymbol$l;
1999
2000
 
2000
2001
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -2024,7 +2025,7 @@
2024
2025
  };
2025
2026
 
2026
2027
  for (var COLLECTION_NAME in DOMIterables) {
2027
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
2028
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
2028
2029
  }
2029
2030
 
2030
2031
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2038,14 +2039,13 @@
2038
2039
 
2039
2040
  var toStringTagSupport = String(test$1) === '[object z]';
2040
2041
 
2041
- var global$w = global$U;
2042
2042
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2043
2043
  var isCallable$a = isCallable$p;
2044
2044
  var classofRaw = classofRaw$1;
2045
2045
  var wellKnownSymbol$d = wellKnownSymbol$l;
2046
2046
 
2047
2047
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
2048
- var Object$1 = global$w.Object;
2048
+ var $Object = Object;
2049
2049
 
2050
2050
  // ES3 wrong here
2051
2051
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2062,26 +2062,25 @@
2062
2062
  var O, tag, result;
2063
2063
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2064
2064
  // @@toStringTag case
2065
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2065
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2066
2066
  // builtinTag case
2067
2067
  : CORRECT_ARGUMENTS ? classofRaw(O)
2068
2068
  // ES3 arguments fallback
2069
2069
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
2070
2070
  };
2071
2071
 
2072
- var global$v = global$U;
2073
2072
  var classof$6 = classof$7;
2074
2073
 
2075
- var String$3 = global$v.String;
2074
+ var $String$1 = String;
2076
2075
 
2077
2076
  var toString$h = function (argument) {
2078
2077
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2079
- return String$3(argument);
2078
+ return $String$1(argument);
2080
2079
  };
2081
2080
 
2082
2081
  var $$k = _export;
2083
2082
  var DESCRIPTORS$4 = descriptors;
2084
- var global$u = global$U;
2083
+ var global$h = global$s;
2085
2084
  var uncurryThis$l = functionUncurryThis;
2086
2085
  var hasOwn$5 = hasOwnProperty_1;
2087
2086
  var isCallable$9 = isCallable$p;
@@ -2090,7 +2089,7 @@
2090
2089
  var defineProperty$2 = objectDefineProperty.f;
2091
2090
  var copyConstructorProperties = copyConstructorProperties$2;
2092
2091
 
2093
- var NativeSymbol = global$u.Symbol;
2092
+ var NativeSymbol = global$h.Symbol;
2094
2093
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
2095
2094
 
2096
2095
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2170,14 +2169,13 @@
2170
2169
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2171
2170
  };
2172
2171
 
2173
- var global$t = global$U;
2174
2172
  var isRegExp$2 = isRegexp;
2175
2173
 
2176
- var TypeError$b = global$t.TypeError;
2174
+ var $TypeError$8 = TypeError;
2177
2175
 
2178
2176
  var notARegexp = function (it) {
2179
2177
  if (isRegExp$2(it)) {
2180
- throw TypeError$b("The method doesn't accept regular expressions");
2178
+ throw $TypeError$8("The method doesn't accept regular expressions");
2181
2179
  } return it;
2182
2180
  };
2183
2181
 
@@ -2351,7 +2349,7 @@
2351
2349
 
2352
2350
  const _excluded$A = ["children"],
2353
2351
  _excluded2$2 = ["children"];
2354
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2352
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
2355
2353
  const GridComponent = styled('div', {
2356
2354
  display: 'grid',
2357
2355
  variants: {
@@ -2610,7 +2608,7 @@
2610
2608
  GridItem.displayName = 'Grid Item';
2611
2609
 
2612
2610
  const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
2613
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2611
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
2614
2612
  const StyledDiv$3 = styled(Flex$1, {
2615
2613
  justifyContent: 'center',
2616
2614
  marginLeft: 'auto',
@@ -2620,7 +2618,7 @@
2620
2618
  backgroundColor: '$white',
2621
2619
  width: '100%'
2622
2620
  },
2623
- '@md': {
2621
+ '@lg': {
2624
2622
  padding: '0',
2625
2623
  backgroundColor: '$bgGray'
2626
2624
  },
@@ -2928,7 +2926,7 @@
2928
2926
  });
2929
2927
 
2930
2928
  const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2931
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2929
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
2932
2930
  const TOAST_WIDTH = 576;
2933
2931
  const ANIMATION_DURATION = 400;
2934
2932
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3275,7 +3273,7 @@
3275
3273
 
3276
3274
  const ToastContext = /*#__PURE__*/React__namespace.createContext({});
3277
3275
 
3278
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3276
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
3279
3277
  const ToastBox = styled(Flex$1, {
3280
3278
  position: 'fixed',
3281
3279
  variants: {
@@ -3351,7 +3349,7 @@
3351
3349
  };
3352
3350
 
3353
3351
  const _excluded$x = ["id"];
3354
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3352
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
3355
3353
  let toastCount = 0;
3356
3354
 
3357
3355
  const ToastProvider = ({
@@ -3436,7 +3434,7 @@
3436
3434
  }));
3437
3435
  };
3438
3436
 
3439
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3437
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
3440
3438
 
3441
3439
  function MajooProvider({
3442
3440
  children,
@@ -3471,7 +3469,7 @@
3471
3469
  };
3472
3470
 
3473
3471
  const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3474
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3472
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
3475
3473
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
3476
3474
  const StyledBanner = styled(Flex$1, {
3477
3475
  maxWidth: '100%',
@@ -3559,13 +3557,13 @@
3559
3557
  }
3560
3558
  }), props.children);
3561
3559
  BannerTitle.propTypes = {
3562
- /**
3563
- Additional styles of title
3560
+ /**
3561
+ Additional styles of title
3564
3562
  */
3565
3563
  css: PropTypes__default["default"].object,
3566
3564
 
3567
- /**
3568
- Title of the Banner to be displayed
3565
+ /**
3566
+ Title of the Banner to be displayed
3569
3567
  */
3570
3568
  children: PropTypes__default["default"].string
3571
3569
  };
@@ -3581,13 +3579,13 @@
3581
3579
  }
3582
3580
  }), props.children);
3583
3581
  BannerDescription.propTypes = {
3584
- /**
3585
- Additional styles of description
3582
+ /**
3583
+ Additional styles of description
3586
3584
  */
3587
3585
  css: PropTypes__default["default"].object,
3588
3586
 
3589
- /**
3590
- Description of the Banner to be displayed
3587
+ /**
3588
+ Description of the Banner to be displayed
3591
3589
  */
3592
3590
  children: PropTypes__default["default"].string
3593
3591
  };
@@ -3616,18 +3614,18 @@
3616
3614
  }
3617
3615
  }, children));
3618
3616
  BannerLink.propTypes = {
3619
- /**
3620
- The purpose of a clickable link, presented in url
3617
+ /**
3618
+ The purpose of a clickable link, presented in url
3621
3619
  */
3622
3620
  link: PropTypes__default["default"].string,
3623
3621
 
3624
- /**
3625
- Text of BannerLink to be displayed
3622
+ /**
3623
+ Text of BannerLink to be displayed
3626
3624
  */
3627
3625
  children: PropTypes__default["default"].string,
3628
3626
 
3629
- /**
3630
- Additional theme of BannerLink is presented by color variants
3627
+ /**
3628
+ Additional theme of BannerLink is presented by color variants
3631
3629
  */
3632
3630
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed'])
3633
3631
  };
@@ -3645,7 +3643,7 @@
3645
3643
  onClick: e => {
3646
3644
  e.preventDefault();
3647
3645
  e.stopPropagation();
3648
- value === null || value === void 0 ? void 0 : value.onRemove();
3646
+ value == null ? void 0 : value.onRemove();
3649
3647
  },
3650
3648
  __self: undefined,
3651
3649
  __source: {
@@ -3722,7 +3720,7 @@
3722
3720
  onClick: e => {
3723
3721
  e.preventDefault();
3724
3722
  e.stopPropagation();
3725
- props === null || props === void 0 ? void 0 : props.onRemove();
3723
+ props == null ? void 0 : props.onRemove();
3726
3724
  },
3727
3725
  closeCenter: !props.title && !props.link,
3728
3726
  __self: undefined,
@@ -3818,43 +3816,43 @@
3818
3816
  BannerTitle.displayName = 'BannerTitle';
3819
3817
  BannerDescription.displayName = 'BannerDescription';
3820
3818
  Banner.propTypes = {
3821
- /**
3822
- Title of banner to be displayed
3819
+ /**
3820
+ Title of banner to be displayed
3823
3821
  */
3824
3822
  title: PropTypes__default["default"].string,
3825
3823
 
3826
- /**
3827
- Description of banner to be displayed
3824
+ /**
3825
+ Description of banner to be displayed
3828
3826
  */
3829
3827
  description: PropTypes__default["default"].string,
3830
3828
 
3831
- /**
3832
- The banner theme is presented in color variants
3829
+ /**
3830
+ The banner theme is presented in color variants
3833
3831
  */
3834
3832
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed']),
3835
3833
 
3836
- /**
3837
- The purpose of a clickable link, presented in url
3834
+ /**
3835
+ The purpose of a clickable link, presented in url
3838
3836
  */
3839
3837
  link: PropTypes__default["default"].string,
3840
3838
 
3841
- /**
3842
- Text of button link to be displayed
3839
+ /**
3840
+ Text of button link to be displayed
3843
3841
  */
3844
3842
  linkText: PropTypes__default["default"].string,
3845
3843
 
3846
- /**
3847
- Clickable event handler
3844
+ /**
3845
+ Clickable event handler
3848
3846
  */
3849
3847
  onClick: PropTypes__default["default"].func,
3850
3848
 
3851
- /**
3852
- Closable event handler
3849
+ /**
3850
+ Closable event handler
3853
3851
  */
3854
3852
  onRemove: PropTypes__default["default"].func,
3855
3853
 
3856
- /**
3857
- Block type banner to display in full width
3854
+ /**
3855
+ Block type banner to display in full width
3858
3856
  */
3859
3857
  bannerBlock: PropTypes__default["default"].bool
3860
3858
  };
@@ -4121,7 +4119,7 @@
4121
4119
  });
4122
4120
 
4123
4121
  const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4124
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4122
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
4125
4123
  const CardComponent = styled('div', {
4126
4124
  padding: '12px',
4127
4125
  height: 'auto',
@@ -4329,7 +4327,7 @@
4329
4327
  };
4330
4328
 
4331
4329
  const _excluded$u = ["children"];
4332
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4330
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
4333
4331
  const BreadcrumbStyle = styled('nav', {
4334
4332
  wordWrap: 'break-word',
4335
4333
  '& li+li:before': {
@@ -4603,7 +4601,7 @@
4603
4601
  Badge.displayName = 'Badge';
4604
4602
 
4605
4603
  const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4606
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4604
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
4607
4605
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
4608
4606
  width: '32px',
4609
4607
  height: '32px',
@@ -4706,7 +4704,7 @@
4706
4704
  };
4707
4705
 
4708
4706
  const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4709
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4707
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
4710
4708
  const ContainerFallback = styled(Flex$1, {
4711
4709
  boxSizing: 'border-box',
4712
4710
  border: '2px dashed #C0C4C4',
@@ -4803,58 +4801,58 @@
4803
4801
  }
4804
4802
  }
4805
4803
  Image.propTypes = {
4806
- /**
4807
- Additional className for img element.
4804
+ /**
4805
+ Additional className for img element.
4808
4806
  */
4809
4807
  className: PropTypes__default["default"].string,
4810
4808
 
4811
- /**
4812
- Which is used to specify the source of an image.
4809
+ /**
4810
+ Which is used to specify the source of an image.
4813
4811
  */
4814
4812
  src: PropTypes__default["default"].string,
4815
4813
 
4816
- /**
4817
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4814
+ /**
4815
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4818
4816
  */
4819
4817
  alt: PropTypes__default["default"].string,
4820
4818
 
4821
- /**
4822
- Additional css for img element.
4819
+ /**
4820
+ Additional css for img element.
4823
4821
  */
4824
4822
  css: PropTypes__default["default"].object,
4825
4823
 
4826
- /**
4827
- Additional css for default fallback element.
4824
+ /**
4825
+ Additional css for default fallback element.
4828
4826
  */
4829
4827
  cssFallback: PropTypes__default["default"].object,
4830
4828
 
4831
- /**
4832
- Custom width of img element.
4829
+ /**
4830
+ Custom width of img element.
4833
4831
  */
4834
4832
  width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4835
4833
 
4836
- /**
4837
- Custom height of img element.
4834
+ /**
4835
+ Custom height of img element.
4838
4836
  */
4839
4837
  height: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4840
4838
 
4841
- /**
4842
- Set image to circle.
4839
+ /**
4840
+ Set image to circle.
4843
4841
  */
4844
4842
  rounded: PropTypes__default["default"].bool,
4845
4843
 
4846
- /**
4847
- Used to specify how an <img> should be resized to fit its container.
4844
+ /**
4845
+ Used to specify how an <img> should be resized to fit its container.
4848
4846
  */
4849
4847
  objectFit: PropTypes__default["default"].string,
4850
4848
 
4851
- /**
4852
- Custom fallback if image url doesn't exist.
4849
+ /**
4850
+ Custom fallback if image url doesn't exist.
4853
4851
  */
4854
4852
  fallback: PropTypes__default["default"].string,
4855
4853
 
4856
- /**
4857
- Custom fallback title for default fallback.
4854
+ /**
4855
+ Custom fallback title for default fallback.
4858
4856
  */
4859
4857
  fallbackTitle: PropTypes__default["default"].string
4860
4858
  };
@@ -4864,7 +4862,7 @@
4864
4862
  };
4865
4863
 
4866
4864
  const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
4867
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4865
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4868
4866
  const {
4869
4867
  zIndices: zIndices$1
4870
4868
  } = core.foundations;
@@ -5065,7 +5063,7 @@
5065
5063
  };
5066
5064
 
5067
5065
  const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5068
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5066
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
5069
5067
  const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
5070
5068
  position: 'relative',
5071
5069
  overflow: 'hidden',
@@ -5326,7 +5324,7 @@
5326
5324
  FormGroup.displayName = 'FormGroup';
5327
5325
 
5328
5326
  const _excluded$p = ["children", "htmlFor", "variant", "tooltipLabel", "count", "maxCount", "labelCss"];
5329
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5327
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
5330
5328
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
5331
5329
  display: 'inline-block',
5332
5330
  fontSize: '$label',
@@ -5441,7 +5439,7 @@
5441
5439
  FormLabel.displayName = 'FormLabel';
5442
5440
 
5443
5441
  const _excluded$o = ["children", "error", "errorMessage"];
5444
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5442
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
5445
5443
  const StyledHelper = styled(Text$1, {
5446
5444
  display: 'inline-block',
5447
5445
  color: '$textSecondary',
@@ -5502,7 +5500,7 @@
5502
5500
  };
5503
5501
  FormHelper.displayName = 'FormHelper';
5504
5502
 
5505
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5503
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
5506
5504
  const CheckboxContext = /*#__PURE__*/React.createContext();
5507
5505
 
5508
5506
  const CheckboxGroup = ({
@@ -5565,7 +5563,7 @@
5565
5563
  };
5566
5564
  CheckboxGroup.displayName = 'CheckboxGroup';
5567
5565
 
5568
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5566
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
5569
5567
 
5570
5568
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5571
5569
  xmlns: "http://www.w3.org/2000/svg",
@@ -5613,7 +5611,7 @@
5613
5611
  }
5614
5612
  }));
5615
5613
 
5616
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5614
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
5617
5615
 
5618
5616
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5619
5617
  xmlns: "http://www.w3.org/2000/svg",
@@ -5662,7 +5660,7 @@
5662
5660
  }));
5663
5661
 
5664
5662
  const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5665
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5663
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
5666
5664
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
5667
5665
  alignItems: 'center',
5668
5666
  display: 'flex',
@@ -5727,7 +5725,7 @@
5727
5725
  const [isChecked, setChecked] = React.useState(false);
5728
5726
  React.useEffect(() => {
5729
5727
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5730
- setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5728
+ setChecked(checkValue != null ? checkValue : false);
5731
5729
  }, [checked, indeterminate, context]);
5732
5730
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, _extends({
5733
5731
  id: id,
@@ -5828,7 +5826,7 @@
5828
5826
  InputCheckbox.displayName = 'InputCheckbox';
5829
5827
 
5830
5828
  const _excluded$m = ["children", "size"];
5831
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5829
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
5832
5830
  const InputGroupStyle = styled('div', {
5833
5831
  display: 'flex',
5834
5832
  width: '100%',
@@ -5975,13 +5973,13 @@
5975
5973
  }));
5976
5974
  };
5977
5975
  InputGroup.propTypes = {
5978
- /**
5979
- Adjust Input Text Size
5976
+ /**
5977
+ Adjust Input Text Size
5980
5978
  */
5981
5979
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
5982
5980
 
5983
- /**
5984
- Children must be InputText, InputAddon, or InputPrefixes
5981
+ /**
5982
+ Children must be InputText, InputAddon, or InputPrefixes
5985
5983
  */
5986
5984
  children: PropTypes__default["default"].node.isRequired,
5987
5985
 
@@ -6115,7 +6113,7 @@
6115
6113
  };
6116
6114
 
6117
6115
  const _excluded$l = ["disabled", "readOnly"];
6118
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6116
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
6119
6117
  const disabledStyle = {
6120
6118
  backgroundColor: '$formDisable',
6121
6119
  color: '$textDisable',
@@ -6277,7 +6275,7 @@
6277
6275
  InputText.displayName = 'InputText';
6278
6276
 
6279
6277
  const _excluded$k = ["disabled", "readOnly"];
6280
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6278
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
6281
6279
  const StyledTextArea = styled(StyledInput$1, {
6282
6280
  variants: {
6283
6281
  size: {
@@ -6322,10 +6320,10 @@
6322
6320
 
6323
6321
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
6324
6322
 
6325
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6323
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
6326
6324
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
6327
6325
  function InputRadioGroup(props) {
6328
- return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6326
+ return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6329
6327
  value: props,
6330
6328
  __self: this,
6331
6329
  __source: {
@@ -6340,7 +6338,7 @@
6340
6338
  lineNumber: 14,
6341
6339
  columnNumber: 9
6342
6340
  }
6343
- }), React__default["default"].Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6341
+ }), React__default["default"].Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6344
6342
  style: Object.assign({}, child.props.style, {
6345
6343
  opacity: 1
6346
6344
  })
@@ -6355,7 +6353,7 @@
6355
6353
  InputRadioGroup.displayName = 'InputRadioGroup';
6356
6354
 
6357
6355
  const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps"];
6358
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6356
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
6359
6357
  const INDICATOR_BASE_STYLES = {
6360
6358
  alignItems: 'center',
6361
6359
  display: 'flex',
@@ -6531,7 +6529,7 @@
6531
6529
  value,
6532
6530
  outlined
6533
6531
  }) => {
6534
- const checked = value !== null && value !== void 0 ? value : defaultValue;
6532
+ const checked = value != null ? value : defaultValue;
6535
6533
  return /*#__PURE__*/React__default["default"].createElement(Container$8, {
6536
6534
  align: "center",
6537
6535
  gap: 4,
@@ -6606,7 +6604,7 @@
6606
6604
  InputRightElement.name = 'InputRightElement';
6607
6605
 
6608
6606
  const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
6609
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
6607
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
6610
6608
  const StyledInput = styled(NumberFormat__default["default"], {
6611
6609
  // Reset
6612
6610
  appearance: 'none',
@@ -6813,6 +6811,7 @@
6813
6811
  if (that.multiline) result += 'm';
6814
6812
  if (that.dotAll) result += 's';
6815
6813
  if (that.unicode) result += 'u';
6814
+ if (that.unicodeSets) result += 'v';
6816
6815
  if (that.sticky) result += 'y';
6817
6816
  return result;
6818
6817
  };
@@ -6831,10 +6830,10 @@
6831
6830
  };
6832
6831
 
6833
6832
  var fails$g = fails$t;
6834
- var global$s = global$U;
6833
+ var global$g = global$s;
6835
6834
 
6836
6835
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6837
- var $RegExp$2 = global$s.RegExp;
6836
+ var $RegExp$2 = global$g.RegExp;
6838
6837
 
6839
6838
  var UNSUPPORTED_Y$3 = fails$g(function () {
6840
6839
  var re = $RegExp$2('a', 'y');
@@ -6891,10 +6890,10 @@
6891
6890
  };
6892
6891
 
6893
6892
  var fails$f = fails$t;
6894
- var global$r = global$U;
6893
+ var global$f = global$s;
6895
6894
 
6896
6895
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6897
- var $RegExp$1 = global$r.RegExp;
6896
+ var $RegExp$1 = global$f.RegExp;
6898
6897
 
6899
6898
  var regexpUnsupportedDotAll = fails$f(function () {
6900
6899
  var re = $RegExp$1('.', 's');
@@ -6902,10 +6901,10 @@
6902
6901
  });
6903
6902
 
6904
6903
  var fails$e = fails$t;
6905
- var global$q = global$U;
6904
+ var global$e = global$s;
6906
6905
 
6907
6906
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6908
- var $RegExp = global$q.RegExp;
6907
+ var $RegExp = global$e.RegExp;
6909
6908
 
6910
6909
  var regexpUnsupportedNcg = fails$e(function () {
6911
6910
  var re = $RegExp('(?<a>b)', 'g');
@@ -6914,11 +6913,11 @@
6914
6913
  });
6915
6914
 
6916
6915
  var DESCRIPTORS$2 = descriptors;
6917
- var global$p = global$U;
6916
+ var global$d = global$s;
6918
6917
  var uncurryThis$j = functionUncurryThis;
6919
6918
  var isForced$1 = isForced_1;
6920
6919
  var inheritIfRequired = inheritIfRequired$1;
6921
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
6920
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
6922
6921
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
6923
6922
  var isPrototypeOf$2 = objectIsPrototypeOf;
6924
6923
  var isRegExp$1 = isRegexp;
@@ -6936,15 +6935,15 @@
6936
6935
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
6937
6936
 
6938
6937
  var MATCH = wellKnownSymbol$9('match');
6939
- var NativeRegExp = global$p.RegExp;
6938
+ var NativeRegExp = global$d.RegExp;
6940
6939
  var RegExpPrototype$2 = NativeRegExp.prototype;
6941
- var SyntaxError = global$p.SyntaxError;
6940
+ var SyntaxError = global$d.SyntaxError;
6942
6941
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
6943
6942
  var charAt$8 = uncurryThis$j(''.charAt);
6944
6943
  var replace$6 = uncurryThis$j(''.replace);
6945
6944
  var stringIndexOf$1 = uncurryThis$j(''.indexOf);
6946
6945
  var stringSlice$9 = uncurryThis$j(''.slice);
6947
- // TODO: Use only propper RegExpIdentifierName
6946
+ // TODO: Use only proper RegExpIdentifierName
6948
6947
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
6949
6948
  var re1 = /a/g;
6950
6949
  var re2 = /a/g;
@@ -7098,7 +7097,7 @@
7098
7097
 
7099
7098
  RegExpPrototype$2.constructor = RegExpWrapper;
7100
7099
  RegExpWrapper.prototype = RegExpPrototype$2;
7101
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
7100
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
7102
7101
  }
7103
7102
 
7104
7103
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7199,7 +7198,7 @@
7199
7198
  }
7200
7199
  if (NPCG_INCLUDED && match && match.length > 1) {
7201
7200
  // Fix browsers whose `exec` methods don't consistently return `undefined`
7202
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
7201
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
7203
7202
  call$f(nativeReplace, match[0], reCopy, function () {
7204
7203
  for (i = 1; i < arguments.length - 2; i++) {
7205
7204
  if (arguments[i] === undefined) match[i] = undefined;
@@ -7257,7 +7256,7 @@
7257
7256
  }
7258
7257
 
7259
7258
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7260
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7259
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
7261
7260
  const TagWrapper$3 = styled('div', {
7262
7261
  boxSizing: 'border-box',
7263
7262
  listStyle: 'none',
@@ -7434,7 +7433,7 @@
7434
7433
  };
7435
7434
 
7436
7435
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
7437
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7436
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
7438
7437
  const Wrapper$2 = styled('div', {
7439
7438
  margin: 0,
7440
7439
  flexDirection: 'column',
@@ -7570,18 +7569,18 @@
7570
7569
  const addTags = event => {
7571
7570
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
7572
7571
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
7573
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7572
+ onEnter == null ? void 0 : onEnter({
7574
7573
  key: 'duplicate',
7575
7574
  value: event.target.value
7576
7575
  });
7577
7576
  return;
7578
7577
  }
7579
7578
 
7580
- if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
7579
+ if (pattern && pattern != null && pattern.regex) {
7581
7580
  const regex = new RegExp(pattern.regex);
7582
7581
 
7583
7582
  if (!regex.test(event.target.value)) {
7584
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7583
+ onEnter == null ? void 0 : onEnter({
7585
7584
  key: 'error',
7586
7585
  value: event.target.value
7587
7586
  });
@@ -7591,7 +7590,7 @@
7591
7590
  }
7592
7591
 
7593
7592
  setRegexError(false);
7594
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7593
+ onEnter == null ? void 0 : onEnter({
7595
7594
  key: 'success',
7596
7595
  value: event.target.value
7597
7596
  });
@@ -7604,7 +7603,7 @@
7604
7603
  if (disabled || readOnly) {
7605
7604
  return tags;
7606
7605
  } else if (key === 'removeTag' || key === 'Backspace') {
7607
- onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
7606
+ onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
7608
7607
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
7609
7608
  }
7610
7609
  }; // const handleErrorMessage = () => {
@@ -7652,7 +7651,7 @@
7652
7651
  lineNumber: 180,
7653
7652
  columnNumber: 9
7654
7653
  }
7655
- })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7654
+ })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7656
7655
  color: "red",
7657
7656
  __self: this,
7658
7657
  __source: {
@@ -7734,7 +7733,7 @@
7734
7733
  };
7735
7734
 
7736
7735
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7737
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7736
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
7738
7737
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
7739
7738
  display: 'block',
7740
7739
  width: '16px',
@@ -7842,7 +7841,7 @@
7842
7841
  };
7843
7842
  InputSwitch.displayName = 'InputSwitch';
7844
7843
 
7845
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7844
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
7846
7845
 
7847
7846
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7848
7847
  width: props.size,
@@ -7903,7 +7902,7 @@
7903
7902
  size: 24
7904
7903
  };
7905
7904
 
7906
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7905
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
7907
7906
 
7908
7907
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7909
7908
  width: props.size,
@@ -7946,7 +7945,7 @@
7946
7945
  };
7947
7946
 
7948
7947
  const _excluded$e = ["size", "onChange", "css", "disabled"];
7949
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7948
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
7950
7949
 
7951
7950
  const InputSearchbox = _ref => {
7952
7951
  let {
@@ -8061,7 +8060,7 @@
8061
8060
  var regexpExec$2 = regexpExec$3;
8062
8061
  var fails$b = fails$t;
8063
8062
  var wellKnownSymbol$8 = wellKnownSymbol$l;
8064
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
8063
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
8065
8064
 
8066
8065
  var SPECIES$2 = wellKnownSymbol$8('species');
8067
8066
  var RegExpPrototype = RegExp.prototype;
@@ -8136,14 +8135,13 @@
8136
8135
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8137
8136
  };
8138
8137
 
8139
- var global$o = global$U;
8140
8138
  var call$e = functionCall;
8141
8139
  var anObject$a = anObject$i;
8142
8140
  var isCallable$7 = isCallable$p;
8143
8141
  var classof$4 = classofRaw$1;
8144
8142
  var regexpExec$1 = regexpExec$3;
8145
8143
 
8146
- var TypeError$a = global$o.TypeError;
8144
+ var $TypeError$7 = TypeError;
8147
8145
 
8148
8146
  // `RegExpExec` abstract operation
8149
8147
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -8155,7 +8153,7 @@
8155
8153
  return result;
8156
8154
  }
8157
8155
  if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
8158
- throw TypeError$a('RegExp#exec called on incompatible receiver');
8156
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
8159
8157
  };
8160
8158
 
8161
8159
  var call$d = functionCall;
@@ -8826,6 +8824,14 @@
8826
8824
  }), void 0);
8827
8825
  }
8828
8826
 
8827
+ var tryToString$3 = tryToString$5;
8828
+
8829
+ var $TypeError$6 = TypeError;
8830
+
8831
+ var deletePropertyOrThrow$1 = function (O, P) {
8832
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8833
+ };
8834
+
8829
8835
  var toPropertyKey = toPropertyKey$3;
8830
8836
  var definePropertyModule = objectDefineProperty;
8831
8837
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -8836,19 +8842,18 @@
8836
8842
  else object[propertyKey] = value;
8837
8843
  };
8838
8844
 
8839
- var global$n = global$U;
8840
8845
  var toAbsoluteIndex = toAbsoluteIndex$2;
8841
8846
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8842
8847
  var createProperty$1 = createProperty$2;
8843
8848
 
8844
- var Array$2 = global$n.Array;
8849
+ var $Array$1 = Array;
8845
8850
  var max$1 = Math.max;
8846
8851
 
8847
8852
  var arraySliceSimple = function (O, start, end) {
8848
8853
  var length = lengthOfArrayLike$4(O);
8849
8854
  var k = toAbsoluteIndex(start, length);
8850
8855
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8851
- var result = Array$2(max$1(fin - k, 0));
8856
+ var result = $Array$1(max$1(fin - k, 0));
8852
8857
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8853
8858
  result.length = n;
8854
8859
  return result;
@@ -8930,6 +8935,7 @@
8930
8935
  var aCallable$7 = aCallable$9;
8931
8936
  var toObject$3 = toObject$7;
8932
8937
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
8938
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
8933
8939
  var toString$b = toString$h;
8934
8940
  var fails$9 = fails$t;
8935
8941
  var internalSort = arraySort$1;
@@ -9024,19 +9030,18 @@
9024
9030
  index = 0;
9025
9031
 
9026
9032
  while (index < itemsLength) array[index] = items[index++];
9027
- while (index < arrayLength) delete array[index++];
9033
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
9028
9034
 
9029
9035
  return array;
9030
9036
  }
9031
9037
  });
9032
9038
 
9033
- var global$m = global$U;
9034
9039
  var aCallable$6 = aCallable$9;
9035
9040
  var toObject$2 = toObject$7;
9036
9041
  var IndexedObject = indexedObject;
9037
9042
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
9038
9043
 
9039
- var TypeError$9 = global$m.TypeError;
9044
+ var $TypeError$5 = TypeError;
9040
9045
 
9041
9046
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
9042
9047
  var createMethod$2 = function (IS_RIGHT) {
@@ -9055,7 +9060,7 @@
9055
9060
  }
9056
9061
  index += i;
9057
9062
  if (IS_RIGHT ? index < 0 : length <= index) {
9058
- throw TypeError$9('Reduce of empty array with no initial value');
9063
+ throw $TypeError$5('Reduce of empty array with no initial value');
9059
9064
  }
9060
9065
  }
9061
9066
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -9075,20 +9080,20 @@
9075
9080
  };
9076
9081
 
9077
9082
  var classof$3 = classofRaw$1;
9078
- var global$l = global$U;
9083
+ var global$c = global$s;
9079
9084
 
9080
- var engineIsNode = classof$3(global$l.process) == 'process';
9085
+ var engineIsNode = classof$3(global$c.process) == 'process';
9081
9086
 
9082
9087
  var $$f = _export;
9083
9088
  var $reduce = arrayReduce.left;
9084
9089
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
9085
9090
  var CHROME_VERSION = engineV8Version;
9086
- var IS_NODE$3 = engineIsNode;
9091
+ var IS_NODE$4 = engineIsNode;
9087
9092
 
9088
9093
  var STRICT_METHOD = arrayMethodIsStrict('reduce');
9089
9094
  // Chrome 80-82 has a critical bug
9090
9095
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
9091
- var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9096
+ var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9092
9097
 
9093
9098
  // `Array.prototype.reduce` method
9094
9099
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
@@ -9134,7 +9139,7 @@
9134
9139
  }
9135
9140
  });
9136
9141
 
9137
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
9142
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
9138
9143
 
9139
9144
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
9140
9145
  xmlns: "http://www.w3.org/2000/svg",
@@ -9183,7 +9188,7 @@
9183
9188
  }));
9184
9189
 
9185
9190
  const _excluded$d = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css"];
9186
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9191
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
9187
9192
  const Wrapper$1 = styled('div', {
9188
9193
  margin: 0,
9189
9194
  flexDirection: 'column',
@@ -9544,7 +9549,7 @@
9544
9549
  setSelectedValue(filterItems);
9545
9550
 
9546
9551
  if (selected.id !== '!all') {
9547
- onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
9552
+ onChange == null ? void 0 : onChange(filterItems);
9548
9553
  }
9549
9554
  }
9550
9555
  };
@@ -9588,7 +9593,7 @@
9588
9593
  removeSelectedItem(item);
9589
9594
  });
9590
9595
  setSelectedValue([]);
9591
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9596
+ onChange == null ? void 0 : onChange([]);
9592
9597
  } else {
9593
9598
  removeItem(selectedItem);
9594
9599
  }
@@ -9603,12 +9608,12 @@
9603
9608
  itemIds.push(item.id);
9604
9609
  });
9605
9610
  setSelectedValue(itemIds);
9606
- onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
9611
+ onChange == null ? void 0 : onChange(itemIds.slice(1));
9607
9612
  } else {
9608
9613
  addSelectedItem(selectedItem);
9609
9614
  setSelectedValue([...selectedValue, selectedItem.id]);
9610
9615
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
9611
- onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9616
+ onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9612
9617
  }
9613
9618
 
9614
9619
  selectItem(null);
@@ -9945,7 +9950,7 @@
9945
9950
  selectAllLabel: 'Pilih Semua'
9946
9951
  };
9947
9952
 
9948
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9953
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
9949
9954
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
9950
9955
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
9951
9956
  ref: ref,
@@ -9992,7 +9997,7 @@
9992
9997
  sortBy: 'name'
9993
9998
  };
9994
9999
 
9995
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
10000
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
9996
10001
  const Wrapper = styled('div', {
9997
10002
  margin: 0,
9998
10003
  flexDirection: 'column',
@@ -10621,15 +10626,15 @@
10621
10626
  trim: createMethod$1(3)
10622
10627
  };
10623
10628
 
10624
- var global$k = global$U;
10629
+ var global$b = global$s;
10625
10630
  var fails$8 = fails$t;
10626
10631
  var uncurryThis$d = functionUncurryThis;
10627
10632
  var toString$8 = toString$h;
10628
10633
  var trim$1 = stringTrim.trim;
10629
10634
  var whitespaces$2 = whitespaces$4;
10630
10635
 
10631
- var $parseInt$1 = global$k.parseInt;
10632
- var Symbol$6 = global$k.Symbol;
10636
+ var $parseInt$1 = global$b.parseInt;
10637
+ var Symbol$6 = global$b.Symbol;
10633
10638
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
10634
10639
  var hex = /^[+-]?0x/i;
10635
10640
  var exec$4 = uncurryThis$d(hex.exec);
@@ -10811,7 +10816,7 @@
10811
10816
  };
10812
10817
 
10813
10818
  const _excluded$c = ["children"];
10814
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
10819
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
10815
10820
  const {
10816
10821
  zIndices
10817
10822
  } = core.foundations;
@@ -10901,8 +10906,8 @@
10901
10906
  ref: floating,
10902
10907
  style: Object.assign({
10903
10908
  position: strategy,
10904
- top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
10905
- left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
10909
+ top: isMobile ? 0 : y != null ? y : '',
10910
+ left: isMobile ? 0 : x != null ? x : '',
10906
10911
  zIndex: zIndices.popover
10907
10912
  }, style)
10908
10913
  }), {
@@ -10945,7 +10950,7 @@
10945
10950
  Popover.displayName = 'Popover';
10946
10951
 
10947
10952
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
10948
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10953
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
10949
10954
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
10950
10955
  position: 'relative',
10951
10956
  display: 'flex',
@@ -11290,7 +11295,7 @@
11290
11295
  };
11291
11296
 
11292
11297
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
11293
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
11298
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
11294
11299
  const TagWrapper = styled('div', {
11295
11300
  boxSizing: 'border-box',
11296
11301
  fontSize: '12px',
@@ -11456,7 +11461,7 @@
11456
11461
  _excluded2$1 = ["children", "activeTabs"],
11457
11462
  _excluded3 = ["children", "icon", "activeTabs", "value"],
11458
11463
  _excluded4 = ["activeTabs"];
11459
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
11464
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
11460
11465
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
11461
11466
  display: 'flex',
11462
11467
  flexDirection: 'column',
@@ -11680,7 +11685,7 @@
11680
11685
 
11681
11686
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
11682
11687
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
11683
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
11688
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
11684
11689
  const ButtonGroupComponent = styled(ToggleGroupPrimitive__namespace.Root, {
11685
11690
  display: 'inline-flex',
11686
11691
  borderRadius: '$md',
@@ -11908,7 +11913,7 @@
11908
11913
  };
11909
11914
 
11910
11915
  const _excluded$7 = ["children"];
11911
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
11916
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
11912
11917
  const NotificationBadgeRootStyle = styled('span', {
11913
11918
  position: 'relative',
11914
11919
  display: 'inline-flex',
@@ -12008,7 +12013,7 @@
12008
12013
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
12009
12014
 
12010
12015
  const getValue = () => {
12011
- let value = props === null || props === void 0 ? void 0 : props.value;
12016
+ let value = props == null ? void 0 : props.value;
12012
12017
 
12013
12018
  if (typeof value === 'number' || parseInt(value)) {
12014
12019
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -12052,7 +12057,7 @@
12052
12057
  };
12053
12058
 
12054
12059
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
12055
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
12060
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
12056
12061
  const PaperComponent = styled('div', {
12057
12062
  padding: '20px',
12058
12063
  height: 'auto',
@@ -12261,14 +12266,13 @@
12261
12266
  DialogOverlay.displayName = 'DialogOverlay';
12262
12267
  DialogPortal.displayName = 'DialogPortal';
12263
12268
 
12264
- var global$j = global$U;
12265
12269
  var isPrototypeOf$1 = objectIsPrototypeOf;
12266
12270
 
12267
- var TypeError$8 = global$j.TypeError;
12271
+ var $TypeError$4 = TypeError;
12268
12272
 
12269
12273
  var anInstance$3 = function (it, Prototype) {
12270
12274
  if (isPrototypeOf$1(Prototype, it)) return it;
12271
- throw TypeError$8('Incorrect invocation');
12275
+ throw $TypeError$4('Incorrect invocation');
12272
12276
  };
12273
12277
 
12274
12278
  var uncurryThis$c = functionUncurryThis;
@@ -12324,16 +12328,15 @@
12324
12328
  || called;
12325
12329
  }) ? isConstructorLegacy : isConstructorModern;
12326
12330
 
12327
- var global$i = global$U;
12328
12331
  var isConstructor$1 = isConstructor$2;
12329
- var tryToString$2 = tryToString$4;
12332
+ var tryToString$2 = tryToString$5;
12330
12333
 
12331
- var TypeError$7 = global$i.TypeError;
12334
+ var $TypeError$3 = TypeError;
12332
12335
 
12333
12336
  // `Assert: IsConstructor(argument) is true`
12334
12337
  var aConstructor$1 = function (argument) {
12335
12338
  if (isConstructor$1(argument)) return argument;
12336
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
12339
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
12337
12340
  };
12338
12341
 
12339
12342
  var anObject$8 = anObject$i;
@@ -12379,12 +12382,10 @@
12379
12382
 
12380
12383
  var arraySlice$3 = uncurryThis$a([].slice);
12381
12384
 
12382
- var global$h = global$U;
12383
-
12384
- var TypeError$6 = global$h.TypeError;
12385
+ var $TypeError$2 = TypeError;
12385
12386
 
12386
12387
  var validateArgumentsLength$3 = function (passed, required) {
12387
- if (passed < required) throw TypeError$6('Not enough arguments');
12388
+ if (passed < required) throw $TypeError$2('Not enough arguments');
12388
12389
  return passed;
12389
12390
  };
12390
12391
 
@@ -12392,7 +12393,7 @@
12392
12393
 
12393
12394
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
12394
12395
 
12395
- var global$g = global$U;
12396
+ var global$a = global$s;
12396
12397
  var apply$2 = functionApply;
12397
12398
  var bind$6 = functionBindContext;
12398
12399
  var isCallable$5 = isCallable$p;
@@ -12403,15 +12404,15 @@
12403
12404
  var createElement = documentCreateElement$2;
12404
12405
  var validateArgumentsLength$2 = validateArgumentsLength$3;
12405
12406
  var IS_IOS$1 = engineIsIos;
12406
- var IS_NODE$2 = engineIsNode;
12407
+ var IS_NODE$3 = engineIsNode;
12407
12408
 
12408
- var set = global$g.setImmediate;
12409
- var clear = global$g.clearImmediate;
12410
- var process$2 = global$g.process;
12411
- var Dispatch = global$g.Dispatch;
12412
- var Function$1 = global$g.Function;
12413
- var MessageChannel = global$g.MessageChannel;
12414
- var String$2 = global$g.String;
12409
+ var set = global$a.setImmediate;
12410
+ var clear = global$a.clearImmediate;
12411
+ var process$2 = global$a.process;
12412
+ var Dispatch = global$a.Dispatch;
12413
+ var Function$1 = global$a.Function;
12414
+ var MessageChannel = global$a.MessageChannel;
12415
+ var String$1 = global$a.String;
12415
12416
  var counter = 0;
12416
12417
  var queue$1 = {};
12417
12418
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -12419,7 +12420,7 @@
12419
12420
 
12420
12421
  try {
12421
12422
  // Deno throws a ReferenceError on `location` access without `--location` flag
12422
- location = global$g.location;
12423
+ location = global$a.location;
12423
12424
  } catch (error) { /* empty */ }
12424
12425
 
12425
12426
  var run = function (id) {
@@ -12442,7 +12443,7 @@
12442
12443
 
12443
12444
  var post = function (id) {
12444
12445
  // old engines have not location.origin
12445
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
12446
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
12446
12447
  };
12447
12448
 
12448
12449
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -12461,7 +12462,7 @@
12461
12462
  delete queue$1[id];
12462
12463
  };
12463
12464
  // Node.js 0.8-
12464
- if (IS_NODE$2) {
12465
+ if (IS_NODE$3) {
12465
12466
  defer = function (id) {
12466
12467
  process$2.nextTick(runner(id));
12467
12468
  };
@@ -12480,14 +12481,14 @@
12480
12481
  // Browsers with postMessage, skip WebWorkers
12481
12482
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
12482
12483
  } else if (
12483
- global$g.addEventListener &&
12484
- isCallable$5(global$g.postMessage) &&
12485
- !global$g.importScripts &&
12484
+ global$a.addEventListener &&
12485
+ isCallable$5(global$a.postMessage) &&
12486
+ !global$a.importScripts &&
12486
12487
  location && location.protocol !== 'file:' &&
12487
12488
  !fails$6(post)
12488
12489
  ) {
12489
12490
  defer = post;
12490
- global$g.addEventListener('message', listener, false);
12491
+ global$a.addEventListener('message', listener, false);
12491
12492
  // IE8-
12492
12493
  } else if (ONREADYSTATECHANGE in createElement('script')) {
12493
12494
  defer = function (id) {
@@ -12510,29 +12511,29 @@
12510
12511
  };
12511
12512
 
12512
12513
  var userAgent$1 = engineUserAgent;
12513
- var global$f = global$U;
12514
+ var global$9 = global$s;
12514
12515
 
12515
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
12516
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
12516
12517
 
12517
12518
  var userAgent = engineUserAgent;
12518
12519
 
12519
12520
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
12520
12521
 
12521
- var global$e = global$U;
12522
+ var global$8 = global$s;
12522
12523
  var bind$5 = functionBindContext;
12523
12524
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
12524
12525
  var macrotask = task$1.set;
12525
12526
  var IS_IOS = engineIsIos;
12526
12527
  var IS_IOS_PEBBLE = engineIsIosPebble;
12527
12528
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
12528
- var IS_NODE$1 = engineIsNode;
12529
+ var IS_NODE$2 = engineIsNode;
12529
12530
 
12530
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
12531
- var document$2 = global$e.document;
12532
- var process$1 = global$e.process;
12533
- var Promise$1 = global$e.Promise;
12531
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
12532
+ var document$2 = global$8.document;
12533
+ var process$1 = global$8.process;
12534
+ var Promise$1 = global$8.Promise;
12534
12535
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
12535
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
12536
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
12536
12537
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
12537
12538
 
12538
12539
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -12541,7 +12542,7 @@
12541
12542
  if (!queueMicrotask) {
12542
12543
  flush = function () {
12543
12544
  var parent, fn;
12544
- if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
12545
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
12545
12546
  while (head) {
12546
12547
  fn = head.fn;
12547
12548
  head = head.next;
@@ -12558,7 +12559,7 @@
12558
12559
 
12559
12560
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
12560
12561
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
12561
- if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
12562
+ if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
12562
12563
  toggle = true;
12563
12564
  node = document$2.createTextNode('');
12564
12565
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -12576,7 +12577,7 @@
12576
12577
  then(flush);
12577
12578
  };
12578
12579
  // Node.js without promises
12579
- } else if (IS_NODE$1) {
12580
+ } else if (IS_NODE$2) {
12580
12581
  notify$1 = function () {
12581
12582
  process$1.nextTick(flush);
12582
12583
  };
@@ -12588,7 +12589,7 @@
12588
12589
  // - setTimeout
12589
12590
  } else {
12590
12591
  // strange IE + webpack dev server bug - use .bind(global)
12591
- macrotask = bind$5(macrotask, global$e);
12592
+ macrotask = bind$5(macrotask, global$8);
12592
12593
  notify$1 = function () {
12593
12594
  macrotask(flush);
12594
12595
  };
@@ -12604,10 +12605,10 @@
12604
12605
  } last = task;
12605
12606
  };
12606
12607
 
12607
- var global$d = global$U;
12608
+ var global$7 = global$s;
12608
12609
 
12609
12610
  var hostReportErrors$1 = function (a, b) {
12610
- var console = global$d.console;
12611
+ var console = global$7.console;
12611
12612
  if (console && console.error) {
12612
12613
  arguments.length == 1 ? console.error(a) : console.error(a, b);
12613
12614
  }
@@ -12645,25 +12646,35 @@
12645
12646
 
12646
12647
  var queue = Queue$1;
12647
12648
 
12648
- var global$c = global$U;
12649
+ var global$6 = global$s;
12650
+
12651
+ var promiseNativeConstructor = global$6.Promise;
12649
12652
 
12650
- var promiseNativeConstructor = global$c.Promise;
12653
+ /* global Deno -- Deno case */
12651
12654
 
12652
- var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
12655
+ var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
12653
12656
 
12654
- var global$b = global$U;
12657
+ var IS_DENO$1 = engineIsDeno;
12658
+ var IS_NODE$1 = engineIsNode;
12659
+
12660
+ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
12661
+ && typeof window == 'object'
12662
+ && typeof document == 'object';
12663
+
12664
+ var global$5 = global$s;
12655
12665
  var NativePromiseConstructor$3 = promiseNativeConstructor;
12656
12666
  var isCallable$4 = isCallable$p;
12657
12667
  var isForced = isForced_1;
12658
12668
  var inspectSource = inspectSource$4;
12659
12669
  var wellKnownSymbol$6 = wellKnownSymbol$l;
12660
12670
  var IS_BROWSER = engineIsBrowser;
12671
+ var IS_DENO = engineIsDeno;
12661
12672
  var V8_VERSION = engineV8Version;
12662
12673
 
12663
12674
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
12664
12675
  var SPECIES = wellKnownSymbol$6('species');
12665
12676
  var SUBCLASSING = false;
12666
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
12677
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
12667
12678
 
12668
12679
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
12669
12680
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -12675,18 +12686,18 @@
12675
12686
  // We can't use @@species feature detection in V8 since it causes
12676
12687
  // deoptimization and performance degradation
12677
12688
  // https://github.com/zloirock/core-js/issues/679
12678
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
12679
- // Detect correctness of subclassing with @@species support
12680
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
12681
- var FakePromise = function (exec) {
12682
- exec(function () { /* empty */ }, function () { /* empty */ });
12683
- };
12684
- var constructor = promise.constructor = {};
12685
- constructor[SPECIES] = FakePromise;
12686
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
12687
- if (!SUBCLASSING) return true;
12689
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
12690
+ // Detect correctness of subclassing with @@species support
12691
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
12692
+ var FakePromise = function (exec) {
12693
+ exec(function () { /* empty */ }, function () { /* empty */ });
12694
+ };
12695
+ var constructor = promise.constructor = {};
12696
+ constructor[SPECIES] = FakePromise;
12697
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
12698
+ if (!SUBCLASSING) return true;
12688
12699
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
12689
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
12700
+ } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
12690
12701
  });
12691
12702
 
12692
12703
  var promiseConstructorDetection = {
@@ -12718,7 +12729,7 @@
12718
12729
 
12719
12730
  var $$c = _export;
12720
12731
  var IS_NODE = engineIsNode;
12721
- var global$a = global$U;
12732
+ var global$4 = global$s;
12722
12733
  var call$b = functionCall;
12723
12734
  var defineBuiltIn$4 = defineBuiltIn$b;
12724
12735
  var setPrototypeOf = objectSetPrototypeOf;
@@ -12748,13 +12759,13 @@
12748
12759
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
12749
12760
  var PromiseConstructor = NativePromiseConstructor$2;
12750
12761
  var PromisePrototype = NativePromisePrototype$1;
12751
- var TypeError$5 = global$a.TypeError;
12752
- var document$1 = global$a.document;
12753
- var process = global$a.process;
12762
+ var TypeError$3 = global$4.TypeError;
12763
+ var document$1 = global$4.document;
12764
+ var process = global$4.process;
12754
12765
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
12755
12766
  var newGenericPromiseCapability = newPromiseCapability$1;
12756
12767
 
12757
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
12768
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
12758
12769
  var UNHANDLED_REJECTION = 'unhandledrejection';
12759
12770
  var REJECTION_HANDLED = 'rejectionhandled';
12760
12771
  var PENDING = 0;
@@ -12795,7 +12806,7 @@
12795
12806
  }
12796
12807
  }
12797
12808
  if (result === reaction.promise) {
12798
- reject(TypeError$5('Promise-chain cycle'));
12809
+ reject(TypeError$3('Promise-chain cycle'));
12799
12810
  } else if (then = isThenable(result)) {
12800
12811
  call$b(then, result, resolve, reject);
12801
12812
  } else resolve(result);
@@ -12827,14 +12838,14 @@
12827
12838
  event.promise = promise;
12828
12839
  event.reason = reason;
12829
12840
  event.initEvent(name, false, true);
12830
- global$a.dispatchEvent(event);
12841
+ global$4.dispatchEvent(event);
12831
12842
  } else event = { promise: promise, reason: reason };
12832
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
12843
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
12833
12844
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
12834
12845
  };
12835
12846
 
12836
12847
  var onUnhandled = function (state) {
12837
- call$b(task, global$a, function () {
12848
+ call$b(task, global$4, function () {
12838
12849
  var promise = state.facade;
12839
12850
  var value = state.value;
12840
12851
  var IS_UNHANDLED = isUnhandled(state);
@@ -12857,7 +12868,7 @@
12857
12868
  };
12858
12869
 
12859
12870
  var onHandleUnhandled = function (state) {
12860
- call$b(task, global$a, function () {
12871
+ call$b(task, global$4, function () {
12861
12872
  var promise = state.facade;
12862
12873
  if (IS_NODE) {
12863
12874
  process.emit('rejectionHandled', promise);
@@ -12885,7 +12896,7 @@
12885
12896
  state.done = true;
12886
12897
  if (unwrap) state = unwrap;
12887
12898
  try {
12888
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
12899
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
12889
12900
  var then = isThenable(value);
12890
12901
  if (then) {
12891
12902
  microtask(function () {
@@ -13027,19 +13038,18 @@
13027
13038
  || Iterators[classof$1(it)];
13028
13039
  };
13029
13040
 
13030
- var global$9 = global$U;
13031
13041
  var call$a = functionCall;
13032
13042
  var aCallable$2 = aCallable$9;
13033
13043
  var anObject$7 = anObject$i;
13034
- var tryToString$1 = tryToString$4;
13044
+ var tryToString$1 = tryToString$5;
13035
13045
  var getIteratorMethod$3 = getIteratorMethod$4;
13036
13046
 
13037
- var TypeError$4 = global$9.TypeError;
13047
+ var $TypeError$1 = TypeError;
13038
13048
 
13039
13049
  var getIterator$3 = function (argument, usingIterator) {
13040
13050
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
13041
13051
  if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
13042
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
13052
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
13043
13053
  };
13044
13054
 
13045
13055
  var call$9 = functionCall;
@@ -13066,11 +13076,10 @@
13066
13076
  return value;
13067
13077
  };
13068
13078
 
13069
- var global$8 = global$U;
13070
13079
  var bind$3 = functionBindContext;
13071
13080
  var call$8 = functionCall;
13072
13081
  var anObject$5 = anObject$i;
13073
- var tryToString = tryToString$4;
13082
+ var tryToString = tryToString$5;
13074
13083
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
13075
13084
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
13076
13085
  var isPrototypeOf = objectIsPrototypeOf;
@@ -13078,7 +13087,7 @@
13078
13087
  var getIteratorMethod$2 = getIteratorMethod$4;
13079
13088
  var iteratorClose$1 = iteratorClose$2;
13080
13089
 
13081
- var TypeError$3 = global$8.TypeError;
13090
+ var $TypeError = TypeError;
13082
13091
 
13083
13092
  var Result = function (stopped, result) {
13084
13093
  this.stopped = stopped;
@@ -13090,6 +13099,7 @@
13090
13099
  var iterate$2 = function (iterable, unboundFunction, options) {
13091
13100
  var that = options && options.that;
13092
13101
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
13102
+ var IS_RECORD = !!(options && options.IS_RECORD);
13093
13103
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
13094
13104
  var INTERRUPTED = !!(options && options.INTERRUPTED);
13095
13105
  var fn = bind$3(unboundFunction, that);
@@ -13107,11 +13117,13 @@
13107
13117
  } return INTERRUPTED ? fn(value, stop) : fn(value);
13108
13118
  };
13109
13119
 
13110
- if (IS_ITERATOR) {
13120
+ if (IS_RECORD) {
13121
+ iterator = iterable.iterator;
13122
+ } else if (IS_ITERATOR) {
13111
13123
  iterator = iterable;
13112
13124
  } else {
13113
13125
  iterFn = getIteratorMethod$2(iterable);
13114
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
13126
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
13115
13127
  // optimisation for array iterators
13116
13128
  if (isArrayIteratorMethod$1(iterFn)) {
13117
13129
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -13122,7 +13134,7 @@
13122
13134
  iterator = getIterator$2(iterable, iterFn);
13123
13135
  }
13124
13136
 
13125
- next = iterator.next;
13137
+ next = IS_RECORD ? iterable.next : iterator.next;
13126
13138
  while (!(step = call$8(next, iterator)).done) {
13127
13139
  try {
13128
13140
  result = callFn(step.value);
@@ -13540,7 +13552,7 @@
13540
13552
  };
13541
13553
 
13542
13554
  const _excluded$5 = ["children"];
13543
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
13555
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
13544
13556
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
13545
13557
  const {
13546
13558
  sizes
@@ -15312,7 +15324,7 @@
15312
15324
  return null;
15313
15325
  };
15314
15326
 
15315
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
15327
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
15316
15328
  const Input$3 = styled('input', {
15317
15329
  display: 'none'
15318
15330
  });
@@ -15569,33 +15581,33 @@
15569
15581
  })));
15570
15582
  };
15571
15583
  NativeTimePicker.propTypes = {
15572
- /**
15573
- Resize time picker.
15584
+ /**
15585
+ Resize time picker.
15574
15586
  */
15575
15587
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
15576
15588
 
15577
- /**
15578
- Change handler.
15589
+ /**
15590
+ Change handler.
15579
15591
  */
15580
15592
  onChange: PropTypes__default["default"].func,
15581
15593
 
15582
- /**
15583
- Time picker default value, support moment format.
15594
+ /**
15595
+ Time picker default value, support moment format.
15584
15596
  */
15585
15597
  defaultValue: PropTypes__default["default"].instanceOf(Date),
15586
15598
 
15587
- /**
15588
- Time picker value, support moment format.
15599
+ /**
15600
+ Time picker value, support moment format.
15589
15601
  */
15590
15602
  value: PropTypes__default["default"].instanceOf(Date),
15591
15603
 
15592
- /**
15593
- Specify the minimum date.
15604
+ /**
15605
+ Specify the minimum date.
15594
15606
  */
15595
15607
  minDate: PropTypes__default["default"].instanceOf(Date),
15596
15608
 
15597
- /**
15598
- Specify the maximum date.
15609
+ /**
15610
+ Specify the maximum date.
15599
15611
  */
15600
15612
  maxDate: PropTypes__default["default"].instanceOf(Date)
15601
15613
  };
@@ -15640,49 +15652,49 @@
15640
15652
  };
15641
15653
  TimePicker.displayName = 'TimePicker';
15642
15654
  TimePicker.propTypes = {
15643
- /**
15644
- Additional styles.
15655
+ /**
15656
+ Additional styles.
15645
15657
  */
15646
15658
  css: PropTypes__default["default"].object,
15647
15659
 
15648
- /**
15649
- Resize time picker.
15660
+ /**
15661
+ Resize time picker.
15650
15662
  */
15651
15663
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
15652
15664
 
15653
- /**
15654
- Change handler.
15665
+ /**
15666
+ Change handler.
15655
15667
  */
15656
15668
  onChange: PropTypes__default["default"].func,
15657
15669
 
15658
- /**
15659
- Time picker default value, support moment format.
15670
+ /**
15671
+ Time picker default value, support moment format.
15660
15672
  */
15661
15673
  defaultValue: PropTypes__default["default"].instanceOf(Date),
15662
15674
 
15663
- /**
15664
- Time picker value, support moment format.
15675
+ /**
15676
+ Time picker value, support moment format.
15665
15677
  */
15666
15678
  value: PropTypes__default["default"].instanceOf(Date),
15667
15679
 
15668
- /**
15669
- Disabled state.
15680
+ /**
15681
+ Disabled state.
15670
15682
  */
15671
15683
  disabled: PropTypes__default["default"].bool,
15672
15684
 
15673
- /**
15674
- Specify the minimum date.
15685
+ /**
15686
+ Specify the minimum date.
15675
15687
  */
15676
15688
  minDate: PropTypes__default["default"].instanceOf(Date),
15677
15689
 
15678
- /**
15679
- Specify the maximum date.
15690
+ /**
15691
+ Specify the maximum date.
15680
15692
  */
15681
15693
  maxDate: PropTypes__default["default"].instanceOf(Date)
15682
15694
  };
15683
15695
  NativeTimePicker.displayName = 'NativeTimePicker';
15684
15696
 
15685
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
15697
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
15686
15698
 
15687
15699
  const getInputPickerValue$1 = date => {
15688
15700
  if (!date) return;
@@ -15856,58 +15868,58 @@
15856
15868
  placeholder: 'Select Time'
15857
15869
  };
15858
15870
  InputTimePicker.propTypes = {
15859
- /**
15860
- Additional styles.
15871
+ /**
15872
+ Additional styles.
15861
15873
  */
15862
15874
  css: PropTypes__default["default"].object,
15863
15875
 
15864
- /**
15865
- Disabled state.
15876
+ /**
15877
+ Disabled state.
15866
15878
  */
15867
15879
  disabled: PropTypes__default["default"].bool,
15868
15880
 
15869
- /**
15870
- ReadOnly state.
15881
+ /**
15882
+ ReadOnly state.
15871
15883
  */
15872
15884
  readOnly: PropTypes__default["default"].bool,
15873
15885
 
15874
- /**
15875
- Resize time picker.
15886
+ /**
15887
+ Resize time picker.
15876
15888
  */
15877
15889
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
15878
15890
 
15879
- /**
15880
- Custom placeholder input time picker.
15891
+ /**
15892
+ Custom placeholder input time picker.
15881
15893
  */
15882
15894
  placeholder: PropTypes__default["default"].string,
15883
15895
 
15884
- /**
15885
- Time picker default value, support moment format.
15896
+ /**
15897
+ Time picker default value, support moment format.
15886
15898
  */
15887
15899
  defaultValue: PropTypes__default["default"].instanceOf(Date),
15888
15900
 
15889
- /**
15890
- Time picker value, support moment format.
15901
+ /**
15902
+ Time picker value, support moment format.
15891
15903
  */
15892
15904
  value: PropTypes__default["default"].instanceOf(Date),
15893
15905
 
15894
- /**
15895
- Change handler.
15906
+ /**
15907
+ Change handler.
15896
15908
  */
15897
15909
  onChange: PropTypes__default["default"].func,
15898
15910
 
15899
- /**
15900
- Placement popover input time picker.
15911
+ /**
15912
+ Placement popover input time picker.
15901
15913
  */
15902
15914
  placement: PropTypes__default["default"].string,
15903
15915
 
15904
- /**
15905
- Specify the minimum date.
15916
+ /**
15917
+ Specify the minimum date.
15906
15918
  */
15907
15919
  minDate: PropTypes__default["default"].instanceOf(Date),
15908
15920
 
15909
- /**
15910
- Specify the maximum date.
15921
+ /**
15922
+ Specify the maximum date.
15911
15923
  */
15912
15924
  maxDate: PropTypes__default["default"].instanceOf(Date)
15913
15925
  };
@@ -16472,7 +16484,7 @@
16472
16484
  };
16473
16485
 
16474
16486
  const _excluded$4 = ["isActive", "onClick"];
16475
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
16487
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
16476
16488
  const PrevNextButton = styled(Text$1, {
16477
16489
  padding: '$spacing-01',
16478
16490
  cursor: 'pointer',
@@ -16742,7 +16754,7 @@
16742
16754
  };
16743
16755
 
16744
16756
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
16745
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
16757
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
16746
16758
  const LimitContainer = styled(Flex$1, {
16747
16759
  cursor: 'pointer'
16748
16760
  });
@@ -16848,7 +16860,7 @@
16848
16860
  lineNumber: 40,
16849
16861
  columnNumber: 11
16850
16862
  }
16851
- }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
16863
+ }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
16852
16864
  key: limit,
16853
16865
  css: limitItemContainerStyle(selectedLimit === limit),
16854
16866
  onClick: () => onChange(limit),
@@ -16879,7 +16891,7 @@
16879
16891
  }
16880
16892
 
16881
16893
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
16882
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
16894
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
16883
16895
 
16884
16896
  function Pagination(_ref) {
16885
16897
  let {
@@ -17637,8 +17649,7 @@
17637
17649
  children: visibleHeaders.map(function (column, index) {
17638
17650
  var headerRender = column.render('Header');
17639
17651
  return jsxRuntime.jsx(TableHeadCell$3, __assign({}, column.getHeaderProps(function (props) {
17640
- return [props, // column.getSortByToggleProps && !column.unsortable
17641
- !column.unsortable ? column.getSortByToggleProps({
17652
+ return [props, !column.unsortable ? column.getSortByToggleProps({
17642
17653
  title: 'Urutkan'
17643
17654
  }) : {}, {
17644
17655
  style: {
@@ -17650,23 +17661,7 @@
17650
17661
  }), {
17651
17662
  css: stickyPositionStyling(column)
17652
17663
  }, {
17653
- children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer // css={{
17654
- // padding:
17655
- // index > 0
17656
- // ? index < visibleHeaders.length - 1
17657
- // ? '0 $spacing-03'
17658
- // : '0 20px 0 $spacing-03'
17659
- // : '0 $spacing-03 0 20px',
17660
- // }}
17661
- , __assign({
17662
- // css={{
17663
- // padding:
17664
- // index > 0
17665
- // ? index < visibleHeaders.length - 1
17666
- // ? '0 $spacing-03'
17667
- // : '0 20px 0 $spacing-03'
17668
- // : '0 $spacing-03 0 20px',
17669
- // }}
17664
+ children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
17670
17665
  isSortedDesc: column.isSortedDesc,
17671
17666
  unsortable: column.unsortable
17672
17667
  }, {
@@ -17724,7 +17719,7 @@
17724
17719
  children: cell.render('Cell')
17725
17720
  }), void 0);
17726
17721
  })
17727
- }), void 0), ((rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.showGroupingWhenSorted) || sortBy.length <= 0) && row.original['isBottomChild'] && !!(rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.footerRender) && (rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.footerRender(row)), row.isExpanded ? subRowCells.map(function (cell, index) {
17722
+ }), void 0), row.isExpanded ? subRowCells.map(function (cell, index) {
17728
17723
  return jsxRuntime.jsxs(TableRow$3, __assign({
17729
17724
  subRow: true
17730
17725
  }, {
@@ -17761,7 +17756,7 @@
17761
17756
  }), void 0)]
17762
17757
  }, cell.column.id)]
17763
17758
  }), cell.column.id);
17764
- }) : null]
17759
+ }) : null, ((rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.showGroupingWhenSorted) || sortBy.length <= 0) && row.original['isBottomChild'] && !!(rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.footerRender) && (rowGroup === null || rowGroup === void 0 ? void 0 : rowGroup.footerRender(row))]
17765
17760
  }, row.id);
17766
17761
  })
17767
17762
  }), void 0)]
@@ -17816,7 +17811,7 @@
17816
17811
  return jsxRuntime.jsx("div", {}, void 0);
17817
17812
  };
17818
17813
 
17819
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
17814
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
17820
17815
 
17821
17816
  const DateColumn = ({
17822
17817
  value
@@ -17851,12 +17846,11 @@
17851
17846
  // https://tc39.es/ecma262/#sec-thisnumbervalue
17852
17847
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
17853
17848
 
17854
- var global$7 = global$U;
17855
17849
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
17856
17850
  var toString$7 = toString$h;
17857
17851
  var requireObjectCoercible$3 = requireObjectCoercible$a;
17858
17852
 
17859
- var RangeError$2 = global$7.RangeError;
17853
+ var $RangeError$2 = RangeError;
17860
17854
 
17861
17855
  // `String.prototype.repeat` method implementation
17862
17856
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -17864,21 +17858,20 @@
17864
17858
  var str = toString$7(requireObjectCoercible$3(this));
17865
17859
  var result = '';
17866
17860
  var n = toIntegerOrInfinity$3(count);
17867
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
17861
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
17868
17862
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
17869
17863
  return result;
17870
17864
  };
17871
17865
 
17872
17866
  var $$6 = _export;
17873
- var global$6 = global$U;
17874
17867
  var uncurryThis$8 = functionUncurryThis;
17875
17868
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
17876
17869
  var thisNumberValue = thisNumberValue$1;
17877
17870
  var $repeat = stringRepeat;
17878
17871
  var fails$5 = fails$t;
17879
17872
 
17880
- var RangeError$1 = global$6.RangeError;
17881
- var String$1 = global$6.String;
17873
+ var $RangeError$1 = RangeError;
17874
+ var $String = String;
17882
17875
  var floor$3 = Math.floor;
17883
17876
  var repeat = uncurryThis$8($repeat);
17884
17877
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -17926,7 +17919,7 @@
17926
17919
  var s = '';
17927
17920
  while (--index >= 0) {
17928
17921
  if (s !== '' || index === 0 || data[index] !== 0) {
17929
- var t = String$1(data[index]);
17922
+ var t = $String(data[index]);
17930
17923
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
17931
17924
  }
17932
17925
  } return s;
@@ -17954,10 +17947,10 @@
17954
17947
  var e, z, j, k;
17955
17948
 
17956
17949
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
17957
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
17950
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
17958
17951
  // eslint-disable-next-line no-self-compare -- NaN check
17959
17952
  if (number != number) return 'NaN';
17960
- if (number <= -1e21 || number >= 1e21) return String$1(number);
17953
+ if (number <= -1e21 || number >= 1e21) return $String(number);
17961
17954
  if (number < 0) {
17962
17955
  sign = '-';
17963
17956
  number = -number;
@@ -18001,7 +17994,7 @@
18001
17994
  }
18002
17995
  });
18003
17996
 
18004
- var global$5 = global$U;
17997
+ var global$3 = global$s;
18005
17998
  var fails$4 = fails$t;
18006
17999
  var uncurryThis$7 = functionUncurryThis;
18007
18000
  var toString$6 = toString$h;
@@ -18009,8 +18002,8 @@
18009
18002
  var whitespaces$1 = whitespaces$4;
18010
18003
 
18011
18004
  var charAt$6 = uncurryThis$7(''.charAt);
18012
- var n$ParseFloat = global$5.parseFloat;
18013
- var Symbol$5 = global$5.Symbol;
18005
+ var n$ParseFloat = global$3.parseFloat;
18006
+ var Symbol$5 = global$3.Symbol;
18014
18007
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
18015
18008
  var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
18016
18009
  // MS Edge 18- broken with boxed symbols
@@ -18499,7 +18492,7 @@
18499
18492
  return addThousandSeparator(param);
18500
18493
  };
18501
18494
 
18502
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
18495
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
18503
18496
  const rowExpanderColumn = {
18504
18497
  id: 'expander',
18505
18498
  Header: () => null,
@@ -18541,7 +18534,7 @@
18541
18534
  unsortable: true
18542
18535
  };
18543
18536
 
18544
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
18537
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
18545
18538
 
18546
18539
  const rowMenuColumn = (options, icon, config) => ({
18547
18540
  id: 'menu',
@@ -18785,7 +18778,7 @@
18785
18778
  unsortable: true
18786
18779
  });
18787
18780
 
18788
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
18781
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
18789
18782
  const rowSelectionColumn = {
18790
18783
  id: 'selection',
18791
18784
  Header: ({
@@ -19075,7 +19068,7 @@
19075
19068
  };
19076
19069
 
19077
19070
  const _excluded$1 = ["children"];
19078
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
19071
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
19079
19072
  const overlayShow = keyframes({
19080
19073
  '0%': {
19081
19074
  opacity: 0
@@ -19247,7 +19240,7 @@
19247
19240
  if (!props.onOpenAutoFocus) {
19248
19241
  e.preventDefault();
19249
19242
  } else {
19250
- props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
19243
+ props == null ? void 0 : props.onOpenAutoFocus();
19251
19244
  }
19252
19245
  },
19253
19246
  __self: undefined,
@@ -19368,8 +19361,8 @@
19368
19361
  size: "sm",
19369
19362
  onClick: buttonConfirm,
19370
19363
  buttonType: props.dialogType,
19371
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19372
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19364
+ disabled: props == null ? void 0 : props.disabledButton
19365
+ }, props == null ? void 0 : props.actionButtonProps, {
19373
19366
  __self: undefined,
19374
19367
  __source: {
19375
19368
  fileName: _jsxFileName$b,
@@ -19388,12 +19381,12 @@
19388
19381
  size: "sm",
19389
19382
  onClick: buttonCancel,
19390
19383
  css: {
19391
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
19384
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
19392
19385
  flex: props.isMobile && 1
19393
19386
  },
19394
19387
  buttonType: "ghost",
19395
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19396
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
19388
+ disabled: props == null ? void 0 : props.disabledButton
19389
+ }, props == null ? void 0 : props.cancelButtonProps, {
19397
19390
  __self: undefined,
19398
19391
  __source: {
19399
19392
  fileName: _jsxFileName$b,
@@ -19415,8 +19408,8 @@
19415
19408
  css: {
19416
19409
  flex: props.isMobile && 1
19417
19410
  },
19418
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19419
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19411
+ disabled: props == null ? void 0 : props.disabledButton
19412
+ }, props == null ? void 0 : props.actionButtonProps, {
19420
19413
  __self: undefined,
19421
19414
  __source: {
19422
19415
  fileName: _jsxFileName$b,
@@ -19575,8 +19568,8 @@
19575
19568
  css: {
19576
19569
  flex: props.isMobile && 1
19577
19570
  },
19578
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19579
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19571
+ disabled: props == null ? void 0 : props.disabledButton
19572
+ }, props == null ? void 0 : props.actionButtonProps, {
19580
19573
  __self: this,
19581
19574
  __source: {
19582
19575
  fileName: _jsxFileName$b,
@@ -19595,12 +19588,12 @@
19595
19588
  size: "sm",
19596
19589
  onClick: props.onCancel,
19597
19590
  css: {
19598
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
19591
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
19599
19592
  flex: props.isMobile && 1
19600
19593
  },
19601
19594
  buttonType: "ghost",
19602
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19603
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
19595
+ disabled: props == null ? void 0 : props.disabledButton
19596
+ }, props == null ? void 0 : props.cancelButtonProps, {
19604
19597
  __self: this,
19605
19598
  __source: {
19606
19599
  fileName: _jsxFileName$b,
@@ -19622,8 +19615,8 @@
19622
19615
  css: {
19623
19616
  flex: props.isMobile && 1
19624
19617
  },
19625
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19626
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19618
+ disabled: props == null ? void 0 : props.disabledButton
19619
+ }, props == null ? void 0 : props.actionButtonProps, {
19627
19620
  __self: this,
19628
19621
  __source: {
19629
19622
  fileName: _jsxFileName$b,
@@ -19673,7 +19666,7 @@
19673
19666
  const AlertDialogConfirm = ADialog__namespace.Action;
19674
19667
 
19675
19668
  const _excluded = ["side", "align", "children"];
19676
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
19669
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
19677
19670
  const Context = /*#__PURE__*/React__default["default"].createContext();
19678
19671
  const slideUpAndFade = keyframes({
19679
19672
  '0%': {
@@ -20009,7 +20002,6 @@
20009
20002
  }
20010
20003
  };
20011
20004
 
20012
- var global$4 = global$U;
20013
20005
  var bind$2 = functionBindContext;
20014
20006
  var call$2 = functionCall;
20015
20007
  var toObject = toObject$7;
@@ -20021,7 +20013,7 @@
20021
20013
  var getIterator$1 = getIterator$3;
20022
20014
  var getIteratorMethod$1 = getIteratorMethod$4;
20023
20015
 
20024
- var Array$1 = global$4.Array;
20016
+ var $Array = Array;
20025
20017
 
20026
20018
  // `Array.from` method implementation
20027
20019
  // https://tc39.es/ecma262/#sec-array.from
@@ -20036,7 +20028,7 @@
20036
20028
  var index = 0;
20037
20029
  var length, result, step, iterator, next, value;
20038
20030
  // if the target is not iterable or it's an array with the default iterator - use a simple case
20039
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
20031
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
20040
20032
  iterator = getIterator$1(O, iteratorMethod);
20041
20033
  next = iterator.next;
20042
20034
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -20046,7 +20038,7 @@
20046
20038
  }
20047
20039
  } else {
20048
20040
  length = lengthOfArrayLike(O);
20049
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
20041
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
20050
20042
  for (;length > index; index++) {
20051
20043
  value = mapping ? mapfn(O[index], index) : O[index];
20052
20044
  createProperty(result, index, value);
@@ -20057,7 +20049,6 @@
20057
20049
  };
20058
20050
 
20059
20051
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
20060
- var global$3 = global$U;
20061
20052
  var uncurryThis$2 = functionUncurryThis;
20062
20053
 
20063
20054
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -20074,7 +20065,7 @@
20074
20065
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
20075
20066
  var baseMinusTMin = base - tMin;
20076
20067
 
20077
- var RangeError = global$3.RangeError;
20068
+ var $RangeError = RangeError;
20078
20069
  var exec$1 = uncurryThis$2(regexSeparators.exec);
20079
20070
  var floor$1 = Math.floor;
20080
20071
  var fromCharCode = String.fromCharCode;
@@ -20189,7 +20180,7 @@
20189
20180
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
20190
20181
  var handledCPCountPlusOne = handledCPCount + 1;
20191
20182
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
20192
- throw RangeError(OVERFLOW_ERROR);
20183
+ throw $RangeError(OVERFLOW_ERROR);
20193
20184
  }
20194
20185
 
20195
20186
  delta += (m - n) * handledCPCountPlusOne;
@@ -20198,7 +20189,7 @@
20198
20189
  for (i = 0; i < input.length; i++) {
20199
20190
  currentValue = input[i];
20200
20191
  if (currentValue < n && ++delta > maxInt) {
20201
- throw RangeError(OVERFLOW_ERROR);
20192
+ throw $RangeError(OVERFLOW_ERROR);
20202
20193
  }
20203
20194
  if (currentValue == n) {
20204
20195
  // Represent delta as a generalized variable-length integer.
@@ -20248,7 +20239,7 @@
20248
20239
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
20249
20240
 
20250
20241
  var $$4 = _export;
20251
- var global$2 = global$U;
20242
+ var global$2 = global$s;
20252
20243
  var call$1 = functionCall;
20253
20244
  var uncurryThis$1 = functionUncurryThis;
20254
20245
  var DESCRIPTORS$1 = descriptors;
@@ -20610,7 +20601,7 @@
20610
20601
  };
20611
20602
 
20612
20603
  if (isCallable(nativeFetch)) {
20613
- $$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
20604
+ $$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
20614
20605
  fetch: function fetch(input /* , init */) {
20615
20606
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
20616
20607
  }
@@ -20626,7 +20617,7 @@
20626
20617
  RequestPrototype.constructor = RequestConstructor;
20627
20618
  RequestConstructor.prototype = RequestPrototype;
20628
20619
 
20629
- $$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
20620
+ $$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
20630
20621
  Request: RequestConstructor
20631
20622
  });
20632
20623
  }
@@ -20642,7 +20633,7 @@
20642
20633
  var $$3 = _export;
20643
20634
  var DESCRIPTORS = descriptors;
20644
20635
  var USE_NATIVE_URL = nativeUrl;
20645
- var global$1 = global$U;
20636
+ var global$1 = global$s;
20646
20637
  var bind = functionBindContext;
20647
20638
  var uncurryThis = functionUncurryThis;
20648
20639
  var defineBuiltIn = defineBuiltIn$b;
@@ -21799,7 +21790,7 @@
21799
21790
  return promise;
21800
21791
  }
21801
21792
 
21802
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
21793
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
21803
21794
  const Input$2 = styled('input', {
21804
21795
  display: 'none !important'
21805
21796
  });
@@ -22139,7 +22130,7 @@
22139
22130
  file: fileProgress,
22140
22131
  indexReplace: indexReplace.current,
22141
22132
  isReplace: indexReplace.current !== null
22142
- })) === 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));
22133
+ })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
22143
22134
  }
22144
22135
  }).then(result => {
22145
22136
  var _onChange2, _onChange2$then;
@@ -22161,7 +22152,7 @@
22161
22152
  file: fileSuccess,
22162
22153
  indexReplace: indexReplace.current,
22163
22154
  isReplace: indexReplace.current !== null
22164
- })) === 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));
22155
+ })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
22165
22156
  }).catch(error => {
22166
22157
  var _onChange3, _onChange3$then;
22167
22158
 
@@ -22182,7 +22173,7 @@
22182
22173
  file: fileError,
22183
22174
  indexReplace: indexReplace.current,
22184
22175
  isReplace: indexReplace.current !== null
22185
- })) === 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));
22176
+ })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
22186
22177
  });
22187
22178
  } else {
22188
22179
  var _onChange4, _onChange4$then;
@@ -22192,7 +22183,7 @@
22192
22183
  file: newFile,
22193
22184
  indexReplace: indexReplace.current,
22194
22185
  isReplace: indexReplace.current !== null
22195
- })) === 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));
22186
+ })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
22196
22187
  }
22197
22188
 
22198
22189
  if (indexReplace.current !== null) {
@@ -22219,9 +22210,9 @@
22219
22210
  }
22220
22211
 
22221
22212
  function handleCrop() {
22222
- if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
22213
+ if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
22223
22214
  imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
22224
- const file = new File([blob], fileState === null || fileState === void 0 ? void 0 : fileState.name, {
22215
+ const file = new File([blob], fileState == null ? void 0 : fileState.name, {
22225
22216
  type: blob.type
22226
22217
  });
22227
22218
  handleUpload([file]);
@@ -22289,22 +22280,22 @@
22289
22280
  function handleOpenFile(file) {
22290
22281
  var _String, _file$name;
22291
22282
 
22292
- 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();
22283
+ let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
22293
22284
 
22294
22285
  if (extension === 'pdf') {
22295
- window.open(file === null || file === void 0 ? void 0 : file.url);
22286
+ window.open(file == null ? void 0 : file.url);
22296
22287
  } else {
22297
- request__default["default"].get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
22288
+ request__default["default"].get(file == null ? void 0 : file.url).end((err, res) => {
22298
22289
  if (err) {
22299
22290
  console.error(err.message);
22300
22291
  }
22301
22292
 
22302
- if (res && res !== null && res !== void 0 && res.ok) {
22303
- const response = res === null || res === void 0 ? void 0 : res.text;
22293
+ if (res && res != null && res.ok) {
22294
+ const response = res == null ? void 0 : res.text;
22304
22295
  const url = window.URL.createObjectURL(new Blob([response]));
22305
22296
  const link = document.createElement('a');
22306
22297
  link.href = url;
22307
- link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
22298
+ link.setAttribute('download', file == null ? void 0 : file.name);
22308
22299
  document.body.appendChild(link);
22309
22300
  link.click();
22310
22301
  document.body.removeChild(link);
@@ -22374,12 +22365,12 @@
22374
22365
  }
22375
22366
 
22376
22367
  const renderPicture = () => {
22377
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
22378
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
22368
+ return fileList == null ? void 0 : fileList.map((item, index) => {
22369
+ if ((item == null ? void 0 : item.status) === 'uploading') {
22379
22370
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
22380
22371
  key: index,
22381
- progress: item === null || item === void 0 ? void 0 : item.percent,
22382
- loading: item === null || item === void 0 ? void 0 : item.loading,
22372
+ progress: item == null ? void 0 : item.percent,
22373
+ loading: item == null ? void 0 : item.loading,
22383
22374
  __self: undefined,
22384
22375
  __source: {
22385
22376
  fileName: _jsxFileName$9,
@@ -22454,14 +22445,14 @@
22454
22445
  };
22455
22446
 
22456
22447
  const renderFile = () => {
22457
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
22448
+ return fileList == null ? void 0 : fileList.map((item, index) => {
22458
22449
  var _item$name;
22459
22450
 
22460
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
22451
+ if ((item == null ? void 0 : item.status) === 'uploading') {
22461
22452
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
22462
22453
  key: index,
22463
- progress: item === null || item === void 0 ? void 0 : item.percent,
22464
- loading: item === null || item === void 0 ? void 0 : item.loading,
22454
+ progress: item == null ? void 0 : item.percent,
22455
+ loading: item == null ? void 0 : item.loading,
22465
22456
  __self: undefined,
22466
22457
  __source: {
22467
22458
  fileName: _jsxFileName$9,
@@ -22528,7 +22519,7 @@
22528
22519
  lineNumber: 611,
22529
22520
  columnNumber: 17
22530
22521
  }
22531
- }, ".", 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["default"].createElement(Tooltip$1, {
22522
+ }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
22532
22523
  label: item.name,
22533
22524
  __self: undefined,
22534
22525
  __source: {
@@ -22700,7 +22691,7 @@
22700
22691
  lineNumber: 686,
22701
22692
  columnNumber: 11
22702
22693
  }
22703
- }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
22694
+ }, children != null ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
22704
22695
  __self: this,
22705
22696
  __source: {
22706
22697
  fileName: _jsxFileName$9,
@@ -22734,7 +22725,7 @@
22734
22725
  lineNumber: 692,
22735
22726
  columnNumber: 17
22736
22727
  }
22737
- }, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
22728
+ }, placeholder != null ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
22738
22729
  __self: this,
22739
22730
  __source: {
22740
22731
  fileName: _jsxFileName$9,
@@ -22882,12 +22873,12 @@
22882
22873
  lineNumber: 731,
22883
22874
  columnNumber: 15
22884
22875
  }
22885
- }, `${completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
22876
+ }, `${completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
22886
22877
  }
22887
22878
 
22888
22879
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
22889
22880
  direction: "row",
22890
- gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
22881
+ gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
22891
22882
  wrap: "wrap",
22892
22883
  css: {
22893
22884
  userSelect: 'none'
@@ -22924,151 +22915,151 @@
22924
22915
  disabled: false
22925
22916
  };
22926
22917
  Upload.propTypes = {
22927
- /**
22928
- Placeholder label of upload.
22918
+ /**
22919
+ Placeholder label of upload.
22929
22920
  */
22930
22921
  placeholder: PropTypes__default["default"].string,
22931
22922
 
22932
- /**
22933
- Disabled state of upload.
22923
+ /**
22924
+ Disabled state of upload.
22934
22925
  */
22935
22926
  disabled: PropTypes__default["default"].bool,
22936
22927
 
22937
- /**
22938
- Built-in stylesheets, support for two types.
22928
+ /**
22929
+ Built-in stylesheets, support for two types.
22939
22930
  */
22940
22931
  listType: PropTypes__default["default"].oneOf(['file', 'picture']),
22941
22932
 
22942
- /**
22943
- Whether to support selected multiple file.
22933
+ /**
22934
+ Whether to support selected multiple file.
22944
22935
  */
22945
22936
  multiple: PropTypes__default["default"].bool,
22946
22937
 
22947
- /**
22948
- List of files to be uploaded.
22938
+ /**
22939
+ List of files to be uploaded.
22949
22940
  */
22950
22941
  fileList: PropTypes__default["default"].array,
22951
22942
 
22952
- /**
22953
- A callback function, can be executed when uploading state is changing.
22943
+ /**
22944
+ A callback function, can be executed when uploading state is changing.
22954
22945
  */
22955
22946
  onChange: PropTypes__default["default"].func,
22956
22947
 
22957
- /**
22958
- A callback function, can be executed when uploading in progress.
22959
- `(progress) => void`
22948
+ /**
22949
+ A callback function, can be executed when uploading in progress.
22950
+ `(progress) => void`
22960
22951
  */
22961
22952
  onProgress: PropTypes__default["default"].func,
22962
22953
 
22963
- /**
22964
- A callback function, can be executed when uploading is success.
22965
- `(response) => void`
22954
+ /**
22955
+ A callback function, can be executed when uploading is success.
22956
+ `(response) => void`
22966
22957
  */
22967
22958
  onSuccess: PropTypes__default["default"].func,
22968
22959
 
22969
- /**
22970
- A callback function, can be executed when uploading is error.
22971
- `(error, response) => void`
22960
+ /**
22961
+ A callback function, can be executed when uploading is error.
22962
+ `(error, response) => void`
22972
22963
  */
22973
22964
  onError: PropTypes__default["default"].func,
22974
22965
 
22975
- /**
22976
- A callback function, can be executed when preview icon in picture type is clicked.
22966
+ /**
22967
+ A callback function, can be executed when preview icon in picture type is clicked.
22977
22968
  */
22978
22969
  onPreview: PropTypes__default["default"].func,
22979
22970
 
22980
- /**
22981
- A callback function, can be executed when remove icon is clicked.
22971
+ /**
22972
+ A callback function, can be executed when remove icon is clicked.
22982
22973
  */
22983
22974
  onRemove: PropTypes__default["default"].func,
22984
22975
 
22985
- /**
22986
- A custom element inside upload container.
22976
+ /**
22977
+ A custom element inside upload container.
22987
22978
  */
22988
22979
  children: PropTypes__default["default"].element,
22989
22980
 
22990
- /**
22991
- Limit the number of uploaded files.
22981
+ /**
22982
+ Limit the number of uploaded files.
22992
22983
  */
22993
22984
  max: PropTypes__default["default"].number,
22994
22985
 
22995
- /**
22996
- Limit file type of upload.
22986
+ /**
22987
+ Limit file type of upload.
22997
22988
  */
22998
22989
  accept: PropTypes__default["default"].string,
22999
22990
 
23000
- /**
23001
- Custom label for replace button.
22991
+ /**
22992
+ Custom label for replace button.
23002
22993
  */
23003
22994
  replaceLabel: PropTypes__default["default"].string,
23004
22995
 
23005
- /**
23006
- Custom width of upload container.
22996
+ /**
22997
+ Custom width of upload container.
23007
22998
  */
23008
22999
  width: PropTypes__default["default"].number,
23009
23000
 
23010
- /**
23011
- Custom height of upload container.
23001
+ /**
23002
+ Custom height of upload container.
23012
23003
  */
23013
23004
  height: PropTypes__default["default"].number,
23014
23005
 
23015
- /**
23016
- Additional css.
23006
+ /**
23007
+ Additional css.
23017
23008
  */
23018
23009
  css: PropTypes__default["default"].object,
23019
23010
 
23020
- /**
23021
- Custom title header of cropper modal.
23011
+ /**
23012
+ Custom title header of cropper modal.
23022
23013
  */
23023
23014
  cropperTitle: PropTypes__default["default"].string,
23024
23015
 
23025
- /**
23026
- Add image cropper on upload.
23016
+ /**
23017
+ Add image cropper on upload.
23027
23018
  */
23028
23019
  showCropper: PropTypes__default["default"].bool,
23029
23020
 
23030
- /**
23031
- 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.
23021
+ /**
23022
+ 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.
23032
23023
  */
23033
23024
  ratio: PropTypes__default["default"].number,
23034
23025
 
23035
- /**
23036
- Can set error message to the upload.
23026
+ /**
23027
+ Can set error message to the upload.
23037
23028
  */
23038
23029
  errorMessage: PropTypes__default["default"].string,
23039
23030
 
23040
- /**
23041
- Progress of upload process.
23031
+ /**
23032
+ Progress of upload process.
23042
23033
  */
23043
23034
  progress: PropTypes__default["default"].number,
23044
23035
 
23045
- /**
23046
- Auto increment progress of upload process.
23036
+ /**
23037
+ Auto increment progress of upload process.
23047
23038
  */
23048
23039
  loading: PropTypes__default["default"].bool,
23049
23040
 
23050
- /**
23051
- API upload url, allows components to automatically upload directly to API service.
23041
+ /**
23042
+ API upload url, allows components to automatically upload directly to API service.
23052
23043
  */
23053
23044
  action: PropTypes__default["default"].string,
23054
23045
 
23055
- /**
23056
- Contains an authentication token for upload API.
23046
+ /**
23047
+ Contains an authentication token for upload API.
23057
23048
  */
23058
23049
  token: PropTypes__default["default"].string,
23059
23050
 
23060
- /**
23061
- Referencing the headers key to attach the token.
23051
+ /**
23052
+ Referencing the headers key to attach the token.
23062
23053
  */
23063
23054
  tokenKey: PropTypes__default["default"].string,
23064
23055
 
23065
- /**
23066
- Referencing the key to attach the file to be sent.
23056
+ /**
23057
+ Referencing the key to attach the file to be sent.
23067
23058
  */
23068
23059
  reqKey: PropTypes__default["default"].string,
23069
23060
 
23070
- /**
23071
- Referencing the key to get the file from the API response.
23061
+ /**
23062
+ Referencing the key to get the file from the API response.
23072
23063
  */
23073
23064
  resKey: PropTypes__default["default"].string
23074
23065
  };
@@ -23313,7 +23304,7 @@
23313
23304
 
23314
23305
  Device.displayName = 'DevicePreview';
23315
23306
 
23316
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
23307
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
23317
23308
  const Separator$1 = styled('div', {
23318
23309
  height: 20,
23319
23310
  width: 1,
@@ -23325,10 +23316,10 @@
23325
23316
  const [isPopover, setIsPopover] = React.useState(false);
23326
23317
 
23327
23318
  function getColor() {
23328
- const color = props === null || props === void 0 ? void 0 : props.color;
23319
+ const color = props == null ? void 0 : props.color;
23329
23320
 
23330
23321
  if (typeof color === 'string') {
23331
- return color === null || color === void 0 ? void 0 : color.toUpperCase();
23322
+ return color == null ? void 0 : color.toUpperCase();
23332
23323
  }
23333
23324
 
23334
23325
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -23425,28 +23416,28 @@
23425
23416
 
23426
23417
  InputColorPicker.displayName = 'InputColorPicker';
23427
23418
  InputColorPicker.propTypes = {
23428
- /**
23429
- Color code to be displayed.
23419
+ /**
23420
+ Color code to be displayed.
23430
23421
  */
23431
23422
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
23432
23423
 
23433
- /**
23434
- Additional color list.
23424
+ /**
23425
+ Additional color list.
23435
23426
  */
23436
23427
  presetColors: PropTypes__default["default"].array,
23437
23428
 
23438
- /**
23439
- Change event handler.
23429
+ /**
23430
+ Change event handler.
23440
23431
  */
23441
23432
  onChange: PropTypes__default["default"].func,
23442
23433
 
23443
- /**
23444
- Add preset color event handler.
23434
+ /**
23435
+ Add preset color event handler.
23445
23436
  */
23446
23437
  onAddColor: PropTypes__default["default"].func,
23447
23438
 
23448
- /**
23449
- Disable opacity selector.
23439
+ /**
23440
+ Disable opacity selector.
23450
23441
  */
23451
23442
  disableAlpha: PropTypes__default["default"].bool
23452
23443
  };
@@ -23456,7 +23447,7 @@
23456
23447
 
23457
23448
  var img$d = "data:image/gif;base64,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";
23458
23449
 
23459
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
23450
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
23460
23451
  const Container$6 = styled('div', {
23461
23452
  userSelect: 'none',
23462
23453
  margin: 'auto',
@@ -25420,7 +25411,7 @@
25420
25411
  })));
25421
25412
  }
25422
25413
 
25423
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
25414
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
25424
25415
  const CheckBoard = styled(Flex$1, {
25425
25416
  background: '$bgwhite',
25426
25417
  border: '1px solid #E5E7EB',
@@ -25621,7 +25612,7 @@
25621
25612
  }, "%")));
25622
25613
  }
25623
25614
 
25624
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
25615
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
25625
25616
  const Container$5 = styled(Flex$1, {
25626
25617
  background: '$white',
25627
25618
  padding: 16,
@@ -26124,28 +26115,28 @@
26124
26115
  }
26125
26116
 
26126
26117
  ColorPicker.propTypes = {
26127
- /**
26128
- Color code to be displayed.
26118
+ /**
26119
+ Color code to be displayed.
26129
26120
  */
26130
26121
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
26131
26122
 
26132
- /**
26133
- Additional color list
26123
+ /**
26124
+ Additional color list
26134
26125
  */
26135
26126
  presetColors: PropTypes__default["default"].array,
26136
26127
 
26137
- /**
26138
- Change event handler
26128
+ /**
26129
+ Change event handler
26139
26130
  */
26140
26131
  onChange: PropTypes__default["default"].func,
26141
26132
 
26142
- /**
26143
- Add preset color event handler
26133
+ /**
26134
+ Add preset color event handler
26144
26135
  */
26145
26136
  onAddColor: PropTypes__default["default"].func,
26146
26137
 
26147
- /**
26148
- Disable opacity selector
26138
+ /**
26139
+ Disable opacity selector
26149
26140
  */
26150
26141
  disableAlpha: PropTypes__default["default"].bool
26151
26142
  };
@@ -26154,7 +26145,7 @@
26154
26145
  };
26155
26146
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
26156
26147
 
26157
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
26148
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
26158
26149
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
26159
26150
  const Stepper = StepWizard__default["default"];
26160
26151
  Stepper.displayName = 'Stepper';
@@ -26298,9 +26289,9 @@
26298
26289
  lineNumber: 119,
26299
26290
  columnNumber: 30
26300
26291
  }
26301
- }), data[i - 1].title, ((_data = data[i - 1]) === null || _data === void 0 ? void 0 : _data.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
26292
+ }), data[i - 1].title, ((_data = data[i - 1]) == null ? void 0 : _data.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
26302
26293
  align: "center",
26303
- label: (_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.tooltipsContents,
26294
+ label: (_data2 = data[i - 1]) == null ? void 0 : _data2.tooltipsContents,
26304
26295
  __self: undefined,
26305
26296
  __source: {
26306
26297
  fileName: _jsxFileName$4,
@@ -26371,10 +26362,10 @@
26371
26362
  lineNumber: 155,
26372
26363
  columnNumber: 15
26373
26364
  }
26374
- }, isActive ? data[i - 1].title : ''), isActive && ((_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
26365
+ }, isActive ? data[i - 1].title : ''), isActive && ((_data3 = data[i - 1]) == null ? void 0 : _data3.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
26375
26366
  align: "center",
26376
26367
  withClick: true,
26377
- label: (_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.tooltipsContents,
26368
+ label: (_data4 = data[i - 1]) == null ? void 0 : _data4.tooltipsContents,
26378
26369
  __self: undefined,
26379
26370
  __source: {
26380
26371
  fileName: _jsxFileName$4,
@@ -26455,9 +26446,7 @@
26455
26446
  }));
26456
26447
  }, [props.hide]);
26457
26448
  React.useEffect(() => {
26458
- var _props$onChangeVisibi;
26459
-
26460
- props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
26449
+ props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
26461
26450
  }, [state.hide]);
26462
26451
 
26463
26452
  const toogleVisibility = value => {
@@ -26469,13 +26458,13 @@
26469
26458
  const getIsComplete = currentStep => {
26470
26459
  var _state$isComplete;
26471
26460
 
26472
- return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
26461
+ return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
26473
26462
  };
26474
26463
 
26475
26464
  const getTitleStep = currentStep => {
26476
26465
  var _props$navContents, _props$navContents2;
26477
26466
 
26478
- 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;
26467
+ return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
26479
26468
  };
26480
26469
 
26481
26470
  const setState = value => {
@@ -26527,11 +26516,11 @@
26527
26516
  }, /*#__PURE__*/React__default["default"].createElement(StepWizardContext.Provider, {
26528
26517
  value: {
26529
26518
  toogleVisibility,
26530
- isHide: state === null || state === void 0 ? void 0 : state.hide,
26519
+ isHide: state == null ? void 0 : state.hide,
26531
26520
  setComplete,
26532
26521
  setState,
26533
26522
  state,
26534
- SW: state === null || state === void 0 ? void 0 : state.SW,
26523
+ SW: state == null ? void 0 : state.SW,
26535
26524
  forbidClickNav: props.forbidClickNav,
26536
26525
  titles: props.titles,
26537
26526
  isMobile: props.isMobile,
@@ -26577,7 +26566,7 @@
26577
26566
  }), void 0);
26578
26567
  };
26579
26568
 
26580
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
26569
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
26581
26570
 
26582
26571
  function Collapse({
26583
26572
  children,
@@ -26622,7 +26611,7 @@
26622
26611
  isOpen: false
26623
26612
  };
26624
26613
 
26625
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
26614
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
26626
26615
  const DesktopContainer = styled(Flex$1, {
26627
26616
  display: 'none',
26628
26617
  '& .active-scroll-spy': {
@@ -26703,10 +26692,10 @@
26703
26692
  function getDatasets(content, activeId, isCollapse) {
26704
26693
  const datasets = [];
26705
26694
 
26706
- for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
26695
+ for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
26707
26696
  var _content$i;
26708
26697
 
26709
- if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
26698
+ if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
26710
26699
  datasets.unshift(content[i]);
26711
26700
  } else {
26712
26701
  datasets.push(content[i]);
@@ -26746,7 +26735,7 @@
26746
26735
  lineNumber: 99,
26747
26736
  columnNumber: 7
26748
26737
  }
26749
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
26738
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
26750
26739
  return /*#__PURE__*/React__default["default"].createElement(List, {
26751
26740
  key: index,
26752
26741
  __self: this,
@@ -26763,11 +26752,11 @@
26763
26752
  marginLeft: '-4px !important',
26764
26753
  borderLeftWidth: '4px !important',
26765
26754
  borderLeftStyle: 'solid !important',
26766
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
26755
+ borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
26767
26756
  paddingLeft: '16px !important',
26768
26757
  minHeight: 25
26769
26758
  },
26770
- "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
26759
+ "data-to-scrollspy-id": item == null ? void 0 : item.id,
26771
26760
  __self: this,
26772
26761
  __source: {
26773
26762
  fileName: _jsxFileName$2,
@@ -26776,8 +26765,8 @@
26776
26765
  }
26777
26766
  }, /*#__PURE__*/React__default["default"].createElement(Title$1, {
26778
26767
  className: "link-title",
26779
- active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
26780
- href: `#${item === null || item === void 0 ? void 0 : item.id}`,
26768
+ active: (item == null ? void 0 : item.id) === activeId,
26769
+ href: `#${item == null ? void 0 : item.id}`,
26781
26770
  onClick: e => {
26782
26771
  e.preventDefault();
26783
26772
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -26806,7 +26795,7 @@
26806
26795
  lineNumber: 117,
26807
26796
  columnNumber: 17
26808
26797
  }
26809
- }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
26798
+ }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
26810
26799
  })));
26811
26800
  }
26812
26801
 
@@ -26908,23 +26897,23 @@
26908
26897
  isDialog: false
26909
26898
  };
26910
26899
  TableOfContent.propTypes = {
26911
- /**
26912
- List of contents containing the title and id of a content.
26900
+ /**
26901
+ List of contents containing the title and id of a content.
26913
26902
  */
26914
26903
  content: PropTypes__default["default"].array,
26915
26904
 
26916
- /**
26917
- Components devoted to mobile viewing only.
26905
+ /**
26906
+ Components devoted to mobile viewing only.
26918
26907
  */
26919
26908
  isMobile: PropTypes__default["default"].bool,
26920
26909
 
26921
- /**
26922
- Condition when table of content is inside a component dialog.
26910
+ /**
26911
+ Condition when table of content is inside a component dialog.
26923
26912
  */
26924
26913
  isDialog: PropTypes__default["default"].bool,
26925
26914
 
26926
- /**
26927
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
26915
+ /**
26916
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
26928
26917
  */
26929
26918
  activeId: PropTypes__default["default"].string
26930
26919
  };
@@ -26944,7 +26933,7 @@
26944
26933
  useBoxMethod: true
26945
26934
  };
26946
26935
 
26947
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
26936
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
26948
26937
 
26949
26938
  function Collapalse({
26950
26939
  children,
@@ -30120,7 +30109,7 @@
30120
30109
  }), void 0);
30121
30110
  }
30122
30111
 
30123
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
30112
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
30124
30113
  const StyledPaper = styled(Paper, {
30125
30114
  borderRadius: '10px 10px 0 0',
30126
30115
  padding: 15,