@majoo-ui/react 1.54.1-rc.1 → 1.54.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
@@ -58,7 +58,7 @@
58
58
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
59
59
  var imageCompressionComponent__default = /*#__PURE__*/_interopDefaultLegacy(imageCompressionComponent);
60
60
 
61
- var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
61
+ var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
62
62
 
63
63
  function ThemeProvider({
64
64
  theme,
@@ -87,7 +87,7 @@
87
87
  };
88
88
 
89
89
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
90
- var global$s =
90
+ var global$U =
91
91
  // eslint-disable-next-line es-x/no-global-this -- safe
92
92
  check(typeof globalThis == 'object' && globalThis) ||
93
93
  check(typeof window == 'object' && window) ||
@@ -181,28 +181,31 @@
181
181
  return stringSlice$b(toString$j(it), 8, -1);
182
182
  };
183
183
 
184
+ var global$T = global$U;
184
185
  var uncurryThis$v = functionUncurryThis;
185
186
  var fails$q = fails$t;
186
187
  var classof$8 = classofRaw$1;
187
188
 
188
- var $Object$4 = Object;
189
+ var Object$5 = global$T.Object;
189
190
  var split$3 = uncurryThis$v(''.split);
190
191
 
191
192
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
192
193
  var indexedObject = fails$q(function () {
193
194
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
194
195
  // eslint-disable-next-line no-prototype-builtins -- safe
195
- return !$Object$4('z').propertyIsEnumerable(0);
196
+ return !Object$5('z').propertyIsEnumerable(0);
196
197
  }) ? function (it) {
197
- return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
198
- } : $Object$4;
198
+ return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
199
+ } : Object$5;
199
200
 
200
- var $TypeError$f = TypeError;
201
+ var global$S = global$U;
202
+
203
+ var TypeError$j = global$S.TypeError;
201
204
 
202
205
  // `RequireObjectCoercible` abstract operation
203
206
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
204
207
  var requireObjectCoercible$a = function (it) {
205
- if (it == undefined) throw $TypeError$f("Can't call method on " + it);
208
+ if (it == undefined) throw TypeError$j("Can't call method on " + it);
206
209
  return it;
207
210
  };
208
211
 
@@ -226,7 +229,7 @@
226
229
  return typeof it == 'object' ? it !== null : isCallable$o(it);
227
230
  };
228
231
 
229
- var global$r = global$s;
232
+ var global$R = global$U;
230
233
  var isCallable$n = isCallable$p;
231
234
 
232
235
  var aFunction = function (argument) {
@@ -234,7 +237,7 @@
234
237
  };
235
238
 
236
239
  var getBuiltIn$8 = function (namespace, method) {
237
- return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
240
+ return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
238
241
  };
239
242
 
240
243
  var uncurryThis$u = functionUncurryThis;
@@ -245,11 +248,11 @@
245
248
 
246
249
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
247
250
 
248
- var global$q = global$s;
251
+ var global$Q = global$U;
249
252
  var userAgent$5 = engineUserAgent;
250
253
 
251
- var process$3 = global$q.process;
252
- var Deno$1 = global$q.Deno;
254
+ var process$3 = global$Q.process;
255
+ var Deno$1 = global$Q.Deno;
253
256
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
254
257
  var v8 = versions && versions.v8;
255
258
  var match, version;
@@ -296,39 +299,43 @@
296
299
  && !Symbol.sham
297
300
  && typeof Symbol.iterator == 'symbol';
298
301
 
302
+ var global$P = global$U;
299
303
  var getBuiltIn$6 = getBuiltIn$8;
300
304
  var isCallable$m = isCallable$p;
301
305
  var isPrototypeOf$5 = objectIsPrototypeOf;
302
306
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
303
307
 
304
- var $Object$3 = Object;
308
+ var Object$4 = global$P.Object;
305
309
 
306
310
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
307
311
  return typeof it == 'symbol';
308
312
  } : function (it) {
309
313
  var $Symbol = getBuiltIn$6('Symbol');
310
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
314
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
311
315
  };
312
316
 
313
- var $String$4 = String;
317
+ var global$O = global$U;
318
+
319
+ var String$6 = global$O.String;
314
320
 
315
- var tryToString$5 = function (argument) {
321
+ var tryToString$4 = function (argument) {
316
322
  try {
317
- return $String$4(argument);
323
+ return String$6(argument);
318
324
  } catch (error) {
319
325
  return 'Object';
320
326
  }
321
327
  };
322
328
 
329
+ var global$N = global$U;
323
330
  var isCallable$l = isCallable$p;
324
- var tryToString$4 = tryToString$5;
331
+ var tryToString$3 = tryToString$4;
325
332
 
326
- var $TypeError$e = TypeError;
333
+ var TypeError$i = global$N.TypeError;
327
334
 
328
335
  // `Assert: IsCallable(argument) is true`
329
336
  var aCallable$9 = function (argument) {
330
337
  if (isCallable$l(argument)) return argument;
331
- throw $TypeError$e(tryToString$4(argument) + ' is not a function');
338
+ throw TypeError$i(tryToString$3(argument) + ' is not a function');
332
339
  };
333
340
 
334
341
  var aCallable$8 = aCallable$9;
@@ -340,11 +347,12 @@
340
347
  return func == null ? undefined : aCallable$8(func);
341
348
  };
342
349
 
350
+ var global$M = global$U;
343
351
  var call$l = functionCall;
344
352
  var isCallable$k = isCallable$p;
345
353
  var isObject$c = isObject$d;
346
354
 
347
- var $TypeError$d = TypeError;
355
+ var TypeError$h = global$M.TypeError;
348
356
 
349
357
  // `OrdinaryToPrimitive` abstract operation
350
358
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -353,31 +361,31 @@
353
361
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
354
362
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
355
363
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
356
- throw $TypeError$d("Can't convert object to primitive value");
364
+ throw TypeError$h("Can't convert object to primitive value");
357
365
  };
358
366
 
359
367
  var shared$4 = {exports: {}};
360
368
 
361
369
  var isPure = false;
362
370
 
363
- var global$p = global$s;
371
+ var global$L = global$U;
364
372
 
365
373
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
366
- var defineProperty$8 = Object.defineProperty;
374
+ var defineProperty$7 = Object.defineProperty;
367
375
 
368
- var defineGlobalProperty$3 = function (key, value) {
376
+ var setGlobal$3 = function (key, value) {
369
377
  try {
370
- defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
378
+ defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
371
379
  } catch (error) {
372
- global$p[key] = value;
380
+ global$L[key] = value;
373
381
  } return value;
374
382
  };
375
383
 
376
- var global$o = global$s;
377
- var defineGlobalProperty$2 = defineGlobalProperty$3;
384
+ var global$K = global$U;
385
+ var setGlobal$2 = setGlobal$3;
378
386
 
379
387
  var SHARED = '__core-js_shared__';
380
- var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
388
+ var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
381
389
 
382
390
  var sharedStore = store$3;
383
391
 
@@ -386,21 +394,22 @@
386
394
  (shared$4.exports = function (key, value) {
387
395
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
388
396
  })('versions', []).push({
389
- version: '3.24.1',
397
+ version: '3.22.5',
390
398
  mode: 'global',
391
399
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
392
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
400
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
393
401
  source: 'https://github.com/zloirock/core-js'
394
402
  });
395
403
 
404
+ var global$J = global$U;
396
405
  var requireObjectCoercible$8 = requireObjectCoercible$a;
397
406
 
398
- var $Object$2 = Object;
407
+ var Object$3 = global$J.Object;
399
408
 
400
409
  // `ToObject` abstract operation
401
410
  // https://tc39.es/ecma262/#sec-toobject
402
411
  var toObject$7 = function (argument) {
403
- return $Object$2(requireObjectCoercible$8(argument));
412
+ return Object$3(requireObjectCoercible$8(argument));
404
413
  };
405
414
 
406
415
  var uncurryThis$t = functionUncurryThis;
@@ -425,7 +434,7 @@
425
434
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
426
435
  };
427
436
 
428
- var global$n = global$s;
437
+ var global$I = global$U;
429
438
  var shared$3 = shared$4.exports;
430
439
  var hasOwn$e = hasOwnProperty_1;
431
440
  var uid$1 = uid$2;
@@ -433,7 +442,7 @@
433
442
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
434
443
 
435
444
  var WellKnownSymbolsStore = shared$3('wks');
436
- var Symbol$7 = global$n.Symbol;
445
+ var Symbol$7 = global$I.Symbol;
437
446
  var symbolFor = Symbol$7 && Symbol$7['for'];
438
447
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
439
448
 
@@ -450,6 +459,7 @@
450
459
  } return WellKnownSymbolsStore[name];
451
460
  };
452
461
 
462
+ var global$H = global$U;
453
463
  var call$k = functionCall;
454
464
  var isObject$b = isObject$d;
455
465
  var isSymbol$5 = isSymbol$6;
@@ -457,7 +467,7 @@
457
467
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
458
468
  var wellKnownSymbol$k = wellKnownSymbol$l;
459
469
 
460
- var $TypeError$c = TypeError;
470
+ var TypeError$g = global$H.TypeError;
461
471
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
462
472
 
463
473
  // `ToPrimitive` abstract operation
@@ -470,7 +480,7 @@
470
480
  if (pref === undefined) pref = 'default';
471
481
  result = call$k(exoticToPrim, input, pref);
472
482
  if (!isObject$b(result) || isSymbol$5(result)) return result;
473
- throw $TypeError$c("Can't convert object to primitive value");
483
+ throw TypeError$g("Can't convert object to primitive value");
474
484
  }
475
485
  if (pref === undefined) pref = 'number';
476
486
  return ordinaryToPrimitive(input, pref);
@@ -486,10 +496,10 @@
486
496
  return isSymbol$4(key) ? key : key + '';
487
497
  };
488
498
 
489
- var global$m = global$s;
499
+ var global$G = global$U;
490
500
  var isObject$a = isObject$d;
491
501
 
492
- var document$3 = global$m.document;
502
+ var document$3 = global$G.document;
493
503
  // typeof document.createElement is 'object' in old IE
494
504
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
495
505
 
@@ -547,24 +557,26 @@
547
557
  }).prototype != 42;
548
558
  });
549
559
 
560
+ var global$F = global$U;
550
561
  var isObject$9 = isObject$d;
551
562
 
552
- var $String$3 = String;
553
- var $TypeError$b = TypeError;
563
+ var String$5 = global$F.String;
564
+ var TypeError$f = global$F.TypeError;
554
565
 
555
566
  // `Assert: Type(argument) is Object`
556
567
  var anObject$i = function (argument) {
557
568
  if (isObject$9(argument)) return argument;
558
- throw $TypeError$b($String$3(argument) + ' is not an object');
569
+ throw TypeError$f(String$5(argument) + ' is not an object');
559
570
  };
560
571
 
572
+ var global$E = global$U;
561
573
  var DESCRIPTORS$b = descriptors;
562
574
  var IE8_DOM_DEFINE = ie8DomDefine;
563
575
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
564
576
  var anObject$h = anObject$i;
565
577
  var toPropertyKey$1 = toPropertyKey$3;
566
578
 
567
- var $TypeError$a = TypeError;
579
+ var TypeError$e = global$E.TypeError;
568
580
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
569
581
  var $defineProperty = Object.defineProperty;
570
582
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -597,7 +609,7 @@
597
609
  if (IE8_DOM_DEFINE) try {
598
610
  return $defineProperty(O, P, Attributes);
599
611
  } catch (error) { /* empty */ }
600
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
612
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
601
613
  if ('value' in Attributes) O[P] = Attributes.value;
602
614
  return O;
603
615
  };
@@ -606,7 +618,7 @@
606
618
  var definePropertyModule$5 = objectDefineProperty;
607
619
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
608
620
 
609
- var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
621
+ var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
610
622
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
611
623
  } : function (object, key, value) {
612
624
  object[key] = value;
@@ -648,11 +660,11 @@
648
660
 
649
661
  var inspectSource$4 = store$1.inspectSource;
650
662
 
651
- var global$l = global$s;
663
+ var global$D = global$U;
652
664
  var isCallable$i = isCallable$p;
653
665
  var inspectSource$3 = inspectSource$4;
654
666
 
655
- var WeakMap$1 = global$l.WeakMap;
667
+ var WeakMap$1 = global$D.WeakMap;
656
668
 
657
669
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
658
670
 
@@ -668,18 +680,18 @@
668
680
  var hiddenKeys$4 = {};
669
681
 
670
682
  var NATIVE_WEAK_MAP = nativeWeakMap;
671
- var global$k = global$s;
683
+ var global$C = global$U;
672
684
  var uncurryThis$q = functionUncurryThis;
673
685
  var isObject$8 = isObject$d;
674
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
686
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
675
687
  var hasOwn$b = hasOwnProperty_1;
676
688
  var shared$1 = sharedStore;
677
689
  var sharedKey$2 = sharedKey$3;
678
690
  var hiddenKeys$3 = hiddenKeys$4;
679
691
 
680
692
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
681
- var TypeError$4 = global$k.TypeError;
682
- var WeakMap = global$k.WeakMap;
693
+ var TypeError$d = global$C.TypeError;
694
+ var WeakMap = global$C.WeakMap;
683
695
  var set$1, get$1, has;
684
696
 
685
697
  var enforce = function (it) {
@@ -690,7 +702,7 @@
690
702
  return function (it) {
691
703
  var state;
692
704
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
693
- throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
705
+ throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
694
706
  } return state;
695
707
  };
696
708
  };
@@ -701,7 +713,7 @@
701
713
  var wmhas = uncurryThis$q(store.has);
702
714
  var wmset = uncurryThis$q(store.set);
703
715
  set$1 = function (it, metadata) {
704
- if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
716
+ if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
705
717
  metadata.facade = it;
706
718
  wmset(store, it, metadata);
707
719
  return metadata;
@@ -716,9 +728,9 @@
716
728
  var STATE = sharedKey$2('state');
717
729
  hiddenKeys$3[STATE] = true;
718
730
  set$1 = function (it, metadata) {
719
- if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
731
+ if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
720
732
  metadata.facade = it;
721
- createNonEnumerableProperty$5(it, STATE, metadata);
733
+ createNonEnumerableProperty$6(it, STATE, metadata);
722
734
  return metadata;
723
735
  };
724
736
  get$1 = function (it) {
@@ -748,10 +760,10 @@
748
760
  var enforceInternalState$1 = InternalStateModule$5.enforce;
749
761
  var getInternalState$3 = InternalStateModule$5.get;
750
762
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
751
- var defineProperty$7 = Object.defineProperty;
763
+ var defineProperty$6 = Object.defineProperty;
752
764
 
753
765
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
754
- return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
766
+ return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
755
767
  });
756
768
 
757
769
  var TEMPLATE = String(String).split('String');
@@ -763,18 +775,16 @@
763
775
  if (options && options.getter) name = 'get ' + name;
764
776
  if (options && options.setter) name = 'set ' + name;
765
777
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
766
- if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
767
- else value.name = name;
778
+ defineProperty$6(value, 'name', { value: name, configurable: true });
768
779
  }
769
780
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
770
- defineProperty$7(value, 'length', { value: options.arity });
781
+ defineProperty$6(value, 'length', { value: options.arity });
771
782
  }
772
- try {
773
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
774
- if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
775
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
776
- } else if (value.prototype) value.prototype = undefined;
777
- } catch (error) { /* empty */ }
783
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
784
+ if (DESCRIPTORS$8) try {
785
+ defineProperty$6(value, 'prototype', { writable: false });
786
+ } catch (error) { /* empty */ }
787
+ } else value.prototype = undefined;
778
788
  var state = enforceInternalState$1(value);
779
789
  if (!hasOwn$a(state, 'source')) {
780
790
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -787,32 +797,30 @@
787
797
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
788
798
  }, 'toString');
789
799
 
800
+ var global$B = global$U;
790
801
  var isCallable$g = isCallable$p;
791
- var definePropertyModule$4 = objectDefineProperty;
802
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
792
803
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
793
- var defineGlobalProperty$1 = defineGlobalProperty$3;
804
+ var setGlobal$1 = setGlobal$3;
794
805
 
795
806
  var defineBuiltIn$b = function (O, key, value, options) {
796
- if (!options) options = {};
797
- var simple = options.enumerable;
798
- var name = options.name !== undefined ? options.name : key;
807
+ var unsafe = options ? !!options.unsafe : false;
808
+ var simple = options ? !!options.enumerable : false;
809
+ var noTargetGet = options ? !!options.noTargetGet : false;
810
+ var name = options && options.name !== undefined ? options.name : key;
799
811
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
800
- if (options.global) {
812
+ if (O === global$B) {
801
813
  if (simple) O[key] = value;
802
- else defineGlobalProperty$1(key, value);
803
- } else {
804
- try {
805
- if (!options.unsafe) delete O[key];
806
- else if (O[key]) simple = true;
807
- } catch (error) { /* empty */ }
808
- if (simple) O[key] = value;
809
- else definePropertyModule$4.f(O, key, {
810
- value: value,
811
- enumerable: false,
812
- configurable: !options.nonConfigurable,
813
- writable: !options.nonWritable
814
- });
815
- } return O;
814
+ else setGlobal$1(key, value);
815
+ return O;
816
+ } else if (!unsafe) {
817
+ delete O[key];
818
+ } else if (!noTargetGet && O[key]) {
819
+ simple = true;
820
+ }
821
+ if (simple) O[key] = value;
822
+ else createNonEnumerableProperty$5(O, key, value);
823
+ return O;
816
824
  };
817
825
 
818
826
  var objectGetOwnPropertyNames = {};
@@ -820,22 +828,12 @@
820
828
  var ceil = Math.ceil;
821
829
  var floor$5 = Math.floor;
822
830
 
823
- // `Math.trunc` method
824
- // https://tc39.es/ecma262/#sec-math.trunc
825
- // eslint-disable-next-line es-x/no-math-trunc -- safe
826
- var mathTrunc = Math.trunc || function trunc(x) {
827
- var n = +x;
828
- return (n > 0 ? floor$5 : ceil)(n);
829
- };
830
-
831
- var trunc = mathTrunc;
832
-
833
831
  // `ToIntegerOrInfinity` abstract operation
834
832
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
835
833
  var toIntegerOrInfinity$6 = function (argument) {
836
834
  var number = +argument;
837
- // eslint-disable-next-line no-self-compare -- NaN check
838
- return number !== number || number === 0 ? 0 : trunc(number);
835
+ // eslint-disable-next-line no-self-compare -- safe
836
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
839
837
  };
840
838
 
841
839
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -969,11 +967,11 @@
969
967
  var hasOwn$8 = hasOwnProperty_1;
970
968
  var ownKeys = ownKeys$1;
971
969
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
972
- var definePropertyModule$3 = objectDefineProperty;
970
+ var definePropertyModule$4 = objectDefineProperty;
973
971
 
974
972
  var copyConstructorProperties$2 = function (target, source, exceptions) {
975
973
  var keys = ownKeys(source);
976
- var defineProperty = definePropertyModule$3.f;
974
+ var defineProperty = definePropertyModule$4.f;
977
975
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
978
976
  for (var i = 0; i < keys.length; i++) {
979
977
  var key = keys[i];
@@ -1006,28 +1004,28 @@
1006
1004
 
1007
1005
  var isForced_1 = isForced$3;
1008
1006
 
1009
- var global$j = global$s;
1007
+ var global$A = global$U;
1010
1008
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1011
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
1009
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1012
1010
  var defineBuiltIn$a = defineBuiltIn$b;
1013
- var defineGlobalProperty = defineGlobalProperty$3;
1011
+ var setGlobal = setGlobal$3;
1014
1012
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1015
1013
  var isForced$2 = isForced_1;
1016
1014
 
1017
1015
  /*
1018
- options.target - name of the target object
1019
- options.global - target is the global object
1020
- options.stat - export as static methods of target
1021
- options.proto - export as prototype methods of target
1022
- options.real - real prototype method for the `pure` version
1023
- options.forced - export even if the native feature is available
1024
- options.bind - bind methods to the target, required for the `pure` version
1025
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1026
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1027
- options.sham - add a flag to not completely full polyfills
1028
- options.enumerable - export as enumerable property
1029
- options.dontCallGetSet - prevent calling a getter on target
1030
- 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.noTargetGet - prevent calling a getter on target
1028
+ options.name - the .name of the function if it does not match the key
1031
1029
  */
1032
1030
  var _export = function (options, source) {
1033
1031
  var TARGET = options.target;
@@ -1035,15 +1033,15 @@
1035
1033
  var STATIC = options.stat;
1036
1034
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1037
1035
  if (GLOBAL) {
1038
- target = global$j;
1036
+ target = global$A;
1039
1037
  } else if (STATIC) {
1040
- target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1038
+ target = global$A[TARGET] || setGlobal(TARGET, {});
1041
1039
  } else {
1042
- target = (global$j[TARGET] || {}).prototype;
1040
+ target = (global$A[TARGET] || {}).prototype;
1043
1041
  }
1044
1042
  if (target) for (key in source) {
1045
1043
  sourceProperty = source[key];
1046
- if (options.dontCallGetSet) {
1044
+ if (options.noTargetGet) {
1047
1045
  descriptor = getOwnPropertyDescriptor$3(target, key);
1048
1046
  targetProperty = descriptor && descriptor.value;
1049
1047
  } else targetProperty = target[key];
@@ -1084,17 +1082,17 @@
1084
1082
  // eslint-disable-next-line es-x/no-object-assign -- safe
1085
1083
  var $assign = Object.assign;
1086
1084
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1087
- var defineProperty$6 = Object.defineProperty;
1085
+ var defineProperty$5 = Object.defineProperty;
1088
1086
  var concat$1 = uncurryThis$n([].concat);
1089
1087
 
1090
1088
  // `Object.assign` method
1091
1089
  // https://tc39.es/ecma262/#sec-object.assign
1092
1090
  var objectAssign = !$assign || fails$k(function () {
1093
1091
  // should have correct order of operations (Edge bug)
1094
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1092
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1095
1093
  enumerable: true,
1096
1094
  get: function () {
1097
- defineProperty$6(this, 'b', {
1095
+ defineProperty$5(this, 'b', {
1098
1096
  value: 3,
1099
1097
  enumerable: false
1100
1098
  });
@@ -1517,7 +1515,7 @@
1517
1515
 
1518
1516
  var DESCRIPTORS$6 = descriptors;
1519
1517
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1520
- var definePropertyModule$2 = objectDefineProperty;
1518
+ var definePropertyModule$3 = objectDefineProperty;
1521
1519
  var anObject$f = anObject$i;
1522
1520
  var toIndexedObject$1 = toIndexedObject$5;
1523
1521
  var objectKeys = objectKeys$2;
@@ -1532,7 +1530,7 @@
1532
1530
  var length = keys.length;
1533
1531
  var index = 0;
1534
1532
  var key;
1535
- while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1533
+ while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1536
1534
  return O;
1537
1535
  };
1538
1536
 
@@ -1627,7 +1625,7 @@
1627
1625
 
1628
1626
  var wellKnownSymbol$j = wellKnownSymbol$l;
1629
1627
  var create$3 = objectCreate;
1630
- var defineProperty$5 = objectDefineProperty.f;
1628
+ var definePropertyModule$2 = objectDefineProperty;
1631
1629
 
1632
1630
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1633
1631
  var ArrayPrototype$1 = Array.prototype;
@@ -1635,7 +1633,7 @@
1635
1633
  // Array.prototype[@@unscopables]
1636
1634
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1637
1635
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1638
- defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1636
+ definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1639
1637
  configurable: true,
1640
1638
  value: create$3(null)
1641
1639
  });
@@ -1657,6 +1655,7 @@
1657
1655
  return Object.getPrototypeOf(new F()) !== F.prototype;
1658
1656
  });
1659
1657
 
1658
+ var global$z = global$U;
1660
1659
  var hasOwn$7 = hasOwnProperty_1;
1661
1660
  var isCallable$e = isCallable$p;
1662
1661
  var toObject$4 = toObject$7;
@@ -1664,19 +1663,18 @@
1664
1663
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1665
1664
 
1666
1665
  var IE_PROTO = sharedKey('IE_PROTO');
1667
- var $Object$1 = Object;
1668
- var ObjectPrototype = $Object$1.prototype;
1666
+ var Object$2 = global$z.Object;
1667
+ var ObjectPrototype = Object$2.prototype;
1669
1668
 
1670
1669
  // `Object.getPrototypeOf` method
1671
1670
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1672
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1673
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1671
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1674
1672
  var object = toObject$4(O);
1675
1673
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1676
1674
  var constructor = object.constructor;
1677
1675
  if (isCallable$e(constructor) && object instanceof constructor) {
1678
1676
  return constructor.prototype;
1679
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1677
+ } return object instanceof Object$2 ? ObjectPrototype : null;
1680
1678
  };
1681
1679
 
1682
1680
  var fails$i = fails$t;
@@ -1753,14 +1751,15 @@
1753
1751
  return IteratorConstructor;
1754
1752
  };
1755
1753
 
1754
+ var global$y = global$U;
1756
1755
  var isCallable$c = isCallable$p;
1757
1756
 
1758
- var $String$2 = String;
1759
- var $TypeError$9 = TypeError;
1757
+ var String$4 = global$y.String;
1758
+ var TypeError$c = global$y.TypeError;
1760
1759
 
1761
1760
  var aPossiblePrototype$1 = function (argument) {
1762
1761
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1763
- throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1762
+ throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1764
1763
  };
1765
1764
 
1766
1765
  /* eslint-disable no-proto -- safe */
@@ -1800,7 +1799,7 @@
1800
1799
  var getPrototypeOf = objectGetPrototypeOf;
1801
1800
  var setPrototypeOf$2 = objectSetPrototypeOf;
1802
1801
  var setToStringTag$3 = setToStringTag$5;
1803
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1802
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1804
1803
  var defineBuiltIn$8 = defineBuiltIn$b;
1805
1804
  var wellKnownSymbol$g = wellKnownSymbol$l;
1806
1805
  var Iterators$3 = iterators;
@@ -1993,11 +1992,11 @@
1993
1992
 
1994
1993
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1995
1994
 
1996
- var global$i = global$s;
1995
+ var global$x = global$U;
1997
1996
  var DOMIterables = domIterables;
1998
1997
  var DOMTokenListPrototype = domTokenListPrototype;
1999
1998
  var ArrayIteratorMethods = es_array_iterator;
2000
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1999
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
2001
2000
  var wellKnownSymbol$f = wellKnownSymbol$l;
2002
2001
 
2003
2002
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -2027,7 +2026,7 @@
2027
2026
  };
2028
2027
 
2029
2028
  for (var COLLECTION_NAME in DOMIterables) {
2030
- handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
2029
+ handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
2031
2030
  }
2032
2031
 
2033
2032
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2041,13 +2040,14 @@
2041
2040
 
2042
2041
  var toStringTagSupport = String(test$1) === '[object z]';
2043
2042
 
2043
+ var global$w = global$U;
2044
2044
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2045
2045
  var isCallable$a = isCallable$p;
2046
2046
  var classofRaw = classofRaw$1;
2047
2047
  var wellKnownSymbol$d = wellKnownSymbol$l;
2048
2048
 
2049
2049
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
2050
- var $Object = Object;
2050
+ var Object$1 = global$w.Object;
2051
2051
 
2052
2052
  // ES3 wrong here
2053
2053
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2064,25 +2064,26 @@
2064
2064
  var O, tag, result;
2065
2065
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2066
2066
  // @@toStringTag case
2067
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2067
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2068
2068
  // builtinTag case
2069
2069
  : CORRECT_ARGUMENTS ? classofRaw(O)
2070
2070
  // ES3 arguments fallback
2071
2071
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
2072
2072
  };
2073
2073
 
2074
+ var global$v = global$U;
2074
2075
  var classof$6 = classof$7;
2075
2076
 
2076
- var $String$1 = String;
2077
+ var String$3 = global$v.String;
2077
2078
 
2078
2079
  var toString$h = function (argument) {
2079
2080
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2080
- return $String$1(argument);
2081
+ return String$3(argument);
2081
2082
  };
2082
2083
 
2083
2084
  var $$k = _export;
2084
2085
  var DESCRIPTORS$4 = descriptors;
2085
- var global$h = global$s;
2086
+ var global$u = global$U;
2086
2087
  var uncurryThis$l = functionUncurryThis;
2087
2088
  var hasOwn$5 = hasOwnProperty_1;
2088
2089
  var isCallable$9 = isCallable$p;
@@ -2091,7 +2092,7 @@
2091
2092
  var defineProperty$2 = objectDefineProperty.f;
2092
2093
  var copyConstructorProperties = copyConstructorProperties$2;
2093
2094
 
2094
- var NativeSymbol = global$h.Symbol;
2095
+ var NativeSymbol = global$u.Symbol;
2095
2096
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
2096
2097
 
2097
2098
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2171,13 +2172,14 @@
2171
2172
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2172
2173
  };
2173
2174
 
2175
+ var global$t = global$U;
2174
2176
  var isRegExp$2 = isRegexp;
2175
2177
 
2176
- var $TypeError$8 = TypeError;
2178
+ var TypeError$b = global$t.TypeError;
2177
2179
 
2178
2180
  var notARegexp = function (it) {
2179
2181
  if (isRegExp$2(it)) {
2180
- throw $TypeError$8("The method doesn't accept regular expressions");
2182
+ throw TypeError$b("The method doesn't accept regular expressions");
2181
2183
  } return it;
2182
2184
  };
2183
2185
 
@@ -2351,7 +2353,7 @@
2351
2353
 
2352
2354
  const _excluded$A = ["children"],
2353
2355
  _excluded2$2 = ["children"];
2354
- var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
2356
+ var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2355
2357
  const GridComponent = styled('div', {
2356
2358
  display: 'grid',
2357
2359
  variants: {
@@ -2610,7 +2612,7 @@
2610
2612
  GridItem.displayName = 'Grid Item';
2611
2613
 
2612
2614
  const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
2613
- var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
2615
+ var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2614
2616
  const StyledDiv$3 = styled(Flex$1, {
2615
2617
  justifyContent: 'center',
2616
2618
  marginLeft: 'auto',
@@ -2931,7 +2933,7 @@
2931
2933
  });
2932
2934
 
2933
2935
  const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2934
- var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
2936
+ var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2935
2937
  const TOAST_WIDTH = 576;
2936
2938
  const ANIMATION_DURATION = 400;
2937
2939
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3285,7 +3287,7 @@
3285
3287
 
3286
3288
  const ToastContext = /*#__PURE__*/React__namespace.createContext({});
3287
3289
 
3288
- var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
3290
+ var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3289
3291
  const ToastBox = styled(Flex$1, {
3290
3292
  position: 'fixed',
3291
3293
  variants: {
@@ -3361,7 +3363,7 @@
3361
3363
  };
3362
3364
 
3363
3365
  const _excluded$x = ["id"];
3364
- var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
3366
+ var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3365
3367
  let toastCount = 0;
3366
3368
 
3367
3369
  const ToastProvider = ({
@@ -3446,7 +3448,7 @@
3446
3448
  }));
3447
3449
  };
3448
3450
 
3449
- var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
3451
+ var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3450
3452
 
3451
3453
  function MajooProvider({
3452
3454
  children,
@@ -3481,7 +3483,7 @@
3481
3483
  };
3482
3484
 
3483
3485
  const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3484
- var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
3486
+ var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3485
3487
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
3486
3488
  const StyledBanner = styled(Flex$1, {
3487
3489
  maxWidth: '100%',
@@ -3573,13 +3575,13 @@
3573
3575
  }
3574
3576
  }), props.children);
3575
3577
  BannerTitle.propTypes = {
3576
- /**
3577
- Additional styles of title
3578
+ /**
3579
+ Additional styles of title
3578
3580
  */
3579
3581
  css: PropTypes__default["default"].object,
3580
3582
 
3581
- /**
3582
- Title of the Banner to be displayed
3583
+ /**
3584
+ Title of the Banner to be displayed
3583
3585
  */
3584
3586
  children: PropTypes__default["default"].string
3585
3587
  };
@@ -3595,13 +3597,13 @@
3595
3597
  }
3596
3598
  }), props.children);
3597
3599
  BannerDescription.propTypes = {
3598
- /**
3599
- Additional styles of description
3600
+ /**
3601
+ Additional styles of description
3600
3602
  */
3601
3603
  css: PropTypes__default["default"].object,
3602
3604
 
3603
- /**
3604
- Description of the Banner to be displayed
3605
+ /**
3606
+ Description of the Banner to be displayed
3605
3607
  */
3606
3608
  children: PropTypes__default["default"].string
3607
3609
  };
@@ -3630,18 +3632,18 @@
3630
3632
  }
3631
3633
  }, children));
3632
3634
  BannerLink.propTypes = {
3633
- /**
3634
- The purpose of a clickable link, presented in url
3635
+ /**
3636
+ The purpose of a clickable link, presented in url
3635
3637
  */
3636
3638
  link: PropTypes__default["default"].string,
3637
3639
 
3638
- /**
3639
- Text of BannerLink to be displayed
3640
+ /**
3641
+ Text of BannerLink to be displayed
3640
3642
  */
3641
3643
  children: PropTypes__default["default"].string,
3642
3644
 
3643
- /**
3644
- Additional theme of BannerLink is presented by color variants
3645
+ /**
3646
+ Additional theme of BannerLink is presented by color variants
3645
3647
  */
3646
3648
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed'])
3647
3649
  };
@@ -3659,7 +3661,7 @@
3659
3661
  onClick: e => {
3660
3662
  e.preventDefault();
3661
3663
  e.stopPropagation();
3662
- value == null ? void 0 : value.onRemove();
3664
+ value === null || value === void 0 ? void 0 : value.onRemove();
3663
3665
  },
3664
3666
  __self: undefined,
3665
3667
  __source: {
@@ -3736,7 +3738,7 @@
3736
3738
  onClick: e => {
3737
3739
  e.preventDefault();
3738
3740
  e.stopPropagation();
3739
- props == null ? void 0 : props.onRemove();
3741
+ props === null || props === void 0 ? void 0 : props.onRemove();
3740
3742
  },
3741
3743
  closeCenter: !props.title && !props.link,
3742
3744
  __self: undefined,
@@ -3832,43 +3834,43 @@
3832
3834
  BannerTitle.displayName = 'BannerTitle';
3833
3835
  BannerDescription.displayName = 'BannerDescription';
3834
3836
  Banner.propTypes = {
3835
- /**
3836
- Title of banner to be displayed
3837
+ /**
3838
+ Title of banner to be displayed
3837
3839
  */
3838
3840
  title: PropTypes__default["default"].string,
3839
3841
 
3840
- /**
3841
- Description of banner to be displayed
3842
+ /**
3843
+ Description of banner to be displayed
3842
3844
  */
3843
3845
  description: PropTypes__default["default"].string,
3844
3846
 
3845
- /**
3846
- The banner theme is presented in color variants
3847
+ /**
3848
+ The banner theme is presented in color variants
3847
3849
  */
3848
3850
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed']),
3849
3851
 
3850
- /**
3851
- The purpose of a clickable link, presented in url
3852
+ /**
3853
+ The purpose of a clickable link, presented in url
3852
3854
  */
3853
3855
  link: PropTypes__default["default"].string,
3854
3856
 
3855
- /**
3856
- Text of button link to be displayed
3857
+ /**
3858
+ Text of button link to be displayed
3857
3859
  */
3858
3860
  linkText: PropTypes__default["default"].string,
3859
3861
 
3860
- /**
3861
- Clickable event handler
3862
+ /**
3863
+ Clickable event handler
3862
3864
  */
3863
3865
  onClick: PropTypes__default["default"].func,
3864
3866
 
3865
- /**
3866
- Closable event handler
3867
+ /**
3868
+ Closable event handler
3867
3869
  */
3868
3870
  onRemove: PropTypes__default["default"].func,
3869
3871
 
3870
- /**
3871
- Block type banner to display in full width
3872
+ /**
3873
+ Block type banner to display in full width
3872
3874
  */
3873
3875
  bannerBlock: PropTypes__default["default"].bool
3874
3876
  };
@@ -4168,7 +4170,7 @@
4168
4170
  });
4169
4171
 
4170
4172
  const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4171
- var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
4173
+ var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4172
4174
  const CardComponent = styled('div', {
4173
4175
  padding: '12px',
4174
4176
  height: 'auto',
@@ -4376,7 +4378,7 @@
4376
4378
  };
4377
4379
 
4378
4380
  const _excluded$u = ["children"];
4379
- var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
4381
+ var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4380
4382
  const BreadcrumbStyle = styled('nav', {
4381
4383
  wordWrap: 'break-word',
4382
4384
  '& li+li:before': {
@@ -4650,7 +4652,7 @@
4650
4652
  Badge.displayName = 'Badge';
4651
4653
 
4652
4654
  const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4653
- var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
4655
+ var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4654
4656
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
4655
4657
  width: '32px',
4656
4658
  height: '32px',
@@ -4753,7 +4755,7 @@
4753
4755
  };
4754
4756
 
4755
4757
  const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4756
- var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
4758
+ var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4757
4759
  const ContainerFallback = styled(Flex$1, {
4758
4760
  boxSizing: 'border-box',
4759
4761
  border: '2px dashed #C0C4C4',
@@ -4850,58 +4852,58 @@
4850
4852
  }
4851
4853
  }
4852
4854
  Image.propTypes = {
4853
- /**
4854
- Additional className for img element.
4855
+ /**
4856
+ Additional className for img element.
4855
4857
  */
4856
4858
  className: PropTypes__default["default"].string,
4857
4859
 
4858
- /**
4859
- Which is used to specify the source of an image.
4860
+ /**
4861
+ Which is used to specify the source of an image.
4860
4862
  */
4861
4863
  src: PropTypes__default["default"].string,
4862
4864
 
4863
- /**
4864
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4865
+ /**
4866
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4865
4867
  */
4866
4868
  alt: PropTypes__default["default"].string,
4867
4869
 
4868
- /**
4869
- Additional css for img element.
4870
+ /**
4871
+ Additional css for img element.
4870
4872
  */
4871
4873
  css: PropTypes__default["default"].object,
4872
4874
 
4873
- /**
4874
- Additional css for default fallback element.
4875
+ /**
4876
+ Additional css for default fallback element.
4875
4877
  */
4876
4878
  cssFallback: PropTypes__default["default"].object,
4877
4879
 
4878
- /**
4879
- Custom width of img element.
4880
+ /**
4881
+ Custom width of img element.
4880
4882
  */
4881
4883
  width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4882
4884
 
4883
- /**
4884
- Custom height of img element.
4885
+ /**
4886
+ Custom height of img element.
4885
4887
  */
4886
4888
  height: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4887
4889
 
4888
- /**
4889
- Set image to circle.
4890
+ /**
4891
+ Set image to circle.
4890
4892
  */
4891
4893
  rounded: PropTypes__default["default"].bool,
4892
4894
 
4893
- /**
4894
- Used to specify how an <img> should be resized to fit its container.
4895
+ /**
4896
+ Used to specify how an <img> should be resized to fit its container.
4895
4897
  */
4896
4898
  objectFit: PropTypes__default["default"].string,
4897
4899
 
4898
- /**
4899
- Custom fallback if image url doesn't exist.
4900
+ /**
4901
+ Custom fallback if image url doesn't exist.
4900
4902
  */
4901
4903
  fallback: PropTypes__default["default"].string,
4902
4904
 
4903
- /**
4904
- Custom fallback title for default fallback.
4905
+ /**
4906
+ Custom fallback title for default fallback.
4905
4907
  */
4906
4908
  fallbackTitle: PropTypes__default["default"].string
4907
4909
  };
@@ -4911,7 +4913,7 @@
4911
4913
  };
4912
4914
 
4913
4915
  const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
4914
- var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4916
+ var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4915
4917
  const {
4916
4918
  zIndices: zIndices$1
4917
4919
  } = core.foundations;
@@ -5112,7 +5114,7 @@
5112
5114
  };
5113
5115
 
5114
5116
  const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5115
- var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
5117
+ var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5116
5118
  const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
5117
5119
  position: 'relative',
5118
5120
  overflow: 'hidden',
@@ -5373,7 +5375,7 @@
5373
5375
  FormGroup.displayName = 'FormGroup';
5374
5376
 
5375
5377
  const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
5376
- var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
5378
+ var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5377
5379
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
5378
5380
  display: 'inline-block',
5379
5381
  fontSize: '$label',
@@ -5493,7 +5495,7 @@
5493
5495
  FormLabel.displayName = 'FormLabel';
5494
5496
 
5495
5497
  const _excluded$o = ["children", "error", "errorMessage"];
5496
- var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
5498
+ var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5497
5499
  const StyledHelper = styled(Text$1, {
5498
5500
  display: 'inline-block',
5499
5501
  color: '$textSecondary',
@@ -5554,7 +5556,7 @@
5554
5556
  };
5555
5557
  FormHelper.displayName = 'FormHelper';
5556
5558
 
5557
- var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
5559
+ var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5558
5560
  const CheckboxContext = /*#__PURE__*/React.createContext();
5559
5561
 
5560
5562
  const CheckboxGroup = ({
@@ -5617,7 +5619,7 @@
5617
5619
  };
5618
5620
  CheckboxGroup.displayName = 'CheckboxGroup';
5619
5621
 
5620
- var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
5622
+ var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5621
5623
 
5622
5624
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5623
5625
  xmlns: "http://www.w3.org/2000/svg",
@@ -5665,7 +5667,7 @@
5665
5667
  }
5666
5668
  }));
5667
5669
 
5668
- var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
5670
+ var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5669
5671
 
5670
5672
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5671
5673
  xmlns: "http://www.w3.org/2000/svg",
@@ -5714,7 +5716,7 @@
5714
5716
  }));
5715
5717
 
5716
5718
  const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5717
- var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
5719
+ var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5718
5720
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
5719
5721
  alignItems: 'center',
5720
5722
  display: 'flex',
@@ -5779,7 +5781,7 @@
5779
5781
  const [isChecked, setChecked] = React.useState(false);
5780
5782
  React.useEffect(() => {
5781
5783
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5782
- setChecked(checkValue != null ? checkValue : false);
5784
+ setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5783
5785
  }, [checked, indeterminate, context]);
5784
5786
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, _extends({
5785
5787
  id: id,
@@ -5880,7 +5882,7 @@
5880
5882
  InputCheckbox.displayName = 'InputCheckbox';
5881
5883
 
5882
5884
  const _excluded$m = ["children", "size"];
5883
- var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
5885
+ var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5884
5886
  const InputGroupStyle = styled('div', {
5885
5887
  display: 'flex',
5886
5888
  width: '100%',
@@ -6027,13 +6029,13 @@
6027
6029
  }));
6028
6030
  };
6029
6031
  InputGroup.propTypes = {
6030
- /**
6031
- Adjust Input Text Size
6032
+ /**
6033
+ Adjust Input Text Size
6032
6034
  */
6033
6035
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
6034
6036
 
6035
- /**
6036
- Children must be InputText, InputAddon, or InputPrefixes
6037
+ /**
6038
+ Children must be InputText, InputAddon, or InputPrefixes
6037
6039
  */
6038
6040
  children: PropTypes__default["default"].node.isRequired,
6039
6041
 
@@ -6199,7 +6201,7 @@
6199
6201
  };
6200
6202
 
6201
6203
  const _excluded$l = ["disabled", "readOnly"];
6202
- var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
6204
+ var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6203
6205
  const disabledStyle = {
6204
6206
  backgroundColor: '$formDisable',
6205
6207
  color: '$textDisable',
@@ -6361,7 +6363,7 @@
6361
6363
  InputText.displayName = 'InputText';
6362
6364
 
6363
6365
  const _excluded$k = ["disabled", "readOnly"];
6364
- var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
6366
+ var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6365
6367
  const StyledTextArea = styled(StyledInput$1, {
6366
6368
  variants: {
6367
6369
  size: {
@@ -6387,15 +6389,15 @@
6387
6389
  const textareaRef = React.useRef(null);
6388
6390
  React.useEffect(() => {
6389
6391
  if (textareaRef.current) {
6390
- textareaRef.current.style.height = '60px';
6391
- const scrollHeight = textareaRef == null ? void 0 : textareaRef.current.scrollHeight;
6392
- textareaRef.current.style.height = scrollHeight + 20 + 'px';
6392
+ textareaRef.current.style.height = '50px';
6393
+ const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
6394
+ textareaRef.current.style.height = scrollHeight + 5 + 'px';
6393
6395
  }
6394
6396
  }, []);
6395
6397
 
6396
6398
  function handleKeyDown(e) {
6397
- e.target.style.height = '60px';
6398
- e.target.style.height = `${e.target.scrollHeight + 20}px`;
6399
+ e.target.style.height = '50px';
6400
+ e.target.style.height = `${e.target.scrollHeight + 5}px`;
6399
6401
  }
6400
6402
 
6401
6403
  return /*#__PURE__*/React__default["default"].createElement(StyledTextArea, _extends({
@@ -6427,10 +6429,10 @@
6427
6429
 
6428
6430
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
6429
6431
 
6430
- var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
6432
+ var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6431
6433
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
6432
6434
  function InputRadioGroup(props) {
6433
- return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6435
+ return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6434
6436
  value: props,
6435
6437
  __self: this,
6436
6438
  __source: {
@@ -6445,7 +6447,7 @@
6445
6447
  lineNumber: 14,
6446
6448
  columnNumber: 9
6447
6449
  }
6448
- }), React__default["default"].Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6450
+ }), React__default["default"].Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6449
6451
  style: Object.assign({}, child.props.style, {
6450
6452
  opacity: 1
6451
6453
  })
@@ -6460,7 +6462,7 @@
6460
6462
  InputRadioGroup.displayName = 'InputRadioGroup';
6461
6463
 
6462
6464
  const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
6463
- var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
6465
+ var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6464
6466
  const INDICATOR_BASE_STYLES = {
6465
6467
  alignItems: 'center',
6466
6468
  display: 'flex',
@@ -6659,7 +6661,7 @@
6659
6661
  value,
6660
6662
  outlined
6661
6663
  }) => {
6662
- const checked = value != null ? value : defaultValue;
6664
+ const checked = value !== null && value !== void 0 ? value : defaultValue;
6663
6665
  return /*#__PURE__*/React__default["default"].createElement(Container$8, {
6664
6666
  direction: "column",
6665
6667
  outlined: outlined,
@@ -6758,7 +6760,7 @@
6758
6760
  InputRightElement.name = 'InputRightElement';
6759
6761
 
6760
6762
  const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
6761
- var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
6763
+ var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
6762
6764
  const StyledInput = styled(NumberFormat__default["default"], {
6763
6765
  // Reset
6764
6766
  appearance: 'none',
@@ -6909,7 +6911,7 @@
6909
6911
  size: size,
6910
6912
  isInvalid: isInvalid,
6911
6913
  readOnly: readOnly,
6912
- isReadOnly: readOnly && !(props != null && props.inputGroup),
6914
+ isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup),
6913
6915
  disabled: disabled
6914
6916
  }, props, {
6915
6917
  __self: undefined,
@@ -6968,7 +6970,6 @@
6968
6970
  if (that.multiline) result += 'm';
6969
6971
  if (that.dotAll) result += 's';
6970
6972
  if (that.unicode) result += 'u';
6971
- if (that.unicodeSets) result += 'v';
6972
6973
  if (that.sticky) result += 'y';
6973
6974
  return result;
6974
6975
  };
@@ -6987,10 +6988,10 @@
6987
6988
  };
6988
6989
 
6989
6990
  var fails$g = fails$t;
6990
- var global$g = global$s;
6991
+ var global$s = global$U;
6991
6992
 
6992
6993
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6993
- var $RegExp$2 = global$g.RegExp;
6994
+ var $RegExp$2 = global$s.RegExp;
6994
6995
 
6995
6996
  var UNSUPPORTED_Y$3 = fails$g(function () {
6996
6997
  var re = $RegExp$2('a', 'y');
@@ -7047,10 +7048,10 @@
7047
7048
  };
7048
7049
 
7049
7050
  var fails$f = fails$t;
7050
- var global$f = global$s;
7051
+ var global$r = global$U;
7051
7052
 
7052
7053
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
7053
- var $RegExp$1 = global$f.RegExp;
7054
+ var $RegExp$1 = global$r.RegExp;
7054
7055
 
7055
7056
  var regexpUnsupportedDotAll = fails$f(function () {
7056
7057
  var re = $RegExp$1('.', 's');
@@ -7058,10 +7059,10 @@
7058
7059
  });
7059
7060
 
7060
7061
  var fails$e = fails$t;
7061
- var global$e = global$s;
7062
+ var global$q = global$U;
7062
7063
 
7063
7064
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
7064
- var $RegExp = global$e.RegExp;
7065
+ var $RegExp = global$q.RegExp;
7065
7066
 
7066
7067
  var regexpUnsupportedNcg = fails$e(function () {
7067
7068
  var re = $RegExp('(?<a>b)', 'g');
@@ -7070,11 +7071,11 @@
7070
7071
  });
7071
7072
 
7072
7073
  var DESCRIPTORS$2 = descriptors;
7073
- var global$d = global$s;
7074
+ var global$p = global$U;
7074
7075
  var uncurryThis$j = functionUncurryThis;
7075
7076
  var isForced$1 = isForced_1;
7076
7077
  var inheritIfRequired = inheritIfRequired$1;
7077
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
7078
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
7078
7079
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
7079
7080
  var isPrototypeOf$2 = objectIsPrototypeOf;
7080
7081
  var isRegExp$1 = isRegexp;
@@ -7092,15 +7093,15 @@
7092
7093
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
7093
7094
 
7094
7095
  var MATCH = wellKnownSymbol$9('match');
7095
- var NativeRegExp = global$d.RegExp;
7096
+ var NativeRegExp = global$p.RegExp;
7096
7097
  var RegExpPrototype$2 = NativeRegExp.prototype;
7097
- var SyntaxError = global$d.SyntaxError;
7098
+ var SyntaxError = global$p.SyntaxError;
7098
7099
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
7099
7100
  var charAt$8 = uncurryThis$j(''.charAt);
7100
7101
  var replace$6 = uncurryThis$j(''.replace);
7101
7102
  var stringIndexOf$1 = uncurryThis$j(''.indexOf);
7102
7103
  var stringSlice$9 = uncurryThis$j(''.slice);
7103
- // TODO: Use only proper RegExpIdentifierName
7104
+ // TODO: Use only propper RegExpIdentifierName
7104
7105
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
7105
7106
  var re1 = /a/g;
7106
7107
  var re2 = /a/g;
@@ -7254,7 +7255,7 @@
7254
7255
 
7255
7256
  RegExpPrototype$2.constructor = RegExpWrapper;
7256
7257
  RegExpWrapper.prototype = RegExpPrototype$2;
7257
- defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
7258
+ defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
7258
7259
  }
7259
7260
 
7260
7261
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7355,7 +7356,7 @@
7355
7356
  }
7356
7357
  if (NPCG_INCLUDED && match && match.length > 1) {
7357
7358
  // Fix browsers whose `exec` methods don't consistently return `undefined`
7358
- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
7359
+ // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
7359
7360
  call$f(nativeReplace, match[0], reCopy, function () {
7360
7361
  for (i = 1; i < arguments.length - 2; i++) {
7361
7362
  if (arguments[i] === undefined) match[i] = undefined;
@@ -7413,7 +7414,7 @@
7413
7414
  }
7414
7415
 
7415
7416
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7416
- var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
7417
+ var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7417
7418
  const TagWrapper$3 = styled('div', {
7418
7419
  boxSizing: 'border-box',
7419
7420
  listStyle: 'none',
@@ -7590,7 +7591,7 @@
7590
7591
  };
7591
7592
 
7592
7593
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
7593
- var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
7594
+ var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7594
7595
  const Wrapper$2 = styled('div', {
7595
7596
  margin: 0,
7596
7597
  flexDirection: 'column',
@@ -7726,18 +7727,18 @@
7726
7727
  const addTags = event => {
7727
7728
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
7728
7729
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
7729
- onEnter == null ? void 0 : onEnter({
7730
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7730
7731
  key: 'duplicate',
7731
7732
  value: event.target.value
7732
7733
  });
7733
7734
  return;
7734
7735
  }
7735
7736
 
7736
- if (pattern && pattern != null && pattern.regex) {
7737
+ if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
7737
7738
  const regex = new RegExp(pattern.regex);
7738
7739
 
7739
7740
  if (!regex.test(event.target.value)) {
7740
- onEnter == null ? void 0 : onEnter({
7741
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7741
7742
  key: 'error',
7742
7743
  value: event.target.value
7743
7744
  });
@@ -7747,7 +7748,7 @@
7747
7748
  }
7748
7749
 
7749
7750
  setRegexError(false);
7750
- onEnter == null ? void 0 : onEnter({
7751
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7751
7752
  key: 'success',
7752
7753
  value: event.target.value
7753
7754
  });
@@ -7760,7 +7761,7 @@
7760
7761
  if (disabled || readOnly) {
7761
7762
  return tags;
7762
7763
  } else if (key === 'removeTag' || key === 'Backspace') {
7763
- onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
7764
+ onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
7764
7765
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
7765
7766
  }
7766
7767
  }; // const handleErrorMessage = () => {
@@ -7808,7 +7809,7 @@
7808
7809
  lineNumber: 180,
7809
7810
  columnNumber: 9
7810
7811
  }
7811
- })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7812
+ })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7812
7813
  color: "red",
7813
7814
  __self: this,
7814
7815
  __source: {
@@ -7890,7 +7891,7 @@
7890
7891
  };
7891
7892
 
7892
7893
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7893
- var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
7894
+ var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7894
7895
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
7895
7896
  display: 'block',
7896
7897
  width: '16px',
@@ -7998,7 +7999,7 @@
7998
7999
  };
7999
8000
  InputSwitch.displayName = 'InputSwitch';
8000
8001
 
8001
- var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
8002
+ var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
8002
8003
 
8003
8004
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
8004
8005
  width: props.size,
@@ -8059,7 +8060,7 @@
8059
8060
  size: 24
8060
8061
  };
8061
8062
 
8062
- var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
8063
+ var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
8063
8064
 
8064
8065
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
8065
8066
  width: props.size,
@@ -8102,7 +8103,7 @@
8102
8103
  };
8103
8104
 
8104
8105
  const _excluded$e = ["size", "onChange", "css", "disabled"];
8105
- var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8106
+ var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
8106
8107
 
8107
8108
  const InputSearchbox = _ref => {
8108
8109
  let {
@@ -8217,7 +8218,7 @@
8217
8218
  var regexpExec$2 = regexpExec$3;
8218
8219
  var fails$b = fails$t;
8219
8220
  var wellKnownSymbol$8 = wellKnownSymbol$l;
8220
- var createNonEnumerableProperty = createNonEnumerableProperty$6;
8221
+ var createNonEnumerableProperty = createNonEnumerableProperty$7;
8221
8222
 
8222
8223
  var SPECIES$2 = wellKnownSymbol$8('species');
8223
8224
  var RegExpPrototype = RegExp.prototype;
@@ -8292,13 +8293,14 @@
8292
8293
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8293
8294
  };
8294
8295
 
8296
+ var global$o = global$U;
8295
8297
  var call$e = functionCall;
8296
8298
  var anObject$a = anObject$i;
8297
8299
  var isCallable$7 = isCallable$p;
8298
8300
  var classof$4 = classofRaw$1;
8299
8301
  var regexpExec$1 = regexpExec$3;
8300
8302
 
8301
- var $TypeError$7 = TypeError;
8303
+ var TypeError$a = global$o.TypeError;
8302
8304
 
8303
8305
  // `RegExpExec` abstract operation
8304
8306
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -8310,7 +8312,7 @@
8310
8312
  return result;
8311
8313
  }
8312
8314
  if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
8313
- throw $TypeError$7('RegExp#exec called on incompatible receiver');
8315
+ throw TypeError$a('RegExp#exec called on incompatible receiver');
8314
8316
  };
8315
8317
 
8316
8318
  var call$d = functionCall;
@@ -8919,7 +8921,8 @@
8919
8921
  suppressRefError: true
8920
8922
  }), {
8921
8923
  css: {
8922
- display: isOpen ? 'block' : 'none'
8924
+ display: isOpen ? 'block' : 'none',
8925
+ zIndex: '$popover'
8923
8926
  },
8924
8927
  placement: placement
8925
8928
  }, {
@@ -8998,14 +9001,6 @@
8998
9001
  }), void 0);
8999
9002
  }
9000
9003
 
9001
- var tryToString$3 = tryToString$5;
9002
-
9003
- var $TypeError$6 = TypeError;
9004
-
9005
- var deletePropertyOrThrow$1 = function (O, P) {
9006
- if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
9007
- };
9008
-
9009
9004
  var toPropertyKey = toPropertyKey$3;
9010
9005
  var definePropertyModule = objectDefineProperty;
9011
9006
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -9016,18 +9011,19 @@
9016
9011
  else object[propertyKey] = value;
9017
9012
  };
9018
9013
 
9014
+ var global$n = global$U;
9019
9015
  var toAbsoluteIndex = toAbsoluteIndex$2;
9020
9016
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
9021
9017
  var createProperty$1 = createProperty$2;
9022
9018
 
9023
- var $Array$1 = Array;
9019
+ var Array$2 = global$n.Array;
9024
9020
  var max$1 = Math.max;
9025
9021
 
9026
9022
  var arraySliceSimple = function (O, start, end) {
9027
9023
  var length = lengthOfArrayLike$4(O);
9028
9024
  var k = toAbsoluteIndex(start, length);
9029
9025
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
9030
- var result = $Array$1(max$1(fin - k, 0));
9026
+ var result = Array$2(max$1(fin - k, 0));
9031
9027
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
9032
9028
  result.length = n;
9033
9029
  return result;
@@ -9109,7 +9105,6 @@
9109
9105
  var aCallable$7 = aCallable$9;
9110
9106
  var toObject$3 = toObject$7;
9111
9107
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
9112
- var deletePropertyOrThrow = deletePropertyOrThrow$1;
9113
9108
  var toString$b = toString$h;
9114
9109
  var fails$9 = fails$t;
9115
9110
  var internalSort = arraySort$1;
@@ -9204,18 +9199,19 @@
9204
9199
  index = 0;
9205
9200
 
9206
9201
  while (index < itemsLength) array[index] = items[index++];
9207
- while (index < arrayLength) deletePropertyOrThrow(array, index++);
9202
+ while (index < arrayLength) delete array[index++];
9208
9203
 
9209
9204
  return array;
9210
9205
  }
9211
9206
  });
9212
9207
 
9208
+ var global$m = global$U;
9213
9209
  var aCallable$6 = aCallable$9;
9214
9210
  var toObject$2 = toObject$7;
9215
9211
  var IndexedObject = indexedObject;
9216
9212
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
9217
9213
 
9218
- var $TypeError$5 = TypeError;
9214
+ var TypeError$9 = global$m.TypeError;
9219
9215
 
9220
9216
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
9221
9217
  var createMethod$2 = function (IS_RIGHT) {
@@ -9234,7 +9230,7 @@
9234
9230
  }
9235
9231
  index += i;
9236
9232
  if (IS_RIGHT ? index < 0 : length <= index) {
9237
- throw $TypeError$5('Reduce of empty array with no initial value');
9233
+ throw TypeError$9('Reduce of empty array with no initial value');
9238
9234
  }
9239
9235
  }
9240
9236
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -9254,20 +9250,20 @@
9254
9250
  };
9255
9251
 
9256
9252
  var classof$3 = classofRaw$1;
9257
- var global$c = global$s;
9253
+ var global$l = global$U;
9258
9254
 
9259
- var engineIsNode = classof$3(global$c.process) == 'process';
9255
+ var engineIsNode = classof$3(global$l.process) == 'process';
9260
9256
 
9261
9257
  var $$f = _export;
9262
9258
  var $reduce = arrayReduce.left;
9263
9259
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
9264
9260
  var CHROME_VERSION = engineV8Version;
9265
- var IS_NODE$4 = engineIsNode;
9261
+ var IS_NODE$3 = engineIsNode;
9266
9262
 
9267
9263
  var STRICT_METHOD = arrayMethodIsStrict('reduce');
9268
9264
  // Chrome 80-82 has a critical bug
9269
9265
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
9270
- var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9266
+ var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9271
9267
 
9272
9268
  // `Array.prototype.reduce` method
9273
9269
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
@@ -9278,7 +9274,7 @@
9278
9274
  }
9279
9275
  });
9280
9276
 
9281
- var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
9277
+ var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
9282
9278
 
9283
9279
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
9284
9280
  xmlns: "http://www.w3.org/2000/svg",
@@ -9327,7 +9323,7 @@
9327
9323
  }));
9328
9324
 
9329
9325
  const _excluded$d = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter"];
9330
- var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
9326
+ var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9331
9327
  const Wrapper$1 = styled('div', {
9332
9328
  margin: 0,
9333
9329
  flexDirection: 'column',
@@ -9692,10 +9688,10 @@
9692
9688
  return setItems(sortValue);
9693
9689
  }
9694
9690
  } else {
9695
- let filterItems = option == null ? void 0 : option.filter(item => {
9696
- var _item$name, _item$name$toLowerCas;
9691
+ let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
9692
+ var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
9697
9693
 
9698
- return item == null ? void 0 : (_item$name = item.name) == null ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) == null ? void 0 : _item$name$toLowerCas.includes == null ? void 0 : _item$name$toLowerCas.includes(input == null ? void 0 : input.toLocaleLowerCase == null ? void 0 : input.toLocaleLowerCase());
9694
+ return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) === null || _item$name$toLowerCas === void 0 ? void 0 : (_item$name$toLowerCas2 = _item$name$toLowerCas.includes) === null || _item$name$toLowerCas2 === void 0 ? void 0 : _item$name$toLowerCas2.call(_item$name$toLowerCas, input === null || input === void 0 ? void 0 : (_input$toLocaleLowerC = input.toLocaleLowerCase) === null || _input$toLocaleLowerC === void 0 ? void 0 : _input$toLocaleLowerC.call(input));
9699
9695
  });
9700
9696
  setItems(filterItems);
9701
9697
  }
@@ -9705,9 +9701,9 @@
9705
9701
  if (disabled || readOnly) {
9706
9702
  return selectedValue;
9707
9703
  } else {
9708
- if ((selected == null ? void 0 : selected.id) === 'counter') {
9704
+ if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
9709
9705
  setSelectedValue([]);
9710
- onChange == null ? void 0 : onChange([]);
9706
+ onChange === null || onChange === void 0 ? void 0 : onChange([]);
9711
9707
 
9712
9708
  for (let i = 0; i < selectedValue.length; i++) {
9713
9709
  removeSelectedItem(selectedValue[i]);
@@ -9718,7 +9714,7 @@
9718
9714
  setSelectedValue(filterItems);
9719
9715
 
9720
9716
  if (selected.id !== '!all') {
9721
- onChange == null ? void 0 : onChange(filterItems);
9717
+ onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
9722
9718
  }
9723
9719
  }
9724
9720
  }
@@ -9763,7 +9759,7 @@
9763
9759
  removeSelectedItem(item);
9764
9760
  });
9765
9761
  setSelectedValue([]);
9766
- onChange == null ? void 0 : onChange([]);
9762
+ onChange === null || onChange === void 0 ? void 0 : onChange([]);
9767
9763
  } else {
9768
9764
  removeItem(selectedItem);
9769
9765
  }
@@ -9778,12 +9774,12 @@
9778
9774
  itemIds.push(item.id);
9779
9775
  });
9780
9776
  setSelectedValue(itemIds);
9781
- onChange == null ? void 0 : onChange(itemIds.slice(1));
9777
+ onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
9782
9778
  } else {
9783
9779
  addSelectedItem(selectedItem);
9784
9780
  setSelectedValue([...selectedValue, selectedItem.id]);
9785
9781
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
9786
- onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9782
+ onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9787
9783
  }
9788
9784
 
9789
9785
  selectItem(null);
@@ -9935,7 +9931,7 @@
9935
9931
  lineNumber: 559,
9936
9932
  columnNumber: 11
9937
9933
  }
9938
- }, selectedItems == null ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default["default"].createElement(Tag, _extends({
9934
+ }, selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter === void 0 ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default["default"].createElement(Tag, _extends({
9939
9935
  disabled: disabled,
9940
9936
  isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
9941
9937
  size: size,
@@ -9959,7 +9955,7 @@
9959
9955
  lineNumber: 563,
9960
9956
  columnNumber: 17
9961
9957
  }
9962
- }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default["default"].createElement(TagWrapper$1, {
9958
+ }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default["default"].createElement(TagWrapper$1, {
9963
9959
  disabled: disabled,
9964
9960
  __self: undefined,
9965
9961
  __source: {
@@ -9972,7 +9968,7 @@
9972
9968
  maxWidth: '150px !important'
9973
9969
  },
9974
9970
  disabled: disabled,
9975
- isRemovable: readOnly || disabled || Boolean(selectedItems == null ? void 0 : selectedItems.length),
9971
+ isRemovable: readOnly || disabled || Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length),
9976
9972
  size: size,
9977
9973
  readOnly: readOnly // {...getSelectedItemProps({ selectedItem, index })}
9978
9974
  ,
@@ -9994,7 +9990,7 @@
9994
9990
  lineNumber: 586,
9995
9991
  columnNumber: 13
9996
9992
  }
9997
- }, `${selectedItems == null ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default["default"].createElement(OptionWrapper$1, {
9993
+ }, `${selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default["default"].createElement(OptionWrapper$1, {
9998
9994
  placement: placement,
9999
9995
  css: {
10000
9996
  display: isOpen && disabled === false ? 'block' : 'none',
@@ -10062,7 +10058,7 @@
10062
10058
  lineNumber: 640,
10063
10059
  columnNumber: 27
10064
10060
  }
10065
- }), showSelectAll && (item == null ? void 0 : item.id) === '!all' && selectedValue != null && selectedValue.length && (selectedValue == null ? void 0 : selectedValue.length) < (items == null ? void 0 : items.length) ? /*#__PURE__*/React__default["default"].createElement(IndeterminateFilled, {
10061
+ }), showSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default["default"].createElement(IndeterminateFilled, {
10066
10062
  __self: undefined,
10067
10063
  __source: {
10068
10064
  fileName: _jsxFileName$v,
@@ -10173,7 +10169,7 @@
10173
10169
  labelCounter: 'Item terpilih'
10174
10170
  };
10175
10171
 
10176
- var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
10172
+ var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
10177
10173
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
10178
10174
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
10179
10175
  ref: ref,
@@ -10224,7 +10220,7 @@
10224
10220
  labelCounter: 'Item terpilih'
10225
10221
  };
10226
10222
 
10227
- var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
10223
+ var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
10228
10224
  const Wrapper = styled('div', {
10229
10225
  margin: 0,
10230
10226
  flexDirection: 'column',
@@ -11026,15 +11022,15 @@
11026
11022
  trim: createMethod$1(3)
11027
11023
  };
11028
11024
 
11029
- var global$b = global$s;
11025
+ var global$k = global$U;
11030
11026
  var fails$8 = fails$t;
11031
11027
  var uncurryThis$d = functionUncurryThis;
11032
11028
  var toString$8 = toString$h;
11033
11029
  var trim$1 = stringTrim.trim;
11034
11030
  var whitespaces$2 = whitespaces$4;
11035
11031
 
11036
- var $parseInt$1 = global$b.parseInt;
11037
- var Symbol$6 = global$b.Symbol;
11032
+ var $parseInt$1 = global$k.parseInt;
11033
+ var Symbol$6 = global$k.Symbol;
11038
11034
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
11039
11035
  var hex = /^[+-]?0x/i;
11040
11036
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11255,7 +11251,7 @@
11255
11251
  };
11256
11252
 
11257
11253
  const _excluded$c = ["children"];
11258
- var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
11254
+ var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
11259
11255
  const {
11260
11256
  zIndices
11261
11257
  } = core.foundations;
@@ -11345,8 +11341,8 @@
11345
11341
  ref: floating,
11346
11342
  style: Object.assign({
11347
11343
  position: strategy,
11348
- top: isMobile ? 0 : y != null ? y : '',
11349
- left: isMobile ? 0 : x != null ? x : '',
11344
+ top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
11345
+ left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
11350
11346
  zIndex: zIndices.popover
11351
11347
  }, style)
11352
11348
  }), {
@@ -11389,7 +11385,7 @@
11389
11385
  Popover.displayName = 'Popover';
11390
11386
 
11391
11387
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
11392
- var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
11388
+ var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
11393
11389
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
11394
11390
  position: 'relative',
11395
11391
  display: 'flex',
@@ -11734,7 +11730,7 @@
11734
11730
  };
11735
11731
 
11736
11732
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
11737
- var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
11733
+ var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
11738
11734
  const TagWrapper = styled('div', {
11739
11735
  boxSizing: 'border-box',
11740
11736
  fontSize: '12px',
@@ -11900,7 +11896,7 @@
11900
11896
  _excluded2$1 = ["children", "activeTabs"],
11901
11897
  _excluded3 = ["children", "icon", "activeTabs", "value"],
11902
11898
  _excluded4 = ["activeTabs"];
11903
- var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
11899
+ var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
11904
11900
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
11905
11901
  display: 'flex',
11906
11902
  flexDirection: 'column',
@@ -12251,7 +12247,7 @@
12251
12247
 
12252
12248
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
12253
12249
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
12254
- var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
12250
+ var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
12255
12251
  const ButtonGroupComponent = styled(ToggleGroupPrimitive__namespace.Root, {
12256
12252
  display: 'inline-flex',
12257
12253
  borderRadius: '$md',
@@ -12479,7 +12475,7 @@
12479
12475
  };
12480
12476
 
12481
12477
  const _excluded$7 = ["children"];
12482
- var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
12478
+ var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
12483
12479
  const NotificationBadgeRootStyle = styled('span', {
12484
12480
  position: 'relative',
12485
12481
  display: 'inline-flex',
@@ -12579,7 +12575,7 @@
12579
12575
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
12580
12576
 
12581
12577
  const getValue = () => {
12582
- let value = props == null ? void 0 : props.value;
12578
+ let value = props === null || props === void 0 ? void 0 : props.value;
12583
12579
 
12584
12580
  if (typeof value === 'number' || parseInt(value)) {
12585
12581
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -12623,7 +12619,7 @@
12623
12619
  };
12624
12620
 
12625
12621
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
12626
- var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
12622
+ var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
12627
12623
  const PaperComponent = styled('div', {
12628
12624
  padding: '20px',
12629
12625
  height: 'auto',
@@ -12832,13 +12828,14 @@
12832
12828
  DialogOverlay.displayName = 'DialogOverlay';
12833
12829
  DialogPortal.displayName = 'DialogPortal';
12834
12830
 
12831
+ var global$j = global$U;
12835
12832
  var isPrototypeOf$1 = objectIsPrototypeOf;
12836
12833
 
12837
- var $TypeError$4 = TypeError;
12834
+ var TypeError$8 = global$j.TypeError;
12838
12835
 
12839
12836
  var anInstance$3 = function (it, Prototype) {
12840
12837
  if (isPrototypeOf$1(Prototype, it)) return it;
12841
- throw $TypeError$4('Incorrect invocation');
12838
+ throw TypeError$8('Incorrect invocation');
12842
12839
  };
12843
12840
 
12844
12841
  var uncurryThis$c = functionUncurryThis;
@@ -12894,15 +12891,16 @@
12894
12891
  || called;
12895
12892
  }) ? isConstructorLegacy : isConstructorModern;
12896
12893
 
12894
+ var global$i = global$U;
12897
12895
  var isConstructor$1 = isConstructor$2;
12898
- var tryToString$2 = tryToString$5;
12896
+ var tryToString$2 = tryToString$4;
12899
12897
 
12900
- var $TypeError$3 = TypeError;
12898
+ var TypeError$7 = global$i.TypeError;
12901
12899
 
12902
12900
  // `Assert: IsConstructor(argument) is true`
12903
12901
  var aConstructor$1 = function (argument) {
12904
12902
  if (isConstructor$1(argument)) return argument;
12905
- throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
12903
+ throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
12906
12904
  };
12907
12905
 
12908
12906
  var anObject$8 = anObject$i;
@@ -12948,10 +12946,12 @@
12948
12946
 
12949
12947
  var arraySlice$3 = uncurryThis$a([].slice);
12950
12948
 
12951
- var $TypeError$2 = TypeError;
12949
+ var global$h = global$U;
12950
+
12951
+ var TypeError$6 = global$h.TypeError;
12952
12952
 
12953
12953
  var validateArgumentsLength$3 = function (passed, required) {
12954
- if (passed < required) throw $TypeError$2('Not enough arguments');
12954
+ if (passed < required) throw TypeError$6('Not enough arguments');
12955
12955
  return passed;
12956
12956
  };
12957
12957
 
@@ -12959,7 +12959,7 @@
12959
12959
 
12960
12960
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
12961
12961
 
12962
- var global$a = global$s;
12962
+ var global$g = global$U;
12963
12963
  var apply$2 = functionApply;
12964
12964
  var bind$6 = functionBindContext;
12965
12965
  var isCallable$5 = isCallable$p;
@@ -12970,15 +12970,15 @@
12970
12970
  var createElement = documentCreateElement$2;
12971
12971
  var validateArgumentsLength$2 = validateArgumentsLength$3;
12972
12972
  var IS_IOS$1 = engineIsIos;
12973
- var IS_NODE$3 = engineIsNode;
12973
+ var IS_NODE$2 = engineIsNode;
12974
12974
 
12975
- var set = global$a.setImmediate;
12976
- var clear = global$a.clearImmediate;
12977
- var process$2 = global$a.process;
12978
- var Dispatch = global$a.Dispatch;
12979
- var Function$1 = global$a.Function;
12980
- var MessageChannel = global$a.MessageChannel;
12981
- var String$1 = global$a.String;
12975
+ var set = global$g.setImmediate;
12976
+ var clear = global$g.clearImmediate;
12977
+ var process$2 = global$g.process;
12978
+ var Dispatch = global$g.Dispatch;
12979
+ var Function$1 = global$g.Function;
12980
+ var MessageChannel = global$g.MessageChannel;
12981
+ var String$2 = global$g.String;
12982
12982
  var counter = 0;
12983
12983
  var queue$1 = {};
12984
12984
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -12986,7 +12986,7 @@
12986
12986
 
12987
12987
  try {
12988
12988
  // Deno throws a ReferenceError on `location` access without `--location` flag
12989
- location = global$a.location;
12989
+ location = global$g.location;
12990
12990
  } catch (error) { /* empty */ }
12991
12991
 
12992
12992
  var run = function (id) {
@@ -13009,7 +13009,7 @@
13009
13009
 
13010
13010
  var post = function (id) {
13011
13011
  // old engines have not location.origin
13012
- global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
13012
+ global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
13013
13013
  };
13014
13014
 
13015
13015
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -13028,7 +13028,7 @@
13028
13028
  delete queue$1[id];
13029
13029
  };
13030
13030
  // Node.js 0.8-
13031
- if (IS_NODE$3) {
13031
+ if (IS_NODE$2) {
13032
13032
  defer = function (id) {
13033
13033
  process$2.nextTick(runner(id));
13034
13034
  };
@@ -13047,14 +13047,14 @@
13047
13047
  // Browsers with postMessage, skip WebWorkers
13048
13048
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
13049
13049
  } else if (
13050
- global$a.addEventListener &&
13051
- isCallable$5(global$a.postMessage) &&
13052
- !global$a.importScripts &&
13050
+ global$g.addEventListener &&
13051
+ isCallable$5(global$g.postMessage) &&
13052
+ !global$g.importScripts &&
13053
13053
  location && location.protocol !== 'file:' &&
13054
13054
  !fails$6(post)
13055
13055
  ) {
13056
13056
  defer = post;
13057
- global$a.addEventListener('message', listener, false);
13057
+ global$g.addEventListener('message', listener, false);
13058
13058
  // IE8-
13059
13059
  } else if (ONREADYSTATECHANGE in createElement('script')) {
13060
13060
  defer = function (id) {
@@ -13077,29 +13077,29 @@
13077
13077
  };
13078
13078
 
13079
13079
  var userAgent$1 = engineUserAgent;
13080
- var global$9 = global$s;
13080
+ var global$f = global$U;
13081
13081
 
13082
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
13082
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
13083
13083
 
13084
13084
  var userAgent = engineUserAgent;
13085
13085
 
13086
13086
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
13087
13087
 
13088
- var global$8 = global$s;
13088
+ var global$e = global$U;
13089
13089
  var bind$5 = functionBindContext;
13090
13090
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
13091
13091
  var macrotask = task$1.set;
13092
13092
  var IS_IOS = engineIsIos;
13093
13093
  var IS_IOS_PEBBLE = engineIsIosPebble;
13094
13094
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
13095
- var IS_NODE$2 = engineIsNode;
13095
+ var IS_NODE$1 = engineIsNode;
13096
13096
 
13097
- var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
13098
- var document$2 = global$8.document;
13099
- var process$1 = global$8.process;
13100
- var Promise$1 = global$8.Promise;
13097
+ var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
13098
+ var document$2 = global$e.document;
13099
+ var process$1 = global$e.process;
13100
+ var Promise$1 = global$e.Promise;
13101
13101
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
13102
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
13102
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
13103
13103
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
13104
13104
 
13105
13105
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -13108,7 +13108,7 @@
13108
13108
  if (!queueMicrotask) {
13109
13109
  flush = function () {
13110
13110
  var parent, fn;
13111
- if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
13111
+ if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
13112
13112
  while (head) {
13113
13113
  fn = head.fn;
13114
13114
  head = head.next;
@@ -13125,7 +13125,7 @@
13125
13125
 
13126
13126
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
13127
13127
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
13128
- if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
13128
+ if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
13129
13129
  toggle = true;
13130
13130
  node = document$2.createTextNode('');
13131
13131
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -13143,7 +13143,7 @@
13143
13143
  then(flush);
13144
13144
  };
13145
13145
  // Node.js without promises
13146
- } else if (IS_NODE$2) {
13146
+ } else if (IS_NODE$1) {
13147
13147
  notify$1 = function () {
13148
13148
  process$1.nextTick(flush);
13149
13149
  };
@@ -13155,7 +13155,7 @@
13155
13155
  // - setTimeout
13156
13156
  } else {
13157
13157
  // strange IE + webpack dev server bug - use .bind(global)
13158
- macrotask = bind$5(macrotask, global$8);
13158
+ macrotask = bind$5(macrotask, global$e);
13159
13159
  notify$1 = function () {
13160
13160
  macrotask(flush);
13161
13161
  };
@@ -13171,10 +13171,10 @@
13171
13171
  } last = task;
13172
13172
  };
13173
13173
 
13174
- var global$7 = global$s;
13174
+ var global$d = global$U;
13175
13175
 
13176
13176
  var hostReportErrors$1 = function (a, b) {
13177
- var console = global$7.console;
13177
+ var console = global$d.console;
13178
13178
  if (console && console.error) {
13179
13179
  arguments.length == 1 ? console.error(a) : console.error(a, b);
13180
13180
  }
@@ -13212,35 +13212,25 @@
13212
13212
 
13213
13213
  var queue = Queue$1;
13214
13214
 
13215
- var global$6 = global$s;
13215
+ var global$c = global$U;
13216
13216
 
13217
- var promiseNativeConstructor = global$6.Promise;
13217
+ var promiseNativeConstructor = global$c.Promise;
13218
13218
 
13219
- /* global Deno -- Deno case */
13219
+ var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
13220
13220
 
13221
- var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
13222
-
13223
- var IS_DENO$1 = engineIsDeno;
13224
- var IS_NODE$1 = engineIsNode;
13225
-
13226
- var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
13227
- && typeof window == 'object'
13228
- && typeof document == 'object';
13229
-
13230
- var global$5 = global$s;
13221
+ var global$b = global$U;
13231
13222
  var NativePromiseConstructor$3 = promiseNativeConstructor;
13232
13223
  var isCallable$4 = isCallable$p;
13233
13224
  var isForced = isForced_1;
13234
13225
  var inspectSource = inspectSource$4;
13235
13226
  var wellKnownSymbol$6 = wellKnownSymbol$l;
13236
13227
  var IS_BROWSER = engineIsBrowser;
13237
- var IS_DENO = engineIsDeno;
13238
13228
  var V8_VERSION = engineV8Version;
13239
13229
 
13240
13230
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
13241
13231
  var SPECIES = wellKnownSymbol$6('species');
13242
13232
  var SUBCLASSING = false;
13243
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
13233
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
13244
13234
 
13245
13235
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13246
13236
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -13252,18 +13242,18 @@
13252
13242
  // We can't use @@species feature detection in V8 since it causes
13253
13243
  // deoptimization and performance degradation
13254
13244
  // https://github.com/zloirock/core-js/issues/679
13255
- if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
13256
- // Detect correctness of subclassing with @@species support
13257
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13258
- var FakePromise = function (exec) {
13259
- exec(function () { /* empty */ }, function () { /* empty */ });
13260
- };
13261
- var constructor = promise.constructor = {};
13262
- constructor[SPECIES] = FakePromise;
13263
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13264
- if (!SUBCLASSING) return true;
13245
+ if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
13246
+ // Detect correctness of subclassing with @@species support
13247
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13248
+ var FakePromise = function (exec) {
13249
+ exec(function () { /* empty */ }, function () { /* empty */ });
13250
+ };
13251
+ var constructor = promise.constructor = {};
13252
+ constructor[SPECIES] = FakePromise;
13253
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13254
+ if (!SUBCLASSING) return true;
13265
13255
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
13266
- } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
13256
+ return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
13267
13257
  });
13268
13258
 
13269
13259
  var promiseConstructorDetection = {
@@ -13295,7 +13285,7 @@
13295
13285
 
13296
13286
  var $$c = _export;
13297
13287
  var IS_NODE = engineIsNode;
13298
- var global$4 = global$s;
13288
+ var global$a = global$U;
13299
13289
  var call$b = functionCall;
13300
13290
  var defineBuiltIn$4 = defineBuiltIn$b;
13301
13291
  var setPrototypeOf = objectSetPrototypeOf;
@@ -13325,13 +13315,13 @@
13325
13315
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
13326
13316
  var PromiseConstructor = NativePromiseConstructor$2;
13327
13317
  var PromisePrototype = NativePromisePrototype$1;
13328
- var TypeError$3 = global$4.TypeError;
13329
- var document$1 = global$4.document;
13330
- var process = global$4.process;
13318
+ var TypeError$5 = global$a.TypeError;
13319
+ var document$1 = global$a.document;
13320
+ var process = global$a.process;
13331
13321
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
13332
13322
  var newGenericPromiseCapability = newPromiseCapability$1;
13333
13323
 
13334
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
13324
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
13335
13325
  var UNHANDLED_REJECTION = 'unhandledrejection';
13336
13326
  var REJECTION_HANDLED = 'rejectionhandled';
13337
13327
  var PENDING = 0;
@@ -13372,7 +13362,7 @@
13372
13362
  }
13373
13363
  }
13374
13364
  if (result === reaction.promise) {
13375
- reject(TypeError$3('Promise-chain cycle'));
13365
+ reject(TypeError$5('Promise-chain cycle'));
13376
13366
  } else if (then = isThenable(result)) {
13377
13367
  call$b(then, result, resolve, reject);
13378
13368
  } else resolve(result);
@@ -13404,14 +13394,14 @@
13404
13394
  event.promise = promise;
13405
13395
  event.reason = reason;
13406
13396
  event.initEvent(name, false, true);
13407
- global$4.dispatchEvent(event);
13397
+ global$a.dispatchEvent(event);
13408
13398
  } else event = { promise: promise, reason: reason };
13409
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
13399
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
13410
13400
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
13411
13401
  };
13412
13402
 
13413
13403
  var onUnhandled = function (state) {
13414
- call$b(task, global$4, function () {
13404
+ call$b(task, global$a, function () {
13415
13405
  var promise = state.facade;
13416
13406
  var value = state.value;
13417
13407
  var IS_UNHANDLED = isUnhandled(state);
@@ -13434,7 +13424,7 @@
13434
13424
  };
13435
13425
 
13436
13426
  var onHandleUnhandled = function (state) {
13437
- call$b(task, global$4, function () {
13427
+ call$b(task, global$a, function () {
13438
13428
  var promise = state.facade;
13439
13429
  if (IS_NODE) {
13440
13430
  process.emit('rejectionHandled', promise);
@@ -13462,7 +13452,7 @@
13462
13452
  state.done = true;
13463
13453
  if (unwrap) state = unwrap;
13464
13454
  try {
13465
- if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
13455
+ if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
13466
13456
  var then = isThenable(value);
13467
13457
  if (then) {
13468
13458
  microtask(function () {
@@ -13604,18 +13594,19 @@
13604
13594
  || Iterators[classof$1(it)];
13605
13595
  };
13606
13596
 
13597
+ var global$9 = global$U;
13607
13598
  var call$a = functionCall;
13608
13599
  var aCallable$2 = aCallable$9;
13609
13600
  var anObject$7 = anObject$i;
13610
- var tryToString$1 = tryToString$5;
13601
+ var tryToString$1 = tryToString$4;
13611
13602
  var getIteratorMethod$3 = getIteratorMethod$4;
13612
13603
 
13613
- var $TypeError$1 = TypeError;
13604
+ var TypeError$4 = global$9.TypeError;
13614
13605
 
13615
13606
  var getIterator$3 = function (argument, usingIterator) {
13616
13607
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
13617
13608
  if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
13618
- throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
13609
+ throw TypeError$4(tryToString$1(argument) + ' is not iterable');
13619
13610
  };
13620
13611
 
13621
13612
  var call$9 = functionCall;
@@ -13642,10 +13633,11 @@
13642
13633
  return value;
13643
13634
  };
13644
13635
 
13636
+ var global$8 = global$U;
13645
13637
  var bind$3 = functionBindContext;
13646
13638
  var call$8 = functionCall;
13647
13639
  var anObject$5 = anObject$i;
13648
- var tryToString = tryToString$5;
13640
+ var tryToString = tryToString$4;
13649
13641
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
13650
13642
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
13651
13643
  var isPrototypeOf = objectIsPrototypeOf;
@@ -13653,7 +13645,7 @@
13653
13645
  var getIteratorMethod$2 = getIteratorMethod$4;
13654
13646
  var iteratorClose$1 = iteratorClose$2;
13655
13647
 
13656
- var $TypeError = TypeError;
13648
+ var TypeError$3 = global$8.TypeError;
13657
13649
 
13658
13650
  var Result = function (stopped, result) {
13659
13651
  this.stopped = stopped;
@@ -13665,7 +13657,6 @@
13665
13657
  var iterate$2 = function (iterable, unboundFunction, options) {
13666
13658
  var that = options && options.that;
13667
13659
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
13668
- var IS_RECORD = !!(options && options.IS_RECORD);
13669
13660
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
13670
13661
  var INTERRUPTED = !!(options && options.INTERRUPTED);
13671
13662
  var fn = bind$3(unboundFunction, that);
@@ -13683,13 +13674,11 @@
13683
13674
  } return INTERRUPTED ? fn(value, stop) : fn(value);
13684
13675
  };
13685
13676
 
13686
- if (IS_RECORD) {
13687
- iterator = iterable.iterator;
13688
- } else if (IS_ITERATOR) {
13677
+ if (IS_ITERATOR) {
13689
13678
  iterator = iterable;
13690
13679
  } else {
13691
13680
  iterFn = getIteratorMethod$2(iterable);
13692
- if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
13681
+ if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
13693
13682
  // optimisation for array iterators
13694
13683
  if (isArrayIteratorMethod$1(iterFn)) {
13695
13684
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -13700,7 +13689,7 @@
13700
13689
  iterator = getIterator$2(iterable, iterFn);
13701
13690
  }
13702
13691
 
13703
- next = IS_RECORD ? iterable.next : iterator.next;
13692
+ next = iterator.next;
13704
13693
  while (!(step = call$8(next, iterator)).done) {
13705
13694
  try {
13706
13695
  result = callFn(step.value);
@@ -14127,7 +14116,7 @@
14127
14116
  };
14128
14117
 
14129
14118
  const _excluded$5 = ["children"];
14130
- var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
14119
+ var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
14131
14120
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
14132
14121
  const {
14133
14122
  sizes
@@ -15899,7 +15888,7 @@
15899
15888
  return null;
15900
15889
  };
15901
15890
 
15902
- var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
15891
+ var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
15903
15892
  const Input$3 = styled('input', {
15904
15893
  display: 'none'
15905
15894
  });
@@ -16156,33 +16145,33 @@
16156
16145
  })));
16157
16146
  };
16158
16147
  NativeTimePicker.propTypes = {
16159
- /**
16160
- Resize time picker.
16148
+ /**
16149
+ Resize time picker.
16161
16150
  */
16162
16151
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16163
16152
 
16164
- /**
16165
- Change handler.
16153
+ /**
16154
+ Change handler.
16166
16155
  */
16167
16156
  onChange: PropTypes__default["default"].func,
16168
16157
 
16169
- /**
16170
- Time picker default value, support moment format.
16158
+ /**
16159
+ Time picker default value, support moment format.
16171
16160
  */
16172
16161
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16173
16162
 
16174
- /**
16175
- Time picker value, support moment format.
16163
+ /**
16164
+ Time picker value, support moment format.
16176
16165
  */
16177
16166
  value: PropTypes__default["default"].instanceOf(Date),
16178
16167
 
16179
- /**
16180
- Specify the minimum date.
16168
+ /**
16169
+ Specify the minimum date.
16181
16170
  */
16182
16171
  minDate: PropTypes__default["default"].instanceOf(Date),
16183
16172
 
16184
- /**
16185
- Specify the maximum date.
16173
+ /**
16174
+ Specify the maximum date.
16186
16175
  */
16187
16176
  maxDate: PropTypes__default["default"].instanceOf(Date)
16188
16177
  };
@@ -16227,49 +16216,49 @@
16227
16216
  };
16228
16217
  TimePicker.displayName = 'TimePicker';
16229
16218
  TimePicker.propTypes = {
16230
- /**
16231
- Additional styles.
16219
+ /**
16220
+ Additional styles.
16232
16221
  */
16233
16222
  css: PropTypes__default["default"].object,
16234
16223
 
16235
- /**
16236
- Resize time picker.
16224
+ /**
16225
+ Resize time picker.
16237
16226
  */
16238
16227
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16239
16228
 
16240
- /**
16241
- Change handler.
16229
+ /**
16230
+ Change handler.
16242
16231
  */
16243
16232
  onChange: PropTypes__default["default"].func,
16244
16233
 
16245
- /**
16246
- Time picker default value, support moment format.
16234
+ /**
16235
+ Time picker default value, support moment format.
16247
16236
  */
16248
16237
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16249
16238
 
16250
- /**
16251
- Time picker value, support moment format.
16239
+ /**
16240
+ Time picker value, support moment format.
16252
16241
  */
16253
16242
  value: PropTypes__default["default"].instanceOf(Date),
16254
16243
 
16255
- /**
16256
- Disabled state.
16244
+ /**
16245
+ Disabled state.
16257
16246
  */
16258
16247
  disabled: PropTypes__default["default"].bool,
16259
16248
 
16260
- /**
16261
- Specify the minimum date.
16249
+ /**
16250
+ Specify the minimum date.
16262
16251
  */
16263
16252
  minDate: PropTypes__default["default"].instanceOf(Date),
16264
16253
 
16265
- /**
16266
- Specify the maximum date.
16254
+ /**
16255
+ Specify the maximum date.
16267
16256
  */
16268
16257
  maxDate: PropTypes__default["default"].instanceOf(Date)
16269
16258
  };
16270
16259
  NativeTimePicker.displayName = 'NativeTimePicker';
16271
16260
 
16272
- var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
16261
+ var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
16273
16262
 
16274
16263
  const getInputPickerValue$1 = date => {
16275
16264
  if (!date) return;
@@ -16445,63 +16434,63 @@
16445
16434
  placeholder: 'Select Time'
16446
16435
  };
16447
16436
  InputTimePicker.propTypes = {
16448
- /**
16449
- Additional styles.
16437
+ /**
16438
+ Additional styles.
16450
16439
  */
16451
16440
  css: PropTypes__default["default"].object,
16452
16441
 
16453
- /**
16454
- Disabled state.
16442
+ /**
16443
+ Disabled state.
16455
16444
  */
16456
16445
  disabled: PropTypes__default["default"].bool,
16457
16446
 
16458
- /**
16459
- ReadOnly state.
16447
+ /**
16448
+ ReadOnly state.
16460
16449
  */
16461
16450
  readOnly: PropTypes__default["default"].bool,
16462
16451
 
16463
- /**
16464
- Resize time picker.
16452
+ /**
16453
+ Resize time picker.
16465
16454
  */
16466
16455
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16467
16456
 
16468
- /**
16469
- Custom placeholder input time picker.
16457
+ /**
16458
+ Custom placeholder input time picker.
16470
16459
  */
16471
16460
  placeholder: PropTypes__default["default"].string,
16472
16461
 
16473
- /**
16474
- Time picker default value, support moment format.
16462
+ /**
16463
+ Time picker default value, support moment format.
16475
16464
  */
16476
16465
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16477
16466
 
16478
- /**
16479
- Time picker value, support moment format.
16467
+ /**
16468
+ Time picker value, support moment format.
16480
16469
  */
16481
16470
  value: PropTypes__default["default"].instanceOf(Date),
16482
16471
 
16483
- /**
16484
- Change handler.
16472
+ /**
16473
+ Change handler.
16485
16474
  */
16486
16475
  onChange: PropTypes__default["default"].func,
16487
16476
 
16488
- /**
16489
- Placement popover input time picker.
16477
+ /**
16478
+ Placement popover input time picker.
16490
16479
  */
16491
16480
  placement: PropTypes__default["default"].string,
16492
16481
 
16493
- /**
16494
- Specify the minimum date.
16482
+ /**
16483
+ Specify the minimum date.
16495
16484
  */
16496
16485
  minDate: PropTypes__default["default"].instanceOf(Date),
16497
16486
 
16498
- /**
16499
- Specify the maximum date.
16487
+ /**
16488
+ Specify the maximum date.
16500
16489
  */
16501
16490
  maxDate: PropTypes__default["default"].instanceOf(Date),
16502
16491
 
16503
- /**
16504
- * Invalid state input.
16492
+ /**
16493
+ * Invalid state input.
16505
16494
  */
16506
16495
  isInvalid: PropTypes__default["default"].bool
16507
16496
  };
@@ -17066,7 +17055,7 @@
17066
17055
  };
17067
17056
 
17068
17057
  const _excluded$4 = ["isActive", "onClick"];
17069
- var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
17058
+ var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
17070
17059
  const PrevNextButton = styled(Text$1, {
17071
17060
  padding: '$spacing-01',
17072
17061
  cursor: 'pointer',
@@ -17336,7 +17325,7 @@
17336
17325
  };
17337
17326
 
17338
17327
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
17339
- var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
17328
+ var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
17340
17329
  const LimitContainer = styled(Flex$1, {
17341
17330
  cursor: 'pointer'
17342
17331
  });
@@ -17442,7 +17431,7 @@
17442
17431
  lineNumber: 40,
17443
17432
  columnNumber: 11
17444
17433
  }
17445
- }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
17434
+ }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
17446
17435
  key: limit,
17447
17436
  css: limitItemContainerStyle(selectedLimit === limit),
17448
17437
  onClick: () => onChange(limit),
@@ -17473,7 +17462,7 @@
17473
17462
  }
17474
17463
 
17475
17464
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
17476
- var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
17465
+ var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
17477
17466
 
17478
17467
  function Pagination(_ref) {
17479
17468
  let {
@@ -18097,7 +18086,7 @@
18097
18086
  return {};
18098
18087
  };
18099
18088
 
18100
- var stickyShadowStyling = function stickyShadowStyling(column) {
18089
+ var stickyShadowStyling = function stickyShadowStyling(column, tableScrollPosition) {
18101
18090
  var cssAfter = {
18102
18091
  position: 'absolute',
18103
18092
  top: 0,
@@ -18113,12 +18102,12 @@
18113
18102
  return column.sticky === 'left' ? {
18114
18103
  '&::after': __assign(__assign({}, cssAfter), {
18115
18104
  right: 0,
18116
- boxShadow: 'inset 10px 0 10px -10px #00000026'
18105
+ boxShadow: tableScrollPosition === 'start' ? 'none' : 'inset 10px 0 10px -10px #00000026'
18117
18106
  })
18118
18107
  } : {
18119
18108
  '&::after': __assign(__assign({}, cssAfter), {
18120
18109
  left: 0,
18121
- boxShadow: 'inset -10px 0 10px -10px #00000026'
18110
+ boxShadow: tableScrollPosition === 'end' ? 'none' : 'inset -10px 0 10px -10px #00000026'
18122
18111
  })
18123
18112
  };
18124
18113
  }
@@ -18192,6 +18181,14 @@
18192
18181
  dataRow = _p[0],
18193
18182
  setDataRow = _p[1];
18194
18183
 
18184
+ var _q = React.useState('start'),
18185
+ tableScrollPosition = _q[0],
18186
+ setTableScrollPosition = _q[1];
18187
+
18188
+ var _r = React.useState(0),
18189
+ scrollAreaWidth = _r[0],
18190
+ setScrollAreaWidth = _r[1];
18191
+
18195
18192
  var getInitialState = function getInitialState() {
18196
18193
  var initialState = {};
18197
18194
 
@@ -18226,6 +18223,8 @@
18226
18223
  return row[keyId] || JSON.stringify(row);
18227
18224
  }
18228
18225
  }, reactTable.useSortBy, reactTable.useExpanded, reactTable.usePagination, reactTable.useRowSelect, reactTableSticky.useSticky, reactTable.useColumnOrder);
18226
+ var scrollerRef = React.useRef(null);
18227
+ var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
18229
18228
  var getTableProps = instance.getTableProps,
18230
18229
  getTableBodyProps = instance.getTableBodyProps,
18231
18230
  headerGroups = instance.headerGroups;
@@ -18236,11 +18235,11 @@
18236
18235
  gotoPage = instance.gotoPage,
18237
18236
  setPageSize = instance.setPageSize,
18238
18237
  toggleRowSelected = instance.toggleRowSelected,
18239
- _q = instance.state,
18240
- pageIndex = _q.pageIndex,
18241
- pageSize = _q.pageSize,
18242
- sortBy = _q.sortBy,
18243
- selectedRowIds = _q.selectedRowIds,
18238
+ _s = instance.state,
18239
+ pageIndex = _s.pageIndex,
18240
+ pageSize = _s.pageSize,
18241
+ sortBy = _s.sortBy,
18242
+ selectedRowIds = _s.selectedRowIds,
18244
18243
  setHiddenColumns = instance.setHiddenColumns,
18245
18244
  setColumnOrder = instance.setColumnOrder;
18246
18245
 
@@ -18262,9 +18261,6 @@
18262
18261
  if (fetchData) fetchData(fetchParams);
18263
18262
  };
18264
18263
 
18265
- var scrollerRef = React.useRef(null);
18266
- var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
18267
-
18268
18264
  var renderFooter = function renderFooter() {
18269
18265
  return jsxRuntime.jsx(Pagination, {
18270
18266
  limit: pageSize,
@@ -18312,43 +18308,6 @@
18312
18308
  }), void 0);
18313
18309
  };
18314
18310
 
18315
- React.useEffect(function () {
18316
- if (hiddenColumns) setHiddenColumns(hiddenColumns);
18317
- }, [hiddenColumns]);
18318
- React.useEffect(function () {
18319
- if (columnOrder) setColumnOrder(columnOrder);
18320
- }, [columnOrder]);
18321
- React.useEffect(function () {
18322
- setPageSize(rowLimit);
18323
- }, [rowLimit]);
18324
- React.useEffect(function () {
18325
- gotoPage(controlledPageIndex);
18326
- }, [controlledPageIndex]);
18327
- React.useEffect(function () {
18328
- if (data && data.length > 0) doFetchData(0, isInfiniteScroll ? rowLimit : pageSize);
18329
- }, [sortBy]);
18330
- reactTable.useMountedLayoutEffect(function () {
18331
- if (data && data.length > 0 && selectedRowIds && onSelectedChange) onSelectedChange(selectedRowIds ? Object.keys(selectedRowIds) : []);
18332
- }, [selectedRowIds]);
18333
- React.useEffect(function () {
18334
- var _a;
18335
-
18336
- if (isInfiniteScroll && data.length <= rowLimit) {
18337
- (_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
18338
- top: 0
18339
- });
18340
- }
18341
- }, [data]);
18342
- React.useEffect(function () {
18343
- if (selectedIds && data.length > 0) {
18344
- var selectedIdsKeys = Object.keys(selectedIds);
18345
- selectedIdsKeys.map(function (key) {
18346
- toggleRowSelected(key, true);
18347
- return key;
18348
- });
18349
- }
18350
- }, [data, selectedIds]);
18351
-
18352
18311
  var getOptionsMenu = function getOptionsMenu() {
18353
18312
  var _a, _b;
18354
18313
 
@@ -18398,6 +18357,47 @@
18398
18357
  setDataRow(row);
18399
18358
  };
18400
18359
 
18360
+ React.useLayoutEffect(function () {
18361
+ if (scrollerRef && scrollerRef.current) {
18362
+ setScrollAreaWidth(scrollerRef.current.scrollWidth - scrollerRef.current.clientWidth);
18363
+ }
18364
+ }, [scrollerRef]);
18365
+ React.useEffect(function () {
18366
+ if (hiddenColumns) setHiddenColumns(hiddenColumns);
18367
+ }, [hiddenColumns]);
18368
+ React.useEffect(function () {
18369
+ if (columnOrder) setColumnOrder(columnOrder);
18370
+ }, [columnOrder]);
18371
+ React.useEffect(function () {
18372
+ setPageSize(rowLimit);
18373
+ }, [rowLimit]);
18374
+ React.useEffect(function () {
18375
+ gotoPage(controlledPageIndex);
18376
+ }, [controlledPageIndex]);
18377
+ React.useEffect(function () {
18378
+ if (data && data.length > 0) doFetchData(0, isInfiniteScroll ? rowLimit : pageSize);
18379
+ }, [sortBy]);
18380
+ reactTable.useMountedLayoutEffect(function () {
18381
+ if (data && data.length > 0 && selectedRowIds && onSelectedChange) onSelectedChange(selectedRowIds ? Object.keys(selectedRowIds) : []);
18382
+ }, [selectedRowIds]);
18383
+ React.useEffect(function () {
18384
+ var _a;
18385
+
18386
+ if (isInfiniteScroll && data.length <= rowLimit) {
18387
+ (_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
18388
+ top: 0
18389
+ });
18390
+ }
18391
+ }, [data]);
18392
+ React.useEffect(function () {
18393
+ if (selectedIds && data.length > 0) {
18394
+ var selectedIdsKeys = Object.keys(selectedIds);
18395
+ selectedIdsKeys.map(function (key) {
18396
+ toggleRowSelected(key, true);
18397
+ return key;
18398
+ });
18399
+ }
18400
+ }, [data, selectedIds]);
18401
18401
  return jsxRuntime.jsxs(Box, __assign({
18402
18402
  css: {
18403
18403
  position: 'relative',
@@ -18427,7 +18427,18 @@
18427
18427
  }), void 0), !isMobile ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
18428
18428
  children: [jsxRuntime.jsxs(TableContainer$3, __assign({
18429
18429
  css: css,
18430
- ref: scrollerRef
18430
+ ref: scrollerRef,
18431
+ onScroll: function (e) {
18432
+ var scrollPosition = e.currentTarget.scrollLeft;
18433
+
18434
+ if (scrollPosition < 3) {
18435
+ setTableScrollPosition('start');
18436
+ } else if (scrollPosition > scrollAreaWidth - 3) {
18437
+ setTableScrollPosition('end');
18438
+ } else {
18439
+ setTableScrollPosition('between');
18440
+ }
18441
+ }
18431
18442
  }, {
18432
18443
  children: [renderInfiniteScrollWrapper(jsxRuntime.jsxs(TableContent$3, __assign({}, getTableProps(), {
18433
18444
  children: [jsxRuntime.jsx(TableHead$3, __assign({
@@ -18451,7 +18462,7 @@
18451
18462
  }
18452
18463
  }];
18453
18464
  }), {
18454
- css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column))
18465
+ css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition))
18455
18466
  }, {
18456
18467
  children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
18457
18468
  isSortedDesc: column.isSortedDesc,
@@ -18514,7 +18525,7 @@
18514
18525
  padding: !isContextMenu || ['expander', 'selection', 'menu', 'eye'].includes((_a = cell === null || cell === void 0 ? void 0 : cell.column) === null || _a === void 0 ? void 0 : _a.id) ? cell.column.accessor ? '20px 8px' : '20px 20px' : '',
18515
18526
  verticalAlign: cell.column.accessor ? cellAlign : 'center',
18516
18527
  cursor: onRowClick ? 'pointer' : 'unset'
18517
- }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column)),
18528
+ }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition)),
18518
18529
  onClick: function () {
18519
18530
  return handleRowClick(row, i);
18520
18531
  }
@@ -18636,7 +18647,7 @@
18636
18647
  return jsxRuntime.jsx("div", {}, void 0);
18637
18648
  };
18638
18649
 
18639
- var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
18650
+ var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
18640
18651
 
18641
18652
  const DateColumn = ({
18642
18653
  value,
@@ -18672,11 +18683,12 @@
18672
18683
  // https://tc39.es/ecma262/#sec-thisnumbervalue
18673
18684
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
18674
18685
 
18686
+ var global$7 = global$U;
18675
18687
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
18676
18688
  var toString$7 = toString$h;
18677
18689
  var requireObjectCoercible$3 = requireObjectCoercible$a;
18678
18690
 
18679
- var $RangeError$2 = RangeError;
18691
+ var RangeError$2 = global$7.RangeError;
18680
18692
 
18681
18693
  // `String.prototype.repeat` method implementation
18682
18694
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -18684,20 +18696,21 @@
18684
18696
  var str = toString$7(requireObjectCoercible$3(this));
18685
18697
  var result = '';
18686
18698
  var n = toIntegerOrInfinity$3(count);
18687
- if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
18699
+ if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
18688
18700
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
18689
18701
  return result;
18690
18702
  };
18691
18703
 
18692
18704
  var $$6 = _export;
18705
+ var global$6 = global$U;
18693
18706
  var uncurryThis$8 = functionUncurryThis;
18694
18707
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
18695
18708
  var thisNumberValue = thisNumberValue$1;
18696
18709
  var $repeat = stringRepeat;
18697
18710
  var fails$5 = fails$t;
18698
18711
 
18699
- var $RangeError$1 = RangeError;
18700
- var $String = String;
18712
+ var RangeError$1 = global$6.RangeError;
18713
+ var String$1 = global$6.String;
18701
18714
  var floor$3 = Math.floor;
18702
18715
  var repeat = uncurryThis$8($repeat);
18703
18716
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -18745,7 +18758,7 @@
18745
18758
  var s = '';
18746
18759
  while (--index >= 0) {
18747
18760
  if (s !== '' || index === 0 || data[index] !== 0) {
18748
- var t = $String(data[index]);
18761
+ var t = String$1(data[index]);
18749
18762
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
18750
18763
  }
18751
18764
  } return s;
@@ -18773,10 +18786,10 @@
18773
18786
  var e, z, j, k;
18774
18787
 
18775
18788
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
18776
- if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
18789
+ if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
18777
18790
  // eslint-disable-next-line no-self-compare -- NaN check
18778
18791
  if (number != number) return 'NaN';
18779
- if (number <= -1e21 || number >= 1e21) return $String(number);
18792
+ if (number <= -1e21 || number >= 1e21) return String$1(number);
18780
18793
  if (number < 0) {
18781
18794
  sign = '-';
18782
18795
  number = -number;
@@ -18820,7 +18833,7 @@
18820
18833
  }
18821
18834
  });
18822
18835
 
18823
- var global$3 = global$s;
18836
+ var global$5 = global$U;
18824
18837
  var fails$4 = fails$t;
18825
18838
  var uncurryThis$7 = functionUncurryThis;
18826
18839
  var toString$6 = toString$h;
@@ -18828,8 +18841,8 @@
18828
18841
  var whitespaces$1 = whitespaces$4;
18829
18842
 
18830
18843
  var charAt$6 = uncurryThis$7(''.charAt);
18831
- var n$ParseFloat = global$3.parseFloat;
18832
- var Symbol$5 = global$3.Symbol;
18844
+ var n$ParseFloat = global$5.parseFloat;
18845
+ var Symbol$5 = global$5.Symbol;
18833
18846
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
18834
18847
  var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
18835
18848
  // MS Edge 18- broken with boxed symbols
@@ -19318,7 +19331,7 @@
19318
19331
  return addThousandSeparator(param);
19319
19332
  };
19320
19333
 
19321
- var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
19334
+ var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
19322
19335
  const rowExpanderColumn = {
19323
19336
  id: 'expander',
19324
19337
  Header: () => null,
@@ -19360,7 +19373,7 @@
19360
19373
  unsortable: true
19361
19374
  };
19362
19375
 
19363
- var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
19376
+ var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
19364
19377
 
19365
19378
  const rowMenuColumn = (options, icon, config) => ({
19366
19379
  id: 'menu',
@@ -19612,7 +19625,7 @@
19612
19625
  unsortable: true
19613
19626
  });
19614
19627
 
19615
- var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
19628
+ var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
19616
19629
  const rowSelectionColumn = {
19617
19630
  id: 'selection',
19618
19631
  Header: ({
@@ -19917,7 +19930,7 @@
19917
19930
  };
19918
19931
 
19919
19932
  const _excluded$1 = ["children"];
19920
- var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
19933
+ var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
19921
19934
  const overlayShow = keyframes({
19922
19935
  '0%': {
19923
19936
  opacity: 0
@@ -20089,7 +20102,7 @@
20089
20102
  if (!props.onOpenAutoFocus) {
20090
20103
  e.preventDefault();
20091
20104
  } else {
20092
- props == null ? void 0 : props.onOpenAutoFocus();
20105
+ props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
20093
20106
  }
20094
20107
  },
20095
20108
  __self: undefined,
@@ -20210,8 +20223,8 @@
20210
20223
  size: "sm",
20211
20224
  onClick: buttonConfirm,
20212
20225
  buttonType: props.dialogType,
20213
- disabled: props == null ? void 0 : props.disabledButton
20214
- }, props == null ? void 0 : props.actionButtonProps, {
20226
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20227
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20215
20228
  __self: undefined,
20216
20229
  __source: {
20217
20230
  fileName: _jsxFileName$b,
@@ -20230,12 +20243,12 @@
20230
20243
  size: "sm",
20231
20244
  onClick: buttonCancel,
20232
20245
  css: {
20233
- color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20246
+ color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20234
20247
  flex: props.isMobile && 1
20235
20248
  },
20236
20249
  buttonType: "ghost",
20237
- disabled: props == null ? void 0 : props.disabledButton
20238
- }, props == null ? void 0 : props.cancelButtonProps, {
20250
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20251
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20239
20252
  __self: undefined,
20240
20253
  __source: {
20241
20254
  fileName: _jsxFileName$b,
@@ -20257,8 +20270,8 @@
20257
20270
  css: {
20258
20271
  flex: props.isMobile && 1
20259
20272
  },
20260
- disabled: props == null ? void 0 : props.disabledButton
20261
- }, props == null ? void 0 : props.actionButtonProps, {
20273
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20274
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20262
20275
  __self: undefined,
20263
20276
  __source: {
20264
20277
  fileName: _jsxFileName$b,
@@ -20418,8 +20431,8 @@
20418
20431
  css: {
20419
20432
  flex: props.isMobile && 1
20420
20433
  },
20421
- disabled: props == null ? void 0 : props.disabledButton
20422
- }, props == null ? void 0 : props.actionButtonProps, {
20434
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20435
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20423
20436
  __self: this,
20424
20437
  __source: {
20425
20438
  fileName: _jsxFileName$b,
@@ -20438,12 +20451,12 @@
20438
20451
  size: "sm",
20439
20452
  onClick: props.onCancel,
20440
20453
  css: {
20441
- color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20454
+ color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20442
20455
  flex: props.isMobile && 1
20443
20456
  },
20444
20457
  buttonType: "ghost",
20445
- disabled: props == null ? void 0 : props.disabledButton
20446
- }, props == null ? void 0 : props.cancelButtonProps, {
20458
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20459
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20447
20460
  __self: this,
20448
20461
  __source: {
20449
20462
  fileName: _jsxFileName$b,
@@ -20465,8 +20478,8 @@
20465
20478
  css: {
20466
20479
  flex: props.isMobile && 1
20467
20480
  },
20468
- disabled: props == null ? void 0 : props.disabledButton
20469
- }, props == null ? void 0 : props.actionButtonProps, {
20481
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20482
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20470
20483
  __self: this,
20471
20484
  __source: {
20472
20485
  fileName: _jsxFileName$b,
@@ -20516,7 +20529,7 @@
20516
20529
  const AlertDialogConfirm = ADialog__namespace.Action;
20517
20530
 
20518
20531
  const _excluded = ["side", "align", "children"];
20519
- var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
20532
+ var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
20520
20533
  const Context = /*#__PURE__*/React__default["default"].createContext();
20521
20534
  const slideUpAndFade = keyframes({
20522
20535
  '0%': {
@@ -20853,6 +20866,7 @@
20853
20866
  }
20854
20867
  };
20855
20868
 
20869
+ var global$4 = global$U;
20856
20870
  var bind$2 = functionBindContext;
20857
20871
  var call$2 = functionCall;
20858
20872
  var toObject = toObject$7;
@@ -20864,7 +20878,7 @@
20864
20878
  var getIterator$1 = getIterator$3;
20865
20879
  var getIteratorMethod$1 = getIteratorMethod$4;
20866
20880
 
20867
- var $Array = Array;
20881
+ var Array$1 = global$4.Array;
20868
20882
 
20869
20883
  // `Array.from` method implementation
20870
20884
  // https://tc39.es/ecma262/#sec-array.from
@@ -20879,7 +20893,7 @@
20879
20893
  var index = 0;
20880
20894
  var length, result, step, iterator, next, value;
20881
20895
  // if the target is not iterable or it's an array with the default iterator - use a simple case
20882
- if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
20896
+ if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
20883
20897
  iterator = getIterator$1(O, iteratorMethod);
20884
20898
  next = iterator.next;
20885
20899
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -20889,7 +20903,7 @@
20889
20903
  }
20890
20904
  } else {
20891
20905
  length = lengthOfArrayLike(O);
20892
- result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
20906
+ result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
20893
20907
  for (;length > index; index++) {
20894
20908
  value = mapping ? mapfn(O[index], index) : O[index];
20895
20909
  createProperty(result, index, value);
@@ -20900,6 +20914,7 @@
20900
20914
  };
20901
20915
 
20902
20916
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
20917
+ var global$3 = global$U;
20903
20918
  var uncurryThis$2 = functionUncurryThis;
20904
20919
 
20905
20920
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -20916,7 +20931,7 @@
20916
20931
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
20917
20932
  var baseMinusTMin = base - tMin;
20918
20933
 
20919
- var $RangeError = RangeError;
20934
+ var RangeError = global$3.RangeError;
20920
20935
  var exec$1 = uncurryThis$2(regexSeparators.exec);
20921
20936
  var floor$1 = Math.floor;
20922
20937
  var fromCharCode = String.fromCharCode;
@@ -21031,7 +21046,7 @@
21031
21046
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
21032
21047
  var handledCPCountPlusOne = handledCPCount + 1;
21033
21048
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
21034
- throw $RangeError(OVERFLOW_ERROR);
21049
+ throw RangeError(OVERFLOW_ERROR);
21035
21050
  }
21036
21051
 
21037
21052
  delta += (m - n) * handledCPCountPlusOne;
@@ -21040,7 +21055,7 @@
21040
21055
  for (i = 0; i < input.length; i++) {
21041
21056
  currentValue = input[i];
21042
21057
  if (currentValue < n && ++delta > maxInt) {
21043
- throw $RangeError(OVERFLOW_ERROR);
21058
+ throw RangeError(OVERFLOW_ERROR);
21044
21059
  }
21045
21060
  if (currentValue == n) {
21046
21061
  // Represent delta as a generalized variable-length integer.
@@ -21090,7 +21105,7 @@
21090
21105
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
21091
21106
 
21092
21107
  var $$4 = _export;
21093
- var global$2 = global$s;
21108
+ var global$2 = global$U;
21094
21109
  var call$1 = functionCall;
21095
21110
  var uncurryThis$1 = functionUncurryThis;
21096
21111
  var DESCRIPTORS$1 = descriptors;
@@ -21452,7 +21467,7 @@
21452
21467
  };
21453
21468
 
21454
21469
  if (isCallable(nativeFetch)) {
21455
- $$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
21470
+ $$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
21456
21471
  fetch: function fetch(input /* , init */) {
21457
21472
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
21458
21473
  }
@@ -21468,7 +21483,7 @@
21468
21483
  RequestPrototype.constructor = RequestConstructor;
21469
21484
  RequestConstructor.prototype = RequestPrototype;
21470
21485
 
21471
- $$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
21486
+ $$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
21472
21487
  Request: RequestConstructor
21473
21488
  });
21474
21489
  }
@@ -21484,7 +21499,7 @@
21484
21499
  var $$3 = _export;
21485
21500
  var DESCRIPTORS = descriptors;
21486
21501
  var USE_NATIVE_URL = nativeUrl;
21487
- var global$1 = global$s;
21502
+ var global$1 = global$U;
21488
21503
  var bind = functionBindContext;
21489
21504
  var uncurryThis = functionUncurryThis;
21490
21505
  var defineBuiltIn = defineBuiltIn$b;
@@ -22662,7 +22677,7 @@
22662
22677
  return promise;
22663
22678
  }
22664
22679
 
22665
- var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
22680
+ var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
22666
22681
  const Input$2 = styled('input', {
22667
22682
  display: 'none !important'
22668
22683
  });
@@ -22980,7 +22995,7 @@
22980
22995
  upload({
22981
22996
  url: action,
22982
22997
  file: newFile,
22983
- customBody: customBodyRequest == null ? void 0 : customBodyRequest(newFile),
22998
+ customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
22984
22999
  token,
22985
23000
  tokenKey,
22986
23001
  reqKey,
@@ -23003,12 +23018,12 @@
23003
23018
  }
23004
23019
  }
23005
23020
 
23006
- onChange == null ? void 0 : (_onChange = onChange({
23021
+ onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
23007
23022
  fileList: arrProgress,
23008
23023
  file: fileProgress,
23009
23024
  indexReplace: indexReplace.current,
23010
23025
  isReplace: indexReplace.current !== null
23011
- })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
23026
+ })) === 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));
23012
23027
  }
23013
23028
  }).then(result => {
23014
23029
  var _onChange2, _onChange2$then;
@@ -23025,12 +23040,12 @@
23025
23040
  }
23026
23041
  }
23027
23042
 
23028
- onChange == null ? void 0 : (_onChange2 = onChange({
23043
+ onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
23029
23044
  fileList: arrSuccess,
23030
23045
  file: fileSuccess,
23031
23046
  indexReplace: indexReplace.current,
23032
23047
  isReplace: indexReplace.current !== null
23033
- })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
23048
+ })) === 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));
23034
23049
  }).catch(error => {
23035
23050
  var _onChange3, _onChange3$then;
23036
23051
 
@@ -23046,22 +23061,22 @@
23046
23061
  }
23047
23062
  }
23048
23063
 
23049
- onChange == null ? void 0 : (_onChange3 = onChange({
23064
+ onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
23050
23065
  fileList: arrError,
23051
23066
  file: fileError,
23052
23067
  indexReplace: indexReplace.current,
23053
23068
  isReplace: indexReplace.current !== null
23054
- })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
23069
+ })) === 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));
23055
23070
  });
23056
23071
  } else {
23057
23072
  var _onChange4, _onChange4$then;
23058
23073
 
23059
- onChange == null ? void 0 : (_onChange4 = onChange({
23074
+ onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
23060
23075
  fileList: arrFile,
23061
23076
  file: newFile,
23062
23077
  indexReplace: indexReplace.current,
23063
23078
  isReplace: indexReplace.current !== null
23064
- })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
23079
+ })) === 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));
23065
23080
  }
23066
23081
 
23067
23082
  if (indexReplace.current !== null) {
@@ -23086,24 +23101,24 @@
23086
23101
  // program to get the dimensions of an image
23087
23102
  const img = document.createElement('img');
23088
23103
  img.src = URL.createObjectURL(files[0]);
23089
- img.size = files == null ? void 0 : (_files$ = files[0]) == null ? void 0 : _files$.size;
23090
- img.type = files == null ? void 0 : (_files$2 = files[0]) == null ? void 0 : _files$2.type;
23104
+ img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
23105
+ img.type = files === null || files === void 0 ? void 0 : (_files$2 = files[0]) === null || _files$2 === void 0 ? void 0 : _files$2.type;
23091
23106
 
23092
23107
  img.onload = () => {
23093
23108
  var _onBeforeCrop, _onBeforeCrop$then;
23094
23109
 
23095
- onBeforeCrop == null ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) == null ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
23110
+ onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
23096
23111
  setError(null);
23097
23112
  toggleModal();
23098
23113
  setFileState(files[0]);
23099
23114
  setPreviewImage(URL.createObjectURL(files[0]));
23100
- })) == null ? void 0 : _onBeforeCrop$then.catch(error => setError(error == null ? void 0 : error.message));
23115
+ })) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
23101
23116
  };
23102
23117
 
23103
23118
  img.onerror = error => {
23104
23119
  var _onBeforeCrop2, _onBeforeCrop2$then;
23105
23120
 
23106
- onBeforeCrop == null ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) == null ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) == null ? void 0 : _onBeforeCrop2$then.catch(error => setError(error == null ? void 0 : error.message));
23121
+ onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) === null || _onBeforeCrop2 === void 0 ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) === null || _onBeforeCrop2$then === void 0 ? void 0 : _onBeforeCrop2$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
23107
23122
  };
23108
23123
  } else {
23109
23124
  toggleModal();
@@ -23115,15 +23130,15 @@
23115
23130
  }
23116
23131
 
23117
23132
  function handleCrop() {
23118
- if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
23133
+ if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
23119
23134
  imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
23120
- const sizeMB = (blob == null ? void 0 : blob.size) / 1024 / 1024;
23135
+ const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
23121
23136
 
23122
23137
  if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
23123
23138
  var _fileState$name;
23124
23139
 
23125
- const file = new File([blob], (fileState == null ? void 0 : (_fileState$name = fileState.name) == null ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
23126
- type: blob == null ? void 0 : blob.type
23140
+ const file = new File([blob], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name = fileState.name) === null || _fileState$name === void 0 ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
23141
+ type: blob === null || blob === void 0 ? void 0 : blob.type
23127
23142
  });
23128
23143
  handleUpload([file]);
23129
23144
  setCrop(null);
@@ -23138,17 +23153,17 @@
23138
23153
  }).then(compressedFile => {
23139
23154
  var _fileState$name2;
23140
23155
 
23141
- const file = new File([compressedFile], (fileState == null ? void 0 : (_fileState$name2 = fileState.name) == null ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
23142
- type: compressedFile == null ? void 0 : compressedFile.type
23156
+ const file = new File([compressedFile], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name2 = fileState.name) === null || _fileState$name2 === void 0 ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
23157
+ type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
23143
23158
  });
23144
23159
  handleUpload([file]);
23145
23160
  setCrop(null);
23146
23161
  setCompletedCrop(null);
23147
- }).catch(error => console.error(error == null ? void 0 : error.message));
23162
+ }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
23148
23163
  }
23149
23164
 
23150
23165
  toggleModal();
23151
- }).catch(error => console.error(error == null ? void 0 : error.message));
23166
+ }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
23152
23167
  } else {
23153
23168
  handleUpload([fileState]);
23154
23169
  toggleModal();
@@ -23179,7 +23194,7 @@
23179
23194
  const index = fileList.indexOf(file);
23180
23195
  const newFileList = fileList.slice();
23181
23196
  newFileList.splice(index, 1);
23182
- onChange == null ? void 0 : onChange({
23197
+ onChange === null || onChange === void 0 ? void 0 : onChange({
23183
23198
  fileList: newFileList,
23184
23199
  file
23185
23200
  });
@@ -23207,22 +23222,22 @@
23207
23222
  function handleOpenFile(file) {
23208
23223
  var _String, _file$name;
23209
23224
 
23210
- let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
23225
+ 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();
23211
23226
 
23212
23227
  if (extension === 'pdf') {
23213
- window.open(file == null ? void 0 : file.url);
23228
+ window.open(file === null || file === void 0 ? void 0 : file.url);
23214
23229
  } else {
23215
- request__default["default"].get(file == null ? void 0 : file.url).end((err, res) => {
23230
+ request__default["default"].get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
23216
23231
  if (err) {
23217
23232
  console.error(err.message);
23218
23233
  }
23219
23234
 
23220
- if (res && res != null && res.ok) {
23221
- const response = res == null ? void 0 : res.text;
23235
+ if (res && res !== null && res !== void 0 && res.ok) {
23236
+ const response = res === null || res === void 0 ? void 0 : res.text;
23222
23237
  const url = window.URL.createObjectURL(new Blob([response]));
23223
23238
  const link = document.createElement('a');
23224
23239
  link.href = url;
23225
- link.setAttribute('download', file == null ? void 0 : file.name);
23240
+ link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
23226
23241
  document.body.appendChild(link);
23227
23242
  link.click();
23228
23243
  document.body.removeChild(link);
@@ -23292,12 +23307,12 @@
23292
23307
  }
23293
23308
 
23294
23309
  const renderPicture = () => {
23295
- return fileList == null ? void 0 : fileList.map((item, index) => {
23296
- if ((item == null ? void 0 : item.status) === 'uploading') {
23310
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
23311
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23297
23312
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
23298
23313
  key: index,
23299
- progress: item == null ? void 0 : item.percent,
23300
- loading: item == null ? void 0 : item.loading,
23314
+ progress: item === null || item === void 0 ? void 0 : item.percent,
23315
+ loading: item === null || item === void 0 ? void 0 : item.loading,
23301
23316
  __self: undefined,
23302
23317
  __source: {
23303
23318
  fileName: _jsxFileName$9,
@@ -23372,14 +23387,14 @@
23372
23387
  };
23373
23388
 
23374
23389
  const renderFile = () => {
23375
- return fileList == null ? void 0 : fileList.map((item, index) => {
23390
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
23376
23391
  var _item$name;
23377
23392
 
23378
- if ((item == null ? void 0 : item.status) === 'uploading') {
23393
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23379
23394
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
23380
23395
  key: index,
23381
- progress: item == null ? void 0 : item.percent,
23382
- loading: item == null ? void 0 : item.loading,
23396
+ progress: item === null || item === void 0 ? void 0 : item.percent,
23397
+ loading: item === null || item === void 0 ? void 0 : item.loading,
23383
23398
  __self: undefined,
23384
23399
  __source: {
23385
23400
  fileName: _jsxFileName$9,
@@ -23446,7 +23461,7 @@
23446
23461
  lineNumber: 661,
23447
23462
  columnNumber: 17
23448
23463
  }
23449
- }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
23464
+ }, ".", 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, {
23450
23465
  label: item.name,
23451
23466
  __self: undefined,
23452
23467
  __source: {
@@ -23618,7 +23633,7 @@
23618
23633
  lineNumber: 736,
23619
23634
  columnNumber: 11
23620
23635
  }
23621
- }, children != null ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
23636
+ }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
23622
23637
  __self: this,
23623
23638
  __source: {
23624
23639
  fileName: _jsxFileName$9,
@@ -23652,7 +23667,7 @@
23652
23667
  lineNumber: 742,
23653
23668
  columnNumber: 17
23654
23669
  }
23655
- }, placeholder != null ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
23670
+ }, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
23656
23671
  __self: this,
23657
23672
  __source: {
23658
23673
  fileName: _jsxFileName$9,
@@ -23812,7 +23827,7 @@
23812
23827
 
23813
23828
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
23814
23829
  direction: "row",
23815
- gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23830
+ gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23816
23831
  wrap: "wrap",
23817
23832
  css: {
23818
23833
  userSelect: 'none'
@@ -23851,176 +23866,176 @@
23851
23866
  imageCompression: true
23852
23867
  };
23853
23868
  Upload.propTypes = {
23854
- /**
23855
- Placeholder label of upload.
23869
+ /**
23870
+ Placeholder label of upload.
23856
23871
  */
23857
23872
  placeholder: PropTypes__default["default"].string,
23858
23873
 
23859
- /**
23860
- Disabled state of upload.
23874
+ /**
23875
+ Disabled state of upload.
23861
23876
  */
23862
23877
  disabled: PropTypes__default["default"].bool,
23863
23878
 
23864
- /**
23865
- Built-in stylesheets, support for two types.
23879
+ /**
23880
+ Built-in stylesheets, support for two types.
23866
23881
  */
23867
23882
  listType: PropTypes__default["default"].oneOf(['file', 'picture']),
23868
23883
 
23869
- /**
23870
- Whether to support selected multiple file.
23884
+ /**
23885
+ Whether to support selected multiple file.
23871
23886
  */
23872
23887
  multiple: PropTypes__default["default"].bool,
23873
23888
 
23874
- /**
23875
- List of files to be uploaded.
23889
+ /**
23890
+ List of files to be uploaded.
23876
23891
  */
23877
23892
  fileList: PropTypes__default["default"].array,
23878
23893
 
23879
- /**
23880
- A callback function, can be executed when uploading state is changing.
23894
+ /**
23895
+ A callback function, can be executed when uploading state is changing.
23881
23896
  */
23882
23897
  onChange: PropTypes__default["default"].func,
23883
23898
 
23884
- /**
23885
- A callback function, can be executed when uploading in progress.
23886
- `(progress) => void`
23899
+ /**
23900
+ A callback function, can be executed when uploading in progress.
23901
+ `(progress) => void`
23887
23902
  */
23888
23903
  onProgress: PropTypes__default["default"].func,
23889
23904
 
23890
- /**
23891
- A callback function, can be executed when uploading is success.
23892
- `(response) => void`
23905
+ /**
23906
+ A callback function, can be executed when uploading is success.
23907
+ `(response) => void`
23893
23908
  */
23894
23909
  onSuccess: PropTypes__default["default"].func,
23895
23910
 
23896
- /**
23897
- A callback function, can be executed when uploading is error.
23898
- `(error, response) => void`
23911
+ /**
23912
+ A callback function, can be executed when uploading is error.
23913
+ `(error, response) => void`
23899
23914
  */
23900
23915
  onError: PropTypes__default["default"].func,
23901
23916
 
23902
- /**
23903
- A callback function, can be executed when preview icon in picture type is clicked.
23917
+ /**
23918
+ A callback function, can be executed when preview icon in picture type is clicked.
23904
23919
  */
23905
23920
  onPreview: PropTypes__default["default"].func,
23906
23921
 
23907
- /**
23908
- A callback function, can be executed when remove icon is clicked.
23922
+ /**
23923
+ A callback function, can be executed when remove icon is clicked.
23909
23924
  */
23910
23925
  onRemove: PropTypes__default["default"].func,
23911
23926
 
23912
- /**
23913
- A custom element inside upload container.
23927
+ /**
23928
+ A custom element inside upload container.
23914
23929
  */
23915
23930
  children: PropTypes__default["default"].element,
23916
23931
 
23917
- /**
23918
- Limit the number of uploaded files.
23932
+ /**
23933
+ Limit the number of uploaded files.
23919
23934
  */
23920
23935
  max: PropTypes__default["default"].number,
23921
23936
 
23922
- /**
23923
- Limit the maximum image size in MB.
23937
+ /**
23938
+ Limit the maximum image size in MB.
23924
23939
  */
23925
23940
  maxSizeMB: PropTypes__default["default"].number,
23926
23941
 
23927
- /**
23928
- Limit file type of upload.
23942
+ /**
23943
+ Limit file type of upload.
23929
23944
  */
23930
23945
  accept: PropTypes__default["default"].string,
23931
23946
 
23932
- /**
23933
- Custom label for replace button.
23947
+ /**
23948
+ Custom label for replace button.
23934
23949
  */
23935
23950
  replaceLabel: PropTypes__default["default"].string,
23936
23951
 
23937
- /**
23938
- Custom width of upload container.
23952
+ /**
23953
+ Custom width of upload container.
23939
23954
  */
23940
23955
  width: PropTypes__default["default"].number,
23941
23956
 
23942
- /**
23943
- Custom height of upload container.
23957
+ /**
23958
+ Custom height of upload container.
23944
23959
  */
23945
23960
  height: PropTypes__default["default"].number,
23946
23961
 
23947
- /**
23948
- Additional css.
23962
+ /**
23963
+ Additional css.
23949
23964
  */
23950
23965
  css: PropTypes__default["default"].object,
23951
23966
 
23952
- /**
23953
- Custom title header of cropper modal.
23967
+ /**
23968
+ Custom title header of cropper modal.
23954
23969
  */
23955
23970
  cropperTitle: PropTypes__default["default"].string,
23956
23971
 
23957
- /**
23958
- Add image cropper on upload.
23972
+ /**
23973
+ Add image cropper on upload.
23959
23974
  */
23960
23975
  showCropper: PropTypes__default["default"].bool,
23961
23976
 
23962
- /**
23963
- Hidden toggle aspect ratio image cropper.
23977
+ /**
23978
+ Hidden toggle aspect ratio image cropper.
23964
23979
  */
23965
23980
  hiddenToggleAspect: PropTypes__default["default"].bool,
23966
23981
 
23967
- /**
23968
- 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.
23982
+ /**
23983
+ 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.
23969
23984
  */
23970
23985
  ratio: PropTypes__default["default"].number,
23971
23986
 
23972
- /**
23973
- Can set error message to the upload.
23987
+ /**
23988
+ Can set error message to the upload.
23974
23989
  */
23975
23990
  errorMessage: PropTypes__default["default"].string,
23976
23991
 
23977
- /**
23978
- Progress of upload process.
23992
+ /**
23993
+ Progress of upload process.
23979
23994
  */
23980
23995
  progress: PropTypes__default["default"].number,
23981
23996
 
23982
- /**
23983
- Auto increment progress of upload process.
23997
+ /**
23998
+ Auto increment progress of upload process.
23984
23999
  */
23985
24000
  loading: PropTypes__default["default"].bool,
23986
24001
 
23987
- /**
23988
- API upload url, allows components to automatically upload directly to API service.
24002
+ /**
24003
+ API upload url, allows components to automatically upload directly to API service.
23989
24004
  */
23990
24005
  action: PropTypes__default["default"].string,
23991
24006
 
23992
- /**
23993
- Custom body request to upload action.
24007
+ /**
24008
+ Custom body request to upload action.
23994
24009
  */
23995
24010
  customBodyRequest: PropTypes__default["default"].func,
23996
24011
 
23997
- /**
23998
- Contains an authentication token for upload API.
24012
+ /**
24013
+ Contains an authentication token for upload API.
23999
24014
  */
24000
24015
  token: PropTypes__default["default"].string,
24001
24016
 
24002
- /**
24003
- Referencing the headers key to attach the token.
24017
+ /**
24018
+ Referencing the headers key to attach the token.
24004
24019
  */
24005
24020
  tokenKey: PropTypes__default["default"].string,
24006
24021
 
24007
- /**
24008
- Referencing the key to attach the file to be sent.
24022
+ /**
24023
+ Referencing the key to attach the file to be sent.
24009
24024
  */
24010
24025
  reqKey: PropTypes__default["default"].string,
24011
24026
 
24012
- /**
24013
- Referencing the key to get the file from the API response.
24027
+ /**
24028
+ Referencing the key to get the file from the API response.
24014
24029
  */
24015
24030
  resKey: PropTypes__default["default"].string,
24016
24031
 
24017
- /**
24018
- To compression image if file size > 1MB.
24032
+ /**
24033
+ To compression image if file size > 1MB.
24019
24034
  */
24020
24035
  imageCompression: PropTypes__default["default"].bool,
24021
24036
 
24022
- /**
24023
- Callback to handle before crop image.
24037
+ /**
24038
+ Callback to handle before crop image.
24024
24039
  */
24025
24040
  onBeforeCrop: PropTypes__default["default"].func
24026
24041
  };
@@ -24069,6 +24084,8 @@
24069
24084
  color: '$textPrimary',
24070
24085
  fontSize: 12,
24071
24086
  fontWeight: 400,
24087
+ overflowWrap: 'break-word',
24088
+ wordWrap: 'break-word',
24072
24089
  variants: {
24073
24090
  variant: {
24074
24091
  sms: {
@@ -24309,8 +24326,7 @@
24309
24326
  border: 'none',
24310
24327
  width: '100%',
24311
24328
  height: '100%',
24312
- overflow: 'hidden',
24313
- zIndex: 1
24329
+ zIndex: 3
24314
24330
  }
24315
24331
  }, {
24316
24332
  children: jsxRuntime.jsxs(Box, __assign({
@@ -24323,13 +24339,29 @@
24323
24339
  height: "100%",
24324
24340
  objectFit: props.typeDevice === 'android' ? 'fill' : 'cover',
24325
24341
  src: img$g,
24326
- alt: "whatsapp-preview"
24342
+ alt: "whatsapp-preview",
24343
+ css: {
24344
+ borderRadius: 8
24345
+ }
24327
24346
  }, void 0), jsxRuntime.jsx(Box, __assign({
24347
+ className: "mobile-scrollbar",
24328
24348
  css: {
24329
24349
  position: 'absolute',
24330
24350
  right: '5%',
24331
24351
  bottom: '12%',
24332
- left: '10%'
24352
+ left: '10%',
24353
+ top: '10%',
24354
+ overflow: 'auto',
24355
+ '&::-webkit-scrollbar': {
24356
+ width: 3
24357
+ },
24358
+ '&::-webkit-scrollbar-track': {
24359
+ boxShadow: 'inset 0 0 6px $gray200'
24360
+ },
24361
+ '&::-webkit-scrollbar-thumb': {
24362
+ backgroundColor: '$gray150',
24363
+ outline: '1px solid $gray150'
24364
+ }
24333
24365
  }
24334
24366
  }, {
24335
24367
  children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? jsxRuntime.jsx(CardMessage, __assign({
@@ -24445,7 +24477,9 @@
24445
24477
  css: {
24446
24478
  fontSize: 12,
24447
24479
  color: '$textPrimary',
24448
- lineHeight: '16px'
24480
+ lineHeight: '16px',
24481
+ overflowWrap: 'break-word',
24482
+ wordWrap: 'break-word'
24449
24483
  }
24450
24484
  }, {
24451
24485
  children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? content === null || content === void 0 ? void 0 : content.message : (_f = content === null || content === void 0 ? void 0 : content.message) === null || _f === void 0 ? void 0 : _f.call(content)
@@ -24544,7 +24578,9 @@
24544
24578
  css: {
24545
24579
  fontSize: 9,
24546
24580
  color: '$textSecondary',
24547
- lineHeight: '14px !important'
24581
+ lineHeight: '14px !important',
24582
+ overflowWrap: 'break-word',
24583
+ wordWrap: 'break-word'
24548
24584
  }
24549
24585
  }, {
24550
24586
  children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? content === null || content === void 0 ? void 0 : content.message : (_j = content === null || content === void 0 ? void 0 : content.message) === null || _j === void 0 ? void 0 : _j.call(content)
@@ -24588,7 +24624,7 @@
24588
24624
  style: {
24589
24625
  width: props.size ? props.size : undefined,
24590
24626
  position: 'relative',
24591
- zIndex: withComponent ? 1 : 2
24627
+ zIndex: withComponent || (props === null || props === void 0 ? void 0 : props.variant) === 'whatsapp' ? 1 : 2
24592
24628
  },
24593
24629
  src: properties.typeDevice,
24594
24630
  alt: "device-preview"
@@ -24639,7 +24675,7 @@
24639
24675
 
24640
24676
  Device.displayName = 'DevicePreview';
24641
24677
 
24642
- var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
24678
+ var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
24643
24679
  const Separator$1 = styled('div', {
24644
24680
  height: 20,
24645
24681
  width: 1,
@@ -24651,10 +24687,10 @@
24651
24687
  const [isPopover, setIsPopover] = React.useState(false);
24652
24688
 
24653
24689
  function getColor() {
24654
- const color = props == null ? void 0 : props.color;
24690
+ const color = props === null || props === void 0 ? void 0 : props.color;
24655
24691
 
24656
24692
  if (typeof color === 'string') {
24657
- return color == null ? void 0 : color.toUpperCase();
24693
+ return color === null || color === void 0 ? void 0 : color.toUpperCase();
24658
24694
  }
24659
24695
 
24660
24696
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -24751,28 +24787,28 @@
24751
24787
 
24752
24788
  InputColorPicker.displayName = 'InputColorPicker';
24753
24789
  InputColorPicker.propTypes = {
24754
- /**
24755
- Color code to be displayed.
24790
+ /**
24791
+ Color code to be displayed.
24756
24792
  */
24757
24793
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
24758
24794
 
24759
- /**
24760
- Additional color list.
24795
+ /**
24796
+ Additional color list.
24761
24797
  */
24762
24798
  presetColors: PropTypes__default["default"].array,
24763
24799
 
24764
- /**
24765
- Change event handler.
24800
+ /**
24801
+ Change event handler.
24766
24802
  */
24767
24803
  onChange: PropTypes__default["default"].func,
24768
24804
 
24769
- /**
24770
- Add preset color event handler.
24805
+ /**
24806
+ Add preset color event handler.
24771
24807
  */
24772
24808
  onAddColor: PropTypes__default["default"].func,
24773
24809
 
24774
- /**
24775
- Disable opacity selector.
24810
+ /**
24811
+ Disable opacity selector.
24776
24812
  */
24777
24813
  disableAlpha: PropTypes__default["default"].bool
24778
24814
  };
@@ -24782,7 +24818,7 @@
24782
24818
 
24783
24819
  var img$d = "data:image/gif;base64,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";
24784
24820
 
24785
- var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
24821
+ var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
24786
24822
  const Container$6 = styled('div', {
24787
24823
  userSelect: 'none',
24788
24824
  margin: 'auto',
@@ -26746,7 +26782,7 @@
26746
26782
  })));
26747
26783
  }
26748
26784
 
26749
- var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
26785
+ var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
26750
26786
  const CheckBoard = styled(Flex$1, {
26751
26787
  background: '$bgwhite',
26752
26788
  border: '1px solid #E5E7EB',
@@ -26947,7 +26983,7 @@
26947
26983
  }, "%")));
26948
26984
  }
26949
26985
 
26950
- var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
26986
+ var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
26951
26987
  const Container$5 = styled(Flex$1, {
26952
26988
  background: '$white',
26953
26989
  padding: 16,
@@ -27450,28 +27486,28 @@
27450
27486
  }
27451
27487
 
27452
27488
  ColorPicker.propTypes = {
27453
- /**
27454
- Color code to be displayed.
27489
+ /**
27490
+ Color code to be displayed.
27455
27491
  */
27456
27492
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
27457
27493
 
27458
- /**
27459
- Additional color list
27494
+ /**
27495
+ Additional color list
27460
27496
  */
27461
27497
  presetColors: PropTypes__default["default"].array,
27462
27498
 
27463
- /**
27464
- Change event handler
27499
+ /**
27500
+ Change event handler
27465
27501
  */
27466
27502
  onChange: PropTypes__default["default"].func,
27467
27503
 
27468
- /**
27469
- Add preset color event handler
27504
+ /**
27505
+ Add preset color event handler
27470
27506
  */
27471
27507
  onAddColor: PropTypes__default["default"].func,
27472
27508
 
27473
- /**
27474
- Disable opacity selector
27509
+ /**
27510
+ Disable opacity selector
27475
27511
  */
27476
27512
  disableAlpha: PropTypes__default["default"].bool
27477
27513
  };
@@ -27480,7 +27516,7 @@
27480
27516
  };
27481
27517
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
27482
27518
 
27483
- var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
27519
+ var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
27484
27520
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
27485
27521
  const Stepper = StepWizard__default["default"];
27486
27522
  Stepper.displayName = 'Stepper';
@@ -27626,9 +27662,9 @@
27626
27662
  lineNumber: 120,
27627
27663
  columnNumber: 30
27628
27664
  }
27629
- }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) == null ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) == null ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
27665
+ }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) === null || _data$title === void 0 ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
27630
27666
  align: "center",
27631
- label: (_data3 = data[i - 1]) == null ? void 0 : _data3.tooltipsContents,
27667
+ label: (_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.tooltipsContents,
27632
27668
  __self: undefined,
27633
27669
  __source: {
27634
27670
  fileName: _jsxFileName$4,
@@ -27647,9 +27683,9 @@
27647
27683
  lineNumber: 124,
27648
27684
  columnNumber: 19
27649
27685
  }
27650
- })), ((_data4 = data[i - 1]) == null ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27686
+ })), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27651
27687
  css: {
27652
- marginLeft: (_data5 = data[i - 1]) != null && _data5.withTolltip ? 0 : '$spacing-03'
27688
+ marginLeft: (_data5 = data[i - 1]) !== null && _data5 !== void 0 && _data5.withTolltip ? 0 : '$spacing-03'
27653
27689
  },
27654
27690
  align: "center",
27655
27691
  __self: undefined,
@@ -27701,7 +27737,7 @@
27701
27737
  height: 24,
27702
27738
  borderRadius: '$round',
27703
27739
  border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
27704
- backgroundColor: (_data6 = data[i - 1]) != null && _data6.disabled ? '$gray200' : '$white'
27740
+ backgroundColor: (_data6 = data[i - 1]) !== null && _data6 !== void 0 && _data6.disabled ? '$gray200' : '$white'
27705
27741
  },
27706
27742
  __self: undefined,
27707
27743
  __source: {
@@ -27719,10 +27755,10 @@
27719
27755
  lineNumber: 163,
27720
27756
  columnNumber: 15
27721
27757
  }
27722
- }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) == null ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) == null ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
27758
+ }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) === null || _data$title2 === void 0 ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) === null || _data8 === void 0 ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
27723
27759
  align: "center",
27724
27760
  withClick: true,
27725
- label: (_data9 = data[i - 1]) == null ? void 0 : _data9.tooltipsContents,
27761
+ label: (_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.tooltipsContents,
27726
27762
  __self: undefined,
27727
27763
  __source: {
27728
27764
  fileName: _jsxFileName$4,
@@ -27738,11 +27774,11 @@
27738
27774
  lineNumber: 168,
27739
27775
  columnNumber: 19
27740
27776
  }
27741
- })), isActive && ((_data10 = data[i - 1]) == null ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27777
+ })), isActive && ((_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27742
27778
  align: "center",
27743
27779
  justify: "center",
27744
27780
  css: {
27745
- marginTop: (_data11 = data[i - 1]) != null && _data11.withTolltip ? 0 : '$spacing-03'
27781
+ marginTop: (_data11 = data[i - 1]) !== null && _data11 !== void 0 && _data11.withTolltip ? 0 : '$spacing-03'
27746
27782
  },
27747
27783
  __self: undefined,
27748
27784
  __source: {
@@ -27824,7 +27860,9 @@
27824
27860
  }));
27825
27861
  }, [props.hide]);
27826
27862
  React.useEffect(() => {
27827
- props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
27863
+ var _props$onChangeVisibi;
27864
+
27865
+ props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
27828
27866
  }, [state.hide]);
27829
27867
 
27830
27868
  const toogleVisibility = value => {
@@ -27836,13 +27874,13 @@
27836
27874
  const getIsComplete = currentStep => {
27837
27875
  var _state$isComplete;
27838
27876
 
27839
- return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
27877
+ return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
27840
27878
  };
27841
27879
 
27842
27880
  const getTitleStep = currentStep => {
27843
27881
  var _props$navContents, _props$navContents2;
27844
27882
 
27845
- return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
27883
+ 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;
27846
27884
  };
27847
27885
 
27848
27886
  const setState = value => {
@@ -27884,15 +27922,15 @@
27884
27922
  });
27885
27923
  props.onStepChange && props.onStepChange(e);
27886
27924
 
27887
- if (props != null && (_props$navContents3 = props.navContents) != null && (_props$navContents4 = _props$navContents3[(e == null ? void 0 : e.activeStep) - 1]) != null && _props$navContents4.disabled) {
27888
- if ((e == null ? void 0 : e.activeStep) > (e == null ? void 0 : e.previousStep)) {
27925
+ if (props !== null && props !== void 0 && (_props$navContents3 = props.navContents) !== null && _props$navContents3 !== void 0 && (_props$navContents4 = _props$navContents3[(e === null || e === void 0 ? void 0 : e.activeStep) - 1]) !== null && _props$navContents4 !== void 0 && _props$navContents4.disabled) {
27926
+ if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
27889
27927
  var _state$SW;
27890
27928
 
27891
- state == null ? void 0 : (_state$SW = state.SW) == null ? void 0 : _state$SW.nextStep();
27929
+ state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
27892
27930
  } else {
27893
27931
  var _state$SW2;
27894
27932
 
27895
- state == null ? void 0 : (_state$SW2 = state.SW) == null ? void 0 : _state$SW2.previousStep();
27933
+ state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
27896
27934
  }
27897
27935
  }
27898
27936
  };
@@ -27908,11 +27946,11 @@
27908
27946
  }, /*#__PURE__*/React__default["default"].createElement(StepWizardContext.Provider, {
27909
27947
  value: {
27910
27948
  toogleVisibility,
27911
- isHide: state == null ? void 0 : state.hide,
27949
+ isHide: state === null || state === void 0 ? void 0 : state.hide,
27912
27950
  setComplete,
27913
27951
  setState,
27914
27952
  state,
27915
- SW: state == null ? void 0 : state.SW,
27953
+ SW: state === null || state === void 0 ? void 0 : state.SW,
27916
27954
  forbidClickNav: props.forbidClickNav,
27917
27955
  titles: props.titles,
27918
27956
  isMobile: props.isMobile,
@@ -27959,7 +27997,7 @@
27959
27997
  }), void 0);
27960
27998
  };
27961
27999
 
27962
- var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
28000
+ var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
27963
28001
 
27964
28002
  function Collapse({
27965
28003
  children,
@@ -28004,7 +28042,7 @@
28004
28042
  isOpen: false
28005
28043
  };
28006
28044
 
28007
- var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
28045
+ var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
28008
28046
  const DesktopContainer = styled(Flex$1, {
28009
28047
  display: 'none',
28010
28048
  '& .active-scroll-spy': {
@@ -28085,10 +28123,10 @@
28085
28123
  function getDatasets(content, activeId, isCollapse) {
28086
28124
  const datasets = [];
28087
28125
 
28088
- for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
28126
+ for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
28089
28127
  var _content$i;
28090
28128
 
28091
- if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
28129
+ if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
28092
28130
  datasets.unshift(content[i]);
28093
28131
  } else {
28094
28132
  datasets.push(content[i]);
@@ -28128,7 +28166,7 @@
28128
28166
  lineNumber: 99,
28129
28167
  columnNumber: 7
28130
28168
  }
28131
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
28169
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
28132
28170
  return /*#__PURE__*/React__default["default"].createElement(List, {
28133
28171
  key: index,
28134
28172
  __self: this,
@@ -28145,11 +28183,11 @@
28145
28183
  marginLeft: '-4px !important',
28146
28184
  borderLeftWidth: '4px !important',
28147
28185
  borderLeftStyle: 'solid !important',
28148
- borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
28186
+ borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
28149
28187
  paddingLeft: '16px !important',
28150
28188
  minHeight: 25
28151
28189
  },
28152
- "data-to-scrollspy-id": item == null ? void 0 : item.id,
28190
+ "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
28153
28191
  __self: this,
28154
28192
  __source: {
28155
28193
  fileName: _jsxFileName$2,
@@ -28158,8 +28196,8 @@
28158
28196
  }
28159
28197
  }, /*#__PURE__*/React__default["default"].createElement(Title$1, {
28160
28198
  className: "link-title",
28161
- active: (item == null ? void 0 : item.id) === activeId,
28162
- href: `#${item == null ? void 0 : item.id}`,
28199
+ active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
28200
+ href: `#${item === null || item === void 0 ? void 0 : item.id}`,
28163
28201
  onClick: e => {
28164
28202
  e.preventDefault();
28165
28203
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -28188,7 +28226,7 @@
28188
28226
  lineNumber: 117,
28189
28227
  columnNumber: 17
28190
28228
  }
28191
- }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
28229
+ }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
28192
28230
  })));
28193
28231
  }
28194
28232
 
@@ -28290,23 +28328,23 @@
28290
28328
  isDialog: false
28291
28329
  };
28292
28330
  TableOfContent.propTypes = {
28293
- /**
28294
- List of contents containing the title and id of a content.
28331
+ /**
28332
+ List of contents containing the title and id of a content.
28295
28333
  */
28296
28334
  content: PropTypes__default["default"].array,
28297
28335
 
28298
- /**
28299
- Components devoted to mobile viewing only.
28336
+ /**
28337
+ Components devoted to mobile viewing only.
28300
28338
  */
28301
28339
  isMobile: PropTypes__default["default"].bool,
28302
28340
 
28303
- /**
28304
- Condition when table of content is inside a component dialog.
28341
+ /**
28342
+ Condition when table of content is inside a component dialog.
28305
28343
  */
28306
28344
  isDialog: PropTypes__default["default"].bool,
28307
28345
 
28308
- /**
28309
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
28346
+ /**
28347
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
28310
28348
  */
28311
28349
  activeId: PropTypes__default["default"].string
28312
28350
  };
@@ -28326,7 +28364,7 @@
28326
28364
  useBoxMethod: true
28327
28365
  };
28328
28366
 
28329
- var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
28367
+ var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
28330
28368
 
28331
28369
  function Collapalse({
28332
28370
  children,
@@ -28451,7 +28489,8 @@
28451
28489
  var instance = props.instance,
28452
28490
  emptyDataMessage = props.emptyDataMessage,
28453
28491
  showCheckbox = props.showCheckbox,
28454
- customRows = props.customRows;
28492
+ customRows = props.customRows,
28493
+ onExpand = props.onExpand;
28455
28494
  var getTableProps = instance.getTableProps,
28456
28495
  getTableBodyProps = instance.getTableBodyProps,
28457
28496
  headerGroups = instance.headerGroups,
@@ -28534,6 +28573,7 @@
28534
28573
  }
28535
28574
 
28536
28575
  row.toggleRowExpanded(!row.isExpanded);
28576
+ onExpand === null || onExpand === void 0 ? void 0 : onExpand(!row.isExpanded);
28537
28577
  }
28538
28578
  }, {
28539
28579
  children: row.isExpanded ? jsxRuntime.jsx(icons.ChevronUpOutline, {}, void 0) : jsxRuntime.jsx(icons.ChevronDownOutline, {}, void 0)
@@ -28983,7 +29023,8 @@
28983
29023
  getCheckboxProps = props.getCheckboxProps,
28984
29024
  _a = props.keyId,
28985
29025
  keyId = _a === void 0 ? 'id' : _a,
28986
- selectedIds = props.selectedIds;
29026
+ selectedIds = props.selectedIds,
29027
+ onExpand = props.onExpand;
28987
29028
 
28988
29029
  var _b = React.useState(null),
28989
29030
  selectedIndex = _b[0],
@@ -29242,7 +29283,8 @@
29242
29283
  instance: instance,
29243
29284
  emptyDataMessage: emptyDataMessage,
29244
29285
  showCheckbox: showCheckbox,
29245
- customRows: customRows
29286
+ customRows: customRows,
29287
+ onExpand: onExpand
29246
29288
  }, void 0);
29247
29289
  }
29248
29290
 
@@ -31721,6 +31763,18 @@
31721
31763
  }), void 0);
31722
31764
  }
31723
31765
 
31766
+ var transform = keyframes({
31767
+ '100%': {
31768
+ transform: 'translateX(100%)'
31769
+ }
31770
+ });
31771
+ var SkeletonContainer = styled(Box, {
31772
+ '& .react-loading-skeleton::after': {
31773
+ animation: "1.5s infinite normal ".concat(transform, " !important"),
31774
+ animationTimingFunction: 'ease-in-out !important'
31775
+ }
31776
+ });
31777
+
31724
31778
  var StyledSkeleton = function StyledSkeleton(props) {
31725
31779
  var color = props.color,
31726
31780
  count = props.count,
@@ -31757,10 +31811,12 @@
31757
31811
  baseColor: getBaseColor(color),
31758
31812
  highlightColor: "#FAFAFA"
31759
31813
  }, {
31760
- children: jsxRuntime.jsx(ReactSkeleton__default["default"], {
31761
- height: getSize(size),
31762
- count: count,
31763
- circle: circle
31814
+ children: jsxRuntime.jsx(SkeletonContainer, {
31815
+ children: jsxRuntime.jsx(ReactSkeleton__default["default"], {
31816
+ height: getSize(size),
31817
+ count: count,
31818
+ circle: circle
31819
+ }, void 0)
31764
31820
  }, void 0)
31765
31821
  }), void 0);
31766
31822
  };
@@ -32122,7 +32178,7 @@
32122
32178
  }
32123
32179
  }
32124
32180
 
32125
- var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
32181
+ var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
32126
32182
  const StyledPaper = styled(Paper, {
32127
32183
  borderRadius: '10px 10px 0 0',
32128
32184
  padding: 15,