@majoo-ui/react 1.46.7 → 1.46.8-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.umd.js CHANGED
@@ -55,7 +55,7 @@
55
55
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
56
56
  var request__default = /*#__PURE__*/_interopDefaultLegacy(request);
57
57
 
58
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
58
+ var _jsxFileName$$ = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
59
59
 
60
60
  function ThemeProvider({
61
61
  theme,
@@ -84,7 +84,7 @@
84
84
  };
85
85
 
86
86
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
87
- var global$U =
87
+ var global$s =
88
88
  // eslint-disable-next-line es-x/no-global-this -- safe
89
89
  check(typeof globalThis == 'object' && globalThis) ||
90
90
  check(typeof window == 'object' && window) ||
@@ -178,31 +178,28 @@
178
178
  return stringSlice$b(toString$j(it), 8, -1);
179
179
  };
180
180
 
181
- var global$T = global$U;
182
181
  var uncurryThis$v = functionUncurryThis;
183
182
  var fails$p = fails$s;
184
183
  var classof$8 = classofRaw$1;
185
184
 
186
- var Object$5 = global$T.Object;
185
+ var $Object$4 = Object;
187
186
  var split$3 = uncurryThis$v(''.split);
188
187
 
189
188
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
190
189
  var indexedObject = fails$p(function () {
191
190
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
192
191
  // eslint-disable-next-line no-prototype-builtins -- safe
193
- return !Object$5('z').propertyIsEnumerable(0);
192
+ return !$Object$4('z').propertyIsEnumerable(0);
194
193
  }) ? function (it) {
195
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
196
- } : Object$5;
194
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
195
+ } : $Object$4;
197
196
 
198
- var global$S = global$U;
199
-
200
- var TypeError$j = global$S.TypeError;
197
+ var $TypeError$f = TypeError;
201
198
 
202
199
  // `RequireObjectCoercible` abstract operation
203
200
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
204
201
  var requireObjectCoercible$a = function (it) {
205
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
202
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
206
203
  return it;
207
204
  };
208
205
 
@@ -226,7 +223,7 @@
226
223
  return typeof it == 'object' ? it !== null : isCallable$o(it);
227
224
  };
228
225
 
229
- var global$R = global$U;
226
+ var global$r = global$s;
230
227
  var isCallable$n = isCallable$p;
231
228
 
232
229
  var aFunction = function (argument) {
@@ -234,7 +231,7 @@
234
231
  };
235
232
 
236
233
  var getBuiltIn$8 = function (namespace, method) {
237
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
234
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
238
235
  };
239
236
 
240
237
  var uncurryThis$u = functionUncurryThis;
@@ -245,11 +242,11 @@
245
242
 
246
243
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
247
244
 
248
- var global$Q = global$U;
245
+ var global$q = global$s;
249
246
  var userAgent$5 = engineUserAgent;
250
247
 
251
- var process$3 = global$Q.process;
252
- var Deno$1 = global$Q.Deno;
248
+ var process$3 = global$q.process;
249
+ var Deno$1 = global$q.Deno;
253
250
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
254
251
  var v8 = versions && versions.v8;
255
252
  var match, version;
@@ -296,43 +293,39 @@
296
293
  && !Symbol.sham
297
294
  && typeof Symbol.iterator == 'symbol';
298
295
 
299
- var global$P = global$U;
300
296
  var getBuiltIn$6 = getBuiltIn$8;
301
297
  var isCallable$m = isCallable$p;
302
298
  var isPrototypeOf$5 = objectIsPrototypeOf;
303
299
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
304
300
 
305
- var Object$4 = global$P.Object;
301
+ var $Object$3 = Object;
306
302
 
307
303
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
308
304
  return typeof it == 'symbol';
309
305
  } : function (it) {
310
306
  var $Symbol = getBuiltIn$6('Symbol');
311
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
307
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
312
308
  };
313
309
 
314
- var global$O = global$U;
315
-
316
- var String$6 = global$O.String;
310
+ var $String$4 = String;
317
311
 
318
- var tryToString$4 = function (argument) {
312
+ var tryToString$5 = function (argument) {
319
313
  try {
320
- return String$6(argument);
314
+ return $String$4(argument);
321
315
  } catch (error) {
322
316
  return 'Object';
323
317
  }
324
318
  };
325
319
 
326
- var global$N = global$U;
327
320
  var isCallable$l = isCallable$p;
328
- var tryToString$3 = tryToString$4;
321
+ var tryToString$4 = tryToString$5;
329
322
 
330
- var TypeError$i = global$N.TypeError;
323
+ var $TypeError$e = TypeError;
331
324
 
332
325
  // `Assert: IsCallable(argument) is true`
333
326
  var aCallable$9 = function (argument) {
334
327
  if (isCallable$l(argument)) return argument;
335
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
328
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
336
329
  };
337
330
 
338
331
  var aCallable$8 = aCallable$9;
@@ -344,12 +337,11 @@
344
337
  return func == null ? undefined : aCallable$8(func);
345
338
  };
346
339
 
347
- var global$M = global$U;
348
340
  var call$k = functionCall;
349
341
  var isCallable$k = isCallable$p;
350
342
  var isObject$c = isObject$d;
351
343
 
352
- var TypeError$h = global$M.TypeError;
344
+ var $TypeError$d = TypeError;
353
345
 
354
346
  // `OrdinaryToPrimitive` abstract operation
355
347
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -358,31 +350,31 @@
358
350
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$k(fn, input))) return val;
359
351
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$k(fn, input))) return val;
360
352
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$k(fn, input))) return val;
361
- throw TypeError$h("Can't convert object to primitive value");
353
+ throw $TypeError$d("Can't convert object to primitive value");
362
354
  };
363
355
 
364
356
  var shared$4 = {exports: {}};
365
357
 
366
358
  var isPure = false;
367
359
 
368
- var global$L = global$U;
360
+ var global$p = global$s;
369
361
 
370
362
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
371
- var defineProperty$7 = Object.defineProperty;
363
+ var defineProperty$8 = Object.defineProperty;
372
364
 
373
- var setGlobal$3 = function (key, value) {
365
+ var defineGlobalProperty$3 = function (key, value) {
374
366
  try {
375
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
367
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
376
368
  } catch (error) {
377
- global$L[key] = value;
369
+ global$p[key] = value;
378
370
  } return value;
379
371
  };
380
372
 
381
- var global$K = global$U;
382
- var setGlobal$2 = setGlobal$3;
373
+ var global$o = global$s;
374
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
383
375
 
384
376
  var SHARED = '__core-js_shared__';
385
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
377
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
386
378
 
387
379
  var sharedStore = store$3;
388
380
 
@@ -391,22 +383,21 @@
391
383
  (shared$4.exports = function (key, value) {
392
384
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
393
385
  })('versions', []).push({
394
- version: '3.22.5',
386
+ version: '3.23.3',
395
387
  mode: 'global',
396
388
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
397
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
389
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
398
390
  source: 'https://github.com/zloirock/core-js'
399
391
  });
400
392
 
401
- var global$J = global$U;
402
393
  var requireObjectCoercible$8 = requireObjectCoercible$a;
403
394
 
404
- var Object$3 = global$J.Object;
395
+ var $Object$2 = Object;
405
396
 
406
397
  // `ToObject` abstract operation
407
398
  // https://tc39.es/ecma262/#sec-toobject
408
399
  var toObject$7 = function (argument) {
409
- return Object$3(requireObjectCoercible$8(argument));
400
+ return $Object$2(requireObjectCoercible$8(argument));
410
401
  };
411
402
 
412
403
  var uncurryThis$t = functionUncurryThis;
@@ -431,7 +422,7 @@
431
422
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
432
423
  };
433
424
 
434
- var global$I = global$U;
425
+ var global$n = global$s;
435
426
  var shared$3 = shared$4.exports;
436
427
  var hasOwn$e = hasOwnProperty_1;
437
428
  var uid$1 = uid$2;
@@ -439,7 +430,7 @@
439
430
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
440
431
 
441
432
  var WellKnownSymbolsStore = shared$3('wks');
442
- var Symbol$7 = global$I.Symbol;
433
+ var Symbol$7 = global$n.Symbol;
443
434
  var symbolFor = Symbol$7 && Symbol$7['for'];
444
435
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
445
436
 
@@ -456,7 +447,6 @@
456
447
  } return WellKnownSymbolsStore[name];
457
448
  };
458
449
 
459
- var global$H = global$U;
460
450
  var call$j = functionCall;
461
451
  var isObject$b = isObject$d;
462
452
  var isSymbol$5 = isSymbol$6;
@@ -464,7 +454,7 @@
464
454
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
465
455
  var wellKnownSymbol$k = wellKnownSymbol$l;
466
456
 
467
- var TypeError$g = global$H.TypeError;
457
+ var $TypeError$c = TypeError;
468
458
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
469
459
 
470
460
  // `ToPrimitive` abstract operation
@@ -477,7 +467,7 @@
477
467
  if (pref === undefined) pref = 'default';
478
468
  result = call$j(exoticToPrim, input, pref);
479
469
  if (!isObject$b(result) || isSymbol$5(result)) return result;
480
- throw TypeError$g("Can't convert object to primitive value");
470
+ throw $TypeError$c("Can't convert object to primitive value");
481
471
  }
482
472
  if (pref === undefined) pref = 'number';
483
473
  return ordinaryToPrimitive(input, pref);
@@ -493,10 +483,10 @@
493
483
  return isSymbol$4(key) ? key : key + '';
494
484
  };
495
485
 
496
- var global$G = global$U;
486
+ var global$m = global$s;
497
487
  var isObject$a = isObject$d;
498
488
 
499
- var document$3 = global$G.document;
489
+ var document$3 = global$m.document;
500
490
  // typeof document.createElement is 'object' in old IE
501
491
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
502
492
 
@@ -554,26 +544,24 @@
554
544
  }).prototype != 42;
555
545
  });
556
546
 
557
- var global$F = global$U;
558
547
  var isObject$9 = isObject$d;
559
548
 
560
- var String$5 = global$F.String;
561
- var TypeError$f = global$F.TypeError;
549
+ var $String$3 = String;
550
+ var $TypeError$b = TypeError;
562
551
 
563
552
  // `Assert: Type(argument) is Object`
564
553
  var anObject$i = function (argument) {
565
554
  if (isObject$9(argument)) return argument;
566
- throw TypeError$f(String$5(argument) + ' is not an object');
555
+ throw $TypeError$b($String$3(argument) + ' is not an object');
567
556
  };
568
557
 
569
- var global$E = global$U;
570
558
  var DESCRIPTORS$b = descriptors;
571
559
  var IE8_DOM_DEFINE = ie8DomDefine;
572
560
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
573
561
  var anObject$h = anObject$i;
574
562
  var toPropertyKey$1 = toPropertyKey$3;
575
563
 
576
- var TypeError$e = global$E.TypeError;
564
+ var $TypeError$a = TypeError;
577
565
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
578
566
  var $defineProperty = Object.defineProperty;
579
567
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -606,7 +594,7 @@
606
594
  if (IE8_DOM_DEFINE) try {
607
595
  return $defineProperty(O, P, Attributes);
608
596
  } catch (error) { /* empty */ }
609
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
597
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
610
598
  if ('value' in Attributes) O[P] = Attributes.value;
611
599
  return O;
612
600
  };
@@ -615,7 +603,7 @@
615
603
  var definePropertyModule$5 = objectDefineProperty;
616
604
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
617
605
 
618
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
606
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
619
607
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
620
608
  } : function (object, key, value) {
621
609
  object[key] = value;
@@ -657,11 +645,11 @@
657
645
 
658
646
  var inspectSource$4 = store$1.inspectSource;
659
647
 
660
- var global$D = global$U;
648
+ var global$l = global$s;
661
649
  var isCallable$i = isCallable$p;
662
650
  var inspectSource$3 = inspectSource$4;
663
651
 
664
- var WeakMap$1 = global$D.WeakMap;
652
+ var WeakMap$1 = global$l.WeakMap;
665
653
 
666
654
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
667
655
 
@@ -677,18 +665,18 @@
677
665
  var hiddenKeys$4 = {};
678
666
 
679
667
  var NATIVE_WEAK_MAP = nativeWeakMap;
680
- var global$C = global$U;
668
+ var global$k = global$s;
681
669
  var uncurryThis$q = functionUncurryThis;
682
670
  var isObject$8 = isObject$d;
683
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
671
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
684
672
  var hasOwn$b = hasOwnProperty_1;
685
673
  var shared$1 = sharedStore;
686
674
  var sharedKey$2 = sharedKey$3;
687
675
  var hiddenKeys$3 = hiddenKeys$4;
688
676
 
689
677
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
690
- var TypeError$d = global$C.TypeError;
691
- var WeakMap = global$C.WeakMap;
678
+ var TypeError$4 = global$k.TypeError;
679
+ var WeakMap = global$k.WeakMap;
692
680
  var set$1, get$1, has;
693
681
 
694
682
  var enforce = function (it) {
@@ -699,7 +687,7 @@
699
687
  return function (it) {
700
688
  var state;
701
689
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
702
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
690
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
703
691
  } return state;
704
692
  };
705
693
  };
@@ -710,7 +698,7 @@
710
698
  var wmhas = uncurryThis$q(store.has);
711
699
  var wmset = uncurryThis$q(store.set);
712
700
  set$1 = function (it, metadata) {
713
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
701
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
714
702
  metadata.facade = it;
715
703
  wmset(store, it, metadata);
716
704
  return metadata;
@@ -725,9 +713,9 @@
725
713
  var STATE = sharedKey$2('state');
726
714
  hiddenKeys$3[STATE] = true;
727
715
  set$1 = function (it, metadata) {
728
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
716
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
729
717
  metadata.facade = it;
730
- createNonEnumerableProperty$6(it, STATE, metadata);
718
+ createNonEnumerableProperty$5(it, STATE, metadata);
731
719
  return metadata;
732
720
  };
733
721
  get$1 = function (it) {
@@ -757,10 +745,10 @@
757
745
  var enforceInternalState$1 = InternalStateModule$5.enforce;
758
746
  var getInternalState$3 = InternalStateModule$5.get;
759
747
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
760
- var defineProperty$6 = Object.defineProperty;
748
+ var defineProperty$7 = Object.defineProperty;
761
749
 
762
750
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$l(function () {
763
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
751
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
764
752
  });
765
753
 
766
754
  var TEMPLATE = String(String).split('String');
@@ -772,16 +760,18 @@
772
760
  if (options && options.getter) name = 'get ' + name;
773
761
  if (options && options.setter) name = 'set ' + name;
774
762
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
775
- defineProperty$6(value, 'name', { value: name, configurable: true });
763
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
764
+ else value.name = name;
776
765
  }
777
766
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
778
- defineProperty$6(value, 'length', { value: options.arity });
767
+ defineProperty$7(value, 'length', { value: options.arity });
779
768
  }
780
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
781
- if (DESCRIPTORS$8) try {
782
- defineProperty$6(value, 'prototype', { writable: false });
783
- } catch (error) { /* empty */ }
784
- } else value.prototype = undefined;
769
+ try {
770
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
771
+ if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
772
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
773
+ } else if (value.prototype) value.prototype = undefined;
774
+ } catch (error) { /* empty */ }
785
775
  var state = enforceInternalState$1(value);
786
776
  if (!hasOwn$a(state, 'source')) {
787
777
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -794,30 +784,32 @@
794
784
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
795
785
  }, 'toString');
796
786
 
797
- var global$B = global$U;
798
787
  var isCallable$g = isCallable$p;
799
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
788
+ var definePropertyModule$4 = objectDefineProperty;
800
789
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
801
- var setGlobal$1 = setGlobal$3;
790
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
802
791
 
803
792
  var defineBuiltIn$b = function (O, key, value, options) {
804
- var unsafe = options ? !!options.unsafe : false;
805
- var simple = options ? !!options.enumerable : false;
806
- var noTargetGet = options ? !!options.noTargetGet : false;
807
- var name = options && options.name !== undefined ? options.name : key;
793
+ if (!options) options = {};
794
+ var simple = options.enumerable;
795
+ var name = options.name !== undefined ? options.name : key;
808
796
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
809
- if (O === global$B) {
797
+ if (options.global) {
810
798
  if (simple) O[key] = value;
811
- else setGlobal$1(key, value);
812
- return O;
813
- } else if (!unsafe) {
814
- delete O[key];
815
- } else if (!noTargetGet && O[key]) {
816
- simple = true;
817
- }
818
- if (simple) O[key] = value;
819
- else createNonEnumerableProperty$5(O, key, value);
820
- return O;
799
+ else defineGlobalProperty$1(key, value);
800
+ } else {
801
+ try {
802
+ if (!options.unsafe) delete O[key];
803
+ else if (O[key]) simple = true;
804
+ } catch (error) { /* empty */ }
805
+ if (simple) O[key] = value;
806
+ else definePropertyModule$4.f(O, key, {
807
+ value: value,
808
+ enumerable: false,
809
+ configurable: !options.nonConfigurable,
810
+ writable: !options.nonWritable
811
+ });
812
+ } return O;
821
813
  };
822
814
 
823
815
  var objectGetOwnPropertyNames = {};
@@ -825,12 +817,22 @@
825
817
  var ceil = Math.ceil;
826
818
  var floor$5 = Math.floor;
827
819
 
820
+ // `Math.trunc` method
821
+ // https://tc39.es/ecma262/#sec-math.trunc
822
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
823
+ var mathTrunc = Math.trunc || function trunc(x) {
824
+ var n = +x;
825
+ return (n > 0 ? floor$5 : ceil)(n);
826
+ };
827
+
828
+ var trunc = mathTrunc;
829
+
828
830
  // `ToIntegerOrInfinity` abstract operation
829
831
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
830
832
  var toIntegerOrInfinity$6 = function (argument) {
831
833
  var number = +argument;
832
- // eslint-disable-next-line no-self-compare -- safe
833
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
834
+ // eslint-disable-next-line no-self-compare -- NaN check
835
+ return number !== number || number === 0 ? 0 : trunc(number);
834
836
  };
835
837
 
836
838
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -964,11 +966,11 @@
964
966
  var hasOwn$8 = hasOwnProperty_1;
965
967
  var ownKeys = ownKeys$1;
966
968
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
967
- var definePropertyModule$4 = objectDefineProperty;
969
+ var definePropertyModule$3 = objectDefineProperty;
968
970
 
969
971
  var copyConstructorProperties$2 = function (target, source, exceptions) {
970
972
  var keys = ownKeys(source);
971
- var defineProperty = definePropertyModule$4.f;
973
+ var defineProperty = definePropertyModule$3.f;
972
974
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
973
975
  for (var i = 0; i < keys.length; i++) {
974
976
  var key = keys[i];
@@ -1001,28 +1003,28 @@
1001
1003
 
1002
1004
  var isForced_1 = isForced$3;
1003
1005
 
1004
- var global$A = global$U;
1006
+ var global$j = global$s;
1005
1007
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1006
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1008
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
1007
1009
  var defineBuiltIn$a = defineBuiltIn$b;
1008
- var setGlobal = setGlobal$3;
1010
+ var defineGlobalProperty = defineGlobalProperty$3;
1009
1011
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1010
1012
  var isForced$2 = isForced_1;
1011
1013
 
1012
1014
  /*
1013
- options.target - name of the target object
1014
- options.global - target is the global object
1015
- options.stat - export as static methods of target
1016
- options.proto - export as prototype methods of target
1017
- options.real - real prototype method for the `pure` version
1018
- options.forced - export even if the native feature is available
1019
- options.bind - bind methods to the target, required for the `pure` version
1020
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1021
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1022
- options.sham - add a flag to not completely full polyfills
1023
- options.enumerable - export as enumerable property
1024
- options.noTargetGet - prevent calling a getter on target
1025
- options.name - the .name of the function if it does not match the key
1015
+ options.target - name of the target object
1016
+ options.global - target is the global object
1017
+ options.stat - export as static methods of target
1018
+ options.proto - export as prototype methods of target
1019
+ options.real - real prototype method for the `pure` version
1020
+ options.forced - export even if the native feature is available
1021
+ options.bind - bind methods to the target, required for the `pure` version
1022
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1023
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1024
+ options.sham - add a flag to not completely full polyfills
1025
+ options.enumerable - export as enumerable property
1026
+ options.dontCallGetSet - prevent calling a getter on target
1027
+ options.name - the .name of the function if it does not match the key
1026
1028
  */
1027
1029
  var _export = function (options, source) {
1028
1030
  var TARGET = options.target;
@@ -1030,15 +1032,15 @@
1030
1032
  var STATIC = options.stat;
1031
1033
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1032
1034
  if (GLOBAL) {
1033
- target = global$A;
1035
+ target = global$j;
1034
1036
  } else if (STATIC) {
1035
- target = global$A[TARGET] || setGlobal(TARGET, {});
1037
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1036
1038
  } else {
1037
- target = (global$A[TARGET] || {}).prototype;
1039
+ target = (global$j[TARGET] || {}).prototype;
1038
1040
  }
1039
1041
  if (target) for (key in source) {
1040
1042
  sourceProperty = source[key];
1041
- if (options.noTargetGet) {
1043
+ if (options.dontCallGetSet) {
1042
1044
  descriptor = getOwnPropertyDescriptor$3(target, key);
1043
1045
  targetProperty = descriptor && descriptor.value;
1044
1046
  } else targetProperty = target[key];
@@ -1079,17 +1081,17 @@
1079
1081
  // eslint-disable-next-line es-x/no-object-assign -- safe
1080
1082
  var $assign = Object.assign;
1081
1083
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1082
- var defineProperty$5 = Object.defineProperty;
1084
+ var defineProperty$6 = Object.defineProperty;
1083
1085
  var concat$1 = uncurryThis$n([].concat);
1084
1086
 
1085
1087
  // `Object.assign` method
1086
1088
  // https://tc39.es/ecma262/#sec-object.assign
1087
1089
  var objectAssign = !$assign || fails$j(function () {
1088
1090
  // should have correct order of operations (Edge bug)
1089
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1091
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1090
1092
  enumerable: true,
1091
1093
  get: function () {
1092
- defineProperty$5(this, 'b', {
1094
+ defineProperty$6(this, 'b', {
1093
1095
  value: 3,
1094
1096
  enumerable: false
1095
1097
  });
@@ -1477,7 +1479,7 @@
1477
1479
  };
1478
1480
 
1479
1481
  function _extends() {
1480
- _extends = Object.assign || function (target) {
1482
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
1481
1483
  for (var i = 1; i < arguments.length; i++) {
1482
1484
  var source = arguments[i];
1483
1485
 
@@ -1490,7 +1492,6 @@
1490
1492
 
1491
1493
  return target;
1492
1494
  };
1493
-
1494
1495
  return _extends.apply(this, arguments);
1495
1496
  }
1496
1497
 
@@ -1513,7 +1514,7 @@
1513
1514
 
1514
1515
  var DESCRIPTORS$6 = descriptors;
1515
1516
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1516
- var definePropertyModule$3 = objectDefineProperty;
1517
+ var definePropertyModule$2 = objectDefineProperty;
1517
1518
  var anObject$f = anObject$i;
1518
1519
  var toIndexedObject$1 = toIndexedObject$5;
1519
1520
  var objectKeys = objectKeys$2;
@@ -1528,7 +1529,7 @@
1528
1529
  var length = keys.length;
1529
1530
  var index = 0;
1530
1531
  var key;
1531
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1532
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1532
1533
  return O;
1533
1534
  };
1534
1535
 
@@ -1623,7 +1624,7 @@
1623
1624
 
1624
1625
  var wellKnownSymbol$j = wellKnownSymbol$l;
1625
1626
  var create$3 = objectCreate;
1626
- var definePropertyModule$2 = objectDefineProperty;
1627
+ var defineProperty$5 = objectDefineProperty.f;
1627
1628
 
1628
1629
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1629
1630
  var ArrayPrototype$1 = Array.prototype;
@@ -1631,7 +1632,7 @@
1631
1632
  // Array.prototype[@@unscopables]
1632
1633
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1633
1634
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1634
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1635
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1635
1636
  configurable: true,
1636
1637
  value: create$3(null)
1637
1638
  });
@@ -1653,7 +1654,6 @@
1653
1654
  return Object.getPrototypeOf(new F()) !== F.prototype;
1654
1655
  });
1655
1656
 
1656
- var global$z = global$U;
1657
1657
  var hasOwn$7 = hasOwnProperty_1;
1658
1658
  var isCallable$e = isCallable$p;
1659
1659
  var toObject$4 = toObject$7;
@@ -1661,18 +1661,19 @@
1661
1661
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1662
1662
 
1663
1663
  var IE_PROTO = sharedKey('IE_PROTO');
1664
- var Object$2 = global$z.Object;
1665
- var ObjectPrototype = Object$2.prototype;
1664
+ var $Object$1 = Object;
1665
+ var ObjectPrototype = $Object$1.prototype;
1666
1666
 
1667
1667
  // `Object.getPrototypeOf` method
1668
1668
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1669
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1669
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1670
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1670
1671
  var object = toObject$4(O);
1671
1672
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1672
1673
  var constructor = object.constructor;
1673
1674
  if (isCallable$e(constructor) && object instanceof constructor) {
1674
1675
  return constructor.prototype;
1675
- } return object instanceof Object$2 ? ObjectPrototype : null;
1676
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1676
1677
  };
1677
1678
 
1678
1679
  var fails$h = fails$s;
@@ -1749,15 +1750,14 @@
1749
1750
  return IteratorConstructor;
1750
1751
  };
1751
1752
 
1752
- var global$y = global$U;
1753
1753
  var isCallable$c = isCallable$p;
1754
1754
 
1755
- var String$4 = global$y.String;
1756
- var TypeError$c = global$y.TypeError;
1755
+ var $String$2 = String;
1756
+ var $TypeError$9 = TypeError;
1757
1757
 
1758
1758
  var aPossiblePrototype$1 = function (argument) {
1759
1759
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1760
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1760
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1761
1761
  };
1762
1762
 
1763
1763
  /* eslint-disable no-proto -- safe */
@@ -1797,7 +1797,7 @@
1797
1797
  var getPrototypeOf = objectGetPrototypeOf;
1798
1798
  var setPrototypeOf$2 = objectSetPrototypeOf;
1799
1799
  var setToStringTag$3 = setToStringTag$5;
1800
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1800
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1801
1801
  var defineBuiltIn$8 = defineBuiltIn$b;
1802
1802
  var wellKnownSymbol$g = wellKnownSymbol$l;
1803
1803
  var Iterators$3 = iterators;
@@ -1990,11 +1990,11 @@
1990
1990
 
1991
1991
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1992
1992
 
1993
- var global$x = global$U;
1993
+ var global$i = global$s;
1994
1994
  var DOMIterables = domIterables;
1995
1995
  var DOMTokenListPrototype = domTokenListPrototype;
1996
1996
  var ArrayIteratorMethods = es_array_iterator;
1997
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1997
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1998
1998
  var wellKnownSymbol$f = wellKnownSymbol$l;
1999
1999
 
2000
2000
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -2024,7 +2024,7 @@
2024
2024
  };
2025
2025
 
2026
2026
  for (var COLLECTION_NAME in DOMIterables) {
2027
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
2027
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
2028
2028
  }
2029
2029
 
2030
2030
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2038,14 +2038,13 @@
2038
2038
 
2039
2039
  var toStringTagSupport = String(test$1) === '[object z]';
2040
2040
 
2041
- var global$w = global$U;
2042
2041
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2043
2042
  var isCallable$a = isCallable$p;
2044
2043
  var classofRaw = classofRaw$1;
2045
2044
  var wellKnownSymbol$d = wellKnownSymbol$l;
2046
2045
 
2047
2046
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
2048
- var Object$1 = global$w.Object;
2047
+ var $Object = Object;
2049
2048
 
2050
2049
  // ES3 wrong here
2051
2050
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2062,26 +2061,25 @@
2062
2061
  var O, tag, result;
2063
2062
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2064
2063
  // @@toStringTag case
2065
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2064
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2066
2065
  // builtinTag case
2067
2066
  : CORRECT_ARGUMENTS ? classofRaw(O)
2068
2067
  // ES3 arguments fallback
2069
2068
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
2070
2069
  };
2071
2070
 
2072
- var global$v = global$U;
2073
2071
  var classof$6 = classof$7;
2074
2072
 
2075
- var String$3 = global$v.String;
2073
+ var $String$1 = String;
2076
2074
 
2077
2075
  var toString$h = function (argument) {
2078
2076
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2079
- return String$3(argument);
2077
+ return $String$1(argument);
2080
2078
  };
2081
2079
 
2082
2080
  var $$h = _export;
2083
2081
  var DESCRIPTORS$4 = descriptors;
2084
- var global$u = global$U;
2082
+ var global$h = global$s;
2085
2083
  var uncurryThis$l = functionUncurryThis;
2086
2084
  var hasOwn$5 = hasOwnProperty_1;
2087
2085
  var isCallable$9 = isCallable$p;
@@ -2090,7 +2088,7 @@
2090
2088
  var defineProperty$2 = objectDefineProperty.f;
2091
2089
  var copyConstructorProperties = copyConstructorProperties$2;
2092
2090
 
2093
- var NativeSymbol = global$u.Symbol;
2091
+ var NativeSymbol = global$h.Symbol;
2094
2092
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
2095
2093
 
2096
2094
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2170,14 +2168,13 @@
2170
2168
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2171
2169
  };
2172
2170
 
2173
- var global$t = global$U;
2174
2171
  var isRegExp$2 = isRegexp;
2175
2172
 
2176
- var TypeError$b = global$t.TypeError;
2173
+ var $TypeError$8 = TypeError;
2177
2174
 
2178
2175
  var notARegexp = function (it) {
2179
2176
  if (isRegExp$2(it)) {
2180
- throw TypeError$b("The method doesn't accept regular expressions");
2177
+ throw $TypeError$8("The method doesn't accept regular expressions");
2181
2178
  } return it;
2182
2179
  };
2183
2180
 
@@ -2350,8 +2347,8 @@
2350
2347
  Flex$1.displayName = 'Flex';
2351
2348
 
2352
2349
  const _excluded$z = ["children"],
2353
- _excluded2$2 = ["children"];
2354
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2350
+ _excluded2$1 = ["children"];
2351
+ var _jsxFileName$_ = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2355
2352
  const GridComponent = styled('div', {
2356
2353
  display: 'grid',
2357
2354
  variants: {
@@ -2580,7 +2577,7 @@
2580
2577
  let {
2581
2578
  children
2582
2579
  } = _ref2,
2583
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
2580
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2584
2581
 
2585
2582
  return /*#__PURE__*/React__default["default"].createElement(GridItemComponent, _extends({}, props, {
2586
2583
  css: Object.assign({}, props.css, {
@@ -2610,7 +2607,7 @@
2610
2607
  GridItem.displayName = 'Grid Item';
2611
2608
 
2612
2609
  const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
2613
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2610
+ var _jsxFileName$Z = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2614
2611
  const StyledDiv$3 = styled(Flex$1, {
2615
2612
  justifyContent: 'center',
2616
2613
  marginLeft: 'auto',
@@ -2928,7 +2925,7 @@
2928
2925
  });
2929
2926
 
2930
2927
  const _excluded$x = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2931
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2928
+ var _jsxFileName$Y = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2932
2929
  const TOAST_WIDTH = 576;
2933
2930
  const ANIMATION_DURATION = 400;
2934
2931
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3274,7 +3271,7 @@
3274
3271
 
3275
3272
  const ToastContext = /*#__PURE__*/React__namespace.createContext({});
3276
3273
 
3277
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3274
+ var _jsxFileName$X = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3278
3275
  const ToastBox = styled(Flex$1, {
3279
3276
  position: 'fixed',
3280
3277
  variants: {
@@ -3344,7 +3341,7 @@
3344
3341
  };
3345
3342
 
3346
3343
  const _excluded$w = ["id"];
3347
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3344
+ var _jsxFileName$W = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3348
3345
  let toastCount = 0;
3349
3346
 
3350
3347
  const ToastProvider = ({
@@ -3429,7 +3426,7 @@
3429
3426
  }));
3430
3427
  };
3431
3428
 
3432
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3429
+ var _jsxFileName$V = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3433
3430
 
3434
3431
  function MajooProvider({
3435
3432
  children,
@@ -3464,7 +3461,7 @@
3464
3461
  };
3465
3462
 
3466
3463
  const _excluded$v = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3467
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3464
+ var _jsxFileName$U = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3468
3465
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
3469
3466
  const StyledBanner = styled(Flex$1, {
3470
3467
  maxWidth: '100%',
@@ -3552,13 +3549,13 @@
3552
3549
  }
3553
3550
  }), props.children);
3554
3551
  BannerTitle.propTypes = {
3555
- /**
3556
- Additional styles of title
3552
+ /**
3553
+ Additional styles of title
3557
3554
  */
3558
3555
  css: PropTypes__default["default"].object,
3559
3556
 
3560
- /**
3561
- Title of the Banner to be displayed
3557
+ /**
3558
+ Title of the Banner to be displayed
3562
3559
  */
3563
3560
  children: PropTypes__default["default"].string
3564
3561
  };
@@ -3574,13 +3571,13 @@
3574
3571
  }
3575
3572
  }), props.children);
3576
3573
  BannerDescription.propTypes = {
3577
- /**
3578
- Additional styles of description
3574
+ /**
3575
+ Additional styles of description
3579
3576
  */
3580
3577
  css: PropTypes__default["default"].object,
3581
3578
 
3582
- /**
3583
- Description of the Banner to be displayed
3579
+ /**
3580
+ Description of the Banner to be displayed
3584
3581
  */
3585
3582
  children: PropTypes__default["default"].string
3586
3583
  };
@@ -3609,18 +3606,18 @@
3609
3606
  }
3610
3607
  }, children));
3611
3608
  BannerLink.propTypes = {
3612
- /**
3613
- The purpose of a clickable link, presented in url
3609
+ /**
3610
+ The purpose of a clickable link, presented in url
3614
3611
  */
3615
3612
  link: PropTypes__default["default"].string,
3616
3613
 
3617
- /**
3618
- Text of BannerLink to be displayed
3614
+ /**
3615
+ Text of BannerLink to be displayed
3619
3616
  */
3620
3617
  children: PropTypes__default["default"].string,
3621
3618
 
3622
- /**
3623
- Additional theme of BannerLink is presented by color variants
3619
+ /**
3620
+ Additional theme of BannerLink is presented by color variants
3624
3621
  */
3625
3622
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed'])
3626
3623
  };
@@ -3811,43 +3808,43 @@
3811
3808
  BannerTitle.displayName = 'BannerTitle';
3812
3809
  BannerDescription.displayName = 'BannerDescription';
3813
3810
  Banner.propTypes = {
3814
- /**
3815
- Title of banner to be displayed
3811
+ /**
3812
+ Title of banner to be displayed
3816
3813
  */
3817
3814
  title: PropTypes__default["default"].string,
3818
3815
 
3819
- /**
3820
- Description of banner to be displayed
3816
+ /**
3817
+ Description of banner to be displayed
3821
3818
  */
3822
3819
  description: PropTypes__default["default"].string,
3823
3820
 
3824
- /**
3825
- The banner theme is presented in color variants
3821
+ /**
3822
+ The banner theme is presented in color variants
3826
3823
  */
3827
3824
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed']),
3828
3825
 
3829
- /**
3830
- The purpose of a clickable link, presented in url
3826
+ /**
3827
+ The purpose of a clickable link, presented in url
3831
3828
  */
3832
3829
  link: PropTypes__default["default"].string,
3833
3830
 
3834
- /**
3835
- Text of button link to be displayed
3831
+ /**
3832
+ Text of button link to be displayed
3836
3833
  */
3837
3834
  linkText: PropTypes__default["default"].string,
3838
3835
 
3839
- /**
3840
- Clickable event handler
3836
+ /**
3837
+ Clickable event handler
3841
3838
  */
3842
3839
  onClick: PropTypes__default["default"].func,
3843
3840
 
3844
- /**
3845
- Closable event handler
3841
+ /**
3842
+ Closable event handler
3846
3843
  */
3847
3844
  onRemove: PropTypes__default["default"].func,
3848
3845
 
3849
- /**
3850
- Block type banner to display in full width
3846
+ /**
3847
+ Block type banner to display in full width
3851
3848
  */
3852
3849
  bannerBlock: PropTypes__default["default"].bool
3853
3850
  };
@@ -4114,7 +4111,7 @@
4114
4111
  });
4115
4112
 
4116
4113
  const _excluded$u = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4117
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4114
+ var _jsxFileName$T = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4118
4115
  const CardComponent = styled('div', {
4119
4116
  padding: '20px',
4120
4117
  height: 'auto',
@@ -4322,7 +4319,7 @@
4322
4319
  };
4323
4320
 
4324
4321
  const _excluded$t = ["children"];
4325
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4322
+ var _jsxFileName$S = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4326
4323
  const BreadcrumbStyle = styled('nav', {
4327
4324
  wordWrap: 'break-word',
4328
4325
  '& li+li:before': {
@@ -4596,7 +4593,7 @@
4596
4593
  Badge.displayName = 'Badge';
4597
4594
 
4598
4595
  const _excluded$s = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4599
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4596
+ var _jsxFileName$R = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4600
4597
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
4601
4598
  width: '32px',
4602
4599
  height: '32px',
@@ -4699,7 +4696,7 @@
4699
4696
  };
4700
4697
 
4701
4698
  const _excluded$r = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4702
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4699
+ var _jsxFileName$Q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4703
4700
  const ContainerFallback = styled(Flex$1, {
4704
4701
  boxSizing: 'border-box',
4705
4702
  border: '2px dashed #C0C4C4',
@@ -4796,58 +4793,58 @@
4796
4793
  }
4797
4794
  }
4798
4795
  Image.propTypes = {
4799
- /**
4800
- Additional className for img element.
4796
+ /**
4797
+ Additional className for img element.
4801
4798
  */
4802
4799
  className: PropTypes__default["default"].string,
4803
4800
 
4804
- /**
4805
- Which is used to specify the source of an image.
4801
+ /**
4802
+ Which is used to specify the source of an image.
4806
4803
  */
4807
4804
  src: PropTypes__default["default"].string,
4808
4805
 
4809
- /**
4810
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4806
+ /**
4807
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4811
4808
  */
4812
4809
  alt: PropTypes__default["default"].string,
4813
4810
 
4814
- /**
4815
- Additional css for img element.
4811
+ /**
4812
+ Additional css for img element.
4816
4813
  */
4817
4814
  css: PropTypes__default["default"].object,
4818
4815
 
4819
- /**
4820
- Additional css for default fallback element.
4816
+ /**
4817
+ Additional css for default fallback element.
4821
4818
  */
4822
4819
  cssFallback: PropTypes__default["default"].object,
4823
4820
 
4824
- /**
4825
- Custom width of img element.
4821
+ /**
4822
+ Custom width of img element.
4826
4823
  */
4827
4824
  width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4828
4825
 
4829
- /**
4830
- Custom height of img element.
4826
+ /**
4827
+ Custom height of img element.
4831
4828
  */
4832
4829
  height: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4833
4830
 
4834
- /**
4835
- Set image to circle.
4831
+ /**
4832
+ Set image to circle.
4836
4833
  */
4837
4834
  rounded: PropTypes__default["default"].bool,
4838
4835
 
4839
- /**
4840
- Used to specify how an <img> should be resized to fit its container.
4836
+ /**
4837
+ Used to specify how an <img> should be resized to fit its container.
4841
4838
  */
4842
4839
  objectFit: PropTypes__default["default"].string,
4843
4840
 
4844
- /**
4845
- Custom fallback if image url doesn't exist.
4841
+ /**
4842
+ Custom fallback if image url doesn't exist.
4846
4843
  */
4847
4844
  fallback: PropTypes__default["default"].string,
4848
4845
 
4849
- /**
4850
- Custom fallback title for default fallback.
4846
+ /**
4847
+ Custom fallback title for default fallback.
4851
4848
  */
4852
4849
  fallbackTitle: PropTypes__default["default"].string
4853
4850
  };
@@ -4857,7 +4854,7 @@
4857
4854
  };
4858
4855
 
4859
4856
  const _excluded$q = ["children", "label", "color", "css", "withClick", "side", "align"];
4860
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4857
+ var _jsxFileName$P = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4861
4858
  const slideUpAndFade$1 = keyframes({
4862
4859
  '0%': {
4863
4860
  opacity: 0,
@@ -5038,7 +5035,7 @@
5038
5035
  };
5039
5036
 
5040
5037
  const _excluded$p = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5041
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5038
+ var _jsxFileName$O = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5042
5039
  const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
5043
5040
  position: 'relative',
5044
5041
  overflow: 'hidden',
@@ -5209,7 +5206,7 @@
5209
5206
  };
5210
5207
 
5211
5208
  const _excluded$o = ["gap", "direction", "children"];
5212
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
5209
+ var _jsxFileName$N = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
5213
5210
 
5214
5211
  const FormGroup = _ref => {
5215
5212
  let {
@@ -5243,7 +5240,7 @@
5243
5240
  };
5244
5241
 
5245
5242
  const _excluded$n = ["children", "htmlFor", "variant", "tooltipLabel", "count", "maxCount", "labelCss"];
5246
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5243
+ var _jsxFileName$M = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5247
5244
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
5248
5245
  display: 'inline-block',
5249
5246
  fontSize: '$label',
@@ -5357,7 +5354,7 @@
5357
5354
  FormLabel.displayName = 'FormLabel';
5358
5355
 
5359
5356
  const _excluded$m = ["children", "error"];
5360
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5357
+ var _jsxFileName$L = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5361
5358
  const StyledHelper = styled(Text$1, {
5362
5359
  display: 'inline-block',
5363
5360
  color: '$textSecondary',
@@ -5395,7 +5392,7 @@
5395
5392
  };
5396
5393
  FormHelper.displayName = 'FormHelper';
5397
5394
 
5398
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5395
+ var _jsxFileName$K = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5399
5396
  const CheckboxContext = /*#__PURE__*/React.createContext();
5400
5397
 
5401
5398
  const CheckboxGroup = ({
@@ -5458,7 +5455,7 @@
5458
5455
  };
5459
5456
  CheckboxGroup.displayName = 'CheckboxGroup';
5460
5457
 
5461
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5458
+ var _jsxFileName$J = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5462
5459
 
5463
5460
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5464
5461
  xmlns: "http://www.w3.org/2000/svg",
@@ -5506,7 +5503,7 @@
5506
5503
  }
5507
5504
  }));
5508
5505
 
5509
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5506
+ var _jsxFileName$I = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5510
5507
 
5511
5508
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5512
5509
  xmlns: "http://www.w3.org/2000/svg",
@@ -5555,7 +5552,7 @@
5555
5552
  }));
5556
5553
 
5557
5554
  const _excluded$l = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5558
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5555
+ var _jsxFileName$H = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5559
5556
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
5560
5557
  alignItems: 'center',
5561
5558
  display: 'flex',
@@ -5620,7 +5617,7 @@
5620
5617
  const [isChecked, setChecked] = React.useState(false);
5621
5618
  React.useEffect(() => {
5622
5619
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5623
- setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5620
+ setChecked(checkValue != null ? checkValue : false);
5624
5621
  }, [checked, indeterminate, context]);
5625
5622
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, _extends({
5626
5623
  id: id,
@@ -5721,7 +5718,7 @@
5721
5718
  InputCheckbox.displayName = 'InputCheckbox';
5722
5719
 
5723
5720
  const _excluded$k = ["children", "size"];
5724
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5721
+ var _jsxFileName$G = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5725
5722
  const InputGroupStyle = styled('div', {
5726
5723
  display: 'flex',
5727
5724
  width: '100%',
@@ -5868,13 +5865,13 @@
5868
5865
  }));
5869
5866
  };
5870
5867
  InputGroup.propTypes = {
5871
- /**
5872
- Adjust Input Text Size
5868
+ /**
5869
+ Adjust Input Text Size
5873
5870
  */
5874
5871
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
5875
5872
 
5876
- /**
5877
- Children must be InputText, InputAddon, or InputPrefixes
5873
+ /**
5874
+ Children must be InputText, InputAddon, or InputPrefixes
5878
5875
  */
5879
5876
  children: PropTypes__default["default"].node.isRequired,
5880
5877
 
@@ -6007,8 +6004,8 @@
6007
6004
  children: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node])
6008
6005
  };
6009
6006
 
6010
- const _excluded$j = ["disabled"];
6011
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6007
+ const _excluded$j = ["disabled", "readOnly"];
6008
+ var _jsxFileName$F = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6012
6009
  const disabledStyle = {
6013
6010
  backgroundColor: '$formDisable',
6014
6011
  color: '$textDisable',
@@ -6079,7 +6076,7 @@
6079
6076
  isDisabled: {
6080
6077
  true: disabledStyle
6081
6078
  },
6082
- readOnly: {
6079
+ isReadOnly: {
6083
6080
  true: {
6084
6081
  backgroundColor: '$formDisable'
6085
6082
  }
@@ -6147,14 +6144,17 @@
6147
6144
  });
6148
6145
  const InputText = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
6149
6146
  let {
6150
- disabled
6147
+ disabled,
6148
+ readOnly
6151
6149
  } = _ref,
6152
6150
  props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6153
6151
 
6154
6152
  return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
6155
6153
  ref: ref,
6156
6154
  disabled: disabled,
6157
- isDisabled: disabled
6155
+ isDisabled: disabled,
6156
+ readOnly: readOnly,
6157
+ isReadOnly: readOnly
6158
6158
  }, props, {
6159
6159
  __self: undefined,
6160
6160
  __source: {
@@ -6166,7 +6166,9 @@
6166
6166
  });
6167
6167
  InputText.displayName = 'InputText';
6168
6168
 
6169
- const InputTextArea = styled(StyledInput, {
6169
+ const _excluded$i = ["disabled", "readOnly"];
6170
+ var _jsxFileName$E = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6171
+ const StyledTextArea = styled(StyledInput, {
6170
6172
  variants: {
6171
6173
  size: {
6172
6174
  sm: {
@@ -6181,6 +6183,28 @@
6181
6183
  size: 'lg'
6182
6184
  }
6183
6185
  });
6186
+ const InputTextArea = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
6187
+ let {
6188
+ disabled,
6189
+ readOnly
6190
+ } = _ref,
6191
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6192
+
6193
+ return /*#__PURE__*/React__default["default"].createElement(StyledTextArea, _extends({
6194
+ ref: ref,
6195
+ disabled: disabled,
6196
+ isDisabled: disabled,
6197
+ readOnly: readOnly,
6198
+ isReadOnly: readOnly
6199
+ }, props, {
6200
+ __self: undefined,
6201
+ __source: {
6202
+ fileName: _jsxFileName$E,
6203
+ lineNumber: 22,
6204
+ columnNumber: 3
6205
+ }
6206
+ }));
6207
+ });
6184
6208
  InputTextArea.defaultProps = {
6185
6209
  as: 'textarea',
6186
6210
  size: 'lg'
@@ -6188,21 +6212,21 @@
6188
6212
 
6189
6213
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
6190
6214
 
6191
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6215
+ var _jsxFileName$D = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6192
6216
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
6193
6217
  function InputRadioGroup(props) {
6194
6218
  return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6195
6219
  value: props,
6196
6220
  __self: this,
6197
6221
  __source: {
6198
- fileName: _jsxFileName$E,
6222
+ fileName: _jsxFileName$D,
6199
6223
  lineNumber: 13,
6200
6224
  columnNumber: 7
6201
6225
  }
6202
6226
  }, /*#__PURE__*/React__default["default"].createElement(RadioGroup, _extends({}, props, {
6203
6227
  __self: this,
6204
6228
  __source: {
6205
- fileName: _jsxFileName$E,
6229
+ fileName: _jsxFileName$D,
6206
6230
  lineNumber: 14,
6207
6231
  columnNumber: 9
6208
6232
  }
@@ -6220,8 +6244,8 @@
6220
6244
  };
6221
6245
  InputRadioGroup.displayName = 'InputRadioGroup';
6222
6246
 
6223
- const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps"];
6224
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6247
+ const _excluded$h = ["id", "disabled", "css", "inputType", "inputProps"];
6248
+ var _jsxFileName$C = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6225
6249
  const INDICATOR_BASE_STYLES = {
6226
6250
  alignItems: 'center',
6227
6251
  display: 'flex',
@@ -6337,7 +6361,7 @@
6337
6361
  inputType,
6338
6362
  inputProps
6339
6363
  } = _ref,
6340
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6364
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6341
6365
 
6342
6366
  function renderInputType(type, checked) {
6343
6367
  switch (type) {
@@ -6346,7 +6370,7 @@
6346
6370
  disabled: disabled || checked !== props.value,
6347
6371
  __self: this,
6348
6372
  __source: {
6349
- fileName: _jsxFileName$D,
6373
+ fileName: _jsxFileName$C,
6350
6374
  lineNumber: 124,
6351
6375
  columnNumber: 16
6352
6376
  }
@@ -6357,7 +6381,7 @@
6357
6381
  disabled: disabled || checked !== props.value,
6358
6382
  __self: this,
6359
6383
  __source: {
6360
- fileName: _jsxFileName$D,
6384
+ fileName: _jsxFileName$C,
6361
6385
  lineNumber: 127,
6362
6386
  columnNumber: 16
6363
6387
  }
@@ -6377,7 +6401,7 @@
6377
6401
  },
6378
6402
  __self: this,
6379
6403
  __source: {
6380
- fileName: _jsxFileName$D,
6404
+ fileName: _jsxFileName$C,
6381
6405
  lineNumber: 131,
6382
6406
  columnNumber: 11
6383
6407
  }
@@ -6388,7 +6412,7 @@
6388
6412
  return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
6389
6413
  __self: undefined,
6390
6414
  __source: {
6391
- fileName: _jsxFileName$D,
6415
+ fileName: _jsxFileName$C,
6392
6416
  lineNumber: 150,
6393
6417
  columnNumber: 5
6394
6418
  }
@@ -6397,7 +6421,7 @@
6397
6421
  value,
6398
6422
  outlined
6399
6423
  }) => {
6400
- const checked = value !== null && value !== void 0 ? value : defaultValue;
6424
+ const checked = value != null ? value : defaultValue;
6401
6425
  return /*#__PURE__*/React__default["default"].createElement(Container$5, {
6402
6426
  align: "center",
6403
6427
  gap: 4,
@@ -6407,7 +6431,7 @@
6407
6431
  css: css,
6408
6432
  __self: undefined,
6409
6433
  __source: {
6410
- fileName: _jsxFileName$D,
6434
+ fileName: _jsxFileName$C,
6411
6435
  lineNumber: 155,
6412
6436
  columnNumber: 11
6413
6437
  }
@@ -6417,14 +6441,14 @@
6417
6441
  }, props, {
6418
6442
  __self: undefined,
6419
6443
  __source: {
6420
- fileName: _jsxFileName$D,
6444
+ fileName: _jsxFileName$C,
6421
6445
  lineNumber: 163,
6422
6446
  columnNumber: 13
6423
6447
  }
6424
6448
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
6425
6449
  __self: undefined,
6426
6450
  __source: {
6427
- fileName: _jsxFileName$D,
6451
+ fileName: _jsxFileName$C,
6428
6452
  lineNumber: 164,
6429
6453
  columnNumber: 15
6430
6454
  }
@@ -6648,6 +6672,7 @@
6648
6672
  if (that.multiline) result += 'm';
6649
6673
  if (that.dotAll) result += 's';
6650
6674
  if (that.unicode) result += 'u';
6675
+ if (that.unicodeSets) result += 'v';
6651
6676
  if (that.sticky) result += 'y';
6652
6677
  return result;
6653
6678
  };
@@ -6666,10 +6691,10 @@
6666
6691
  };
6667
6692
 
6668
6693
  var fails$f = fails$s;
6669
- var global$s = global$U;
6694
+ var global$g = global$s;
6670
6695
 
6671
6696
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6672
- var $RegExp$2 = global$s.RegExp;
6697
+ var $RegExp$2 = global$g.RegExp;
6673
6698
 
6674
6699
  var UNSUPPORTED_Y$3 = fails$f(function () {
6675
6700
  var re = $RegExp$2('a', 'y');
@@ -6726,10 +6751,10 @@
6726
6751
  };
6727
6752
 
6728
6753
  var fails$e = fails$s;
6729
- var global$r = global$U;
6754
+ var global$f = global$s;
6730
6755
 
6731
6756
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6732
- var $RegExp$1 = global$r.RegExp;
6757
+ var $RegExp$1 = global$f.RegExp;
6733
6758
 
6734
6759
  var regexpUnsupportedDotAll = fails$e(function () {
6735
6760
  var re = $RegExp$1('.', 's');
@@ -6737,10 +6762,10 @@
6737
6762
  });
6738
6763
 
6739
6764
  var fails$d = fails$s;
6740
- var global$q = global$U;
6765
+ var global$e = global$s;
6741
6766
 
6742
6767
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6743
- var $RegExp = global$q.RegExp;
6768
+ var $RegExp = global$e.RegExp;
6744
6769
 
6745
6770
  var regexpUnsupportedNcg = fails$d(function () {
6746
6771
  var re = $RegExp('(?<a>b)', 'g');
@@ -6749,11 +6774,11 @@
6749
6774
  });
6750
6775
 
6751
6776
  var DESCRIPTORS$2 = descriptors;
6752
- var global$p = global$U;
6777
+ var global$d = global$s;
6753
6778
  var uncurryThis$j = functionUncurryThis;
6754
6779
  var isForced$1 = isForced_1;
6755
6780
  var inheritIfRequired = inheritIfRequired$1;
6756
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
6781
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
6757
6782
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
6758
6783
  var isPrototypeOf$2 = objectIsPrototypeOf;
6759
6784
  var isRegExp$1 = isRegexp;
@@ -6771,9 +6796,9 @@
6771
6796
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
6772
6797
 
6773
6798
  var MATCH = wellKnownSymbol$9('match');
6774
- var NativeRegExp = global$p.RegExp;
6799
+ var NativeRegExp = global$d.RegExp;
6775
6800
  var RegExpPrototype$2 = NativeRegExp.prototype;
6776
- var SyntaxError = global$p.SyntaxError;
6801
+ var SyntaxError = global$d.SyntaxError;
6777
6802
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
6778
6803
  var charAt$8 = uncurryThis$j(''.charAt);
6779
6804
  var replace$6 = uncurryThis$j(''.replace);
@@ -6933,7 +6958,7 @@
6933
6958
 
6934
6959
  RegExpPrototype$2.constructor = RegExpWrapper;
6935
6960
  RegExpWrapper.prototype = RegExpPrototype$2;
6936
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
6961
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
6937
6962
  }
6938
6963
 
6939
6964
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7091,8 +7116,8 @@
7091
7116
  }, { unsafe: true });
7092
7117
  }
7093
7118
 
7094
- const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7095
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7119
+ const _excluded$g = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7120
+ var _jsxFileName$B = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7096
7121
  const TagWrapper$3 = styled('div', {
7097
7122
  boxSizing: 'border-box',
7098
7123
  listStyle: 'none',
@@ -7196,7 +7221,7 @@
7196
7221
  onRemove,
7197
7222
  readOnly
7198
7223
  } = _ref,
7199
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
7224
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7200
7225
 
7201
7226
  return /*#__PURE__*/React__default["default"].createElement(TagWrapper$3, _extends({
7202
7227
  ref: ref,
@@ -7209,21 +7234,21 @@
7209
7234
  }, props, {
7210
7235
  __self: undefined,
7211
7236
  __source: {
7212
- fileName: _jsxFileName$C,
7237
+ fileName: _jsxFileName$B,
7213
7238
  lineNumber: 84,
7214
7239
  columnNumber: 7
7215
7240
  }
7216
7241
  }), icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledIconLeft$2, {
7217
7242
  __self: undefined,
7218
7243
  __source: {
7219
- fileName: _jsxFileName$C,
7244
+ fileName: _jsxFileName$B,
7220
7245
  lineNumber: 94,
7221
7246
  columnNumber: 31
7222
7247
  }
7223
7248
  }, icon) : null, /*#__PURE__*/React__default["default"].createElement(TagComponent$1, {
7224
7249
  __self: undefined,
7225
7250
  __source: {
7226
- fileName: _jsxFileName$C,
7251
+ fileName: _jsxFileName$B,
7227
7252
  lineNumber: 95,
7228
7253
  columnNumber: 9
7229
7254
  }
@@ -7233,7 +7258,7 @@
7233
7258
  readOnly: readOnly,
7234
7259
  __self: undefined,
7235
7260
  __source: {
7236
- fileName: _jsxFileName$C,
7261
+ fileName: _jsxFileName$B,
7237
7262
  lineNumber: 97,
7238
7263
  columnNumber: 11
7239
7264
  }
@@ -7245,7 +7270,7 @@
7245
7270
  },
7246
7271
  __self: undefined,
7247
7272
  __source: {
7248
- fileName: _jsxFileName$C,
7273
+ fileName: _jsxFileName$B,
7249
7274
  lineNumber: 98,
7250
7275
  columnNumber: 13
7251
7276
  }
@@ -7268,8 +7293,8 @@
7268
7293
  readOnly: false
7269
7294
  };
7270
7295
 
7271
- const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern"];
7272
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7296
+ const _excluded$f = ["size", "isInvalid", "placeholder", "onChange", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern"];
7297
+ var _jsxFileName$A = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7273
7298
  const Wrapper$2 = styled('div', {
7274
7299
  margin: 0,
7275
7300
  flexDirection: 'column',
@@ -7387,7 +7412,7 @@
7387
7412
  maxChar,
7388
7413
  pattern
7389
7414
  } = _ref,
7390
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
7415
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7391
7416
 
7392
7417
  const [tags, setTags] = React__default["default"].useState(value);
7393
7418
  const [regexError, setRegexError] = React__default["default"].useState(false);
@@ -7438,7 +7463,7 @@
7438
7463
  return /*#__PURE__*/React__default["default"].createElement(Wrapper$2, {
7439
7464
  __self: this,
7440
7465
  __source: {
7441
- fileName: _jsxFileName$B,
7466
+ fileName: _jsxFileName$A,
7442
7467
  lineNumber: 163,
7443
7468
  columnNumber: 5
7444
7469
  }
@@ -7451,7 +7476,7 @@
7451
7476
  }, props, {
7452
7477
  __self: this,
7453
7478
  __source: {
7454
- fileName: _jsxFileName$B,
7479
+ fileName: _jsxFileName$A,
7455
7480
  lineNumber: 164,
7456
7481
  columnNumber: 7
7457
7482
  }
@@ -7466,7 +7491,7 @@
7466
7491
  ,
7467
7492
  __self: this,
7468
7493
  __source: {
7469
- fileName: _jsxFileName$B,
7494
+ fileName: _jsxFileName$A,
7470
7495
  lineNumber: 172,
7471
7496
  columnNumber: 9
7472
7497
  }
@@ -7474,7 +7499,7 @@
7474
7499
  color: "red",
7475
7500
  __self: this,
7476
7501
  __source: {
7477
- fileName: _jsxFileName$B,
7502
+ fileName: _jsxFileName$A,
7478
7503
  lineNumber: 186,
7479
7504
  columnNumber: 11
7480
7505
  }
@@ -7482,14 +7507,14 @@
7482
7507
  color: "red",
7483
7508
  __self: this,
7484
7509
  __source: {
7485
- fileName: _jsxFileName$B,
7510
+ fileName: _jsxFileName$A,
7486
7511
  lineNumber: 188,
7487
7512
  columnNumber: 11
7488
7513
  }
7489
7514
  }, "Invalid Input")), /*#__PURE__*/React__default["default"].createElement(TagWrapper$2, {
7490
7515
  __self: this,
7491
7516
  __source: {
7492
- fileName: _jsxFileName$B,
7517
+ fileName: _jsxFileName$A,
7493
7518
  lineNumber: 191,
7494
7519
  columnNumber: 7
7495
7520
  }
@@ -7502,7 +7527,7 @@
7502
7527
  onRemove: () => removeTags(index, 'removeTag'),
7503
7528
  __self: this,
7504
7529
  __source: {
7505
- fileName: _jsxFileName$B,
7530
+ fileName: _jsxFileName$A,
7506
7531
  lineNumber: 193,
7507
7532
  columnNumber: 11
7508
7533
  }
@@ -7532,8 +7557,8 @@
7532
7557
  readOnly: false
7533
7558
  };
7534
7559
 
7535
- const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7536
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7560
+ const _excluded$e = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7561
+ var _jsxFileName$z = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7537
7562
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
7538
7563
  display: 'block',
7539
7564
  width: '16px',
@@ -7605,7 +7630,7 @@
7605
7630
  dataOffLabel,
7606
7631
  disabled
7607
7632
  } = _ref,
7608
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
7633
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7609
7634
 
7610
7635
  return /*#__PURE__*/React__default["default"].createElement(StyledSwitch, _extends({
7611
7636
  defaultChecked: defaultChecked,
@@ -7616,14 +7641,14 @@
7616
7641
  }, props, {
7617
7642
  __self: undefined,
7618
7643
  __source: {
7619
- fileName: _jsxFileName$A,
7644
+ fileName: _jsxFileName$z,
7620
7645
  lineNumber: 66,
7621
7646
  columnNumber: 3
7622
7647
  }
7623
7648
  }), /*#__PURE__*/React__default["default"].createElement(StyledThumb$1, {
7624
7649
  __self: undefined,
7625
7650
  __source: {
7626
- fileName: _jsxFileName$A,
7651
+ fileName: _jsxFileName$z,
7627
7652
  lineNumber: 74,
7628
7653
  columnNumber: 5
7629
7654
  }
@@ -7641,7 +7666,7 @@
7641
7666
  };
7642
7667
  InputSwitch.displayName = 'InputSwitch';
7643
7668
 
7644
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7669
+ var _jsxFileName$y = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7645
7670
 
7646
7671
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7647
7672
  width: props.size,
@@ -7651,7 +7676,7 @@
7651
7676
  }, props, {
7652
7677
  __self: undefined,
7653
7678
  __source: {
7654
- fileName: _jsxFileName$z,
7679
+ fileName: _jsxFileName$y,
7655
7680
  lineNumber: 4,
7656
7681
  columnNumber: 3
7657
7682
  }
@@ -7660,7 +7685,7 @@
7660
7685
  fill: "white",
7661
7686
  __self: undefined,
7662
7687
  __source: {
7663
- fileName: _jsxFileName$z,
7688
+ fileName: _jsxFileName$y,
7664
7689
  lineNumber: 5,
7665
7690
  columnNumber: 5
7666
7691
  }
@@ -7670,7 +7695,7 @@
7670
7695
  d: "M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM8.54289 8.54289C8.93342 8.15237 9.56658 8.15237 9.95711 8.54289L12 10.5858L14.0429 8.54289C14.4334 8.15237 15.0666 8.15237 15.4571 8.54289C15.8476 8.93342 15.8476 9.56658 15.4571 9.95711L13.4142 12L15.4571 14.0429C15.8476 14.4334 15.8476 15.0666 15.4571 15.4571C15.0666 15.8476 14.4334 15.8476 14.0429 15.4571L12 13.4142L9.95711 15.4571C9.56658 15.8476 8.93342 15.8476 8.54289 15.4571C8.15237 15.0666 8.15237 14.4334 8.54289 14.0429L10.5858 12L8.54289 9.95711C8.15237 9.56658 8.15237 8.93342 8.54289 8.54289Z",
7671
7696
  __self: undefined,
7672
7697
  __source: {
7673
- fileName: _jsxFileName$z,
7698
+ fileName: _jsxFileName$y,
7674
7699
  lineNumber: 6,
7675
7700
  columnNumber: 7
7676
7701
  }
@@ -7681,7 +7706,7 @@
7681
7706
  fill: props.color,
7682
7707
  __self: undefined,
7683
7708
  __source: {
7684
- fileName: _jsxFileName$z,
7709
+ fileName: _jsxFileName$y,
7685
7710
  lineNumber: 12,
7686
7711
  columnNumber: 5
7687
7712
  }
@@ -7691,7 +7716,7 @@
7691
7716
  mask: "url(#path-1-inside-1_2883_7918)",
7692
7717
  __self: undefined,
7693
7718
  __source: {
7694
- fileName: _jsxFileName$z,
7719
+ fileName: _jsxFileName$y,
7695
7720
  lineNumber: 18,
7696
7721
  columnNumber: 5
7697
7722
  }
@@ -7702,7 +7727,7 @@
7702
7727
  size: 24
7703
7728
  };
7704
7729
 
7705
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7730
+ var _jsxFileName$x = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7706
7731
 
7707
7732
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7708
7733
  width: props.size,
@@ -7712,7 +7737,7 @@
7712
7737
  }, props, {
7713
7738
  __self: undefined,
7714
7739
  __source: {
7715
- fileName: _jsxFileName$y,
7740
+ fileName: _jsxFileName$x,
7716
7741
  lineNumber: 4,
7717
7742
  columnNumber: 3
7718
7743
  }
@@ -7724,7 +7749,7 @@
7724
7749
  strokeWidth: 2,
7725
7750
  __self: undefined,
7726
7751
  __source: {
7727
- fileName: _jsxFileName$y,
7752
+ fileName: _jsxFileName$x,
7728
7753
  lineNumber: 5,
7729
7754
  columnNumber: 5
7730
7755
  }
@@ -7733,7 +7758,7 @@
7733
7758
  fill: props.color,
7734
7759
  __self: undefined,
7735
7760
  __source: {
7736
- fileName: _jsxFileName$y,
7761
+ fileName: _jsxFileName$x,
7737
7762
  lineNumber: 6,
7738
7763
  columnNumber: 5
7739
7764
  }
@@ -7744,8 +7769,8 @@
7744
7769
  size: 24
7745
7770
  };
7746
7771
 
7747
- const _excluded$e = ["size", "onChange", "css", "disabled"];
7748
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7772
+ const _excluded$d = ["size", "onChange", "css", "disabled"];
7773
+ var _jsxFileName$w = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7749
7774
 
7750
7775
  const InputSearchbox = _ref => {
7751
7776
  let {
@@ -7754,7 +7779,7 @@
7754
7779
  css,
7755
7780
  disabled
7756
7781
  } = _ref,
7757
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7782
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7758
7783
 
7759
7784
  const [value, setValue] = React__default["default"].useState('');
7760
7785
  const handleChange = React__default["default"].useCallback(e => {
@@ -7780,7 +7805,7 @@
7780
7805
  disabled: disabled,
7781
7806
  __self: undefined,
7782
7807
  __source: {
7783
- fileName: _jsxFileName$x,
7808
+ fileName: _jsxFileName$w,
7784
7809
  lineNumber: 30,
7785
7810
  columnNumber: 5
7786
7811
  }
@@ -7788,14 +7813,14 @@
7788
7813
  children: /*#__PURE__*/React__default["default"].createElement(SvgSearchOutline, {
7789
7814
  __self: undefined,
7790
7815
  __source: {
7791
- fileName: _jsxFileName$x,
7816
+ fileName: _jsxFileName$w,
7792
7817
  lineNumber: 31,
7793
7818
  columnNumber: 35
7794
7819
  }
7795
7820
  }),
7796
7821
  __self: undefined,
7797
7822
  __source: {
7798
- fileName: _jsxFileName$x,
7823
+ fileName: _jsxFileName$w,
7799
7824
  lineNumber: 31,
7800
7825
  columnNumber: 7
7801
7826
  }
@@ -7809,7 +7834,7 @@
7809
7834
  }, props, {
7810
7835
  __self: undefined,
7811
7836
  __source: {
7812
- fileName: _jsxFileName$x,
7837
+ fileName: _jsxFileName$w,
7813
7838
  lineNumber: 32,
7814
7839
  columnNumber: 7
7815
7840
  }
@@ -7817,14 +7842,14 @@
7817
7842
  children: value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(SvgCloseFilled, {
7818
7843
  __self: undefined,
7819
7844
  __source: {
7820
- fileName: _jsxFileName$x,
7845
+ fileName: _jsxFileName$w,
7821
7846
  lineNumber: 41,
7822
7847
  columnNumber: 55
7823
7848
  }
7824
7849
  }) : /*#__PURE__*/React__default["default"].createElement("div", {
7825
7850
  __self: undefined,
7826
7851
  __source: {
7827
- fileName: _jsxFileName$x,
7852
+ fileName: _jsxFileName$w,
7828
7853
  lineNumber: 41,
7829
7854
  columnNumber: 73
7830
7855
  }
@@ -7832,7 +7857,7 @@
7832
7857
  onClick: handleClearButtonClick,
7833
7858
  __self: undefined,
7834
7859
  __source: {
7835
- fileName: _jsxFileName$x,
7860
+ fileName: _jsxFileName$w,
7836
7861
  lineNumber: 41,
7837
7862
  columnNumber: 7
7838
7863
  }
@@ -7860,7 +7885,7 @@
7860
7885
  var regexpExec$2 = regexpExec$3;
7861
7886
  var fails$a = fails$s;
7862
7887
  var wellKnownSymbol$8 = wellKnownSymbol$l;
7863
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
7888
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
7864
7889
 
7865
7890
  var SPECIES$2 = wellKnownSymbol$8('species');
7866
7891
  var RegExpPrototype = RegExp.prototype;
@@ -7935,14 +7960,13 @@
7935
7960
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
7936
7961
  };
7937
7962
 
7938
- var global$o = global$U;
7939
7963
  var call$d = functionCall;
7940
7964
  var anObject$a = anObject$i;
7941
7965
  var isCallable$7 = isCallable$p;
7942
7966
  var classof$4 = classofRaw$1;
7943
7967
  var regexpExec$1 = regexpExec$3;
7944
7968
 
7945
- var TypeError$a = global$o.TypeError;
7969
+ var $TypeError$7 = TypeError;
7946
7970
 
7947
7971
  // `RegExpExec` abstract operation
7948
7972
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -7954,7 +7978,7 @@
7954
7978
  return result;
7955
7979
  }
7956
7980
  if (classof$4(R) === 'RegExp') return call$d(regexpExec$1, R, S);
7957
- throw TypeError$a('RegExp#exec called on incompatible receiver');
7981
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
7958
7982
  };
7959
7983
 
7960
7984
  var call$c = functionCall;
@@ -7994,10 +8018,13 @@
7994
8018
  ];
7995
8019
  });
7996
8020
 
7997
- const _excluded$d = ["showLeadingIcon", "disabled", "placeholder", "readOnly", "inputProps", "handleInputValue", "noStyling", "onChange"],
7998
- _excluded2$1 = ["placeholder", "searchPlaceholder", "embedSearch", "option", "onChange", "size", "disabled", "search", "value", "iconColor", "icon", "placement", "valueSelector", "textSelector", "disabledOptions", "css", "onSearch", "readOnly", "isInvalid", "noOptionIcon"];
7999
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelect\\InputSelect.js";
8000
- const SelectContainer = styled('div', {
8021
+ const ConditionalWrapper = ({
8022
+ condition,
8023
+ wrapper,
8024
+ children
8025
+ }) => condition ? wrapper(children) : children;
8026
+
8027
+ var SelectContainer = styled('div', {
8001
8028
  margin: 0,
8002
8029
  flexDirection: 'column',
8003
8030
  display: 'block',
@@ -8013,7 +8040,7 @@
8013
8040
  color: '$textPrimary',
8014
8041
  width: '100%'
8015
8042
  });
8016
- const SelectBox = styled(Flex$1, {
8043
+ var SelectBox = styled(Flex$1, {
8017
8044
  margin: 0,
8018
8045
  position: 'relative',
8019
8046
  appearance: 'none',
@@ -8054,7 +8081,6 @@
8054
8081
  true: {
8055
8082
  backgroundColor: '$formDisable',
8056
8083
  color: '$textPrimary',
8057
- cursor: 'not-allowed',
8058
8084
  '&:hover': {
8059
8085
  border: '1px solid $gray300'
8060
8086
  },
@@ -8076,7 +8102,7 @@
8076
8102
  }
8077
8103
  }
8078
8104
  });
8079
- const Button$1 = styled('button', {
8105
+ var Button$1 = styled('button', {
8080
8106
  display: 'flex',
8081
8107
  width: '100%',
8082
8108
  height: '100%',
@@ -8103,13 +8129,12 @@
8103
8129
  },
8104
8130
  readOnly: {
8105
8131
  true: {
8106
- cursor: 'not-allowed',
8107
8132
  color: '$textPrimary'
8108
8133
  }
8109
8134
  }
8110
8135
  }
8111
8136
  });
8112
- const Input$5 = styled('input', {
8137
+ var Input$5 = styled('input', {
8113
8138
  marginLeft: '$spacing-05',
8114
8139
  display: 'flex',
8115
8140
  width: '100%',
@@ -8128,15 +8153,14 @@
8128
8153
  opacity: 1
8129
8154
  },
8130
8155
  variants: {
8131
- readOnly: {
8156
+ isReadOnly: {
8132
8157
  true: {
8133
- cursor: 'not-allowed',
8134
8158
  color: '$textPrimary'
8135
8159
  }
8136
8160
  }
8137
8161
  }
8138
8162
  });
8139
- const IconContainer = styled('div', {
8163
+ var IconContainer = styled('div', {
8140
8164
  flex: ' 0 0 auto',
8141
8165
  width: 'auto',
8142
8166
  display: 'flex',
@@ -8148,15 +8172,10 @@
8148
8172
  true: {
8149
8173
  cursor: 'not-allowed'
8150
8174
  }
8151
- },
8152
- readOnly: {
8153
- true: {
8154
- cursor: 'not-allowed'
8155
- }
8156
8175
  }
8157
8176
  }
8158
8177
  });
8159
- const OptionWrapper$2 = styled('div', {
8178
+ var OptionWrapper$2 = styled('div', {
8160
8179
  display: 'none',
8161
8180
  overflow: 'auto',
8162
8181
  zIndex: 1,
@@ -8187,7 +8206,7 @@
8187
8206
  placement: 'bottom'
8188
8207
  }
8189
8208
  });
8190
- const SelectOption = styled('div', {
8209
+ var SelectOption = styled('div', {
8191
8210
  flexDirection: 'column',
8192
8211
  display: 'block',
8193
8212
  borderRadius: '$lg',
@@ -8195,7 +8214,7 @@
8195
8214
  overflowY: 'auto',
8196
8215
  height: '100%'
8197
8216
  });
8198
- const SelectItem = styled('div', {
8217
+ var SelectItem = styled('div', {
8199
8218
  overflow: 'hidden',
8200
8219
  borderBottom: '1px solid $bgBorder',
8201
8220
  padding: '$spacing-05 0',
@@ -8203,29 +8222,31 @@
8203
8222
  cursor: 'pointer',
8204
8223
  lineHeight: '20px'
8205
8224
  });
8206
- const StyledDiv$2 = styled('div', {
8225
+ var StyledDiv$2 = styled('div', {
8207
8226
  color: '$textDisable',
8208
8227
  display: 'inline-flex'
8209
8228
  });
8210
- const StyledText$1 = {
8229
+ var StyledText$1 = {
8211
8230
  whiteSpace: 'nowrap',
8212
8231
  overflow: 'hidden',
8213
8232
  textOverflow: 'ellipsis'
8214
8233
  };
8215
- const SelectInputSearch = /*#__PURE__*/React__namespace.forwardRef((_ref, forwardedRef) => {
8216
- let {
8217
- showLeadingIcon = true,
8218
- disabled,
8219
- placeholder,
8220
- readOnly,
8221
- inputProps,
8222
- handleInputValue,
8223
- noStyling
8224
- } = _ref,
8225
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
8226
-
8227
- const inputRef = React__namespace.useRef(null);
8228
- return /*#__PURE__*/React__namespace.createElement(InputGroup, {
8234
+ var SelectInputSearch = /*#__PURE__*/React__namespace.forwardRef(function (_a, forwardedRef) {
8235
+ var _b = _a.showLeadingIcon,
8236
+ showLeadingIcon = _b === void 0 ? true : _b,
8237
+ _c = _a.showClearIcon,
8238
+ showClearIcon = _c === void 0 ? true : _c,
8239
+ disabled = _a.disabled,
8240
+ placeholder = _a.placeholder,
8241
+ readOnly = _a.readOnly,
8242
+ inputProps = _a.inputProps,
8243
+ handleInputValue = _a.handleInputValue,
8244
+ noStyling = _a.noStyling;
8245
+ _a.onChange;
8246
+ var props = __rest(_a, ["showLeadingIcon", "showClearIcon", "disabled", "placeholder", "readOnly", "inputProps", "handleInputValue", "noStyling", "onChange"]);
8247
+
8248
+ var inputRef = React__namespace.useRef(null);
8249
+ return jsxRuntime.jsxs(InputGroup, __assign({
8229
8250
  css: !noStyling && {
8230
8251
  height: '100%',
8231
8252
  border: 'none',
@@ -8233,135 +8254,148 @@
8233
8254
  border: 'none'
8234
8255
  }
8235
8256
  },
8236
- disabled: disabled,
8237
- __self: undefined,
8238
- __source: {
8239
- fileName: _jsxFileName$w,
8240
- lineNumber: 236,
8241
- columnNumber: 7
8242
- }
8243
- }, /*#__PURE__*/React__namespace.createElement(InputLeftElement, {
8244
- children: showLeadingIcon && /*#__PURE__*/React__namespace.createElement(icons.SearchOutline, {
8245
- __self: undefined,
8246
- __source: {
8247
- fileName: _jsxFileName$w,
8248
- lineNumber: 249,
8249
- columnNumber: 40
8250
- }
8251
- }),
8252
- css: !showLeadingIcon && {
8253
- width: '$spacing-05',
8254
- padding: 0
8255
- },
8256
- __self: undefined,
8257
- __source: {
8258
- fileName: _jsxFileName$w,
8259
- lineNumber: 248,
8260
- columnNumber: 9
8261
- }
8262
- }), /*#__PURE__*/React__namespace.createElement(Input$5, _extends({}, inputProps, props, {
8263
- placeholder: placeholder,
8264
- readOnly: readOnly,
8265
- ref: e => {
8266
- if (forwardedRef) forwardedRef(e);
8267
- inputRef.current = e;
8268
- },
8269
- disabled: disabled,
8270
- css: {
8271
- marginLeft: 0,
8272
- height: 'fit-content'
8273
- },
8274
- __self: undefined,
8275
- __source: {
8276
- fileName: _jsxFileName$w,
8277
- lineNumber: 257,
8278
- columnNumber: 9
8279
- }
8280
- })), /*#__PURE__*/React__namespace.createElement(InputRightElement, {
8281
- children: (inputProps.value || '').length > 0 && !disabled ? /*#__PURE__*/React__namespace.createElement(icons.CloseFilled, {
8282
- __self: undefined,
8283
- __source: {
8284
- fileName: _jsxFileName$w,
8285
- lineNumber: 273,
8286
- columnNumber: 72
8287
- }
8288
- }) : /*#__PURE__*/React__namespace.createElement("div", {
8289
- __self: undefined,
8290
- __source: {
8291
- fileName: _jsxFileName$w,
8292
- lineNumber: 273,
8293
- columnNumber: 90
8294
- }
8295
- }),
8296
- onClick: e => {
8297
- if (!disabled) {
8298
- inputProps.onChange(Object.assign({}, e, {
8299
- target: Object.assign({}, e.target, {
8300
- value: ''
8301
- })
8302
- }));
8303
- if (handleInputValue) handleInputValue('');
8304
- if (inputRef.current) inputRef.current.focus();
8257
+ disabled: disabled
8258
+ }, {
8259
+ children: [jsxRuntime.jsx(InputLeftElement, {
8260
+ children: showLeadingIcon && jsxRuntime.jsx(icons.SearchOutline, {}, void 0),
8261
+ css: !showLeadingIcon ? {
8262
+ width: '$spacing-05',
8263
+ padding: 0
8264
+ } : undefined
8265
+ }, void 0), jsxRuntime.jsx(Input$5, __assign({}, inputProps, props, {
8266
+ placeholder: placeholder,
8267
+ readOnly: readOnly,
8268
+ isReadOnly: readOnly,
8269
+ ref: function (node) {
8270
+ if (forwardedRef) {
8271
+ if (typeof forwardedRef === 'function') forwardedRef(node);else forwardedRef.current = node;
8272
+ }
8273
+
8274
+ inputRef.current = node;
8275
+ },
8276
+ disabled: disabled,
8277
+ css: {
8278
+ marginLeft: 0,
8279
+ height: 'fit-content'
8280
+ }
8281
+ }), void 0), jsxRuntime.jsx(InputRightElement, {
8282
+ children: showClearIcon && (inputProps.value || '').length > 0 && !disabled ? jsxRuntime.jsx(icons.CloseFilled, {}, void 0) : jsxRuntime.jsx("div", {}, void 0),
8283
+ onClick: function (e) {
8284
+ if (!disabled) {
8285
+ inputProps.onChange(__assign(__assign({}, e), {
8286
+ target: __assign(__assign({}, e.target), {
8287
+ value: ''
8288
+ })
8289
+ }));
8290
+ if (handleInputValue) handleInputValue('');
8291
+ if (inputRef.current) inputRef.current.focus();
8292
+ }
8305
8293
  }
8306
- },
8307
- __self: undefined,
8308
- __source: {
8309
- fileName: _jsxFileName$w,
8310
- lineNumber: 272,
8311
- columnNumber: 9
8312
- }
8313
- }));
8294
+ }, void 0)]
8295
+ }), void 0);
8314
8296
  });
8315
- function Select$1(_ref2) {
8316
- let {
8317
- placeholder,
8318
- searchPlaceholder,
8319
- embedSearch,
8320
- option,
8321
- onChange,
8322
- size,
8323
- disabled,
8324
- search,
8325
- value,
8326
- iconColor,
8327
- icon,
8328
- placement,
8329
- valueSelector,
8330
- textSelector,
8331
- disabledOptions,
8332
- css,
8333
- onSearch,
8334
- readOnly,
8335
- isInvalid,
8336
- noOptionIcon
8337
- } = _ref2,
8338
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
8297
+ function InputSelect(_a) {
8298
+ var _this = this;
8339
8299
 
8340
- const [options, setOptions] = React__namespace.useState(option || []);
8341
- const [item, setItem] = React__namespace.useState(option || []);
8342
- const [selectedValue, setSelectedValue] = React__namespace.useState(value);
8300
+ var option = _a.option,
8301
+ onChange = _a.onChange,
8302
+ value = _a.value,
8303
+ _b = _a.placeholder,
8304
+ placeholder = _b === void 0 ? 'Select Item' : _b,
8305
+ _c = _a.searchPlaceholder,
8306
+ searchPlaceholder = _c === void 0 ? 'Cari..' : _c,
8307
+ _d = _a.embedSearch,
8308
+ embedSearch = _d === void 0 ? false : _d,
8309
+ _e = _a.size,
8310
+ size = _e === void 0 ? 'lg' : _e,
8311
+ _f = _a.disabled,
8312
+ disabled = _f === void 0 ? false : _f,
8313
+ _g = _a.search,
8314
+ search = _g === void 0 ? false : _g,
8315
+ _h = _a.iconColor,
8316
+ iconColor = _h === void 0 ? 'currentColor' : _h,
8317
+ _j = _a.hideArrowicon,
8318
+ hideArrowicon = _j === void 0 ? false : _j,
8319
+ showLeadingIcon = _a.showLeadingIcon,
8320
+ _k = _a.placement,
8321
+ placement = _k === void 0 ? 'bottom' : _k,
8322
+ disabledOptions = _a.disabledOptions,
8323
+ _l = _a.textSelector,
8324
+ textSelector = _l === void 0 ? 'name' : _l,
8325
+ _m = _a.valueSelector,
8326
+ valueSelector = _m === void 0 ? 'value' : _m,
8327
+ _o = _a.readOnly,
8328
+ readOnly = _o === void 0 ? false : _o,
8329
+ _p = _a.isInvalid,
8330
+ isInvalid = _p === void 0 ? false : _p,
8331
+ _q = _a.noOptionIcon,
8332
+ noOptionIcon = _q === void 0 ? false : _q,
8333
+ fetchData = _a.fetchData,
8334
+ onSearch = _a.onSearch,
8335
+ _r = _a.isLoading,
8336
+ isLoading = _r === void 0 ? false : _r,
8337
+ css = _a.css,
8338
+ props = __rest(_a, ["option", "onChange", "value", "placeholder", "searchPlaceholder", "embedSearch", "size", "disabled", "search", "iconColor", "hideArrowicon", "showLeadingIcon", "placement", "disabledOptions", "textSelector", "valueSelector", "readOnly", "isInvalid", "noOptionIcon", "fetchData", "onSearch", "isLoading", "css"]);
8339
+
8340
+ var _s = React.useState([]),
8341
+ options = _s[0],
8342
+ setOptions = _s[1];
8343
+
8344
+ var _t = React.useState([]),
8345
+ item = _t[0],
8346
+ setItem = _t[1];
8347
+
8348
+ var _u = React.useState(value),
8349
+ selectedValue = _u[0],
8350
+ setSelectedValue = _u[1];
8351
+
8352
+ var _v = React.useState(),
8353
+ query = _v[0],
8354
+ setQuery = _v[1];
8355
+
8356
+ var scrollerRef = React.useRef(null);
8357
+ React.useEffect(function () {
8358
+ var _a;
8359
+
8360
+ (_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
8361
+ top: 0
8362
+ });
8363
+ }, [query]);
8364
+
8365
+ var handleInputValue = function handleInputValue(value, isReset) {
8366
+ if (isReset === void 0) {
8367
+ isReset = false;
8368
+ }
8343
8369
 
8344
- const handleInputValue = (value, isReset) => {
8345
8370
  if (onSearch && !isReset) onSearch(value);
8346
8371
 
8347
8372
  if (value === '') {
8348
8373
  return setItem(options);
8349
8374
  } else {
8350
- let filterItems = options.filter(item => item.name.toLowerCase().includes(value.toLocaleLowerCase()));
8351
- setItem(filterItems);
8375
+ setItem(options.filter(function (item) {
8376
+ return item.name.toLowerCase().includes(value.toLocaleLowerCase());
8377
+ }));
8352
8378
  }
8353
8379
  };
8354
8380
 
8355
- const generateOptions = (data, valueSelector = '', textSelector = '') => {
8356
- return data.map(option => {
8381
+ var generateOptions = function generateOptions(data, valueSelector, textSelector) {
8382
+ if (valueSelector === void 0) {
8383
+ valueSelector = '';
8384
+ }
8385
+
8386
+ if (textSelector === void 0) {
8387
+ textSelector = '';
8388
+ }
8389
+
8390
+ return data.map(function (option) {
8357
8391
  if (typeof option === 'object') {
8358
- const name = textSelector ? option[textSelector] : Object.values(option)[0];
8359
- const value = valueSelector ? option[valueSelector] : Object.values(option)[1];
8392
+ var name_1 = textSelector ? option[textSelector] : Object.values(option)[0];
8393
+ var value_1 = valueSelector ? option[valueSelector] : Object.values(option)[1];
8360
8394
  return {
8361
- name,
8362
- value,
8395
+ name: name_1,
8396
+ value: value_1,
8363
8397
  render: option.render,
8364
- isDisabled: disabledOptions.length > 0 ? disabledOptions.includes(value) : option.isDisabled
8398
+ isDisabled: option.isDisabled === undefined && disabledOptions && disabledOptions.length > 0 ? disabledOptions.includes(value_1) : option.isDisabled
8365
8399
  };
8366
8400
  }
8367
8401
 
@@ -8369,312 +8403,247 @@
8369
8403
  name: option,
8370
8404
  value: option,
8371
8405
  render: option.render,
8372
- isDisabled: disabledOptions.includes(option)
8406
+ isDisabled: disabledOptions && disabledOptions.includes(option)
8373
8407
  };
8374
8408
  });
8375
8409
  };
8376
8410
 
8377
- React__namespace.useEffect(() => {
8411
+ React.useEffect(function () {
8378
8412
  setSelectedValue(value);
8379
8413
  }, [value]);
8380
- React__namespace.useEffect(() => {
8381
- // if (valueSelector) {
8382
- const generatedOption = generateOptions(option, valueSelector, textSelector);
8414
+ React.useEffect(function () {
8415
+ var generatedOption = generateOptions(option, valueSelector, textSelector);
8383
8416
  setItem(generatedOption);
8384
- setOptions(generatedOption); // }
8385
- }, [option, valueSelector, textSelector]);
8386
- return /*#__PURE__*/React__namespace.createElement(Downshift__default["default"], _extends({}, props, {
8417
+ setOptions(generatedOption);
8418
+ }, [option, disabledOptions, valueSelector, textSelector]);
8419
+ var debouncedSearch = React__namespace.useRef(debounce__default["default"](function (query) {
8420
+ return __awaiter(_this, void 0, void 0, function () {
8421
+ return __generator(this, function (_a) {
8422
+ setQuery(query);
8423
+ if (onSearch) onSearch(query);
8424
+ return [2
8425
+ /*return*/
8426
+ ];
8427
+ });
8428
+ });
8429
+ }, 1000)).current;
8430
+ React__namespace.useEffect(function () {
8431
+ return function () {
8432
+ debouncedSearch.cancel();
8433
+ };
8434
+ }, [debouncedSearch]);
8435
+ return jsxRuntime.jsx(Downshift__default["default"], __assign({}, props, {
8387
8436
  onChange: onChange,
8388
- itemToString: item => item ? item.name : '',
8437
+ itemToString: function (item) {
8438
+ return item ? item.name : '';
8439
+ },
8389
8440
  selectedItem: selectedValue !== undefined ? selectedValue : null,
8390
- onSelect: setSelectedValue,
8391
- __self: this,
8392
- __source: {
8393
- fileName: _jsxFileName$w,
8394
- lineNumber: 364,
8395
- columnNumber: 5
8396
- }
8397
- }), ({
8398
- getRootProps,
8399
- getToggleButtonProps,
8400
- getMenuProps,
8401
- getInputProps,
8402
- getItemProps,
8403
- isOpen,
8404
- selectedItem,
8405
- highlightedIndex,
8406
- initialSelectedItem,
8407
- inputValue
8408
- }) => {
8409
- if (!isOpen) {
8410
- handleInputValue('', true);
8411
- }
8441
+ onSelect: function (selectedItem, _) {
8442
+ return setSelectedValue(selectedItem);
8443
+ },
8444
+ onStateChange: function (state) {
8445
+ if (!('isOpen' in state)) return;
8446
+ if (state.isOpen && embedSearch) handleInputValue('', true);
8412
8447
 
8413
- const handleDownOption = () => {
8414
- if (icon || noOptionIcon) {
8415
- return null;
8448
+ if (!state.isOpen && fetchData && query && query.length > 0 && onSearch) {
8449
+ onSearch('');
8450
+ setQuery('');
8416
8451
  }
8417
-
8418
- return /*#__PURE__*/React__namespace.createElement(IconContainer, _extends({}, getToggleButtonProps({
8419
- disabled: disabled || readOnly
8420
- }), {
8421
- disabled: disabled,
8422
- readOnly: readOnly,
8423
- __self: this,
8424
- __source: {
8425
- fileName: _jsxFileName$w,
8426
- lineNumber: 393,
8427
- columnNumber: 13
8428
- }
8429
- }), /*#__PURE__*/React__namespace.createElement(icons.CaretDownOutline, {
8430
- color: iconColor,
8431
- __self: this,
8432
- __source: {
8433
- fileName: _jsxFileName$w,
8434
- lineNumber: 398,
8435
- columnNumber: 15
8452
+ }
8453
+ }, {
8454
+ children: function (_a) {
8455
+ var getRootProps = _a.getRootProps,
8456
+ getToggleButtonProps = _a.getToggleButtonProps,
8457
+ getMenuProps = _a.getMenuProps,
8458
+ getInputProps = _a.getInputProps,
8459
+ getItemProps = _a.getItemProps,
8460
+ isOpen = _a.isOpen,
8461
+ selectedItem = _a.selectedItem,
8462
+ highlightedIndex = _a.highlightedIndex;
8463
+
8464
+ var handleDownOption = function handleDownOption() {
8465
+ if (hideArrowicon || noOptionIcon) {
8466
+ return null;
8436
8467
  }
8437
- }));
8438
- };
8439
8468
 
8440
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, {
8441
- css: css,
8442
- __self: this,
8443
- __source: {
8444
- fileName: _jsxFileName$w,
8445
- lineNumber: 404,
8446
- columnNumber: 11
8447
- }
8448
- }, /*#__PURE__*/React__namespace.createElement(SelectBox, _extends({}, getRootProps({}, {
8449
- suppressRefError: true
8450
- }), {
8451
- size: size,
8452
- disabled: disabled,
8453
- readOnly: readOnly,
8454
- isInvalid: isInvalid,
8455
- __self: this,
8456
- __source: {
8457
- fileName: _jsxFileName$w,
8458
- lineNumber: 405,
8459
- columnNumber: 13
8460
- }
8461
- }), search ? /*#__PURE__*/React__namespace.createElement(Box, {
8462
- style: {
8463
- width: '100%',
8464
- flex: 1
8465
- },
8466
- __self: this,
8467
- __source: {
8468
- fileName: _jsxFileName$w,
8469
- lineNumber: 413,
8470
- columnNumber: 17
8471
- }
8472
- }, icon ? /*#__PURE__*/React__namespace.createElement(SelectInputSearch, {
8473
- disabled: disabled,
8474
- placeholder: placeholder,
8475
- readOnly: readOnly,
8476
- handleInputValue: handleInputValue,
8477
- inputProps: getInputProps({
8478
- onChange: event => handleInputValue(event.target.value),
8479
- disabled
8469
+ return jsxRuntime.jsx(IconContainer, __assign({}, getToggleButtonProps({
8470
+ disabled: disabled || readOnly
8471
+ }), {
8472
+ disabled: disabled,
8473
+ readOnly: readOnly
8474
+ }, {
8475
+ children: jsxRuntime.jsx(icons.CaretDownOutline, {
8476
+ color: iconColor
8477
+ }, void 0)
8478
+ }), void 0);
8479
+ };
8480
+
8481
+ return jsxRuntime.jsxs(SelectContainer, __assign({
8482
+ css: css
8480
8483
  }, {
8481
- suppressRefError: true
8482
- }),
8483
- __self: this,
8484
- __source: {
8485
- fileName: _jsxFileName$w,
8486
- lineNumber: 418,
8487
- columnNumber: 21
8488
- }
8489
- }) : /*#__PURE__*/React__namespace.createElement(Input$5, _extends({
8490
- placeholder: placeholder,
8491
- disabled: disabled,
8492
- readOnly: readOnly
8493
- }, getInputProps({
8494
- onChange: event => handleInputValue(event.target.value),
8495
- disabled
8496
- }), {
8497
- css: {
8498
- width: 'calc(100% - $spacing-05)'
8499
- },
8500
- __self: this,
8501
- __source: {
8502
- fileName: _jsxFileName$w,
8503
- lineNumber: 429,
8504
- columnNumber: 21
8505
- }
8506
- }))) : /*#__PURE__*/React__namespace.createElement(Button$1, _extends({}, getToggleButtonProps({
8507
- disabled: disabled || readOnly
8508
- }), {
8509
- disabled: disabled,
8510
- size: size,
8511
- readOnly: readOnly,
8512
- __self: this,
8513
- __source: {
8514
- fileName: _jsxFileName$w,
8515
- lineNumber: 441,
8516
- columnNumber: 17
8517
- }
8518
- }), selectedItem ? /*#__PURE__*/React__namespace.createElement(Text$1, {
8519
- color: "primary",
8520
- css: StyledText$1,
8521
- __self: this,
8522
- __source: {
8523
- fileName: _jsxFileName$w,
8524
- lineNumber: 448,
8525
- columnNumber: 21
8526
- }
8527
- }, selectedItem.render ? selectedItem.render() : selectedItem.name) : /*#__PURE__*/React__namespace.createElement(Text$1, {
8528
- color: "disable",
8529
- css: StyledText$1,
8530
- __self: this,
8531
- __source: {
8532
- fileName: _jsxFileName$w,
8533
- lineNumber: 452,
8534
- columnNumber: 21
8535
- }
8536
- }, placeholder)), handleDownOption()), /*#__PURE__*/React__namespace.createElement(OptionWrapper$2, _extends({}, getMenuProps(), {
8537
- css: {
8538
- display: isOpen ? 'block' : 'none'
8539
- },
8540
- placement: placement,
8541
- __self: this,
8542
- __source: {
8543
- fileName: _jsxFileName$w,
8544
- lineNumber: 460,
8545
- columnNumber: 13
8546
- }
8547
- }), !search && embedSearch && isOpen && /*#__PURE__*/React__namespace.createElement(SelectContainer, {
8548
- css: {
8549
- position: 'sticky',
8550
- top: 0,
8551
- zIndex: '$sticky',
8552
- padding: '$spacing-04 $spacing-05 0',
8553
- backgroundColor: '$bgWhite'
8554
- },
8555
- __self: this,
8556
- __source: {
8557
- fileName: _jsxFileName$w,
8558
- lineNumber: 462,
8559
- columnNumber: 17
8560
- }
8561
- }, /*#__PURE__*/React__namespace.createElement(InputSearchbox, {
8562
- size: size,
8563
- onChange: handleInputValue,
8564
- placeholder: searchPlaceholder,
8565
- __self: this,
8566
- __source: {
8567
- fileName: _jsxFileName$w,
8568
- lineNumber: 471,
8569
- columnNumber: 19
8570
- }
8571
- })), item.length !== 0 ? /*#__PURE__*/React__namespace.createElement(SelectOption, {
8572
- __self: this,
8573
- __source: {
8574
- fileName: _jsxFileName$w,
8575
- lineNumber: 475,
8576
- columnNumber: 17
8577
- }
8578
- }, item.map((item, index) => {
8579
- var _item$value;
8484
+ children: [jsxRuntime.jsxs(SelectBox, __assign({}, getRootProps({
8485
+ refKey: 'ref'
8486
+ }, {
8487
+ suppressRefError: true
8488
+ }), {
8489
+ size: size,
8490
+ disabled: disabled,
8491
+ readOnly: readOnly,
8492
+ isInvalid: isInvalid
8493
+ }, {
8494
+ children: [search ? jsxRuntime.jsx(Box, __assign({
8495
+ style: {
8496
+ width: '100%',
8497
+ flex: 1
8498
+ }
8499
+ }, {
8500
+ children: jsxRuntime.jsx(SelectInputSearch, {
8501
+ showLeadingIcon: showLeadingIcon,
8502
+ showClearIcon: hideArrowicon,
8503
+ disabled: disabled,
8504
+ placeholder: placeholder,
8505
+ readOnly: readOnly,
8506
+ handleInputValue: !fetchData ? handleInputValue : function (query) {
8507
+ if (onSearch) onSearch(query);
8508
+ setQuery(query);
8509
+ },
8510
+ inputProps: getInputProps({
8511
+ onChange: function (event) {
8512
+ if (event.type !== 'change') return;
8513
+ var query = event.target.value;
8514
+ if (!fetchData) handleInputValue(query);else debouncedSearch(query);
8515
+ },
8516
+ disabled: disabled
8517
+ }),
8518
+ onClick: getToggleButtonProps().onClick
8519
+ }, void 0)
8520
+ }), void 0) : jsxRuntime.jsx(Button$1, __assign({}, getToggleButtonProps({
8521
+ disabled: disabled || readOnly
8522
+ }), {
8523
+ disabled: disabled,
8524
+ size: size,
8525
+ readOnly: readOnly
8526
+ }, {
8527
+ children: selectedItem ? selectedItem.render ? selectedItem.render(selectedItem) : jsxRuntime.jsx(Text$1, __assign({
8528
+ color: "primary",
8529
+ css: StyledText$1
8530
+ }, {
8531
+ children: selectedItem.name
8532
+ }), void 0) : jsxRuntime.jsx(Text$1, __assign({
8533
+ color: "disable",
8534
+ css: StyledText$1
8535
+ }, {
8536
+ children: placeholder
8537
+ }), void 0)
8538
+ }), void 0), handleDownOption()]
8539
+ }), void 0), jsxRuntime.jsxs(OptionWrapper$2, __assign({}, getMenuProps({}, {
8540
+ suppressRefError: true
8541
+ }), {
8542
+ css: {
8543
+ display: isOpen ? 'block' : 'none'
8544
+ },
8545
+ placement: placement,
8546
+ ref: scrollerRef
8547
+ }, {
8548
+ children: [!search && embedSearch && isOpen && jsxRuntime.jsx(SelectContainer, __assign({
8549
+ css: {
8550
+ position: 'sticky',
8551
+ top: 0,
8552
+ zIndex: '$sticky',
8553
+ padding: '$spacing-04 $spacing-05 0',
8554
+ backgroundColor: '$bgWhite'
8555
+ }
8556
+ }, {
8557
+ children: jsxRuntime.jsx(InputSearchbox, {
8558
+ size: 'sm',
8559
+ onChange: handleInputValue,
8560
+ placeholder: searchPlaceholder
8561
+ }, void 0)
8562
+ }), void 0), isLoading && jsxRuntime.jsx(Flex$1, __assign({
8563
+ justify: "center",
8564
+ align: "center",
8565
+ css: {
8566
+ position: 'absolute',
8567
+ inset: 0,
8568
+ zIndex: '$sticky',
8569
+ width: '100%',
8570
+ height: '100%',
8571
+ backgroundColor: '$bgWhite',
8572
+ opacity: 0.8
8573
+ }
8574
+ }, {
8575
+ children: jsxRuntime.jsx(Text$1, __assign({
8576
+ variant: "caption"
8577
+ }, {
8578
+ children: "Loading .... "
8579
+ }), void 0)
8580
+ }), void 0), item.length > 0 ? jsxRuntime.jsx(ConditionalWrapper, __assign({
8581
+ condition: !!fetchData && item.length > 0,
8582
+ wrapper: function (children) {
8583
+ return jsxRuntime.jsx(InfiniteScroll__default["default"], __assign({
8584
+ loadMore: function (_) {
8585
+ if (!isLoading && fetchData) fetchData({
8586
+ query: query
8587
+ });
8588
+ },
8589
+ hasMore: true,
8590
+ threshold: 5,
8591
+ useWindow: false
8592
+ }, {
8593
+ children: children
8594
+ }), void 0);
8595
+ }
8596
+ }, {
8597
+ children: jsxRuntime.jsx(SelectOption, {
8598
+ children: item.map(function (item, index) {
8599
+ var _a;
8580
8600
 
8581
- return /*#__PURE__*/React__namespace.createElement(SelectItem, _extends({}, getItemProps({
8582
- item,
8583
- disabled: item.isDisabled
8584
- }), {
8585
- key: (_item$value = item.value) !== null && _item$value !== void 0 ? _item$value : index,
8586
- css: item.isDisabled ? {
8587
- backgroundColor: 'unset',
8588
- cursor: 'not-allowed',
8589
- color: '$textDisable'
8590
- } : {
8591
- backgroundColor: highlightedIndex === index ? '$bgGray' : 'white',
8592
- fontWeight: 'normal',
8593
- color: selectedItem && selectedItem.value === item.value ? '$textGreen' : '$textPrimary'
8594
- },
8595
- __self: this,
8596
- __source: {
8597
- fileName: _jsxFileName$w,
8598
- lineNumber: 477,
8599
- columnNumber: 21
8600
- }
8601
- }), item.render ? item.render() : item.name);
8602
- })) : /*#__PURE__*/React__namespace.createElement(SelectOption, {
8603
- __self: this,
8604
- __source: {
8605
- fileName: _jsxFileName$w,
8606
- lineNumber: 499,
8607
- columnNumber: 17
8608
- }
8609
- }, /*#__PURE__*/React__namespace.createElement(StyledDiv$2, {
8610
- __self: this,
8611
- __source: {
8612
- fileName: _jsxFileName$w,
8613
- lineNumber: 500,
8614
- columnNumber: 19
8615
- }
8616
- }, /*#__PURE__*/React__namespace.createElement("div", {
8617
- style: {
8618
- marginRight: '6px'
8619
- },
8620
- __self: this,
8621
- __source: {
8622
- fileName: _jsxFileName$w,
8623
- lineNumber: 501,
8624
- columnNumber: 21
8625
- }
8626
- }, /*#__PURE__*/React__namespace.createElement(icons.CircleInfoOutline, {
8627
- size: "16px",
8628
- color: colors.iconDisable,
8629
- style: {
8630
- verticalAlign: 'text-bottom'
8631
- },
8632
- __self: this,
8633
- __source: {
8634
- fileName: _jsxFileName$w,
8635
- lineNumber: 502,
8636
- columnNumber: 23
8637
- }
8638
- })), "Item tidak ditemukan"))));
8639
- });
8601
+ return /*#__PURE__*/React.createElement(SelectItem, __assign({}, getItemProps({
8602
+ item: item,
8603
+ disabled: item.isDisabled
8604
+ }), {
8605
+ key: (_a = item.value) !== null && _a !== void 0 ? _a : index,
8606
+ css: item.isDisabled ? {
8607
+ backgroundColor: 'unset',
8608
+ cursor: 'not-allowed',
8609
+ color: '$textDisable'
8610
+ } : {
8611
+ backgroundColor: highlightedIndex === index ? '$bgGray' : 'white',
8612
+ fontWeight: 'normal',
8613
+ color: selectedItem && selectedItem.value === item.value ? '$textGreen' : '$textPrimary'
8614
+ }
8615
+ }), item.render ? item.render(selectedItem) : item.name);
8616
+ })
8617
+ }, void 0)
8618
+ }), void 0) : jsxRuntime.jsx(SelectOption, {
8619
+ children: jsxRuntime.jsxs(StyledDiv$2, {
8620
+ children: [jsxRuntime.jsx("div", __assign({
8621
+ style: {
8622
+ marginRight: '6px'
8623
+ }
8624
+ }, {
8625
+ children: jsxRuntime.jsx(icons.CircleInfoOutline, {
8626
+ size: "16px",
8627
+ color: colors.iconDisable,
8628
+ style: {
8629
+ verticalAlign: 'text-bottom'
8630
+ }
8631
+ }, void 0)
8632
+ }), void 0), "Item tidak ditemukan"]
8633
+ }, void 0)
8634
+ }, void 0)]
8635
+ }), void 0)]
8636
+ }), void 0);
8637
+ }
8638
+ }), void 0);
8640
8639
  }
8641
- Select$1.propTypes = {
8642
- placeholder: PropTypes__default["default"].string,
8643
- searchPlaceholder: PropTypes__default["default"].string,
8644
- embedSearch: PropTypes__default["default"].bool,
8645
- option: PropTypes__default["default"].array.isRequired,
8646
- onChange: PropTypes__default["default"].func,
8647
- size: PropTypes__default["default"].string,
8648
- disabled: PropTypes__default["default"].bool,
8649
- search: PropTypes__default["default"].bool,
8650
- value: PropTypes__default["default"].object,
8651
- iconColor: PropTypes__default["default"].string,
8652
- icon: PropTypes__default["default"].bool,
8653
- placement: PropTypes__default["default"].oneOf(['top', 'bottom']),
8654
- textSelector: PropTypes__default["default"].string,
8655
- valueSelector: PropTypes__default["default"].string,
8656
- disabledOptions: PropTypes__default["default"].arrayOf(PropTypes__default["default"].string),
8657
- onSearch: PropTypes__default["default"].func,
8658
- readOnly: PropTypes__default["default"].bool,
8659
- isInvalid: PropTypes__default["default"].bool,
8660
- noOptionIcon: PropTypes__default["default"].bool
8661
- };
8662
- Select$1.defaultProps = {
8663
- placeholder: 'Select Item',
8664
- searchPlaceholder: 'Cari..',
8665
- embedSearch: false,
8666
- size: 'lg',
8667
- disabled: false,
8668
- search: false,
8669
- iconColor: 'currentColor',
8670
- icon: false,
8671
- placement: 'bottom',
8672
- disabledOptions: [],
8673
- textSelector: 'name',
8674
- valueSelector: 'value',
8675
- readOnly: false,
8676
- isInvalid: false,
8677
- noOptionIcon: false
8640
+
8641
+ var tryToString$3 = tryToString$5;
8642
+
8643
+ var $TypeError$6 = TypeError;
8644
+
8645
+ var deletePropertyOrThrow$1 = function (O, P) {
8646
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8678
8647
  };
8679
8648
 
8680
8649
  var toPropertyKey = toPropertyKey$3;
@@ -8687,19 +8656,18 @@
8687
8656
  else object[propertyKey] = value;
8688
8657
  };
8689
8658
 
8690
- var global$n = global$U;
8691
8659
  var toAbsoluteIndex = toAbsoluteIndex$2;
8692
8660
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8693
8661
  var createProperty$1 = createProperty$2;
8694
8662
 
8695
- var Array$2 = global$n.Array;
8663
+ var $Array$1 = Array;
8696
8664
  var max$1 = Math.max;
8697
8665
 
8698
8666
  var arraySliceSimple = function (O, start, end) {
8699
8667
  var length = lengthOfArrayLike$4(O);
8700
8668
  var k = toAbsoluteIndex(start, length);
8701
8669
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8702
- var result = Array$2(max$1(fin - k, 0));
8670
+ var result = $Array$1(max$1(fin - k, 0));
8703
8671
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8704
8672
  result.length = n;
8705
8673
  return result;
@@ -8781,6 +8749,7 @@
8781
8749
  var aCallable$7 = aCallable$9;
8782
8750
  var toObject$3 = toObject$7;
8783
8751
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
8752
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
8784
8753
  var toString$b = toString$h;
8785
8754
  var fails$8 = fails$s;
8786
8755
  var internalSort = arraySort$1;
@@ -8875,19 +8844,18 @@
8875
8844
  index = 0;
8876
8845
 
8877
8846
  while (index < itemsLength) array[index] = items[index++];
8878
- while (index < arrayLength) delete array[index++];
8847
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
8879
8848
 
8880
8849
  return array;
8881
8850
  }
8882
8851
  });
8883
8852
 
8884
- var global$m = global$U;
8885
8853
  var aCallable$6 = aCallable$9;
8886
8854
  var toObject$2 = toObject$7;
8887
8855
  var IndexedObject = indexedObject;
8888
8856
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
8889
8857
 
8890
- var TypeError$9 = global$m.TypeError;
8858
+ var $TypeError$5 = TypeError;
8891
8859
 
8892
8860
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
8893
8861
  var createMethod$2 = function (IS_RIGHT) {
@@ -8906,7 +8874,7 @@
8906
8874
  }
8907
8875
  index += i;
8908
8876
  if (IS_RIGHT ? index < 0 : length <= index) {
8909
- throw TypeError$9('Reduce of empty array with no initial value');
8877
+ throw $TypeError$5('Reduce of empty array with no initial value');
8910
8878
  }
8911
8879
  }
8912
8880
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -8926,9 +8894,9 @@
8926
8894
  };
8927
8895
 
8928
8896
  var classof$3 = classofRaw$1;
8929
- var global$l = global$U;
8897
+ var global$c = global$s;
8930
8898
 
8931
- var engineIsNode = classof$3(global$l.process) == 'process';
8899
+ var engineIsNode = classof$3(global$c.process) == 'process';
8932
8900
 
8933
8901
  var $$c = _export;
8934
8902
  var $reduce = arrayReduce.left;
@@ -8985,7 +8953,7 @@
8985
8953
  }
8986
8954
  });
8987
8955
 
8988
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8956
+ var _jsxFileName$v = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8989
8957
 
8990
8958
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
8991
8959
  xmlns: "http://www.w3.org/2000/svg",
@@ -9034,7 +9002,7 @@
9034
9002
  }));
9035
9003
 
9036
9004
  const _excluded$c = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectedTag", "css"];
9037
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9005
+ var _jsxFileName$u = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9038
9006
  const Wrapper$1 = styled('div', {
9039
9007
  margin: 0,
9040
9008
  flexDirection: 'column',
@@ -9696,7 +9664,7 @@
9696
9664
  sortBy: 'name'
9697
9665
  };
9698
9666
 
9699
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9667
+ var _jsxFileName$t = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9700
9668
  function InputSelectTag(props) {
9701
9669
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
9702
9670
  showSelectedTag: true
@@ -9739,7 +9707,7 @@
9739
9707
  sortBy: 'name'
9740
9708
  };
9741
9709
 
9742
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9710
+ var _jsxFileName$s = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9743
9711
  const Wrapper = styled('div', {
9744
9712
  margin: 0,
9745
9713
  flexDirection: 'column',
@@ -9997,12 +9965,6 @@
9997
9965
  value: ''
9998
9966
  };
9999
9967
 
10000
- const ConditionalWrapper = ({
10001
- condition,
10002
- wrapper,
10003
- children
10004
- }) => condition ? wrapper(children) : children;
10005
-
10006
9968
  function InputResourceList(_a) {
10007
9969
  var data = _a.data,
10008
9970
  _b = _a.disabled,
@@ -10026,13 +9988,9 @@
10026
9988
  checkedResources = _g[0],
10027
9989
  setCheckedResources = _g[1];
10028
9990
 
10029
- var _h = React.useState(value);
10030
- _h[0];
10031
- _h[1];
10032
-
10033
- var _j = React.useState(),
10034
- query = _j[0],
10035
- setQuery = _j[1];
9991
+ var _h = React.useState(),
9992
+ query = _h[0],
9993
+ setQuery = _h[1];
10036
9994
 
10037
9995
  var scrollerRef = React.useRef(null);
10038
9996
  React.useEffect(function () {
@@ -10283,7 +10241,7 @@
10283
10241
  });
10284
10242
 
10285
10243
  const _excluded$b = ["children"];
10286
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
10244
+ var _jsxFileName$r = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
10287
10245
  const {
10288
10246
  zIndices
10289
10247
  } = core.foundations;
@@ -10373,8 +10331,8 @@
10373
10331
  ref: floating,
10374
10332
  style: Object.assign({
10375
10333
  position: strategy,
10376
- top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
10377
- left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
10334
+ top: isMobile ? 0 : y != null ? y : '',
10335
+ left: isMobile ? 0 : x != null ? x : '',
10378
10336
  zIndex: zIndices.popover
10379
10337
  }, style)
10380
10338
  }), {
@@ -10417,7 +10375,7 @@
10417
10375
  Popover.displayName = 'Popover';
10418
10376
 
10419
10377
  const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
10420
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10378
+ var _jsxFileName$q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10421
10379
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
10422
10380
  position: 'relative',
10423
10381
  display: 'flex',
@@ -10762,7 +10720,7 @@
10762
10720
  };
10763
10721
 
10764
10722
  const _excluded$9 = ["className", "children", "onClick", "type", "size"];
10765
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10723
+ var _jsxFileName$p = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10766
10724
  const TagWrapper = styled('div', {
10767
10725
  boxSizing: 'border-box',
10768
10726
  fontSize: '12px',
@@ -10972,7 +10930,7 @@
10972
10930
 
10973
10931
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
10974
10932
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
10975
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10933
+ var _jsxFileName$o = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10976
10934
  const ButtonGroupComponent = styled(ToggleGroupPrimitive__namespace.Root, {
10977
10935
  display: 'inline-flex',
10978
10936
  borderRadius: '$md',
@@ -11235,15 +11193,15 @@
11235
11193
  trim: createMethod$1(3)
11236
11194
  };
11237
11195
 
11238
- var global$k = global$U;
11196
+ var global$b = global$s;
11239
11197
  var fails$7 = fails$s;
11240
11198
  var uncurryThis$d = functionUncurryThis;
11241
11199
  var toString$8 = toString$h;
11242
11200
  var trim$1 = stringTrim.trim;
11243
11201
  var whitespaces$1 = whitespaces$3;
11244
11202
 
11245
- var $parseInt$1 = global$k.parseInt;
11246
- var Symbol$6 = global$k.Symbol;
11203
+ var $parseInt$1 = global$b.parseInt;
11204
+ var Symbol$6 = global$b.Symbol;
11247
11205
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
11248
11206
  var hex = /^[+-]?0x/i;
11249
11207
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11268,7 +11226,7 @@
11268
11226
  });
11269
11227
 
11270
11228
  const _excluded$7 = ["children"];
11271
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
11229
+ var _jsxFileName$n = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
11272
11230
  const NotificationBadgeRootStyle = styled('span', {
11273
11231
  position: 'relative',
11274
11232
  display: 'inline-flex',
@@ -11412,7 +11370,7 @@
11412
11370
  };
11413
11371
 
11414
11372
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
11415
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
11373
+ var _jsxFileName$m = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
11416
11374
  const PaperComponent = styled('div', {
11417
11375
  padding: '20px',
11418
11376
  height: 'auto',
@@ -11610,14 +11568,13 @@
11610
11568
  DialogOverlay.displayName = 'DialogOverlay';
11611
11569
  DialogPortal.displayName = 'DialogPortal';
11612
11570
 
11613
- var global$j = global$U;
11614
11571
  var isPrototypeOf$1 = objectIsPrototypeOf;
11615
11572
 
11616
- var TypeError$8 = global$j.TypeError;
11573
+ var $TypeError$4 = TypeError;
11617
11574
 
11618
11575
  var anInstance$3 = function (it, Prototype) {
11619
11576
  if (isPrototypeOf$1(Prototype, it)) return it;
11620
- throw TypeError$8('Incorrect invocation');
11577
+ throw $TypeError$4('Incorrect invocation');
11621
11578
  };
11622
11579
 
11623
11580
  var uncurryThis$c = functionUncurryThis;
@@ -11673,16 +11630,15 @@
11673
11630
  || called;
11674
11631
  }) ? isConstructorLegacy : isConstructorModern;
11675
11632
 
11676
- var global$i = global$U;
11677
11633
  var isConstructor$1 = isConstructor$2;
11678
- var tryToString$2 = tryToString$4;
11634
+ var tryToString$2 = tryToString$5;
11679
11635
 
11680
- var TypeError$7 = global$i.TypeError;
11636
+ var $TypeError$3 = TypeError;
11681
11637
 
11682
11638
  // `Assert: IsConstructor(argument) is true`
11683
11639
  var aConstructor$1 = function (argument) {
11684
11640
  if (isConstructor$1(argument)) return argument;
11685
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
11641
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
11686
11642
  };
11687
11643
 
11688
11644
  var anObject$8 = anObject$i;
@@ -11728,12 +11684,10 @@
11728
11684
 
11729
11685
  var arraySlice$3 = uncurryThis$a([].slice);
11730
11686
 
11731
- var global$h = global$U;
11732
-
11733
- var TypeError$6 = global$h.TypeError;
11687
+ var $TypeError$2 = TypeError;
11734
11688
 
11735
11689
  var validateArgumentsLength$3 = function (passed, required) {
11736
- if (passed < required) throw TypeError$6('Not enough arguments');
11690
+ if (passed < required) throw $TypeError$2('Not enough arguments');
11737
11691
  return passed;
11738
11692
  };
11739
11693
 
@@ -11741,7 +11695,7 @@
11741
11695
 
11742
11696
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
11743
11697
 
11744
- var global$g = global$U;
11698
+ var global$a = global$s;
11745
11699
  var apply$2 = functionApply;
11746
11700
  var bind$6 = functionBindContext;
11747
11701
  var isCallable$5 = isCallable$p;
@@ -11754,13 +11708,13 @@
11754
11708
  var IS_IOS$1 = engineIsIos;
11755
11709
  var IS_NODE$2 = engineIsNode;
11756
11710
 
11757
- var set = global$g.setImmediate;
11758
- var clear = global$g.clearImmediate;
11759
- var process$2 = global$g.process;
11760
- var Dispatch = global$g.Dispatch;
11761
- var Function$1 = global$g.Function;
11762
- var MessageChannel = global$g.MessageChannel;
11763
- var String$2 = global$g.String;
11711
+ var set = global$a.setImmediate;
11712
+ var clear = global$a.clearImmediate;
11713
+ var process$2 = global$a.process;
11714
+ var Dispatch = global$a.Dispatch;
11715
+ var Function$1 = global$a.Function;
11716
+ var MessageChannel = global$a.MessageChannel;
11717
+ var String$1 = global$a.String;
11764
11718
  var counter = 0;
11765
11719
  var queue$1 = {};
11766
11720
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -11768,7 +11722,7 @@
11768
11722
 
11769
11723
  try {
11770
11724
  // Deno throws a ReferenceError on `location` access without `--location` flag
11771
- location = global$g.location;
11725
+ location = global$a.location;
11772
11726
  } catch (error) { /* empty */ }
11773
11727
 
11774
11728
  var run = function (id) {
@@ -11791,7 +11745,7 @@
11791
11745
 
11792
11746
  var post = function (id) {
11793
11747
  // old engines have not location.origin
11794
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
11748
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
11795
11749
  };
11796
11750
 
11797
11751
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -11829,14 +11783,14 @@
11829
11783
  // Browsers with postMessage, skip WebWorkers
11830
11784
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
11831
11785
  } else if (
11832
- global$g.addEventListener &&
11833
- isCallable$5(global$g.postMessage) &&
11834
- !global$g.importScripts &&
11786
+ global$a.addEventListener &&
11787
+ isCallable$5(global$a.postMessage) &&
11788
+ !global$a.importScripts &&
11835
11789
  location && location.protocol !== 'file:' &&
11836
11790
  !fails$5(post)
11837
11791
  ) {
11838
11792
  defer = post;
11839
- global$g.addEventListener('message', listener, false);
11793
+ global$a.addEventListener('message', listener, false);
11840
11794
  // IE8-
11841
11795
  } else if (ONREADYSTATECHANGE in createElement('script')) {
11842
11796
  defer = function (id) {
@@ -11859,15 +11813,15 @@
11859
11813
  };
11860
11814
 
11861
11815
  var userAgent$1 = engineUserAgent;
11862
- var global$f = global$U;
11816
+ var global$9 = global$s;
11863
11817
 
11864
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
11818
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
11865
11819
 
11866
11820
  var userAgent = engineUserAgent;
11867
11821
 
11868
11822
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
11869
11823
 
11870
- var global$e = global$U;
11824
+ var global$8 = global$s;
11871
11825
  var bind$5 = functionBindContext;
11872
11826
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
11873
11827
  var macrotask = task$1.set;
@@ -11876,12 +11830,12 @@
11876
11830
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
11877
11831
  var IS_NODE$1 = engineIsNode;
11878
11832
 
11879
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
11880
- var document$2 = global$e.document;
11881
- var process$1 = global$e.process;
11882
- var Promise$1 = global$e.Promise;
11833
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
11834
+ var document$2 = global$8.document;
11835
+ var process$1 = global$8.process;
11836
+ var Promise$1 = global$8.Promise;
11883
11837
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
11884
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
11838
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
11885
11839
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
11886
11840
 
11887
11841
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -11937,7 +11891,7 @@
11937
11891
  // - setTimeout
11938
11892
  } else {
11939
11893
  // strange IE + webpack dev server bug - use .bind(global)
11940
- macrotask = bind$5(macrotask, global$e);
11894
+ macrotask = bind$5(macrotask, global$8);
11941
11895
  notify$1 = function () {
11942
11896
  macrotask(flush);
11943
11897
  };
@@ -11953,10 +11907,10 @@
11953
11907
  } last = task;
11954
11908
  };
11955
11909
 
11956
- var global$d = global$U;
11910
+ var global$7 = global$s;
11957
11911
 
11958
11912
  var hostReportErrors$1 = function (a, b) {
11959
- var console = global$d.console;
11913
+ var console = global$7.console;
11960
11914
  if (console && console.error) {
11961
11915
  arguments.length == 1 ? console.error(a) : console.error(a, b);
11962
11916
  }
@@ -11994,13 +11948,13 @@
11994
11948
 
11995
11949
  var queue = Queue$1;
11996
11950
 
11997
- var global$c = global$U;
11951
+ var global$6 = global$s;
11998
11952
 
11999
- var promiseNativeConstructor = global$c.Promise;
11953
+ var promiseNativeConstructor = global$6.Promise;
12000
11954
 
12001
11955
  var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
12002
11956
 
12003
- var global$b = global$U;
11957
+ var global$5 = global$s;
12004
11958
  var NativePromiseConstructor$3 = promiseNativeConstructor;
12005
11959
  var isCallable$4 = isCallable$p;
12006
11960
  var isForced = isForced_1;
@@ -12012,7 +11966,7 @@
12012
11966
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
12013
11967
  var SPECIES = wellKnownSymbol$6('species');
12014
11968
  var SUBCLASSING = false;
12015
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
11969
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
12016
11970
 
12017
11971
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
12018
11972
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -12067,7 +12021,7 @@
12067
12021
 
12068
12022
  var $$9 = _export;
12069
12023
  var IS_NODE = engineIsNode;
12070
- var global$a = global$U;
12024
+ var global$4 = global$s;
12071
12025
  var call$a = functionCall;
12072
12026
  var defineBuiltIn$4 = defineBuiltIn$b;
12073
12027
  var setPrototypeOf = objectSetPrototypeOf;
@@ -12097,13 +12051,13 @@
12097
12051
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
12098
12052
  var PromiseConstructor = NativePromiseConstructor$2;
12099
12053
  var PromisePrototype = NativePromisePrototype$1;
12100
- var TypeError$5 = global$a.TypeError;
12101
- var document$1 = global$a.document;
12102
- var process = global$a.process;
12054
+ var TypeError$3 = global$4.TypeError;
12055
+ var document$1 = global$4.document;
12056
+ var process = global$4.process;
12103
12057
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
12104
12058
  var newGenericPromiseCapability = newPromiseCapability$1;
12105
12059
 
12106
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
12060
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
12107
12061
  var UNHANDLED_REJECTION = 'unhandledrejection';
12108
12062
  var REJECTION_HANDLED = 'rejectionhandled';
12109
12063
  var PENDING = 0;
@@ -12144,7 +12098,7 @@
12144
12098
  }
12145
12099
  }
12146
12100
  if (result === reaction.promise) {
12147
- reject(TypeError$5('Promise-chain cycle'));
12101
+ reject(TypeError$3('Promise-chain cycle'));
12148
12102
  } else if (then = isThenable(result)) {
12149
12103
  call$a(then, result, resolve, reject);
12150
12104
  } else resolve(result);
@@ -12176,14 +12130,14 @@
12176
12130
  event.promise = promise;
12177
12131
  event.reason = reason;
12178
12132
  event.initEvent(name, false, true);
12179
- global$a.dispatchEvent(event);
12133
+ global$4.dispatchEvent(event);
12180
12134
  } else event = { promise: promise, reason: reason };
12181
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
12135
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
12182
12136
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
12183
12137
  };
12184
12138
 
12185
12139
  var onUnhandled = function (state) {
12186
- call$a(task, global$a, function () {
12140
+ call$a(task, global$4, function () {
12187
12141
  var promise = state.facade;
12188
12142
  var value = state.value;
12189
12143
  var IS_UNHANDLED = isUnhandled(state);
@@ -12206,7 +12160,7 @@
12206
12160
  };
12207
12161
 
12208
12162
  var onHandleUnhandled = function (state) {
12209
- call$a(task, global$a, function () {
12163
+ call$a(task, global$4, function () {
12210
12164
  var promise = state.facade;
12211
12165
  if (IS_NODE) {
12212
12166
  process.emit('rejectionHandled', promise);
@@ -12234,7 +12188,7 @@
12234
12188
  state.done = true;
12235
12189
  if (unwrap) state = unwrap;
12236
12190
  try {
12237
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
12191
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
12238
12192
  var then = isThenable(value);
12239
12193
  if (then) {
12240
12194
  microtask(function () {
@@ -12376,19 +12330,18 @@
12376
12330
  || Iterators[classof$1(it)];
12377
12331
  };
12378
12332
 
12379
- var global$9 = global$U;
12380
12333
  var call$9 = functionCall;
12381
12334
  var aCallable$2 = aCallable$9;
12382
12335
  var anObject$7 = anObject$i;
12383
- var tryToString$1 = tryToString$4;
12336
+ var tryToString$1 = tryToString$5;
12384
12337
  var getIteratorMethod$3 = getIteratorMethod$4;
12385
12338
 
12386
- var TypeError$4 = global$9.TypeError;
12339
+ var $TypeError$1 = TypeError;
12387
12340
 
12388
12341
  var getIterator$3 = function (argument, usingIterator) {
12389
12342
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
12390
12343
  if (aCallable$2(iteratorMethod)) return anObject$7(call$9(iteratorMethod, argument));
12391
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
12344
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
12392
12345
  };
12393
12346
 
12394
12347
  var call$8 = functionCall;
@@ -12415,11 +12368,10 @@
12415
12368
  return value;
12416
12369
  };
12417
12370
 
12418
- var global$8 = global$U;
12419
12371
  var bind$3 = functionBindContext;
12420
12372
  var call$7 = functionCall;
12421
12373
  var anObject$5 = anObject$i;
12422
- var tryToString = tryToString$4;
12374
+ var tryToString = tryToString$5;
12423
12375
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
12424
12376
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
12425
12377
  var isPrototypeOf = objectIsPrototypeOf;
@@ -12427,7 +12379,7 @@
12427
12379
  var getIteratorMethod$2 = getIteratorMethod$4;
12428
12380
  var iteratorClose$1 = iteratorClose$2;
12429
12381
 
12430
- var TypeError$3 = global$8.TypeError;
12382
+ var $TypeError = TypeError;
12431
12383
 
12432
12384
  var Result = function (stopped, result) {
12433
12385
  this.stopped = stopped;
@@ -12460,7 +12412,7 @@
12460
12412
  iterator = iterable;
12461
12413
  } else {
12462
12414
  iterFn = getIteratorMethod$2(iterable);
12463
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
12415
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
12464
12416
  // optimisation for array iterators
12465
12417
  if (isArrayIteratorMethod$1(iterFn)) {
12466
12418
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -12883,7 +12835,7 @@
12883
12835
  };
12884
12836
 
12885
12837
  const _excluded$5 = ["children"];
12886
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12838
+ var _jsxFileName$l = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12887
12839
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
12888
12840
  const {
12889
12841
  sizes
@@ -14636,7 +14588,7 @@
14636
14588
  return null;
14637
14589
  };
14638
14590
 
14639
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14591
+ var _jsxFileName$k = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14640
14592
  const Input$2 = styled('input', {
14641
14593
  display: 'none'
14642
14594
  });
@@ -14874,23 +14826,23 @@
14874
14826
  })));
14875
14827
  };
14876
14828
  NativeTimePicker.propTypes = {
14877
- /**
14878
- Resize time picker.
14829
+ /**
14830
+ Resize time picker.
14879
14831
  */
14880
14832
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
14881
14833
 
14882
- /**
14883
- Change handler.
14834
+ /**
14835
+ Change handler.
14884
14836
  */
14885
14837
  onChange: PropTypes__default["default"].func,
14886
14838
 
14887
- /**
14888
- Time picker default value, support moment format.
14839
+ /**
14840
+ Time picker default value, support moment format.
14889
14841
  */
14890
14842
  defaultValue: PropTypes__default["default"].instanceOf(Date),
14891
14843
 
14892
- /**
14893
- Time picker value, support moment format.
14844
+ /**
14845
+ Time picker value, support moment format.
14894
14846
  */
14895
14847
  value: PropTypes__default["default"].instanceOf(Date)
14896
14848
  };
@@ -14932,39 +14884,39 @@
14932
14884
  };
14933
14885
  TimePicker.displayName = 'TimePicker';
14934
14886
  TimePicker.propTypes = {
14935
- /**
14936
- Additional styles.
14887
+ /**
14888
+ Additional styles.
14937
14889
  */
14938
14890
  css: PropTypes__default["default"].object,
14939
14891
 
14940
- /**
14941
- Resize time picker.
14892
+ /**
14893
+ Resize time picker.
14942
14894
  */
14943
14895
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
14944
14896
 
14945
- /**
14946
- Change handler.
14897
+ /**
14898
+ Change handler.
14947
14899
  */
14948
14900
  onChange: PropTypes__default["default"].func,
14949
14901
 
14950
- /**
14951
- Time picker default value, support moment format.
14902
+ /**
14903
+ Time picker default value, support moment format.
14952
14904
  */
14953
14905
  defaultValue: PropTypes__default["default"].instanceOf(Date),
14954
14906
 
14955
- /**
14956
- Time picker value, support moment format.
14907
+ /**
14908
+ Time picker value, support moment format.
14957
14909
  */
14958
14910
  value: PropTypes__default["default"].instanceOf(Date),
14959
14911
 
14960
- /**
14961
- Disabled state.
14912
+ /**
14913
+ Disabled state.
14962
14914
  */
14963
14915
  disabled: PropTypes__default["default"].bool
14964
14916
  };
14965
14917
  NativeTimePicker.displayName = 'NativeTimePicker';
14966
14918
 
14967
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14919
+ var _jsxFileName$j = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14968
14920
 
14969
14921
  const getInputPickerValue$1 = date => {
14970
14922
  if (!date) return;
@@ -15131,43 +15083,43 @@
15131
15083
  placeholder: 'Select Time'
15132
15084
  };
15133
15085
  InputTimePicker.propTypes = {
15134
- /**
15135
- Additional styles.
15086
+ /**
15087
+ Additional styles.
15136
15088
  */
15137
15089
  css: PropTypes__default["default"].object,
15138
15090
 
15139
- /**
15140
- Disabled state.
15091
+ /**
15092
+ Disabled state.
15141
15093
  */
15142
15094
  disabled: PropTypes__default["default"].bool,
15143
15095
 
15144
- /**
15145
- Resize time picker.
15096
+ /**
15097
+ Resize time picker.
15146
15098
  */
15147
15099
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
15148
15100
 
15149
- /**
15150
- Custom placeholder input time picker.
15101
+ /**
15102
+ Custom placeholder input time picker.
15151
15103
  */
15152
15104
  placeholder: PropTypes__default["default"].string,
15153
15105
 
15154
- /**
15155
- Time picker default value, support moment format.
15106
+ /**
15107
+ Time picker default value, support moment format.
15156
15108
  */
15157
15109
  defaultValue: PropTypes__default["default"].instanceOf(Date),
15158
15110
 
15159
- /**
15160
- Time picker value, support moment format.
15111
+ /**
15112
+ Time picker value, support moment format.
15161
15113
  */
15162
15114
  value: PropTypes__default["default"].instanceOf(Date),
15163
15115
 
15164
- /**
15165
- Change handler.
15116
+ /**
15117
+ Change handler.
15166
15118
  */
15167
15119
  onChange: PropTypes__default["default"].func,
15168
15120
 
15169
- /**
15170
- Placement popover input time picker.
15121
+ /**
15122
+ Placement popover input time picker.
15171
15123
  */
15172
15124
  placement: PropTypes__default["default"].string
15173
15125
  };
@@ -15654,7 +15606,7 @@
15654
15606
  };
15655
15607
 
15656
15608
  const _excluded$4 = ["isActive", "onClick"];
15657
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15609
+ var _jsxFileName$i = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15658
15610
  const PrevNextButton = styled(Text$1, {
15659
15611
  padding: '$spacing-01',
15660
15612
  cursor: 'pointer',
@@ -15911,7 +15863,7 @@
15911
15863
  };
15912
15864
 
15913
15865
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
15914
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15866
+ var _jsxFileName$h = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15915
15867
  const LimitContainer = styled(Flex$1, {
15916
15868
  cursor: 'pointer'
15917
15869
  });
@@ -16048,7 +16000,7 @@
16048
16000
  }
16049
16001
 
16050
16002
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
16051
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
16003
+ var _jsxFileName$g = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
16052
16004
 
16053
16005
  function Pagination(_ref) {
16054
16006
  let {
@@ -16164,8 +16116,9 @@
16164
16116
  footer = _a.footer,
16165
16117
  infiniteScrollWrapper = _a.infiniteScrollWrapper,
16166
16118
  isLoading = _a.isLoading,
16167
- rowGroup = _a.rowGroup,
16168
- css = _a.css;
16119
+ rowGroup = _a.rowGroup;
16120
+ _a.hiddenColumns;
16121
+ var css = _a.css;
16169
16122
  var getTableProps = instance.getTableProps,
16170
16123
  getTableBodyProps = instance.getTableBodyProps,
16171
16124
  headerGroups = instance.headerGroups,
@@ -16183,10 +16136,11 @@
16183
16136
  children: [jsxRuntime.jsx(TableHead$2, {
16184
16137
  children: headerGroups.map(function (headerGroup) {
16185
16138
  return jsxRuntime.jsx(TableHeadRow$3, __assign({}, headerGroup.getHeaderGroupProps(), {
16186
- children: headerGroup.headers.map(function (column) {
16139
+ children: headerGroup.headers.filter(function (column) {
16140
+ return column.isMobileHeader || column.id === 'selection';
16141
+ }).map(function (column) {
16187
16142
  var headerRender = column.render('Header');
16188
- return jsxRuntime.jsx(TableHeadCell$3, __assign({}, column.getHeaderProps( // column.getSortByToggleProps && !column.unsortable
16189
- !column.unsortable ? column.getSortByToggleProps({
16143
+ return jsxRuntime.jsx(TableHeadCell$3, __assign({}, column.getHeaderProps(!column.unsortable ? column.getSortByToggleProps({
16190
16144
  title: 'Urutkan'
16191
16145
  }) : {}), {
16192
16146
  children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
@@ -16223,7 +16177,9 @@
16223
16177
  children: row.cells[0].render('Cell')
16224
16178
  }), void 0)
16225
16179
  }), void 0)), jsxRuntime.jsx(TableRow$3, __assign({}, row.getRowProps(), {
16226
- children: row.cells.map(function (cell) {
16180
+ children: row.cells.filter(function (cell) {
16181
+ return cell.column.isMobileHeader || cell.column.id === 'selection';
16182
+ }).map(function (cell) {
16227
16183
  return jsxRuntime.jsx(TableCell$3, __assign({}, cell.getCellProps(addOnCellStyle(cell.column.id)), {
16228
16184
  children: cell.column.accessor ? jsxRuntime.jsxs(Flex$1, __assign({
16229
16185
  justify: "between",
@@ -16250,7 +16206,7 @@
16250
16206
  children: [jsxRuntime.jsx(Flex$1, __assign({
16251
16207
  direction: "column"
16252
16208
  }, {
16253
- children: row.allCells.filter(function (cell) {
16209
+ children: row.cells.filter(function (cell) {
16254
16210
  return !cell.column.isMobileHeader && cell.column.accessor;
16255
16211
  }).map(function (cell) {
16256
16212
  var _a;
@@ -16260,7 +16216,7 @@
16260
16216
  justify: "between",
16261
16217
  css: {
16262
16218
  backgroundColor: colors.bgGray,
16263
- padding: '$spacing-03 $spacing-05',
16219
+ padding: "$spacing-03 $spacing-05 ".concat('selection' in row.values ? '$spacing-03 $spacing-07' : ''),
16264
16220
  borderBottom: '1pt solid $bgBorder'
16265
16221
  }
16266
16222
  }, {
@@ -16567,7 +16523,9 @@
16567
16523
  _m = _a.cellAlign,
16568
16524
  cellAlign = _m === void 0 ? 'center' : _m,
16569
16525
  selectedIds = _a.selectedIds,
16570
- rowGroup = _a.rowGroup;
16526
+ rowGroup = _a.rowGroup,
16527
+ hiddenColumns = _a.hiddenColumns,
16528
+ columnOrder = _a.columnOrder;
16571
16529
 
16572
16530
  var _o = React.useState(rowLimit),
16573
16531
  limit = _o[0],
@@ -16606,12 +16564,12 @@
16606
16564
  getRowId: function (row) {
16607
16565
  return row[keyId] || JSON.stringify(row);
16608
16566
  }
16609
- }, reactTable.useSortBy, reactTable.useExpanded, reactTable.usePagination, reactTable.useRowSelect, reactTableSticky.useSticky);
16567
+ }, reactTable.useSortBy, reactTable.useExpanded, reactTable.usePagination, reactTable.useRowSelect, reactTableSticky.useSticky, reactTable.useColumnOrder);
16610
16568
  var getTableProps = instance.getTableProps,
16611
16569
  getTableBodyProps = instance.getTableBodyProps,
16612
- headerGroups = instance.headerGroups,
16613
- allColumns = instance.allColumns,
16614
- visibleColumns = instance.visibleColumns,
16570
+ headerGroups = instance.headerGroups;
16571
+ instance.allColumns;
16572
+ var visibleColumns = instance.visibleColumns,
16615
16573
  prepareRow = instance.prepareRow,
16616
16574
  page = instance.page,
16617
16575
  gotoPage = instance.gotoPage,
@@ -16621,7 +16579,9 @@
16621
16579
  pageIndex = _p.pageIndex,
16622
16580
  pageSize = _p.pageSize,
16623
16581
  sortBy = _p.sortBy,
16624
- selectedRowIds = _p.selectedRowIds;
16582
+ selectedRowIds = _p.selectedRowIds,
16583
+ setHiddenColumns = instance.setHiddenColumns,
16584
+ setColumnOrder = instance.setColumnOrder;
16625
16585
 
16626
16586
  var doFetchData = function doFetchData(pageIndex, pageSize, sortAccessor, sortDirection) {
16627
16587
  if (sortAccessor === void 0) {
@@ -16691,25 +16651,15 @@
16691
16651
  }), void 0);
16692
16652
  };
16693
16653
 
16654
+ React.useEffect(function () {
16655
+ if (hiddenColumns) setHiddenColumns(hiddenColumns);
16656
+ }, [hiddenColumns]);
16657
+ React.useEffect(function () {
16658
+ if (columnOrder) setColumnOrder(columnOrder);
16659
+ }, [columnOrder]);
16694
16660
  React.useEffect(function () {
16695
16661
  setPageSize(rowLimit);
16696
16662
  }, [rowLimit]);
16697
- React.useEffect(function () {
16698
- if (isMobile) {
16699
- allColumns.map(function (column) {
16700
- if (!column.isMobileHeader && column.id !== 'selection') {
16701
- column.toggleHidden(true);
16702
- }
16703
-
16704
- return column;
16705
- });
16706
- } else {
16707
- allColumns.map(function (column) {
16708
- column.toggleHidden(false);
16709
- return column;
16710
- });
16711
- }
16712
- }, [allColumns, isMobile]);
16713
16663
  React.useEffect(function () {
16714
16664
  gotoPage(controlledPageIndex);
16715
16665
  }, [controlledPageIndex]);
@@ -16855,7 +16805,8 @@
16855
16805
  }), void 0)), jsxRuntime.jsx(TableRow$2, __assign({}, row.getRowProps(), {
16856
16806
  children: row.cells.filter(function (cell) {
16857
16807
  return !cell.column.isSubRow;
16858
- }).map(function (cell, index) {
16808
+ }).map(function (cell) {
16809
+ console.log(cell);
16859
16810
  return jsxRuntime.jsx(TableCell$2, __assign({}, cell.getCellProps(addOnCellStyle(cell.column.id)), {
16860
16811
  css: __assign({
16861
16812
  padding: cell.column.accessor ? '20px 8px' : '20px 20px',
@@ -16937,6 +16888,7 @@
16937
16888
  infiniteScrollWrapper: renderInfiniteScrollWrapper,
16938
16889
  isLoading: isLoading,
16939
16890
  rowGroup: rowGroup,
16891
+ hiddenColumns: hiddenColumns,
16940
16892
  css: css
16941
16893
  }, void 0)]
16942
16894
  }), void 0);
@@ -16955,7 +16907,7 @@
16955
16907
  return jsxRuntime.jsx("div", {}, void 0);
16956
16908
  };
16957
16909
 
16958
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16910
+ var _jsxFileName$f = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16959
16911
 
16960
16912
  const DateColumn = ({
16961
16913
  value
@@ -16990,12 +16942,11 @@
16990
16942
  // https://tc39.es/ecma262/#sec-thisnumbervalue
16991
16943
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
16992
16944
 
16993
- var global$7 = global$U;
16994
16945
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
16995
16946
  var toString$7 = toString$h;
16996
16947
  var requireObjectCoercible$3 = requireObjectCoercible$a;
16997
16948
 
16998
- var RangeError$2 = global$7.RangeError;
16949
+ var $RangeError$2 = RangeError;
16999
16950
 
17000
16951
  // `String.prototype.repeat` method implementation
17001
16952
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -17003,21 +16954,20 @@
17003
16954
  var str = toString$7(requireObjectCoercible$3(this));
17004
16955
  var result = '';
17005
16956
  var n = toIntegerOrInfinity$3(count);
17006
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
16957
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
17007
16958
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
17008
16959
  return result;
17009
16960
  };
17010
16961
 
17011
16962
  var $$3 = _export;
17012
- var global$6 = global$U;
17013
16963
  var uncurryThis$8 = functionUncurryThis;
17014
16964
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
17015
16965
  var thisNumberValue = thisNumberValue$1;
17016
16966
  var $repeat = stringRepeat;
17017
16967
  var fails$4 = fails$s;
17018
16968
 
17019
- var RangeError$1 = global$6.RangeError;
17020
- var String$1 = global$6.String;
16969
+ var $RangeError$1 = RangeError;
16970
+ var $String = String;
17021
16971
  var floor$3 = Math.floor;
17022
16972
  var repeat = uncurryThis$8($repeat);
17023
16973
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -17065,7 +17015,7 @@
17065
17015
  var s = '';
17066
17016
  while (--index >= 0) {
17067
17017
  if (s !== '' || index === 0 || data[index] !== 0) {
17068
- var t = String$1(data[index]);
17018
+ var t = $String(data[index]);
17069
17019
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
17070
17020
  }
17071
17021
  } return s;
@@ -17093,10 +17043,10 @@
17093
17043
  var e, z, j, k;
17094
17044
 
17095
17045
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
17096
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
17046
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
17097
17047
  // eslint-disable-next-line no-self-compare -- NaN check
17098
17048
  if (number != number) return 'NaN';
17099
- if (number <= -1e21 || number >= 1e21) return String$1(number);
17049
+ if (number <= -1e21 || number >= 1e21) return $String(number);
17100
17050
  if (number < 0) {
17101
17051
  sign = '-';
17102
17052
  number = -number;
@@ -17140,7 +17090,7 @@
17140
17090
  }
17141
17091
  });
17142
17092
 
17143
- var global$5 = global$U;
17093
+ var global$3 = global$s;
17144
17094
  var fails$3 = fails$s;
17145
17095
  var uncurryThis$7 = functionUncurryThis;
17146
17096
  var toString$6 = toString$h;
@@ -17148,8 +17098,8 @@
17148
17098
  var whitespaces = whitespaces$3;
17149
17099
 
17150
17100
  var charAt$6 = uncurryThis$7(''.charAt);
17151
- var n$ParseFloat = global$5.parseFloat;
17152
- var Symbol$5 = global$5.Symbol;
17101
+ var n$ParseFloat = global$3.parseFloat;
17102
+ var Symbol$5 = global$3.Symbol;
17153
17103
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
17154
17104
  var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity
17155
17105
  // MS Edge 18- broken with boxed symbols
@@ -17638,7 +17588,7 @@
17638
17588
  return addThousandSeparator(param);
17639
17589
  };
17640
17590
 
17641
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17591
+ var _jsxFileName$e = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17642
17592
  const rowExpanderColumn = {
17643
17593
  id: 'expander',
17644
17594
  Header: () => null,
@@ -17680,7 +17630,7 @@
17680
17630
  unsortable: true
17681
17631
  };
17682
17632
 
17683
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17633
+ var _jsxFileName$d = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17684
17634
 
17685
17635
  const rowMenuColumn = (options, icon, config) => ({
17686
17636
  id: 'menu',
@@ -17889,6 +17839,9 @@
17889
17839
  }, /*#__PURE__*/React__default["default"].createElement(Box, {
17890
17840
  type: "button",
17891
17841
  role: "button",
17842
+ css: {
17843
+ cursor: 'pointer'
17844
+ },
17892
17845
  onClick: () => {
17893
17846
  setOpenModal(false);
17894
17847
  option.onClick(props);
@@ -17905,7 +17858,7 @@
17905
17858
  __self: undefined,
17906
17859
  __source: {
17907
17860
  fileName: _jsxFileName$d,
17908
- lineNumber: 95,
17861
+ lineNumber: 98,
17909
17862
  columnNumber: 21
17910
17863
  }
17911
17864
  }, option.title)), /*#__PURE__*/React__default["default"].createElement(Separator$2, {
@@ -17913,7 +17866,7 @@
17913
17866
  __self: undefined,
17914
17867
  __source: {
17915
17868
  fileName: _jsxFileName$d,
17916
- lineNumber: 99,
17869
+ lineNumber: 102,
17917
17870
  columnNumber: 19
17918
17871
  }
17919
17872
  })))))));
@@ -17921,7 +17874,7 @@
17921
17874
  unsortable: true
17922
17875
  });
17923
17876
 
17924
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17877
+ var _jsxFileName$c = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17925
17878
  const rowSelectionColumn = {
17926
17879
  id: 'selection',
17927
17880
  Header: ({
@@ -18181,7 +18134,7 @@
18181
18134
  };
18182
18135
 
18183
18136
  const _excluded$1 = ["children"];
18184
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
18137
+ var _jsxFileName$b = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
18185
18138
  const overlayShow = keyframes({
18186
18139
  '0%': {
18187
18140
  opacity: 0
@@ -18774,7 +18727,7 @@
18774
18727
  const AlertDialogConfirm = ADialog__namespace.Action;
18775
18728
 
18776
18729
  const _excluded = ["side", "align", "children"];
18777
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18730
+ var _jsxFileName$a = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18778
18731
  const Context = /*#__PURE__*/React__default["default"].createContext();
18779
18732
  const slideUpAndFade = keyframes({
18780
18733
  '0%': {
@@ -19108,7 +19061,6 @@
19108
19061
  }
19109
19062
  };
19110
19063
 
19111
- var global$4 = global$U;
19112
19064
  var bind$2 = functionBindContext;
19113
19065
  var call$1 = functionCall;
19114
19066
  var toObject = toObject$7;
@@ -19120,7 +19072,7 @@
19120
19072
  var getIterator$1 = getIterator$3;
19121
19073
  var getIteratorMethod$1 = getIteratorMethod$4;
19122
19074
 
19123
- var Array$1 = global$4.Array;
19075
+ var $Array = Array;
19124
19076
 
19125
19077
  // `Array.from` method implementation
19126
19078
  // https://tc39.es/ecma262/#sec-array.from
@@ -19135,7 +19087,7 @@
19135
19087
  var index = 0;
19136
19088
  var length, result, step, iterator, next, value;
19137
19089
  // if the target is not iterable or it's an array with the default iterator - use a simple case
19138
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
19090
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
19139
19091
  iterator = getIterator$1(O, iteratorMethod);
19140
19092
  next = iterator.next;
19141
19093
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -19145,7 +19097,7 @@
19145
19097
  }
19146
19098
  } else {
19147
19099
  length = lengthOfArrayLike(O);
19148
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
19100
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
19149
19101
  for (;length > index; index++) {
19150
19102
  value = mapping ? mapfn(O[index], index) : O[index];
19151
19103
  createProperty(result, index, value);
@@ -19156,7 +19108,6 @@
19156
19108
  };
19157
19109
 
19158
19110
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
19159
- var global$3 = global$U;
19160
19111
  var uncurryThis$2 = functionUncurryThis;
19161
19112
 
19162
19113
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -19173,7 +19124,7 @@
19173
19124
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
19174
19125
  var baseMinusTMin = base - tMin;
19175
19126
 
19176
- var RangeError = global$3.RangeError;
19127
+ var $RangeError = RangeError;
19177
19128
  var exec$1 = uncurryThis$2(regexSeparators.exec);
19178
19129
  var floor$1 = Math.floor;
19179
19130
  var fromCharCode = String.fromCharCode;
@@ -19288,7 +19239,7 @@
19288
19239
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
19289
19240
  var handledCPCountPlusOne = handledCPCount + 1;
19290
19241
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
19291
- throw RangeError(OVERFLOW_ERROR);
19242
+ throw $RangeError(OVERFLOW_ERROR);
19292
19243
  }
19293
19244
 
19294
19245
  delta += (m - n) * handledCPCountPlusOne;
@@ -19297,7 +19248,7 @@
19297
19248
  for (i = 0; i < input.length; i++) {
19298
19249
  currentValue = input[i];
19299
19250
  if (currentValue < n && ++delta > maxInt) {
19300
- throw RangeError(OVERFLOW_ERROR);
19251
+ throw $RangeError(OVERFLOW_ERROR);
19301
19252
  }
19302
19253
  if (currentValue == n) {
19303
19254
  // Represent delta as a generalized variable-length integer.
@@ -19347,7 +19298,7 @@
19347
19298
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
19348
19299
 
19349
19300
  var $$1 = _export;
19350
- var global$2 = global$U;
19301
+ var global$2 = global$s;
19351
19302
  var call = functionCall;
19352
19303
  var uncurryThis$1 = functionUncurryThis;
19353
19304
  var DESCRIPTORS$1 = descriptors;
@@ -19709,7 +19660,7 @@
19709
19660
  };
19710
19661
 
19711
19662
  if (isCallable(nativeFetch)) {
19712
- $$1({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
19663
+ $$1({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
19713
19664
  fetch: function fetch(input /* , init */) {
19714
19665
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
19715
19666
  }
@@ -19725,7 +19676,7 @@
19725
19676
  RequestPrototype.constructor = RequestConstructor;
19726
19677
  RequestConstructor.prototype = RequestPrototype;
19727
19678
 
19728
- $$1({ global: true, constructor: true, noTargetGet: true, forced: true }, {
19679
+ $$1({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
19729
19680
  Request: RequestConstructor
19730
19681
  });
19731
19682
  }
@@ -19741,7 +19692,7 @@
19741
19692
  var $ = _export;
19742
19693
  var DESCRIPTORS = descriptors;
19743
19694
  var USE_NATIVE_URL = nativeUrl;
19744
- var global$1 = global$U;
19695
+ var global$1 = global$s;
19745
19696
  var bind = functionBindContext;
19746
19697
  var uncurryThis = functionUncurryThis;
19747
19698
  var defineBuiltIn = defineBuiltIn$b;
@@ -20894,7 +20845,7 @@
20894
20845
  return promise;
20895
20846
  }
20896
20847
 
20897
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20848
+ var _jsxFileName$9 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20898
20849
  const Input$1 = styled('input', {
20899
20850
  display: 'none !important'
20900
20851
  });
@@ -21742,7 +21693,7 @@
21742
21693
  lineNumber: 645,
21743
21694
  columnNumber: 11
21744
21695
  }
21745
- }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
21696
+ }, children != null ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
21746
21697
  __self: this,
21747
21698
  __source: {
21748
21699
  fileName: _jsxFileName$9,
@@ -21960,136 +21911,136 @@
21960
21911
  ratio: 16 / 9
21961
21912
  };
21962
21913
  Upload.propTypes = {
21963
- /**
21964
- Progress of upload process
21914
+ /**
21915
+ Progress of upload process
21965
21916
  */
21966
21917
  progress: PropTypes__default["default"].number,
21967
21918
 
21968
- /**
21969
- Auto increment progress of upload process
21919
+ /**
21920
+ Auto increment progress of upload process
21970
21921
  */
21971
21922
  loading: PropTypes__default["default"].bool,
21972
21923
 
21973
- /**
21974
- Built-in stylesheets, support for two types.
21924
+ /**
21925
+ Built-in stylesheets, support for two types.
21975
21926
  */
21976
21927
  listType: PropTypes__default["default"].oneOf(['file', 'picture']),
21977
21928
 
21978
- /**
21979
- Whether to support selected multiple file.
21929
+ /**
21930
+ Whether to support selected multiple file.
21980
21931
  */
21981
21932
  multiple: PropTypes__default["default"].bool,
21982
21933
 
21983
- /**
21984
- List of files to be uploaded.
21934
+ /**
21935
+ List of files to be uploaded.
21985
21936
  */
21986
21937
  fileList: PropTypes__default["default"].array,
21987
21938
 
21988
- /**
21989
- A callback function, can be executed when uploading state is changing.
21939
+ /**
21940
+ A callback function, can be executed when uploading state is changing.
21990
21941
  */
21991
21942
  onChange: PropTypes__default["default"].func,
21992
21943
 
21993
- /**
21994
- A callback function, can be executed when uploading in progress.
21995
- `(progress) => void`
21944
+ /**
21945
+ A callback function, can be executed when uploading in progress.
21946
+ `(progress) => void`
21996
21947
  */
21997
21948
  onProgress: PropTypes__default["default"].func,
21998
21949
 
21999
- /**
22000
- A callback function, can be executed when uploading is success.
22001
- `(response) => void`
21950
+ /**
21951
+ A callback function, can be executed when uploading is success.
21952
+ `(response) => void`
22002
21953
  */
22003
21954
  onSuccess: PropTypes__default["default"].func,
22004
21955
 
22005
- /**
22006
- A callback function, can be executed when uploading is error.
22007
- `(error, response) => void`
21956
+ /**
21957
+ A callback function, can be executed when uploading is error.
21958
+ `(error, response) => void`
22008
21959
  */
22009
21960
  onError: PropTypes__default["default"].func,
22010
21961
 
22011
- /**
22012
- A callback function, can be executed when preview icon in picture type is clicked.
21962
+ /**
21963
+ A callback function, can be executed when preview icon in picture type is clicked.
22013
21964
  */
22014
21965
  onPreview: PropTypes__default["default"].func,
22015
21966
 
22016
- /**
22017
- A callback function, can be executed when remove icon is clicked.
21967
+ /**
21968
+ A callback function, can be executed when remove icon is clicked.
22018
21969
  */
22019
21970
  onRemove: PropTypes__default["default"].func,
22020
21971
 
22021
- /**
22022
- A custom element inside upload container.
21972
+ /**
21973
+ A custom element inside upload container.
22023
21974
  */
22024
21975
  children: PropTypes__default["default"].element,
22025
21976
 
22026
- /**
22027
- Limit the number of uploaded files.
21977
+ /**
21978
+ Limit the number of uploaded files.
22028
21979
  */
22029
21980
  max: PropTypes__default["default"].number,
22030
21981
 
22031
- /**
22032
- Limit file type of upload.
21982
+ /**
21983
+ Limit file type of upload.
22033
21984
  */
22034
21985
  accept: PropTypes__default["default"].string,
22035
21986
 
22036
- /**
22037
- Custom label for replace button.
21987
+ /**
21988
+ Custom label for replace button.
22038
21989
  */
22039
21990
  replaceLabel: PropTypes__default["default"].string,
22040
21991
 
22041
- /**
22042
- Custom width of upload container.
21992
+ /**
21993
+ Custom width of upload container.
22043
21994
  */
22044
21995
  width: PropTypes__default["default"].number,
22045
21996
 
22046
- /**
22047
- Custom height of upload container.
21997
+ /**
21998
+ Custom height of upload container.
22048
21999
  */
22049
22000
  height: PropTypes__default["default"].number,
22050
22001
 
22051
- /**
22052
- Additional css.
22002
+ /**
22003
+ Additional css.
22053
22004
  */
22054
22005
  css: PropTypes__default["default"].object,
22055
22006
 
22056
- /**
22057
- Custom title header of cropper modal.
22007
+ /**
22008
+ Custom title header of cropper modal.
22058
22009
  */
22059
22010
  cropperTitle: PropTypes__default["default"].string,
22060
22011
 
22061
- /**
22062
- Add image cropper on upload.
22012
+ /**
22013
+ Add image cropper on upload.
22063
22014
  */
22064
22015
  showCropper: PropTypes__default["default"].bool,
22065
22016
 
22066
- /**
22067
- 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.
22017
+ /**
22018
+ 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.
22068
22019
  */
22069
22020
  ratio: PropTypes__default["default"].number,
22070
22021
 
22071
- /**
22072
- API upload url, allows components to automatically upload directly to API service.
22022
+ /**
22023
+ API upload url, allows components to automatically upload directly to API service.
22073
22024
  */
22074
22025
  action: PropTypes__default["default"].string,
22075
22026
 
22076
- /**
22077
- Contains an authentication token for upload API.
22027
+ /**
22028
+ Contains an authentication token for upload API.
22078
22029
  */
22079
22030
  token: PropTypes__default["default"].string,
22080
22031
 
22081
- /**
22082
- Referencing the headers key to attach the token.
22032
+ /**
22033
+ Referencing the headers key to attach the token.
22083
22034
  */
22084
22035
  tokenKey: PropTypes__default["default"].string,
22085
22036
 
22086
- /**
22087
- Referencing the key to attach the file to be sent.
22037
+ /**
22038
+ Referencing the key to attach the file to be sent.
22088
22039
  */
22089
22040
  reqKey: PropTypes__default["default"].string,
22090
22041
 
22091
- /**
22092
- Referencing the key to get the file from the API response.
22042
+ /**
22043
+ Referencing the key to get the file from the API response.
22093
22044
  */
22094
22045
  resKey: PropTypes__default["default"].string
22095
22046
  };
@@ -22332,7 +22283,7 @@
22332
22283
 
22333
22284
  Device.displayName = 'DevicePreview';
22334
22285
 
22335
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
22286
+ var _jsxFileName$8 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
22336
22287
  const Separator$1 = styled('div', {
22337
22288
  height: 20,
22338
22289
  width: 1,
@@ -22444,28 +22395,28 @@
22444
22395
 
22445
22396
  InputColorPicker.displayName = 'InputColorPicker';
22446
22397
  InputColorPicker.propTypes = {
22447
- /**
22448
- Color code to be displayed.
22398
+ /**
22399
+ Color code to be displayed.
22449
22400
  */
22450
22401
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
22451
22402
 
22452
- /**
22453
- Additional color list.
22403
+ /**
22404
+ Additional color list.
22454
22405
  */
22455
22406
  presetColors: PropTypes__default["default"].array,
22456
22407
 
22457
- /**
22458
- Change event handler.
22408
+ /**
22409
+ Change event handler.
22459
22410
  */
22460
22411
  onChange: PropTypes__default["default"].func,
22461
22412
 
22462
- /**
22463
- Add preset color event handler.
22413
+ /**
22414
+ Add preset color event handler.
22464
22415
  */
22465
22416
  onAddColor: PropTypes__default["default"].func,
22466
22417
 
22467
- /**
22468
- Disable opacity selector.
22418
+ /**
22419
+ Disable opacity selector.
22469
22420
  */
22470
22421
  disableAlpha: PropTypes__default["default"].bool
22471
22422
  };
@@ -22475,7 +22426,7 @@
22475
22426
 
22476
22427
  var img = "data:image/gif;base64,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";
22477
22428
 
22478
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
22429
+ var _jsxFileName$7 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
22479
22430
  const Container$3 = styled('div', {
22480
22431
  userSelect: 'none',
22481
22432
  margin: 'auto',
@@ -24439,7 +24390,7 @@
24439
24390
  })));
24440
24391
  }
24441
24392
 
24442
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
24393
+ var _jsxFileName$6 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
24443
24394
  const CheckBoard = styled(Flex$1, {
24444
24395
  background: '$bgwhite',
24445
24396
  border: '1px solid #E5E7EB',
@@ -24640,7 +24591,7 @@
24640
24591
  }, "%")));
24641
24592
  }
24642
24593
 
24643
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
24594
+ var _jsxFileName$5 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
24644
24595
  const Container$2 = styled(Flex$1, {
24645
24596
  background: '$white',
24646
24597
  padding: 16,
@@ -25143,28 +25094,28 @@
25143
25094
  }
25144
25095
 
25145
25096
  ColorPicker.propTypes = {
25146
- /**
25147
- Color code to be displayed.
25097
+ /**
25098
+ Color code to be displayed.
25148
25099
  */
25149
25100
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
25150
25101
 
25151
- /**
25152
- Additional color list
25102
+ /**
25103
+ Additional color list
25153
25104
  */
25154
25105
  presetColors: PropTypes__default["default"].array,
25155
25106
 
25156
- /**
25157
- Change event handler
25107
+ /**
25108
+ Change event handler
25158
25109
  */
25159
25110
  onChange: PropTypes__default["default"].func,
25160
25111
 
25161
- /**
25162
- Add preset color event handler
25112
+ /**
25113
+ Add preset color event handler
25163
25114
  */
25164
25115
  onAddColor: PropTypes__default["default"].func,
25165
25116
 
25166
- /**
25167
- Disable opacity selector
25117
+ /**
25118
+ Disable opacity selector
25168
25119
  */
25169
25120
  disableAlpha: PropTypes__default["default"].bool
25170
25121
  };
@@ -25173,7 +25124,7 @@
25173
25124
  };
25174
25125
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
25175
25126
 
25176
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
25127
+ var _jsxFileName$4 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
25177
25128
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
25178
25129
  const Stepper = StepWizard__default["default"];
25179
25130
  Stepper.displayName = 'Stepper';
@@ -25583,7 +25534,7 @@
25583
25534
  }), void 0);
25584
25535
  };
25585
25536
 
25586
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
25537
+ var _jsxFileName$3 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
25587
25538
 
25588
25539
  function Collapse({
25589
25540
  children,
@@ -25628,7 +25579,7 @@
25628
25579
  isOpen: false
25629
25580
  };
25630
25581
 
25631
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
25582
+ var _jsxFileName$2 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
25632
25583
  const DesktopContainer = styled(Flex$1, {
25633
25584
  display: 'none',
25634
25585
  '& .active-scroll-spy': {
@@ -25920,23 +25871,23 @@
25920
25871
  isDialog: false
25921
25872
  };
25922
25873
  TableOfContent.propTypes = {
25923
- /**
25924
- List of contents containing the title and id of a content.
25874
+ /**
25875
+ List of contents containing the title and id of a content.
25925
25876
  */
25926
25877
  content: PropTypes__default["default"].array,
25927
25878
 
25928
- /**
25929
- Components devoted to mobile viewing only.
25879
+ /**
25880
+ Components devoted to mobile viewing only.
25930
25881
  */
25931
25882
  isMobile: PropTypes__default["default"].bool,
25932
25883
 
25933
- /**
25934
- Condition when table of content is inside a component dialog.
25884
+ /**
25885
+ Condition when table of content is inside a component dialog.
25935
25886
  */
25936
25887
  isDialog: PropTypes__default["default"].bool,
25937
25888
 
25938
- /**
25939
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
25889
+ /**
25890
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
25940
25891
  */
25941
25892
  activeId: PropTypes__default["default"].string
25942
25893
  };
@@ -25956,7 +25907,7 @@
25956
25907
  useBoxMethod: true
25957
25908
  };
25958
25909
 
25959
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25910
+ var _jsxFileName$1 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25960
25911
 
25961
25912
  function Collapalse({
25962
25913
  children,
@@ -26895,7 +26846,7 @@
26895
26846
  }), void 0);
26896
26847
  }
26897
26848
 
26898
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26849
+ var _jsxFileName = "C:\\Project\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26899
26850
  const StyledPaper = styled(Paper, {
26900
26851
  borderRadius: '10px 10px 0 0',
26901
26852
  padding: 15,
@@ -28499,7 +28450,7 @@
28499
28450
  exports.InputRightAddon = InputRightAddon;
28500
28451
  exports.InputRightElement = InputRightElement;
28501
28452
  exports.InputSearchbox = InputSearchbox;
28502
- exports.InputSelect = Select$1;
28453
+ exports.InputSelect = InputSelect;
28503
28454
  exports.InputSelectCheck = InputSelectCheck;
28504
28455
  exports.InputSelectTag = InputSelectTag;
28505
28456
  exports.InputSuffix = InputSuffix;
@@ -28547,7 +28498,6 @@
28547
28498
  exports.RowMenuColumn = rowMenuColumn;
28548
28499
  exports.RowSelectionColumn = rowSelectionColumn;
28549
28500
  exports.SINGLE_PICKER = SINGLE_PICKER;
28550
- exports.Select = Select$1;
28551
28501
  exports.SelectBox = SelectBox;
28552
28502
  exports.SelectContainer = SelectContainer;
28553
28503
  exports.SelectInputSearch = SelectInputSearch;