@majoo-ui/react 1.52.0 → 1.52.2-rc.1

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