@majoo-ui/react 1.45.1 → 1.46.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { useState, useEffect, createContext, useContext, useRef, cloneElement, useCallback, useReducer, createElement as createElement$2 } from 'react';
2
+ import React__default, { useState, useEffect, createContext, useContext, useRef, createElement as createElement$2, cloneElement, useCallback, useReducer } from 'react';
3
3
  import PropTypes, { string, func } from 'prop-types';
4
4
  import { createStitches, styled as styled$1 } from '@stitches/react';
5
5
  import { foundations } from '@majoo-ui/core';
@@ -39,7 +39,7 @@ import ScrollSpy from 'react-ui-scrollspy';
39
39
  import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
40
40
  import { useSticky } from 'react-table-sticky';
41
41
 
42
- var _jsxFileName$12 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
42
+ var _jsxFileName$12 = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
43
43
 
44
44
  function ThemeProvider({
45
45
  theme,
@@ -68,7 +68,7 @@ var check = function (it) {
68
68
  };
69
69
 
70
70
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
71
- var global$U =
71
+ var global$s =
72
72
  // eslint-disable-next-line es-x/no-global-this -- safe
73
73
  check(typeof globalThis == 'object' && globalThis) ||
74
74
  check(typeof window == 'object' && window) ||
@@ -162,31 +162,28 @@ var classofRaw$1 = function (it) {
162
162
  return stringSlice$b(toString$h(it), 8, -1);
163
163
  };
164
164
 
165
- var global$T = global$U;
166
165
  var uncurryThis$v = functionUncurryThis;
167
166
  var fails$p = fails$s;
168
167
  var classof$8 = classofRaw$1;
169
168
 
170
- var Object$5 = global$T.Object;
169
+ var $Object$4 = Object;
171
170
  var split$3 = uncurryThis$v(''.split);
172
171
 
173
172
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
174
173
  var indexedObject = fails$p(function () {
175
174
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
176
175
  // eslint-disable-next-line no-prototype-builtins -- safe
177
- return !Object$5('z').propertyIsEnumerable(0);
176
+ return !$Object$4('z').propertyIsEnumerable(0);
178
177
  }) ? function (it) {
179
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
180
- } : Object$5;
178
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
179
+ } : $Object$4;
181
180
 
182
- var global$S = global$U;
183
-
184
- var TypeError$j = global$S.TypeError;
181
+ var $TypeError$f = TypeError;
185
182
 
186
183
  // `RequireObjectCoercible` abstract operation
187
184
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
188
185
  var requireObjectCoercible$a = function (it) {
189
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
186
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
190
187
  return it;
191
188
  };
192
189
 
@@ -210,7 +207,7 @@ var isObject$a = function (it) {
210
207
  return typeof it == 'object' ? it !== null : isCallable$o(it);
211
208
  };
212
209
 
213
- var global$R = global$U;
210
+ var global$r = global$s;
214
211
  var isCallable$n = isCallable$p;
215
212
 
216
213
  var aFunction = function (argument) {
@@ -218,7 +215,7 @@ var aFunction = function (argument) {
218
215
  };
219
216
 
220
217
  var getBuiltIn$8 = function (namespace, method) {
221
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
218
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
222
219
  };
223
220
 
224
221
  var uncurryThis$u = functionUncurryThis;
@@ -229,11 +226,11 @@ var getBuiltIn$7 = getBuiltIn$8;
229
226
 
230
227
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
231
228
 
232
- var global$Q = global$U;
229
+ var global$q = global$s;
233
230
  var userAgent$5 = engineUserAgent;
234
231
 
235
- var process$3 = global$Q.process;
236
- var Deno$1 = global$Q.Deno;
232
+ var process$3 = global$q.process;
233
+ var Deno$1 = global$q.Deno;
237
234
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
238
235
  var v8 = versions && versions.v8;
239
236
  var match, version;
@@ -280,43 +277,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
280
277
  && !Symbol.sham
281
278
  && typeof Symbol.iterator == 'symbol';
282
279
 
283
- var global$P = global$U;
284
280
  var getBuiltIn$6 = getBuiltIn$8;
285
281
  var isCallable$m = isCallable$p;
286
282
  var isPrototypeOf$5 = objectIsPrototypeOf;
287
283
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
288
284
 
289
- var Object$4 = global$P.Object;
285
+ var $Object$3 = Object;
290
286
 
291
287
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
292
288
  return typeof it == 'symbol';
293
289
  } : function (it) {
294
290
  var $Symbol = getBuiltIn$6('Symbol');
295
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
291
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
296
292
  };
297
293
 
298
- var global$O = global$U;
299
-
300
- var String$6 = global$O.String;
294
+ var $String$4 = String;
301
295
 
302
- var tryToString$4 = function (argument) {
296
+ var tryToString$5 = function (argument) {
303
297
  try {
304
- return String$6(argument);
298
+ return $String$4(argument);
305
299
  } catch (error) {
306
300
  return 'Object';
307
301
  }
308
302
  };
309
303
 
310
- var global$N = global$U;
311
304
  var isCallable$l = isCallable$p;
312
- var tryToString$3 = tryToString$4;
305
+ var tryToString$4 = tryToString$5;
313
306
 
314
- var TypeError$i = global$N.TypeError;
307
+ var $TypeError$e = TypeError;
315
308
 
316
309
  // `Assert: IsCallable(argument) is true`
317
310
  var aCallable$9 = function (argument) {
318
311
  if (isCallable$l(argument)) return argument;
319
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
312
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
320
313
  };
321
314
 
322
315
  var aCallable$8 = aCallable$9;
@@ -328,12 +321,11 @@ var getMethod$6 = function (V, P) {
328
321
  return func == null ? undefined : aCallable$8(func);
329
322
  };
330
323
 
331
- var global$M = global$U;
332
324
  var call$k = functionCall;
333
325
  var isCallable$k = isCallable$p;
334
326
  var isObject$9 = isObject$a;
335
327
 
336
- var TypeError$h = global$M.TypeError;
328
+ var $TypeError$d = TypeError;
337
329
 
338
330
  // `OrdinaryToPrimitive` abstract operation
339
331
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -342,31 +334,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
342
334
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$9(val = call$k(fn, input))) return val;
343
335
  if (isCallable$k(fn = input.valueOf) && !isObject$9(val = call$k(fn, input))) return val;
344
336
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$9(val = call$k(fn, input))) return val;
345
- throw TypeError$h("Can't convert object to primitive value");
337
+ throw $TypeError$d("Can't convert object to primitive value");
346
338
  };
347
339
 
348
340
  var shared$4 = {exports: {}};
349
341
 
350
342
  var isPure = false;
351
343
 
352
- var global$L = global$U;
344
+ var global$p = global$s;
353
345
 
354
346
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
355
- var defineProperty$7 = Object.defineProperty;
347
+ var defineProperty$8 = Object.defineProperty;
356
348
 
357
- var setGlobal$3 = function (key, value) {
349
+ var defineGlobalProperty$3 = function (key, value) {
358
350
  try {
359
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
351
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
360
352
  } catch (error) {
361
- global$L[key] = value;
353
+ global$p[key] = value;
362
354
  } return value;
363
355
  };
364
356
 
365
- var global$K = global$U;
366
- var setGlobal$2 = setGlobal$3;
357
+ var global$o = global$s;
358
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
367
359
 
368
360
  var SHARED = '__core-js_shared__';
369
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
361
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
370
362
 
371
363
  var sharedStore = store$3;
372
364
 
@@ -375,22 +367,21 @@ var store$2 = sharedStore;
375
367
  (shared$4.exports = function (key, value) {
376
368
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
377
369
  })('versions', []).push({
378
- version: '3.22.5',
370
+ version: '3.23.3',
379
371
  mode: 'global',
380
372
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
381
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
373
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
382
374
  source: 'https://github.com/zloirock/core-js'
383
375
  });
384
376
 
385
- var global$J = global$U;
386
377
  var requireObjectCoercible$8 = requireObjectCoercible$a;
387
378
 
388
- var Object$3 = global$J.Object;
379
+ var $Object$2 = Object;
389
380
 
390
381
  // `ToObject` abstract operation
391
382
  // https://tc39.es/ecma262/#sec-toobject
392
383
  var toObject$7 = function (argument) {
393
- return Object$3(requireObjectCoercible$8(argument));
384
+ return $Object$2(requireObjectCoercible$8(argument));
394
385
  };
395
386
 
396
387
  var uncurryThis$t = functionUncurryThis;
@@ -415,7 +406,7 @@ var uid$2 = function (key) {
415
406
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$g(++id + postfix, 36);
416
407
  };
417
408
 
418
- var global$I = global$U;
409
+ var global$n = global$s;
419
410
  var shared$3 = shared$4.exports;
420
411
  var hasOwn$e = hasOwnProperty_1;
421
412
  var uid$1 = uid$2;
@@ -423,7 +414,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
423
414
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
424
415
 
425
416
  var WellKnownSymbolsStore = shared$3('wks');
426
- var Symbol$3 = global$I.Symbol;
417
+ var Symbol$3 = global$n.Symbol;
427
418
  var symbolFor = Symbol$3 && Symbol$3['for'];
428
419
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
429
420
 
@@ -440,7 +431,6 @@ var wellKnownSymbol$l = function (name) {
440
431
  } return WellKnownSymbolsStore[name];
441
432
  };
442
433
 
443
- var global$H = global$U;
444
434
  var call$j = functionCall;
445
435
  var isObject$8 = isObject$a;
446
436
  var isSymbol$1 = isSymbol$2;
@@ -448,7 +438,7 @@ var getMethod$5 = getMethod$6;
448
438
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
449
439
  var wellKnownSymbol$k = wellKnownSymbol$l;
450
440
 
451
- var TypeError$g = global$H.TypeError;
441
+ var $TypeError$c = TypeError;
452
442
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
453
443
 
454
444
  // `ToPrimitive` abstract operation
@@ -461,7 +451,7 @@ var toPrimitive$1 = function (input, pref) {
461
451
  if (pref === undefined) pref = 'default';
462
452
  result = call$j(exoticToPrim, input, pref);
463
453
  if (!isObject$8(result) || isSymbol$1(result)) return result;
464
- throw TypeError$g("Can't convert object to primitive value");
454
+ throw $TypeError$c("Can't convert object to primitive value");
465
455
  }
466
456
  if (pref === undefined) pref = 'number';
467
457
  return ordinaryToPrimitive(input, pref);
@@ -477,10 +467,10 @@ var toPropertyKey$3 = function (argument) {
477
467
  return isSymbol(key) ? key : key + '';
478
468
  };
479
469
 
480
- var global$G = global$U;
470
+ var global$m = global$s;
481
471
  var isObject$7 = isObject$a;
482
472
 
483
- var document$3 = global$G.document;
473
+ var document$3 = global$m.document;
484
474
  // typeof document.createElement is 'object' in old IE
485
475
  var EXISTS$1 = isObject$7(document$3) && isObject$7(document$3.createElement);
486
476
 
@@ -538,26 +528,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$m(function () {
538
528
  }).prototype != 42;
539
529
  });
540
530
 
541
- var global$F = global$U;
542
531
  var isObject$6 = isObject$a;
543
532
 
544
- var String$5 = global$F.String;
545
- var TypeError$f = global$F.TypeError;
533
+ var $String$3 = String;
534
+ var $TypeError$b = TypeError;
546
535
 
547
536
  // `Assert: Type(argument) is Object`
548
537
  var anObject$i = function (argument) {
549
538
  if (isObject$6(argument)) return argument;
550
- throw TypeError$f(String$5(argument) + ' is not an object');
539
+ throw $TypeError$b($String$3(argument) + ' is not an object');
551
540
  };
552
541
 
553
- var global$E = global$U;
554
542
  var DESCRIPTORS$b = descriptors;
555
543
  var IE8_DOM_DEFINE = ie8DomDefine;
556
544
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
557
545
  var anObject$h = anObject$i;
558
546
  var toPropertyKey$1 = toPropertyKey$3;
559
547
 
560
- var TypeError$e = global$E.TypeError;
548
+ var $TypeError$a = TypeError;
561
549
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
562
550
  var $defineProperty = Object.defineProperty;
563
551
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -590,7 +578,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
590
578
  if (IE8_DOM_DEFINE) try {
591
579
  return $defineProperty(O, P, Attributes);
592
580
  } catch (error) { /* empty */ }
593
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
581
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
594
582
  if ('value' in Attributes) O[P] = Attributes.value;
595
583
  return O;
596
584
  };
@@ -599,7 +587,7 @@ var DESCRIPTORS$a = descriptors;
599
587
  var definePropertyModule$5 = objectDefineProperty;
600
588
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
601
589
 
602
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
590
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
603
591
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
604
592
  } : function (object, key, value) {
605
593
  object[key] = value;
@@ -641,11 +629,11 @@ if (!isCallable$j(store$1.inspectSource)) {
641
629
 
642
630
  var inspectSource$4 = store$1.inspectSource;
643
631
 
644
- var global$D = global$U;
632
+ var global$l = global$s;
645
633
  var isCallable$i = isCallable$p;
646
634
  var inspectSource$3 = inspectSource$4;
647
635
 
648
- var WeakMap$1 = global$D.WeakMap;
636
+ var WeakMap$1 = global$l.WeakMap;
649
637
 
650
638
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
651
639
 
@@ -661,18 +649,18 @@ var sharedKey$3 = function (key) {
661
649
  var hiddenKeys$4 = {};
662
650
 
663
651
  var NATIVE_WEAK_MAP = nativeWeakMap;
664
- var global$C = global$U;
652
+ var global$k = global$s;
665
653
  var uncurryThis$q = functionUncurryThis;
666
654
  var isObject$5 = isObject$a;
667
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
655
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
668
656
  var hasOwn$b = hasOwnProperty_1;
669
657
  var shared$1 = sharedStore;
670
658
  var sharedKey$2 = sharedKey$3;
671
659
  var hiddenKeys$3 = hiddenKeys$4;
672
660
 
673
661
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
674
- var TypeError$d = global$C.TypeError;
675
- var WeakMap = global$C.WeakMap;
662
+ var TypeError$4 = global$k.TypeError;
663
+ var WeakMap = global$k.WeakMap;
676
664
  var set$1, get, has;
677
665
 
678
666
  var enforce = function (it) {
@@ -683,7 +671,7 @@ var getterFor = function (TYPE) {
683
671
  return function (it) {
684
672
  var state;
685
673
  if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
686
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
674
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
687
675
  } return state;
688
676
  };
689
677
  };
@@ -694,7 +682,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
694
682
  var wmhas = uncurryThis$q(store.has);
695
683
  var wmset = uncurryThis$q(store.set);
696
684
  set$1 = function (it, metadata) {
697
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
685
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
698
686
  metadata.facade = it;
699
687
  wmset(store, it, metadata);
700
688
  return metadata;
@@ -709,9 +697,9 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
709
697
  var STATE = sharedKey$2('state');
710
698
  hiddenKeys$3[STATE] = true;
711
699
  set$1 = function (it, metadata) {
712
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
700
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
713
701
  metadata.facade = it;
714
- createNonEnumerableProperty$6(it, STATE, metadata);
702
+ createNonEnumerableProperty$5(it, STATE, metadata);
715
703
  return metadata;
716
704
  };
717
705
  get = function (it) {
@@ -741,10 +729,10 @@ var InternalStateModule$5 = internalState;
741
729
  var enforceInternalState$1 = InternalStateModule$5.enforce;
742
730
  var getInternalState$3 = InternalStateModule$5.get;
743
731
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
744
- var defineProperty$6 = Object.defineProperty;
732
+ var defineProperty$7 = Object.defineProperty;
745
733
 
746
734
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$l(function () {
747
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
735
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
748
736
  });
749
737
 
750
738
  var TEMPLATE = String(String).split('String');
@@ -756,16 +744,18 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
756
744
  if (options && options.getter) name = 'get ' + name;
757
745
  if (options && options.setter) name = 'set ' + name;
758
746
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
759
- defineProperty$6(value, 'name', { value: name, configurable: true });
747
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
748
+ else value.name = name;
760
749
  }
761
750
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
762
- defineProperty$6(value, 'length', { value: options.arity });
751
+ defineProperty$7(value, 'length', { value: options.arity });
763
752
  }
764
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
765
- if (DESCRIPTORS$8) try {
766
- defineProperty$6(value, 'prototype', { writable: false });
767
- } catch (error) { /* empty */ }
768
- } else value.prototype = undefined;
753
+ try {
754
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
755
+ if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
756
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
757
+ } else if (value.prototype) value.prototype = undefined;
758
+ } catch (error) { /* empty */ }
769
759
  var state = enforceInternalState$1(value);
770
760
  if (!hasOwn$a(state, 'source')) {
771
761
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -778,30 +768,32 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
778
768
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
779
769
  }, 'toString');
780
770
 
781
- var global$B = global$U;
782
771
  var isCallable$g = isCallable$p;
783
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
772
+ var definePropertyModule$4 = objectDefineProperty;
784
773
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
785
- var setGlobal$1 = setGlobal$3;
774
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
786
775
 
787
776
  var defineBuiltIn$b = function (O, key, value, options) {
788
- var unsafe = options ? !!options.unsafe : false;
789
- var simple = options ? !!options.enumerable : false;
790
- var noTargetGet = options ? !!options.noTargetGet : false;
791
- var name = options && options.name !== undefined ? options.name : key;
777
+ if (!options) options = {};
778
+ var simple = options.enumerable;
779
+ var name = options.name !== undefined ? options.name : key;
792
780
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
793
- if (O === global$B) {
781
+ if (options.global) {
794
782
  if (simple) O[key] = value;
795
- else setGlobal$1(key, value);
796
- return O;
797
- } else if (!unsafe) {
798
- delete O[key];
799
- } else if (!noTargetGet && O[key]) {
800
- simple = true;
801
- }
802
- if (simple) O[key] = value;
803
- else createNonEnumerableProperty$5(O, key, value);
804
- return O;
783
+ else defineGlobalProperty$1(key, value);
784
+ } else {
785
+ try {
786
+ if (!options.unsafe) delete O[key];
787
+ else if (O[key]) simple = true;
788
+ } catch (error) { /* empty */ }
789
+ if (simple) O[key] = value;
790
+ else definePropertyModule$4.f(O, key, {
791
+ value: value,
792
+ enumerable: false,
793
+ configurable: !options.nonConfigurable,
794
+ writable: !options.nonWritable
795
+ });
796
+ } return O;
805
797
  };
806
798
 
807
799
  var objectGetOwnPropertyNames = {};
@@ -809,12 +801,22 @@ var objectGetOwnPropertyNames = {};
809
801
  var ceil = Math.ceil;
810
802
  var floor$5 = Math.floor;
811
803
 
804
+ // `Math.trunc` method
805
+ // https://tc39.es/ecma262/#sec-math.trunc
806
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
807
+ var mathTrunc = Math.trunc || function trunc(x) {
808
+ var n = +x;
809
+ return (n > 0 ? floor$5 : ceil)(n);
810
+ };
811
+
812
+ var trunc = mathTrunc;
813
+
812
814
  // `ToIntegerOrInfinity` abstract operation
813
815
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
814
816
  var toIntegerOrInfinity$6 = function (argument) {
815
817
  var number = +argument;
816
- // eslint-disable-next-line no-self-compare -- safe
817
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
818
+ // eslint-disable-next-line no-self-compare -- NaN check
819
+ return number !== number || number === 0 ? 0 : trunc(number);
818
820
  };
819
821
 
820
822
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -948,11 +950,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
948
950
  var hasOwn$8 = hasOwnProperty_1;
949
951
  var ownKeys = ownKeys$1;
950
952
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
951
- var definePropertyModule$4 = objectDefineProperty;
953
+ var definePropertyModule$3 = objectDefineProperty;
952
954
 
953
955
  var copyConstructorProperties$2 = function (target, source, exceptions) {
954
956
  var keys = ownKeys(source);
955
- var defineProperty = definePropertyModule$4.f;
957
+ var defineProperty = definePropertyModule$3.f;
956
958
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
957
959
  for (var i = 0; i < keys.length; i++) {
958
960
  var key = keys[i];
@@ -985,28 +987,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
985
987
 
986
988
  var isForced_1 = isForced$3;
987
989
 
988
- var global$A = global$U;
990
+ var global$j = global$s;
989
991
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
990
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
992
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
991
993
  var defineBuiltIn$a = defineBuiltIn$b;
992
- var setGlobal = setGlobal$3;
994
+ var defineGlobalProperty = defineGlobalProperty$3;
993
995
  var copyConstructorProperties$1 = copyConstructorProperties$2;
994
996
  var isForced$2 = isForced_1;
995
997
 
996
998
  /*
997
- options.target - name of the target object
998
- options.global - target is the global object
999
- options.stat - export as static methods of target
1000
- options.proto - export as prototype methods of target
1001
- options.real - real prototype method for the `pure` version
1002
- options.forced - export even if the native feature is available
1003
- options.bind - bind methods to the target, required for the `pure` version
1004
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1005
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1006
- options.sham - add a flag to not completely full polyfills
1007
- options.enumerable - export as enumerable property
1008
- options.noTargetGet - prevent calling a getter on target
1009
- options.name - the .name of the function if it does not match the key
999
+ options.target - name of the target object
1000
+ options.global - target is the global object
1001
+ options.stat - export as static methods of target
1002
+ options.proto - export as prototype methods of target
1003
+ options.real - real prototype method for the `pure` version
1004
+ options.forced - export even if the native feature is available
1005
+ options.bind - bind methods to the target, required for the `pure` version
1006
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1007
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1008
+ options.sham - add a flag to not completely full polyfills
1009
+ options.enumerable - export as enumerable property
1010
+ options.dontCallGetSet - prevent calling a getter on target
1011
+ options.name - the .name of the function if it does not match the key
1010
1012
  */
1011
1013
  var _export = function (options, source) {
1012
1014
  var TARGET = options.target;
@@ -1014,15 +1016,15 @@ var _export = function (options, source) {
1014
1016
  var STATIC = options.stat;
1015
1017
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1016
1018
  if (GLOBAL) {
1017
- target = global$A;
1019
+ target = global$j;
1018
1020
  } else if (STATIC) {
1019
- target = global$A[TARGET] || setGlobal(TARGET, {});
1021
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1020
1022
  } else {
1021
- target = (global$A[TARGET] || {}).prototype;
1023
+ target = (global$j[TARGET] || {}).prototype;
1022
1024
  }
1023
1025
  if (target) for (key in source) {
1024
1026
  sourceProperty = source[key];
1025
- if (options.noTargetGet) {
1027
+ if (options.dontCallGetSet) {
1026
1028
  descriptor = getOwnPropertyDescriptor$3(target, key);
1027
1029
  targetProperty = descriptor && descriptor.value;
1028
1030
  } else targetProperty = target[key];
@@ -1063,17 +1065,17 @@ var IndexedObject$1 = indexedObject;
1063
1065
  // eslint-disable-next-line es-x/no-object-assign -- safe
1064
1066
  var $assign = Object.assign;
1065
1067
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1066
- var defineProperty$5 = Object.defineProperty;
1068
+ var defineProperty$6 = Object.defineProperty;
1067
1069
  var concat$1 = uncurryThis$n([].concat);
1068
1070
 
1069
1071
  // `Object.assign` method
1070
1072
  // https://tc39.es/ecma262/#sec-object.assign
1071
1073
  var objectAssign = !$assign || fails$j(function () {
1072
1074
  // should have correct order of operations (Edge bug)
1073
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1075
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1074
1076
  enumerable: true,
1075
1077
  get: function () {
1076
- defineProperty$5(this, 'b', {
1078
+ defineProperty$6(this, 'b', {
1077
1079
  value: 3,
1078
1080
  enumerable: false
1079
1081
  });
@@ -1358,7 +1360,7 @@ const applyGlobalStyles = additionaStyles => {
1358
1360
  };
1359
1361
 
1360
1362
  function _extends() {
1361
- _extends = Object.assign || function (target) {
1363
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
1362
1364
  for (var i = 1; i < arguments.length; i++) {
1363
1365
  var source = arguments[i];
1364
1366
 
@@ -1371,7 +1373,6 @@ function _extends() {
1371
1373
 
1372
1374
  return target;
1373
1375
  };
1374
-
1375
1376
  return _extends.apply(this, arguments);
1376
1377
  }
1377
1378
 
@@ -1394,7 +1395,7 @@ var objectDefineProperties = {};
1394
1395
 
1395
1396
  var DESCRIPTORS$6 = descriptors;
1396
1397
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1397
- var definePropertyModule$3 = objectDefineProperty;
1398
+ var definePropertyModule$2 = objectDefineProperty;
1398
1399
  var anObject$f = anObject$i;
1399
1400
  var toIndexedObject$1 = toIndexedObject$5;
1400
1401
  var objectKeys = objectKeys$2;
@@ -1409,7 +1410,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1409
1410
  var length = keys.length;
1410
1411
  var index = 0;
1411
1412
  var key;
1412
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1413
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1413
1414
  return O;
1414
1415
  };
1415
1416
 
@@ -1504,7 +1505,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1504
1505
 
1505
1506
  var wellKnownSymbol$j = wellKnownSymbol$l;
1506
1507
  var create$3 = objectCreate;
1507
- var definePropertyModule$2 = objectDefineProperty;
1508
+ var defineProperty$5 = objectDefineProperty.f;
1508
1509
 
1509
1510
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1510
1511
  var ArrayPrototype$1 = Array.prototype;
@@ -1512,7 +1513,7 @@ var ArrayPrototype$1 = Array.prototype;
1512
1513
  // Array.prototype[@@unscopables]
1513
1514
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1514
1515
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1515
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1516
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1516
1517
  configurable: true,
1517
1518
  value: create$3(null)
1518
1519
  });
@@ -1534,7 +1535,6 @@ var correctPrototypeGetter = !fails$i(function () {
1534
1535
  return Object.getPrototypeOf(new F()) !== F.prototype;
1535
1536
  });
1536
1537
 
1537
- var global$z = global$U;
1538
1538
  var hasOwn$7 = hasOwnProperty_1;
1539
1539
  var isCallable$e = isCallable$p;
1540
1540
  var toObject$4 = toObject$7;
@@ -1542,18 +1542,19 @@ var sharedKey = sharedKey$3;
1542
1542
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1543
1543
 
1544
1544
  var IE_PROTO = sharedKey('IE_PROTO');
1545
- var Object$2 = global$z.Object;
1546
- var ObjectPrototype = Object$2.prototype;
1545
+ var $Object$1 = Object;
1546
+ var ObjectPrototype = $Object$1.prototype;
1547
1547
 
1548
1548
  // `Object.getPrototypeOf` method
1549
1549
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1550
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1550
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1551
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1551
1552
  var object = toObject$4(O);
1552
1553
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1553
1554
  var constructor = object.constructor;
1554
1555
  if (isCallable$e(constructor) && object instanceof constructor) {
1555
1556
  return constructor.prototype;
1556
- } return object instanceof Object$2 ? ObjectPrototype : null;
1557
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1557
1558
  };
1558
1559
 
1559
1560
  var fails$h = fails$s;
@@ -1630,15 +1631,14 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
1630
1631
  return IteratorConstructor;
1631
1632
  };
1632
1633
 
1633
- var global$y = global$U;
1634
1634
  var isCallable$c = isCallable$p;
1635
1635
 
1636
- var String$4 = global$y.String;
1637
- var TypeError$c = global$y.TypeError;
1636
+ var $String$2 = String;
1637
+ var $TypeError$9 = TypeError;
1638
1638
 
1639
1639
  var aPossiblePrototype$1 = function (argument) {
1640
1640
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1641
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1641
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1642
1642
  };
1643
1643
 
1644
1644
  /* eslint-disable no-proto -- safe */
@@ -1678,7 +1678,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
1678
1678
  var getPrototypeOf = objectGetPrototypeOf;
1679
1679
  var setPrototypeOf$2 = objectSetPrototypeOf;
1680
1680
  var setToStringTag$3 = setToStringTag$5;
1681
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1681
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1682
1682
  var defineBuiltIn$8 = defineBuiltIn$b;
1683
1683
  var wellKnownSymbol$g = wellKnownSymbol$l;
1684
1684
  var Iterators$3 = iterators;
@@ -1871,11 +1871,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1871
1871
 
1872
1872
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1873
1873
 
1874
- var global$x = global$U;
1874
+ var global$i = global$s;
1875
1875
  var DOMIterables = domIterables;
1876
1876
  var DOMTokenListPrototype = domTokenListPrototype;
1877
1877
  var ArrayIteratorMethods = es_array_iterator;
1878
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1878
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1879
1879
  var wellKnownSymbol$f = wellKnownSymbol$l;
1880
1880
 
1881
1881
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -1905,7 +1905,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1905
1905
  };
1906
1906
 
1907
1907
  for (var COLLECTION_NAME in DOMIterables) {
1908
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
1908
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
1909
1909
  }
1910
1910
 
1911
1911
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -1919,14 +1919,13 @@ test$1[TO_STRING_TAG$1] = 'z';
1919
1919
 
1920
1920
  var toStringTagSupport = String(test$1) === '[object z]';
1921
1921
 
1922
- var global$w = global$U;
1923
1922
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1924
1923
  var isCallable$a = isCallable$p;
1925
1924
  var classofRaw = classofRaw$1;
1926
1925
  var wellKnownSymbol$d = wellKnownSymbol$l;
1927
1926
 
1928
1927
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
1929
- var Object$1 = global$w.Object;
1928
+ var $Object = Object;
1930
1929
 
1931
1930
  // ES3 wrong here
1932
1931
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1943,26 +1942,25 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1943
1942
  var O, tag, result;
1944
1943
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1945
1944
  // @@toStringTag case
1946
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1945
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1947
1946
  // builtinTag case
1948
1947
  : CORRECT_ARGUMENTS ? classofRaw(O)
1949
1948
  // ES3 arguments fallback
1950
1949
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1951
1950
  };
1952
1951
 
1953
- var global$v = global$U;
1954
1952
  var classof$6 = classof$7;
1955
1953
 
1956
- var String$3 = global$v.String;
1954
+ var $String$1 = String;
1957
1955
 
1958
1956
  var toString$f = function (argument) {
1959
1957
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1960
- return String$3(argument);
1958
+ return $String$1(argument);
1961
1959
  };
1962
1960
 
1963
1961
  var $$h = _export;
1964
1962
  var DESCRIPTORS$4 = descriptors;
1965
- var global$u = global$U;
1963
+ var global$h = global$s;
1966
1964
  var uncurryThis$l = functionUncurryThis;
1967
1965
  var hasOwn$5 = hasOwnProperty_1;
1968
1966
  var isCallable$9 = isCallable$p;
@@ -1971,7 +1969,7 @@ var toString$e = toString$f;
1971
1969
  var defineProperty$2 = objectDefineProperty.f;
1972
1970
  var copyConstructorProperties = copyConstructorProperties$2;
1973
1971
 
1974
- var NativeSymbol = global$u.Symbol;
1972
+ var NativeSymbol = global$h.Symbol;
1975
1973
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1976
1974
 
1977
1975
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2051,14 +2049,13 @@ var isRegexp = function (it) {
2051
2049
  return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2052
2050
  };
2053
2051
 
2054
- var global$t = global$U;
2055
2052
  var isRegExp$2 = isRegexp;
2056
2053
 
2057
- var TypeError$b = global$t.TypeError;
2054
+ var $TypeError$8 = TypeError;
2058
2055
 
2059
2056
  var notARegexp = function (it) {
2060
2057
  if (isRegExp$2(it)) {
2061
- throw TypeError$b("The method doesn't accept regular expressions");
2058
+ throw $TypeError$8("The method doesn't accept regular expressions");
2062
2059
  } return it;
2063
2060
  };
2064
2061
 
@@ -2099,8 +2096,8 @@ $$f({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes')
2099
2096
  }
2100
2097
  });
2101
2098
 
2102
- const Box$1 = styled('div');
2103
- Box$1.displayName = 'Box';
2099
+ const Box = styled('div');
2100
+ Box.displayName = 'Box';
2104
2101
 
2105
2102
  function seqNumberVariants(variantFn, max) {
2106
2103
  var _a;
@@ -2231,8 +2228,8 @@ Flex$1.defaultProps = {
2231
2228
  Flex$1.displayName = 'Flex';
2232
2229
 
2233
2230
  const _excluded$y = ["children"],
2234
- _excluded2$2 = ["children"];
2235
- var _jsxFileName$11 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2231
+ _excluded2$3 = ["children"];
2232
+ var _jsxFileName$11 = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2236
2233
  const GridComponent = styled('div', {
2237
2234
  display: 'grid',
2238
2235
  variants: {
@@ -2461,7 +2458,7 @@ const GridItem = _ref2 => {
2461
2458
  let {
2462
2459
  children
2463
2460
  } = _ref2,
2464
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
2461
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
2465
2462
 
2466
2463
  return /*#__PURE__*/React__default.createElement(GridItemComponent, _extends({}, props, {
2467
2464
  css: Object.assign({}, props.css, {
@@ -2491,7 +2488,7 @@ GridItem.propTypes = {
2491
2488
  GridItem.displayName = 'Grid Item';
2492
2489
 
2493
2490
  const _excluded$x = ["children", "isCollapse", "css", "contentHeader"];
2494
- var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2491
+ var _jsxFileName$10 = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2495
2492
  const StyledDiv$3 = styled(Flex$1, {
2496
2493
  justifyContent: 'center',
2497
2494
  marginLeft: 'auto',
@@ -2846,7 +2843,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2846
2843
  });
2847
2844
 
2848
2845
  const _excluded$w = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2849
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2846
+ var _jsxFileName$$ = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2850
2847
  const TOAST_WIDTH = 576;
2851
2848
  const ANIMATION_DURATION = 400;
2852
2849
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3192,7 +3189,7 @@ Toast.defaultProps = {
3192
3189
 
3193
3190
  const ToastContext = /*#__PURE__*/React.createContext({});
3194
3191
 
3195
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3192
+ var _jsxFileName$_ = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3196
3193
  const ToastBox = styled(Flex$1, {
3197
3194
  position: 'fixed',
3198
3195
  variants: {
@@ -3262,7 +3259,7 @@ const ToastContainer = ({
3262
3259
  };
3263
3260
 
3264
3261
  const _excluded$v = ["id"];
3265
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3262
+ var _jsxFileName$Z = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3266
3263
  let toastCount = 0;
3267
3264
 
3268
3265
  const ToastProvider = ({
@@ -3347,7 +3344,7 @@ const ToastProvider = ({
3347
3344
  }));
3348
3345
  };
3349
3346
 
3350
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3347
+ var _jsxFileName$Y = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3351
3348
 
3352
3349
  function MajooProvider({
3353
3350
  children,
@@ -3382,7 +3379,7 @@ MajooProvider.propTypes = {
3382
3379
  };
3383
3380
 
3384
3381
  const _excluded$u = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3385
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3382
+ var _jsxFileName$X = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3386
3383
  const Context$2 = /*#__PURE__*/React.createContext();
3387
3384
  const StyledBanner = styled(Flex$1, {
3388
3385
  maxWidth: '100%',
@@ -3469,6 +3466,17 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
3469
3466
  columnNumber: 3
3470
3467
  }
3471
3468
  }), props.children);
3469
+ BannerTitle.propTypes = {
3470
+ /**
3471
+ Additional styles of title
3472
+ */
3473
+ css: PropTypes.object,
3474
+
3475
+ /**
3476
+ Title of the Banner to be displayed
3477
+ */
3478
+ children: PropTypes.string
3479
+ };
3472
3480
  const BannerDescription = props => /*#__PURE__*/React.createElement(Description, _extends({
3473
3481
  paragraph: "longContentRegular",
3474
3482
  color: "secondary"
@@ -3476,10 +3484,21 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
3476
3484
  __self: undefined,
3477
3485
  __source: {
3478
3486
  fileName: _jsxFileName$X,
3479
- lineNumber: 97,
3487
+ lineNumber: 108,
3480
3488
  columnNumber: 3
3481
3489
  }
3482
3490
  }), props.children);
3491
+ BannerDescription.propTypes = {
3492
+ /**
3493
+ Additional styles of description
3494
+ */
3495
+ css: PropTypes.object,
3496
+
3497
+ /**
3498
+ Description of the Banner to be displayed
3499
+ */
3500
+ children: PropTypes.string
3501
+ };
3483
3502
  const BannerLink = ({
3484
3503
  link,
3485
3504
  children,
@@ -3488,7 +3507,7 @@ const BannerLink = ({
3488
3507
  __self: undefined,
3489
3508
  __source: {
3490
3509
  fileName: _jsxFileName$X,
3491
- lineNumber: 103,
3510
+ lineNumber: 125,
3492
3511
  columnNumber: 3
3493
3512
  }
3494
3513
  }, value => /*#__PURE__*/React.createElement(Link, {
@@ -3500,27 +3519,46 @@ const BannerLink = ({
3500
3519
  __self: undefined,
3501
3520
  __source: {
3502
3521
  fileName: _jsxFileName$X,
3503
- lineNumber: 105,
3522
+ lineNumber: 127,
3504
3523
  columnNumber: 7
3505
3524
  }
3506
- }, children ? children : 'Learn more'));
3525
+ }, children));
3526
+ BannerLink.propTypes = {
3527
+ /**
3528
+ The purpose of a clickable link, presented in url
3529
+ */
3530
+ link: PropTypes.string,
3531
+
3532
+ /**
3533
+ Text of BannerLink to be displayed
3534
+ */
3535
+ children: PropTypes.string,
3536
+
3537
+ /**
3538
+ Additional theme of BannerLink is presented by color variants
3539
+ */
3540
+ variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
3541
+ };
3542
+ BannerLink.defaultProps = {
3543
+ children: 'Learn more'
3544
+ };
3507
3545
  const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3508
3546
  __self: undefined,
3509
3547
  __source: {
3510
3548
  fileName: _jsxFileName$X,
3511
- lineNumber: 117,
3549
+ lineNumber: 154,
3512
3550
  columnNumber: 3
3513
3551
  }
3514
3552
  }, value => /*#__PURE__*/React.createElement(CloseButton$1, {
3515
3553
  onClick: e => {
3516
3554
  e.preventDefault();
3517
3555
  e.stopPropagation();
3518
- value == null ? void 0 : value.onRemove();
3556
+ value === null || value === void 0 ? void 0 : value.onRemove();
3519
3557
  },
3520
3558
  __self: undefined,
3521
3559
  __source: {
3522
3560
  fileName: _jsxFileName$X,
3523
- lineNumber: 119,
3561
+ lineNumber: 156,
3524
3562
  columnNumber: 7
3525
3563
  }
3526
3564
  }, /*#__PURE__*/React.createElement(CloseOutline, {
@@ -3529,7 +3567,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3529
3567
  __self: undefined,
3530
3568
  __source: {
3531
3569
  fileName: _jsxFileName$X,
3532
- lineNumber: 126,
3570
+ lineNumber: 163,
3533
3571
  columnNumber: 9
3534
3572
  }
3535
3573
  })));
@@ -3539,7 +3577,7 @@ const SingleTagBanner = props => {
3539
3577
  __self: undefined,
3540
3578
  __source: {
3541
3579
  fileName: _jsxFileName$X,
3542
- lineNumber: 134,
3580
+ lineNumber: 171,
3543
3581
  columnNumber: 5
3544
3582
  }
3545
3583
  }, /*#__PURE__*/React.createElement(Flex$1, {
@@ -3549,7 +3587,7 @@ const SingleTagBanner = props => {
3549
3587
  __self: undefined,
3550
3588
  __source: {
3551
3589
  fileName: _jsxFileName$X,
3552
- lineNumber: 135,
3590
+ lineNumber: 172,
3553
3591
  columnNumber: 7
3554
3592
  }
3555
3593
  }, /*#__PURE__*/React.createElement(Flex$1, {
@@ -3562,21 +3600,21 @@ const SingleTagBanner = props => {
3562
3600
  __self: undefined,
3563
3601
  __source: {
3564
3602
  fileName: _jsxFileName$X,
3565
- lineNumber: 136,
3603
+ lineNumber: 173,
3566
3604
  columnNumber: 9
3567
3605
  }
3568
3606
  }, props.title && /*#__PURE__*/React.createElement(BannerTitle, {
3569
3607
  __self: undefined,
3570
3608
  __source: {
3571
3609
  fileName: _jsxFileName$X,
3572
- lineNumber: 144,
3610
+ lineNumber: 181,
3573
3611
  columnNumber: 27
3574
3612
  }
3575
3613
  }, props.title), props.description && /*#__PURE__*/React.createElement(BannerDescription, {
3576
3614
  __self: undefined,
3577
3615
  __source: {
3578
3616
  fileName: _jsxFileName$X,
3579
- lineNumber: 145,
3617
+ lineNumber: 182,
3580
3618
  columnNumber: 33
3581
3619
  }
3582
3620
  }, props.description)), props.link && /*#__PURE__*/React.createElement(BannerLink, {
@@ -3585,20 +3623,20 @@ const SingleTagBanner = props => {
3585
3623
  __self: undefined,
3586
3624
  __source: {
3587
3625
  fileName: _jsxFileName$X,
3588
- lineNumber: 148,
3626
+ lineNumber: 185,
3589
3627
  columnNumber: 11
3590
3628
  }
3591
3629
  }, props.linkText)), /*#__PURE__*/React.createElement(CloseButton$1, {
3592
3630
  onClick: e => {
3593
3631
  e.preventDefault();
3594
3632
  e.stopPropagation();
3595
- props == null ? void 0 : props.onRemove();
3633
+ props === null || props === void 0 ? void 0 : props.onRemove();
3596
3634
  },
3597
3635
  closeCenter: !props.title && !props.link,
3598
3636
  __self: undefined,
3599
3637
  __source: {
3600
3638
  fileName: _jsxFileName$X,
3601
- lineNumber: 153,
3639
+ lineNumber: 190,
3602
3640
  columnNumber: 7
3603
3641
  }
3604
3642
  }, /*#__PURE__*/React.createElement(CloseOutline, {
@@ -3607,7 +3645,7 @@ const SingleTagBanner = props => {
3607
3645
  __self: undefined,
3608
3646
  __source: {
3609
3647
  fileName: _jsxFileName$X,
3610
- lineNumber: 161,
3648
+ lineNumber: 198,
3611
3649
  columnNumber: 9
3612
3650
  }
3613
3651
  })));
@@ -3636,7 +3674,7 @@ const Banner = _ref => {
3636
3674
  __self: undefined,
3637
3675
  __source: {
3638
3676
  fileName: _jsxFileName$X,
3639
- lineNumber: 169,
3677
+ lineNumber: 206,
3640
3678
  columnNumber: 5
3641
3679
  }
3642
3680
  }), children ? /*#__PURE__*/React.createElement(Flex$1, {
@@ -3653,7 +3691,7 @@ const Banner = _ref => {
3653
3691
  __self: undefined,
3654
3692
  __source: {
3655
3693
  fileName: _jsxFileName$X,
3656
- lineNumber: 171,
3694
+ lineNumber: 208,
3657
3695
  columnNumber: 9
3658
3696
  }
3659
3697
  }, /*#__PURE__*/React.createElement(Context$2.Provider, {
@@ -3664,7 +3702,7 @@ const Banner = _ref => {
3664
3702
  __self: undefined,
3665
3703
  __source: {
3666
3704
  fileName: _jsxFileName$X,
3667
- lineNumber: 178,
3705
+ lineNumber: 215,
3668
3706
  columnNumber: 11
3669
3707
  }
3670
3708
  }, children)) : /*#__PURE__*/React.createElement(SingleTagBanner, {
@@ -3678,7 +3716,7 @@ const Banner = _ref => {
3678
3716
  __self: undefined,
3679
3717
  __source: {
3680
3718
  fileName: _jsxFileName$X,
3681
- lineNumber: 181,
3719
+ lineNumber: 218,
3682
3720
  columnNumber: 9
3683
3721
  }
3684
3722
  }));
@@ -3688,13 +3726,44 @@ Banner.displayName = 'Banner';
3688
3726
  BannerTitle.displayName = 'BannerTitle';
3689
3727
  BannerDescription.displayName = 'BannerDescription';
3690
3728
  Banner.propTypes = {
3729
+ /**
3730
+ Title of banner to be displayed
3731
+ */
3691
3732
  title: PropTypes.string,
3733
+
3734
+ /**
3735
+ Description of banner to be displayed
3736
+ */
3692
3737
  description: PropTypes.string,
3693
- variant: PropTypes.string,
3738
+
3739
+ /**
3740
+ The banner theme is presented in color variants
3741
+ */
3742
+ variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
3743
+
3744
+ /**
3745
+ The purpose of a clickable link, presented in url
3746
+ */
3694
3747
  link: PropTypes.string,
3748
+
3749
+ /**
3750
+ Text of button link to be displayed
3751
+ */
3695
3752
  linkText: PropTypes.string,
3753
+
3754
+ /**
3755
+ Clickable event handler
3756
+ */
3696
3757
  onClick: PropTypes.func,
3758
+
3759
+ /**
3760
+ Closable event handler
3761
+ */
3697
3762
  onRemove: PropTypes.func,
3763
+
3764
+ /**
3765
+ Block type banner to display in full width
3766
+ */
3698
3767
  bannerBlock: PropTypes.bool
3699
3768
  };
3700
3769
  Banner.defaultProps = {
@@ -3957,7 +4026,7 @@ const Button$2 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
3957
4026
  });
3958
4027
 
3959
4028
  const _excluded$t = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
3960
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4029
+ var _jsxFileName$W = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
3961
4030
  const CardComponent = styled('div', {
3962
4031
  padding: '20px',
3963
4032
  height: 'auto',
@@ -4165,7 +4234,7 @@ Card.defaultProps = {
4165
4234
  };
4166
4235
 
4167
4236
  const _excluded$s = ["children"];
4168
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4237
+ var _jsxFileName$V = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4169
4238
  const BreadcrumbStyle = styled('nav', {
4170
4239
  wordWrap: 'break-word',
4171
4240
  '& li+li:before': {
@@ -4441,7 +4510,7 @@ Badge.defaultProps = {
4441
4510
  Badge.displayName = 'Badge';
4442
4511
 
4443
4512
  const _excluded$r = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4444
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4513
+ var _jsxFileName$U = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4445
4514
  const StyledAvatar = styled(AvatarPrimitive.Root, {
4446
4515
  width: '32px',
4447
4516
  height: '32px',
@@ -4544,7 +4613,7 @@ Avatar.defaultProps = {
4544
4613
  };
4545
4614
 
4546
4615
  const _excluded$q = ["className", "src", "alt", "width", "height", "objectFit", "fallback"];
4547
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4616
+ var _jsxFileName$T = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4548
4617
  const StyledImage = styled('img', {
4549
4618
  display: 'inline-block',
4550
4619
  alignItems: 'center',
@@ -4603,7 +4672,7 @@ Image.defaultProps = {
4603
4672
  };
4604
4673
 
4605
4674
  const _excluded$p = ["children", "label", "color", "css", "withClick", "side", "align"];
4606
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4675
+ var _jsxFileName$S = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4607
4676
  const slideUpAndFade$1 = keyframes({
4608
4677
  '0%': {
4609
4678
  opacity: 0,
@@ -4784,7 +4853,7 @@ Tooltip.defaultProps = {
4784
4853
  };
4785
4854
 
4786
4855
  const _excluded$o = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4787
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4856
+ var _jsxFileName$R = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4788
4857
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
4789
4858
  position: 'relative',
4790
4859
  overflow: 'hidden',
@@ -4955,7 +5024,7 @@ Progress$1.defaultProps = {
4955
5024
  };
4956
5025
 
4957
5026
  const _excluded$n = ["gap", "direction", "children"];
4958
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
5027
+ var _jsxFileName$Q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
4959
5028
 
4960
5029
  const FormGroup = _ref => {
4961
5030
  let {
@@ -4989,7 +5058,7 @@ FormGroup.defaultProps = {
4989
5058
  };
4990
5059
 
4991
5060
  const _excluded$m = ["children", "htmlFor", "variant", "tooltipLabel", "count", "maxCount", "labelCss"];
4992
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5061
+ var _jsxFileName$P = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
4993
5062
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
4994
5063
  display: 'inline-block',
4995
5064
  fontSize: '$label',
@@ -5103,7 +5172,7 @@ FormLabel.propTypes = {
5103
5172
  FormLabel.displayName = 'FormLabel';
5104
5173
 
5105
5174
  const _excluded$l = ["children", "error"];
5106
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5175
+ var _jsxFileName$O = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5107
5176
  const StyledHelper = styled(Text$1, {
5108
5177
  display: 'inline-block',
5109
5178
  color: '$textSecondary',
@@ -5141,7 +5210,7 @@ FormHelper.propTypes = {
5141
5210
  };
5142
5211
  FormHelper.displayName = 'FormHelper';
5143
5212
 
5144
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5213
+ var _jsxFileName$N = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5145
5214
  const CheckboxContext = /*#__PURE__*/createContext();
5146
5215
 
5147
5216
  const CheckboxGroup = ({
@@ -5193,7 +5262,7 @@ CheckboxGroup.defaultProps = {
5193
5262
  };
5194
5263
  CheckboxGroup.displayName = 'CheckboxGroup';
5195
5264
 
5196
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5265
+ var _jsxFileName$M = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5197
5266
 
5198
5267
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
5199
5268
  xmlns: "http://www.w3.org/2000/svg",
@@ -5241,7 +5310,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
5241
5310
  }
5242
5311
  }));
5243
5312
 
5244
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5313
+ var _jsxFileName$L = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5245
5314
 
5246
5315
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
5247
5316
  xmlns: "http://www.w3.org/2000/svg",
@@ -5290,7 +5359,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
5290
5359
  }));
5291
5360
 
5292
5361
  const _excluded$k = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5293
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5362
+ var _jsxFileName$K = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5294
5363
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
5295
5364
  alignItems: 'center',
5296
5365
  display: 'flex',
@@ -5456,7 +5525,7 @@ InputCheckbox.propTypes = {
5456
5525
  InputCheckbox.displayName = 'InputCheckbox';
5457
5526
 
5458
5527
  const _excluded$j = ["children", "size"];
5459
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5528
+ var _jsxFileName$J = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5460
5529
  const InputGroupStyle = styled('div', {
5461
5530
  display: 'flex',
5462
5531
  width: '100%',
@@ -5603,13 +5672,13 @@ const InputGroup = _ref => {
5603
5672
  }));
5604
5673
  };
5605
5674
  InputGroup.propTypes = {
5606
- /**
5607
- Adjust Input Text Size
5675
+ /**
5676
+ Adjust Input Text Size
5608
5677
  */
5609
5678
  size: PropTypes.oneOf(['sm', 'lg']),
5610
5679
 
5611
- /**
5612
- Children must be InputText, InputAddon, or InputPrefixes
5680
+ /**
5681
+ Children must be InputText, InputAddon, or InputPrefixes
5613
5682
  */
5614
5683
  children: PropTypes.node.isRequired,
5615
5684
 
@@ -5900,7 +5969,7 @@ InputRadioGroup.propTypes = {
5900
5969
  InputRadioGroup.displayName = 'InputRadioGroup';
5901
5970
 
5902
5971
  const _excluded$i = ["id", "disabled"];
5903
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
5972
+ var _jsxFileName$I = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
5904
5973
  const INDICATOR_BASE_STYLES = {
5905
5974
  alignItems: 'center',
5906
5975
  display: 'flex',
@@ -6238,6 +6307,7 @@ var regexpFlags$1 = function () {
6238
6307
  if (that.multiline) result += 'm';
6239
6308
  if (that.dotAll) result += 's';
6240
6309
  if (that.unicode) result += 'u';
6310
+ if (that.unicodeSets) result += 'v';
6241
6311
  if (that.sticky) result += 'y';
6242
6312
  return result;
6243
6313
  };
@@ -6256,10 +6326,10 @@ var regexpGetFlags = function (R) {
6256
6326
  };
6257
6327
 
6258
6328
  var fails$f = fails$s;
6259
- var global$s = global$U;
6329
+ var global$g = global$s;
6260
6330
 
6261
6331
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6262
- var $RegExp$2 = global$s.RegExp;
6332
+ var $RegExp$2 = global$g.RegExp;
6263
6333
 
6264
6334
  var UNSUPPORTED_Y$3 = fails$f(function () {
6265
6335
  var re = $RegExp$2('a', 'y');
@@ -6316,10 +6386,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
6316
6386
  };
6317
6387
 
6318
6388
  var fails$e = fails$s;
6319
- var global$r = global$U;
6389
+ var global$f = global$s;
6320
6390
 
6321
6391
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6322
- var $RegExp$1 = global$r.RegExp;
6392
+ var $RegExp$1 = global$f.RegExp;
6323
6393
 
6324
6394
  var regexpUnsupportedDotAll = fails$e(function () {
6325
6395
  var re = $RegExp$1('.', 's');
@@ -6327,10 +6397,10 @@ var regexpUnsupportedDotAll = fails$e(function () {
6327
6397
  });
6328
6398
 
6329
6399
  var fails$d = fails$s;
6330
- var global$q = global$U;
6400
+ var global$e = global$s;
6331
6401
 
6332
6402
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6333
- var $RegExp = global$q.RegExp;
6403
+ var $RegExp = global$e.RegExp;
6334
6404
 
6335
6405
  var regexpUnsupportedNcg = fails$d(function () {
6336
6406
  var re = $RegExp('(?<a>b)', 'g');
@@ -6339,11 +6409,11 @@ var regexpUnsupportedNcg = fails$d(function () {
6339
6409
  });
6340
6410
 
6341
6411
  var DESCRIPTORS$2 = descriptors;
6342
- var global$p = global$U;
6412
+ var global$d = global$s;
6343
6413
  var uncurryThis$j = functionUncurryThis;
6344
6414
  var isForced$1 = isForced_1;
6345
6415
  var inheritIfRequired = inheritIfRequired$1;
6346
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
6416
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
6347
6417
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
6348
6418
  var isPrototypeOf$2 = objectIsPrototypeOf;
6349
6419
  var isRegExp$1 = isRegexp;
@@ -6361,9 +6431,9 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
6361
6431
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
6362
6432
 
6363
6433
  var MATCH = wellKnownSymbol$9('match');
6364
- var NativeRegExp = global$p.RegExp;
6434
+ var NativeRegExp = global$d.RegExp;
6365
6435
  var RegExpPrototype$2 = NativeRegExp.prototype;
6366
- var SyntaxError = global$p.SyntaxError;
6436
+ var SyntaxError = global$d.SyntaxError;
6367
6437
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
6368
6438
  var charAt$8 = uncurryThis$j(''.charAt);
6369
6439
  var replace$6 = uncurryThis$j(''.replace);
@@ -6523,7 +6593,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
6523
6593
 
6524
6594
  RegExpPrototype$2.constructor = RegExpWrapper;
6525
6595
  RegExpWrapper.prototype = RegExpPrototype$2;
6526
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
6596
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
6527
6597
  }
6528
6598
 
6529
6599
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -6682,7 +6752,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
6682
6752
  }
6683
6753
 
6684
6754
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
6685
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
6755
+ var _jsxFileName$H = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
6686
6756
  const TagWrapper$3 = styled('div', {
6687
6757
  boxSizing: 'border-box',
6688
6758
  listStyle: 'none',
@@ -6859,7 +6929,7 @@ Tag.defaultProps = {
6859
6929
  };
6860
6930
 
6861
6931
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern"];
6862
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
6932
+ var _jsxFileName$G = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
6863
6933
  const Wrapper$2 = styled('div', {
6864
6934
  margin: 0,
6865
6935
  flexDirection: 'column',
@@ -6955,7 +7025,7 @@ const Input$6 = styled('input', {
6955
7025
  }
6956
7026
  }
6957
7027
  });
6958
- const TagWrapper$2 = styled(Box$1, {
7028
+ const TagWrapper$2 = styled(Box, {
6959
7029
  display: 'flex',
6960
7030
  position: 'relative',
6961
7031
  flexWrap: 'wrap',
@@ -6994,7 +7064,7 @@ function TagsInput(_ref) {
6994
7064
  return;
6995
7065
  }
6996
7066
 
6997
- if (pattern && pattern != null && pattern.regex) {
7067
+ if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
6998
7068
  const regex = new RegExp(pattern.regex);
6999
7069
 
7000
7070
  if (!regex.test(event.target.value)) {
@@ -7060,7 +7130,7 @@ function TagsInput(_ref) {
7060
7130
  lineNumber: 172,
7061
7131
  columnNumber: 9
7062
7132
  }
7063
- })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7133
+ })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7064
7134
  color: "red",
7065
7135
  __self: this,
7066
7136
  __source: {
@@ -7123,7 +7193,7 @@ TagsInput.defaultProps = {
7123
7193
  };
7124
7194
 
7125
7195
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7126
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7196
+ var _jsxFileName$F = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7127
7197
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
7128
7198
  display: 'block',
7129
7199
  width: '16px',
@@ -7231,7 +7301,7 @@ InputSwitch.propTypes = {
7231
7301
  };
7232
7302
  InputSwitch.displayName = 'InputSwitch';
7233
7303
 
7234
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7304
+ var _jsxFileName$E = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7235
7305
 
7236
7306
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
7237
7307
  width: props.size,
@@ -7292,7 +7362,7 @@ SvgCloseFilled.defaultProps = {
7292
7362
  size: 24
7293
7363
  };
7294
7364
 
7295
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7365
+ var _jsxFileName$D = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7296
7366
 
7297
7367
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7298
7368
  width: props.size,
@@ -7335,7 +7405,7 @@ SvgSearchOutline.defaultProps = {
7335
7405
  };
7336
7406
 
7337
7407
  const _excluded$e = ["size", "onChange", "css", "disabled"];
7338
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7408
+ var _jsxFileName$C = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7339
7409
 
7340
7410
  const InputSearchbox = _ref => {
7341
7411
  let {
@@ -7450,7 +7520,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
7450
7520
  var regexpExec$2 = regexpExec$3;
7451
7521
  var fails$a = fails$s;
7452
7522
  var wellKnownSymbol$8 = wellKnownSymbol$l;
7453
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
7523
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
7454
7524
 
7455
7525
  var SPECIES$2 = wellKnownSymbol$8('species');
7456
7526
  var RegExpPrototype = RegExp.prototype;
@@ -7525,14 +7595,13 @@ var sameValue$1 = Object.is || function is(x, y) {
7525
7595
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
7526
7596
  };
7527
7597
 
7528
- var global$o = global$U;
7529
7598
  var call$d = functionCall;
7530
7599
  var anObject$a = anObject$i;
7531
7600
  var isCallable$7 = isCallable$p;
7532
7601
  var classof$4 = classofRaw$1;
7533
7602
  var regexpExec$1 = regexpExec$3;
7534
7603
 
7535
- var TypeError$a = global$o.TypeError;
7604
+ var $TypeError$7 = TypeError;
7536
7605
 
7537
7606
  // `RegExpExec` abstract operation
7538
7607
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -7544,7 +7613,7 @@ var regexpExecAbstract = function (R, S) {
7544
7613
  return result;
7545
7614
  }
7546
7615
  if (classof$4(R) === 'RegExp') return call$d(regexpExec$1, R, S);
7547
- throw TypeError$a('RegExp#exec called on incompatible receiver');
7616
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
7548
7617
  };
7549
7618
 
7550
7619
  var call$c = functionCall;
@@ -7584,9 +7653,10 @@ fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeC
7584
7653
  ];
7585
7654
  });
7586
7655
 
7587
- const _excluded$d = ["placeholder", "searchPlaceholder", "embedSearch", "option", "onChange", "size", "disabled", "search", "value", "iconColor", "icon", "placement", "valueSelector", "textSelector", "disabledOptions", "css", "onSearch", "readOnly", "isInvalid", "noOptionIcon"];
7588
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelect\\InputSelect.js";
7589
- const Box = styled('div', {
7656
+ const _excluded$d = ["showLeadingIcon", "disabled", "placeholder", "readOnly", "inputProps", "handleInputValue", "noStyling", "onChange"],
7657
+ _excluded2$2 = ["placeholder", "searchPlaceholder", "embedSearch", "option", "onChange", "size", "disabled", "search", "value", "iconColor", "icon", "placement", "valueSelector", "textSelector", "disabledOptions", "css", "onSearch", "readOnly", "isInvalid", "noOptionIcon"];
7658
+ var _jsxFileName$B = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelect\\InputSelect.js";
7659
+ const SelectContainer = styled('div', {
7590
7660
  margin: 0,
7591
7661
  flexDirection: 'column',
7592
7662
  display: 'block',
@@ -7602,7 +7672,7 @@ const Box = styled('div', {
7602
7672
  color: '$textPrimary',
7603
7673
  width: '100%'
7604
7674
  });
7605
- const BoxSelect = styled('div', {
7675
+ const SelectBox = styled('div', {
7606
7676
  margin: 0,
7607
7677
  display: 'flex',
7608
7678
  position: 'relative',
@@ -7800,7 +7870,107 @@ const StyledText$1 = {
7800
7870
  overflow: 'hidden',
7801
7871
  textOverflow: 'clip'
7802
7872
  };
7803
- function Select$1(_ref) {
7873
+ const SelectInputSearch = /*#__PURE__*/React.forwardRef((_ref, forwardedRef) => {
7874
+ let {
7875
+ showLeadingIcon = true,
7876
+ disabled,
7877
+ placeholder,
7878
+ readOnly,
7879
+ inputProps,
7880
+ handleInputValue,
7881
+ noStyling
7882
+ } = _ref,
7883
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7884
+
7885
+ const inputRef = React.useRef(null);
7886
+ return /*#__PURE__*/React.createElement(InputGroup, {
7887
+ css: !noStyling && {
7888
+ height: '100%',
7889
+ border: 'none',
7890
+ '&:hover': {
7891
+ border: 'none'
7892
+ }
7893
+ },
7894
+ disabled: disabled,
7895
+ __self: undefined,
7896
+ __source: {
7897
+ fileName: _jsxFileName$B,
7898
+ lineNumber: 225,
7899
+ columnNumber: 7
7900
+ }
7901
+ }, /*#__PURE__*/React.createElement(InputLeftElement, {
7902
+ children: showLeadingIcon && /*#__PURE__*/React.createElement(SearchOutline, {
7903
+ __self: undefined,
7904
+ __source: {
7905
+ fileName: _jsxFileName$B,
7906
+ lineNumber: 238,
7907
+ columnNumber: 40
7908
+ }
7909
+ }),
7910
+ css: !showLeadingIcon && {
7911
+ width: '$spacing-05',
7912
+ padding: 0
7913
+ },
7914
+ __self: undefined,
7915
+ __source: {
7916
+ fileName: _jsxFileName$B,
7917
+ lineNumber: 237,
7918
+ columnNumber: 9
7919
+ }
7920
+ }), /*#__PURE__*/React.createElement(Input$5, _extends({}, inputProps, props, {
7921
+ placeholder: placeholder,
7922
+ readOnly: readOnly,
7923
+ ref: e => {
7924
+ if (forwardedRef) forwardedRef(e);
7925
+ inputRef.current = e;
7926
+ },
7927
+ disabled: disabled,
7928
+ css: {
7929
+ marginLeft: 0,
7930
+ height: 'fit-content'
7931
+ },
7932
+ __self: undefined,
7933
+ __source: {
7934
+ fileName: _jsxFileName$B,
7935
+ lineNumber: 246,
7936
+ columnNumber: 9
7937
+ }
7938
+ })), /*#__PURE__*/React.createElement(InputRightElement, {
7939
+ children: (inputProps.value || '').length > 0 && !disabled ? /*#__PURE__*/React.createElement(CloseFilled, {
7940
+ __self: undefined,
7941
+ __source: {
7942
+ fileName: _jsxFileName$B,
7943
+ lineNumber: 262,
7944
+ columnNumber: 72
7945
+ }
7946
+ }) : /*#__PURE__*/React.createElement("div", {
7947
+ __self: undefined,
7948
+ __source: {
7949
+ fileName: _jsxFileName$B,
7950
+ lineNumber: 262,
7951
+ columnNumber: 90
7952
+ }
7953
+ }),
7954
+ onClick: e => {
7955
+ if (!disabled) {
7956
+ inputProps.onChange(Object.assign({}, e, {
7957
+ target: Object.assign({}, e.target, {
7958
+ value: ''
7959
+ })
7960
+ }));
7961
+ if (handleInputValue) handleInputValue('');
7962
+ if (inputRef.current) inputRef.current.focus();
7963
+ }
7964
+ },
7965
+ __self: undefined,
7966
+ __source: {
7967
+ fileName: _jsxFileName$B,
7968
+ lineNumber: 261,
7969
+ columnNumber: 9
7970
+ }
7971
+ }));
7972
+ });
7973
+ function Select$1(_ref2) {
7804
7974
  let {
7805
7975
  placeholder,
7806
7976
  searchPlaceholder,
@@ -7822,13 +7992,12 @@ function Select$1(_ref) {
7822
7992
  readOnly,
7823
7993
  isInvalid,
7824
7994
  noOptionIcon
7825
- } = _ref,
7826
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7995
+ } = _ref2,
7996
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
7827
7997
 
7828
7998
  const [options, setOptions] = React.useState(option || []);
7829
7999
  const [item, setItem] = React.useState(option || []);
7830
8000
  const [selectedValue, setSelectedValue] = React.useState(value);
7831
- const inputRef = React.useRef(null);
7832
8001
 
7833
8002
  const handleInputValue = (value, isReset) => {
7834
8003
  if (onSearch && !isReset) onSearch(value);
@@ -7880,7 +8049,7 @@ function Select$1(_ref) {
7880
8049
  __self: this,
7881
8050
  __source: {
7882
8051
  fileName: _jsxFileName$B,
7883
- lineNumber: 290,
8052
+ lineNumber: 353,
7884
8053
  columnNumber: 5
7885
8054
  }
7886
8055
  }), ({
@@ -7912,7 +8081,7 @@ function Select$1(_ref) {
7912
8081
  __self: this,
7913
8082
  __source: {
7914
8083
  fileName: _jsxFileName$B,
7915
- lineNumber: 319,
8084
+ lineNumber: 382,
7916
8085
  columnNumber: 13
7917
8086
  }
7918
8087
  }), /*#__PURE__*/React.createElement(CaretDownOutline, {
@@ -7920,47 +8089,21 @@ function Select$1(_ref) {
7920
8089
  __self: this,
7921
8090
  __source: {
7922
8091
  fileName: _jsxFileName$B,
7923
- lineNumber: 324,
8092
+ lineNumber: 387,
7924
8093
  columnNumber: 15
7925
8094
  }
7926
8095
  }));
7927
8096
  };
7928
8097
 
7929
- const renderInputSearchBox = () => !search && embedSearch && isOpen && /*#__PURE__*/React.createElement(Box, {
7930
- css: {
7931
- position: 'sticky',
7932
- top: 0,
7933
- zIndex: '$sticky',
7934
- padding: '$spacing-04 $spacing-05 0',
7935
- backgroundColor: '$bgWhite'
7936
- },
7937
- __self: this,
7938
- __source: {
7939
- fileName: _jsxFileName$B,
7940
- lineNumber: 333,
7941
- columnNumber: 13
7942
- }
7943
- }, /*#__PURE__*/React.createElement(InputSearchbox, {
7944
- size: size,
7945
- onChange: handleInputValue,
7946
- placeholder: searchPlaceholder,
7947
- __self: this,
7948
- __source: {
7949
- fileName: _jsxFileName$B,
7950
- lineNumber: 342,
7951
- columnNumber: 15
7952
- }
7953
- }));
7954
-
7955
- return /*#__PURE__*/React.createElement(Box, {
8098
+ return /*#__PURE__*/React.createElement(SelectContainer, {
7956
8099
  css: css,
7957
8100
  __self: this,
7958
8101
  __source: {
7959
8102
  fileName: _jsxFileName$B,
7960
- lineNumber: 347,
8103
+ lineNumber: 393,
7961
8104
  columnNumber: 11
7962
8105
  }
7963
- }, /*#__PURE__*/React.createElement(BoxSelect, _extends({}, getRootProps({}, {
8106
+ }, /*#__PURE__*/React.createElement(SelectBox, _extends({}, getRootProps({}, {
7964
8107
  suppressRefError: true
7965
8108
  }), {
7966
8109
  size: size,
@@ -7970,101 +8113,35 @@ function Select$1(_ref) {
7970
8113
  __self: this,
7971
8114
  __source: {
7972
8115
  fileName: _jsxFileName$B,
7973
- lineNumber: 348,
8116
+ lineNumber: 394,
7974
8117
  columnNumber: 13
7975
8118
  }
7976
- }), search ? /*#__PURE__*/React.createElement(Box$1, {
8119
+ }), search ? /*#__PURE__*/React.createElement(Box, {
7977
8120
  style: {
7978
8121
  width: '100%'
7979
8122
  },
7980
8123
  __self: this,
7981
8124
  __source: {
7982
8125
  fileName: _jsxFileName$B,
7983
- lineNumber: 356,
8126
+ lineNumber: 402,
7984
8127
  columnNumber: 17
7985
8128
  }
7986
- }, icon ? /*#__PURE__*/React.createElement(InputGroup, {
7987
- css: {
7988
- height: '100%',
7989
- border: 'none',
7990
- '&:hover': {
7991
- border: 'none'
7992
- }
7993
- },
8129
+ }, icon ? /*#__PURE__*/React.createElement(SelectInputSearch, {
7994
8130
  disabled: disabled,
7995
- __self: this,
7996
- __source: {
7997
- fileName: _jsxFileName$B,
7998
- lineNumber: 358,
7999
- columnNumber: 21
8000
- }
8001
- }, /*#__PURE__*/React.createElement(InputLeftElement, {
8002
- children: /*#__PURE__*/React.createElement(SearchOutline, {
8003
- __self: this,
8004
- __source: {
8005
- fileName: _jsxFileName$B,
8006
- lineNumber: 368,
8007
- columnNumber: 51
8008
- }
8009
- }),
8010
- __self: this,
8011
- __source: {
8012
- fileName: _jsxFileName$B,
8013
- lineNumber: 368,
8014
- columnNumber: 23
8015
- }
8016
- }), /*#__PURE__*/React.createElement(Input$5, _extends({
8017
8131
  placeholder: placeholder,
8018
- readOnly: readOnly
8019
- }, getInputProps({
8020
- onChange: event => handleInputValue(event.target.value),
8021
- disabled
8022
- }), {
8023
- ref: inputRef,
8024
- css: {
8025
- marginLeft: 0,
8026
- height: 'fit-content'
8027
- },
8028
- __self: this,
8029
- __source: {
8030
- fileName: _jsxFileName$B,
8031
- lineNumber: 369,
8032
- columnNumber: 23
8033
- }
8034
- })), /*#__PURE__*/React.createElement(InputRightElement, {
8035
- children: getInputProps().value.length > 0 ? /*#__PURE__*/React.createElement(CloseFilled, {
8036
- __self: this,
8037
- __source: {
8038
- fileName: _jsxFileName$B,
8039
- lineNumber: 380,
8040
- columnNumber: 70
8041
- }
8042
- }) : /*#__PURE__*/React.createElement("div", {
8043
- __self: this,
8044
- __source: {
8045
- fileName: _jsxFileName$B,
8046
- lineNumber: 380,
8047
- columnNumber: 88
8048
- }
8132
+ readOnly: readOnly,
8133
+ handleInputValue: handleInputValue,
8134
+ inputProps: getInputProps({
8135
+ onChange: event => handleInputValue(event.target.value),
8136
+ disabled
8049
8137
  }),
8050
- onClick: e => {
8051
- if (!disabled) {
8052
- getInputProps().onChange(Object.assign({}, e, {
8053
- target: Object.assign({}, e.target, {
8054
- value: ''
8055
- })
8056
- }));
8057
- handleInputValue('');
8058
- if (inputRef.current) inputRef.current.focus();
8059
- }
8060
- },
8061
8138
  __self: this,
8062
8139
  __source: {
8063
8140
  fileName: _jsxFileName$B,
8064
- lineNumber: 379,
8065
- columnNumber: 23
8141
+ lineNumber: 404,
8142
+ columnNumber: 21
8066
8143
  }
8067
- })) : /*#__PURE__*/React.createElement(Input$5, _extends({
8144
+ }) : /*#__PURE__*/React.createElement(Input$5, _extends({
8068
8145
  placeholder: placeholder,
8069
8146
  disabled: disabled,
8070
8147
  readOnly: readOnly
@@ -8075,7 +8152,7 @@ function Select$1(_ref) {
8075
8152
  __self: this,
8076
8153
  __source: {
8077
8154
  fileName: _jsxFileName$B,
8078
- lineNumber: 397,
8155
+ lineNumber: 412,
8079
8156
  columnNumber: 21
8080
8157
  }
8081
8158
  }))) : /*#__PURE__*/React.createElement(Button$1, _extends({}, getToggleButtonProps({
@@ -8087,7 +8164,7 @@ function Select$1(_ref) {
8087
8164
  __self: this,
8088
8165
  __source: {
8089
8166
  fileName: _jsxFileName$B,
8090
- lineNumber: 406,
8167
+ lineNumber: 421,
8091
8168
  columnNumber: 17
8092
8169
  }
8093
8170
  }), selectedItem ? /*#__PURE__*/React.createElement(Text$1, {
@@ -8096,7 +8173,7 @@ function Select$1(_ref) {
8096
8173
  __self: this,
8097
8174
  __source: {
8098
8175
  fileName: _jsxFileName$B,
8099
- lineNumber: 413,
8176
+ lineNumber: 428,
8100
8177
  columnNumber: 21
8101
8178
  }
8102
8179
  }, selectedItem.render ? selectedItem.render() : selectedItem.name) : /*#__PURE__*/React.createElement(Text$1, {
@@ -8105,7 +8182,7 @@ function Select$1(_ref) {
8105
8182
  __self: this,
8106
8183
  __source: {
8107
8184
  fileName: _jsxFileName$B,
8108
- lineNumber: 417,
8185
+ lineNumber: 432,
8109
8186
  columnNumber: 21
8110
8187
  }
8111
8188
  }, placeholder)), handleDownOption()), /*#__PURE__*/React.createElement(OptionWrapper$2, _extends({}, getMenuProps(), {
@@ -8116,14 +8193,38 @@ function Select$1(_ref) {
8116
8193
  __self: this,
8117
8194
  __source: {
8118
8195
  fileName: _jsxFileName$B,
8119
- lineNumber: 425,
8196
+ lineNumber: 440,
8120
8197
  columnNumber: 13
8121
8198
  }
8122
- }), renderInputSearchBox(), item.length !== 0 ? /*#__PURE__*/React.createElement(SelectOption, {
8199
+ }), !search && embedSearch && isOpen && /*#__PURE__*/React.createElement(SelectContainer, {
8200
+ css: {
8201
+ position: 'sticky',
8202
+ top: 0,
8203
+ zIndex: '$sticky',
8204
+ padding: '$spacing-04 $spacing-05 0',
8205
+ backgroundColor: '$bgWhite'
8206
+ },
8123
8207
  __self: this,
8124
8208
  __source: {
8125
8209
  fileName: _jsxFileName$B,
8126
- lineNumber: 428,
8210
+ lineNumber: 442,
8211
+ columnNumber: 17
8212
+ }
8213
+ }, /*#__PURE__*/React.createElement(InputSearchbox, {
8214
+ size: size,
8215
+ onChange: handleInputValue,
8216
+ placeholder: searchPlaceholder,
8217
+ __self: this,
8218
+ __source: {
8219
+ fileName: _jsxFileName$B,
8220
+ lineNumber: 451,
8221
+ columnNumber: 19
8222
+ }
8223
+ })), item.length !== 0 ? /*#__PURE__*/React.createElement(SelectOption, {
8224
+ __self: this,
8225
+ __source: {
8226
+ fileName: _jsxFileName$B,
8227
+ lineNumber: 455,
8127
8228
  columnNumber: 17
8128
8229
  }
8129
8230
  }, item.map((item, index) => {
@@ -8146,7 +8247,7 @@ function Select$1(_ref) {
8146
8247
  __self: this,
8147
8248
  __source: {
8148
8249
  fileName: _jsxFileName$B,
8149
- lineNumber: 430,
8250
+ lineNumber: 457,
8150
8251
  columnNumber: 21
8151
8252
  }
8152
8253
  }), item.render ? item.render() : item.name);
@@ -8154,14 +8255,14 @@ function Select$1(_ref) {
8154
8255
  __self: this,
8155
8256
  __source: {
8156
8257
  fileName: _jsxFileName$B,
8157
- lineNumber: 452,
8258
+ lineNumber: 479,
8158
8259
  columnNumber: 17
8159
8260
  }
8160
8261
  }, /*#__PURE__*/React.createElement(StyledDiv$2, {
8161
8262
  __self: this,
8162
8263
  __source: {
8163
8264
  fileName: _jsxFileName$B,
8164
- lineNumber: 453,
8265
+ lineNumber: 480,
8165
8266
  columnNumber: 19
8166
8267
  }
8167
8268
  }, /*#__PURE__*/React.createElement("div", {
@@ -8171,7 +8272,7 @@ function Select$1(_ref) {
8171
8272
  __self: this,
8172
8273
  __source: {
8173
8274
  fileName: _jsxFileName$B,
8174
- lineNumber: 454,
8275
+ lineNumber: 481,
8175
8276
  columnNumber: 21
8176
8277
  }
8177
8278
  }, /*#__PURE__*/React.createElement(CircleInfoOutline, {
@@ -8183,7 +8284,7 @@ function Select$1(_ref) {
8183
8284
  __self: this,
8184
8285
  __source: {
8185
8286
  fileName: _jsxFileName$B,
8186
- lineNumber: 455,
8287
+ lineNumber: 482,
8187
8288
  columnNumber: 23
8188
8289
  }
8189
8290
  })), "Item tidak ditemukan"))));
@@ -8228,6 +8329,14 @@ Select$1.defaultProps = {
8228
8329
  noOptionIcon: false
8229
8330
  };
8230
8331
 
8332
+ var tryToString$3 = tryToString$5;
8333
+
8334
+ var $TypeError$6 = TypeError;
8335
+
8336
+ var deletePropertyOrThrow$1 = function (O, P) {
8337
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8338
+ };
8339
+
8231
8340
  var toPropertyKey = toPropertyKey$3;
8232
8341
  var definePropertyModule = objectDefineProperty;
8233
8342
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -8238,19 +8347,18 @@ var createProperty$2 = function (object, key, value) {
8238
8347
  else object[propertyKey] = value;
8239
8348
  };
8240
8349
 
8241
- var global$n = global$U;
8242
8350
  var toAbsoluteIndex = toAbsoluteIndex$2;
8243
8351
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8244
8352
  var createProperty$1 = createProperty$2;
8245
8353
 
8246
- var Array$2 = global$n.Array;
8354
+ var $Array$1 = Array;
8247
8355
  var max$1 = Math.max;
8248
8356
 
8249
8357
  var arraySliceSimple = function (O, start, end) {
8250
8358
  var length = lengthOfArrayLike$4(O);
8251
8359
  var k = toAbsoluteIndex(start, length);
8252
8360
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8253
- var result = Array$2(max$1(fin - k, 0));
8361
+ var result = $Array$1(max$1(fin - k, 0));
8254
8362
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8255
8363
  result.length = n;
8256
8364
  return result;
@@ -8332,6 +8440,7 @@ var uncurryThis$g = functionUncurryThis;
8332
8440
  var aCallable$7 = aCallable$9;
8333
8441
  var toObject$3 = toObject$7;
8334
8442
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
8443
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
8335
8444
  var toString$9 = toString$f;
8336
8445
  var fails$8 = fails$s;
8337
8446
  var internalSort = arraySort$1;
@@ -8426,19 +8535,18 @@ $$d({ target: 'Array', proto: true, forced: FORCED$3 }, {
8426
8535
  index = 0;
8427
8536
 
8428
8537
  while (index < itemsLength) array[index] = items[index++];
8429
- while (index < arrayLength) delete array[index++];
8538
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
8430
8539
 
8431
8540
  return array;
8432
8541
  }
8433
8542
  });
8434
8543
 
8435
- var global$m = global$U;
8436
8544
  var aCallable$6 = aCallable$9;
8437
8545
  var toObject$2 = toObject$7;
8438
8546
  var IndexedObject = indexedObject;
8439
8547
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
8440
8548
 
8441
- var TypeError$9 = global$m.TypeError;
8549
+ var $TypeError$5 = TypeError;
8442
8550
 
8443
8551
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
8444
8552
  var createMethod$2 = function (IS_RIGHT) {
@@ -8457,7 +8565,7 @@ var createMethod$2 = function (IS_RIGHT) {
8457
8565
  }
8458
8566
  index += i;
8459
8567
  if (IS_RIGHT ? index < 0 : length <= index) {
8460
- throw TypeError$9('Reduce of empty array with no initial value');
8568
+ throw $TypeError$5('Reduce of empty array with no initial value');
8461
8569
  }
8462
8570
  }
8463
8571
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -8477,9 +8585,9 @@ var arrayReduce = {
8477
8585
  };
8478
8586
 
8479
8587
  var classof$3 = classofRaw$1;
8480
- var global$l = global$U;
8588
+ var global$c = global$s;
8481
8589
 
8482
- var engineIsNode = classof$3(global$l.process) == 'process';
8590
+ var engineIsNode = classof$3(global$c.process) == 'process';
8483
8591
 
8484
8592
  var $$c = _export;
8485
8593
  var $reduce = arrayReduce.left;
@@ -8536,7 +8644,7 @@ $$b({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
8536
8644
  }
8537
8645
  });
8538
8646
 
8539
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8647
+ var _jsxFileName$A = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8540
8648
 
8541
8649
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
8542
8650
  xmlns: "http://www.w3.org/2000/svg",
@@ -8584,7 +8692,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
8584
8692
  }
8585
8693
  }));
8586
8694
 
8587
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
8695
+ var _jsxFileName$z = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
8588
8696
  const Wrapper$1 = styled('div', {
8589
8697
  margin: 0,
8590
8698
  flexDirection: 'column',
@@ -8719,7 +8827,7 @@ const IconWrapper = styled('div', {
8719
8827
  const IconCaretDown = styled(CaretDownOutline, {
8720
8828
  size: '24px'
8721
8829
  });
8722
- const TagWrapper$1 = styled(Box$1, {
8830
+ const TagWrapper$1 = styled(Box, {
8723
8831
  display: 'flex',
8724
8832
  position: 'relative',
8725
8833
  flexWrap: 'wrap',
@@ -8765,7 +8873,7 @@ const Option = styled('div', {
8765
8873
  maxHeight: '160px',
8766
8874
  height: 'auto'
8767
8875
  });
8768
- const ItemWrapper$1 = styled(Box$1, {
8876
+ const ItemWrapper$1 = styled(Box, {
8769
8877
  display: 'flex',
8770
8878
  position: 'relative',
8771
8879
  flex: 'auto',
@@ -9241,7 +9349,7 @@ InputSelectCheck.defaultProps = {
9241
9349
  sortBy: 'name'
9242
9350
  };
9243
9351
 
9244
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9352
+ var _jsxFileName$y = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9245
9353
  function InputSelectTag(props) {
9246
9354
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
9247
9355
  showSelectedTag: true
@@ -9284,7 +9392,7 @@ InputSelectTag.defaultProps = {
9284
9392
  sortBy: 'name'
9285
9393
  };
9286
9394
 
9287
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9395
+ var _jsxFileName$x = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9288
9396
  const Wrapper = styled('div', {
9289
9397
  margin: 0,
9290
9398
  flexDirection: 'column',
@@ -9602,7 +9710,7 @@ function InputResourceList({
9602
9710
  }, `${resource.value}-${new Date().toISOString()}`);
9603
9711
  };
9604
9712
 
9605
- return jsxs(Box$1, Object.assign({
9713
+ return jsxs(Box, Object.assign({
9606
9714
  css: Object.assign({
9607
9715
  position: 'relative'
9608
9716
  }, css)
@@ -9633,7 +9741,7 @@ function InputResourceList({
9633
9741
  }, {
9634
9742
  children: "Loading .... "
9635
9743
  }), void 0)
9636
- }), void 0), jsxs(Box$1, Object.assign({
9744
+ }), void 0), jsxs(Box, Object.assign({
9637
9745
  css: {
9638
9746
  border: '1px solid $gray300',
9639
9747
  padding: '$spacing-05',
@@ -9699,7 +9807,7 @@ function InputResourceList({
9699
9807
  }), void 0)]
9700
9808
  }), void 0)
9701
9809
  }), void 0)]
9702
- }), void 0), (((value === null || value === void 0 ? void 0 : value.length) || 0) > 0 || checkedResources.length > 0) && jsx(Box$1, Object.assign({
9810
+ }), void 0), (((value === null || value === void 0 ? void 0 : value.length) || 0) > 0 || checkedResources.length > 0) && jsx(Box, Object.assign({
9703
9811
  css: {
9704
9812
  marginTop: '$spacing-04'
9705
9813
  }
@@ -9714,8 +9822,79 @@ function InputResourceList({
9714
9822
  }), void 0);
9715
9823
  }
9716
9824
 
9825
+ const InputCombobox = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
9826
+ var {
9827
+ options: items = [],
9828
+ defaultValue,
9829
+ disabled,
9830
+ placeholder = 'Select Item',
9831
+ showLeadingIcon = false,
9832
+ placement = 'bottom',
9833
+ size = 'lg',
9834
+ isInvalid,
9835
+ css,
9836
+ onValueChange
9837
+ } = _a,
9838
+ props = __rest(_a, ["options", "defaultValue", "disabled", "placeholder", "showLeadingIcon", "placement", "size", "isInvalid", "css", "onValueChange"]);
9839
+
9840
+ const [inputItems, setInputItems] = useState(items);
9841
+ const {
9842
+ isOpen,
9843
+ getMenuProps,
9844
+ getInputProps,
9845
+ getComboboxProps,
9846
+ highlightedIndex,
9847
+ getItemProps
9848
+ } = useCombobox({
9849
+ items: inputItems,
9850
+ defaultInputValue: defaultValue,
9851
+ onInputValueChange: ({
9852
+ inputValue: _inputValue = ''
9853
+ }) => {
9854
+ if (onValueChange) onValueChange(_inputValue);
9855
+ setInputItems(items.filter(item => item.toLowerCase().startsWith(_inputValue.toLowerCase())));
9856
+ }
9857
+ });
9858
+ return jsxs(SelectContainer, Object.assign({
9859
+ css: css
9860
+ }, {
9861
+ children: [jsx(SelectBox, Object.assign({}, getComboboxProps(), {
9862
+ size: size,
9863
+ disabled: disabled,
9864
+ isInvalid: isInvalid
9865
+ }, {
9866
+ children: jsx(SelectInputSearch, Object.assign({
9867
+ showLeadingIcon: showLeadingIcon,
9868
+ disabled: disabled,
9869
+ placeholder: placeholder,
9870
+ inputProps: getInputProps()
9871
+ }, props, {
9872
+ ref: forwardedRef
9873
+ }), void 0)
9874
+ }), void 0), inputItems.length > 0 && jsx(OptionWrapper$2, Object.assign({}, getMenuProps(), {
9875
+ css: {
9876
+ display: isOpen ? 'block' : 'none'
9877
+ },
9878
+ placement: placement
9879
+ }, {
9880
+ children: jsx(SelectOption, {
9881
+ children: inputItems.map((item, index) => /*#__PURE__*/createElement$2(SelectItem, Object.assign({}, getItemProps({
9882
+ item,
9883
+ index
9884
+ }), {
9885
+ key: `${item}${index}`,
9886
+ css: {
9887
+ backgroundColor: highlightedIndex === index ? '$bgGray' : 'white',
9888
+ fontWeight: 'normal'
9889
+ }
9890
+ }), item))
9891
+ }, void 0)
9892
+ }), void 0)]
9893
+ }), void 0);
9894
+ });
9895
+
9717
9896
  const _excluded$c = ["children"];
9718
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
9897
+ var _jsxFileName$w = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
9719
9898
  const {
9720
9899
  zIndices
9721
9900
  } = foundations;
@@ -9849,7 +10028,7 @@ Popover.propTypes = {
9849
10028
  Popover.displayName = 'Popover';
9850
10029
 
9851
10030
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
9852
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10031
+ var _jsxFileName$v = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
9853
10032
  const StyledSlider = styled$1(SliderPrimitive.Root, {
9854
10033
  position: 'relative',
9855
10034
  display: 'flex',
@@ -10194,7 +10373,7 @@ Slider.defaultProps = {
10194
10373
  };
10195
10374
 
10196
10375
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
10197
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10376
+ var _jsxFileName$u = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10198
10377
  const TagWrapper = styled('div', {
10199
10378
  boxSizing: 'border-box',
10200
10379
  fontSize: '12px',
@@ -10403,7 +10582,7 @@ const Separator$2 = StyledSeparator$1;
10403
10582
 
10404
10583
  const _excluded$9 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
10405
10584
  _excluded2$1 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
10406
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10585
+ var _jsxFileName$t = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10407
10586
  const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
10408
10587
  display: 'inline-flex',
10409
10588
  borderRadius: '$md',
@@ -10666,15 +10845,15 @@ var stringTrim = {
10666
10845
  trim: createMethod$1(3)
10667
10846
  };
10668
10847
 
10669
- var global$k = global$U;
10848
+ var global$b = global$s;
10670
10849
  var fails$7 = fails$s;
10671
10850
  var uncurryThis$d = functionUncurryThis;
10672
10851
  var toString$6 = toString$f;
10673
10852
  var trim$1 = stringTrim.trim;
10674
10853
  var whitespaces$1 = whitespaces$3;
10675
10854
 
10676
- var $parseInt$1 = global$k.parseInt;
10677
- var Symbol$2 = global$k.Symbol;
10855
+ var $parseInt$1 = global$b.parseInt;
10856
+ var Symbol$2 = global$b.Symbol;
10678
10857
  var ITERATOR$6 = Symbol$2 && Symbol$2.iterator;
10679
10858
  var hex = /^[+-]?0x/i;
10680
10859
  var exec$4 = uncurryThis$d(hex.exec);
@@ -10699,7 +10878,7 @@ $$a({ global: true, forced: parseInt != $parseInt }, {
10699
10878
  });
10700
10879
 
10701
10880
  const _excluded$8 = ["children"];
10702
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
10881
+ var _jsxFileName$s = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
10703
10882
  const NotificationBadgeRootStyle = styled('span', {
10704
10883
  position: 'relative',
10705
10884
  display: 'inline-flex',
@@ -10799,7 +10978,7 @@ const NotificationBadge = _ref => {
10799
10978
  props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
10800
10979
 
10801
10980
  const getValue = () => {
10802
- let value = props == null ? void 0 : props.value;
10981
+ let value = props === null || props === void 0 ? void 0 : props.value;
10803
10982
 
10804
10983
  if (typeof value === 'number' || parseInt(value)) {
10805
10984
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -10843,7 +11022,7 @@ NotificationBadge.propTypes = {
10843
11022
  };
10844
11023
 
10845
11024
  const _excluded$7 = ["className", "children", "radius", "padding", "width", "height"];
10846
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
11025
+ var _jsxFileName$r = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
10847
11026
  const PaperComponent = styled('div', {
10848
11027
  padding: '20px',
10849
11028
  height: 'auto',
@@ -11043,14 +11222,13 @@ DialogClose.displayName = 'DialogClose';
11043
11222
  DialogOverlay.displayName = 'DialogOverlay';
11044
11223
  DialogPortal.displayName = 'DialogPortal';
11045
11224
 
11046
- var global$j = global$U;
11047
11225
  var isPrototypeOf$1 = objectIsPrototypeOf;
11048
11226
 
11049
- var TypeError$8 = global$j.TypeError;
11227
+ var $TypeError$4 = TypeError;
11050
11228
 
11051
11229
  var anInstance$3 = function (it, Prototype) {
11052
11230
  if (isPrototypeOf$1(Prototype, it)) return it;
11053
- throw TypeError$8('Incorrect invocation');
11231
+ throw $TypeError$4('Incorrect invocation');
11054
11232
  };
11055
11233
 
11056
11234
  var uncurryThis$c = functionUncurryThis;
@@ -11106,16 +11284,15 @@ var isConstructor$2 = !construct || fails$6(function () {
11106
11284
  || called;
11107
11285
  }) ? isConstructorLegacy : isConstructorModern;
11108
11286
 
11109
- var global$i = global$U;
11110
11287
  var isConstructor$1 = isConstructor$2;
11111
- var tryToString$2 = tryToString$4;
11288
+ var tryToString$2 = tryToString$5;
11112
11289
 
11113
- var TypeError$7 = global$i.TypeError;
11290
+ var $TypeError$3 = TypeError;
11114
11291
 
11115
11292
  // `Assert: IsConstructor(argument) is true`
11116
11293
  var aConstructor$1 = function (argument) {
11117
11294
  if (isConstructor$1(argument)) return argument;
11118
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
11295
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
11119
11296
  };
11120
11297
 
11121
11298
  var anObject$8 = anObject$i;
@@ -11161,12 +11338,10 @@ var uncurryThis$a = functionUncurryThis;
11161
11338
 
11162
11339
  var arraySlice$3 = uncurryThis$a([].slice);
11163
11340
 
11164
- var global$h = global$U;
11165
-
11166
- var TypeError$6 = global$h.TypeError;
11341
+ var $TypeError$2 = TypeError;
11167
11342
 
11168
11343
  var validateArgumentsLength$3 = function (passed, required) {
11169
- if (passed < required) throw TypeError$6('Not enough arguments');
11344
+ if (passed < required) throw $TypeError$2('Not enough arguments');
11170
11345
  return passed;
11171
11346
  };
11172
11347
 
@@ -11174,7 +11349,7 @@ var userAgent$2 = engineUserAgent;
11174
11349
 
11175
11350
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
11176
11351
 
11177
- var global$g = global$U;
11352
+ var global$a = global$s;
11178
11353
  var apply$2 = functionApply;
11179
11354
  var bind$6 = functionBindContext;
11180
11355
  var isCallable$5 = isCallable$p;
@@ -11187,13 +11362,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
11187
11362
  var IS_IOS$1 = engineIsIos;
11188
11363
  var IS_NODE$2 = engineIsNode;
11189
11364
 
11190
- var set = global$g.setImmediate;
11191
- var clear = global$g.clearImmediate;
11192
- var process$2 = global$g.process;
11193
- var Dispatch = global$g.Dispatch;
11194
- var Function$1 = global$g.Function;
11195
- var MessageChannel = global$g.MessageChannel;
11196
- var String$2 = global$g.String;
11365
+ var set = global$a.setImmediate;
11366
+ var clear = global$a.clearImmediate;
11367
+ var process$2 = global$a.process;
11368
+ var Dispatch = global$a.Dispatch;
11369
+ var Function$1 = global$a.Function;
11370
+ var MessageChannel = global$a.MessageChannel;
11371
+ var String$1 = global$a.String;
11197
11372
  var counter = 0;
11198
11373
  var queue$1 = {};
11199
11374
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -11201,7 +11376,7 @@ var location, defer, channel, port;
11201
11376
 
11202
11377
  try {
11203
11378
  // Deno throws a ReferenceError on `location` access without `--location` flag
11204
- location = global$g.location;
11379
+ location = global$a.location;
11205
11380
  } catch (error) { /* empty */ }
11206
11381
 
11207
11382
  var run = function (id) {
@@ -11224,7 +11399,7 @@ var listener = function (event) {
11224
11399
 
11225
11400
  var post = function (id) {
11226
11401
  // old engines have not location.origin
11227
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
11402
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
11228
11403
  };
11229
11404
 
11230
11405
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -11262,14 +11437,14 @@ if (!set || !clear) {
11262
11437
  // Browsers with postMessage, skip WebWorkers
11263
11438
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
11264
11439
  } else if (
11265
- global$g.addEventListener &&
11266
- isCallable$5(global$g.postMessage) &&
11267
- !global$g.importScripts &&
11440
+ global$a.addEventListener &&
11441
+ isCallable$5(global$a.postMessage) &&
11442
+ !global$a.importScripts &&
11268
11443
  location && location.protocol !== 'file:' &&
11269
11444
  !fails$5(post)
11270
11445
  ) {
11271
11446
  defer = post;
11272
- global$g.addEventListener('message', listener, false);
11447
+ global$a.addEventListener('message', listener, false);
11273
11448
  // IE8-
11274
11449
  } else if (ONREADYSTATECHANGE in createElement('script')) {
11275
11450
  defer = function (id) {
@@ -11292,15 +11467,15 @@ var task$1 = {
11292
11467
  };
11293
11468
 
11294
11469
  var userAgent$1 = engineUserAgent;
11295
- var global$f = global$U;
11470
+ var global$9 = global$s;
11296
11471
 
11297
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
11472
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
11298
11473
 
11299
11474
  var userAgent = engineUserAgent;
11300
11475
 
11301
11476
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
11302
11477
 
11303
- var global$e = global$U;
11478
+ var global$8 = global$s;
11304
11479
  var bind$5 = functionBindContext;
11305
11480
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
11306
11481
  var macrotask = task$1.set;
@@ -11309,12 +11484,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
11309
11484
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
11310
11485
  var IS_NODE$1 = engineIsNode;
11311
11486
 
11312
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
11313
- var document$2 = global$e.document;
11314
- var process$1 = global$e.process;
11315
- var Promise$1 = global$e.Promise;
11487
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
11488
+ var document$2 = global$8.document;
11489
+ var process$1 = global$8.process;
11490
+ var Promise$1 = global$8.Promise;
11316
11491
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
11317
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
11492
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
11318
11493
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
11319
11494
 
11320
11495
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -11370,7 +11545,7 @@ if (!queueMicrotask) {
11370
11545
  // - setTimeout
11371
11546
  } else {
11372
11547
  // strange IE + webpack dev server bug - use .bind(global)
11373
- macrotask = bind$5(macrotask, global$e);
11548
+ macrotask = bind$5(macrotask, global$8);
11374
11549
  notify$1 = function () {
11375
11550
  macrotask(flush);
11376
11551
  };
@@ -11386,10 +11561,10 @@ var microtask$1 = queueMicrotask || function (fn) {
11386
11561
  } last = task;
11387
11562
  };
11388
11563
 
11389
- var global$d = global$U;
11564
+ var global$7 = global$s;
11390
11565
 
11391
11566
  var hostReportErrors$1 = function (a, b) {
11392
- var console = global$d.console;
11567
+ var console = global$7.console;
11393
11568
  if (console && console.error) {
11394
11569
  arguments.length == 1 ? console.error(a) : console.error(a, b);
11395
11570
  }
@@ -11427,13 +11602,13 @@ Queue$1.prototype = {
11427
11602
 
11428
11603
  var queue = Queue$1;
11429
11604
 
11430
- var global$c = global$U;
11605
+ var global$6 = global$s;
11431
11606
 
11432
- var promiseNativeConstructor = global$c.Promise;
11607
+ var promiseNativeConstructor = global$6.Promise;
11433
11608
 
11434
11609
  var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
11435
11610
 
11436
- var global$b = global$U;
11611
+ var global$5 = global$s;
11437
11612
  var NativePromiseConstructor$3 = promiseNativeConstructor;
11438
11613
  var isCallable$4 = isCallable$p;
11439
11614
  var isForced = isForced_1;
@@ -11445,7 +11620,7 @@ var V8_VERSION = engineV8Version;
11445
11620
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
11446
11621
  var SPECIES = wellKnownSymbol$6('species');
11447
11622
  var SUBCLASSING = false;
11448
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
11623
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
11449
11624
 
11450
11625
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
11451
11626
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -11500,7 +11675,7 @@ newPromiseCapability$2.f = function (C) {
11500
11675
 
11501
11676
  var $$9 = _export;
11502
11677
  var IS_NODE = engineIsNode;
11503
- var global$a = global$U;
11678
+ var global$4 = global$s;
11504
11679
  var call$a = functionCall;
11505
11680
  var defineBuiltIn$4 = defineBuiltIn$b;
11506
11681
  var setPrototypeOf = objectSetPrototypeOf;
@@ -11530,13 +11705,13 @@ var setInternalState$3 = InternalStateModule$3.set;
11530
11705
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
11531
11706
  var PromiseConstructor = NativePromiseConstructor$2;
11532
11707
  var PromisePrototype = NativePromisePrototype$1;
11533
- var TypeError$5 = global$a.TypeError;
11534
- var document$1 = global$a.document;
11535
- var process = global$a.process;
11708
+ var TypeError$3 = global$4.TypeError;
11709
+ var document$1 = global$4.document;
11710
+ var process = global$4.process;
11536
11711
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
11537
11712
  var newGenericPromiseCapability = newPromiseCapability$1;
11538
11713
 
11539
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
11714
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
11540
11715
  var UNHANDLED_REJECTION = 'unhandledrejection';
11541
11716
  var REJECTION_HANDLED = 'rejectionhandled';
11542
11717
  var PENDING = 0;
@@ -11577,7 +11752,7 @@ var callReaction = function (reaction, state) {
11577
11752
  }
11578
11753
  }
11579
11754
  if (result === reaction.promise) {
11580
- reject(TypeError$5('Promise-chain cycle'));
11755
+ reject(TypeError$3('Promise-chain cycle'));
11581
11756
  } else if (then = isThenable(result)) {
11582
11757
  call$a(then, result, resolve, reject);
11583
11758
  } else resolve(result);
@@ -11609,14 +11784,14 @@ var dispatchEvent = function (name, promise, reason) {
11609
11784
  event.promise = promise;
11610
11785
  event.reason = reason;
11611
11786
  event.initEvent(name, false, true);
11612
- global$a.dispatchEvent(event);
11787
+ global$4.dispatchEvent(event);
11613
11788
  } else event = { promise: promise, reason: reason };
11614
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
11789
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
11615
11790
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
11616
11791
  };
11617
11792
 
11618
11793
  var onUnhandled = function (state) {
11619
- call$a(task, global$a, function () {
11794
+ call$a(task, global$4, function () {
11620
11795
  var promise = state.facade;
11621
11796
  var value = state.value;
11622
11797
  var IS_UNHANDLED = isUnhandled(state);
@@ -11639,7 +11814,7 @@ var isUnhandled = function (state) {
11639
11814
  };
11640
11815
 
11641
11816
  var onHandleUnhandled = function (state) {
11642
- call$a(task, global$a, function () {
11817
+ call$a(task, global$4, function () {
11643
11818
  var promise = state.facade;
11644
11819
  if (IS_NODE) {
11645
11820
  process.emit('rejectionHandled', promise);
@@ -11667,7 +11842,7 @@ var internalResolve = function (state, value, unwrap) {
11667
11842
  state.done = true;
11668
11843
  if (unwrap) state = unwrap;
11669
11844
  try {
11670
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
11845
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
11671
11846
  var then = isThenable(value);
11672
11847
  if (then) {
11673
11848
  microtask(function () {
@@ -11809,19 +11984,18 @@ var getIteratorMethod$4 = function (it) {
11809
11984
  || Iterators[classof$1(it)];
11810
11985
  };
11811
11986
 
11812
- var global$9 = global$U;
11813
11987
  var call$9 = functionCall;
11814
11988
  var aCallable$2 = aCallable$9;
11815
11989
  var anObject$7 = anObject$i;
11816
- var tryToString$1 = tryToString$4;
11990
+ var tryToString$1 = tryToString$5;
11817
11991
  var getIteratorMethod$3 = getIteratorMethod$4;
11818
11992
 
11819
- var TypeError$4 = global$9.TypeError;
11993
+ var $TypeError$1 = TypeError;
11820
11994
 
11821
11995
  var getIterator$3 = function (argument, usingIterator) {
11822
11996
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
11823
11997
  if (aCallable$2(iteratorMethod)) return anObject$7(call$9(iteratorMethod, argument));
11824
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
11998
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
11825
11999
  };
11826
12000
 
11827
12001
  var call$8 = functionCall;
@@ -11848,11 +12022,10 @@ var iteratorClose$2 = function (iterator, kind, value) {
11848
12022
  return value;
11849
12023
  };
11850
12024
 
11851
- var global$8 = global$U;
11852
12025
  var bind$3 = functionBindContext;
11853
12026
  var call$7 = functionCall;
11854
12027
  var anObject$5 = anObject$i;
11855
- var tryToString = tryToString$4;
12028
+ var tryToString = tryToString$5;
11856
12029
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
11857
12030
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
11858
12031
  var isPrototypeOf = objectIsPrototypeOf;
@@ -11860,7 +12033,7 @@ var getIterator$2 = getIterator$3;
11860
12033
  var getIteratorMethod$2 = getIteratorMethod$4;
11861
12034
  var iteratorClose$1 = iteratorClose$2;
11862
12035
 
11863
- var TypeError$3 = global$8.TypeError;
12036
+ var $TypeError = TypeError;
11864
12037
 
11865
12038
  var Result = function (stopped, result) {
11866
12039
  this.stopped = stopped;
@@ -11893,7 +12066,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
11893
12066
  iterator = iterable;
11894
12067
  } else {
11895
12068
  iterFn = getIteratorMethod$2(iterable);
11896
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
12069
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
11897
12070
  // optimisation for array iterators
11898
12071
  if (isArrayIteratorMethod$1(iterFn)) {
11899
12072
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -12232,7 +12405,7 @@ const ModalDialog = props => {
12232
12405
  isMobile: isMobile,
12233
12406
  onOpenAutoFocus: onOpenAutoFocus
12234
12407
  }, {
12235
- children: jsxs(Box$1, Object.assign({
12408
+ children: jsxs(Box, Object.assign({
12236
12409
  css: {
12237
12410
  backgroundColor: '$white',
12238
12411
  display: 'flex',
@@ -12240,7 +12413,7 @@ const ModalDialog = props => {
12240
12413
  borderRadius: '$lg'
12241
12414
  }
12242
12415
  }, {
12243
- children: [jsx(Box$1, Object.assign({
12416
+ children: [jsx(Box, Object.assign({
12244
12417
  css: {
12245
12418
  padding: '16px 24px',
12246
12419
  display: 'block',
@@ -12252,7 +12425,7 @@ const ModalDialog = props => {
12252
12425
  }
12253
12426
  }
12254
12427
  }, {
12255
- children: jsxs(Box$1, Object.assign({
12428
+ children: jsxs(Box, Object.assign({
12256
12429
  css: {
12257
12430
  justifyContent: 'space-between',
12258
12431
  display: 'flex',
@@ -12273,7 +12446,7 @@ const ModalDialog = props => {
12273
12446
  }), void 0), jsx(DialogClose, Object.assign({
12274
12447
  asChild: true
12275
12448
  }, {
12276
- children: jsx(Box$1, Object.assign({
12449
+ children: jsx(Box, Object.assign({
12277
12450
  css: {
12278
12451
  display: 'flex',
12279
12452
  justifyContent: 'center',
@@ -12288,13 +12461,13 @@ const ModalDialog = props => {
12288
12461
  }), void 0)
12289
12462
  }), void 0)]
12290
12463
  }), void 0)
12291
- }), void 0), modalDialogContent && jsx(Box$1, Object.assign({}, modalDialogContent.props, {
12464
+ }), void 0), modalDialogContent && jsx(Box, Object.assign({}, modalDialogContent.props, {
12292
12465
  css: Object.assign({
12293
12466
  flexGrow: 1,
12294
12467
  maxHeight: 'calc(100vh - 64px - 56px)',
12295
12468
  padding: '16px 24px'
12296
12469
  }, modalDialogContent.props.css)
12297
- }), void 0), modalDialogFooter && jsx(Box$1, Object.assign({}, modalDialogFooter.props, {
12470
+ }), void 0), modalDialogFooter && jsx(Box, Object.assign({}, modalDialogFooter.props, {
12298
12471
  css: Object.assign({
12299
12472
  borderTop: '1px solid $gray150',
12300
12473
  padding: '16px 24px',
@@ -12318,7 +12491,7 @@ ModalDialog.defaultProps = {
12318
12491
  };
12319
12492
 
12320
12493
  const _excluded$6 = ["children"];
12321
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12494
+ var _jsxFileName$q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12322
12495
  const Context$1 = /*#__PURE__*/React__default.createContext();
12323
12496
  const {
12324
12497
  sizes
@@ -12772,7 +12945,7 @@ function useMediaQuery(query) {
12772
12945
  return matches;
12773
12946
  }
12774
12947
 
12775
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\AdvancedOption.js";
12948
+ var _jsxFileName$p = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\AdvancedOption.js";
12776
12949
  const ButtonGroup = styled(ToggleGroupPrimitive.Root, {});
12777
12950
  const Item = styled(ButtonGroupItem, {
12778
12951
  fontSize: '$label',
@@ -12884,7 +13057,7 @@ const DateNumber = styled('div', {
12884
13057
  });
12885
13058
  DateNumber.displayName = 'DateNumber';
12886
13059
 
12887
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\components\\Calendar.js";
13060
+ var _jsxFileName$o = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\components\\Calendar.js";
12888
13061
 
12889
13062
  const getVariant$1 = ({
12890
13063
  selectable,
@@ -12943,13 +13116,13 @@ const ArrowButton$1 = styled('button', {
12943
13116
  cursor: 'default'
12944
13117
  }
12945
13118
  });
12946
- const WeekdayBox$1 = styled(Box$1, {
13119
+ const WeekdayBox$1 = styled(Box, {
12947
13120
  display: 'inline-block',
12948
13121
  width: '32px',
12949
13122
  textAlign: 'center',
12950
13123
  marginBottom: '$spacing-03'
12951
13124
  });
12952
- const CalendarsContainer$1 = styled(Box$1, {
13125
+ const CalendarsContainer$1 = styled(Box, {
12953
13126
  width: '100%',
12954
13127
  padding: '$spacing-01',
12955
13128
  display: 'inline-flex',
@@ -12963,7 +13136,7 @@ const CalendarsContainer$1 = styled(Box$1, {
12963
13136
  }
12964
13137
  });
12965
13138
  const CalendarItemContainer$1 = styled(Flex$1, {});
12966
- const DateContainer$1 = styled(Box$1, {
13139
+ const DateContainer$1 = styled(Box, {
12967
13140
  width: '100%',
12968
13141
  position: 'relative',
12969
13142
  display: 'inline-block',
@@ -13226,7 +13399,7 @@ const CalendarBox = ({
13226
13399
  lineNumber: 362,
13227
13400
  columnNumber: 13
13228
13401
  }
13229
- }, renderBackButton(), renderTitleButton(0), /*#__PURE__*/React__default.createElement(Box$1, {
13402
+ }, renderBackButton(), renderTitleButton(0), /*#__PURE__*/React__default.createElement(Box, {
13230
13403
  css: {
13231
13404
  size: '32px'
13232
13405
  },
@@ -13260,7 +13433,7 @@ const CalendarBox = ({
13260
13433
  lineNumber: 384,
13261
13434
  columnNumber: 13
13262
13435
  }
13263
- }, /*#__PURE__*/React__default.createElement(Box$1, {
13436
+ }, /*#__PURE__*/React__default.createElement(Box, {
13264
13437
  css: {
13265
13438
  size: '32px'
13266
13439
  },
@@ -13464,7 +13637,7 @@ const CalendarBox = ({
13464
13637
  };
13465
13638
 
13466
13639
  const renderFooter = () => {
13467
- return /*#__PURE__*/React__default.createElement(Box$1, {
13640
+ return /*#__PURE__*/React__default.createElement(Box, {
13468
13641
  __self: undefined,
13469
13642
  __source: {
13470
13643
  fileName: _jsxFileName$o,
@@ -13545,7 +13718,7 @@ const CalendarBox = ({
13545
13718
  };
13546
13719
 
13547
13720
  const renderTime = () => {
13548
- return /*#__PURE__*/React__default.createElement(Box$1, {
13721
+ return /*#__PURE__*/React__default.createElement(Box, {
13549
13722
  css: {
13550
13723
  padding: 4
13551
13724
  },
@@ -13580,7 +13753,7 @@ const CalendarBox = ({
13580
13753
  };
13581
13754
 
13582
13755
  const renderButtonTime = () => {
13583
- return /*#__PURE__*/React__default.createElement(Box$1, {
13756
+ return /*#__PURE__*/React__default.createElement(Box, {
13584
13757
  css: {
13585
13758
  padding: 4
13586
13759
  },
@@ -13631,7 +13804,7 @@ const CalendarBox = ({
13631
13804
  lineNumber: 672,
13632
13805
  columnNumber: 25
13633
13806
  }
13634
- }), /*#__PURE__*/React__default.createElement(Box$1, {
13807
+ }), /*#__PURE__*/React__default.createElement(Box, {
13635
13808
  __self: undefined,
13636
13809
  __source: {
13637
13810
  fileName: _jsxFileName$o,
@@ -13689,7 +13862,7 @@ const CalendarBox = ({
13689
13862
  return null;
13690
13863
  };
13691
13864
 
13692
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\components\\MobileCalendar.js";
13865
+ var _jsxFileName$n = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\components\\MobileCalendar.js";
13693
13866
 
13694
13867
  const getVariant = ({
13695
13868
  selectable,
@@ -13748,7 +13921,7 @@ const ArrowButton = styled('button', {
13748
13921
  cursor: 'default'
13749
13922
  }
13750
13923
  });
13751
- const WeekdayBox = styled(Box$1, {
13924
+ const WeekdayBox = styled(Box, {
13752
13925
  display: 'inline-block',
13753
13926
  width: '45.5px',
13754
13927
  textAlign: 'center',
@@ -13757,7 +13930,7 @@ const WeekdayBox = styled(Box$1, {
13757
13930
  width: '32px'
13758
13931
  }
13759
13932
  });
13760
- const DatePickerContainer = styled(Box$1, {
13933
+ const DatePickerContainer = styled(Box, {
13761
13934
  width: '100%',
13762
13935
  height: '100%',
13763
13936
  boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
@@ -13766,7 +13939,7 @@ const DatePickerContainer = styled(Box$1, {
13766
13939
  width: 'unset'
13767
13940
  }
13768
13941
  });
13769
- const CalendarsContainer = styled(Box$1, {
13942
+ const CalendarsContainer = styled(Box, {
13770
13943
  width: '100%',
13771
13944
  overflow: 'auto',
13772
13945
  padding: '$spacing-02 20px $spacing-05',
@@ -13791,7 +13964,7 @@ const CalendarItemContainer = styled(Flex$1, {
13791
13964
  height: '100%',
13792
13965
  paddingBottom: '160px'
13793
13966
  });
13794
- const DateContainer = styled(Box$1, {
13967
+ const DateContainer = styled(Box, {
13795
13968
  width: '100%',
13796
13969
  position: 'relative',
13797
13970
  display: 'inline-block',
@@ -14371,7 +14544,7 @@ const MobileCalendarBox = ({
14371
14544
  return null;
14372
14545
  };
14373
14546
 
14374
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14547
+ var _jsxFileName$m = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14375
14548
  const Input$2 = styled('input', {
14376
14549
  display: 'none'
14377
14550
  });
@@ -14401,6 +14574,7 @@ const Container$4 = styled(Flex$1, {
14401
14574
  boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12);',
14402
14575
  width: 200,
14403
14576
  height: 130,
14577
+ backgroundColor: '$bgWhite',
14404
14578
  variants: {
14405
14579
  size: {
14406
14580
  sm: {
@@ -14415,6 +14589,11 @@ const Container$4 = styled(Flex$1, {
14415
14589
  width: 219,
14416
14590
  height: 146
14417
14591
  }
14592
+ },
14593
+ disabled: {
14594
+ true: {
14595
+ backgroundColor: '$formDisable'
14596
+ }
14418
14597
  }
14419
14598
  }
14420
14599
  });
@@ -14423,6 +14602,17 @@ const IconUp = styled(ChevronUpOutline, {
14423
14602
  borderRadius: 6,
14424
14603
  '&:hover': {
14425
14604
  background: '$bgSuccess'
14605
+ },
14606
+ variants: {
14607
+ disabled: {
14608
+ true: {
14609
+ cursor: 'not-allowed',
14610
+ backgroundColor: '$btnDisable',
14611
+ '&:hover': {
14612
+ background: '$btnDisable'
14613
+ }
14614
+ }
14615
+ }
14426
14616
  }
14427
14617
  });
14428
14618
  const IconDown = styled(ChevronDownOutline, {
@@ -14430,6 +14620,17 @@ const IconDown = styled(ChevronDownOutline, {
14430
14620
  borderRadius: 6,
14431
14621
  '&:hover': {
14432
14622
  background: '$bgSuccess'
14623
+ },
14624
+ variants: {
14625
+ disabled: {
14626
+ true: {
14627
+ cursor: 'not-allowed',
14628
+ backgroundColor: '$btnDisable',
14629
+ '&:hover': {
14630
+ background: '$btnDisable'
14631
+ }
14632
+ }
14633
+ }
14433
14634
  }
14434
14635
  });
14435
14636
 
@@ -14441,23 +14642,23 @@ const IconStateFull$1 = props => {
14441
14642
  }
14442
14643
 
14443
14644
  return props.type === 'up' ? /*#__PURE__*/React__default.createElement(IconUp, _extends({}, props, {
14444
- color: isHover ? '#04C99E' : '#404545',
14645
+ color: isHover && !props.disabled ? '#04C99E' : '#404545',
14445
14646
  onMouseEnter: toggleHover,
14446
14647
  onMouseLeave: toggleHover,
14447
14648
  __self: undefined,
14448
14649
  __source: {
14449
14650
  fileName: _jsxFileName$m,
14450
- lineNumber: 79,
14651
+ lineNumber: 107,
14451
14652
  columnNumber: 5
14452
14653
  }
14453
14654
  })) : /*#__PURE__*/React__default.createElement(IconDown, _extends({}, props, {
14454
- color: isHover ? '#04C99E' : '#404545',
14655
+ color: isHover && !props.disabled ? '#04C99E' : '#404545',
14455
14656
  onMouseEnter: toggleHover,
14456
14657
  onMouseLeave: toggleHover,
14457
14658
  __self: undefined,
14458
14659
  __source: {
14459
14660
  fileName: _jsxFileName$m,
14460
- lineNumber: 81,
14661
+ lineNumber: 114,
14461
14662
  columnNumber: 5
14462
14663
  }
14463
14664
  }));
@@ -14467,7 +14668,8 @@ const NativeTimePicker = ({
14467
14668
  size,
14468
14669
  onChange,
14469
14670
  defaultValue,
14470
- value
14671
+ value,
14672
+ disabled
14471
14673
  }) => {
14472
14674
  const [date, setDate] = useState(value ? value : defaultValue ? defaultValue : moment());
14473
14675
  const format = 'HH:mm';
@@ -14482,11 +14684,15 @@ const NativeTimePicker = ({
14482
14684
  }
14483
14685
 
14484
14686
  function handleUp(type) {
14485
- type === 'hour' ? setNewDate(moment(date).add(1, 'hours')) : setNewDate(moment(date).add(1, 'minutes'));
14687
+ if (!disabled) {
14688
+ type === 'hour' ? setNewDate(moment(date).add(1, 'hours')) : setNewDate(moment(date).add(1, 'minutes'));
14689
+ }
14486
14690
  }
14487
14691
 
14488
14692
  function handleDown(type) {
14489
- type === 'hour' ? setNewDate(moment(date).subtract(1, 'hours')) : setNewDate(moment(date).subtract(1, 'minutes'));
14693
+ if (!disabled) {
14694
+ type === 'hour' ? setNewDate(moment(date).subtract(1, 'hours')) : setNewDate(moment(date).subtract(1, 'minutes'));
14695
+ }
14490
14696
  }
14491
14697
 
14492
14698
  return /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -14500,7 +14706,7 @@ const NativeTimePicker = ({
14500
14706
  __self: undefined,
14501
14707
  __source: {
14502
14708
  fileName: _jsxFileName$m,
14503
- lineNumber: 112,
14709
+ lineNumber: 149,
14504
14710
  columnNumber: 5
14505
14711
  }
14506
14712
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -14509,25 +14715,27 @@ const NativeTimePicker = ({
14509
14715
  __self: undefined,
14510
14716
  __source: {
14511
14717
  fileName: _jsxFileName$m,
14512
- lineNumber: 113,
14718
+ lineNumber: 150,
14513
14719
  columnNumber: 7
14514
14720
  }
14515
14721
  }, /*#__PURE__*/React__default.createElement(IconStateFull$1, {
14516
14722
  type: "up",
14723
+ disabled: disabled,
14517
14724
  onClick: () => handleUp('hour'),
14518
14725
  __self: undefined,
14519
14726
  __source: {
14520
14727
  fileName: _jsxFileName$m,
14521
- lineNumber: 114,
14728
+ lineNumber: 151,
14522
14729
  columnNumber: 9
14523
14730
  }
14524
14731
  }), /*#__PURE__*/React__default.createElement(IconStateFull$1, {
14525
14732
  type: "up",
14733
+ disabled: disabled,
14526
14734
  onClick: () => handleUp('minutes'),
14527
14735
  __self: undefined,
14528
14736
  __source: {
14529
14737
  fileName: _jsxFileName$m,
14530
- lineNumber: 115,
14738
+ lineNumber: 152,
14531
14739
  columnNumber: 9
14532
14740
  }
14533
14741
  })), /*#__PURE__*/React__default.createElement(Input$2, {
@@ -14538,7 +14746,7 @@ const NativeTimePicker = ({
14538
14746
  __self: undefined,
14539
14747
  __source: {
14540
14748
  fileName: _jsxFileName$m,
14541
- lineNumber: 117,
14749
+ lineNumber: 154,
14542
14750
  columnNumber: 7
14543
14751
  }
14544
14752
  }), /*#__PURE__*/React__default.createElement(Time, {
@@ -14546,7 +14754,7 @@ const NativeTimePicker = ({
14546
14754
  __self: undefined,
14547
14755
  __source: {
14548
14756
  fileName: _jsxFileName$m,
14549
- lineNumber: 118,
14757
+ lineNumber: 155,
14550
14758
  columnNumber: 7
14551
14759
  }
14552
14760
  }, moment(date).format(format)), /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -14555,25 +14763,27 @@ const NativeTimePicker = ({
14555
14763
  __self: undefined,
14556
14764
  __source: {
14557
14765
  fileName: _jsxFileName$m,
14558
- lineNumber: 119,
14766
+ lineNumber: 156,
14559
14767
  columnNumber: 7
14560
14768
  }
14561
14769
  }, /*#__PURE__*/React__default.createElement(IconStateFull$1, {
14562
14770
  type: "down",
14771
+ disabled: disabled,
14563
14772
  onClick: () => handleDown('hour'),
14564
14773
  __self: undefined,
14565
14774
  __source: {
14566
14775
  fileName: _jsxFileName$m,
14567
- lineNumber: 120,
14776
+ lineNumber: 157,
14568
14777
  columnNumber: 9
14569
14778
  }
14570
14779
  }), /*#__PURE__*/React__default.createElement(IconStateFull$1, {
14571
14780
  type: "down",
14781
+ disabled: disabled,
14572
14782
  onClick: () => handleDown('minutes'),
14573
14783
  __self: undefined,
14574
14784
  __source: {
14575
14785
  fileName: _jsxFileName$m,
14576
- lineNumber: 121,
14786
+ lineNumber: 158,
14577
14787
  columnNumber: 9
14578
14788
  }
14579
14789
  })));
@@ -14582,10 +14792,12 @@ const TimePicker = ({
14582
14792
  size,
14583
14793
  onChange,
14584
14794
  defaultValue,
14585
- value
14795
+ value,
14796
+ disabled
14586
14797
  }) => {
14587
14798
  return /*#__PURE__*/React__default.createElement(Container$4, {
14588
14799
  size: size,
14800
+ disabled: disabled,
14589
14801
  direction: "column",
14590
14802
  gap: 3,
14591
14803
  justify: "center",
@@ -14593,18 +14805,19 @@ const TimePicker = ({
14593
14805
  __self: undefined,
14594
14806
  __source: {
14595
14807
  fileName: _jsxFileName$m,
14596
- lineNumber: 129,
14808
+ lineNumber: 166,
14597
14809
  columnNumber: 5
14598
14810
  }
14599
14811
  }, /*#__PURE__*/React__default.createElement(NativeTimePicker, {
14600
14812
  size: size,
14813
+ disabled: disabled,
14601
14814
  onChange: onChange,
14602
14815
  defaultValue: defaultValue,
14603
14816
  value: value,
14604
14817
  __self: undefined,
14605
14818
  __source: {
14606
14819
  fileName: _jsxFileName$m,
14607
- lineNumber: 130,
14820
+ lineNumber: 167,
14608
14821
  columnNumber: 7
14609
14822
  }
14610
14823
  }));
@@ -14614,10 +14827,11 @@ TimePicker.propTypes = {
14614
14827
  size: PropTypes.oneOf(['sm', 'md', 'lg']),
14615
14828
  onChange: PropTypes.func,
14616
14829
  defaultValue: PropTypes.instanceOf(Date),
14617
- value: PropTypes.instanceOf(Date)
14830
+ value: PropTypes.instanceOf(Date),
14831
+ disabled: PropTypes.bool
14618
14832
  };
14619
14833
 
14620
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14834
+ var _jsxFileName$l = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14621
14835
 
14622
14836
  const getInputPickerValue$1 = date => {
14623
14837
  if (!date) return moment().format('HH:mm');
@@ -14631,18 +14845,26 @@ function InputTimePicker({
14631
14845
  value,
14632
14846
  placeholder,
14633
14847
  placement,
14634
- css
14848
+ css,
14849
+ disabled
14635
14850
  }) {
14636
14851
  const [openPicker, setOpenPicker] = useState(false);
14637
- const isMobile = useMediaQuery(`(max-width: 480px'})`);
14852
+ const isMobile = useMediaQuery(`(max-width: 480px)`);
14853
+
14854
+ function handleChange() {
14855
+ if (!disabled) {
14856
+ setOpenPicker(!openPicker);
14857
+ }
14858
+ }
14638
14859
 
14639
14860
  const renderInputGroup = () => /*#__PURE__*/React__default.createElement(InputGroup, {
14640
14861
  size: "sm",
14641
- onClick: isMobile ? () => setOpenPicker(true) : undefined,
14862
+ disabled: disabled,
14863
+ onClick: handleChange,
14642
14864
  __self: this,
14643
14865
  __source: {
14644
14866
  fileName: _jsxFileName$l,
14645
- lineNumber: 23,
14867
+ lineNumber: 29,
14646
14868
  columnNumber: 5
14647
14869
  }
14648
14870
  }, /*#__PURE__*/React__default.createElement(InputLeftElement, {
@@ -14650,14 +14872,14 @@ function InputTimePicker({
14650
14872
  __self: this,
14651
14873
  __source: {
14652
14874
  fileName: _jsxFileName$l,
14653
- lineNumber: 24,
14875
+ lineNumber: 30,
14654
14876
  columnNumber: 35
14655
14877
  }
14656
14878
  }),
14657
14879
  __self: this,
14658
14880
  __source: {
14659
14881
  fileName: _jsxFileName$l,
14660
- lineNumber: 24,
14882
+ lineNumber: 30,
14661
14883
  columnNumber: 7
14662
14884
  }
14663
14885
  }), /*#__PURE__*/React__default.createElement(InputText, {
@@ -14669,20 +14891,21 @@ function InputTimePicker({
14669
14891
  __self: this,
14670
14892
  __source: {
14671
14893
  fileName: _jsxFileName$l,
14672
- lineNumber: 25,
14894
+ lineNumber: 31,
14673
14895
  columnNumber: 7
14674
14896
  }
14675
14897
  }));
14676
14898
 
14677
- const renderDatePicker = () => /*#__PURE__*/React__default.createElement(TimePicker, {
14899
+ const renderTimePicker = () => /*#__PURE__*/React__default.createElement(TimePicker, {
14678
14900
  size: size,
14901
+ disabled: disabled,
14679
14902
  defaultValue: defaultValue,
14680
14903
  value: value,
14681
14904
  onChange: onChange,
14682
14905
  __self: this,
14683
14906
  __source: {
14684
14907
  fileName: _jsxFileName$l,
14685
- lineNumber: 36,
14908
+ lineNumber: 42,
14686
14909
  columnNumber: 5
14687
14910
  }
14688
14911
  });
@@ -14694,47 +14917,55 @@ function InputTimePicker({
14694
14917
  __self: this,
14695
14918
  __source: {
14696
14919
  fileName: _jsxFileName$l,
14697
- lineNumber: 40,
14920
+ lineNumber: 46,
14698
14921
  columnNumber: 5
14699
14922
  }
14700
- }, /*#__PURE__*/React__default.createElement(PopoverTrigger, {
14923
+ }, disabled ? /*#__PURE__*/React__default.createElement(Box, {
14924
+ css: css,
14701
14925
  __self: this,
14702
14926
  __source: {
14703
14927
  fileName: _jsxFileName$l,
14704
- lineNumber: 41,
14705
- columnNumber: 7
14928
+ lineNumber: 48,
14929
+ columnNumber: 9
14706
14930
  }
14707
- }, /*#__PURE__*/React__default.createElement(Box$1, {
14708
- css: css,
14931
+ }, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
14709
14932
  __self: this,
14710
14933
  __source: {
14711
14934
  fileName: _jsxFileName$l,
14712
- lineNumber: 42,
14935
+ lineNumber: 50,
14713
14936
  columnNumber: 9
14714
14937
  }
14938
+ }, /*#__PURE__*/React__default.createElement(Box, {
14939
+ css: css,
14940
+ __self: this,
14941
+ __source: {
14942
+ fileName: _jsxFileName$l,
14943
+ lineNumber: 51,
14944
+ columnNumber: 11
14945
+ }
14715
14946
  }, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
14716
14947
  __self: this,
14717
14948
  __source: {
14718
14949
  fileName: _jsxFileName$l,
14719
- lineNumber: 44,
14950
+ lineNumber: 54,
14720
14951
  columnNumber: 7
14721
14952
  }
14722
- }, renderDatePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box$1, {
14953
+ }, renderTimePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
14723
14954
  css: css,
14724
14955
  __self: this,
14725
14956
  __source: {
14726
14957
  fileName: _jsxFileName$l,
14727
- lineNumber: 48,
14958
+ lineNumber: 58,
14728
14959
  columnNumber: 7
14729
14960
  }
14730
14961
  }, renderInputGroup()), /*#__PURE__*/React__default.createElement(Drawer, {
14731
14962
  open: openPicker,
14732
- onOpenChange: setOpenPicker,
14963
+ onOpenChange: handleChange,
14733
14964
  side: "bottom",
14734
14965
  __self: this,
14735
14966
  __source: {
14736
14967
  fileName: _jsxFileName$l,
14737
- lineNumber: 49,
14968
+ lineNumber: 59,
14738
14969
  columnNumber: 7
14739
14970
  }
14740
14971
  }, /*#__PURE__*/React__default.createElement(DrawerContent, {
@@ -14745,10 +14976,22 @@ function InputTimePicker({
14745
14976
  __self: this,
14746
14977
  __source: {
14747
14978
  fileName: _jsxFileName$l,
14748
- lineNumber: 50,
14979
+ lineNumber: 60,
14749
14980
  columnNumber: 9
14750
14981
  }
14751
- }, renderDatePicker())));
14982
+ }, /*#__PURE__*/React__default.createElement(Flex$1, {
14983
+ justify: "center",
14984
+ align: "center",
14985
+ css: {
14986
+ padding: '20px 0px'
14987
+ },
14988
+ __self: this,
14989
+ __source: {
14990
+ fileName: _jsxFileName$l,
14991
+ lineNumber: 66,
14992
+ columnNumber: 11
14993
+ }
14994
+ }, renderTimePicker()))));
14752
14995
  }
14753
14996
 
14754
14997
  InputTimePicker.defaultProps = {
@@ -14762,14 +15005,15 @@ InputTimePicker.propTypes = {
14762
15005
  value: PropTypes.instanceOf(Date),
14763
15006
  placeholder: PropTypes.string,
14764
15007
  placement: PropTypes.string,
14765
- css: PropTypes.object
15008
+ css: PropTypes.object,
15009
+ disabled: PropTypes.bool
14766
15010
  };
14767
15011
  InputTimePicker.displayName = 'InputTimePicker';
14768
15012
 
14769
15013
  const _excluded$5 = ["multiDatePicker", "onChange", "onClose", "advanceView", "selected", "disabled", "showTimePicker", "minDate", "maxDate"],
14770
15014
  _excluded2 = ["multiDatePicker", "onChange", "onClose", "advanceView", "selected", "disabled", "minDate", "maxDate"],
14771
15015
  _excluded3 = ["type"];
14772
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\DatePicker.js";
15016
+ var _jsxFileName$k = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\DatePicker.js";
14773
15017
  const SINGLE_PICKER = 'single';
14774
15018
  const RANGE_PICKER = 'range';
14775
15019
  const ADVANCE_PICKER = 'advance';
@@ -14823,7 +15067,7 @@ const CalendarPicker = _ref => {
14823
15067
  }, [dateValue]);
14824
15068
 
14825
15069
  const timePicker = () => {
14826
- return /*#__PURE__*/React__default.createElement(Box$1, {
15070
+ return /*#__PURE__*/React__default.createElement(Box, {
14827
15071
  css: {
14828
15072
  padding: '50px 95px'
14829
15073
  },
@@ -14993,7 +15237,7 @@ const DatePicker = props => {
14993
15237
  }));
14994
15238
  };
14995
15239
 
14996
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\InputDatePicker.js";
15240
+ var _jsxFileName$j = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\InputDatePicker.js";
14997
15241
  const UPDATE = 'UPDATE';
14998
15242
  const TODAY = 'TODAY';
14999
15243
  const YESTERDAY = 'YESTERDAY';
@@ -15165,13 +15409,20 @@ function InputDatePicker({
15165
15409
  }, [date]);
15166
15410
  const isMobile = useMediaQuery(`(max-width: ${type === SINGLE_PICKER ? '480px' : '767px'})`);
15167
15411
 
15412
+ function handleChange() {
15413
+ if (!disabled) {
15414
+ setOpenPicker(!openPicker);
15415
+ }
15416
+ }
15417
+
15168
15418
  const renderInputGroup = () => /*#__PURE__*/React__default.createElement(InputGroup, {
15169
- onClick: isMobile ? () => setOpenPicker(true) : undefined,
15419
+ disabled: disabled,
15420
+ onClick: handleChange,
15170
15421
  size: size,
15171
15422
  __self: this,
15172
15423
  __source: {
15173
15424
  fileName: _jsxFileName$j,
15174
- lineNumber: 124,
15425
+ lineNumber: 131,
15175
15426
  columnNumber: 5
15176
15427
  }
15177
15428
  }, /*#__PURE__*/React__default.createElement(InputLeftElement, {
@@ -15179,14 +15430,14 @@ function InputDatePicker({
15179
15430
  __self: this,
15180
15431
  __source: {
15181
15432
  fileName: _jsxFileName$j,
15182
- lineNumber: 125,
15433
+ lineNumber: 132,
15183
15434
  columnNumber: 35
15184
15435
  }
15185
15436
  }),
15186
15437
  __self: this,
15187
15438
  __source: {
15188
15439
  fileName: _jsxFileName$j,
15189
- lineNumber: 125,
15440
+ lineNumber: 132,
15190
15441
  columnNumber: 7
15191
15442
  }
15192
15443
  }), /*#__PURE__*/React__default.createElement(InputText, {
@@ -15199,7 +15450,7 @@ function InputDatePicker({
15199
15450
  __self: this,
15200
15451
  __source: {
15201
15452
  fileName: _jsxFileName$j,
15202
- lineNumber: 126,
15453
+ lineNumber: 133,
15203
15454
  columnNumber: 7
15204
15455
  }
15205
15456
  }));
@@ -15214,7 +15465,7 @@ function InputDatePicker({
15214
15465
  __self: this,
15215
15466
  __source: {
15216
15467
  fileName: _jsxFileName$j,
15217
- lineNumber: 141,
15468
+ lineNumber: 148,
15218
15469
  columnNumber: 11
15219
15470
  }
15220
15471
  }) : {
@@ -15222,7 +15473,7 @@ function InputDatePicker({
15222
15473
  }),
15223
15474
  type: type,
15224
15475
  disabled: disabled,
15225
- date: date ? date == null ? void 0 : date[1] : selectedDate == null ? void 0 : selectedDate[1],
15476
+ date: date ? date === null || date === void 0 ? void 0 : date[1] : selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate[1],
15226
15477
  selected: selectedDate,
15227
15478
  multiDatePicker: type !== SINGLE_PICKER,
15228
15479
  onChange: value => {
@@ -15239,7 +15490,7 @@ function InputDatePicker({
15239
15490
  __self: this,
15240
15491
  __source: {
15241
15492
  fileName: _jsxFileName$j,
15242
- lineNumber: 137,
15493
+ lineNumber: 144,
15243
15494
  columnNumber: 5
15244
15495
  }
15245
15496
  });
@@ -15251,47 +15502,55 @@ function InputDatePicker({
15251
15502
  __self: this,
15252
15503
  __source: {
15253
15504
  fileName: _jsxFileName$j,
15254
- lineNumber: 162,
15505
+ lineNumber: 169,
15255
15506
  columnNumber: 5
15256
15507
  }
15257
- }, /*#__PURE__*/React__default.createElement(PopoverTrigger, {
15508
+ }, disabled ? /*#__PURE__*/React__default.createElement(Box, {
15509
+ css: css,
15258
15510
  __self: this,
15259
15511
  __source: {
15260
15512
  fileName: _jsxFileName$j,
15261
- lineNumber: 163,
15262
- columnNumber: 7
15513
+ lineNumber: 171,
15514
+ columnNumber: 9
15263
15515
  }
15264
- }, /*#__PURE__*/React__default.createElement(Box$1, {
15265
- css: css,
15516
+ }, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
15266
15517
  __self: this,
15267
15518
  __source: {
15268
15519
  fileName: _jsxFileName$j,
15269
- lineNumber: 164,
15520
+ lineNumber: 173,
15270
15521
  columnNumber: 9
15271
15522
  }
15523
+ }, /*#__PURE__*/React__default.createElement(Box, {
15524
+ css: css,
15525
+ __self: this,
15526
+ __source: {
15527
+ fileName: _jsxFileName$j,
15528
+ lineNumber: 174,
15529
+ columnNumber: 11
15530
+ }
15272
15531
  }, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
15273
15532
  __self: this,
15274
15533
  __source: {
15275
15534
  fileName: _jsxFileName$j,
15276
- lineNumber: 166,
15535
+ lineNumber: 177,
15277
15536
  columnNumber: 7
15278
15537
  }
15279
- }, renderDatePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box$1, {
15538
+ }, renderDatePicker())) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
15280
15539
  css: css,
15281
15540
  __self: this,
15282
15541
  __source: {
15283
15542
  fileName: _jsxFileName$j,
15284
- lineNumber: 170,
15543
+ lineNumber: 181,
15285
15544
  columnNumber: 7
15286
15545
  }
15287
15546
  }, renderInputGroup()), /*#__PURE__*/React__default.createElement(Drawer, {
15288
15547
  open: openPicker,
15289
- onOpenChange: setOpenPicker,
15548
+ onOpenChange: handleChange,
15290
15549
  side: "bottom",
15291
15550
  __self: this,
15292
15551
  __source: {
15293
15552
  fileName: _jsxFileName$j,
15294
- lineNumber: 171,
15553
+ lineNumber: 182,
15295
15554
  columnNumber: 7
15296
15555
  }
15297
15556
  }, /*#__PURE__*/React__default.createElement(DrawerContent, {
@@ -15302,7 +15561,7 @@ function InputDatePicker({
15302
15561
  __self: this,
15303
15562
  __source: {
15304
15563
  fileName: _jsxFileName$j,
15305
- lineNumber: 172,
15564
+ lineNumber: 183,
15306
15565
  columnNumber: 9
15307
15566
  }
15308
15567
  }, renderDatePicker())));
@@ -15332,7 +15591,7 @@ const removeUndefinedFields = obj => {
15332
15591
  };
15333
15592
 
15334
15593
  const _excluded$4 = ["isActive", "onClick"];
15335
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15594
+ var _jsxFileName$i = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15336
15595
  const PrevNextButton = styled(Text$1, {
15337
15596
  padding: '$spacing-01',
15338
15597
  cursor: 'pointer',
@@ -15541,7 +15800,7 @@ const PaginationButton = ({
15541
15800
  lineNumber: 152,
15542
15801
  columnNumber: 7
15543
15802
  }
15544
- }), /*#__PURE__*/React__default.createElement(Box$1, {
15803
+ }), /*#__PURE__*/React__default.createElement(Box, {
15545
15804
  css: {
15546
15805
  display: 'flex',
15547
15806
  alignItems: 'center',
@@ -15589,7 +15848,7 @@ const PaginationButton = ({
15589
15848
  };
15590
15849
 
15591
15850
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
15592
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15851
+ var _jsxFileName$h = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15593
15852
  const LimitContainer = styled(Flex$1, {
15594
15853
  cursor: 'pointer'
15595
15854
  });
@@ -15726,7 +15985,7 @@ function PaginationInfo(_ref) {
15726
15985
  }
15727
15986
 
15728
15987
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange"];
15729
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
15988
+ var _jsxFileName$g = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
15730
15989
 
15731
15990
  function Pagination(_ref) {
15732
15991
  let {
@@ -15765,7 +16024,7 @@ function Pagination(_ref) {
15765
16024
  lineNumber: 14,
15766
16025
  columnNumber: 9
15767
16026
  }
15768
- }) : /*#__PURE__*/React__default.createElement(Box$1, {
16027
+ }) : /*#__PURE__*/React__default.createElement(Box, {
15769
16028
  __self: this,
15770
16029
  __source: {
15771
16030
  fileName: _jsxFileName$g,
@@ -16344,7 +16603,7 @@ function Table({
16344
16603
  });
16345
16604
  }
16346
16605
  }, [data, selectedIds]);
16347
- return jsxs(Box$1, Object.assign({
16606
+ return jsxs(Box, Object.assign({
16348
16607
  css: {
16349
16608
  position: 'relative',
16350
16609
  width: `${css && css.width || '100%'}`,
@@ -16482,7 +16741,7 @@ function Table({
16482
16741
  })
16483
16742
  }), void 0)]
16484
16743
  }), void 0))
16485
- }), void 0), !isInfiniteScroll && jsx(Box$1, Object.assign({
16744
+ }), void 0), !isInfiniteScroll && jsx(Box, Object.assign({
16486
16745
  css: {
16487
16746
  width: '100%'
16488
16747
  }
@@ -16522,7 +16781,7 @@ const TableColumn = _a => {
16522
16781
  return jsx("div", {}, void 0);
16523
16782
  };
16524
16783
 
16525
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16784
+ var _jsxFileName$f = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16526
16785
 
16527
16786
  const DateColumn = ({
16528
16787
  value
@@ -16557,12 +16816,11 @@ var uncurryThis$9 = functionUncurryThis;
16557
16816
  // https://tc39.es/ecma262/#sec-thisnumbervalue
16558
16817
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
16559
16818
 
16560
- var global$7 = global$U;
16561
16819
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
16562
16820
  var toString$5 = toString$f;
16563
16821
  var requireObjectCoercible$3 = requireObjectCoercible$a;
16564
16822
 
16565
- var RangeError$2 = global$7.RangeError;
16823
+ var $RangeError$2 = RangeError;
16566
16824
 
16567
16825
  // `String.prototype.repeat` method implementation
16568
16826
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -16570,21 +16828,20 @@ var stringRepeat = function repeat(count) {
16570
16828
  var str = toString$5(requireObjectCoercible$3(this));
16571
16829
  var result = '';
16572
16830
  var n = toIntegerOrInfinity$3(count);
16573
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
16831
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
16574
16832
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
16575
16833
  return result;
16576
16834
  };
16577
16835
 
16578
16836
  var $$3 = _export;
16579
- var global$6 = global$U;
16580
16837
  var uncurryThis$8 = functionUncurryThis;
16581
16838
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
16582
16839
  var thisNumberValue = thisNumberValue$1;
16583
16840
  var $repeat = stringRepeat;
16584
16841
  var fails$4 = fails$s;
16585
16842
 
16586
- var RangeError$1 = global$6.RangeError;
16587
- var String$1 = global$6.String;
16843
+ var $RangeError$1 = RangeError;
16844
+ var $String = String;
16588
16845
  var floor$3 = Math.floor;
16589
16846
  var repeat = uncurryThis$8($repeat);
16590
16847
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -16632,7 +16889,7 @@ var dataToString = function (data) {
16632
16889
  var s = '';
16633
16890
  while (--index >= 0) {
16634
16891
  if (s !== '' || index === 0 || data[index] !== 0) {
16635
- var t = String$1(data[index]);
16892
+ var t = $String(data[index]);
16636
16893
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
16637
16894
  }
16638
16895
  } return s;
@@ -16660,10 +16917,10 @@ $$3({ target: 'Number', proto: true, forced: FORCED$1 }, {
16660
16917
  var e, z, j, k;
16661
16918
 
16662
16919
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
16663
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
16920
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
16664
16921
  // eslint-disable-next-line no-self-compare -- NaN check
16665
16922
  if (number != number) return 'NaN';
16666
- if (number <= -1e21 || number >= 1e21) return String$1(number);
16923
+ if (number <= -1e21 || number >= 1e21) return $String(number);
16667
16924
  if (number < 0) {
16668
16925
  sign = '-';
16669
16926
  number = -number;
@@ -16707,7 +16964,7 @@ $$3({ target: 'Number', proto: true, forced: FORCED$1 }, {
16707
16964
  }
16708
16965
  });
16709
16966
 
16710
- var global$5 = global$U;
16967
+ var global$3 = global$s;
16711
16968
  var fails$3 = fails$s;
16712
16969
  var uncurryThis$7 = functionUncurryThis;
16713
16970
  var toString$4 = toString$f;
@@ -16715,8 +16972,8 @@ var trim = stringTrim.trim;
16715
16972
  var whitespaces = whitespaces$3;
16716
16973
 
16717
16974
  var charAt$6 = uncurryThis$7(''.charAt);
16718
- var n$ParseFloat = global$5.parseFloat;
16719
- var Symbol$1 = global$5.Symbol;
16975
+ var n$ParseFloat = global$3.parseFloat;
16976
+ var Symbol$1 = global$3.Symbol;
16720
16977
  var ITERATOR$2 = Symbol$1 && Symbol$1.iterator;
16721
16978
  var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity
16722
16979
  // MS Edge 18- broken with boxed symbols
@@ -17205,7 +17462,7 @@ const PriceColumn = props => {
17205
17462
  return addThousandSeparator(param);
17206
17463
  };
17207
17464
 
17208
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17465
+ var _jsxFileName$e = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17209
17466
  const rowExpanderColumn = {
17210
17467
  id: 'expander',
17211
17468
  Header: () => null,
@@ -17247,7 +17504,7 @@ const rowExpanderColumn = {
17247
17504
  unsortable: true
17248
17505
  };
17249
17506
 
17250
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17507
+ var _jsxFileName$d = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17251
17508
 
17252
17509
  const rowMenuColumn = (options, icon, config) => ({
17253
17510
  id: 'menu',
@@ -17285,7 +17542,7 @@ const rowMenuColumn = (options, icon, config) => ({
17285
17542
  lineNumber: 36,
17286
17543
  columnNumber: 11
17287
17544
  }
17288
- }, /*#__PURE__*/React__default.createElement(Box$1, {
17545
+ }, /*#__PURE__*/React__default.createElement(Box, {
17289
17546
  css: {
17290
17547
  display: 'none',
17291
17548
  '@md': {
@@ -17386,7 +17643,7 @@ const rowMenuColumn = (options, icon, config) => ({
17386
17643
  lineNumber: 77,
17387
17644
  columnNumber: 11
17388
17645
  }
17389
- }, /*#__PURE__*/React__default.createElement(Box$1, {
17646
+ }, /*#__PURE__*/React__default.createElement(Box, {
17390
17647
  css: {
17391
17648
  display: 'block',
17392
17649
  '@md': {
@@ -17430,7 +17687,7 @@ const rowMenuColumn = (options, icon, config) => ({
17430
17687
  lineNumber: 83,
17431
17688
  columnNumber: 11
17432
17689
  }
17433
- }, /*#__PURE__*/React__default.createElement(Box$1, {
17690
+ }, /*#__PURE__*/React__default.createElement(Box, {
17434
17691
  css: {
17435
17692
  display: 'flex',
17436
17693
  flexDirection: 'column',
@@ -17453,7 +17710,7 @@ const rowMenuColumn = (options, icon, config) => ({
17453
17710
  lineNumber: 86,
17454
17711
  columnNumber: 17
17455
17712
  }
17456
- }, /*#__PURE__*/React__default.createElement(Box$1, {
17713
+ }, /*#__PURE__*/React__default.createElement(Box, {
17457
17714
  type: "button",
17458
17715
  role: "button",
17459
17716
  onClick: () => {
@@ -17488,7 +17745,7 @@ const rowMenuColumn = (options, icon, config) => ({
17488
17745
  unsortable: true
17489
17746
  });
17490
17747
 
17491
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17748
+ var _jsxFileName$c = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17492
17749
  const rowSelectionColumn = {
17493
17750
  id: 'selection',
17494
17751
  Header: ({
@@ -17626,7 +17883,7 @@ const PageDialog = props => {
17626
17883
  ref: ref,
17627
17884
  onOpenAutoFocus: onOpenAutoFocus
17628
17885
  }, {
17629
- children: jsxs(Box$1, Object.assign({
17886
+ children: jsxs(Box, Object.assign({
17630
17887
  css: {
17631
17888
  backgroundColor: isMobile ? '$white' : '$gray50',
17632
17889
  height: '100%',
@@ -17634,7 +17891,7 @@ const PageDialog = props => {
17634
17891
  flexDirection: 'column'
17635
17892
  }
17636
17893
  }, {
17637
- children: [jsxs(Box$1, Object.assign({
17894
+ children: [jsxs(Box, Object.assign({
17638
17895
  css: {
17639
17896
  backgroundColor: '$white',
17640
17897
  padding: isMobile ? '24px 16px' : '4px 24px',
@@ -17646,7 +17903,7 @@ const PageDialog = props => {
17646
17903
  height: isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT
17647
17904
  }
17648
17905
  }, {
17649
- children: [jsxs(Box$1, Object.assign({
17906
+ children: [jsxs(Box, Object.assign({
17650
17907
  css: {
17651
17908
  justifyContent: isMobile ? 'flex-end' : 'flex-start',
17652
17909
  flexDirection: isMobile ? 'row-reverse' : 'row',
@@ -17659,7 +17916,7 @@ const PageDialog = props => {
17659
17916
  children: [!isMobile && jsx(DialogClose, Object.assign({
17660
17917
  asChild: true
17661
17918
  }, {
17662
- children: jsx(Box$1, Object.assign({
17919
+ children: jsx(Box, Object.assign({
17663
17920
  css: {
17664
17921
  width: 48,
17665
17922
  height: 48,
@@ -17688,7 +17945,7 @@ const PageDialog = props => {
17688
17945
  }), void 0), isMobile && jsx(DialogClose, Object.assign({
17689
17946
  asChild: true
17690
17947
  }, {
17691
- children: jsx(Box$1, Object.assign({
17948
+ children: jsx(Box, Object.assign({
17692
17949
  css: {
17693
17950
  display: 'flex',
17694
17951
  justifyContent: 'center',
@@ -17701,7 +17958,7 @@ const PageDialog = props => {
17701
17958
  }, void 0)
17702
17959
  }), void 0)
17703
17960
  }), void 0)]
17704
- }), void 0), !isMobile && jsx(Box$1, Object.assign({
17961
+ }), void 0), !isMobile && jsx(Box, Object.assign({
17705
17962
  css: {
17706
17963
  position: 'absolute',
17707
17964
  left: '50%',
@@ -17719,13 +17976,13 @@ const PageDialog = props => {
17719
17976
  fallback: undefined
17720
17977
  }, void 0)
17721
17978
  }), void 0)]
17722
- }), void 0), pageDialogChildren && jsx(Box$1, Object.assign({}, pageDialogChildren.props, {
17979
+ }), void 0), pageDialogChildren && jsx(Box, Object.assign({}, pageDialogChildren.props, {
17723
17980
  css: Object.assign({
17724
17981
  flexGrow: 1,
17725
17982
  maxHeight: footerChildren ? `calc(100vh - ${isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT}px - ${FOOTER_HEIGHT}px)` : `calc(100vh - ${isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT}px)`,
17726
17983
  overflow: 'auto'
17727
17984
  }, pageDialogChildren.props.css)
17728
- }), void 0), footerChildren && jsx(Box$1, Object.assign({}, footerChildren.props, {
17985
+ }), void 0), footerChildren && jsx(Box, Object.assign({}, footerChildren.props, {
17729
17986
  css: Object.assign({
17730
17987
  boxShadow: '$small',
17731
17988
  backgroundColor: '$white',
@@ -17750,7 +18007,7 @@ PageDialog.defaultProps = {
17750
18007
  };
17751
18008
 
17752
18009
  const _excluded$1 = ["children"];
17753
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
18010
+ var _jsxFileName$b = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
17754
18011
  const overlayShow = keyframes({
17755
18012
  '0%': {
17756
18013
  opacity: 0
@@ -17948,7 +18205,7 @@ const TemplateAlertFunction = props => {
17948
18205
  lineNumber: 131,
17949
18206
  columnNumber: 11
17950
18207
  }
17951
- }, /*#__PURE__*/React__default.createElement(Box$1, {
18208
+ }, /*#__PURE__*/React__default.createElement(Box, {
17952
18209
  onClick: buttonClose,
17953
18210
  css: {
17954
18211
  cursor: 'pointer'
@@ -17992,7 +18249,7 @@ const TemplateAlertFunction = props => {
17992
18249
  lineNumber: 139,
17993
18250
  columnNumber: 11
17994
18251
  }
17995
- }, props.description)), /*#__PURE__*/React__default.createElement(Box$1, {
18252
+ }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
17996
18253
  css: {
17997
18254
  position: 'absolute',
17998
18255
  bottom: 0,
@@ -18143,7 +18400,7 @@ function AlertDialog(props) {
18143
18400
  lineNumber: 191,
18144
18401
  columnNumber: 11
18145
18402
  }
18146
- }, /*#__PURE__*/React__default.createElement(Box$1, {
18403
+ }, /*#__PURE__*/React__default.createElement(Box, {
18147
18404
  onClick: props.onCancel,
18148
18405
  css: {
18149
18406
  cursor: 'pointer'
@@ -18187,7 +18444,7 @@ function AlertDialog(props) {
18187
18444
  lineNumber: 199,
18188
18445
  columnNumber: 11
18189
18446
  }
18190
- }, props.description)), /*#__PURE__*/React__default.createElement(Box$1, {
18447
+ }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
18191
18448
  css: {
18192
18449
  position: 'absolute',
18193
18450
  bottom: 0,
@@ -18320,7 +18577,7 @@ const AlertDialogCancel = ADialog.Cancel;
18320
18577
  const AlertDialogConfirm = ADialog.Action;
18321
18578
 
18322
18579
  const _excluded = ["side", "align", "children"];
18323
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18580
+ var _jsxFileName$a = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18324
18581
  const Context = /*#__PURE__*/React__default.createContext();
18325
18582
  const slideUpAndFade = keyframes({
18326
18583
  '0%': {
@@ -18654,7 +18911,6 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
18654
18911
  }
18655
18912
  };
18656
18913
 
18657
- var global$4 = global$U;
18658
18914
  var bind$2 = functionBindContext;
18659
18915
  var call$1 = functionCall;
18660
18916
  var toObject = toObject$7;
@@ -18666,7 +18922,7 @@ var createProperty = createProperty$2;
18666
18922
  var getIterator$1 = getIterator$3;
18667
18923
  var getIteratorMethod$1 = getIteratorMethod$4;
18668
18924
 
18669
- var Array$1 = global$4.Array;
18925
+ var $Array = Array;
18670
18926
 
18671
18927
  // `Array.from` method implementation
18672
18928
  // https://tc39.es/ecma262/#sec-array.from
@@ -18681,7 +18937,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18681
18937
  var index = 0;
18682
18938
  var length, result, step, iterator, next, value;
18683
18939
  // if the target is not iterable or it's an array with the default iterator - use a simple case
18684
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
18940
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
18685
18941
  iterator = getIterator$1(O, iteratorMethod);
18686
18942
  next = iterator.next;
18687
18943
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -18691,7 +18947,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18691
18947
  }
18692
18948
  } else {
18693
18949
  length = lengthOfArrayLike(O);
18694
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
18950
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
18695
18951
  for (;length > index; index++) {
18696
18952
  value = mapping ? mapfn(O[index], index) : O[index];
18697
18953
  createProperty(result, index, value);
@@ -18702,7 +18958,6 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18702
18958
  };
18703
18959
 
18704
18960
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
18705
- var global$3 = global$U;
18706
18961
  var uncurryThis$2 = functionUncurryThis;
18707
18962
 
18708
18963
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -18719,7 +18974,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
18719
18974
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
18720
18975
  var baseMinusTMin = base - tMin;
18721
18976
 
18722
- var RangeError = global$3.RangeError;
18977
+ var $RangeError = RangeError;
18723
18978
  var exec$1 = uncurryThis$2(regexSeparators.exec);
18724
18979
  var floor$1 = Math.floor;
18725
18980
  var fromCharCode = String.fromCharCode;
@@ -18834,7 +19089,7 @@ var encode = function (input) {
18834
19089
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
18835
19090
  var handledCPCountPlusOne = handledCPCount + 1;
18836
19091
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
18837
- throw RangeError(OVERFLOW_ERROR);
19092
+ throw $RangeError(OVERFLOW_ERROR);
18838
19093
  }
18839
19094
 
18840
19095
  delta += (m - n) * handledCPCountPlusOne;
@@ -18843,7 +19098,7 @@ var encode = function (input) {
18843
19098
  for (i = 0; i < input.length; i++) {
18844
19099
  currentValue = input[i];
18845
19100
  if (currentValue < n && ++delta > maxInt) {
18846
- throw RangeError(OVERFLOW_ERROR);
19101
+ throw $RangeError(OVERFLOW_ERROR);
18847
19102
  }
18848
19103
  if (currentValue == n) {
18849
19104
  // Represent delta as a generalized variable-length integer.
@@ -18893,7 +19148,7 @@ var defineBuiltIns$1 = function (target, src, options) {
18893
19148
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
18894
19149
 
18895
19150
  var $$1 = _export;
18896
- var global$2 = global$U;
19151
+ var global$2 = global$s;
18897
19152
  var call = functionCall;
18898
19153
  var uncurryThis$1 = functionUncurryThis;
18899
19154
  var DESCRIPTORS$1 = descriptors;
@@ -19255,7 +19510,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
19255
19510
  };
19256
19511
 
19257
19512
  if (isCallable(nativeFetch)) {
19258
- $$1({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
19513
+ $$1({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
19259
19514
  fetch: function fetch(input /* , init */) {
19260
19515
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
19261
19516
  }
@@ -19271,7 +19526,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
19271
19526
  RequestPrototype.constructor = RequestConstructor;
19272
19527
  RequestConstructor.prototype = RequestPrototype;
19273
19528
 
19274
- $$1({ global: true, constructor: true, noTargetGet: true, forced: true }, {
19529
+ $$1({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
19275
19530
  Request: RequestConstructor
19276
19531
  });
19277
19532
  }
@@ -19287,7 +19542,7 @@ var web_urlSearchParams_constructor = {
19287
19542
  var $ = _export;
19288
19543
  var DESCRIPTORS = descriptors;
19289
19544
  var USE_NATIVE_URL = nativeUrl;
19290
- var global$1 = global$U;
19545
+ var global$1 = global$s;
19291
19546
  var bind = functionBindContext;
19292
19547
  var uncurryThis = functionUncurryThis;
19293
19548
  var defineBuiltIn = defineBuiltIn$b;
@@ -20371,7 +20626,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0) {
20371
20626
  });
20372
20627
  }
20373
20628
 
20374
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20629
+ var _jsxFileName$9 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20375
20630
  const Input$1 = styled('input', {
20376
20631
  display: 'none !important'
20377
20632
  });
@@ -20614,7 +20869,7 @@ const Upload = ({
20614
20869
  file: newFile,
20615
20870
  indexReplace: indexReplace.current,
20616
20871
  isReplace: indexReplace.current !== null
20617
- })) == null ? void 0 : (_onChange$then = _onChange.then(() => setErrorMessage(null))) == null ? void 0 : _onChange$then.catch(error => setErrorMessage(error.message));
20872
+ })) === null || _onChange === void 0 ? void 0 : (_onChange$then = _onChange.then(() => setErrorMessage(null))) === null || _onChange$then === void 0 ? void 0 : _onChange$then.catch(error => setErrorMessage(error.message));
20618
20873
 
20619
20874
  if (indexReplace.current !== null) {
20620
20875
  arrFile[indexReplace.current] = newFile;
@@ -20640,9 +20895,9 @@ const Upload = ({
20640
20895
  }
20641
20896
 
20642
20897
  function handleCrop() {
20643
- if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
20898
+ if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
20644
20899
  imgPreview(imgRef.current, completedCrop).then(blob => {
20645
- const file = new File([blob], fileState == null ? void 0 : fileState.name, {
20900
+ const file = new File([blob], fileState === null || fileState === void 0 ? void 0 : fileState.name, {
20646
20901
  type: blob.type
20647
20902
  });
20648
20903
  handleUpload([file]);
@@ -20768,12 +21023,12 @@ const Upload = ({
20768
21023
  }
20769
21024
 
20770
21025
  const renderPicture = () => {
20771
- return fileList == null ? void 0 : fileList.map((item, index) => {
20772
- if ((item == null ? void 0 : item.status) === 'uploading') {
21026
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
21027
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
20773
21028
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
20774
21029
  key: index,
20775
- progress: item == null ? void 0 : item.percent,
20776
- loading: item == null ? void 0 : item.loading,
21030
+ progress: item === null || item === void 0 ? void 0 : item.percent,
21031
+ loading: item === null || item === void 0 ? void 0 : item.loading,
20777
21032
  __self: undefined,
20778
21033
  __source: {
20779
21034
  fileName: _jsxFileName$9,
@@ -20791,7 +21046,7 @@ const Upload = ({
20791
21046
  lineNumber: 396,
20792
21047
  columnNumber: 9
20793
21048
  }
20794
- }, /*#__PURE__*/React__default.createElement(Box$1, {
21049
+ }, /*#__PURE__*/React__default.createElement(Box, {
20795
21050
  css: {
20796
21051
  position: 'relative'
20797
21052
  },
@@ -20810,7 +21065,7 @@ const Upload = ({
20810
21065
  lineNumber: 398,
20811
21066
  columnNumber: 13
20812
21067
  }
20813
- }), /*#__PURE__*/React__default.createElement(Box$1, {
21068
+ }), /*#__PURE__*/React__default.createElement(Box, {
20814
21069
  css: {
20815
21070
  position: 'absolute',
20816
21071
  top: '50%',
@@ -20845,12 +21100,12 @@ const Upload = ({
20845
21100
  };
20846
21101
 
20847
21102
  const renderFile = () => {
20848
- return fileList == null ? void 0 : fileList.map((item, index) => {
20849
- if ((item == null ? void 0 : item.status) === 'uploading') {
21103
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
21104
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
20850
21105
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
20851
21106
  key: index,
20852
- progress: item == null ? void 0 : item.percent,
20853
- loading: item == null ? void 0 : item.loading,
21107
+ progress: item === null || item === void 0 ? void 0 : item.percent,
21108
+ loading: item === null || item === void 0 ? void 0 : item.loading,
20854
21109
  __self: undefined,
20855
21110
  __source: {
20856
21111
  fileName: _jsxFileName$9,
@@ -20868,7 +21123,7 @@ const Upload = ({
20868
21123
  lineNumber: 423,
20869
21124
  columnNumber: 9
20870
21125
  }
20871
- }, /*#__PURE__*/React__default.createElement(Box$1, {
21126
+ }, /*#__PURE__*/React__default.createElement(Box, {
20872
21127
  css: {
20873
21128
  position: 'relative'
20874
21129
  },
@@ -20887,7 +21142,7 @@ const Upload = ({
20887
21142
  lineNumber: 425,
20888
21143
  columnNumber: 13
20889
21144
  }
20890
- }), /*#__PURE__*/React__default.createElement(Box$1, {
21145
+ }), /*#__PURE__*/React__default.createElement(Box, {
20891
21146
  css: {
20892
21147
  position: 'absolute',
20893
21148
  top: '50%',
@@ -21235,7 +21490,7 @@ const Upload = ({
21235
21490
  lineNumber: 542,
21236
21491
  columnNumber: 15
21237
21492
  }
21238
- }, `${completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
21493
+ }, `${completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
21239
21494
  }
21240
21495
 
21241
21496
  return /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -21272,88 +21527,88 @@ Upload.defaultProps = {
21272
21527
  showCropper: true
21273
21528
  };
21274
21529
  Upload.propTypes = {
21275
- /**
21276
- Progress of upload process
21530
+ /**
21531
+ Progress of upload process
21277
21532
  */
21278
21533
  progress: PropTypes.number,
21279
21534
 
21280
- /**
21281
- Auto increment progress of upload process
21535
+ /**
21536
+ Auto increment progress of upload process
21282
21537
  */
21283
21538
  loading: PropTypes.bool,
21284
21539
 
21285
- /**
21286
- Built-in stylesheets, support for two types.
21540
+ /**
21541
+ Built-in stylesheets, support for two types.
21287
21542
  */
21288
21543
  listType: PropTypes.oneOf(['file', 'picture']),
21289
21544
 
21290
- /**
21291
- Whether to support selected multiple file.
21545
+ /**
21546
+ Whether to support selected multiple file.
21292
21547
  */
21293
21548
  multiple: PropTypes.bool,
21294
21549
 
21295
- /**
21296
- List of files to be uploaded.
21550
+ /**
21551
+ List of files to be uploaded.
21297
21552
  */
21298
21553
  fileList: PropTypes.array,
21299
21554
 
21300
- /**
21301
- A callback function, can be executed when uploading state is changing.
21555
+ /**
21556
+ A callback function, can be executed when uploading state is changing.
21302
21557
  */
21303
21558
  onChange: PropTypes.func,
21304
21559
 
21305
- /**
21306
- A callback function, can be executed when preview icon in picture type is clicked.
21560
+ /**
21561
+ A callback function, can be executed when preview icon in picture type is clicked.
21307
21562
  */
21308
21563
  onPreview: PropTypes.func,
21309
21564
 
21310
- /**
21311
- A callback function, can be executed when remove icon is clicked.
21565
+ /**
21566
+ A callback function, can be executed when remove icon is clicked.
21312
21567
  */
21313
21568
  onRemove: PropTypes.func,
21314
21569
 
21315
- /**
21316
- A custom element inside upload container.
21570
+ /**
21571
+ A custom element inside upload container.
21317
21572
  */
21318
21573
  children: PropTypes.element,
21319
21574
 
21320
- /**
21321
- Limit the number of uploaded files.
21575
+ /**
21576
+ Limit the number of uploaded files.
21322
21577
  */
21323
21578
  max: PropTypes.number,
21324
21579
 
21325
- /**
21326
- Limit file type of upload.
21580
+ /**
21581
+ Limit file type of upload.
21327
21582
  */
21328
21583
  accept: PropTypes.string,
21329
21584
 
21330
- /**
21331
- Custom label for replace button.
21585
+ /**
21586
+ Custom label for replace button.
21332
21587
  */
21333
21588
  replaceLabel: PropTypes.string,
21334
21589
 
21335
- /**
21336
- Custom width of upload container.
21590
+ /**
21591
+ Custom width of upload container.
21337
21592
  */
21338
21593
  width: PropTypes.number,
21339
21594
 
21340
- /**
21341
- Custom height of upload container.
21595
+ /**
21596
+ Custom height of upload container.
21342
21597
  */
21343
21598
  height: PropTypes.number,
21344
21599
 
21345
- /**
21346
- Additional css.
21600
+ /**
21601
+ Additional css.
21347
21602
  */
21348
21603
  css: PropTypes.object,
21349
21604
 
21350
- /**
21351
- Custom title header of cropper modal.
21605
+ /**
21606
+ Custom title header of cropper modal.
21352
21607
  */
21353
21608
  cropperTitle: PropTypes.string,
21354
21609
 
21355
- /**
21356
- Add image cropper on upload.
21610
+ /**
21611
+ Add image cropper on upload.
21357
21612
  */
21358
21613
  showCropper: PropTypes.bool
21359
21614
  };
@@ -21540,7 +21795,7 @@ const Device = props => {
21540
21795
  children: jsx(AspectRatioPrimitive.Root, Object.assign({
21541
21796
  ratio: properties.ratio
21542
21797
  }, {
21543
- children: props.carousel ? props === null || props === void 0 ? void 0 : props.children[currentImgIdx] : props.withComponent ? jsxs(Box$1, Object.assign({
21798
+ children: props.carousel ? props === null || props === void 0 ? void 0 : props.children[currentImgIdx] : props.withComponent ? jsxs(Box, Object.assign({
21544
21799
  css: {
21545
21800
  height: '100%'
21546
21801
  }
@@ -21582,21 +21837,22 @@ const Device = props => {
21582
21837
 
21583
21838
  Device.displayName = 'DevicePreview';
21584
21839
 
21585
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
21840
+ var _jsxFileName$8 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
21586
21841
  const Separator$1 = styled('div', {
21587
21842
  height: 20,
21588
21843
  width: 1,
21589
21844
  backgroundColor: '$iconSecondary',
21590
21845
  marginRight: 4
21591
21846
  });
21847
+
21592
21848
  function InputColorPicker(props) {
21593
21849
  const [isPopover, setIsPopover] = useState(false);
21594
21850
 
21595
21851
  function getColor() {
21596
- const color = props == null ? void 0 : props.color;
21852
+ const color = props === null || props === void 0 ? void 0 : props.color;
21597
21853
 
21598
21854
  if (typeof color === 'string') {
21599
- return color == null ? void 0 : color.toUpperCase();
21855
+ return color === null || color === void 0 ? void 0 : color.toUpperCase();
21600
21856
  }
21601
21857
 
21602
21858
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -21609,11 +21865,11 @@ function InputColorPicker(props) {
21609
21865
  __self: this,
21610
21866
  __source: {
21611
21867
  fileName: _jsxFileName$8,
21612
- lineNumber: 21,
21868
+ lineNumber: 22,
21613
21869
  columnNumber: 7
21614
21870
  }
21615
21871
  }, /*#__PURE__*/React__default.createElement(InputLeftElement, {
21616
- children: /*#__PURE__*/React__default.createElement(Box$1, {
21872
+ children: /*#__PURE__*/React__default.createElement(Box, {
21617
21873
  css: {
21618
21874
  width: 16,
21619
21875
  height: 16,
@@ -21623,21 +21879,21 @@ function InputColorPicker(props) {
21623
21879
  __self: this,
21624
21880
  __source: {
21625
21881
  fileName: _jsxFileName$8,
21626
- lineNumber: 23,
21882
+ lineNumber: 24,
21627
21883
  columnNumber: 21
21628
21884
  }
21629
21885
  }),
21630
21886
  __self: this,
21631
21887
  __source: {
21632
21888
  fileName: _jsxFileName$8,
21633
- lineNumber: 22,
21889
+ lineNumber: 23,
21634
21890
  columnNumber: 9
21635
21891
  }
21636
21892
  }), /*#__PURE__*/React__default.createElement(Separator$1, {
21637
21893
  __self: this,
21638
21894
  __source: {
21639
21895
  fileName: _jsxFileName$8,
21640
- lineNumber: 25,
21896
+ lineNumber: 26,
21641
21897
  columnNumber: 9
21642
21898
  }
21643
21899
  }), /*#__PURE__*/React__default.createElement(InputText, {
@@ -21647,7 +21903,7 @@ function InputColorPicker(props) {
21647
21903
  __self: this,
21648
21904
  __source: {
21649
21905
  fileName: _jsxFileName$8,
21650
- lineNumber: 26,
21906
+ lineNumber: 27,
21651
21907
  columnNumber: 9
21652
21908
  }
21653
21909
  }));
@@ -21658,7 +21914,7 @@ function InputColorPicker(props) {
21658
21914
  __self: this,
21659
21915
  __source: {
21660
21916
  fileName: _jsxFileName$8,
21661
- lineNumber: 32,
21917
+ lineNumber: 33,
21662
21918
  columnNumber: 12
21663
21919
  }
21664
21920
  }));
@@ -21671,30 +21927,60 @@ function InputColorPicker(props) {
21671
21927
  __self: this,
21672
21928
  __source: {
21673
21929
  fileName: _jsxFileName$8,
21674
- lineNumber: 36,
21930
+ lineNumber: 37,
21675
21931
  columnNumber: 5
21676
21932
  }
21677
21933
  }, /*#__PURE__*/React__default.createElement(PopoverTrigger, {
21678
21934
  __self: this,
21679
21935
  __source: {
21680
21936
  fileName: _jsxFileName$8,
21681
- lineNumber: 37,
21937
+ lineNumber: 38,
21682
21938
  columnNumber: 7
21683
21939
  }
21684
21940
  }, renderInputGroup()), /*#__PURE__*/React__default.createElement(PopoverContent, {
21685
21941
  __self: this,
21686
21942
  __source: {
21687
21943
  fileName: _jsxFileName$8,
21688
- lineNumber: 38,
21944
+ lineNumber: 39,
21689
21945
  columnNumber: 7
21690
21946
  }
21691
21947
  }, renderColorPicker()));
21692
21948
  }
21949
+
21693
21950
  InputColorPicker.displayName = 'InputColorPicker';
21951
+ InputColorPicker.propTypes = {
21952
+ /**
21953
+ Color code to be displayed.
21954
+ */
21955
+ color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
21956
+
21957
+ /**
21958
+ Additional color list
21959
+ */
21960
+ presetColors: PropTypes.array,
21961
+
21962
+ /**
21963
+ Change event handler
21964
+ */
21965
+ onChange: PropTypes.func,
21966
+
21967
+ /**
21968
+ Add preset color event handler
21969
+ */
21970
+ onAddColor: PropTypes.func,
21971
+
21972
+ /**
21973
+ Disable opacity selector
21974
+ */
21975
+ disableAlpha: PropTypes.bool
21976
+ };
21977
+ InputColorPicker.defaultProps = {
21978
+ presetColors: ['#EF4444', '#F97316', '#FACC15', '#4ADE80', '#2DD4BF', '#3B82F6', '#6467F2', '#EC4899', '#F43F5E', '#D946EF', '#8B5CF6', '#0EA5E9', '#10B981', '#84CC16']
21979
+ };
21694
21980
 
21695
21981
  var img = "data:image/gif;base64,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";
21696
21982
 
21697
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
21983
+ var _jsxFileName$7 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
21698
21984
  const Container$3 = styled('div', {
21699
21985
  userSelect: 'none',
21700
21986
  margin: 'auto',
@@ -23658,7 +23944,7 @@ function ColorMap({
23658
23944
  })));
23659
23945
  }
23660
23946
 
23661
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
23947
+ var _jsxFileName$6 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
23662
23948
  const CheckBoard = styled(Flex$1, {
23663
23949
  background: '$bgwhite',
23664
23950
  border: '1px solid #E5E7EB',
@@ -23726,7 +24012,7 @@ function ColorFields({
23726
24012
  lineNumber: 43,
23727
24013
  columnNumber: 9
23728
24014
  }
23729
- })), check === 'Hex' ? /*#__PURE__*/React__default.createElement(Box$1, {
24015
+ })), check === 'Hex' ? /*#__PURE__*/React__default.createElement(Box, {
23730
24016
  css: {
23731
24017
  position: 'relative'
23732
24018
  },
@@ -23752,7 +24038,7 @@ function ColorFields({
23752
24038
  lineNumber: 47,
23753
24039
  columnNumber: 11
23754
24040
  }
23755
- }), /*#__PURE__*/React__default.createElement(Box$1, {
24041
+ }), /*#__PURE__*/React__default.createElement(Box, {
23756
24042
  css: {
23757
24043
  position: 'absolute',
23758
24044
  top: 5,
@@ -23813,7 +24099,7 @@ function ColorFields({
23813
24099
  lineNumber: 84,
23814
24100
  columnNumber: 11
23815
24101
  }
23816
- })), !disableAlpha && /*#__PURE__*/React__default.createElement(Box$1, {
24102
+ })), !disableAlpha && /*#__PURE__*/React__default.createElement(Box, {
23817
24103
  css: {
23818
24104
  position: 'relative'
23819
24105
  },
@@ -23842,7 +24128,7 @@ function ColorFields({
23842
24128
  lineNumber: 96,
23843
24129
  columnNumber: 11
23844
24130
  }
23845
- }), /*#__PURE__*/React__default.createElement(Box$1, {
24131
+ }), /*#__PURE__*/React__default.createElement(Box, {
23846
24132
  css: {
23847
24133
  position: 'absolute',
23848
24134
  top: 5,
@@ -23859,7 +24145,7 @@ function ColorFields({
23859
24145
  }, "%")));
23860
24146
  }
23861
24147
 
23862
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
24148
+ var _jsxFileName$5 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
23863
24149
  const Container$2 = styled(Flex$1, {
23864
24150
  background: '$white',
23865
24151
  padding: 16,
@@ -24362,14 +24648,29 @@ function ColorPicker({
24362
24648
  }
24363
24649
 
24364
24650
  ColorPicker.propTypes = {
24365
- hsl: PropTypes.object,
24366
- hsv: PropTypes.object,
24367
- rgb: PropTypes.object,
24368
- hex: PropTypes.string,
24651
+ /**
24652
+ Color code to be displayed.
24653
+ */
24654
+ color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
24655
+
24656
+ /**
24657
+ Additional color list
24658
+ */
24369
24659
  presetColors: PropTypes.array,
24660
+
24661
+ /**
24662
+ Change event handler
24663
+ */
24370
24664
  onChange: PropTypes.func,
24371
- onSwatchHover: PropTypes.func,
24665
+
24666
+ /**
24667
+ Add preset color event handler
24668
+ */
24372
24669
  onAddColor: PropTypes.func,
24670
+
24671
+ /**
24672
+ Disable opacity selector
24673
+ */
24373
24674
  disableAlpha: PropTypes.bool
24374
24675
  };
24375
24676
  ColorPicker.defaultProps = {
@@ -24377,7 +24678,7 @@ ColorPicker.defaultProps = {
24377
24678
  };
24378
24679
  var ColorPicker$1 = ColorWrap(ColorPicker);
24379
24680
 
24380
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
24681
+ var _jsxFileName$4 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
24381
24682
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
24382
24683
  const Stepper = StepWizard$1;
24383
24684
  Stepper.displayName = 'Stepper';
@@ -24517,9 +24818,9 @@ const Navigation = props => {
24517
24818
  lineNumber: 116,
24518
24819
  columnNumber: 30
24519
24820
  }
24520
- }), data[i - 1].title, ((_data = data[i - 1]) == null ? void 0 : _data.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip, {
24821
+ }), data[i - 1].title, ((_data = data[i - 1]) === null || _data === void 0 ? void 0 : _data.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip, {
24521
24822
  align: "center",
24522
- label: (_data2 = data[i - 1]) == null ? void 0 : _data2.tooltipsContents,
24823
+ label: (_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.tooltipsContents,
24523
24824
  __self: undefined,
24524
24825
  __source: {
24525
24826
  fileName: _jsxFileName$4,
@@ -24590,10 +24891,10 @@ const Navigation = props => {
24590
24891
  lineNumber: 152,
24591
24892
  columnNumber: 15
24592
24893
  }
24593
- }, isActive ? data[i - 1].title : ''), isActive && ((_data3 = data[i - 1]) == null ? void 0 : _data3.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip, {
24894
+ }, isActive ? data[i - 1].title : ''), isActive && ((_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip, {
24594
24895
  align: "center",
24595
24896
  withClick: true,
24596
- label: (_data4 = data[i - 1]) == null ? void 0 : _data4.tooltipsContents,
24897
+ label: (_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.tooltipsContents,
24597
24898
  __self: undefined,
24598
24899
  __source: {
24599
24900
  fileName: _jsxFileName$4,
@@ -24673,13 +24974,13 @@ const Default = props => {
24673
24974
  const getIsComplete = currentStep => {
24674
24975
  var _state$isComplete;
24675
24976
 
24676
- return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
24977
+ return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
24677
24978
  };
24678
24979
 
24679
24980
  const getTitleStep = currentStep => {
24680
24981
  var _props$navContents, _props$navContents2;
24681
24982
 
24682
- return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
24983
+ return props === null || props === void 0 ? void 0 : (_props$navContents = props.navContents) === null || _props$navContents === void 0 ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) === null || _props$navContents2 === void 0 ? void 0 : _props$navContents2.title;
24683
24984
  };
24684
24985
 
24685
24986
  const setState = value => {
@@ -24720,7 +25021,7 @@ const Default = props => {
24720
25021
  };
24721
25022
 
24722
25023
  const WrapperBox = props => {
24723
- return /*#__PURE__*/React__default.createElement(Box$1, {
25024
+ return /*#__PURE__*/React__default.createElement(Box, {
24724
25025
  id: "content-container",
24725
25026
  css: props.css,
24726
25027
  __self: undefined,
@@ -24743,11 +25044,11 @@ const Default = props => {
24743
25044
  }, /*#__PURE__*/React__default.createElement(StepWizardContext.Provider, {
24744
25045
  value: {
24745
25046
  toogleVisibility,
24746
- isHide: state == null ? void 0 : state.hide,
25047
+ isHide: state === null || state === void 0 ? void 0 : state.hide,
24747
25048
  setComplete,
24748
25049
  setState,
24749
25050
  state,
24750
- SW: state == null ? void 0 : state.SW,
25051
+ SW: state === null || state === void 0 ? void 0 : state.SW,
24751
25052
  titles: props.titles,
24752
25053
  isMobile: props.isMobile,
24753
25054
  data: props.navContents,
@@ -24782,7 +25083,7 @@ const Default = props => {
24782
25083
  lineNumber: 277,
24783
25084
  columnNumber: 9
24784
25085
  }
24785
- }), ((_props$children = props.children) == null ? void 0 : _props$children.length) > 1 ? (_props$children2 = props.children) == null ? void 0 : _props$children2.map((child, idx) => /*#__PURE__*/React__default.createElement(WrapperBox, {
25086
+ }), ((_props$children = props.children) === null || _props$children === void 0 ? void 0 : _props$children.length) > 1 ? (_props$children2 = props.children) === null || _props$children2 === void 0 ? void 0 : _props$children2.map((child, idx) => /*#__PURE__*/React__default.createElement(WrapperBox, {
24786
25087
  key: idx,
24787
25088
  css: props.cssContent,
24788
25089
  __self: undefined,
@@ -24808,7 +25109,7 @@ const StepWizard = props => {
24808
25109
  }), void 0);
24809
25110
  };
24810
25111
 
24811
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
25112
+ var _jsxFileName$3 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
24812
25113
 
24813
25114
  function Collapse({
24814
25115
  children,
@@ -24825,7 +25126,7 @@ function Collapse({
24825
25126
  resizeObserver.disconnect();
24826
25127
  };
24827
25128
  }, [height, isOpen]);
24828
- return /*#__PURE__*/React__default.createElement(Box$1, {
25129
+ return /*#__PURE__*/React__default.createElement(Box, {
24829
25130
  css: {
24830
25131
  maxHeight: isOpen ? height : 25,
24831
25132
  overflow: 'hidden',
@@ -24853,7 +25154,7 @@ Collapse.defaultProps = {
24853
25154
  isOpen: false
24854
25155
  };
24855
25156
 
24856
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
25157
+ var _jsxFileName$2 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
24857
25158
  const DesktopContainer = styled(Flex$1, {
24858
25159
  display: 'none',
24859
25160
  '& .active-scroll-spy': {
@@ -24940,10 +25241,10 @@ function Content({
24940
25241
  function getDatasets(content, activeId, isCollapse) {
24941
25242
  const datasets = [];
24942
25243
 
24943
- for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
25244
+ for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
24944
25245
  var _content$i;
24945
25246
 
24946
- if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
25247
+ if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
24947
25248
  datasets.unshift(content[i]);
24948
25249
  } else {
24949
25250
  datasets.push(content[i]);
@@ -24983,7 +25284,7 @@ function Content({
24983
25284
  lineNumber: 101,
24984
25285
  columnNumber: 7
24985
25286
  }
24986
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
25287
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
24987
25288
  return /*#__PURE__*/React__default.createElement(List, {
24988
25289
  key: index,
24989
25290
  __self: this,
@@ -25004,7 +25305,7 @@ function Content({
25004
25305
  paddingLeft: '16px !important',
25005
25306
  minHeight: 25
25006
25307
  },
25007
- "data-to-scrollspy-id": item == null ? void 0 : item.id,
25308
+ "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
25008
25309
  __self: this,
25009
25310
  __source: {
25010
25311
  fileName: _jsxFileName$2,
@@ -25013,8 +25314,8 @@ function Content({
25013
25314
  }
25014
25315
  }, /*#__PURE__*/React__default.createElement(Title$1, {
25015
25316
  className: "link-title",
25016
- active: (item == null ? void 0 : item.id) === activeId,
25017
- href: `#${item == null ? void 0 : item.id}`,
25317
+ active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
25318
+ href: `#${item === null || item === void 0 ? void 0 : item.id}`,
25018
25319
  onClick: e => {
25019
25320
  e.preventDefault();
25020
25321
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -25043,7 +25344,7 @@ function Content({
25043
25344
  lineNumber: 119,
25044
25345
  columnNumber: 17
25045
25346
  }
25046
- }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
25347
+ }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
25047
25348
  })));
25048
25349
  }
25049
25350
 
@@ -25083,7 +25384,7 @@ function TableOfContent({
25083
25384
  lineNumber: 162,
25084
25385
  columnNumber: 7
25085
25386
  }
25086
- }), /*#__PURE__*/React__default.createElement(Box$1, {
25387
+ }), /*#__PURE__*/React__default.createElement(Box, {
25087
25388
  css: {
25088
25389
  position: 'absolute',
25089
25390
  top: 8,
@@ -25150,7 +25451,7 @@ TableOfContent.propTypes = {
25150
25451
  activeId: PropTypes.string
25151
25452
  };
25152
25453
 
25153
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25454
+ var _jsxFileName$1 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25154
25455
 
25155
25456
  function Collapalse({
25156
25457
  children,
@@ -25167,7 +25468,7 @@ function Collapalse({
25167
25468
  resizeObserver.disconnect();
25168
25469
  };
25169
25470
  }, [height, isOpen]);
25170
- return /*#__PURE__*/React__default.createElement(Box$1, {
25471
+ return /*#__PURE__*/React__default.createElement(Box, {
25171
25472
  css: {
25172
25473
  maxHeight: isOpen ? height : 0,
25173
25474
  overflow: 'hidden',
@@ -25180,7 +25481,7 @@ function Collapalse({
25180
25481
  lineNumber: 19,
25181
25482
  columnNumber: 5
25182
25483
  }
25183
- }, /*#__PURE__*/React__default.createElement(Box$1, {
25484
+ }, /*#__PURE__*/React__default.createElement(Box, {
25184
25485
  ref: contentRef,
25185
25486
  __self: this,
25186
25487
  __source: {
@@ -25333,7 +25634,7 @@ function EditableTableMobile(props) {
25333
25634
  row.toggleRowExpanded(!row.isExpanded);
25334
25635
  }
25335
25636
  }, {
25336
- children: [jsx(Box$1, {
25637
+ children: [jsx(Box, {
25337
25638
  children: cell.render('Cell')
25338
25639
  }, void 0), jsx(Flex$1, Object.assign({
25339
25640
  justify: "center",
@@ -25757,7 +26058,7 @@ function EditableTable(props) {
25757
26058
  maxWidth: cell.column.maxWidth
25758
26059
  }
25759
26060
  }), {
25760
- children: jsx(Box$1, Object.assign({
26061
+ children: jsx(Box, Object.assign({
25761
26062
  css: {
25762
26063
  height: '100%',
25763
26064
  paddingTop: 15
@@ -26042,7 +26343,7 @@ function ProgressIndicator(props) {
26042
26343
  }), void 0);
26043
26344
  }
26044
26345
 
26045
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26346
+ var _jsxFileName = "C:\\Project\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26046
26347
  const StyledPaper = styled(Paper, {
26047
26348
  borderRadius: '10px 10px 0 0',
26048
26349
  padding: 15,
@@ -26054,7 +26355,7 @@ const StyledParagraph = styled('span', {
26054
26355
  marginTop: 2,
26055
26356
  fontSize: '9pt'
26056
26357
  });
26057
- const StyledBox = styled(Box$1, {
26358
+ const StyledBox = styled(Box, {
26058
26359
  display: 'grid',
26059
26360
  gridTemplateColumns: 'repeat(auto-fill, minmax(calc(768px / 4 - 20px), 1fr))',
26060
26361
  gridGap: '10px'
@@ -26151,4 +26452,4 @@ const Colors = props => {
26151
26452
  }, i.hex))));
26152
26453
  };
26153
26454
 
26154
- export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box$1 as Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$2 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, ColorPicker$1 as ColorPicker, Colors, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuTriggerItem, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputNumber, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, Select$1 as InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, Link, LoadingBar, MajooProvider, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NativeTimePicker, NotificationBadge, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_PICKER, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, Separator$2 as Separator, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledSpan, StyledTitle$2 as StyledTitle, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$2 as TableBody, TableColumn, TableContent$2 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$2 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TimePicker, ToastContext, Tooltip, Upload, addOnCellStyle, defaultFetchDataParams };
26455
+ export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$2 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, ColorPicker$1 as ColorPicker, Colors, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuTriggerItem, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputNumber, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, Select$1 as InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, Link, LoadingBar, MajooProvider, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_PICKER, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, Select$1 as Select, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledSpan, StyledTitle$2 as StyledTitle, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$2 as TableBody, TableColumn, TableContent$2 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$2 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TimePicker, ToastContext, Tooltip, Upload, addOnCellStyle, defaultFetchDataParams };