@majoo-ui/react 1.46.6 → 1.46.7

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,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useState, createContext, useContext, useEffect, useRef, createElement as createElement$2, cloneElement, useCallback, useReducer } from 'react';
3
- import PropTypes, { string, func } from 'prop-types';
3
+ import PropTypes from 'prop-types';
4
4
  import { createStitches, styled as styled$1 } from '@stitches/react';
5
5
  import { foundations } from '@majoo-ui/core';
6
6
  import { CloseOutline, UserFilled, CircleQuestionOutline, SearchOutline, CloseFilled, CircleInfoOutline, CaretDownOutline, CirclePlusOutline, ChevronDownOutline, ChevronLeftOutline, ChevronRightOutline, ChevronUpOutline, TimeOutline, CalendarOutline, ArrowLeftOutline, ArrowRightOutline, EllipsisHorizontalOutline, EyeOutline, CheckFilled, UploadOutline, ImageOutline, ChevronLgLeftOutline, ChevronUpDownOutline, RemoveOutline } from '@majoo-ui/icons';
@@ -40,7 +40,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
40
40
  import request from 'superagent';
41
41
  import { useSticky } from 'react-table-sticky';
42
42
 
43
- var _jsxFileName$$ = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
43
+ var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
44
44
 
45
45
  function ThemeProvider({
46
46
  theme,
@@ -69,7 +69,7 @@ var check = function (it) {
69
69
  };
70
70
 
71
71
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
72
- var global$s =
72
+ var global$U =
73
73
  // eslint-disable-next-line es-x/no-global-this -- safe
74
74
  check(typeof globalThis == 'object' && globalThis) ||
75
75
  check(typeof window == 'object' && window) ||
@@ -156,35 +156,38 @@ var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
156
156
 
157
157
  var uncurryThis$w = functionUncurryThis;
158
158
 
159
- var toString$h = uncurryThis$w({}.toString);
159
+ var toString$j = uncurryThis$w({}.toString);
160
160
  var stringSlice$b = uncurryThis$w(''.slice);
161
161
 
162
162
  var classofRaw$1 = function (it) {
163
- return stringSlice$b(toString$h(it), 8, -1);
163
+ return stringSlice$b(toString$j(it), 8, -1);
164
164
  };
165
165
 
166
+ var global$T = global$U;
166
167
  var uncurryThis$v = functionUncurryThis;
167
168
  var fails$p = fails$s;
168
169
  var classof$8 = classofRaw$1;
169
170
 
170
- var $Object$4 = Object;
171
+ var Object$5 = global$T.Object;
171
172
  var split$3 = uncurryThis$v(''.split);
172
173
 
173
174
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
174
175
  var indexedObject = fails$p(function () {
175
176
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
176
177
  // eslint-disable-next-line no-prototype-builtins -- safe
177
- return !$Object$4('z').propertyIsEnumerable(0);
178
+ return !Object$5('z').propertyIsEnumerable(0);
178
179
  }) ? function (it) {
179
- return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
180
- } : $Object$4;
180
+ return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
181
+ } : Object$5;
181
182
 
182
- var $TypeError$f = TypeError;
183
+ var global$S = global$U;
184
+
185
+ var TypeError$j = global$S.TypeError;
183
186
 
184
187
  // `RequireObjectCoercible` abstract operation
185
188
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
186
189
  var requireObjectCoercible$a = function (it) {
187
- if (it == undefined) throw $TypeError$f("Can't call method on " + it);
190
+ if (it == undefined) throw TypeError$j("Can't call method on " + it);
188
191
  return it;
189
192
  };
190
193
 
@@ -208,7 +211,7 @@ var isObject$d = function (it) {
208
211
  return typeof it == 'object' ? it !== null : isCallable$o(it);
209
212
  };
210
213
 
211
- var global$r = global$s;
214
+ var global$R = global$U;
212
215
  var isCallable$n = isCallable$p;
213
216
 
214
217
  var aFunction = function (argument) {
@@ -216,7 +219,7 @@ var aFunction = function (argument) {
216
219
  };
217
220
 
218
221
  var getBuiltIn$8 = function (namespace, method) {
219
- return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
222
+ return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
220
223
  };
221
224
 
222
225
  var uncurryThis$u = functionUncurryThis;
@@ -227,11 +230,11 @@ var getBuiltIn$7 = getBuiltIn$8;
227
230
 
228
231
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
229
232
 
230
- var global$q = global$s;
233
+ var global$Q = global$U;
231
234
  var userAgent$5 = engineUserAgent;
232
235
 
233
- var process$3 = global$q.process;
234
- var Deno$1 = global$q.Deno;
236
+ var process$3 = global$Q.process;
237
+ var Deno$1 = global$Q.Deno;
235
238
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
236
239
  var v8 = versions && versions.v8;
237
240
  var match, version;
@@ -278,39 +281,43 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
278
281
  && !Symbol.sham
279
282
  && typeof Symbol.iterator == 'symbol';
280
283
 
284
+ var global$P = global$U;
281
285
  var getBuiltIn$6 = getBuiltIn$8;
282
286
  var isCallable$m = isCallable$p;
283
287
  var isPrototypeOf$5 = objectIsPrototypeOf;
284
288
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
285
289
 
286
- var $Object$3 = Object;
290
+ var Object$4 = global$P.Object;
287
291
 
288
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
292
+ var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
289
293
  return typeof it == 'symbol';
290
294
  } : function (it) {
291
295
  var $Symbol = getBuiltIn$6('Symbol');
292
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
296
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
293
297
  };
294
298
 
295
- var $String$4 = String;
299
+ var global$O = global$U;
300
+
301
+ var String$6 = global$O.String;
296
302
 
297
- var tryToString$5 = function (argument) {
303
+ var tryToString$4 = function (argument) {
298
304
  try {
299
- return $String$4(argument);
305
+ return String$6(argument);
300
306
  } catch (error) {
301
307
  return 'Object';
302
308
  }
303
309
  };
304
310
 
311
+ var global$N = global$U;
305
312
  var isCallable$l = isCallable$p;
306
- var tryToString$4 = tryToString$5;
313
+ var tryToString$3 = tryToString$4;
307
314
 
308
- var $TypeError$e = TypeError;
315
+ var TypeError$i = global$N.TypeError;
309
316
 
310
317
  // `Assert: IsCallable(argument) is true`
311
318
  var aCallable$9 = function (argument) {
312
319
  if (isCallable$l(argument)) return argument;
313
- throw $TypeError$e(tryToString$4(argument) + ' is not a function');
320
+ throw TypeError$i(tryToString$3(argument) + ' is not a function');
314
321
  };
315
322
 
316
323
  var aCallable$8 = aCallable$9;
@@ -322,11 +329,12 @@ var getMethod$6 = function (V, P) {
322
329
  return func == null ? undefined : aCallable$8(func);
323
330
  };
324
331
 
332
+ var global$M = global$U;
325
333
  var call$k = functionCall;
326
334
  var isCallable$k = isCallable$p;
327
335
  var isObject$c = isObject$d;
328
336
 
329
- var $TypeError$d = TypeError;
337
+ var TypeError$h = global$M.TypeError;
330
338
 
331
339
  // `OrdinaryToPrimitive` abstract operation
332
340
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -335,31 +343,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
335
343
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$k(fn, input))) return val;
336
344
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$k(fn, input))) return val;
337
345
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$k(fn, input))) return val;
338
- throw $TypeError$d("Can't convert object to primitive value");
346
+ throw TypeError$h("Can't convert object to primitive value");
339
347
  };
340
348
 
341
349
  var shared$4 = {exports: {}};
342
350
 
343
351
  var isPure = false;
344
352
 
345
- var global$p = global$s;
353
+ var global$L = global$U;
346
354
 
347
355
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
348
- var defineProperty$8 = Object.defineProperty;
356
+ var defineProperty$7 = Object.defineProperty;
349
357
 
350
- var defineGlobalProperty$3 = function (key, value) {
358
+ var setGlobal$3 = function (key, value) {
351
359
  try {
352
- defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
360
+ defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
353
361
  } catch (error) {
354
- global$p[key] = value;
362
+ global$L[key] = value;
355
363
  } return value;
356
364
  };
357
365
 
358
- var global$o = global$s;
359
- var defineGlobalProperty$2 = defineGlobalProperty$3;
366
+ var global$K = global$U;
367
+ var setGlobal$2 = setGlobal$3;
360
368
 
361
369
  var SHARED = '__core-js_shared__';
362
- var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
370
+ var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
363
371
 
364
372
  var sharedStore = store$3;
365
373
 
@@ -368,21 +376,22 @@ var store$2 = sharedStore;
368
376
  (shared$4.exports = function (key, value) {
369
377
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
370
378
  })('versions', []).push({
371
- version: '3.23.3',
379
+ version: '3.22.5',
372
380
  mode: 'global',
373
381
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
374
- license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
382
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
375
383
  source: 'https://github.com/zloirock/core-js'
376
384
  });
377
385
 
386
+ var global$J = global$U;
378
387
  var requireObjectCoercible$8 = requireObjectCoercible$a;
379
388
 
380
- var $Object$2 = Object;
389
+ var Object$3 = global$J.Object;
381
390
 
382
391
  // `ToObject` abstract operation
383
392
  // https://tc39.es/ecma262/#sec-toobject
384
393
  var toObject$7 = function (argument) {
385
- return $Object$2(requireObjectCoercible$8(argument));
394
+ return Object$3(requireObjectCoercible$8(argument));
386
395
  };
387
396
 
388
397
  var uncurryThis$t = functionUncurryThis;
@@ -401,13 +410,13 @@ var uncurryThis$s = functionUncurryThis;
401
410
 
402
411
  var id = 0;
403
412
  var postfix = Math.random();
404
- var toString$g = uncurryThis$s(1.0.toString);
413
+ var toString$i = uncurryThis$s(1.0.toString);
405
414
 
406
415
  var uid$2 = function (key) {
407
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$g(++id + postfix, 36);
416
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
408
417
  };
409
418
 
410
- var global$n = global$s;
419
+ var global$I = global$U;
411
420
  var shared$3 = shared$4.exports;
412
421
  var hasOwn$e = hasOwnProperty_1;
413
422
  var uid$1 = uid$2;
@@ -415,7 +424,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
415
424
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
416
425
 
417
426
  var WellKnownSymbolsStore = shared$3('wks');
418
- var Symbol$7 = global$n.Symbol;
427
+ var Symbol$7 = global$I.Symbol;
419
428
  var symbolFor = Symbol$7 && Symbol$7['for'];
420
429
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
421
430
 
@@ -432,46 +441,47 @@ var wellKnownSymbol$l = function (name) {
432
441
  } return WellKnownSymbolsStore[name];
433
442
  };
434
443
 
444
+ var global$H = global$U;
435
445
  var call$j = functionCall;
436
446
  var isObject$b = isObject$d;
437
- var isSymbol$1 = isSymbol$2;
447
+ var isSymbol$5 = isSymbol$6;
438
448
  var getMethod$5 = getMethod$6;
439
449
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
440
450
  var wellKnownSymbol$k = wellKnownSymbol$l;
441
451
 
442
- var $TypeError$c = TypeError;
452
+ var TypeError$g = global$H.TypeError;
443
453
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
444
454
 
445
455
  // `ToPrimitive` abstract operation
446
456
  // https://tc39.es/ecma262/#sec-toprimitive
447
457
  var toPrimitive$1 = function (input, pref) {
448
- if (!isObject$b(input) || isSymbol$1(input)) return input;
458
+ if (!isObject$b(input) || isSymbol$5(input)) return input;
449
459
  var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
450
460
  var result;
451
461
  if (exoticToPrim) {
452
462
  if (pref === undefined) pref = 'default';
453
463
  result = call$j(exoticToPrim, input, pref);
454
- if (!isObject$b(result) || isSymbol$1(result)) return result;
455
- throw $TypeError$c("Can't convert object to primitive value");
464
+ if (!isObject$b(result) || isSymbol$5(result)) return result;
465
+ throw TypeError$g("Can't convert object to primitive value");
456
466
  }
457
467
  if (pref === undefined) pref = 'number';
458
468
  return ordinaryToPrimitive(input, pref);
459
469
  };
460
470
 
461
471
  var toPrimitive = toPrimitive$1;
462
- var isSymbol = isSymbol$2;
472
+ var isSymbol$4 = isSymbol$6;
463
473
 
464
474
  // `ToPropertyKey` abstract operation
465
475
  // https://tc39.es/ecma262/#sec-topropertykey
466
476
  var toPropertyKey$3 = function (argument) {
467
477
  var key = toPrimitive(argument, 'string');
468
- return isSymbol(key) ? key : key + '';
478
+ return isSymbol$4(key) ? key : key + '';
469
479
  };
470
480
 
471
- var global$m = global$s;
481
+ var global$G = global$U;
472
482
  var isObject$a = isObject$d;
473
483
 
474
- var document$3 = global$m.document;
484
+ var document$3 = global$G.document;
475
485
  // typeof document.createElement is 'object' in old IE
476
486
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
477
487
 
@@ -529,24 +539,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$m(function () {
529
539
  }).prototype != 42;
530
540
  });
531
541
 
542
+ var global$F = global$U;
532
543
  var isObject$9 = isObject$d;
533
544
 
534
- var $String$3 = String;
535
- var $TypeError$b = TypeError;
545
+ var String$5 = global$F.String;
546
+ var TypeError$f = global$F.TypeError;
536
547
 
537
548
  // `Assert: Type(argument) is Object`
538
549
  var anObject$i = function (argument) {
539
550
  if (isObject$9(argument)) return argument;
540
- throw $TypeError$b($String$3(argument) + ' is not an object');
551
+ throw TypeError$f(String$5(argument) + ' is not an object');
541
552
  };
542
553
 
554
+ var global$E = global$U;
543
555
  var DESCRIPTORS$b = descriptors;
544
556
  var IE8_DOM_DEFINE = ie8DomDefine;
545
557
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
546
558
  var anObject$h = anObject$i;
547
559
  var toPropertyKey$1 = toPropertyKey$3;
548
560
 
549
- var $TypeError$a = TypeError;
561
+ var TypeError$e = global$E.TypeError;
550
562
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
551
563
  var $defineProperty = Object.defineProperty;
552
564
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -579,7 +591,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
579
591
  if (IE8_DOM_DEFINE) try {
580
592
  return $defineProperty(O, P, Attributes);
581
593
  } catch (error) { /* empty */ }
582
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
594
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
583
595
  if ('value' in Attributes) O[P] = Attributes.value;
584
596
  return O;
585
597
  };
@@ -588,7 +600,7 @@ var DESCRIPTORS$a = descriptors;
588
600
  var definePropertyModule$5 = objectDefineProperty;
589
601
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
590
602
 
591
- var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
603
+ var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
592
604
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
593
605
  } : function (object, key, value) {
594
606
  object[key] = value;
@@ -630,11 +642,11 @@ if (!isCallable$j(store$1.inspectSource)) {
630
642
 
631
643
  var inspectSource$4 = store$1.inspectSource;
632
644
 
633
- var global$l = global$s;
645
+ var global$D = global$U;
634
646
  var isCallable$i = isCallable$p;
635
647
  var inspectSource$3 = inspectSource$4;
636
648
 
637
- var WeakMap$1 = global$l.WeakMap;
649
+ var WeakMap$1 = global$D.WeakMap;
638
650
 
639
651
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
640
652
 
@@ -650,29 +662,29 @@ var sharedKey$3 = function (key) {
650
662
  var hiddenKeys$4 = {};
651
663
 
652
664
  var NATIVE_WEAK_MAP = nativeWeakMap;
653
- var global$k = global$s;
665
+ var global$C = global$U;
654
666
  var uncurryThis$q = functionUncurryThis;
655
667
  var isObject$8 = isObject$d;
656
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
668
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
657
669
  var hasOwn$b = hasOwnProperty_1;
658
670
  var shared$1 = sharedStore;
659
671
  var sharedKey$2 = sharedKey$3;
660
672
  var hiddenKeys$3 = hiddenKeys$4;
661
673
 
662
674
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
663
- var TypeError$4 = global$k.TypeError;
664
- var WeakMap = global$k.WeakMap;
665
- var set$1, get, has;
675
+ var TypeError$d = global$C.TypeError;
676
+ var WeakMap = global$C.WeakMap;
677
+ var set$1, get$1, has;
666
678
 
667
679
  var enforce = function (it) {
668
- return has(it) ? get(it) : set$1(it, {});
680
+ return has(it) ? get$1(it) : set$1(it, {});
669
681
  };
670
682
 
671
683
  var getterFor = function (TYPE) {
672
684
  return function (it) {
673
685
  var state;
674
- if (!isObject$8(it) || (state = get(it)).type !== TYPE) {
675
- throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
686
+ if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
687
+ throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
676
688
  } return state;
677
689
  };
678
690
  };
@@ -683,12 +695,12 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
683
695
  var wmhas = uncurryThis$q(store.has);
684
696
  var wmset = uncurryThis$q(store.set);
685
697
  set$1 = function (it, metadata) {
686
- if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
698
+ if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
687
699
  metadata.facade = it;
688
700
  wmset(store, it, metadata);
689
701
  return metadata;
690
702
  };
691
- get = function (it) {
703
+ get$1 = function (it) {
692
704
  return wmget(store, it) || {};
693
705
  };
694
706
  has = function (it) {
@@ -698,12 +710,12 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
698
710
  var STATE = sharedKey$2('state');
699
711
  hiddenKeys$3[STATE] = true;
700
712
  set$1 = function (it, metadata) {
701
- if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
713
+ if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
702
714
  metadata.facade = it;
703
- createNonEnumerableProperty$5(it, STATE, metadata);
715
+ createNonEnumerableProperty$6(it, STATE, metadata);
704
716
  return metadata;
705
717
  };
706
- get = function (it) {
718
+ get$1 = function (it) {
707
719
  return hasOwn$b(it, STATE) ? it[STATE] : {};
708
720
  };
709
721
  has = function (it) {
@@ -713,7 +725,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
713
725
 
714
726
  var internalState = {
715
727
  set: set$1,
716
- get: get,
728
+ get: get$1,
717
729
  has: has,
718
730
  enforce: enforce,
719
731
  getterFor: getterFor
@@ -730,10 +742,10 @@ var InternalStateModule$5 = internalState;
730
742
  var enforceInternalState$1 = InternalStateModule$5.enforce;
731
743
  var getInternalState$3 = InternalStateModule$5.get;
732
744
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
733
- var defineProperty$7 = Object.defineProperty;
745
+ var defineProperty$6 = Object.defineProperty;
734
746
 
735
747
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$l(function () {
736
- return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
748
+ return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
737
749
  });
738
750
 
739
751
  var TEMPLATE = String(String).split('String');
@@ -745,18 +757,16 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
745
757
  if (options && options.getter) name = 'get ' + name;
746
758
  if (options && options.setter) name = 'set ' + name;
747
759
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
748
- if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
749
- else value.name = name;
760
+ defineProperty$6(value, 'name', { value: name, configurable: true });
750
761
  }
751
762
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
752
- defineProperty$7(value, 'length', { value: options.arity });
763
+ defineProperty$6(value, 'length', { value: options.arity });
753
764
  }
754
- try {
755
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
756
- if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
757
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
758
- } else if (value.prototype) value.prototype = undefined;
759
- } catch (error) { /* empty */ }
765
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
766
+ if (DESCRIPTORS$8) try {
767
+ defineProperty$6(value, 'prototype', { writable: false });
768
+ } catch (error) { /* empty */ }
769
+ } else value.prototype = undefined;
760
770
  var state = enforceInternalState$1(value);
761
771
  if (!hasOwn$a(state, 'source')) {
762
772
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -769,32 +779,30 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
769
779
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
770
780
  }, 'toString');
771
781
 
782
+ var global$B = global$U;
772
783
  var isCallable$g = isCallable$p;
773
- var definePropertyModule$4 = objectDefineProperty;
784
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
774
785
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
775
- var defineGlobalProperty$1 = defineGlobalProperty$3;
786
+ var setGlobal$1 = setGlobal$3;
776
787
 
777
788
  var defineBuiltIn$b = function (O, key, value, options) {
778
- if (!options) options = {};
779
- var simple = options.enumerable;
780
- var name = options.name !== undefined ? options.name : key;
789
+ var unsafe = options ? !!options.unsafe : false;
790
+ var simple = options ? !!options.enumerable : false;
791
+ var noTargetGet = options ? !!options.noTargetGet : false;
792
+ var name = options && options.name !== undefined ? options.name : key;
781
793
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
782
- if (options.global) {
794
+ if (O === global$B) {
783
795
  if (simple) O[key] = value;
784
- else defineGlobalProperty$1(key, value);
785
- } else {
786
- try {
787
- if (!options.unsafe) delete O[key];
788
- else if (O[key]) simple = true;
789
- } catch (error) { /* empty */ }
790
- if (simple) O[key] = value;
791
- else definePropertyModule$4.f(O, key, {
792
- value: value,
793
- enumerable: false,
794
- configurable: !options.nonConfigurable,
795
- writable: !options.nonWritable
796
- });
797
- } return O;
796
+ else setGlobal$1(key, value);
797
+ return O;
798
+ } else if (!unsafe) {
799
+ delete O[key];
800
+ } else if (!noTargetGet && O[key]) {
801
+ simple = true;
802
+ }
803
+ if (simple) O[key] = value;
804
+ else createNonEnumerableProperty$5(O, key, value);
805
+ return O;
798
806
  };
799
807
 
800
808
  var objectGetOwnPropertyNames = {};
@@ -802,22 +810,12 @@ var objectGetOwnPropertyNames = {};
802
810
  var ceil = Math.ceil;
803
811
  var floor$5 = Math.floor;
804
812
 
805
- // `Math.trunc` method
806
- // https://tc39.es/ecma262/#sec-math.trunc
807
- // eslint-disable-next-line es-x/no-math-trunc -- safe
808
- var mathTrunc = Math.trunc || function trunc(x) {
809
- var n = +x;
810
- return (n > 0 ? floor$5 : ceil)(n);
811
- };
812
-
813
- var trunc = mathTrunc;
814
-
815
813
  // `ToIntegerOrInfinity` abstract operation
816
814
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
817
815
  var toIntegerOrInfinity$6 = function (argument) {
818
816
  var number = +argument;
819
- // eslint-disable-next-line no-self-compare -- NaN check
820
- return number !== number || number === 0 ? 0 : trunc(number);
817
+ // eslint-disable-next-line no-self-compare -- safe
818
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
821
819
  };
822
820
 
823
821
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -951,11 +949,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
951
949
  var hasOwn$8 = hasOwnProperty_1;
952
950
  var ownKeys = ownKeys$1;
953
951
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
954
- var definePropertyModule$3 = objectDefineProperty;
952
+ var definePropertyModule$4 = objectDefineProperty;
955
953
 
956
954
  var copyConstructorProperties$2 = function (target, source, exceptions) {
957
955
  var keys = ownKeys(source);
958
- var defineProperty = definePropertyModule$3.f;
956
+ var defineProperty = definePropertyModule$4.f;
959
957
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
960
958
  for (var i = 0; i < keys.length; i++) {
961
959
  var key = keys[i];
@@ -988,28 +986,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
988
986
 
989
987
  var isForced_1 = isForced$3;
990
988
 
991
- var global$j = global$s;
989
+ var global$A = global$U;
992
990
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
993
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
991
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
994
992
  var defineBuiltIn$a = defineBuiltIn$b;
995
- var defineGlobalProperty = defineGlobalProperty$3;
993
+ var setGlobal = setGlobal$3;
996
994
  var copyConstructorProperties$1 = copyConstructorProperties$2;
997
995
  var isForced$2 = isForced_1;
998
996
 
999
997
  /*
1000
- options.target - name of the target object
1001
- options.global - target is the global object
1002
- options.stat - export as static methods of target
1003
- options.proto - export as prototype methods of target
1004
- options.real - real prototype method for the `pure` version
1005
- options.forced - export even if the native feature is available
1006
- options.bind - bind methods to the target, required for the `pure` version
1007
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1008
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1009
- options.sham - add a flag to not completely full polyfills
1010
- options.enumerable - export as enumerable property
1011
- options.dontCallGetSet - prevent calling a getter on target
1012
- options.name - the .name of the function if it does not match the key
998
+ options.target - name of the target object
999
+ options.global - target is the global object
1000
+ options.stat - export as static methods of target
1001
+ options.proto - export as prototype methods of target
1002
+ options.real - real prototype method for the `pure` version
1003
+ options.forced - export even if the native feature is available
1004
+ options.bind - bind methods to the target, required for the `pure` version
1005
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1006
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1007
+ options.sham - add a flag to not completely full polyfills
1008
+ options.enumerable - export as enumerable property
1009
+ options.noTargetGet - prevent calling a getter on target
1010
+ options.name - the .name of the function if it does not match the key
1013
1011
  */
1014
1012
  var _export = function (options, source) {
1015
1013
  var TARGET = options.target;
@@ -1017,15 +1015,15 @@ var _export = function (options, source) {
1017
1015
  var STATIC = options.stat;
1018
1016
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1019
1017
  if (GLOBAL) {
1020
- target = global$j;
1018
+ target = global$A;
1021
1019
  } else if (STATIC) {
1022
- target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1020
+ target = global$A[TARGET] || setGlobal(TARGET, {});
1023
1021
  } else {
1024
- target = (global$j[TARGET] || {}).prototype;
1022
+ target = (global$A[TARGET] || {}).prototype;
1025
1023
  }
1026
1024
  if (target) for (key in source) {
1027
1025
  sourceProperty = source[key];
1028
- if (options.dontCallGetSet) {
1026
+ if (options.noTargetGet) {
1029
1027
  descriptor = getOwnPropertyDescriptor$3(target, key);
1030
1028
  targetProperty = descriptor && descriptor.value;
1031
1029
  } else targetProperty = target[key];
@@ -1066,17 +1064,17 @@ var IndexedObject$1 = indexedObject;
1066
1064
  // eslint-disable-next-line es-x/no-object-assign -- safe
1067
1065
  var $assign = Object.assign;
1068
1066
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1069
- var defineProperty$6 = Object.defineProperty;
1067
+ var defineProperty$5 = Object.defineProperty;
1070
1068
  var concat$1 = uncurryThis$n([].concat);
1071
1069
 
1072
1070
  // `Object.assign` method
1073
1071
  // https://tc39.es/ecma262/#sec-object.assign
1074
1072
  var objectAssign = !$assign || fails$j(function () {
1075
1073
  // should have correct order of operations (Edge bug)
1076
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1074
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1077
1075
  enumerable: true,
1078
1076
  get: function () {
1079
- defineProperty$6(this, 'b', {
1077
+ defineProperty$5(this, 'b', {
1080
1078
  value: 3,
1081
1079
  enumerable: false
1082
1080
  });
@@ -1361,7 +1359,7 @@ const applyGlobalStyles = additionaStyles => {
1361
1359
  };
1362
1360
 
1363
1361
  function _extends() {
1364
- _extends = Object.assign ? Object.assign.bind() : function (target) {
1362
+ _extends = Object.assign || function (target) {
1365
1363
  for (var i = 1; i < arguments.length; i++) {
1366
1364
  var source = arguments[i];
1367
1365
 
@@ -1374,6 +1372,7 @@ function _extends() {
1374
1372
 
1375
1373
  return target;
1376
1374
  };
1375
+
1377
1376
  return _extends.apply(this, arguments);
1378
1377
  }
1379
1378
 
@@ -1396,7 +1395,7 @@ var objectDefineProperties = {};
1396
1395
 
1397
1396
  var DESCRIPTORS$6 = descriptors;
1398
1397
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1399
- var definePropertyModule$2 = objectDefineProperty;
1398
+ var definePropertyModule$3 = objectDefineProperty;
1400
1399
  var anObject$f = anObject$i;
1401
1400
  var toIndexedObject$1 = toIndexedObject$5;
1402
1401
  var objectKeys = objectKeys$2;
@@ -1411,7 +1410,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1411
1410
  var length = keys.length;
1412
1411
  var index = 0;
1413
1412
  var key;
1414
- while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1413
+ while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1415
1414
  return O;
1416
1415
  };
1417
1416
 
@@ -1506,7 +1505,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1506
1505
 
1507
1506
  var wellKnownSymbol$j = wellKnownSymbol$l;
1508
1507
  var create$3 = objectCreate;
1509
- var defineProperty$5 = objectDefineProperty.f;
1508
+ var definePropertyModule$2 = objectDefineProperty;
1510
1509
 
1511
1510
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1512
1511
  var ArrayPrototype$1 = Array.prototype;
@@ -1514,7 +1513,7 @@ var ArrayPrototype$1 = Array.prototype;
1514
1513
  // Array.prototype[@@unscopables]
1515
1514
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1516
1515
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1517
- defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1516
+ definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1518
1517
  configurable: true,
1519
1518
  value: create$3(null)
1520
1519
  });
@@ -1536,6 +1535,7 @@ var correctPrototypeGetter = !fails$i(function () {
1536
1535
  return Object.getPrototypeOf(new F()) !== F.prototype;
1537
1536
  });
1538
1537
 
1538
+ var global$z = global$U;
1539
1539
  var hasOwn$7 = hasOwnProperty_1;
1540
1540
  var isCallable$e = isCallable$p;
1541
1541
  var toObject$4 = toObject$7;
@@ -1543,19 +1543,18 @@ var sharedKey = sharedKey$3;
1543
1543
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1544
1544
 
1545
1545
  var IE_PROTO = sharedKey('IE_PROTO');
1546
- var $Object$1 = Object;
1547
- var ObjectPrototype = $Object$1.prototype;
1546
+ var Object$2 = global$z.Object;
1547
+ var ObjectPrototype = Object$2.prototype;
1548
1548
 
1549
1549
  // `Object.getPrototypeOf` method
1550
1550
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1551
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1552
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1551
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1553
1552
  var object = toObject$4(O);
1554
1553
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1555
1554
  var constructor = object.constructor;
1556
1555
  if (isCallable$e(constructor) && object instanceof constructor) {
1557
1556
  return constructor.prototype;
1558
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1557
+ } return object instanceof Object$2 ? ObjectPrototype : null;
1559
1558
  };
1560
1559
 
1561
1560
  var fails$h = fails$s;
@@ -1632,14 +1631,15 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
1632
1631
  return IteratorConstructor;
1633
1632
  };
1634
1633
 
1634
+ var global$y = global$U;
1635
1635
  var isCallable$c = isCallable$p;
1636
1636
 
1637
- var $String$2 = String;
1638
- var $TypeError$9 = TypeError;
1637
+ var String$4 = global$y.String;
1638
+ var TypeError$c = global$y.TypeError;
1639
1639
 
1640
1640
  var aPossiblePrototype$1 = function (argument) {
1641
1641
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1642
- throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1642
+ throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1643
1643
  };
1644
1644
 
1645
1645
  /* eslint-disable no-proto -- safe */
@@ -1679,7 +1679,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
1679
1679
  var getPrototypeOf = objectGetPrototypeOf;
1680
1680
  var setPrototypeOf$2 = objectSetPrototypeOf;
1681
1681
  var setToStringTag$3 = setToStringTag$5;
1682
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1682
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1683
1683
  var defineBuiltIn$8 = defineBuiltIn$b;
1684
1684
  var wellKnownSymbol$g = wellKnownSymbol$l;
1685
1685
  var Iterators$3 = iterators;
@@ -1872,11 +1872,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1872
1872
 
1873
1873
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1874
1874
 
1875
- var global$i = global$s;
1875
+ var global$x = global$U;
1876
1876
  var DOMIterables = domIterables;
1877
1877
  var DOMTokenListPrototype = domTokenListPrototype;
1878
1878
  var ArrayIteratorMethods = es_array_iterator;
1879
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1879
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1880
1880
  var wellKnownSymbol$f = wellKnownSymbol$l;
1881
1881
 
1882
1882
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -1906,7 +1906,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1906
1906
  };
1907
1907
 
1908
1908
  for (var COLLECTION_NAME in DOMIterables) {
1909
- handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
1909
+ handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
1910
1910
  }
1911
1911
 
1912
1912
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -1920,13 +1920,14 @@ test$1[TO_STRING_TAG$1] = 'z';
1920
1920
 
1921
1921
  var toStringTagSupport = String(test$1) === '[object z]';
1922
1922
 
1923
+ var global$w = global$U;
1923
1924
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1924
1925
  var isCallable$a = isCallable$p;
1925
1926
  var classofRaw = classofRaw$1;
1926
1927
  var wellKnownSymbol$d = wellKnownSymbol$l;
1927
1928
 
1928
1929
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
1929
- var $Object = Object;
1930
+ var Object$1 = global$w.Object;
1930
1931
 
1931
1932
  // ES3 wrong here
1932
1933
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1943,34 +1944,35 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1943
1944
  var O, tag, result;
1944
1945
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1945
1946
  // @@toStringTag case
1946
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1947
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1947
1948
  // builtinTag case
1948
1949
  : CORRECT_ARGUMENTS ? classofRaw(O)
1949
1950
  // ES3 arguments fallback
1950
1951
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1951
1952
  };
1952
1953
 
1954
+ var global$v = global$U;
1953
1955
  var classof$6 = classof$7;
1954
1956
 
1955
- var $String$1 = String;
1957
+ var String$3 = global$v.String;
1956
1958
 
1957
- var toString$f = function (argument) {
1959
+ var toString$h = function (argument) {
1958
1960
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1959
- return $String$1(argument);
1961
+ return String$3(argument);
1960
1962
  };
1961
1963
 
1962
1964
  var $$h = _export;
1963
1965
  var DESCRIPTORS$4 = descriptors;
1964
- var global$h = global$s;
1966
+ var global$u = global$U;
1965
1967
  var uncurryThis$l = functionUncurryThis;
1966
1968
  var hasOwn$5 = hasOwnProperty_1;
1967
1969
  var isCallable$9 = isCallable$p;
1968
1970
  var isPrototypeOf$4 = objectIsPrototypeOf;
1969
- var toString$e = toString$f;
1971
+ var toString$g = toString$h;
1970
1972
  var defineProperty$2 = objectDefineProperty.f;
1971
1973
  var copyConstructorProperties = copyConstructorProperties$2;
1972
1974
 
1973
- var NativeSymbol = global$h.Symbol;
1975
+ var NativeSymbol = global$u.Symbol;
1974
1976
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1975
1977
 
1976
1978
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -1980,7 +1982,7 @@ if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPro
1980
1982
  var EmptyStringDescriptionStore = {};
1981
1983
  // wrap Symbol constructor for correct work with undefined description
1982
1984
  var SymbolWrapper = function Symbol() {
1983
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$e(arguments[0]);
1985
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$g(arguments[0]);
1984
1986
  var result = isPrototypeOf$4(SymbolPrototype, this)
1985
1987
  ? new NativeSymbol(description)
1986
1988
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -1994,7 +1996,7 @@ if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPro
1994
1996
  SymbolPrototype.constructor = SymbolWrapper;
1995
1997
 
1996
1998
  var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
1997
- var symbolToString = uncurryThis$l(SymbolPrototype.toString);
1999
+ var symbolToString$1 = uncurryThis$l(SymbolPrototype.toString);
1998
2000
  var symbolValueOf = uncurryThis$l(SymbolPrototype.valueOf);
1999
2001
  var regexp = /^Symbol\((.*)\)[^)]+$/;
2000
2002
  var replace$7 = uncurryThis$l(''.replace);
@@ -2004,7 +2006,7 @@ if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPro
2004
2006
  configurable: true,
2005
2007
  get: function description() {
2006
2008
  var symbol = symbolValueOf(this);
2007
- var string = symbolToString(symbol);
2009
+ var string = symbolToString$1(symbol);
2008
2010
  if (hasOwn$5(EmptyStringDescriptionStore, symbol)) return '';
2009
2011
  var desc = NATIVE_SYMBOL ? stringSlice$a(string, 7, -1) : replace$7(string, regexp, '$1');
2010
2012
  return desc === '' ? undefined : desc;
@@ -2050,13 +2052,14 @@ var isRegexp = function (it) {
2050
2052
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2051
2053
  };
2052
2054
 
2055
+ var global$t = global$U;
2053
2056
  var isRegExp$2 = isRegexp;
2054
2057
 
2055
- var $TypeError$8 = TypeError;
2058
+ var TypeError$b = global$t.TypeError;
2056
2059
 
2057
2060
  var notARegexp = function (it) {
2058
2061
  if (isRegExp$2(it)) {
2059
- throw $TypeError$8("The method doesn't accept regular expressions");
2062
+ throw TypeError$b("The method doesn't accept regular expressions");
2060
2063
  } return it;
2061
2064
  };
2062
2065
 
@@ -2080,7 +2083,7 @@ var $$f = _export;
2080
2083
  var uncurryThis$k = functionUncurryThis;
2081
2084
  var notARegExp$1 = notARegexp;
2082
2085
  var requireObjectCoercible$7 = requireObjectCoercible$a;
2083
- var toString$d = toString$f;
2086
+ var toString$f = toString$h;
2084
2087
  var correctIsRegExpLogic$1 = correctIsRegexpLogic;
2085
2088
 
2086
2089
  var stringIndexOf$2 = uncurryThis$k(''.indexOf);
@@ -2090,8 +2093,8 @@ var stringIndexOf$2 = uncurryThis$k(''.indexOf);
2090
2093
  $$f({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
2091
2094
  includes: function includes(searchString /* , position = 0 */) {
2092
2095
  return !!~stringIndexOf$2(
2093
- toString$d(requireObjectCoercible$7(this)),
2094
- toString$d(notARegExp$1(searchString)),
2096
+ toString$f(requireObjectCoercible$7(this)),
2097
+ toString$f(notARegExp$1(searchString)),
2095
2098
  arguments.length > 1 ? arguments[1] : undefined
2096
2099
  );
2097
2100
  }
@@ -2230,7 +2233,7 @@ Flex$1.displayName = 'Flex';
2230
2233
 
2231
2234
  const _excluded$z = ["children"],
2232
2235
  _excluded2$2 = ["children"];
2233
- var _jsxFileName$_ = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2236
+ var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2234
2237
  const GridComponent = styled('div', {
2235
2238
  display: 'grid',
2236
2239
  variants: {
@@ -2489,7 +2492,7 @@ GridItem.propTypes = {
2489
2492
  GridItem.displayName = 'Grid Item';
2490
2493
 
2491
2494
  const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
2492
- var _jsxFileName$Z = "C:\\Project\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2495
+ var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2493
2496
  const StyledDiv$3 = styled(Flex$1, {
2494
2497
  justifyContent: 'center',
2495
2498
  marginLeft: 'auto',
@@ -2842,7 +2845,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2842
2845
  });
2843
2846
 
2844
2847
  const _excluded$x = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2845
- var _jsxFileName$Y = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2848
+ var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2846
2849
  const TOAST_WIDTH = 576;
2847
2850
  const ANIMATION_DURATION = 400;
2848
2851
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3188,7 +3191,7 @@ Toast.defaultProps = {
3188
3191
 
3189
3192
  const ToastContext = /*#__PURE__*/React.createContext({});
3190
3193
 
3191
- var _jsxFileName$X = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3194
+ var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3192
3195
  const ToastBox = styled(Flex$1, {
3193
3196
  position: 'fixed',
3194
3197
  variants: {
@@ -3258,7 +3261,7 @@ const ToastContainer = ({
3258
3261
  };
3259
3262
 
3260
3263
  const _excluded$w = ["id"];
3261
- var _jsxFileName$W = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3264
+ var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3262
3265
  let toastCount = 0;
3263
3266
 
3264
3267
  const ToastProvider = ({
@@ -3343,7 +3346,7 @@ const ToastProvider = ({
3343
3346
  }));
3344
3347
  };
3345
3348
 
3346
- var _jsxFileName$V = "C:\\Project\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3349
+ var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3347
3350
 
3348
3351
  function MajooProvider({
3349
3352
  children,
@@ -3378,7 +3381,7 @@ MajooProvider.propTypes = {
3378
3381
  };
3379
3382
 
3380
3383
  const _excluded$v = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3381
- var _jsxFileName$U = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3384
+ var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3382
3385
  const Context$2 = /*#__PURE__*/React.createContext();
3383
3386
  const StyledBanner = styled(Flex$1, {
3384
3387
  maxWidth: '100%',
@@ -3466,13 +3469,13 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
3466
3469
  }
3467
3470
  }), props.children);
3468
3471
  BannerTitle.propTypes = {
3469
- /**
3470
- Additional styles of title
3472
+ /**
3473
+ Additional styles of title
3471
3474
  */
3472
3475
  css: PropTypes.object,
3473
3476
 
3474
- /**
3475
- Title of the Banner to be displayed
3477
+ /**
3478
+ Title of the Banner to be displayed
3476
3479
  */
3477
3480
  children: PropTypes.string
3478
3481
  };
@@ -3488,13 +3491,13 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
3488
3491
  }
3489
3492
  }), props.children);
3490
3493
  BannerDescription.propTypes = {
3491
- /**
3492
- Additional styles of description
3494
+ /**
3495
+ Additional styles of description
3493
3496
  */
3494
3497
  css: PropTypes.object,
3495
3498
 
3496
- /**
3497
- Description of the Banner to be displayed
3499
+ /**
3500
+ Description of the Banner to be displayed
3498
3501
  */
3499
3502
  children: PropTypes.string
3500
3503
  };
@@ -3523,18 +3526,18 @@ const BannerLink = ({
3523
3526
  }
3524
3527
  }, children));
3525
3528
  BannerLink.propTypes = {
3526
- /**
3527
- The purpose of a clickable link, presented in url
3529
+ /**
3530
+ The purpose of a clickable link, presented in url
3528
3531
  */
3529
3532
  link: PropTypes.string,
3530
3533
 
3531
- /**
3532
- Text of BannerLink to be displayed
3534
+ /**
3535
+ Text of BannerLink to be displayed
3533
3536
  */
3534
3537
  children: PropTypes.string,
3535
3538
 
3536
- /**
3537
- Additional theme of BannerLink is presented by color variants
3539
+ /**
3540
+ Additional theme of BannerLink is presented by color variants
3538
3541
  */
3539
3542
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
3540
3543
  };
@@ -3725,43 +3728,43 @@ Banner.displayName = 'Banner';
3725
3728
  BannerTitle.displayName = 'BannerTitle';
3726
3729
  BannerDescription.displayName = 'BannerDescription';
3727
3730
  Banner.propTypes = {
3728
- /**
3729
- Title of banner to be displayed
3731
+ /**
3732
+ Title of banner to be displayed
3730
3733
  */
3731
3734
  title: PropTypes.string,
3732
3735
 
3733
- /**
3734
- Description of banner to be displayed
3736
+ /**
3737
+ Description of banner to be displayed
3735
3738
  */
3736
3739
  description: PropTypes.string,
3737
3740
 
3738
- /**
3739
- The banner theme is presented in color variants
3741
+ /**
3742
+ The banner theme is presented in color variants
3740
3743
  */
3741
3744
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
3742
3745
 
3743
- /**
3744
- The purpose of a clickable link, presented in url
3746
+ /**
3747
+ The purpose of a clickable link, presented in url
3745
3748
  */
3746
3749
  link: PropTypes.string,
3747
3750
 
3748
- /**
3749
- Text of button link to be displayed
3751
+ /**
3752
+ Text of button link to be displayed
3750
3753
  */
3751
3754
  linkText: PropTypes.string,
3752
3755
 
3753
- /**
3754
- Clickable event handler
3756
+ /**
3757
+ Clickable event handler
3755
3758
  */
3756
3759
  onClick: PropTypes.func,
3757
3760
 
3758
- /**
3759
- Closable event handler
3761
+ /**
3762
+ Closable event handler
3760
3763
  */
3761
3764
  onRemove: PropTypes.func,
3762
3765
 
3763
- /**
3764
- Block type banner to display in full width
3766
+ /**
3767
+ Block type banner to display in full width
3765
3768
  */
3766
3769
  bannerBlock: PropTypes.bool
3767
3770
  };
@@ -4025,7 +4028,7 @@ const Button$2 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
4025
4028
  });
4026
4029
 
4027
4030
  const _excluded$u = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4028
- var _jsxFileName$T = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4031
+ var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4029
4032
  const CardComponent = styled('div', {
4030
4033
  padding: '20px',
4031
4034
  height: 'auto',
@@ -4233,7 +4236,7 @@ Card.defaultProps = {
4233
4236
  };
4234
4237
 
4235
4238
  const _excluded$t = ["children"];
4236
- var _jsxFileName$S = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4239
+ var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4237
4240
  const BreadcrumbStyle = styled('nav', {
4238
4241
  wordWrap: 'break-word',
4239
4242
  '& li+li:before': {
@@ -4509,7 +4512,7 @@ Badge.defaultProps = {
4509
4512
  Badge.displayName = 'Badge';
4510
4513
 
4511
4514
  const _excluded$s = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4512
- var _jsxFileName$R = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4515
+ var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4513
4516
  const StyledAvatar = styled(AvatarPrimitive.Root, {
4514
4517
  width: '32px',
4515
4518
  height: '32px',
@@ -4611,8 +4614,30 @@ Avatar.defaultProps = {
4611
4614
  delayMs: 0
4612
4615
  };
4613
4616
 
4614
- const _excluded$r = ["className", "src", "alt", "width", "height", "objectFit", "fallback"];
4615
- var _jsxFileName$Q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4617
+ const _excluded$r = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4618
+ var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4619
+ const ContainerFallback = styled(Flex$1, {
4620
+ boxSizing: 'border-box',
4621
+ border: '2px dashed #C0C4C4',
4622
+ borderRadius: 8,
4623
+ backgroundColor: '$gray50',
4624
+ minHeight: 120,
4625
+ minWidth: 188,
4626
+ variants: {
4627
+ rounded: {
4628
+ true: {
4629
+ borderRadius: '100%'
4630
+ }
4631
+ }
4632
+ }
4633
+ });
4634
+ const TextFallback = styled('p', {
4635
+ fontSize: 12,
4636
+ fontWeight: 400,
4637
+ fontStyle: 'normal',
4638
+ textAlign: 'center',
4639
+ color: '$textDisable'
4640
+ });
4616
4641
  const StyledImage = styled('img', {
4617
4642
  display: 'inline-block',
4618
4643
  alignItems: 'center',
@@ -4633,45 +4658,122 @@ function Image(_ref) {
4633
4658
  width,
4634
4659
  height,
4635
4660
  objectFit,
4636
- fallback
4661
+ fallback,
4662
+ fallbackTitle,
4663
+ css,
4664
+ cssFallback,
4665
+ rounded
4637
4666
  } = _ref,
4638
4667
  props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
4639
4668
 
4640
- return /*#__PURE__*/React__default.createElement(StyledImage, _extends({
4641
- className: className,
4642
- src: src,
4643
- alt: alt,
4644
- width: width,
4645
- height: height,
4646
- srcSet: fallback,
4647
- css: Object.assign({
4648
- objectFit: objectFit
4649
- }, props.css)
4650
- }, props, {
4651
- __self: this,
4652
- __source: {
4653
- fileName: _jsxFileName$Q,
4654
- lineNumber: 20,
4655
- columnNumber: 9
4656
- }
4657
- }));
4669
+ if (src || fallback) {
4670
+ return /*#__PURE__*/React__default.createElement(StyledImage, _extends({
4671
+ className: className,
4672
+ src: src,
4673
+ alt: alt,
4674
+ width: width,
4675
+ height: height,
4676
+ srcSet: fallback,
4677
+ rounded: rounded,
4678
+ css: Object.assign({
4679
+ objectFit: objectFit
4680
+ }, css)
4681
+ }, props, {
4682
+ __self: this,
4683
+ __source: {
4684
+ fileName: _jsxFileName$Q,
4685
+ lineNumber: 59,
4686
+ columnNumber: 7
4687
+ }
4688
+ }));
4689
+ } else {
4690
+ return /*#__PURE__*/React__default.createElement(ContainerFallback, {
4691
+ rounded: rounded,
4692
+ align: "center",
4693
+ justify: "center",
4694
+ css: Object.assign({
4695
+ width,
4696
+ height
4697
+ }, cssFallback),
4698
+ __self: this,
4699
+ __source: {
4700
+ fileName: _jsxFileName$Q,
4701
+ lineNumber: 73,
4702
+ columnNumber: 7
4703
+ }
4704
+ }, /*#__PURE__*/React__default.createElement(TextFallback, {
4705
+ __self: this,
4706
+ __source: {
4707
+ fileName: _jsxFileName$Q,
4708
+ lineNumber: 74,
4709
+ columnNumber: 9
4710
+ }
4711
+ }, fallbackTitle));
4712
+ }
4658
4713
  }
4659
4714
  Image.propTypes = {
4715
+ /**
4716
+ Additional className for img element.
4717
+ */
4660
4718
  className: PropTypes.string,
4719
+
4720
+ /**
4721
+ Which is used to specify the source of an image.
4722
+ */
4661
4723
  src: PropTypes.string,
4724
+
4725
+ /**
4726
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4727
+ */
4662
4728
  alt: PropTypes.string,
4729
+
4730
+ /**
4731
+ Additional css for img element.
4732
+ */
4733
+ css: PropTypes.object,
4734
+
4735
+ /**
4736
+ Additional css for default fallback element.
4737
+ */
4738
+ cssFallback: PropTypes.object,
4739
+
4740
+ /**
4741
+ Custom width of img element.
4742
+ */
4663
4743
  width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4744
+
4745
+ /**
4746
+ Custom height of img element.
4747
+ */
4664
4748
  height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4749
+
4750
+ /**
4751
+ Set image to circle.
4752
+ */
4665
4753
  rounded: PropTypes.bool,
4754
+
4755
+ /**
4756
+ Used to specify how an <img> should be resized to fit its container.
4757
+ */
4666
4758
  objectFit: PropTypes.string,
4667
- fallback: PropTypes.string
4759
+
4760
+ /**
4761
+ Custom fallback if image url doesn't exist.
4762
+ */
4763
+ fallback: PropTypes.string,
4764
+
4765
+ /**
4766
+ Custom fallback title for default fallback.
4767
+ */
4768
+ fallbackTitle: PropTypes.string
4668
4769
  };
4669
4770
  Image.defaultProps = {
4670
- rounded: false
4771
+ rounded: false,
4772
+ fallbackTitle: 'Tidak ada foto'
4671
4773
  };
4672
4774
 
4673
4775
  const _excluded$q = ["children", "label", "color", "css", "withClick", "side", "align"];
4674
- var _jsxFileName$P = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4776
+ var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4675
4777
  const slideUpAndFade$1 = keyframes({
4676
4778
  '0%': {
4677
4779
  opacity: 0,
@@ -4852,7 +4954,7 @@ Tooltip.defaultProps = {
4852
4954
  };
4853
4955
 
4854
4956
  const _excluded$p = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4855
- var _jsxFileName$O = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4957
+ var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4856
4958
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
4857
4959
  position: 'relative',
4858
4960
  overflow: 'hidden',
@@ -5023,7 +5125,7 @@ Progress$1.defaultProps = {
5023
5125
  };
5024
5126
 
5025
5127
  const _excluded$o = ["gap", "direction", "children"];
5026
- var _jsxFileName$N = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
5128
+ var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
5027
5129
 
5028
5130
  const FormGroup = _ref => {
5029
5131
  let {
@@ -5057,7 +5159,7 @@ FormGroup.defaultProps = {
5057
5159
  };
5058
5160
 
5059
5161
  const _excluded$n = ["children", "htmlFor", "variant", "tooltipLabel", "count", "maxCount", "labelCss"];
5060
- var _jsxFileName$M = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5162
+ var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5061
5163
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
5062
5164
  display: 'inline-block',
5063
5165
  fontSize: '$label',
@@ -5171,7 +5273,7 @@ FormLabel.propTypes = {
5171
5273
  FormLabel.displayName = 'FormLabel';
5172
5274
 
5173
5275
  const _excluded$m = ["children", "error"];
5174
- var _jsxFileName$L = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5276
+ var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5175
5277
  const StyledHelper = styled(Text$1, {
5176
5278
  display: 'inline-block',
5177
5279
  color: '$textSecondary',
@@ -5209,7 +5311,7 @@ FormHelper.propTypes = {
5209
5311
  };
5210
5312
  FormHelper.displayName = 'FormHelper';
5211
5313
 
5212
- var _jsxFileName$K = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5314
+ var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5213
5315
  const CheckboxContext = /*#__PURE__*/createContext();
5214
5316
 
5215
5317
  const CheckboxGroup = ({
@@ -5272,7 +5374,7 @@ CheckboxGroup.defaultProps = {
5272
5374
  };
5273
5375
  CheckboxGroup.displayName = 'CheckboxGroup';
5274
5376
 
5275
- var _jsxFileName$J = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5377
+ var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5276
5378
 
5277
5379
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
5278
5380
  xmlns: "http://www.w3.org/2000/svg",
@@ -5320,7 +5422,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
5320
5422
  }
5321
5423
  }));
5322
5424
 
5323
- var _jsxFileName$I = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5425
+ var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5324
5426
 
5325
5427
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
5326
5428
  xmlns: "http://www.w3.org/2000/svg",
@@ -5369,7 +5471,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
5369
5471
  }));
5370
5472
 
5371
5473
  const _excluded$l = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5372
- var _jsxFileName$H = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5474
+ var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5373
5475
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
5374
5476
  alignItems: 'center',
5375
5477
  display: 'flex',
@@ -5434,7 +5536,7 @@ const Checkbox = _ref => {
5434
5536
  const [isChecked, setChecked] = useState(false);
5435
5537
  useEffect(() => {
5436
5538
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5437
- setChecked(checkValue != null ? checkValue : false);
5539
+ setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5438
5540
  }, [checked, indeterminate, context]);
5439
5541
  return /*#__PURE__*/React__default.createElement(StyledCheckbox, _extends({
5440
5542
  id: id,
@@ -5535,7 +5637,7 @@ InputCheckbox.propTypes = {
5535
5637
  InputCheckbox.displayName = 'InputCheckbox';
5536
5638
 
5537
5639
  const _excluded$k = ["children", "size"];
5538
- var _jsxFileName$G = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5640
+ var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5539
5641
  const InputGroupStyle = styled('div', {
5540
5642
  display: 'flex',
5541
5643
  width: '100%',
@@ -5682,13 +5784,13 @@ const InputGroup = _ref => {
5682
5784
  }));
5683
5785
  };
5684
5786
  InputGroup.propTypes = {
5685
- /**
5686
- Adjust Input Text Size
5787
+ /**
5788
+ Adjust Input Text Size
5687
5789
  */
5688
5790
  size: PropTypes.oneOf(['sm', 'lg']),
5689
5791
 
5690
- /**
5691
- Children must be InputText, InputAddon, or InputPrefixes
5792
+ /**
5793
+ Children must be InputText, InputAddon, or InputPrefixes
5692
5794
  */
5693
5795
  children: PropTypes.node.isRequired,
5694
5796
 
@@ -5822,7 +5924,7 @@ InputSuffix.propTypes = {
5822
5924
  };
5823
5925
 
5824
5926
  const _excluded$j = ["disabled"];
5825
- var _jsxFileName$F = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
5927
+ var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
5826
5928
  const disabledStyle = {
5827
5929
  backgroundColor: '$formDisable',
5828
5930
  color: '$textDisable',
@@ -6002,7 +6104,7 @@ InputTextArea.defaultProps = {
6002
6104
 
6003
6105
  const InputRadioContext = /*#__PURE__*/React__default.createContext();
6004
6106
 
6005
- var _jsxFileName$E = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6107
+ var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6006
6108
  const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
6007
6109
  function InputRadioGroup(props) {
6008
6110
  return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
@@ -6035,7 +6137,7 @@ InputRadioGroup.propTypes = {
6035
6137
  InputRadioGroup.displayName = 'InputRadioGroup';
6036
6138
 
6037
6139
  const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps"];
6038
- var _jsxFileName$D = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6140
+ var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6039
6141
  const INDICATOR_BASE_STYLES = {
6040
6142
  alignItems: 'center',
6041
6143
  display: 'flex',
@@ -6211,7 +6313,7 @@ const InputRadio = _ref => {
6211
6313
  value,
6212
6314
  outlined
6213
6315
  }) => {
6214
- const checked = value != null ? value : defaultValue;
6316
+ const checked = value !== null && value !== void 0 ? value : defaultValue;
6215
6317
  return /*#__PURE__*/React__default.createElement(Container$5, {
6216
6318
  align: "center",
6217
6319
  gap: 4,
@@ -6462,7 +6564,6 @@ var regexpFlags$1 = function () {
6462
6564
  if (that.multiline) result += 'm';
6463
6565
  if (that.dotAll) result += 's';
6464
6566
  if (that.unicode) result += 'u';
6465
- if (that.unicodeSets) result += 'v';
6466
6567
  if (that.sticky) result += 'y';
6467
6568
  return result;
6468
6569
  };
@@ -6481,10 +6582,10 @@ var regexpGetFlags = function (R) {
6481
6582
  };
6482
6583
 
6483
6584
  var fails$f = fails$s;
6484
- var global$g = global$s;
6585
+ var global$s = global$U;
6485
6586
 
6486
6587
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6487
- var $RegExp$2 = global$g.RegExp;
6588
+ var $RegExp$2 = global$s.RegExp;
6488
6589
 
6489
6590
  var UNSUPPORTED_Y$3 = fails$f(function () {
6490
6591
  var re = $RegExp$2('a', 'y');
@@ -6541,10 +6642,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
6541
6642
  };
6542
6643
 
6543
6644
  var fails$e = fails$s;
6544
- var global$f = global$s;
6645
+ var global$r = global$U;
6545
6646
 
6546
6647
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6547
- var $RegExp$1 = global$f.RegExp;
6648
+ var $RegExp$1 = global$r.RegExp;
6548
6649
 
6549
6650
  var regexpUnsupportedDotAll = fails$e(function () {
6550
6651
  var re = $RegExp$1('.', 's');
@@ -6552,10 +6653,10 @@ var regexpUnsupportedDotAll = fails$e(function () {
6552
6653
  });
6553
6654
 
6554
6655
  var fails$d = fails$s;
6555
- var global$e = global$s;
6656
+ var global$q = global$U;
6556
6657
 
6557
6658
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6558
- var $RegExp = global$e.RegExp;
6659
+ var $RegExp = global$q.RegExp;
6559
6660
 
6560
6661
  var regexpUnsupportedNcg = fails$d(function () {
6561
6662
  var re = $RegExp('(?<a>b)', 'g');
@@ -6564,15 +6665,15 @@ var regexpUnsupportedNcg = fails$d(function () {
6564
6665
  });
6565
6666
 
6566
6667
  var DESCRIPTORS$2 = descriptors;
6567
- var global$d = global$s;
6668
+ var global$p = global$U;
6568
6669
  var uncurryThis$j = functionUncurryThis;
6569
6670
  var isForced$1 = isForced_1;
6570
6671
  var inheritIfRequired = inheritIfRequired$1;
6571
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
6672
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
6572
6673
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
6573
6674
  var isPrototypeOf$2 = objectIsPrototypeOf;
6574
6675
  var isRegExp$1 = isRegexp;
6575
- var toString$c = toString$f;
6676
+ var toString$e = toString$h;
6576
6677
  var getRegExpFlags$1 = regexpGetFlags;
6577
6678
  var stickyHelpers$2 = regexpStickyHelpers;
6578
6679
  var proxyAccessor = proxyAccessor$1;
@@ -6586,9 +6687,9 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
6586
6687
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
6587
6688
 
6588
6689
  var MATCH = wellKnownSymbol$9('match');
6589
- var NativeRegExp = global$d.RegExp;
6690
+ var NativeRegExp = global$p.RegExp;
6590
6691
  var RegExpPrototype$2 = NativeRegExp.prototype;
6591
- var SyntaxError = global$d.SyntaxError;
6692
+ var SyntaxError = global$p.SyntaxError;
6592
6693
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
6593
6694
  var charAt$8 = uncurryThis$j(''.charAt);
6594
6695
  var replace$6 = uncurryThis$j(''.replace);
@@ -6700,8 +6801,8 @@ if (isForced$1('RegExp', BASE_FORCED)) {
6700
6801
  if (flagsAreUndefined) flags = getRegExpFlags$1(rawPattern);
6701
6802
  }
6702
6803
 
6703
- pattern = pattern === undefined ? '' : toString$c(pattern);
6704
- flags = flags === undefined ? '' : toString$c(flags);
6804
+ pattern = pattern === undefined ? '' : toString$e(pattern);
6805
+ flags = flags === undefined ? '' : toString$e(flags);
6705
6806
  rawPattern = pattern;
6706
6807
 
6707
6808
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -6748,7 +6849,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
6748
6849
 
6749
6850
  RegExpPrototype$2.constructor = RegExpWrapper;
6750
6851
  RegExpWrapper.prototype = RegExpPrototype$2;
6751
- defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
6852
+ defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
6752
6853
  }
6753
6854
 
6754
6855
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -6758,7 +6859,7 @@ setSpecies$1('RegExp');
6758
6859
  /* eslint-disable regexp/no-useless-quantifier -- testing */
6759
6860
  var call$e = functionCall;
6760
6861
  var uncurryThis$i = functionUncurryThis;
6761
- var toString$b = toString$f;
6862
+ var toString$d = toString$h;
6762
6863
  var regexpFlags = regexpFlags$1;
6763
6864
  var stickyHelpers$1 = regexpStickyHelpers;
6764
6865
  var shared = shared$4.exports;
@@ -6794,7 +6895,7 @@ if (PATCH) {
6794
6895
  patchedExec = function exec(string) {
6795
6896
  var re = this;
6796
6897
  var state = getInternalState$1(re);
6797
- var str = toString$b(string);
6898
+ var str = toString$d(string);
6798
6899
  var raw = state.raw;
6799
6900
  var result, reCopy, lastIndex, match, i, object, group;
6800
6901
 
@@ -6883,7 +6984,7 @@ $$e({ target: 'RegExp', proto: true, forced: /./.exec !== exec$5 }, {
6883
6984
  var PROPER_FUNCTION_NAME = functionName.PROPER;
6884
6985
  var defineBuiltIn$6 = defineBuiltIn$b;
6885
6986
  var anObject$b = anObject$i;
6886
- var $toString$2 = toString$f;
6987
+ var $toString$2 = toString$h;
6887
6988
  var fails$b = fails$s;
6888
6989
  var getRegExpFlags = regexpGetFlags;
6889
6990
 
@@ -6907,7 +7008,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
6907
7008
  }
6908
7009
 
6909
7010
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
6910
- var _jsxFileName$C = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7011
+ var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
6911
7012
  const TagWrapper$3 = styled('div', {
6912
7013
  boxSizing: 'border-box',
6913
7014
  listStyle: 'none',
@@ -7084,7 +7185,7 @@ Tag.defaultProps = {
7084
7185
  };
7085
7186
 
7086
7187
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern"];
7087
- var _jsxFileName$B = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7188
+ var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7088
7189
  const Wrapper$2 = styled('div', {
7089
7190
  margin: 0,
7090
7191
  flexDirection: 'column',
@@ -7348,7 +7449,7 @@ TagsInput.defaultProps = {
7348
7449
  };
7349
7450
 
7350
7451
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7351
- var _jsxFileName$A = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7452
+ var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7352
7453
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
7353
7454
  display: 'block',
7354
7455
  width: '16px',
@@ -7456,7 +7557,7 @@ InputSwitch.propTypes = {
7456
7557
  };
7457
7558
  InputSwitch.displayName = 'InputSwitch';
7458
7559
 
7459
- var _jsxFileName$z = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7560
+ var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
7460
7561
 
7461
7562
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
7462
7563
  width: props.size,
@@ -7517,7 +7618,7 @@ SvgCloseFilled.defaultProps = {
7517
7618
  size: 24
7518
7619
  };
7519
7620
 
7520
- var _jsxFileName$y = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7621
+ var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
7521
7622
 
7522
7623
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7523
7624
  width: props.size,
@@ -7560,7 +7661,7 @@ SvgSearchOutline.defaultProps = {
7560
7661
  };
7561
7662
 
7562
7663
  const _excluded$e = ["size", "onChange", "css", "disabled"];
7563
- var _jsxFileName$x = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7664
+ var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
7564
7665
 
7565
7666
  const InputSearchbox = _ref => {
7566
7667
  let {
@@ -7675,7 +7776,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
7675
7776
  var regexpExec$2 = regexpExec$3;
7676
7777
  var fails$a = fails$s;
7677
7778
  var wellKnownSymbol$8 = wellKnownSymbol$l;
7678
- var createNonEnumerableProperty = createNonEnumerableProperty$6;
7779
+ var createNonEnumerableProperty = createNonEnumerableProperty$7;
7679
7780
 
7680
7781
  var SPECIES$2 = wellKnownSymbol$8('species');
7681
7782
  var RegExpPrototype = RegExp.prototype;
@@ -7750,13 +7851,14 @@ var sameValue$1 = Object.is || function is(x, y) {
7750
7851
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
7751
7852
  };
7752
7853
 
7854
+ var global$o = global$U;
7753
7855
  var call$d = functionCall;
7754
7856
  var anObject$a = anObject$i;
7755
7857
  var isCallable$7 = isCallable$p;
7756
7858
  var classof$4 = classofRaw$1;
7757
7859
  var regexpExec$1 = regexpExec$3;
7758
7860
 
7759
- var $TypeError$7 = TypeError;
7861
+ var TypeError$a = global$o.TypeError;
7760
7862
 
7761
7863
  // `RegExpExec` abstract operation
7762
7864
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -7768,7 +7870,7 @@ var regexpExecAbstract = function (R, S) {
7768
7870
  return result;
7769
7871
  }
7770
7872
  if (classof$4(R) === 'RegExp') return call$d(regexpExec$1, R, S);
7771
- throw $TypeError$7('RegExp#exec called on incompatible receiver');
7873
+ throw TypeError$a('RegExp#exec called on incompatible receiver');
7772
7874
  };
7773
7875
 
7774
7876
  var call$c = functionCall;
@@ -7776,7 +7878,7 @@ var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
7776
7878
  var anObject$9 = anObject$i;
7777
7879
  var requireObjectCoercible$6 = requireObjectCoercible$a;
7778
7880
  var sameValue = sameValue$1;
7779
- var toString$a = toString$f;
7881
+ var toString$c = toString$h;
7780
7882
  var getMethod$4 = getMethod$6;
7781
7883
  var regExpExec$1 = regexpExecAbstract;
7782
7884
 
@@ -7788,13 +7890,13 @@ fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeC
7788
7890
  function search(regexp) {
7789
7891
  var O = requireObjectCoercible$6(this);
7790
7892
  var searcher = regexp == undefined ? undefined : getMethod$4(regexp, SEARCH);
7791
- return searcher ? call$c(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$a(O));
7893
+ return searcher ? call$c(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$c(O));
7792
7894
  },
7793
7895
  // `RegExp.prototype[@@search]` method
7794
7896
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
7795
7897
  function (string) {
7796
7898
  var rx = anObject$9(this);
7797
- var S = toString$a(string);
7899
+ var S = toString$c(string);
7798
7900
  var res = maybeCallNative(nativeSearch, rx, S);
7799
7901
 
7800
7902
  if (res.done) return res.value;
@@ -7810,7 +7912,7 @@ fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeC
7810
7912
 
7811
7913
  const _excluded$d = ["showLeadingIcon", "disabled", "placeholder", "readOnly", "inputProps", "handleInputValue", "noStyling", "onChange"],
7812
7914
  _excluded2$1 = ["placeholder", "searchPlaceholder", "embedSearch", "option", "onChange", "size", "disabled", "search", "value", "iconColor", "icon", "placement", "valueSelector", "textSelector", "disabledOptions", "css", "onSearch", "readOnly", "isInvalid", "noOptionIcon"];
7813
- var _jsxFileName$w = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelect\\InputSelect.js";
7915
+ var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelect\\InputSelect.js";
7814
7916
  const SelectContainer = styled('div', {
7815
7917
  margin: 0,
7816
7918
  flexDirection: 'column',
@@ -8396,7 +8498,7 @@ function Select$1(_ref2) {
8396
8498
  item,
8397
8499
  disabled: item.isDisabled
8398
8500
  }), {
8399
- key: (_item$value = item.value) != null ? _item$value : index,
8501
+ key: (_item$value = item.value) !== null && _item$value !== void 0 ? _item$value : index,
8400
8502
  css: item.isDisabled ? {
8401
8503
  backgroundColor: 'unset',
8402
8504
  cursor: 'not-allowed',
@@ -8491,14 +8593,6 @@ Select$1.defaultProps = {
8491
8593
  noOptionIcon: false
8492
8594
  };
8493
8595
 
8494
- var tryToString$3 = tryToString$5;
8495
-
8496
- var $TypeError$6 = TypeError;
8497
-
8498
- var deletePropertyOrThrow$1 = function (O, P) {
8499
- if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8500
- };
8501
-
8502
8596
  var toPropertyKey = toPropertyKey$3;
8503
8597
  var definePropertyModule = objectDefineProperty;
8504
8598
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -8509,18 +8603,19 @@ var createProperty$2 = function (object, key, value) {
8509
8603
  else object[propertyKey] = value;
8510
8604
  };
8511
8605
 
8606
+ var global$n = global$U;
8512
8607
  var toAbsoluteIndex = toAbsoluteIndex$2;
8513
8608
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8514
8609
  var createProperty$1 = createProperty$2;
8515
8610
 
8516
- var $Array$1 = Array;
8611
+ var Array$2 = global$n.Array;
8517
8612
  var max$1 = Math.max;
8518
8613
 
8519
8614
  var arraySliceSimple = function (O, start, end) {
8520
8615
  var length = lengthOfArrayLike$4(O);
8521
8616
  var k = toAbsoluteIndex(start, length);
8522
8617
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8523
- var result = $Array$1(max$1(fin - k, 0));
8618
+ var result = Array$2(max$1(fin - k, 0));
8524
8619
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8525
8620
  result.length = n;
8526
8621
  return result;
@@ -8602,8 +8697,7 @@ var uncurryThis$g = functionUncurryThis;
8602
8697
  var aCallable$7 = aCallable$9;
8603
8698
  var toObject$3 = toObject$7;
8604
8699
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
8605
- var deletePropertyOrThrow = deletePropertyOrThrow$1;
8606
- var toString$9 = toString$f;
8700
+ var toString$b = toString$h;
8607
8701
  var fails$8 = fails$s;
8608
8702
  var internalSort = arraySort$1;
8609
8703
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
@@ -8669,7 +8763,7 @@ var getSortCompare = function (comparefn) {
8669
8763
  if (y === undefined) return -1;
8670
8764
  if (x === undefined) return 1;
8671
8765
  if (comparefn !== undefined) return +comparefn(x, y) || 0;
8672
- return toString$9(x) > toString$9(y) ? 1 : -1;
8766
+ return toString$b(x) > toString$b(y) ? 1 : -1;
8673
8767
  };
8674
8768
  };
8675
8769
 
@@ -8697,18 +8791,19 @@ $$d({ target: 'Array', proto: true, forced: FORCED$3 }, {
8697
8791
  index = 0;
8698
8792
 
8699
8793
  while (index < itemsLength) array[index] = items[index++];
8700
- while (index < arrayLength) deletePropertyOrThrow(array, index++);
8794
+ while (index < arrayLength) delete array[index++];
8701
8795
 
8702
8796
  return array;
8703
8797
  }
8704
8798
  });
8705
8799
 
8800
+ var global$m = global$U;
8706
8801
  var aCallable$6 = aCallable$9;
8707
8802
  var toObject$2 = toObject$7;
8708
8803
  var IndexedObject = indexedObject;
8709
8804
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
8710
8805
 
8711
- var $TypeError$5 = TypeError;
8806
+ var TypeError$9 = global$m.TypeError;
8712
8807
 
8713
8808
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
8714
8809
  var createMethod$2 = function (IS_RIGHT) {
@@ -8727,7 +8822,7 @@ var createMethod$2 = function (IS_RIGHT) {
8727
8822
  }
8728
8823
  index += i;
8729
8824
  if (IS_RIGHT ? index < 0 : length <= index) {
8730
- throw $TypeError$5('Reduce of empty array with no initial value');
8825
+ throw TypeError$9('Reduce of empty array with no initial value');
8731
8826
  }
8732
8827
  }
8733
8828
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -8747,9 +8842,9 @@ var arrayReduce = {
8747
8842
  };
8748
8843
 
8749
8844
  var classof$3 = classofRaw$1;
8750
- var global$c = global$s;
8845
+ var global$l = global$U;
8751
8846
 
8752
- var engineIsNode = classof$3(global$c.process) == 'process';
8847
+ var engineIsNode = classof$3(global$l.process) == 'process';
8753
8848
 
8754
8849
  var $$c = _export;
8755
8850
  var $reduce = arrayReduce.left;
@@ -8775,7 +8870,7 @@ var $$b = _export;
8775
8870
  var uncurryThis$f = functionUncurryThis;
8776
8871
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
8777
8872
  var toLength$2 = toLength$4;
8778
- var toString$8 = toString$f;
8873
+ var toString$a = toString$h;
8779
8874
  var notARegExp = notARegexp;
8780
8875
  var requireObjectCoercible$5 = requireObjectCoercible$a;
8781
8876
  var correctIsRegExpLogic = correctIsRegexpLogic;
@@ -8796,17 +8891,17 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
8796
8891
  // https://tc39.es/ecma262/#sec-string.prototype.startswith
8797
8892
  $$b({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
8798
8893
  startsWith: function startsWith(searchString /* , position = 0 */) {
8799
- var that = toString$8(requireObjectCoercible$5(this));
8894
+ var that = toString$a(requireObjectCoercible$5(this));
8800
8895
  notARegExp(searchString);
8801
8896
  var index = toLength$2(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
8802
- var search = toString$8(searchString);
8897
+ var search = toString$a(searchString);
8803
8898
  return un$StartsWith
8804
8899
  ? un$StartsWith(that, search, index)
8805
8900
  : stringSlice$7(that, index, index + search.length) === search;
8806
8901
  }
8807
8902
  });
8808
8903
 
8809
- var _jsxFileName$v = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8904
+ var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
8810
8905
 
8811
8906
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
8812
8907
  xmlns: "http://www.w3.org/2000/svg",
@@ -8855,7 +8950,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
8855
8950
  }));
8856
8951
 
8857
8952
  const _excluded$c = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectedTag", "css"];
8858
- var _jsxFileName$u = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
8953
+ var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
8859
8954
  const Wrapper$1 = styled('div', {
8860
8955
  margin: 0,
8861
8956
  flexDirection: 'column',
@@ -9517,7 +9612,7 @@ InputSelectCheck.defaultProps = {
9517
9612
  sortBy: 'name'
9518
9613
  };
9519
9614
 
9520
- var _jsxFileName$t = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9615
+ var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
9521
9616
  function InputSelectTag(props) {
9522
9617
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
9523
9618
  showSelectedTag: true
@@ -9560,7 +9655,7 @@ InputSelectTag.defaultProps = {
9560
9655
  sortBy: 'name'
9561
9656
  };
9562
9657
 
9563
- var _jsxFileName$s = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9658
+ var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
9564
9659
  const Wrapper = styled('div', {
9565
9660
  margin: 0,
9566
9661
  flexDirection: 'column',
@@ -10064,7 +10159,7 @@ const InputCombobox = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
10064
10159
  });
10065
10160
 
10066
10161
  const _excluded$b = ["children"];
10067
- var _jsxFileName$r = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
10162
+ var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
10068
10163
  const {
10069
10164
  zIndices
10070
10165
  } = foundations;
@@ -10154,8 +10249,8 @@ const PopoverContent = ({
10154
10249
  ref: floating,
10155
10250
  style: Object.assign({
10156
10251
  position: strategy,
10157
- top: isMobile ? 0 : y != null ? y : '',
10158
- left: isMobile ? 0 : x != null ? x : '',
10252
+ top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
10253
+ left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
10159
10254
  zIndex: zIndices.popover
10160
10255
  }, style)
10161
10256
  }), {
@@ -10198,7 +10293,7 @@ Popover.propTypes = {
10198
10293
  Popover.displayName = 'Popover';
10199
10294
 
10200
10295
  const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
10201
- var _jsxFileName$q = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10296
+ var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
10202
10297
  const StyledSlider = styled$1(SliderPrimitive.Root, {
10203
10298
  position: 'relative',
10204
10299
  display: 'flex',
@@ -10543,7 +10638,7 @@ Slider.defaultProps = {
10543
10638
  };
10544
10639
 
10545
10640
  const _excluded$9 = ["className", "children", "onClick", "type", "size"];
10546
- var _jsxFileName$p = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10641
+ var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
10547
10642
  const TagWrapper = styled('div', {
10548
10643
  boxSizing: 'border-box',
10549
10644
  fontSize: '12px',
@@ -10753,7 +10848,7 @@ Separator$2.displayName = 'Separator';
10753
10848
 
10754
10849
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
10755
10850
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
10756
- var _jsxFileName$o = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10851
+ var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
10757
10852
  const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
10758
10853
  display: 'inline-flex',
10759
10854
  borderRadius: '$md',
@@ -10986,7 +11081,7 @@ var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
10986
11081
 
10987
11082
  var uncurryThis$e = functionUncurryThis;
10988
11083
  var requireObjectCoercible$4 = requireObjectCoercible$a;
10989
- var toString$7 = toString$f;
11084
+ var toString$9 = toString$h;
10990
11085
  var whitespaces$2 = whitespaces$3;
10991
11086
 
10992
11087
  var replace$4 = uncurryThis$e(''.replace);
@@ -10997,7 +11092,7 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
10997
11092
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
10998
11093
  var createMethod$1 = function (TYPE) {
10999
11094
  return function ($this) {
11000
- var string = toString$7(requireObjectCoercible$4($this));
11095
+ var string = toString$9(requireObjectCoercible$4($this));
11001
11096
  if (TYPE & 1) string = replace$4(string, ltrim, '');
11002
11097
  if (TYPE & 2) string = replace$4(string, rtrim, '');
11003
11098
  return string;
@@ -11016,15 +11111,15 @@ var stringTrim = {
11016
11111
  trim: createMethod$1(3)
11017
11112
  };
11018
11113
 
11019
- var global$b = global$s;
11114
+ var global$k = global$U;
11020
11115
  var fails$7 = fails$s;
11021
11116
  var uncurryThis$d = functionUncurryThis;
11022
- var toString$6 = toString$f;
11117
+ var toString$8 = toString$h;
11023
11118
  var trim$1 = stringTrim.trim;
11024
11119
  var whitespaces$1 = whitespaces$3;
11025
11120
 
11026
- var $parseInt$1 = global$b.parseInt;
11027
- var Symbol$6 = global$b.Symbol;
11121
+ var $parseInt$1 = global$k.parseInt;
11122
+ var Symbol$6 = global$k.Symbol;
11028
11123
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
11029
11124
  var hex = /^[+-]?0x/i;
11030
11125
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11035,7 +11130,7 @@ var FORCED$2 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespace
11035
11130
  // `parseInt` method
11036
11131
  // https://tc39.es/ecma262/#sec-parseint-string-radix
11037
11132
  var numberParseInt = FORCED$2 ? function parseInt(string, radix) {
11038
- var S = trim$1(toString$6(string));
11133
+ var S = trim$1(toString$8(string));
11039
11134
  return $parseInt$1(S, (radix >>> 0) || (exec$4(hex, S) ? 16 : 10));
11040
11135
  } : $parseInt$1;
11041
11136
 
@@ -11049,7 +11144,7 @@ $$a({ global: true, forced: parseInt != $parseInt }, {
11049
11144
  });
11050
11145
 
11051
11146
  const _excluded$7 = ["children"];
11052
- var _jsxFileName$n = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
11147
+ var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
11053
11148
  const NotificationBadgeRootStyle = styled('span', {
11054
11149
  position: 'relative',
11055
11150
  display: 'inline-flex',
@@ -11193,7 +11288,7 @@ NotificationBadge.propTypes = {
11193
11288
  };
11194
11289
 
11195
11290
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
11196
- var _jsxFileName$m = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
11291
+ var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
11197
11292
  const PaperComponent = styled('div', {
11198
11293
  padding: '20px',
11199
11294
  height: 'auto',
@@ -11393,13 +11488,14 @@ DialogClose.displayName = 'DialogClose';
11393
11488
  DialogOverlay.displayName = 'DialogOverlay';
11394
11489
  DialogPortal.displayName = 'DialogPortal';
11395
11490
 
11491
+ var global$j = global$U;
11396
11492
  var isPrototypeOf$1 = objectIsPrototypeOf;
11397
11493
 
11398
- var $TypeError$4 = TypeError;
11494
+ var TypeError$8 = global$j.TypeError;
11399
11495
 
11400
11496
  var anInstance$3 = function (it, Prototype) {
11401
11497
  if (isPrototypeOf$1(Prototype, it)) return it;
11402
- throw $TypeError$4('Incorrect invocation');
11498
+ throw TypeError$8('Incorrect invocation');
11403
11499
  };
11404
11500
 
11405
11501
  var uncurryThis$c = functionUncurryThis;
@@ -11455,15 +11551,16 @@ var isConstructor$2 = !construct || fails$6(function () {
11455
11551
  || called;
11456
11552
  }) ? isConstructorLegacy : isConstructorModern;
11457
11553
 
11554
+ var global$i = global$U;
11458
11555
  var isConstructor$1 = isConstructor$2;
11459
- var tryToString$2 = tryToString$5;
11556
+ var tryToString$2 = tryToString$4;
11460
11557
 
11461
- var $TypeError$3 = TypeError;
11558
+ var TypeError$7 = global$i.TypeError;
11462
11559
 
11463
11560
  // `Assert: IsConstructor(argument) is true`
11464
11561
  var aConstructor$1 = function (argument) {
11465
11562
  if (isConstructor$1(argument)) return argument;
11466
- throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
11563
+ throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
11467
11564
  };
11468
11565
 
11469
11566
  var anObject$8 = anObject$i;
@@ -11509,10 +11606,12 @@ var uncurryThis$a = functionUncurryThis;
11509
11606
 
11510
11607
  var arraySlice$3 = uncurryThis$a([].slice);
11511
11608
 
11512
- var $TypeError$2 = TypeError;
11609
+ var global$h = global$U;
11610
+
11611
+ var TypeError$6 = global$h.TypeError;
11513
11612
 
11514
11613
  var validateArgumentsLength$3 = function (passed, required) {
11515
- if (passed < required) throw $TypeError$2('Not enough arguments');
11614
+ if (passed < required) throw TypeError$6('Not enough arguments');
11516
11615
  return passed;
11517
11616
  };
11518
11617
 
@@ -11520,7 +11619,7 @@ var userAgent$2 = engineUserAgent;
11520
11619
 
11521
11620
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
11522
11621
 
11523
- var global$a = global$s;
11622
+ var global$g = global$U;
11524
11623
  var apply$2 = functionApply;
11525
11624
  var bind$6 = functionBindContext;
11526
11625
  var isCallable$5 = isCallable$p;
@@ -11533,13 +11632,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
11533
11632
  var IS_IOS$1 = engineIsIos;
11534
11633
  var IS_NODE$2 = engineIsNode;
11535
11634
 
11536
- var set = global$a.setImmediate;
11537
- var clear = global$a.clearImmediate;
11538
- var process$2 = global$a.process;
11539
- var Dispatch = global$a.Dispatch;
11540
- var Function$1 = global$a.Function;
11541
- var MessageChannel = global$a.MessageChannel;
11542
- var String$1 = global$a.String;
11635
+ var set = global$g.setImmediate;
11636
+ var clear = global$g.clearImmediate;
11637
+ var process$2 = global$g.process;
11638
+ var Dispatch = global$g.Dispatch;
11639
+ var Function$1 = global$g.Function;
11640
+ var MessageChannel = global$g.MessageChannel;
11641
+ var String$2 = global$g.String;
11543
11642
  var counter = 0;
11544
11643
  var queue$1 = {};
11545
11644
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -11547,7 +11646,7 @@ var location, defer, channel, port;
11547
11646
 
11548
11647
  try {
11549
11648
  // Deno throws a ReferenceError on `location` access without `--location` flag
11550
- location = global$a.location;
11649
+ location = global$g.location;
11551
11650
  } catch (error) { /* empty */ }
11552
11651
 
11553
11652
  var run = function (id) {
@@ -11570,7 +11669,7 @@ var listener = function (event) {
11570
11669
 
11571
11670
  var post = function (id) {
11572
11671
  // old engines have not location.origin
11573
- global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
11672
+ global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
11574
11673
  };
11575
11674
 
11576
11675
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -11608,14 +11707,14 @@ if (!set || !clear) {
11608
11707
  // Browsers with postMessage, skip WebWorkers
11609
11708
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
11610
11709
  } else if (
11611
- global$a.addEventListener &&
11612
- isCallable$5(global$a.postMessage) &&
11613
- !global$a.importScripts &&
11710
+ global$g.addEventListener &&
11711
+ isCallable$5(global$g.postMessage) &&
11712
+ !global$g.importScripts &&
11614
11713
  location && location.protocol !== 'file:' &&
11615
11714
  !fails$5(post)
11616
11715
  ) {
11617
11716
  defer = post;
11618
- global$a.addEventListener('message', listener, false);
11717
+ global$g.addEventListener('message', listener, false);
11619
11718
  // IE8-
11620
11719
  } else if (ONREADYSTATECHANGE in createElement('script')) {
11621
11720
  defer = function (id) {
@@ -11638,15 +11737,15 @@ var task$1 = {
11638
11737
  };
11639
11738
 
11640
11739
  var userAgent$1 = engineUserAgent;
11641
- var global$9 = global$s;
11740
+ var global$f = global$U;
11642
11741
 
11643
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
11742
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
11644
11743
 
11645
11744
  var userAgent = engineUserAgent;
11646
11745
 
11647
11746
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
11648
11747
 
11649
- var global$8 = global$s;
11748
+ var global$e = global$U;
11650
11749
  var bind$5 = functionBindContext;
11651
11750
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
11652
11751
  var macrotask = task$1.set;
@@ -11655,12 +11754,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
11655
11754
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
11656
11755
  var IS_NODE$1 = engineIsNode;
11657
11756
 
11658
- var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
11659
- var document$2 = global$8.document;
11660
- var process$1 = global$8.process;
11661
- var Promise$1 = global$8.Promise;
11757
+ var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
11758
+ var document$2 = global$e.document;
11759
+ var process$1 = global$e.process;
11760
+ var Promise$1 = global$e.Promise;
11662
11761
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
11663
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
11762
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
11664
11763
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
11665
11764
 
11666
11765
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -11716,7 +11815,7 @@ if (!queueMicrotask) {
11716
11815
  // - setTimeout
11717
11816
  } else {
11718
11817
  // strange IE + webpack dev server bug - use .bind(global)
11719
- macrotask = bind$5(macrotask, global$8);
11818
+ macrotask = bind$5(macrotask, global$e);
11720
11819
  notify$1 = function () {
11721
11820
  macrotask(flush);
11722
11821
  };
@@ -11732,10 +11831,10 @@ var microtask$1 = queueMicrotask || function (fn) {
11732
11831
  } last = task;
11733
11832
  };
11734
11833
 
11735
- var global$7 = global$s;
11834
+ var global$d = global$U;
11736
11835
 
11737
11836
  var hostReportErrors$1 = function (a, b) {
11738
- var console = global$7.console;
11837
+ var console = global$d.console;
11739
11838
  if (console && console.error) {
11740
11839
  arguments.length == 1 ? console.error(a) : console.error(a, b);
11741
11840
  }
@@ -11773,13 +11872,13 @@ Queue$1.prototype = {
11773
11872
 
11774
11873
  var queue = Queue$1;
11775
11874
 
11776
- var global$6 = global$s;
11875
+ var global$c = global$U;
11777
11876
 
11778
- var promiseNativeConstructor = global$6.Promise;
11877
+ var promiseNativeConstructor = global$c.Promise;
11779
11878
 
11780
11879
  var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
11781
11880
 
11782
- var global$5 = global$s;
11881
+ var global$b = global$U;
11783
11882
  var NativePromiseConstructor$3 = promiseNativeConstructor;
11784
11883
  var isCallable$4 = isCallable$p;
11785
11884
  var isForced = isForced_1;
@@ -11791,7 +11890,7 @@ var V8_VERSION = engineV8Version;
11791
11890
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
11792
11891
  var SPECIES = wellKnownSymbol$6('species');
11793
11892
  var SUBCLASSING = false;
11794
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
11893
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
11795
11894
 
11796
11895
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
11797
11896
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -11846,7 +11945,7 @@ newPromiseCapability$2.f = function (C) {
11846
11945
 
11847
11946
  var $$9 = _export;
11848
11947
  var IS_NODE = engineIsNode;
11849
- var global$4 = global$s;
11948
+ var global$a = global$U;
11850
11949
  var call$a = functionCall;
11851
11950
  var defineBuiltIn$4 = defineBuiltIn$b;
11852
11951
  var setPrototypeOf = objectSetPrototypeOf;
@@ -11876,13 +11975,13 @@ var setInternalState$3 = InternalStateModule$3.set;
11876
11975
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
11877
11976
  var PromiseConstructor = NativePromiseConstructor$2;
11878
11977
  var PromisePrototype = NativePromisePrototype$1;
11879
- var TypeError$3 = global$4.TypeError;
11880
- var document$1 = global$4.document;
11881
- var process = global$4.process;
11978
+ var TypeError$5 = global$a.TypeError;
11979
+ var document$1 = global$a.document;
11980
+ var process = global$a.process;
11882
11981
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
11883
11982
  var newGenericPromiseCapability = newPromiseCapability$1;
11884
11983
 
11885
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
11984
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
11886
11985
  var UNHANDLED_REJECTION = 'unhandledrejection';
11887
11986
  var REJECTION_HANDLED = 'rejectionhandled';
11888
11987
  var PENDING = 0;
@@ -11923,7 +12022,7 @@ var callReaction = function (reaction, state) {
11923
12022
  }
11924
12023
  }
11925
12024
  if (result === reaction.promise) {
11926
- reject(TypeError$3('Promise-chain cycle'));
12025
+ reject(TypeError$5('Promise-chain cycle'));
11927
12026
  } else if (then = isThenable(result)) {
11928
12027
  call$a(then, result, resolve, reject);
11929
12028
  } else resolve(result);
@@ -11955,14 +12054,14 @@ var dispatchEvent = function (name, promise, reason) {
11955
12054
  event.promise = promise;
11956
12055
  event.reason = reason;
11957
12056
  event.initEvent(name, false, true);
11958
- global$4.dispatchEvent(event);
12057
+ global$a.dispatchEvent(event);
11959
12058
  } else event = { promise: promise, reason: reason };
11960
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
12059
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
11961
12060
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
11962
12061
  };
11963
12062
 
11964
12063
  var onUnhandled = function (state) {
11965
- call$a(task, global$4, function () {
12064
+ call$a(task, global$a, function () {
11966
12065
  var promise = state.facade;
11967
12066
  var value = state.value;
11968
12067
  var IS_UNHANDLED = isUnhandled(state);
@@ -11985,7 +12084,7 @@ var isUnhandled = function (state) {
11985
12084
  };
11986
12085
 
11987
12086
  var onHandleUnhandled = function (state) {
11988
- call$a(task, global$4, function () {
12087
+ call$a(task, global$a, function () {
11989
12088
  var promise = state.facade;
11990
12089
  if (IS_NODE) {
11991
12090
  process.emit('rejectionHandled', promise);
@@ -12013,7 +12112,7 @@ var internalResolve = function (state, value, unwrap) {
12013
12112
  state.done = true;
12014
12113
  if (unwrap) state = unwrap;
12015
12114
  try {
12016
- if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
12115
+ if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
12017
12116
  var then = isThenable(value);
12018
12117
  if (then) {
12019
12118
  microtask(function () {
@@ -12155,18 +12254,19 @@ var getIteratorMethod$4 = function (it) {
12155
12254
  || Iterators[classof$1(it)];
12156
12255
  };
12157
12256
 
12257
+ var global$9 = global$U;
12158
12258
  var call$9 = functionCall;
12159
12259
  var aCallable$2 = aCallable$9;
12160
12260
  var anObject$7 = anObject$i;
12161
- var tryToString$1 = tryToString$5;
12261
+ var tryToString$1 = tryToString$4;
12162
12262
  var getIteratorMethod$3 = getIteratorMethod$4;
12163
12263
 
12164
- var $TypeError$1 = TypeError;
12264
+ var TypeError$4 = global$9.TypeError;
12165
12265
 
12166
12266
  var getIterator$3 = function (argument, usingIterator) {
12167
12267
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
12168
12268
  if (aCallable$2(iteratorMethod)) return anObject$7(call$9(iteratorMethod, argument));
12169
- throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
12269
+ throw TypeError$4(tryToString$1(argument) + ' is not iterable');
12170
12270
  };
12171
12271
 
12172
12272
  var call$8 = functionCall;
@@ -12193,10 +12293,11 @@ var iteratorClose$2 = function (iterator, kind, value) {
12193
12293
  return value;
12194
12294
  };
12195
12295
 
12296
+ var global$8 = global$U;
12196
12297
  var bind$3 = functionBindContext;
12197
12298
  var call$7 = functionCall;
12198
12299
  var anObject$5 = anObject$i;
12199
- var tryToString = tryToString$5;
12300
+ var tryToString = tryToString$4;
12200
12301
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
12201
12302
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
12202
12303
  var isPrototypeOf = objectIsPrototypeOf;
@@ -12204,7 +12305,7 @@ var getIterator$2 = getIterator$3;
12204
12305
  var getIteratorMethod$2 = getIteratorMethod$4;
12205
12306
  var iteratorClose$1 = iteratorClose$2;
12206
12307
 
12207
- var $TypeError = TypeError;
12308
+ var TypeError$3 = global$8.TypeError;
12208
12309
 
12209
12310
  var Result = function (stopped, result) {
12210
12311
  this.stopped = stopped;
@@ -12237,7 +12338,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
12237
12338
  iterator = iterable;
12238
12339
  } else {
12239
12340
  iterFn = getIteratorMethod$2(iterable);
12240
- if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
12341
+ if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
12241
12342
  // optimisation for array iterators
12242
12343
  if (isArrayIteratorMethod$1(iterFn)) {
12243
12344
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -12662,7 +12763,7 @@ ModalDialog.defaultProps = {
12662
12763
  };
12663
12764
 
12664
12765
  const _excluded$5 = ["children"];
12665
- var _jsxFileName$l = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12766
+ var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
12666
12767
  const Context$1 = /*#__PURE__*/React__default.createContext();
12667
12768
  const {
12668
12769
  sizes
@@ -14335,7 +14436,7 @@ const MobileCalendarBox = ({
14335
14436
  return null;
14336
14437
  };
14337
14438
 
14338
- var _jsxFileName$k = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14439
+ var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
14339
14440
  const Input$2 = styled('input', {
14340
14441
  display: 'none'
14341
14442
  });
@@ -14349,9 +14450,6 @@ const Time = styled('p', {
14349
14450
  variants: {
14350
14451
  size: {
14351
14452
  sm: {
14352
- fontSize: 24
14353
- },
14354
- md: {
14355
14453
  fontSize: 28
14356
14454
  },
14357
14455
  lg: {
@@ -14369,10 +14467,6 @@ const Container$4 = styled(Flex$1, {
14369
14467
  variants: {
14370
14468
  size: {
14371
14469
  sm: {
14372
- width: 180,
14373
- height: 115
14374
- },
14375
- md: {
14376
14470
  width: 200,
14377
14471
  height: 130
14378
14472
  },
@@ -14439,7 +14533,7 @@ const IconStateFull$1 = props => {
14439
14533
  __self: undefined,
14440
14534
  __source: {
14441
14535
  fileName: _jsxFileName$k,
14442
- lineNumber: 107,
14536
+ lineNumber: 100,
14443
14537
  columnNumber: 5
14444
14538
  }
14445
14539
  })) : /*#__PURE__*/React__default.createElement(IconDown, _extends({}, props, {
@@ -14449,7 +14543,7 @@ const IconStateFull$1 = props => {
14449
14543
  __self: undefined,
14450
14544
  __source: {
14451
14545
  fileName: _jsxFileName$k,
14452
- lineNumber: 114,
14546
+ lineNumber: 107,
14453
14547
  columnNumber: 5
14454
14548
  }
14455
14549
  }));
@@ -14497,7 +14591,7 @@ const NativeTimePicker = ({
14497
14591
  __self: undefined,
14498
14592
  __source: {
14499
14593
  fileName: _jsxFileName$k,
14500
- lineNumber: 149,
14594
+ lineNumber: 142,
14501
14595
  columnNumber: 5
14502
14596
  }
14503
14597
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -14506,7 +14600,7 @@ const NativeTimePicker = ({
14506
14600
  __self: undefined,
14507
14601
  __source: {
14508
14602
  fileName: _jsxFileName$k,
14509
- lineNumber: 150,
14603
+ lineNumber: 143,
14510
14604
  columnNumber: 7
14511
14605
  }
14512
14606
  }, /*#__PURE__*/React__default.createElement(IconStateFull$1, {
@@ -14516,7 +14610,7 @@ const NativeTimePicker = ({
14516
14610
  __self: undefined,
14517
14611
  __source: {
14518
14612
  fileName: _jsxFileName$k,
14519
- lineNumber: 151,
14613
+ lineNumber: 144,
14520
14614
  columnNumber: 9
14521
14615
  }
14522
14616
  }), /*#__PURE__*/React__default.createElement(IconStateFull$1, {
@@ -14526,7 +14620,7 @@ const NativeTimePicker = ({
14526
14620
  __self: undefined,
14527
14621
  __source: {
14528
14622
  fileName: _jsxFileName$k,
14529
- lineNumber: 152,
14623
+ lineNumber: 145,
14530
14624
  columnNumber: 9
14531
14625
  }
14532
14626
  })), /*#__PURE__*/React__default.createElement(Input$2, {
@@ -14537,7 +14631,7 @@ const NativeTimePicker = ({
14537
14631
  __self: undefined,
14538
14632
  __source: {
14539
14633
  fileName: _jsxFileName$k,
14540
- lineNumber: 154,
14634
+ lineNumber: 147,
14541
14635
  columnNumber: 7
14542
14636
  }
14543
14637
  }), /*#__PURE__*/React__default.createElement(Time, {
@@ -14545,7 +14639,7 @@ const NativeTimePicker = ({
14545
14639
  __self: undefined,
14546
14640
  __source: {
14547
14641
  fileName: _jsxFileName$k,
14548
- lineNumber: 155,
14642
+ lineNumber: 148,
14549
14643
  columnNumber: 7
14550
14644
  }
14551
14645
  }, moment(date).format(format)), /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -14554,7 +14648,7 @@ const NativeTimePicker = ({
14554
14648
  __self: undefined,
14555
14649
  __source: {
14556
14650
  fileName: _jsxFileName$k,
14557
- lineNumber: 156,
14651
+ lineNumber: 149,
14558
14652
  columnNumber: 7
14559
14653
  }
14560
14654
  }, /*#__PURE__*/React__default.createElement(IconStateFull$1, {
@@ -14564,7 +14658,7 @@ const NativeTimePicker = ({
14564
14658
  __self: undefined,
14565
14659
  __source: {
14566
14660
  fileName: _jsxFileName$k,
14567
- lineNumber: 157,
14661
+ lineNumber: 150,
14568
14662
  columnNumber: 9
14569
14663
  }
14570
14664
  }), /*#__PURE__*/React__default.createElement(IconStateFull$1, {
@@ -14574,29 +14668,29 @@ const NativeTimePicker = ({
14574
14668
  __self: undefined,
14575
14669
  __source: {
14576
14670
  fileName: _jsxFileName$k,
14577
- lineNumber: 158,
14671
+ lineNumber: 151,
14578
14672
  columnNumber: 9
14579
14673
  }
14580
14674
  })));
14581
14675
  };
14582
14676
  NativeTimePicker.propTypes = {
14583
- /**
14584
- Resize time picker.
14677
+ /**
14678
+ Resize time picker.
14585
14679
  */
14586
- size: PropTypes.oneOf(['sm', 'md', 'lg']),
14680
+ size: PropTypes.oneOf(['sm', 'lg']),
14587
14681
 
14588
- /**
14589
- Change handler.
14682
+ /**
14683
+ Change handler.
14590
14684
  */
14591
14685
  onChange: PropTypes.func,
14592
14686
 
14593
- /**
14594
- Time picker default value, support moment format.
14687
+ /**
14688
+ Time picker default value, support moment format.
14595
14689
  */
14596
14690
  defaultValue: PropTypes.instanceOf(Date),
14597
14691
 
14598
- /**
14599
- Time picker value, support moment format.
14692
+ /**
14693
+ Time picker value, support moment format.
14600
14694
  */
14601
14695
  value: PropTypes.instanceOf(Date)
14602
14696
  };
@@ -14619,7 +14713,7 @@ const TimePicker = ({
14619
14713
  __self: undefined,
14620
14714
  __source: {
14621
14715
  fileName: _jsxFileName$k,
14622
- lineNumber: 185,
14716
+ lineNumber: 178,
14623
14717
  columnNumber: 5
14624
14718
  }
14625
14719
  }, /*#__PURE__*/React__default.createElement(NativeTimePicker, {
@@ -14631,42 +14725,46 @@ const TimePicker = ({
14631
14725
  __self: undefined,
14632
14726
  __source: {
14633
14727
  fileName: _jsxFileName$k,
14634
- lineNumber: 186,
14728
+ lineNumber: 179,
14635
14729
  columnNumber: 7
14636
14730
  }
14637
14731
  }));
14638
14732
  };
14639
14733
  TimePicker.displayName = 'TimePicker';
14640
14734
  TimePicker.propTypes = {
14641
- /**
14642
- Additional styles.
14735
+ /**
14736
+ Additional styles.
14643
14737
  */
14644
14738
  css: PropTypes.object,
14645
14739
 
14646
- /**
14647
- Resize time picker.
14740
+ /**
14741
+ Resize time picker.
14648
14742
  */
14649
- size: PropTypes.oneOf(['sm', 'md', 'lg']),
14743
+ size: PropTypes.oneOf(['sm', 'lg']),
14650
14744
 
14651
- /**
14652
- Change handler.
14745
+ /**
14746
+ Change handler.
14653
14747
  */
14654
14748
  onChange: PropTypes.func,
14655
14749
 
14656
- /**
14657
- Time picker default value, support moment format.
14750
+ /**
14751
+ Time picker default value, support moment format.
14658
14752
  */
14659
14753
  defaultValue: PropTypes.instanceOf(Date),
14660
14754
 
14661
- /**
14662
- Time picker value, support moment format.
14755
+ /**
14756
+ Time picker value, support moment format.
14663
14757
  */
14664
14758
  value: PropTypes.instanceOf(Date),
14759
+
14760
+ /**
14761
+ Disabled state.
14762
+ */
14665
14763
  disabled: PropTypes.bool
14666
14764
  };
14667
- NativeTimePicker.displayName = 'TimePicker';
14765
+ NativeTimePicker.displayName = 'NativeTimePicker';
14668
14766
 
14669
- var _jsxFileName$j = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14767
+ var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
14670
14768
 
14671
14769
  const getInputPickerValue$1 = date => {
14672
14770
  if (!date) return;
@@ -14693,7 +14791,7 @@ function InputTimePicker({
14693
14791
  }
14694
14792
 
14695
14793
  const renderInputGroup = () => /*#__PURE__*/React__default.createElement(InputGroup, {
14696
- size: "sm",
14794
+ size: size,
14697
14795
  disabled: disabled,
14698
14796
  onClick: handleChange,
14699
14797
  __self: this,
@@ -14833,39 +14931,43 @@ InputTimePicker.defaultProps = {
14833
14931
  placeholder: 'Select Time'
14834
14932
  };
14835
14933
  InputTimePicker.propTypes = {
14836
- /**
14837
- Additional styles.
14934
+ /**
14935
+ Additional styles.
14838
14936
  */
14839
14937
  css: PropTypes.object,
14938
+
14939
+ /**
14940
+ Disabled state.
14941
+ */
14840
14942
  disabled: PropTypes.bool,
14841
14943
 
14842
- /**
14843
- Resize time picker.
14944
+ /**
14945
+ Resize time picker.
14844
14946
  */
14845
- size: PropTypes.oneOf(['sm', 'md', 'lg']),
14947
+ size: PropTypes.oneOf(['sm', 'lg']),
14846
14948
 
14847
- /**
14848
- Custom placeholder input time picker.
14949
+ /**
14950
+ Custom placeholder input time picker.
14849
14951
  */
14850
14952
  placeholder: PropTypes.string,
14851
14953
 
14852
- /**
14853
- Time picker default value, support moment format.
14954
+ /**
14955
+ Time picker default value, support moment format.
14854
14956
  */
14855
14957
  defaultValue: PropTypes.instanceOf(Date),
14856
14958
 
14857
- /**
14858
- Time picker value, support moment format.
14959
+ /**
14960
+ Time picker value, support moment format.
14859
14961
  */
14860
14962
  value: PropTypes.instanceOf(Date),
14861
14963
 
14862
- /**
14863
- Change handler.
14964
+ /**
14965
+ Change handler.
14864
14966
  */
14865
14967
  onChange: PropTypes.func,
14866
14968
 
14867
- /**
14868
- Placement popover input time picker.
14969
+ /**
14970
+ Placement popover input time picker.
14869
14971
  */
14870
14972
  placement: PropTypes.string
14871
14973
  };
@@ -15320,7 +15422,7 @@ const removeUndefinedFields = obj => {
15320
15422
  };
15321
15423
 
15322
15424
  const _excluded$4 = ["isActive", "onClick"];
15323
- var _jsxFileName$i = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15425
+ var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
15324
15426
  const PrevNextButton = styled(Text$1, {
15325
15427
  padding: '$spacing-01',
15326
15428
  cursor: 'pointer',
@@ -15577,7 +15679,7 @@ const PaginationButton = ({
15577
15679
  };
15578
15680
 
15579
15681
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
15580
- var _jsxFileName$h = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15682
+ var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
15581
15683
  const LimitContainer = styled(Flex$1, {
15582
15684
  cursor: 'pointer'
15583
15685
  });
@@ -15714,7 +15816,7 @@ function PaginationInfo(_ref) {
15714
15816
  }
15715
15817
 
15716
15818
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
15717
- var _jsxFileName$g = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
15819
+ var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
15718
15820
 
15719
15821
  function Pagination(_ref) {
15720
15822
  let {
@@ -16565,7 +16667,7 @@ const TableColumn = _a => {
16565
16667
  return jsx("div", {}, void 0);
16566
16668
  };
16567
16669
 
16568
- var _jsxFileName$f = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16670
+ var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
16569
16671
 
16570
16672
  const DateColumn = ({
16571
16673
  value
@@ -16600,32 +16702,34 @@ var uncurryThis$9 = functionUncurryThis;
16600
16702
  // https://tc39.es/ecma262/#sec-thisnumbervalue
16601
16703
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
16602
16704
 
16705
+ var global$7 = global$U;
16603
16706
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
16604
- var toString$5 = toString$f;
16707
+ var toString$7 = toString$h;
16605
16708
  var requireObjectCoercible$3 = requireObjectCoercible$a;
16606
16709
 
16607
- var $RangeError$2 = RangeError;
16710
+ var RangeError$2 = global$7.RangeError;
16608
16711
 
16609
16712
  // `String.prototype.repeat` method implementation
16610
16713
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
16611
16714
  var stringRepeat = function repeat(count) {
16612
- var str = toString$5(requireObjectCoercible$3(this));
16715
+ var str = toString$7(requireObjectCoercible$3(this));
16613
16716
  var result = '';
16614
16717
  var n = toIntegerOrInfinity$3(count);
16615
- if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
16718
+ if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
16616
16719
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
16617
16720
  return result;
16618
16721
  };
16619
16722
 
16620
16723
  var $$3 = _export;
16724
+ var global$6 = global$U;
16621
16725
  var uncurryThis$8 = functionUncurryThis;
16622
16726
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
16623
16727
  var thisNumberValue = thisNumberValue$1;
16624
16728
  var $repeat = stringRepeat;
16625
16729
  var fails$4 = fails$s;
16626
16730
 
16627
- var $RangeError$1 = RangeError;
16628
- var $String = String;
16731
+ var RangeError$1 = global$6.RangeError;
16732
+ var String$1 = global$6.String;
16629
16733
  var floor$3 = Math.floor;
16630
16734
  var repeat = uncurryThis$8($repeat);
16631
16735
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -16673,7 +16777,7 @@ var dataToString = function (data) {
16673
16777
  var s = '';
16674
16778
  while (--index >= 0) {
16675
16779
  if (s !== '' || index === 0 || data[index] !== 0) {
16676
- var t = $String(data[index]);
16780
+ var t = String$1(data[index]);
16677
16781
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
16678
16782
  }
16679
16783
  } return s;
@@ -16701,10 +16805,10 @@ $$3({ target: 'Number', proto: true, forced: FORCED$1 }, {
16701
16805
  var e, z, j, k;
16702
16806
 
16703
16807
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
16704
- if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
16808
+ if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
16705
16809
  // eslint-disable-next-line no-self-compare -- NaN check
16706
16810
  if (number != number) return 'NaN';
16707
- if (number <= -1e21 || number >= 1e21) return $String(number);
16811
+ if (number <= -1e21 || number >= 1e21) return String$1(number);
16708
16812
  if (number < 0) {
16709
16813
  sign = '-';
16710
16814
  number = -number;
@@ -16748,16 +16852,16 @@ $$3({ target: 'Number', proto: true, forced: FORCED$1 }, {
16748
16852
  }
16749
16853
  });
16750
16854
 
16751
- var global$3 = global$s;
16855
+ var global$5 = global$U;
16752
16856
  var fails$3 = fails$s;
16753
16857
  var uncurryThis$7 = functionUncurryThis;
16754
- var toString$4 = toString$f;
16858
+ var toString$6 = toString$h;
16755
16859
  var trim = stringTrim.trim;
16756
16860
  var whitespaces = whitespaces$3;
16757
16861
 
16758
16862
  var charAt$6 = uncurryThis$7(''.charAt);
16759
- var n$ParseFloat = global$3.parseFloat;
16760
- var Symbol$5 = global$3.Symbol;
16863
+ var n$ParseFloat = global$5.parseFloat;
16864
+ var Symbol$5 = global$5.Symbol;
16761
16865
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
16762
16866
  var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity
16763
16867
  // MS Edge 18- broken with boxed symbols
@@ -16766,7 +16870,7 @@ var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity
16766
16870
  // `parseFloat` method
16767
16871
  // https://tc39.es/ecma262/#sec-parsefloat-string
16768
16872
  var numberParseFloat = FORCED ? function parseFloat(string) {
16769
- var trimmedString = trim(toString$4(string));
16873
+ var trimmedString = trim(toString$6(string));
16770
16874
  var result = n$ParseFloat(trimmedString);
16771
16875
  return result === 0 && charAt$6(trimmedString, 0) == '-' ? -0 : result;
16772
16876
  } : n$ParseFloat;
@@ -16782,7 +16886,7 @@ $$2({ global: true, forced: parseFloat != $parseFloat }, {
16782
16886
 
16783
16887
  var uncurryThis$6 = functionUncurryThis;
16784
16888
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
16785
- var toString$3 = toString$f;
16889
+ var toString$5 = toString$h;
16786
16890
  var requireObjectCoercible$2 = requireObjectCoercible$a;
16787
16891
 
16788
16892
  var charAt$5 = uncurryThis$6(''.charAt);
@@ -16791,7 +16895,7 @@ var stringSlice$5 = uncurryThis$6(''.slice);
16791
16895
 
16792
16896
  var createMethod = function (CONVERT_TO_STRING) {
16793
16897
  return function ($this, pos) {
16794
- var S = toString$3(requireObjectCoercible$2($this));
16898
+ var S = toString$5(requireObjectCoercible$2($this));
16795
16899
  var position = toIntegerOrInfinity$1(pos);
16796
16900
  var size = S.length;
16797
16901
  var first, second;
@@ -16835,7 +16939,7 @@ var requireObjectCoercible$1 = requireObjectCoercible$a;
16835
16939
  var speciesConstructor = speciesConstructor$2;
16836
16940
  var advanceStringIndex$1 = advanceStringIndex$2;
16837
16941
  var toLength$1 = toLength$4;
16838
- var toString$2 = toString$f;
16942
+ var toString$4 = toString$h;
16839
16943
  var getMethod$1 = getMethod$6;
16840
16944
  var arraySlice$1 = arraySliceSimple;
16841
16945
  var callRegExpExec = regexpExecAbstract;
@@ -16877,7 +16981,7 @@ fixRegExpWellKnownSymbolLogic$1('split', function (SPLIT, nativeSplit, maybeCall
16877
16981
  ) {
16878
16982
  // based on es5-shim implementation, need to rework it
16879
16983
  internalSplit = function (separator, limit) {
16880
- var string = toString$2(requireObjectCoercible$1(this));
16984
+ var string = toString$4(requireObjectCoercible$1(this));
16881
16985
  var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
16882
16986
  if (lim === 0) return [];
16883
16987
  if (separator === undefined) return [string];
@@ -16925,7 +17029,7 @@ fixRegExpWellKnownSymbolLogic$1('split', function (SPLIT, nativeSplit, maybeCall
16925
17029
  var splitter = separator == undefined ? undefined : getMethod$1(separator, SPLIT);
16926
17030
  return splitter
16927
17031
  ? call$3(splitter, separator, O, limit)
16928
- : call$3(internalSplit, toString$2(O), separator, limit);
17032
+ : call$3(internalSplit, toString$4(O), separator, limit);
16929
17033
  },
16930
17034
  // `RegExp.prototype[@@split]` method
16931
17035
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -16934,7 +17038,7 @@ fixRegExpWellKnownSymbolLogic$1('split', function (SPLIT, nativeSplit, maybeCall
16934
17038
  // the 'y' flag.
16935
17039
  function (string, limit) {
16936
17040
  var rx = anObject$3(this);
16937
- var S = toString$2(string);
17041
+ var S = toString$4(string);
16938
17042
  var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
16939
17043
 
16940
17044
  if (res.done) return res.value;
@@ -17035,7 +17139,7 @@ var anObject$2 = anObject$i;
17035
17139
  var isCallable$1 = isCallable$p;
17036
17140
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
17037
17141
  var toLength = toLength$4;
17038
- var toString$1 = toString$f;
17142
+ var toString$3 = toString$h;
17039
17143
  var requireObjectCoercible = requireObjectCoercible$a;
17040
17144
  var advanceStringIndex = advanceStringIndex$2;
17041
17145
  var getMethod = getMethod$6;
@@ -17093,13 +17197,13 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
17093
17197
  var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
17094
17198
  return replacer
17095
17199
  ? call$2(replacer, searchValue, O, replaceValue)
17096
- : call$2(nativeReplace, toString$1(O), searchValue, replaceValue);
17200
+ : call$2(nativeReplace, toString$3(O), searchValue, replaceValue);
17097
17201
  },
17098
17202
  // `RegExp.prototype[@@replace]` method
17099
17203
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
17100
17204
  function (string, replaceValue) {
17101
17205
  var rx = anObject$2(this);
17102
- var S = toString$1(string);
17206
+ var S = toString$3(string);
17103
17207
 
17104
17208
  if (
17105
17209
  typeof replaceValue == 'string' &&
@@ -17111,7 +17215,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
17111
17215
  }
17112
17216
 
17113
17217
  var functionalReplace = isCallable$1(replaceValue);
17114
- if (!functionalReplace) replaceValue = toString$1(replaceValue);
17218
+ if (!functionalReplace) replaceValue = toString$3(replaceValue);
17115
17219
 
17116
17220
  var global = rx.global;
17117
17221
  if (global) {
@@ -17126,7 +17230,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
17126
17230
  push$3(results, result);
17127
17231
  if (!global) break;
17128
17232
 
17129
- var matchStr = toString$1(result[0]);
17233
+ var matchStr = toString$3(result[0]);
17130
17234
  if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
17131
17235
  }
17132
17236
 
@@ -17135,7 +17239,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
17135
17239
  for (var i = 0; i < results.length; i++) {
17136
17240
  result = results[i];
17137
17241
 
17138
- var matched = toString$1(result[0]);
17242
+ var matched = toString$3(result[0]);
17139
17243
  var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
17140
17244
  var captures = [];
17141
17245
  // NOTE: This is equivalent to
@@ -17148,7 +17252,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
17148
17252
  if (functionalReplace) {
17149
17253
  var replacerArgs = concat([matched], captures, position, S);
17150
17254
  if (namedCaptures !== undefined) push$3(replacerArgs, namedCaptures);
17151
- var replacement = toString$1(apply(replaceValue, undefined, replacerArgs));
17255
+ var replacement = toString$3(apply(replaceValue, undefined, replacerArgs));
17152
17256
  } else {
17153
17257
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
17154
17258
  }
@@ -17246,7 +17350,7 @@ const PriceColumn = props => {
17246
17350
  return addThousandSeparator(param);
17247
17351
  };
17248
17352
 
17249
- var _jsxFileName$e = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17353
+ var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
17250
17354
  const rowExpanderColumn = {
17251
17355
  id: 'expander',
17252
17356
  Header: () => null,
@@ -17288,7 +17392,7 @@ const rowExpanderColumn = {
17288
17392
  unsortable: true
17289
17393
  };
17290
17394
 
17291
- var _jsxFileName$d = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17395
+ var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
17292
17396
 
17293
17397
  const rowMenuColumn = (options, icon, config) => ({
17294
17398
  id: 'menu',
@@ -17529,7 +17633,7 @@ const rowMenuColumn = (options, icon, config) => ({
17529
17633
  unsortable: true
17530
17634
  });
17531
17635
 
17532
- var _jsxFileName$c = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17636
+ var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
17533
17637
  const rowSelectionColumn = {
17534
17638
  id: 'selection',
17535
17639
  Header: ({
@@ -17791,7 +17895,7 @@ PageDialog.defaultProps = {
17791
17895
  };
17792
17896
 
17793
17897
  const _excluded$1 = ["children"];
17794
- var _jsxFileName$b = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
17898
+ var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
17795
17899
  const overlayShow = keyframes({
17796
17900
  '0%': {
17797
17901
  opacity: 0
@@ -17870,7 +17974,7 @@ function Content$1(_ref) {
17870
17974
  __self: this,
17871
17975
  __source: {
17872
17976
  fileName: _jsxFileName$b,
17873
- lineNumber: 74,
17977
+ lineNumber: 75,
17874
17978
  columnNumber: 5
17875
17979
  }
17876
17980
  }, /*#__PURE__*/React__default.createElement(StyledOverlay, {
@@ -17880,14 +17984,14 @@ function Content$1(_ref) {
17880
17984
  __self: this,
17881
17985
  __source: {
17882
17986
  fileName: _jsxFileName$b,
17883
- lineNumber: 75,
17987
+ lineNumber: 76,
17884
17988
  columnNumber: 7
17885
17989
  }
17886
17990
  }), /*#__PURE__*/React__default.createElement(StyledContent$1, _extends({}, props, {
17887
17991
  __self: this,
17888
17992
  __source: {
17889
17993
  fileName: _jsxFileName$b,
17890
- lineNumber: 76,
17994
+ lineNumber: 77,
17891
17995
  columnNumber: 7
17892
17996
  }
17893
17997
  }), children));
@@ -17901,14 +18005,14 @@ function AlertDialogFunction(properties) {
17901
18005
  __self: this,
17902
18006
  __source: {
17903
18007
  fileName: _jsxFileName$b,
17904
- lineNumber: 85,
18008
+ lineNumber: 86,
17905
18009
  columnNumber: 7
17906
18010
  }
17907
18011
  }, /*#__PURE__*/React__default.createElement(TemplateAlertFunction, _extends({}, props, {
17908
18012
  __self: this,
17909
18013
  __source: {
17910
18014
  fileName: _jsxFileName$b,
17911
- lineNumber: 86,
18015
+ lineNumber: 87,
17912
18016
  columnNumber: 9
17913
18017
  }
17914
18018
  }))), document.getElementById('a-dialog'));
@@ -17952,7 +18056,7 @@ const TemplateAlertFunction = props => {
17952
18056
  __self: undefined,
17953
18057
  __source: {
17954
18058
  fileName: _jsxFileName$b,
17955
- lineNumber: 127,
18059
+ lineNumber: 128,
17956
18060
  columnNumber: 5
17957
18061
  }
17958
18062
  }), /*#__PURE__*/React__default.createElement(Content$1, _extends({}, props, {
@@ -17963,14 +18067,14 @@ const TemplateAlertFunction = props => {
17963
18067
  __self: undefined,
17964
18068
  __source: {
17965
18069
  fileName: _jsxFileName$b,
17966
- lineNumber: 128,
18070
+ lineNumber: 129,
17967
18071
  columnNumber: 7
17968
18072
  }
17969
18073
  }), /*#__PURE__*/React__default.createElement(StyledTitle, {
17970
18074
  __self: undefined,
17971
18075
  __source: {
17972
18076
  fileName: _jsxFileName$b,
17973
- lineNumber: 129,
18077
+ lineNumber: 130,
17974
18078
  columnNumber: 9
17975
18079
  }
17976
18080
  }, /*#__PURE__*/React__default.createElement(Heading, {
@@ -17978,7 +18082,7 @@ const TemplateAlertFunction = props => {
17978
18082
  __self: undefined,
17979
18083
  __source: {
17980
18084
  fileName: _jsxFileName$b,
17981
- lineNumber: 130,
18085
+ lineNumber: 131,
17982
18086
  columnNumber: 11
17983
18087
  }
17984
18088
  }, props.title), /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
@@ -17986,7 +18090,7 @@ const TemplateAlertFunction = props => {
17986
18090
  __self: undefined,
17987
18091
  __source: {
17988
18092
  fileName: _jsxFileName$b,
17989
- lineNumber: 131,
18093
+ lineNumber: 132,
17990
18094
  columnNumber: 11
17991
18095
  }
17992
18096
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -17997,7 +18101,7 @@ const TemplateAlertFunction = props => {
17997
18101
  __self: undefined,
17998
18102
  __source: {
17999
18103
  fileName: _jsxFileName$b,
18000
- lineNumber: 132,
18104
+ lineNumber: 133,
18001
18105
  columnNumber: 13
18002
18106
  }
18003
18107
  }, /*#__PURE__*/React__default.createElement(CloseOutline, {
@@ -18005,7 +18109,7 @@ const TemplateAlertFunction = props => {
18005
18109
  __self: undefined,
18006
18110
  __source: {
18007
18111
  fileName: _jsxFileName$b,
18008
- lineNumber: 133,
18112
+ lineNumber: 134,
18009
18113
  columnNumber: 15
18010
18114
  }
18011
18115
  })))), /*#__PURE__*/React__default.createElement(Separator$2, {
@@ -18013,14 +18117,14 @@ const TemplateAlertFunction = props => {
18013
18117
  __self: undefined,
18014
18118
  __source: {
18015
18119
  fileName: _jsxFileName$b,
18016
- lineNumber: 137,
18120
+ lineNumber: 138,
18017
18121
  columnNumber: 9
18018
18122
  }
18019
18123
  }), /*#__PURE__*/React__default.createElement(StyledDescription, {
18020
18124
  __self: undefined,
18021
18125
  __source: {
18022
18126
  fileName: _jsxFileName$b,
18023
- lineNumber: 138,
18127
+ lineNumber: 139,
18024
18128
  columnNumber: 9
18025
18129
  }
18026
18130
  }, /*#__PURE__*/React__default.createElement(Paragraph, {
@@ -18030,7 +18134,7 @@ const TemplateAlertFunction = props => {
18030
18134
  __self: undefined,
18031
18135
  __source: {
18032
18136
  fileName: _jsxFileName$b,
18033
- lineNumber: 139,
18137
+ lineNumber: 140,
18034
18138
  columnNumber: 11
18035
18139
  }
18036
18140
  }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
@@ -18042,7 +18146,7 @@ const TemplateAlertFunction = props => {
18042
18146
  __self: undefined,
18043
18147
  __source: {
18044
18148
  fileName: _jsxFileName$b,
18045
- lineNumber: 141,
18149
+ lineNumber: 142,
18046
18150
  columnNumber: 9
18047
18151
  }
18048
18152
  }, /*#__PURE__*/React__default.createElement(Separator$2, {
@@ -18050,7 +18154,7 @@ const TemplateAlertFunction = props => {
18050
18154
  __self: undefined,
18051
18155
  __source: {
18052
18156
  fileName: _jsxFileName$b,
18053
- lineNumber: 142,
18157
+ lineNumber: 143,
18054
18158
  columnNumber: 11
18055
18159
  }
18056
18160
  }), /*#__PURE__*/React__default.createElement(Flex, {
@@ -18064,7 +18168,7 @@ const TemplateAlertFunction = props => {
18064
18168
  __self: undefined,
18065
18169
  __source: {
18066
18170
  fileName: _jsxFileName$b,
18067
- lineNumber: 143,
18171
+ lineNumber: 144,
18068
18172
  columnNumber: 11
18069
18173
  }
18070
18174
  }, props.singleButton ? /*#__PURE__*/React__default.createElement(ADialog.Action, {
@@ -18072,28 +18176,30 @@ const TemplateAlertFunction = props => {
18072
18176
  __self: undefined,
18073
18177
  __source: {
18074
18178
  fileName: _jsxFileName$b,
18075
- lineNumber: 145,
18179
+ lineNumber: 146,
18076
18180
  columnNumber: 15
18077
18181
  }
18078
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18182
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18079
18183
  size: "sm",
18080
18184
  onClick: buttonConfirm,
18081
18185
  buttonType: props.dialogType,
18186
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18187
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
18082
18188
  __self: undefined,
18083
18189
  __source: {
18084
18190
  fileName: _jsxFileName$b,
18085
- lineNumber: 146,
18191
+ lineNumber: 147,
18086
18192
  columnNumber: 17
18087
18193
  }
18088
- }, props.labelConfirm ? props.labelConfirm : 'Confirm')) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
18194
+ }), props.labelConfirm ? props.labelConfirm : 'Confirm')) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
18089
18195
  asChild: true,
18090
18196
  __self: undefined,
18091
18197
  __source: {
18092
18198
  fileName: _jsxFileName$b,
18093
- lineNumber: 152,
18199
+ lineNumber: 159,
18094
18200
  columnNumber: 17
18095
18201
  }
18096
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18202
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18097
18203
  size: "sm",
18098
18204
  onClick: buttonCancel,
18099
18205
  css: {
@@ -18101,34 +18207,38 @@ const TemplateAlertFunction = props => {
18101
18207
  flex: props.isMobile && 1
18102
18208
  },
18103
18209
  buttonType: "ghost",
18210
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18211
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
18104
18212
  __self: undefined,
18105
18213
  __source: {
18106
18214
  fileName: _jsxFileName$b,
18107
- lineNumber: 153,
18215
+ lineNumber: 160,
18108
18216
  columnNumber: 19
18109
18217
  }
18110
- }, props.labelCancel ? props.labelCancel : 'Cancel')), /*#__PURE__*/React__default.createElement(ADialog.Action, {
18218
+ }), props.labelCancel ? props.labelCancel : 'Cancel')), /*#__PURE__*/React__default.createElement(ADialog.Action, {
18111
18219
  asChild: true,
18112
18220
  __self: undefined,
18113
18221
  __source: {
18114
18222
  fileName: _jsxFileName$b,
18115
- lineNumber: 162,
18223
+ lineNumber: 171,
18116
18224
  columnNumber: 17
18117
18225
  }
18118
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18226
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18119
18227
  size: "sm",
18120
18228
  onClick: buttonConfirm,
18121
18229
  buttonType: props.dialogType,
18122
18230
  css: {
18123
18231
  flex: props.isMobile && 1
18124
18232
  },
18233
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18234
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
18125
18235
  __self: undefined,
18126
18236
  __source: {
18127
18237
  fileName: _jsxFileName$b,
18128
- lineNumber: 163,
18238
+ lineNumber: 172,
18129
18239
  columnNumber: 19
18130
18240
  }
18131
- }, props.labelConfirm ? props.labelConfirm : 'Confirm')))))));
18241
+ }), props.labelConfirm ? props.labelConfirm : 'Confirm')))))));
18132
18242
  };
18133
18243
 
18134
18244
  function AlertDialog(props) {
@@ -18150,7 +18260,7 @@ function AlertDialog(props) {
18150
18260
  __self: this,
18151
18261
  __source: {
18152
18262
  fileName: _jsxFileName$b,
18153
- lineNumber: 192,
18263
+ lineNumber: 203,
18154
18264
  columnNumber: 5
18155
18265
  }
18156
18266
  }, /*#__PURE__*/React__default.createElement(Content$1, _extends({}, props, {
@@ -18161,14 +18271,14 @@ function AlertDialog(props) {
18161
18271
  __self: this,
18162
18272
  __source: {
18163
18273
  fileName: _jsxFileName$b,
18164
- lineNumber: 193,
18274
+ lineNumber: 204,
18165
18275
  columnNumber: 7
18166
18276
  }
18167
18277
  }), /*#__PURE__*/React__default.createElement(StyledTitle, {
18168
18278
  __self: this,
18169
18279
  __source: {
18170
18280
  fileName: _jsxFileName$b,
18171
- lineNumber: 194,
18281
+ lineNumber: 205,
18172
18282
  columnNumber: 9
18173
18283
  }
18174
18284
  }, /*#__PURE__*/React__default.createElement(Heading, {
@@ -18176,7 +18286,7 @@ function AlertDialog(props) {
18176
18286
  __self: this,
18177
18287
  __source: {
18178
18288
  fileName: _jsxFileName$b,
18179
- lineNumber: 195,
18289
+ lineNumber: 206,
18180
18290
  columnNumber: 11
18181
18291
  }
18182
18292
  }, props.title), /*#__PURE__*/React__default.createElement(AlertDialogCancel, {
@@ -18184,7 +18294,7 @@ function AlertDialog(props) {
18184
18294
  __self: this,
18185
18295
  __source: {
18186
18296
  fileName: _jsxFileName$b,
18187
- lineNumber: 196,
18297
+ lineNumber: 207,
18188
18298
  columnNumber: 11
18189
18299
  }
18190
18300
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -18195,7 +18305,7 @@ function AlertDialog(props) {
18195
18305
  __self: this,
18196
18306
  __source: {
18197
18307
  fileName: _jsxFileName$b,
18198
- lineNumber: 197,
18308
+ lineNumber: 208,
18199
18309
  columnNumber: 13
18200
18310
  }
18201
18311
  }, /*#__PURE__*/React__default.createElement(CloseOutline, {
@@ -18203,7 +18313,7 @@ function AlertDialog(props) {
18203
18313
  __self: this,
18204
18314
  __source: {
18205
18315
  fileName: _jsxFileName$b,
18206
- lineNumber: 198,
18316
+ lineNumber: 209,
18207
18317
  columnNumber: 15
18208
18318
  }
18209
18319
  })))), /*#__PURE__*/React__default.createElement(Separator$2, {
@@ -18211,14 +18321,14 @@ function AlertDialog(props) {
18211
18321
  __self: this,
18212
18322
  __source: {
18213
18323
  fileName: _jsxFileName$b,
18214
- lineNumber: 202,
18324
+ lineNumber: 213,
18215
18325
  columnNumber: 9
18216
18326
  }
18217
18327
  }), /*#__PURE__*/React__default.createElement(StyledDescription, {
18218
18328
  __self: this,
18219
18329
  __source: {
18220
18330
  fileName: _jsxFileName$b,
18221
- lineNumber: 203,
18331
+ lineNumber: 214,
18222
18332
  columnNumber: 9
18223
18333
  }
18224
18334
  }, /*#__PURE__*/React__default.createElement(Paragraph, {
@@ -18228,7 +18338,7 @@ function AlertDialog(props) {
18228
18338
  __self: this,
18229
18339
  __source: {
18230
18340
  fileName: _jsxFileName$b,
18231
- lineNumber: 204,
18341
+ lineNumber: 215,
18232
18342
  columnNumber: 11
18233
18343
  }
18234
18344
  }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
@@ -18240,7 +18350,7 @@ function AlertDialog(props) {
18240
18350
  __self: this,
18241
18351
  __source: {
18242
18352
  fileName: _jsxFileName$b,
18243
- lineNumber: 206,
18353
+ lineNumber: 217,
18244
18354
  columnNumber: 9
18245
18355
  }
18246
18356
  }, /*#__PURE__*/React__default.createElement(Separator$2, {
@@ -18248,7 +18358,7 @@ function AlertDialog(props) {
18248
18358
  __self: this,
18249
18359
  __source: {
18250
18360
  fileName: _jsxFileName$b,
18251
- lineNumber: 207,
18361
+ lineNumber: 218,
18252
18362
  columnNumber: 11
18253
18363
  }
18254
18364
  }), /*#__PURE__*/React__default.createElement(Flex, {
@@ -18262,7 +18372,7 @@ function AlertDialog(props) {
18262
18372
  __self: this,
18263
18373
  __source: {
18264
18374
  fileName: _jsxFileName$b,
18265
- lineNumber: 208,
18375
+ lineNumber: 219,
18266
18376
  columnNumber: 11
18267
18377
  }
18268
18378
  }, props.singleButton ? /*#__PURE__*/React__default.createElement(ADialog.Action, {
@@ -18270,31 +18380,33 @@ function AlertDialog(props) {
18270
18380
  __self: this,
18271
18381
  __source: {
18272
18382
  fileName: _jsxFileName$b,
18273
- lineNumber: 210,
18383
+ lineNumber: 221,
18274
18384
  columnNumber: 15
18275
18385
  }
18276
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18386
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18277
18387
  size: "sm",
18278
18388
  onClick: props.onConfirm,
18279
18389
  buttonType: props.dialogType,
18280
18390
  css: {
18281
18391
  flex: props.isMobile && 1
18282
18392
  },
18393
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18394
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
18283
18395
  __self: this,
18284
18396
  __source: {
18285
18397
  fileName: _jsxFileName$b,
18286
- lineNumber: 211,
18398
+ lineNumber: 222,
18287
18399
  columnNumber: 17
18288
18400
  }
18289
- }, props.labelConfirm ? props.labelConfirm : 'Confirm')) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
18401
+ }), props.labelConfirm ? props.labelConfirm : 'Confirm')) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
18290
18402
  asChild: true,
18291
18403
  __self: this,
18292
18404
  __source: {
18293
18405
  fileName: _jsxFileName$b,
18294
- lineNumber: 222,
18406
+ lineNumber: 235,
18295
18407
  columnNumber: 17
18296
18408
  }
18297
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18409
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18298
18410
  size: "sm",
18299
18411
  onClick: props.onCancel,
18300
18412
  css: {
@@ -18302,58 +18414,70 @@ function AlertDialog(props) {
18302
18414
  flex: props.isMobile && 1
18303
18415
  },
18304
18416
  buttonType: "ghost",
18417
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18418
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
18305
18419
  __self: this,
18306
18420
  __source: {
18307
18421
  fileName: _jsxFileName$b,
18308
- lineNumber: 223,
18422
+ lineNumber: 236,
18309
18423
  columnNumber: 19
18310
18424
  }
18311
- }, props.labelCancel ? props.labelCancel : 'Cancel')), /*#__PURE__*/React__default.createElement(ADialog.Action, {
18425
+ }), props.labelCancel ? props.labelCancel : 'Cancel')), /*#__PURE__*/React__default.createElement(ADialog.Action, {
18312
18426
  asChild: true,
18313
18427
  __self: this,
18314
18428
  __source: {
18315
18429
  fileName: _jsxFileName$b,
18316
- lineNumber: 232,
18430
+ lineNumber: 247,
18317
18431
  columnNumber: 17
18318
18432
  }
18319
- }, /*#__PURE__*/React__default.createElement(Button$2, {
18433
+ }, /*#__PURE__*/React__default.createElement(Button$2, _extends({
18320
18434
  size: "sm",
18321
18435
  onClick: props.onConfirm,
18322
18436
  buttonType: props.dialogType,
18323
18437
  css: {
18324
18438
  flex: props.isMobile && 1
18325
18439
  },
18440
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
18441
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
18326
18442
  __self: this,
18327
18443
  __source: {
18328
18444
  fileName: _jsxFileName$b,
18329
- lineNumber: 233,
18445
+ lineNumber: 248,
18330
18446
  columnNumber: 19
18331
18447
  }
18332
- }, props.labelConfirm ? props.labelConfirm : 'Confirm')))))));
18448
+ }), props.labelConfirm ? props.labelConfirm : 'Confirm')))))));
18333
18449
  }
18334
18450
  TemplateAlertFunction.propTypes = {
18335
- title: string.isRequired,
18336
- description: string.isRequired,
18337
- dialogType: string,
18338
- onCancel: func,
18339
- onConfirm: func
18451
+ title: PropTypes.string.isRequired,
18452
+ description: PropTypes.string.isRequired,
18453
+ dialogType: PropTypes.string,
18454
+ onCancel: PropTypes.func,
18455
+ onConfirm: PropTypes.func,
18456
+ disabledButton: PropTypes.bool,
18457
+ actionButtonProps: PropTypes.object,
18458
+ cancelButtonProps: PropTypes.object
18340
18459
  };
18341
18460
  TemplateAlertFunction.defaultProps = {
18342
18461
  dialogType: 'primary',
18343
18462
  onCancel: () => {},
18344
- onConfirm: () => {}
18463
+ onConfirm: () => {},
18464
+ disabledButton: false
18345
18465
  };
18346
18466
  AlertDialog.propTypes = {
18347
- title: string.isRequired,
18348
- description: string.isRequired,
18349
- dialogType: string,
18350
- onCancel: func,
18351
- onConfirm: func
18467
+ title: PropTypes.string.isRequired,
18468
+ description: PropTypes.string.isRequired,
18469
+ dialogType: PropTypes.string,
18470
+ onCancel: PropTypes.func,
18471
+ onConfirm: PropTypes.func,
18472
+ disabledButton: PropTypes.bool,
18473
+ actionButtonProps: PropTypes.object,
18474
+ cancelButtonProps: PropTypes.object
18352
18475
  };
18353
18476
  AlertDialog.defaultProps = {
18354
18477
  dialogType: 'primary',
18355
18478
  onCancel: () => {},
18356
- onConfirm: () => {}
18479
+ onConfirm: () => {},
18480
+ disabledButton: false
18357
18481
  };
18358
18482
  const AlertDialogRoot = ADialog.Root;
18359
18483
  const AlertDialogTrigger = ADialog.Trigger;
@@ -18364,7 +18488,7 @@ const AlertDialogCancel = ADialog.Cancel;
18364
18488
  const AlertDialogConfirm = ADialog.Action;
18365
18489
 
18366
18490
  const _excluded = ["side", "align", "children"];
18367
- var _jsxFileName$a = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18491
+ var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
18368
18492
  const Context = /*#__PURE__*/React__default.createContext();
18369
18493
  const slideUpAndFade = keyframes({
18370
18494
  '0%': {
@@ -18613,7 +18737,7 @@ DropdownMenuSeparator.displayName = 'DropdownMenuSeparator';
18613
18737
  DropdownMenuArrow.displayName = 'DropdownMenuArrow';
18614
18738
 
18615
18739
  var charAt$2 = stringMultibyte.charAt;
18616
- var toString = toString$f;
18740
+ var toString$2 = toString$h;
18617
18741
  var InternalStateModule$2 = internalState;
18618
18742
  var defineIterator = defineIterator$2;
18619
18743
 
@@ -18626,7 +18750,7 @@ var getInternalState = InternalStateModule$2.getterFor(STRING_ITERATOR);
18626
18750
  defineIterator(String, 'String', function (iterated) {
18627
18751
  setInternalState$2(this, {
18628
18752
  type: STRING_ITERATOR,
18629
- string: toString(iterated),
18753
+ string: toString$2(iterated),
18630
18754
  index: 0
18631
18755
  });
18632
18756
  // `%StringIteratorPrototype%.next` method
@@ -18698,6 +18822,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
18698
18822
  }
18699
18823
  };
18700
18824
 
18825
+ var global$4 = global$U;
18701
18826
  var bind$2 = functionBindContext;
18702
18827
  var call$1 = functionCall;
18703
18828
  var toObject = toObject$7;
@@ -18709,7 +18834,7 @@ var createProperty = createProperty$2;
18709
18834
  var getIterator$1 = getIterator$3;
18710
18835
  var getIteratorMethod$1 = getIteratorMethod$4;
18711
18836
 
18712
- var $Array = Array;
18837
+ var Array$1 = global$4.Array;
18713
18838
 
18714
18839
  // `Array.from` method implementation
18715
18840
  // https://tc39.es/ecma262/#sec-array.from
@@ -18724,7 +18849,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18724
18849
  var index = 0;
18725
18850
  var length, result, step, iterator, next, value;
18726
18851
  // if the target is not iterable or it's an array with the default iterator - use a simple case
18727
- if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
18852
+ if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
18728
18853
  iterator = getIterator$1(O, iteratorMethod);
18729
18854
  next = iterator.next;
18730
18855
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -18734,7 +18859,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18734
18859
  }
18735
18860
  } else {
18736
18861
  length = lengthOfArrayLike(O);
18737
- result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
18862
+ result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
18738
18863
  for (;length > index; index++) {
18739
18864
  value = mapping ? mapfn(O[index], index) : O[index];
18740
18865
  createProperty(result, index, value);
@@ -18745,6 +18870,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
18745
18870
  };
18746
18871
 
18747
18872
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
18873
+ var global$3 = global$U;
18748
18874
  var uncurryThis$2 = functionUncurryThis;
18749
18875
 
18750
18876
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -18761,7 +18887,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
18761
18887
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
18762
18888
  var baseMinusTMin = base - tMin;
18763
18889
 
18764
- var $RangeError = RangeError;
18890
+ var RangeError = global$3.RangeError;
18765
18891
  var exec$1 = uncurryThis$2(regexSeparators.exec);
18766
18892
  var floor$1 = Math.floor;
18767
18893
  var fromCharCode = String.fromCharCode;
@@ -18876,7 +19002,7 @@ var encode = function (input) {
18876
19002
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
18877
19003
  var handledCPCountPlusOne = handledCPCount + 1;
18878
19004
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
18879
- throw $RangeError(OVERFLOW_ERROR);
19005
+ throw RangeError(OVERFLOW_ERROR);
18880
19006
  }
18881
19007
 
18882
19008
  delta += (m - n) * handledCPCountPlusOne;
@@ -18885,7 +19011,7 @@ var encode = function (input) {
18885
19011
  for (i = 0; i < input.length; i++) {
18886
19012
  currentValue = input[i];
18887
19013
  if (currentValue < n && ++delta > maxInt) {
18888
- throw $RangeError(OVERFLOW_ERROR);
19014
+ throw RangeError(OVERFLOW_ERROR);
18889
19015
  }
18890
19016
  if (currentValue == n) {
18891
19017
  // Represent delta as a generalized variable-length integer.
@@ -18935,7 +19061,7 @@ var defineBuiltIns$1 = function (target, src, options) {
18935
19061
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
18936
19062
 
18937
19063
  var $$1 = _export;
18938
- var global$2 = global$s;
19064
+ var global$2 = global$U;
18939
19065
  var call = functionCall;
18940
19066
  var uncurryThis$1 = functionUncurryThis;
18941
19067
  var DESCRIPTORS$1 = descriptors;
@@ -18952,7 +19078,7 @@ var bind$1 = functionBindContext;
18952
19078
  var classof = classof$7;
18953
19079
  var anObject = anObject$i;
18954
19080
  var isObject$3 = isObject$d;
18955
- var $toString$1 = toString$f;
19081
+ var $toString$1 = toString$h;
18956
19082
  var create = objectCreate;
18957
19083
  var createPropertyDescriptor = createPropertyDescriptor$5;
18958
19084
  var getIterator = getIterator$3;
@@ -19297,7 +19423,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
19297
19423
  };
19298
19424
 
19299
19425
  if (isCallable(nativeFetch)) {
19300
- $$1({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
19426
+ $$1({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
19301
19427
  fetch: function fetch(input /* , init */) {
19302
19428
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
19303
19429
  }
@@ -19313,7 +19439,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
19313
19439
  RequestPrototype.constructor = RequestConstructor;
19314
19440
  RequestConstructor.prototype = RequestPrototype;
19315
19441
 
19316
- $$1({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
19442
+ $$1({ global: true, constructor: true, noTargetGet: true, forced: true }, {
19317
19443
  Request: RequestConstructor
19318
19444
  });
19319
19445
  }
@@ -19329,7 +19455,7 @@ var web_urlSearchParams_constructor = {
19329
19455
  var $ = _export;
19330
19456
  var DESCRIPTORS = descriptors;
19331
19457
  var USE_NATIVE_URL = nativeUrl;
19332
- var global$1 = global$s;
19458
+ var global$1 = global$U;
19333
19459
  var bind = functionBindContext;
19334
19460
  var uncurryThis = functionUncurryThis;
19335
19461
  var defineBuiltIn = defineBuiltIn$b;
@@ -19341,7 +19467,7 @@ var arrayFrom = arrayFrom$1;
19341
19467
  var arraySlice = arraySliceSimple;
19342
19468
  var codeAt = stringMultibyte.codeAt;
19343
19469
  var toASCII = stringPunycodeToAscii;
19344
- var $toString = toString$f;
19470
+ var $toString = toString$h;
19345
19471
  var setToStringTag = setToStringTag$5;
19346
19472
  var validateArgumentsLength = validateArgumentsLength$3;
19347
19473
  var URLSearchParamsModule = web_urlSearchParams_constructor;
@@ -20420,18 +20546,27 @@ function upload({
20420
20546
  token,
20421
20547
  progress,
20422
20548
  reqKey,
20423
- resKey
20549
+ resKey,
20550
+ onError,
20551
+ onSuccess,
20552
+ onProgress
20424
20553
  }) {
20425
20554
  const promise = new Promise((resolve, reject) => {
20426
20555
  const formdata = new FormData();
20427
20556
  formdata.append(reqKey, file);
20428
- request.post(url).set(tokenKey, token).send(formdata).on('progress', e => progress && progress(Math.round(e.percent))).end((err, res) => {
20557
+ request.post(url).set(tokenKey, token).send(formdata).on('progress', e => {
20558
+ onProgress === null || onProgress === void 0 ? void 0 : onProgress(e);
20559
+ progress === null || progress === void 0 ? void 0 : progress(Math.round(e.percent));
20560
+ }).end((err, res) => {
20429
20561
  if (err) {
20562
+ const error = new Error(err.message);
20563
+ onError === null || onError === void 0 ? void 0 : onError(error, (res === null || res === void 0 ? void 0 : res.text) && JSON.parse(res.text));
20430
20564
  reject(err.message);
20431
20565
  }
20432
20566
 
20433
20567
  if (res && (res === null || res === void 0 ? void 0 : res.ok)) {
20434
20568
  const response = JSON.parse(res === null || res === void 0 ? void 0 : res.text);
20569
+ onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(response);
20435
20570
  resolve(response[resKey]);
20436
20571
  }
20437
20572
  });
@@ -20439,7 +20574,7 @@ function upload({
20439
20574
  return promise;
20440
20575
  }
20441
20576
 
20442
- var _jsxFileName$9 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20577
+ var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
20443
20578
  const Input$1 = styled('input', {
20444
20579
  display: 'none !important'
20445
20580
  });
@@ -20463,6 +20598,12 @@ const Text = styled('p', {
20463
20598
  }
20464
20599
  }
20465
20600
  });
20601
+ const FileExtension = styled('p', {
20602
+ color: '#C1C1C1',
20603
+ fontSize: 64,
20604
+ fontWeight: 600,
20605
+ fontStyle: 'normal'
20606
+ });
20466
20607
  const ErrorMessage = styled('p', {
20467
20608
  color: '$red400',
20468
20609
  fontSize: 12,
@@ -20508,7 +20649,7 @@ const EyeIcon = styled(EyeOutline, {
20508
20649
  height: 40,
20509
20650
  padding: '$spacing-03'
20510
20651
  });
20511
- const CheckIcon = styled(CheckFilled, {
20652
+ styled(CheckFilled, {
20512
20653
  background: '$white',
20513
20654
  borderRadius: 50,
20514
20655
  width: 40,
@@ -20528,13 +20669,13 @@ const IconStateFull = props => {
20528
20669
  }
20529
20670
 
20530
20671
  return props.type === 'close' ? /*#__PURE__*/React__default.createElement(CloseIcon, _extends({}, props, {
20531
- color: isHover ? '#E13743' : '#A5ABAB',
20672
+ color: isHover ? '#E13743' : '#DF2A36',
20532
20673
  onMouseEnter: handleEnter,
20533
20674
  onMouseLeave: handleLeave,
20534
20675
  __self: undefined,
20535
20676
  __source: {
20536
20677
  fileName: _jsxFileName$9,
20537
- lineNumber: 118,
20678
+ lineNumber: 126,
20538
20679
  columnNumber: 5
20539
20680
  }
20540
20681
  })) : /*#__PURE__*/React__default.createElement(EyeIcon, _extends({}, props, {
@@ -20544,7 +20685,7 @@ const IconStateFull = props => {
20544
20685
  __self: undefined,
20545
20686
  __source: {
20546
20687
  fileName: _jsxFileName$9,
20547
- lineNumber: 125,
20688
+ lineNumber: 133,
20548
20689
  columnNumber: 5
20549
20690
  }
20550
20691
  }));
@@ -20555,6 +20696,9 @@ const Upload = ({
20555
20696
  multiple,
20556
20697
  fileList,
20557
20698
  onChange,
20699
+ onError,
20700
+ onSuccess,
20701
+ onProgress,
20558
20702
  onPreview,
20559
20703
  onRemove,
20560
20704
  children,
@@ -20597,7 +20741,6 @@ const Upload = ({
20597
20741
  setIsLoading(false);
20598
20742
  }
20599
20743
  }, [loading, progress]);
20600
- useEffect(() => {}, [ratio]);
20601
20744
  const ContainerUpload = styled('div', {
20602
20745
  border: '2px dashed $gray300',
20603
20746
  borderRadius: 8,
@@ -20676,7 +20819,7 @@ const Upload = ({
20676
20819
  borderRadius: 8,
20677
20820
  width: width,
20678
20821
  height: height - 36,
20679
- background: 'rgba(39, 42, 42, 0.6);'
20822
+ background: '$gray50'
20680
20823
  });
20681
20824
 
20682
20825
  function handleClick() {
@@ -20707,6 +20850,9 @@ const Upload = ({
20707
20850
  tokenKey,
20708
20851
  reqKey,
20709
20852
  resKey,
20853
+ onError,
20854
+ onSuccess,
20855
+ onProgress,
20710
20856
  progress: percent => {
20711
20857
  var _onChange, _onChange$then;
20712
20858
 
@@ -20874,6 +21020,33 @@ const Upload = ({
20874
21020
  }
20875
21021
  }
20876
21022
 
21023
+ function handleOpenFile(file) {
21024
+ var _String, _file$name;
21025
+
21026
+ let extension = (_String = String(file === null || file === void 0 ? void 0 : (_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.split('.').pop())) === null || _String === void 0 ? void 0 : _String.toLowerCase();
21027
+
21028
+ if (extension === 'pdf') {
21029
+ window.open(file === null || file === void 0 ? void 0 : file.url);
21030
+ } else {
21031
+ request.get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
21032
+ if (err) {
21033
+ console.error(err.message);
21034
+ }
21035
+
21036
+ if (res && res !== null && res !== void 0 && res.ok) {
21037
+ const response = res === null || res === void 0 ? void 0 : res.text;
21038
+ const url = window.URL.createObjectURL(new Blob([response]));
21039
+ const link = document.createElement('a');
21040
+ link.href = url;
21041
+ link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
21042
+ document.body.appendChild(link);
21043
+ link.click();
21044
+ document.body.removeChild(link);
21045
+ }
21046
+ });
21047
+ }
21048
+ }
21049
+
20877
21050
  function handleDragEnter(e) {
20878
21051
  e.preventDefault();
20879
21052
  e.stopPropagation();
@@ -20918,7 +21091,7 @@ const Upload = ({
20918
21091
  __self: this,
20919
21092
  __source: {
20920
21093
  fileName: _jsxFileName$9,
20921
- lineNumber: 484,
21094
+ lineNumber: 520,
20922
21095
  columnNumber: 7
20923
21096
  }
20924
21097
  }, /*#__PURE__*/React__default.createElement(ButtonText, {
@@ -20928,7 +21101,7 @@ const Upload = ({
20928
21101
  __self: this,
20929
21102
  __source: {
20930
21103
  fileName: _jsxFileName$9,
20931
- lineNumber: 485,
21104
+ lineNumber: 521,
20932
21105
  columnNumber: 9
20933
21106
  }
20934
21107
  }, replaceLabel && replaceLabel.length > 0 ? replaceLabel : `Ubah ${isFile ? 'Berkas' : 'Gambar'}`));
@@ -20944,7 +21117,7 @@ const Upload = ({
20944
21117
  __self: undefined,
20945
21118
  __source: {
20946
21119
  fileName: _jsxFileName$9,
20947
- lineNumber: 495,
21120
+ lineNumber: 531,
20948
21121
  columnNumber: 16
20949
21122
  }
20950
21123
  });
@@ -20956,7 +21129,7 @@ const Upload = ({
20956
21129
  __self: undefined,
20957
21130
  __source: {
20958
21131
  fileName: _jsxFileName$9,
20959
- lineNumber: 498,
21132
+ lineNumber: 534,
20960
21133
  columnNumber: 9
20961
21134
  }
20962
21135
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -20966,7 +21139,7 @@ const Upload = ({
20966
21139
  __self: undefined,
20967
21140
  __source: {
20968
21141
  fileName: _jsxFileName$9,
20969
- lineNumber: 499,
21142
+ lineNumber: 535,
20970
21143
  columnNumber: 11
20971
21144
  }
20972
21145
  }, /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -20975,7 +21148,7 @@ const Upload = ({
20975
21148
  __self: undefined,
20976
21149
  __source: {
20977
21150
  fileName: _jsxFileName$9,
20978
- lineNumber: 500,
21151
+ lineNumber: 536,
20979
21152
  columnNumber: 13
20980
21153
  }
20981
21154
  }), /*#__PURE__*/React__default.createElement(Box, {
@@ -20988,7 +21161,7 @@ const Upload = ({
20988
21161
  __self: undefined,
20989
21162
  __source: {
20990
21163
  fileName: _jsxFileName$9,
20991
- lineNumber: 501,
21164
+ lineNumber: 537,
20992
21165
  columnNumber: 13
20993
21166
  }
20994
21167
  }, /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -20997,7 +21170,7 @@ const Upload = ({
20997
21170
  __self: undefined,
20998
21171
  __source: {
20999
21172
  fileName: _jsxFileName$9,
21000
- lineNumber: 509,
21173
+ lineNumber: 545,
21001
21174
  columnNumber: 15
21002
21175
  }
21003
21176
  })), /*#__PURE__*/React__default.createElement(Image, {
@@ -21005,7 +21178,7 @@ const Upload = ({
21005
21178
  __self: undefined,
21006
21179
  __source: {
21007
21180
  fileName: _jsxFileName$9,
21008
- lineNumber: 511,
21181
+ lineNumber: 547,
21009
21182
  columnNumber: 13
21010
21183
  }
21011
21184
  })), renderButtonReplace(index));
@@ -21014,6 +21187,8 @@ const Upload = ({
21014
21187
 
21015
21188
  const renderFile = () => {
21016
21189
  return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
21190
+ var _item$name;
21191
+
21017
21192
  if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
21018
21193
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
21019
21194
  key: index,
@@ -21022,7 +21197,7 @@ const Upload = ({
21022
21197
  __self: undefined,
21023
21198
  __source: {
21024
21199
  fileName: _jsxFileName$9,
21025
- lineNumber: 522,
21200
+ lineNumber: 558,
21026
21201
  columnNumber: 16
21027
21202
  }
21028
21203
  });
@@ -21033,7 +21208,7 @@ const Upload = ({
21033
21208
  __self: undefined,
21034
21209
  __source: {
21035
21210
  fileName: _jsxFileName$9,
21036
- lineNumber: 525,
21211
+ lineNumber: 561,
21037
21212
  columnNumber: 9
21038
21213
  }
21039
21214
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -21043,7 +21218,7 @@ const Upload = ({
21043
21218
  __self: undefined,
21044
21219
  __source: {
21045
21220
  fileName: _jsxFileName$9,
21046
- lineNumber: 526,
21221
+ lineNumber: 562,
21047
21222
  columnNumber: 11
21048
21223
  }
21049
21224
  }, /*#__PURE__*/React__default.createElement(IconStateFull, {
@@ -21052,7 +21227,7 @@ const Upload = ({
21052
21227
  __self: undefined,
21053
21228
  __source: {
21054
21229
  fileName: _jsxFileName$9,
21055
- lineNumber: 527,
21230
+ lineNumber: 563,
21056
21231
  columnNumber: 13
21057
21232
  }
21058
21233
  }), /*#__PURE__*/React__default.createElement(Box, {
@@ -21065,7 +21240,7 @@ const Upload = ({
21065
21240
  __self: undefined,
21066
21241
  __source: {
21067
21242
  fileName: _jsxFileName$9,
21068
- lineNumber: 528,
21243
+ lineNumber: 564,
21069
21244
  columnNumber: 13
21070
21245
  }
21071
21246
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -21075,37 +21250,58 @@ const Upload = ({
21075
21250
  __self: undefined,
21076
21251
  __source: {
21077
21252
  fileName: _jsxFileName$9,
21078
- lineNumber: 536,
21253
+ lineNumber: 572,
21079
21254
  columnNumber: 15
21080
21255
  }
21081
- }, /*#__PURE__*/React__default.createElement(CheckIcon, {
21082
- color: "#04C99E",
21256
+ }, /*#__PURE__*/React__default.createElement(FileExtension, {
21083
21257
  __self: undefined,
21084
21258
  __source: {
21085
21259
  fileName: _jsxFileName$9,
21086
- lineNumber: 537,
21260
+ lineNumber: 573,
21087
21261
  columnNumber: 17
21088
21262
  }
21089
- }), /*#__PURE__*/React__default.createElement(Text, {
21263
+ }, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Text, {
21090
21264
  css: {
21091
- color: '$textWhite',
21265
+ color: '$textPrimary',
21092
21266
  textOverflow: 'ellipsis',
21093
21267
  overflow: 'hidden',
21094
21268
  width: 180,
21095
21269
  whiteSpace: 'nowrap',
21096
- margin: '$spacing-07 $spacing-07 0 $spacing-07'
21270
+ margin: '0 $spacing-07 0 $spacing-07'
21097
21271
  },
21098
21272
  __self: undefined,
21099
21273
  __source: {
21100
21274
  fileName: _jsxFileName$9,
21101
- lineNumber: 538,
21275
+ lineNumber: 574,
21102
21276
  columnNumber: 17
21103
21277
  }
21104
- }, item.name))), /*#__PURE__*/React__default.createElement(Blank, {
21278
+ }, item.name))), /*#__PURE__*/React__default.createElement(Box, {
21279
+ css: {
21280
+ position: 'absolute',
21281
+ top: '45%',
21282
+ left: '50%',
21283
+ transform: 'translate(-50%, -50%)'
21284
+ },
21285
+ __self: undefined,
21286
+ __source: {
21287
+ fileName: _jsxFileName$9,
21288
+ lineNumber: 588,
21289
+ columnNumber: 13
21290
+ }
21291
+ }, /*#__PURE__*/React__default.createElement(IconStateFull, {
21292
+ type: "eye",
21293
+ onClick: () => handleOpenFile(item),
21294
+ __self: undefined,
21295
+ __source: {
21296
+ fileName: _jsxFileName$9,
21297
+ lineNumber: 596,
21298
+ columnNumber: 15
21299
+ }
21300
+ })), /*#__PURE__*/React__default.createElement(Blank, {
21105
21301
  __self: undefined,
21106
21302
  __source: {
21107
21303
  fileName: _jsxFileName$9,
21108
- lineNumber: 552,
21304
+ lineNumber: 598,
21109
21305
  columnNumber: 13
21110
21306
  }
21111
21307
  })), renderButtonReplace(index));
@@ -21121,7 +21317,7 @@ const Upload = ({
21121
21317
  __self: this,
21122
21318
  __source: {
21123
21319
  fileName: _jsxFileName$9,
21124
- lineNumber: 563,
21320
+ lineNumber: 609,
21125
21321
  columnNumber: 7
21126
21322
  }
21127
21323
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -21135,7 +21331,7 @@ const Upload = ({
21135
21331
  __self: this,
21136
21332
  __source: {
21137
21333
  fileName: _jsxFileName$9,
21138
- lineNumber: 564,
21334
+ lineNumber: 610,
21139
21335
  columnNumber: 9
21140
21336
  }
21141
21337
  }, /*#__PURE__*/React__default.createElement(LoadingBar, {
@@ -21161,7 +21357,7 @@ const Upload = ({
21161
21357
  __self: this,
21162
21358
  __source: {
21163
21359
  fileName: _jsxFileName$9,
21164
- lineNumber: 565,
21360
+ lineNumber: 611,
21165
21361
  columnNumber: 11
21166
21362
  }
21167
21363
  }), /*#__PURE__*/React__default.createElement(Text, {
@@ -21169,14 +21365,14 @@ const Upload = ({
21169
21365
  __self: this,
21170
21366
  __source: {
21171
21367
  fileName: _jsxFileName$9,
21172
- lineNumber: 578,
21368
+ lineNumber: 624,
21173
21369
  columnNumber: 11
21174
21370
  }
21175
21371
  }, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default.createElement(Text, {
21176
21372
  __self: this,
21177
21373
  __source: {
21178
21374
  fileName: _jsxFileName$9,
21179
- lineNumber: 579,
21375
+ lineNumber: 625,
21180
21376
  columnNumber: 11
21181
21377
  }
21182
21378
  }, `${isFile ? 'Berkas' : 'Gambar'} sedang diunggah`)));
@@ -21189,7 +21385,7 @@ const Upload = ({
21189
21385
  __self: this,
21190
21386
  __source: {
21191
21387
  fileName: _jsxFileName$9,
21192
- lineNumber: 587,
21388
+ lineNumber: 633,
21193
21389
  columnNumber: 7
21194
21390
  }
21195
21391
  }, /*#__PURE__*/React__default.createElement(ContainerUpload, {
@@ -21204,7 +21400,7 @@ const Upload = ({
21204
21400
  __self: this,
21205
21401
  __source: {
21206
21402
  fileName: _jsxFileName$9,
21207
- lineNumber: 588,
21403
+ lineNumber: 634,
21208
21404
  columnNumber: 9
21209
21405
  }
21210
21406
  }, /*#__PURE__*/React__default.createElement(Input$1, {
@@ -21216,35 +21412,35 @@ const Upload = ({
21216
21412
  __self: this,
21217
21413
  __source: {
21218
21414
  fileName: _jsxFileName$9,
21219
- lineNumber: 598,
21415
+ lineNumber: 644,
21220
21416
  columnNumber: 11
21221
21417
  }
21222
21418
  }), /*#__PURE__*/React__default.createElement(Children, {
21223
21419
  __self: this,
21224
21420
  __source: {
21225
21421
  fileName: _jsxFileName$9,
21226
- lineNumber: 599,
21422
+ lineNumber: 645,
21227
21423
  columnNumber: 11
21228
21424
  }
21229
- }, children != null ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
21425
+ }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
21230
21426
  __self: this,
21231
21427
  __source: {
21232
21428
  fileName: _jsxFileName$9,
21233
- lineNumber: 601,
21429
+ lineNumber: 647,
21234
21430
  columnNumber: 15
21235
21431
  }
21236
21432
  }, /*#__PURE__*/React__default.createElement(IconCard, {
21237
21433
  __self: this,
21238
21434
  __source: {
21239
21435
  fileName: _jsxFileName$9,
21240
- lineNumber: 602,
21436
+ lineNumber: 648,
21241
21437
  columnNumber: 17
21242
21438
  }
21243
21439
  }, /*#__PURE__*/React__default.createElement(UploadOutline, {
21244
21440
  __self: this,
21245
21441
  __source: {
21246
21442
  fileName: _jsxFileName$9,
21247
- lineNumber: 603,
21443
+ lineNumber: 649,
21248
21444
  columnNumber: 19
21249
21445
  }
21250
21446
  })), /*#__PURE__*/React__default.createElement(Text, {
@@ -21254,14 +21450,14 @@ const Upload = ({
21254
21450
  __self: this,
21255
21451
  __source: {
21256
21452
  fileName: _jsxFileName$9,
21257
- lineNumber: 605,
21453
+ lineNumber: 651,
21258
21454
  columnNumber: 17
21259
21455
  }
21260
21456
  }, `Pilih atau letakkan ${isFile ? 'berkas' : 'gambar'} anda disini`)))), errorMessage && /*#__PURE__*/React__default.createElement(ErrorMessage, {
21261
21457
  __self: this,
21262
21458
  __source: {
21263
21459
  fileName: _jsxFileName$9,
21264
- lineNumber: 612,
21460
+ lineNumber: 658,
21265
21461
  columnNumber: 26
21266
21462
  }
21267
21463
  }, errorMessage));
@@ -21272,7 +21468,7 @@ const Upload = ({
21272
21468
  __self: this,
21273
21469
  __source: {
21274
21470
  fileName: _jsxFileName$9,
21275
- lineNumber: 619,
21471
+ lineNumber: 665,
21276
21472
  columnNumber: 7
21277
21473
  }
21278
21474
  }, /*#__PURE__*/React__default.createElement(ModalDialogTrigger, {
@@ -21280,7 +21476,7 @@ const Upload = ({
21280
21476
  __self: this,
21281
21477
  __source: {
21282
21478
  fileName: _jsxFileName$9,
21283
- lineNumber: 620,
21479
+ lineNumber: 666,
21284
21480
  columnNumber: 9
21285
21481
  }
21286
21482
  }, /*#__PURE__*/React__default.createElement("div", {
@@ -21288,7 +21484,7 @@ const Upload = ({
21288
21484
  __self: this,
21289
21485
  __source: {
21290
21486
  fileName: _jsxFileName$9,
21291
- lineNumber: 621,
21487
+ lineNumber: 667,
21292
21488
  columnNumber: 11
21293
21489
  }
21294
21490
  })), /*#__PURE__*/React__default.createElement(ModalDialogTitle, {
@@ -21301,7 +21497,7 @@ const Upload = ({
21301
21497
  __self: this,
21302
21498
  __source: {
21303
21499
  fileName: _jsxFileName$9,
21304
- lineNumber: 623,
21500
+ lineNumber: 669,
21305
21501
  columnNumber: 9
21306
21502
  }
21307
21503
  }, cropperTitle), /*#__PURE__*/React__default.createElement(ModalDialogContent, {
@@ -21312,7 +21508,7 @@ const Upload = ({
21312
21508
  __self: this,
21313
21509
  __source: {
21314
21510
  fileName: _jsxFileName$9,
21315
- lineNumber: 626,
21511
+ lineNumber: 672,
21316
21512
  columnNumber: 9
21317
21513
  }
21318
21514
  }, /*#__PURE__*/React__default.createElement(ReactCrop, {
@@ -21323,7 +21519,7 @@ const Upload = ({
21323
21519
  __self: this,
21324
21520
  __source: {
21325
21521
  fileName: _jsxFileName$9,
21326
- lineNumber: 627,
21522
+ lineNumber: 673,
21327
21523
  columnNumber: 11
21328
21524
  }
21329
21525
  }, /*#__PURE__*/React__default.createElement(Image, {
@@ -21336,14 +21532,14 @@ const Upload = ({
21336
21532
  __self: this,
21337
21533
  __source: {
21338
21534
  fileName: _jsxFileName$9,
21339
- lineNumber: 628,
21535
+ lineNumber: 674,
21340
21536
  columnNumber: 13
21341
21537
  }
21342
21538
  }))), /*#__PURE__*/React__default.createElement(ModalDialogFooter, {
21343
21539
  __self: this,
21344
21540
  __source: {
21345
21541
  fileName: _jsxFileName$9,
21346
- lineNumber: 631,
21542
+ lineNumber: 677,
21347
21543
  columnNumber: 9
21348
21544
  }
21349
21545
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -21355,7 +21551,7 @@ const Upload = ({
21355
21551
  __self: this,
21356
21552
  __source: {
21357
21553
  fileName: _jsxFileName$9,
21358
- lineNumber: 632,
21554
+ lineNumber: 678,
21359
21555
  columnNumber: 11
21360
21556
  }
21361
21557
  }, /*#__PURE__*/React__default.createElement(Tooltip, {
@@ -21363,7 +21559,7 @@ const Upload = ({
21363
21559
  __self: this,
21364
21560
  __source: {
21365
21561
  fileName: _jsxFileName$9,
21366
- lineNumber: 633,
21562
+ lineNumber: 679,
21367
21563
  columnNumber: 13
21368
21564
  }
21369
21565
  }, /*#__PURE__*/React__default.createElement(ImageOutline, {
@@ -21375,7 +21571,7 @@ const Upload = ({
21375
21571
  __self: this,
21376
21572
  __source: {
21377
21573
  fileName: _jsxFileName$9,
21378
- lineNumber: 634,
21574
+ lineNumber: 680,
21379
21575
  columnNumber: 15
21380
21576
  }
21381
21577
  })), /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -21383,7 +21579,7 @@ const Upload = ({
21383
21579
  __self: this,
21384
21580
  __source: {
21385
21581
  fileName: _jsxFileName$9,
21386
- lineNumber: 640,
21582
+ lineNumber: 686,
21387
21583
  columnNumber: 13
21388
21584
  }
21389
21585
  }, /*#__PURE__*/React__default.createElement(Button$2, {
@@ -21392,7 +21588,7 @@ const Upload = ({
21392
21588
  __self: this,
21393
21589
  __source: {
21394
21590
  fileName: _jsxFileName$9,
21395
- lineNumber: 641,
21591
+ lineNumber: 687,
21396
21592
  columnNumber: 15
21397
21593
  }
21398
21594
  }, "Batal"), /*#__PURE__*/React__default.createElement(Button$2, {
@@ -21400,7 +21596,7 @@ const Upload = ({
21400
21596
  __self: this,
21401
21597
  __source: {
21402
21598
  fileName: _jsxFileName$9,
21403
- lineNumber: 644,
21599
+ lineNumber: 690,
21404
21600
  columnNumber: 15
21405
21601
  }
21406
21602
  }, `${completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
@@ -21416,7 +21612,7 @@ const Upload = ({
21416
21612
  __self: undefined,
21417
21613
  __source: {
21418
21614
  fileName: _jsxFileName$9,
21419
- lineNumber: 655,
21615
+ lineNumber: 701,
21420
21616
  columnNumber: 5
21421
21617
  }
21422
21618
  }, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default.createElement(UploadProgress, {
@@ -21425,7 +21621,7 @@ const Upload = ({
21425
21621
  __self: undefined,
21426
21622
  __source: {
21427
21623
  fileName: _jsxFileName$9,
21428
- lineNumber: 658,
21624
+ lineNumber: 704,
21429
21625
  columnNumber: 32
21430
21626
  }
21431
21627
  }) : renderUpload(), showCropper && renderCropper());
@@ -21444,118 +21640,136 @@ Upload.defaultProps = {
21444
21640
  ratio: 16 / 9
21445
21641
  };
21446
21642
  Upload.propTypes = {
21447
- /**
21448
- Progress of upload process
21643
+ /**
21644
+ Progress of upload process
21449
21645
  */
21450
21646
  progress: PropTypes.number,
21451
21647
 
21452
- /**
21453
- Auto increment progress of upload process
21648
+ /**
21649
+ Auto increment progress of upload process
21454
21650
  */
21455
21651
  loading: PropTypes.bool,
21456
21652
 
21457
- /**
21458
- Built-in stylesheets, support for two types.
21653
+ /**
21654
+ Built-in stylesheets, support for two types.
21459
21655
  */
21460
21656
  listType: PropTypes.oneOf(['file', 'picture']),
21461
21657
 
21462
- /**
21463
- Whether to support selected multiple file.
21658
+ /**
21659
+ Whether to support selected multiple file.
21464
21660
  */
21465
21661
  multiple: PropTypes.bool,
21466
21662
 
21467
- /**
21468
- List of files to be uploaded.
21663
+ /**
21664
+ List of files to be uploaded.
21469
21665
  */
21470
21666
  fileList: PropTypes.array,
21471
21667
 
21472
- /**
21473
- A callback function, can be executed when uploading state is changing.
21668
+ /**
21669
+ A callback function, can be executed when uploading state is changing.
21474
21670
  */
21475
21671
  onChange: PropTypes.func,
21476
21672
 
21477
- /**
21478
- A callback function, can be executed when preview icon in picture type is clicked.
21673
+ /**
21674
+ A callback function, can be executed when uploading in progress.
21675
+ `(progress) => void`
21676
+ */
21677
+ onProgress: PropTypes.func,
21678
+
21679
+ /**
21680
+ A callback function, can be executed when uploading is success.
21681
+ `(response) => void`
21682
+ */
21683
+ onSuccess: PropTypes.func,
21684
+
21685
+ /**
21686
+ A callback function, can be executed when uploading is error.
21687
+ `(error, response) => void`
21688
+ */
21689
+ onError: PropTypes.func,
21690
+
21691
+ /**
21692
+ A callback function, can be executed when preview icon in picture type is clicked.
21479
21693
  */
21480
21694
  onPreview: PropTypes.func,
21481
21695
 
21482
- /**
21483
- A callback function, can be executed when remove icon is clicked.
21696
+ /**
21697
+ A callback function, can be executed when remove icon is clicked.
21484
21698
  */
21485
21699
  onRemove: PropTypes.func,
21486
21700
 
21487
- /**
21488
- A custom element inside upload container.
21701
+ /**
21702
+ A custom element inside upload container.
21489
21703
  */
21490
21704
  children: PropTypes.element,
21491
21705
 
21492
- /**
21493
- Limit the number of uploaded files.
21706
+ /**
21707
+ Limit the number of uploaded files.
21494
21708
  */
21495
21709
  max: PropTypes.number,
21496
21710
 
21497
- /**
21498
- Limit file type of upload.
21711
+ /**
21712
+ Limit file type of upload.
21499
21713
  */
21500
21714
  accept: PropTypes.string,
21501
21715
 
21502
- /**
21503
- Custom label for replace button.
21716
+ /**
21717
+ Custom label for replace button.
21504
21718
  */
21505
21719
  replaceLabel: PropTypes.string,
21506
21720
 
21507
- /**
21508
- Custom width of upload container.
21721
+ /**
21722
+ Custom width of upload container.
21509
21723
  */
21510
21724
  width: PropTypes.number,
21511
21725
 
21512
- /**
21513
- Custom height of upload container.
21726
+ /**
21727
+ Custom height of upload container.
21514
21728
  */
21515
21729
  height: PropTypes.number,
21516
21730
 
21517
- /**
21518
- Additional css.
21731
+ /**
21732
+ Additional css.
21519
21733
  */
21520
21734
  css: PropTypes.object,
21521
21735
 
21522
- /**
21523
- Custom title header of cropper modal.
21736
+ /**
21737
+ Custom title header of cropper modal.
21524
21738
  */
21525
21739
  cropperTitle: PropTypes.string,
21526
21740
 
21527
- /**
21528
- Add image cropper on upload.
21741
+ /**
21742
+ Add image cropper on upload.
21529
21743
  */
21530
21744
  showCropper: PropTypes.bool,
21531
21745
 
21532
- /**
21533
- The aspect ratio of the crop, e.g. 1 for a square or 16 / 9 for landscape. Omit/pass undefined for a free-form crop.
21746
+ /**
21747
+ The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
21534
21748
  */
21535
21749
  ratio: PropTypes.number,
21536
21750
 
21537
- /**
21538
- API upload url, allows components to automatically upload directly to API service.
21751
+ /**
21752
+ API upload url, allows components to automatically upload directly to API service.
21539
21753
  */
21540
21754
  action: PropTypes.string,
21541
21755
 
21542
- /**
21543
- Contains an authentication token for upload API.
21756
+ /**
21757
+ Contains an authentication token for upload API.
21544
21758
  */
21545
21759
  token: PropTypes.string,
21546
21760
 
21547
- /**
21548
- Referencing the headers key to attach the token.
21761
+ /**
21762
+ Referencing the headers key to attach the token.
21549
21763
  */
21550
21764
  tokenKey: PropTypes.string,
21551
21765
 
21552
- /**
21553
- Referencing the key to attach the file to be sent.
21766
+ /**
21767
+ Referencing the key to attach the file to be sent.
21554
21768
  */
21555
21769
  reqKey: PropTypes.string,
21556
21770
 
21557
- /**
21558
- Referencing the key to get the file from the API response.
21771
+ /**
21772
+ Referencing the key to get the file from the API response.
21559
21773
  */
21560
21774
  resKey: PropTypes.string
21561
21775
  };
@@ -21784,7 +21998,7 @@ const Device = props => {
21784
21998
 
21785
21999
  Device.displayName = 'DevicePreview';
21786
22000
 
21787
- var _jsxFileName$8 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
22001
+ var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
21788
22002
  const Separator$1 = styled('div', {
21789
22003
  height: 20,
21790
22004
  width: 1,
@@ -21896,28 +22110,28 @@ function InputColorPicker(props) {
21896
22110
 
21897
22111
  InputColorPicker.displayName = 'InputColorPicker';
21898
22112
  InputColorPicker.propTypes = {
21899
- /**
21900
- Color code to be displayed.
22113
+ /**
22114
+ Color code to be displayed.
21901
22115
  */
21902
22116
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
21903
22117
 
21904
- /**
21905
- Additional color list.
22118
+ /**
22119
+ Additional color list.
21906
22120
  */
21907
22121
  presetColors: PropTypes.array,
21908
22122
 
21909
- /**
21910
- Change event handler.
22123
+ /**
22124
+ Change event handler.
21911
22125
  */
21912
22126
  onChange: PropTypes.func,
21913
22127
 
21914
- /**
21915
- Add preset color event handler.
22128
+ /**
22129
+ Add preset color event handler.
21916
22130
  */
21917
22131
  onAddColor: PropTypes.func,
21918
22132
 
21919
- /**
21920
- Disable opacity selector.
22133
+ /**
22134
+ Disable opacity selector.
21921
22135
  */
21922
22136
  disableAlpha: PropTypes.bool
21923
22137
  };
@@ -21927,7 +22141,7 @@ InputColorPicker.defaultProps = {
21927
22141
 
21928
22142
  var img = "data:image/gif;base64,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";
21929
22143
 
21930
- var _jsxFileName$7 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
22144
+ var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
21931
22145
  const Container$3 = styled('div', {
21932
22146
  userSelect: 'none',
21933
22147
  margin: 'auto',
@@ -23891,7 +24105,7 @@ function ColorMap({
23891
24105
  })));
23892
24106
  }
23893
24107
 
23894
- var _jsxFileName$6 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
24108
+ var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
23895
24109
  const CheckBoard = styled(Flex$1, {
23896
24110
  background: '$bgwhite',
23897
24111
  border: '1px solid #E5E7EB',
@@ -24092,7 +24306,7 @@ function ColorFields({
24092
24306
  }, "%")));
24093
24307
  }
24094
24308
 
24095
- var _jsxFileName$5 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
24309
+ var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
24096
24310
  const Container$2 = styled(Flex$1, {
24097
24311
  background: '$white',
24098
24312
  padding: 16,
@@ -24595,28 +24809,28 @@ function ColorPicker({
24595
24809
  }
24596
24810
 
24597
24811
  ColorPicker.propTypes = {
24598
- /**
24599
- Color code to be displayed.
24812
+ /**
24813
+ Color code to be displayed.
24600
24814
  */
24601
24815
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
24602
24816
 
24603
- /**
24604
- Additional color list
24817
+ /**
24818
+ Additional color list
24605
24819
  */
24606
24820
  presetColors: PropTypes.array,
24607
24821
 
24608
- /**
24609
- Change event handler
24822
+ /**
24823
+ Change event handler
24610
24824
  */
24611
24825
  onChange: PropTypes.func,
24612
24826
 
24613
- /**
24614
- Add preset color event handler
24827
+ /**
24828
+ Add preset color event handler
24615
24829
  */
24616
24830
  onAddColor: PropTypes.func,
24617
24831
 
24618
- /**
24619
- Disable opacity selector
24832
+ /**
24833
+ Disable opacity selector
24620
24834
  */
24621
24835
  disableAlpha: PropTypes.bool
24622
24836
  };
@@ -24625,7 +24839,7 @@ ColorPicker.defaultProps = {
24625
24839
  };
24626
24840
  var ColorPicker$1 = ColorWrap(ColorPicker);
24627
24841
 
24628
- var _jsxFileName$4 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
24842
+ var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
24629
24843
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
24630
24844
  const Stepper = StepWizard$1;
24631
24845
  Stepper.displayName = 'Stepper';
@@ -25035,7 +25249,7 @@ const StepWizard = props => {
25035
25249
  }), void 0);
25036
25250
  };
25037
25251
 
25038
- var _jsxFileName$3 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
25252
+ var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
25039
25253
 
25040
25254
  function Collapse({
25041
25255
  children,
@@ -25080,7 +25294,7 @@ Collapse.defaultProps = {
25080
25294
  isOpen: false
25081
25295
  };
25082
25296
 
25083
- var _jsxFileName$2 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
25297
+ var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
25084
25298
  const DesktopContainer = styled(Flex$1, {
25085
25299
  display: 'none',
25086
25300
  '& .active-scroll-spy': {
@@ -25372,23 +25586,23 @@ TableOfContent.defaultProps = {
25372
25586
  isDialog: false
25373
25587
  };
25374
25588
  TableOfContent.propTypes = {
25375
- /**
25376
- List of contents containing the title and id of a content.
25589
+ /**
25590
+ List of contents containing the title and id of a content.
25377
25591
  */
25378
25592
  content: PropTypes.array,
25379
25593
 
25380
- /**
25381
- Components devoted to mobile viewing only.
25594
+ /**
25595
+ Components devoted to mobile viewing only.
25382
25596
  */
25383
25597
  isMobile: PropTypes.bool,
25384
25598
 
25385
- /**
25386
- Condition when table of content is inside a component dialog.
25599
+ /**
25600
+ Condition when table of content is inside a component dialog.
25387
25601
  */
25388
25602
  isDialog: PropTypes.bool,
25389
25603
 
25390
- /**
25391
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
25604
+ /**
25605
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
25392
25606
  */
25393
25607
  activeId: PropTypes.string
25394
25608
  };
@@ -25408,7 +25622,7 @@ TableOfContentPage.defaultProps = {
25408
25622
  useBoxMethod: true
25409
25623
  };
25410
25624
 
25411
- var _jsxFileName$1 = "C:\\Project\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25625
+ var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
25412
25626
 
25413
25627
  function Collapalse({
25414
25628
  children,
@@ -26338,7 +26552,7 @@ function ProgressIndicator(props) {
26338
26552
  }), void 0);
26339
26553
  }
26340
26554
 
26341
- var _jsxFileName = "C:\\Project\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26555
+ var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
26342
26556
  const StyledPaper = styled(Paper, {
26343
26557
  borderRadius: '10px 10px 0 0',
26344
26558
  padding: 15,
@@ -26449,6 +26663,34 @@ const Colors = props => {
26449
26663
  }, i.hex))));
26450
26664
  };
26451
26665
 
26666
+ /**
26667
+ * Checks if `value` is classified as an `Array` object.
26668
+ *
26669
+ * @static
26670
+ * @memberOf _
26671
+ * @since 0.1.0
26672
+ * @category Lang
26673
+ * @param {*} value The value to check.
26674
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
26675
+ * @example
26676
+ *
26677
+ * _.isArray([1, 2, 3]);
26678
+ * // => true
26679
+ *
26680
+ * _.isArray(document.body.children);
26681
+ * // => false
26682
+ *
26683
+ * _.isArray('abc');
26684
+ * // => false
26685
+ *
26686
+ * _.isArray(_.noop);
26687
+ * // => false
26688
+ */
26689
+
26690
+ var isArray$3 = Array.isArray;
26691
+
26692
+ var isArray_1 = isArray$3;
26693
+
26452
26694
  /** Detect free variable `global` from Node.js. */
26453
26695
 
26454
26696
  var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
@@ -26561,7 +26803,7 @@ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : undefined;
26561
26803
  * @param {*} value The value to query.
26562
26804
  * @returns {string} Returns the `toStringTag`.
26563
26805
  */
26564
- function baseGetTag$1(value) {
26806
+ function baseGetTag$2(value) {
26565
26807
  if (value == null) {
26566
26808
  return value === undefined ? undefinedTag : nullTag;
26567
26809
  }
@@ -26570,7 +26812,7 @@ function baseGetTag$1(value) {
26570
26812
  : objectToString(value);
26571
26813
  }
26572
26814
 
26573
- var _baseGetTag = baseGetTag$1;
26815
+ var _baseGetTag = baseGetTag$2;
26574
26816
 
26575
26817
  /**
26576
26818
  * Checks if `value` is the
@@ -26605,7 +26847,7 @@ function isObject$2(value) {
26605
26847
 
26606
26848
  var isObject_1 = isObject$2;
26607
26849
 
26608
- var baseGetTag = _baseGetTag,
26850
+ var baseGetTag$1 = _baseGetTag,
26609
26851
  isObject$1 = isObject_1;
26610
26852
 
26611
26853
  /** `Object#toString` result references. */
@@ -26637,12 +26879,103 @@ function isFunction$1(value) {
26637
26879
  }
26638
26880
  // The use of `Object#toString` avoids issues with the `typeof` operator
26639
26881
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
26640
- var tag = baseGetTag(value);
26882
+ var tag = baseGetTag$1(value);
26641
26883
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
26642
26884
  }
26643
26885
 
26644
26886
  var isFunction_1 = isFunction$1;
26645
26887
 
26888
+ /**
26889
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
26890
+ * and has a `typeof` result of "object".
26891
+ *
26892
+ * @static
26893
+ * @memberOf _
26894
+ * @since 4.0.0
26895
+ * @category Lang
26896
+ * @param {*} value The value to check.
26897
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
26898
+ * @example
26899
+ *
26900
+ * _.isObjectLike({});
26901
+ * // => true
26902
+ *
26903
+ * _.isObjectLike([1, 2, 3]);
26904
+ * // => true
26905
+ *
26906
+ * _.isObjectLike(_.noop);
26907
+ * // => false
26908
+ *
26909
+ * _.isObjectLike(null);
26910
+ * // => false
26911
+ */
26912
+
26913
+ function isObjectLike$1(value) {
26914
+ return value != null && typeof value == 'object';
26915
+ }
26916
+
26917
+ var isObjectLike_1 = isObjectLike$1;
26918
+
26919
+ var baseGetTag = _baseGetTag,
26920
+ isObjectLike = isObjectLike_1;
26921
+
26922
+ /** `Object#toString` result references. */
26923
+ var symbolTag = '[object Symbol]';
26924
+
26925
+ /**
26926
+ * Checks if `value` is classified as a `Symbol` primitive or object.
26927
+ *
26928
+ * @static
26929
+ * @memberOf _
26930
+ * @since 4.0.0
26931
+ * @category Lang
26932
+ * @param {*} value The value to check.
26933
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
26934
+ * @example
26935
+ *
26936
+ * _.isSymbol(Symbol.iterator);
26937
+ * // => true
26938
+ *
26939
+ * _.isSymbol('abc');
26940
+ * // => false
26941
+ */
26942
+ function isSymbol$3(value) {
26943
+ return typeof value == 'symbol' ||
26944
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
26945
+ }
26946
+
26947
+ var isSymbol_1 = isSymbol$3;
26948
+
26949
+ var isArray$2 = isArray_1,
26950
+ isSymbol$2 = isSymbol_1;
26951
+
26952
+ /** Used to match property names within property paths. */
26953
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
26954
+ reIsPlainProp = /^\w*$/;
26955
+
26956
+ /**
26957
+ * Checks if `value` is a property name and not a property path.
26958
+ *
26959
+ * @private
26960
+ * @param {*} value The value to check.
26961
+ * @param {Object} [object] The object to query keys on.
26962
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
26963
+ */
26964
+ function isKey$1(value, object) {
26965
+ if (isArray$2(value)) {
26966
+ return false;
26967
+ }
26968
+ var type = typeof value;
26969
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
26970
+ value == null || isSymbol$2(value)) {
26971
+ return true;
26972
+ }
26973
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
26974
+ (object != null && value in Object(object));
26975
+ }
26976
+
26977
+ var _isKey = isKey$1;
26978
+
26646
26979
  var root$1 = _root;
26647
26980
 
26648
26981
  /** Used to detect overreaching core-js shims. */
@@ -27434,7 +27767,7 @@ var reEscapeChar = /\\(\\)?/g;
27434
27767
  * @param {string} string The string to convert.
27435
27768
  * @returns {Array} Returns the property path array.
27436
27769
  */
27437
- memoizeCapped(function(string) {
27770
+ var stringToPath$1 = memoizeCapped(function(string) {
27438
27771
  var result = [];
27439
27772
  if (string.charCodeAt(0) === 46 /* . */) {
27440
27773
  result.push('');
@@ -27445,10 +27778,279 @@ memoizeCapped(function(string) {
27445
27778
  return result;
27446
27779
  });
27447
27780
 
27448
- var Symbol$1 = _Symbol;
27781
+ var _stringToPath = stringToPath$1;
27782
+
27783
+ /**
27784
+ * A specialized version of `_.map` for arrays without support for iteratee
27785
+ * shorthands.
27786
+ *
27787
+ * @private
27788
+ * @param {Array} [array] The array to iterate over.
27789
+ * @param {Function} iteratee The function invoked per iteration.
27790
+ * @returns {Array} Returns the new mapped array.
27791
+ */
27792
+
27793
+ function arrayMap$1(array, iteratee) {
27794
+ var index = -1,
27795
+ length = array == null ? 0 : array.length,
27796
+ result = Array(length);
27797
+
27798
+ while (++index < length) {
27799
+ result[index] = iteratee(array[index], index, array);
27800
+ }
27801
+ return result;
27802
+ }
27803
+
27804
+ var _arrayMap = arrayMap$1;
27805
+
27806
+ var Symbol$1 = _Symbol,
27807
+ arrayMap = _arrayMap,
27808
+ isArray$1 = isArray_1,
27809
+ isSymbol$1 = isSymbol_1;
27810
+
27811
+ /** Used as references for various `Number` constants. */
27812
+ var INFINITY$1 = 1 / 0;
27449
27813
 
27450
27814
  /** Used to convert symbols to primitives and strings. */
27451
- var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined;
27452
- symbolProto ? symbolProto.toString : undefined;
27815
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
27816
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
27817
+
27818
+ /**
27819
+ * The base implementation of `_.toString` which doesn't convert nullish
27820
+ * values to empty strings.
27821
+ *
27822
+ * @private
27823
+ * @param {*} value The value to process.
27824
+ * @returns {string} Returns the string.
27825
+ */
27826
+ function baseToString$1(value) {
27827
+ // Exit early for strings to avoid a performance hit in some environments.
27828
+ if (typeof value == 'string') {
27829
+ return value;
27830
+ }
27831
+ if (isArray$1(value)) {
27832
+ // Recursively convert values (susceptible to call stack limits).
27833
+ return arrayMap(value, baseToString$1) + '';
27834
+ }
27835
+ if (isSymbol$1(value)) {
27836
+ return symbolToString ? symbolToString.call(value) : '';
27837
+ }
27838
+ var result = (value + '');
27839
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
27840
+ }
27841
+
27842
+ var _baseToString = baseToString$1;
27843
+
27844
+ var baseToString = _baseToString;
27845
+
27846
+ /**
27847
+ * Converts `value` to a string. An empty string is returned for `null`
27848
+ * and `undefined` values. The sign of `-0` is preserved.
27849
+ *
27850
+ * @static
27851
+ * @memberOf _
27852
+ * @since 4.0.0
27853
+ * @category Lang
27854
+ * @param {*} value The value to convert.
27855
+ * @returns {string} Returns the converted string.
27856
+ * @example
27857
+ *
27858
+ * _.toString(null);
27859
+ * // => ''
27860
+ *
27861
+ * _.toString(-0);
27862
+ * // => '-0'
27863
+ *
27864
+ * _.toString([1, 2, 3]);
27865
+ * // => '1,2,3'
27866
+ */
27867
+ function toString$1(value) {
27868
+ return value == null ? '' : baseToString(value);
27869
+ }
27870
+
27871
+ var toString_1 = toString$1;
27872
+
27873
+ var isArray = isArray_1,
27874
+ isKey = _isKey,
27875
+ stringToPath = _stringToPath,
27876
+ toString = toString_1;
27877
+
27878
+ /**
27879
+ * Casts `value` to a path array if it's not one.
27880
+ *
27881
+ * @private
27882
+ * @param {*} value The value to inspect.
27883
+ * @param {Object} [object] The object to query keys on.
27884
+ * @returns {Array} Returns the cast property path array.
27885
+ */
27886
+ function castPath$1(value, object) {
27887
+ if (isArray(value)) {
27888
+ return value;
27889
+ }
27890
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
27891
+ }
27892
+
27893
+ var _castPath = castPath$1;
27894
+
27895
+ var isSymbol = isSymbol_1;
27896
+
27897
+ /** Used as references for various `Number` constants. */
27898
+ var INFINITY = 1 / 0;
27899
+
27900
+ /**
27901
+ * Converts `value` to a string key if it's not a string or symbol.
27902
+ *
27903
+ * @private
27904
+ * @param {*} value The value to inspect.
27905
+ * @returns {string|symbol} Returns the key.
27906
+ */
27907
+ function toKey$1(value) {
27908
+ if (typeof value == 'string' || isSymbol(value)) {
27909
+ return value;
27910
+ }
27911
+ var result = (value + '');
27912
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
27913
+ }
27914
+
27915
+ var _toKey = toKey$1;
27916
+
27917
+ var castPath = _castPath,
27918
+ toKey = _toKey;
27919
+
27920
+ /**
27921
+ * The base implementation of `_.get` without support for default values.
27922
+ *
27923
+ * @private
27924
+ * @param {Object} object The object to query.
27925
+ * @param {Array|string} path The path of the property to get.
27926
+ * @returns {*} Returns the resolved value.
27927
+ */
27928
+ function baseGet$1(object, path) {
27929
+ path = castPath(path, object);
27930
+
27931
+ var index = 0,
27932
+ length = path.length;
27933
+
27934
+ while (object != null && index < length) {
27935
+ object = object[toKey(path[index++])];
27936
+ }
27937
+ return (index && index == length) ? object : undefined;
27938
+ }
27939
+
27940
+ var _baseGet = baseGet$1;
27941
+
27942
+ var baseGet = _baseGet;
27943
+
27944
+ /**
27945
+ * Gets the value at `path` of `object`. If the resolved value is
27946
+ * `undefined`, the `defaultValue` is returned in its place.
27947
+ *
27948
+ * @static
27949
+ * @memberOf _
27950
+ * @since 3.7.0
27951
+ * @category Object
27952
+ * @param {Object} object The object to query.
27953
+ * @param {Array|string} path The path of the property to get.
27954
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
27955
+ * @returns {*} Returns the resolved value.
27956
+ * @example
27957
+ *
27958
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
27959
+ *
27960
+ * _.get(object, 'a[0].b.c');
27961
+ * // => 3
27962
+ *
27963
+ * _.get(object, ['a', '0', 'b', 'c']);
27964
+ * // => 3
27965
+ *
27966
+ * _.get(object, 'a.b.c', 'default');
27967
+ * // => 'default'
27968
+ */
27969
+ function get(object, path, defaultValue) {
27970
+ var result = object == null ? undefined : baseGet(object, path);
27971
+ return result === undefined ? defaultValue : result;
27972
+ }
27973
+
27974
+ var get_1 = get;
27975
+
27976
+ /**
27977
+ * Checks if `value` is `null` or `undefined`.
27978
+ *
27979
+ * @static
27980
+ * @memberOf _
27981
+ * @since 4.0.0
27982
+ * @category Lang
27983
+ * @param {*} value The value to check.
27984
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
27985
+ * @example
27986
+ *
27987
+ * _.isNil(null);
27988
+ * // => true
27989
+ *
27990
+ * _.isNil(void 0);
27991
+ * // => true
27992
+ *
27993
+ * _.isNil(NaN);
27994
+ * // => false
27995
+ */
27996
+
27997
+ function isNil(value) {
27998
+ return value == null;
27999
+ }
28000
+
28001
+ var isNil_1 = isNil;
28002
+
28003
+ function useListOption(list, nameKey, valueKey, disableList, separator) {
28004
+ if (!list) return [];
28005
+ return list.map((item, index) => {
28006
+ const name = [];
28007
+
28008
+ if (isArray_1(nameKey)) {
28009
+ nameKey.forEach(key => {
28010
+ name.push(get_1(item, key));
28011
+ });
28012
+ } else if (isNil_1(nameKey)) {
28013
+ name.push(item);
28014
+ } else {
28015
+ name.push(get_1(item, nameKey));
28016
+ }
28017
+
28018
+ let value;
28019
+
28020
+ if (isNil_1(valueKey)) {
28021
+ value = item;
28022
+ } else if (isArray_1(valueKey)) {
28023
+ for (let i = 0; i < valueKey.length; i += 1) {
28024
+ const val = get_1(item, valueKey[i]);
28025
+
28026
+ if (val !== undefined) {
28027
+ value = val; // stop loop jika value ada
28028
+
28029
+ break;
28030
+ }
28031
+ }
28032
+ } else {
28033
+ value = get_1(item, valueKey);
28034
+ }
28035
+
28036
+ const isDisabled = disableList ? disableList === null || disableList === void 0 ? void 0 : disableList.includes(value) : false;
28037
+ const label = isFunction_1(separator) ? // @ts-ignore
28038
+ separator(name.length <= 1 ? name[0] : name, item, index) : // @ts-ignore
28039
+ name.join(separator || ' - ');
28040
+ return {
28041
+ name: label,
28042
+ rec: item,
28043
+ value,
28044
+ key: value,
28045
+ isDisabled
28046
+ };
28047
+ });
28048
+ }
28049
+
28050
+ const toggleReducer = (state, nextValue) => typeof nextValue === 'boolean' ? nextValue : !state;
28051
+
28052
+ const useToggle = initialValue => {
28053
+ return useReducer(toggleReducer, initialValue);
28054
+ };
27453
28055
 
27454
- 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, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, 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, StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, 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, TableOfContentPage, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip, UPDATE_PICKER, Upload, YESTERDAY, addOnCellStyle, advancePickerOptions, defaultFetchDataParams, pickerReducer };
28056
+ 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, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, 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, StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, 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, TableOfContentPage, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip, UPDATE_PICKER, Upload, YESTERDAY, addOnCellStyle, advancePickerOptions, defaultFetchDataParams, pickerReducer, useListOption, useToggle };