@majoo-ui/react 1.61.20-rc.1 → 1.61.20-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -57,7 +57,7 @@ import imageCompressionComponent from 'browser-image-compression';
57
57
  import { useSticky } from 'react-table-sticky';
58
58
  import SignaturePad from 'react-signature-pad-wrapper';
59
59
 
60
- var _jsxFileName$13 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
60
+ var _jsxFileName$13 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
61
61
  function ThemeProvider({
62
62
  name,
63
63
  theme,
@@ -403,10 +403,10 @@ var SHARED = '__core-js_shared__';
403
403
  var store$3 = sharedStore.exports = globalThis$p[SHARED] || defineGlobalProperty$2(SHARED, {});
404
404
 
405
405
  (store$3.versions || (store$3.versions = [])).push({
406
- version: '3.45.1',
406
+ version: '3.44.0',
407
407
  mode: 'global',
408
408
  copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
409
- license: 'https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE',
409
+ license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
410
410
  source: 'https://github.com/zloirock/core-js'
411
411
  });
412
412
 
@@ -1414,7 +1414,7 @@ const applyGlobalStyles = additionaStyles => {
1414
1414
  globalStyles();
1415
1415
  };
1416
1416
 
1417
- var _jsxFileName$12 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1417
+ var _jsxFileName$12 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
1418
1418
  function MajooProvider({
1419
1419
  children,
1420
1420
  name,
@@ -1637,7 +1637,7 @@ function _objectWithoutPropertiesLoose(r, e) {
1637
1637
 
1638
1638
  const _excluded$C = ["children"],
1639
1639
  _excluded2$4 = ["children"];
1640
- var _jsxFileName$11 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/layout/grid/Grid.js";
1640
+ var _jsxFileName$11 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
1641
1641
  const GridComponent = styled('div', {
1642
1642
  display: 'grid',
1643
1643
  variants: {
@@ -1907,7 +1907,7 @@ GridItem.propTypes = {
1907
1907
  GridItem.displayName = 'Grid Item';
1908
1908
 
1909
1909
  const _excluded$B = ["children", "isCollapse", "css", "contentHeader"];
1910
- var _jsxFileName$10 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1910
+ var _jsxFileName$10 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
1911
1911
  const StyledDiv$2 = styled(Flex$1, {
1912
1912
  justifyContent: 'center',
1913
1913
  marginLeft: 'auto',
@@ -2415,7 +2415,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2415
2415
  });
2416
2416
 
2417
2417
  const _excluded$A = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2418
- var _jsxFileName$$ = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/banner/Banner.js";
2418
+ var _jsxFileName$$ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
2419
2419
  const Context$2 = /*#__PURE__*/React.createContext();
2420
2420
  const StyledBanner = styled(Flex$1, {
2421
2421
  maxWidth: '100%',
@@ -3412,7 +3412,7 @@ Card.Label = StyledLabel$2;
3412
3412
  Card.Description = StyledDescription$3;
3413
3413
 
3414
3414
  const _excluded$z = ["children"];
3415
- var _jsxFileName$_ = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3415
+ var _jsxFileName$_ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
3416
3416
  const BreadcrumbStyle = styled('nav', {
3417
3417
  wordWrap: 'break-word',
3418
3418
  '& li+li:before': {
@@ -3732,7 +3732,7 @@ Badge.defaultProps = {
3732
3732
  Badge.displayName = 'Badge';
3733
3733
 
3734
3734
  const _excluded$y = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3735
- var _jsxFileName$Z = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3735
+ var _jsxFileName$Z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
3736
3736
  const StyledAvatar = styled(AvatarPrimitive.Root, {
3737
3737
  width: '32px',
3738
3738
  height: '32px',
@@ -3834,7 +3834,7 @@ Avatar.defaultProps = {
3834
3834
  };
3835
3835
 
3836
3836
  const _excluded$x = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3837
- var _jsxFileName$Y = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/image/Image.js";
3837
+ var _jsxFileName$Y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
3838
3838
  const ContainerFallback = styled(Flex$1, {
3839
3839
  boxSizing: 'border-box',
3840
3840
  border: '2px dashed #C0C4C4',
@@ -4528,7 +4528,7 @@ for (var COLLECTION_NAME in DOMIterables) {
4528
4528
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4529
4529
 
4530
4530
  const _excluded$w = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4531
- var _jsxFileName$X = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4531
+ var _jsxFileName$X = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4532
4532
  const {
4533
4533
  zIndices: zIndices$2
4534
4534
  } = foundations;
@@ -4734,7 +4734,7 @@ Tooltip$1.defaultProps = {
4734
4734
  };
4735
4735
 
4736
4736
  const _excluded$v = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4737
- var _jsxFileName$W = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/progress/Progress.js";
4737
+ var _jsxFileName$W = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4738
4738
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
4739
4739
  position: 'relative',
4740
4740
  overflow: 'hidden',
@@ -5608,7 +5608,7 @@ function useMediaQuery(query) {
5608
5608
  }
5609
5609
 
5610
5610
  const _excluded$u = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5611
- var _jsxFileName$V = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/toast/Toast.js";
5611
+ var _jsxFileName$V = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
5612
5612
  const TOAST_WIDTH = 576;
5613
5613
  const ANIMATION_DURATION = 400;
5614
5614
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5961,7 +5961,7 @@ Toast.defaultProps = {
5961
5961
  };
5962
5962
 
5963
5963
  const _excluded$t = ["preventDuplicate"];
5964
- var _jsxFileName$U = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5964
+ var _jsxFileName$U = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
5965
5965
  const ToastBox = styled(Flex$1, {
5966
5966
  position: 'fixed',
5967
5967
  variants: {
@@ -7311,7 +7311,7 @@ const catchError = e => {
7311
7311
  };
7312
7312
 
7313
7313
  const _excluded$s = ["id", "disabledOfflineIntercept"];
7314
- var _jsxFileName$T = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7314
+ var _jsxFileName$T = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
7315
7315
  let toastCount = 0;
7316
7316
  const ToastProvider = ({
7317
7317
  children,
@@ -7432,7 +7432,7 @@ const ConditionalWrapper = ({
7432
7432
  }) => condition ? wrapper(children) : children;
7433
7433
 
7434
7434
  const _excluded$r = ["count", "maxCount", "css"];
7435
- var _jsxFileName$S = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7435
+ var _jsxFileName$S = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
7436
7436
  const formLabelClassStyle = {
7437
7437
  alignItems: 'start !important',
7438
7438
  '& > div': {
@@ -7583,7 +7583,7 @@ const FormGroup = _ref => {
7583
7583
  FormGroup.displayName = 'FormGroup';
7584
7584
 
7585
7585
  const _excluded$q = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7586
- var _jsxFileName$R = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7586
+ var _jsxFileName$R = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
7587
7587
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
7588
7588
  display: 'inline-block',
7589
7589
  fontSize: '$label',
@@ -7700,7 +7700,7 @@ FormLabel.defaultProps = {
7700
7700
  FormLabel.displayName = 'FormLabel';
7701
7701
 
7702
7702
  const _excluded$p = ["children", "error", "errorMessage"];
7703
- var _jsxFileName$Q = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7703
+ var _jsxFileName$Q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
7704
7704
  const StyledHelper = styled(Text$1, {
7705
7705
  display: 'inline-block',
7706
7706
  color: '$textSecondary',
@@ -7755,7 +7755,7 @@ FormHelper.propTypes = {
7755
7755
  };
7756
7756
  FormHelper.displayName = 'FormHelper';
7757
7757
 
7758
- var _jsxFileName$P = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7758
+ var _jsxFileName$P = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
7759
7759
  const CheckboxContext = /*#__PURE__*/createContext();
7760
7760
  const CheckboxGroup = ({
7761
7761
  children,
@@ -7813,7 +7813,7 @@ CheckboxGroup.defaultProps = {
7813
7813
  };
7814
7814
  CheckboxGroup.displayName = 'CheckboxGroup';
7815
7815
 
7816
- var _jsxFileName$O = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7816
+ var _jsxFileName$O = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
7817
7817
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
7818
7818
  xmlns: "http://www.w3.org/2000/svg",
7819
7819
  xmlSpace: "preserve",
@@ -7860,7 +7860,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
7860
7860
  }
7861
7861
  }));
7862
7862
 
7863
- var _jsxFileName$N = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7863
+ var _jsxFileName$N = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
7864
7864
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7865
7865
  xmlns: "http://www.w3.org/2000/svg",
7866
7866
  xmlSpace: "preserve",
@@ -7908,7 +7908,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
7908
7908
  }));
7909
7909
 
7910
7910
  const _excluded$o = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7911
- var _jsxFileName$M = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7911
+ var _jsxFileName$M = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
7912
7912
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
7913
7913
  alignItems: 'center',
7914
7914
  display: 'flex',
@@ -8069,7 +8069,7 @@ InputCheckbox.propTypes = {
8069
8069
  InputCheckbox.displayName = 'InputCheckbox';
8070
8070
 
8071
8071
  const _excluded$n = ["children", "size"];
8072
- var _jsxFileName$L = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
8072
+ var _jsxFileName$L = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
8073
8073
  const InputGroupStyle = styled('div', {
8074
8074
  display: 'flex',
8075
8075
  width: '100%',
@@ -8239,12 +8239,12 @@ const InputGroup = _ref => {
8239
8239
  }));
8240
8240
  };
8241
8241
  InputGroup.propTypes = {
8242
- /**
8243
- Adjust Input Text Size
8242
+ /**
8243
+ Adjust Input Text Size
8244
8244
  */
8245
8245
  size: PropTypes.oneOf(['sm', 'lg']),
8246
- /**
8247
- Children must be InputText, InputAddon, or InputPrefixes
8246
+ /**
8247
+ Children must be InputText, InputAddon, or InputPrefixes
8248
8248
  */
8249
8249
  children: PropTypes.node.isRequired,
8250
8250
  /** Error state */
@@ -8418,7 +8418,7 @@ InputSuffix.propTypes = {
8418
8418
  };
8419
8419
 
8420
8420
  const _excluded$m = ["disabled", "readOnly"];
8421
- var _jsxFileName$K = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8421
+ var _jsxFileName$K = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
8422
8422
  const disabledStyle = {
8423
8423
  backgroundColor: '$formDisable',
8424
8424
  color: '$textDisable',
@@ -8548,8 +8548,8 @@ const StyledInput$1 = styled('input', {
8548
8548
  }
8549
8549
  }
8550
8550
  },
8551
- /**
8552
- * Please insert size with string 'sm' | 'lg'
8551
+ /**
8552
+ * Please insert size with string 'sm' | 'lg'
8553
8553
  */
8554
8554
  size: {
8555
8555
  sm: {
@@ -8620,7 +8620,7 @@ InputText.propTypes = {
8620
8620
  InputText.displayName = 'InputText';
8621
8621
 
8622
8622
  const _excluded$l = ["disabled", "readOnly"];
8623
- var _jsxFileName$J = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8623
+ var _jsxFileName$J = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
8624
8624
  const StyledTextArea = styled(StyledInput$1, {
8625
8625
  variants: {
8626
8626
  size: {
@@ -8698,7 +8698,7 @@ InputTextArea.defaultProps = {
8698
8698
 
8699
8699
  const InputRadioContext = /*#__PURE__*/React__default.createContext();
8700
8700
 
8701
- var _jsxFileName$I = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8701
+ var _jsxFileName$I = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
8702
8702
  const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
8703
8703
  function InputRadioGroup(props) {
8704
8704
  return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
@@ -8732,7 +8732,7 @@ InputRadioGroup.propTypes = {
8732
8732
  InputRadioGroup.displayName = 'InputRadioGroup';
8733
8733
 
8734
8734
  const _excluded$k = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8735
- var _jsxFileName$H = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8735
+ var _jsxFileName$H = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
8736
8736
  const INDICATOR_BASE_STYLES = {
8737
8737
  alignItems: 'center',
8738
8738
  display: 'flex',
@@ -11099,7 +11099,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
11099
11099
  NumberFormat.defaultProps = defaultProps;
11100
11100
 
11101
11101
  const _excluded$j = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11102
- var _jsxFileName$G = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11102
+ var _jsxFileName$G = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
11103
11103
  const StyledInput = styled(NumberFormat, {
11104
11104
  // Reset
11105
11105
  appearance: 'none',
@@ -11360,7 +11360,7 @@ InputNumber.name = 'InputText';
11360
11360
  InputNumber.displayName = 'InputNumber';
11361
11361
 
11362
11362
  const _excluded$i = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11363
- var _jsxFileName$F = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tag/Tag.js";
11363
+ var _jsxFileName$F = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
11364
11364
  const TagWrapper$4 = styled('div', {
11365
11365
  boxSizing: 'border-box',
11366
11366
  listStyle: 'none',
@@ -11536,7 +11536,7 @@ Tag.defaultProps = {
11536
11536
  };
11537
11537
 
11538
11538
  const _excluded$h = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
11539
- var _jsxFileName$E = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11539
+ var _jsxFileName$E = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
11540
11540
  const Wrapper$2 = styled('div', {
11541
11541
  margin: 0,
11542
11542
  flexDirection: 'column',
@@ -11833,7 +11833,7 @@ TagsInput.defaultProps = {
11833
11833
  };
11834
11834
 
11835
11835
  const _excluded$g = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
11836
- var _jsxFileName$D = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11836
+ var _jsxFileName$D = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
11837
11837
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
11838
11838
  display: 'block',
11839
11839
  width: '16px',
@@ -11938,7 +11938,7 @@ InputSwitch.propTypes = {
11938
11938
  };
11939
11939
  InputSwitch.displayName = 'InputSwitch';
11940
11940
 
11941
- var _jsxFileName$C = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11941
+ var _jsxFileName$C = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
11942
11942
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
11943
11943
  width: props.size,
11944
11944
  height: props.size,
@@ -11997,7 +11997,7 @@ SvgCloseFilled.defaultProps = {
11997
11997
  size: 24
11998
11998
  };
11999
11999
 
12000
- var _jsxFileName$B = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
12000
+ var _jsxFileName$B = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
12001
12001
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
12002
12002
  width: props.size,
12003
12003
  height: props.size,
@@ -12038,7 +12038,7 @@ SvgSearchOutline.defaultProps = {
12038
12038
  };
12039
12039
 
12040
12040
  const _excluded$f = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
12041
- var _jsxFileName$A = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
12041
+ var _jsxFileName$A = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
12042
12042
  const {
12043
12043
  colors: colors$6
12044
12044
  } = foundations;
@@ -12528,7 +12528,7 @@ function isFunction$1(value) {
12528
12528
  var isFunction_1 = isFunction$1;
12529
12529
 
12530
12530
  const _excluded$e = ["children"];
12531
- var _jsxFileName$z = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/popover/Popover.js";
12531
+ var _jsxFileName$z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
12532
12532
  const {
12533
12533
  zIndices: zIndices$1
12534
12534
  } = foundations;
@@ -14105,7 +14105,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
14105
14105
  }), void 0);
14106
14106
  });
14107
14107
 
14108
- var _jsxFileName$y = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
14108
+ var _jsxFileName$y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
14109
14109
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
14110
14110
  xmlns: "http://www.w3.org/2000/svg",
14111
14111
  xmlSpace: "preserve",
@@ -14186,7 +14186,7 @@ function OptionGroupItem({
14186
14186
  }
14187
14187
 
14188
14188
  const _excluded$d = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions", "clearSearchOnSelect", "onItemClick"];
14189
- var _jsxFileName$x = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
14189
+ var _jsxFileName$x = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
14190
14190
  const Wrapper$1 = styled('div', {
14191
14191
  margin: 0,
14192
14192
  flexDirection: 'column',
@@ -15498,7 +15498,7 @@ InputSelectCheck.defaultProps = {
15498
15498
  onItemClick: changes => {}
15499
15499
  };
15500
15500
 
15501
- var _jsxFileName$w = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15501
+ var _jsxFileName$w = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
15502
15502
  const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
15503
15503
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
15504
15504
  ref: ref,
@@ -15559,7 +15559,7 @@ InputSelectTag.defaultProps = {
15559
15559
  defaultValue: []
15560
15560
  };
15561
15561
 
15562
- var _jsxFileName$v = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15562
+ var _jsxFileName$v = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
15563
15563
  const Wrapper = styled('div', {
15564
15564
  margin: 0,
15565
15565
  flexDirection: 'column',
@@ -16687,7 +16687,7 @@ InputCounter.defaultProps = {
16687
16687
 
16688
16688
  const _excluded$c = ["children"],
16689
16689
  _excluded2$3 = ["children", "showOverlay"];
16690
- var _jsxFileName$u = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16690
+ var _jsxFileName$u = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
16691
16691
  const Context$1 = /*#__PURE__*/React__default.createContext();
16692
16692
  const {
16693
16693
  sizes
@@ -17037,7 +17037,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
17037
17037
 
17038
17038
  const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
17039
17039
  _excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
17040
- var _jsxFileName$t = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
17040
+ var _jsxFileName$t = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
17041
17041
  const ScrollButton$1 = styled(Button$4, {
17042
17042
  width: '28px',
17043
17043
  outline: '$btnPrimary solid 1px',
@@ -17524,6 +17524,14 @@ const DateNumber = styled('div', {
17524
17524
  height: 30,
17525
17525
  margin: 'auto'
17526
17526
  },
17527
+ defaultv2: {
17528
+ '&:hover': {
17529
+ backgroundColor: '$green50'
17530
+ }
17531
+ },
17532
+ selectedv2: {
17533
+ backgroundColor: '$green50'
17534
+ },
17527
17535
  start: {
17528
17536
  backgroundColor: '$bgGreen',
17529
17537
  borderRadius: '42px 0px 0px 42px',
@@ -17567,7 +17575,7 @@ const DateNumber = styled('div', {
17567
17575
  });
17568
17576
  DateNumber.displayName = 'DateNumber';
17569
17577
 
17570
- var _jsxFileName$s = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17578
+ var _jsxFileName$s = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
17571
17579
  const Input$3 = styled('input', {
17572
17580
  display: 'none'
17573
17581
  });
@@ -17970,56 +17978,56 @@ const NativeTimePicker = ({
17970
17978
  })));
17971
17979
  };
17972
17980
  NativeTimePicker.propTypes = {
17973
- /**
17974
- Resize time picker.
17981
+ /**
17982
+ Resize time picker.
17975
17983
  */
17976
17984
  size: PropTypes.oneOf(['sm', 'lg']),
17977
- /**
17978
- Change handler.
17985
+ /**
17986
+ Change handler.
17979
17987
  */
17980
17988
  onChange: PropTypes.func,
17981
- /**
17982
- Time picker default value, support moment format.
17989
+ /**
17990
+ Time picker default value, support moment format.
17983
17991
  */
17984
17992
  defaultValue: PropTypes.instanceOf(Date),
17985
- /**
17986
- Time picker value, support moment format.
17993
+ /**
17994
+ Time picker value, support moment format.
17987
17995
  */
17988
17996
  value: PropTypes.instanceOf(Date),
17989
- /**
17990
- Disabled state.
17997
+ /**
17998
+ Disabled state.
17991
17999
  */
17992
18000
  disabled: PropTypes.bool,
17993
- /**
17994
- Disabled hour state.
18001
+ /**
18002
+ Disabled hour state.
17995
18003
  */
17996
18004
  disabledHour: PropTypes.bool,
17997
- /**
17998
- Disabled increase hour state.
18005
+ /**
18006
+ Disabled increase hour state.
17999
18007
  */
18000
18008
  disabledHourIncrease: PropTypes.bool,
18001
- /**
18002
- Disabled decrease hour state.
18009
+ /**
18010
+ Disabled decrease hour state.
18003
18011
  */
18004
18012
  disabledHourDecrease: PropTypes.bool,
18005
- /**
18006
- Disabled minute state.
18013
+ /**
18014
+ Disabled minute state.
18007
18015
  */
18008
18016
  disabledMinute: PropTypes.bool,
18009
- /**
18010
- Disabled increase minute state.
18017
+ /**
18018
+ Disabled increase minute state.
18011
18019
  */
18012
18020
  disabledMinuteIncrease: PropTypes.bool,
18013
- /**
18014
- Disabled decrease minute state.
18021
+ /**
18022
+ Disabled decrease minute state.
18015
18023
  */
18016
18024
  disabledMinuteDecrease: PropTypes.bool,
18017
- /**
18018
- Specify the minimum date.
18025
+ /**
18026
+ Specify the minimum date.
18019
18027
  */
18020
18028
  minDate: PropTypes.instanceOf(Date),
18021
- /**
18022
- Specify the maximum date.
18029
+ /**
18030
+ Specify the maximum date.
18023
18031
  */
18024
18032
  maxDate: PropTypes.instanceOf(Date)
18025
18033
  };
@@ -18076,66 +18084,66 @@ const TimePicker = ({
18076
18084
  };
18077
18085
  TimePicker.displayName = 'TimePicker';
18078
18086
  TimePicker.propTypes = {
18079
- /**
18080
- Additional styles.
18087
+ /**
18088
+ Additional styles.
18081
18089
  */
18082
18090
  css: PropTypes.object,
18083
- /**
18084
- Resize time picker.
18091
+ /**
18092
+ Resize time picker.
18085
18093
  */
18086
18094
  size: PropTypes.oneOf(['sm', 'lg']),
18087
- /**
18088
- Change handler.
18095
+ /**
18096
+ Change handler.
18089
18097
  */
18090
18098
  onChange: PropTypes.func,
18091
- /**
18092
- Time picker default value, support moment format.
18099
+ /**
18100
+ Time picker default value, support moment format.
18093
18101
  */
18094
18102
  defaultValue: PropTypes.instanceOf(Date),
18095
- /**
18096
- Time picker value, support moment format.
18103
+ /**
18104
+ Time picker value, support moment format.
18097
18105
  */
18098
18106
  value: PropTypes.instanceOf(Date),
18099
- /**
18100
- Disabled state.
18107
+ /**
18108
+ Disabled state.
18101
18109
  */
18102
18110
  disabled: PropTypes.bool,
18103
- /**
18104
- Disabled hour state.
18111
+ /**
18112
+ Disabled hour state.
18105
18113
  */
18106
18114
  disabledHour: PropTypes.bool,
18107
- /**
18108
- Disabled increase hour state.
18115
+ /**
18116
+ Disabled increase hour state.
18109
18117
  */
18110
18118
  disabledHourIncrease: PropTypes.bool,
18111
- /**
18112
- Disabled decrease hour state.
18119
+ /**
18120
+ Disabled decrease hour state.
18113
18121
  */
18114
18122
  disabledHourDecrease: PropTypes.bool,
18115
- /**
18116
- Disabled minute state.
18123
+ /**
18124
+ Disabled minute state.
18117
18125
  */
18118
18126
  disabledMinute: PropTypes.bool,
18119
- /**
18120
- Disabled increase minute state.
18127
+ /**
18128
+ Disabled increase minute state.
18121
18129
  */
18122
18130
  disabledMinuteIncrease: PropTypes.bool,
18123
- /**
18124
- Disabled decrease minute state.
18131
+ /**
18132
+ Disabled decrease minute state.
18125
18133
  */
18126
18134
  disabledMinuteDecrease: PropTypes.bool,
18127
- /**
18128
- Specify the minimum date.
18135
+ /**
18136
+ Specify the minimum date.
18129
18137
  */
18130
18138
  minDate: PropTypes.instanceOf(Date),
18131
- /**
18132
- Specify the maximum date.
18139
+ /**
18140
+ Specify the maximum date.
18133
18141
  */
18134
18142
  maxDate: PropTypes.instanceOf(Date)
18135
18143
  };
18136
18144
  NativeTimePicker.displayName = 'NativeTimePicker';
18137
18145
 
18138
- var _jsxFileName$r = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
18146
+ var _jsxFileName$r = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
18139
18147
  const getInputPickerValue$1 = date => {
18140
18148
  if (!date) return;
18141
18149
  return moment(date).format('HH:mm');
@@ -18294,88 +18302,88 @@ InputTimePicker.defaultProps = {
18294
18302
  placeholder: 'Select Time'
18295
18303
  };
18296
18304
  InputTimePicker.propTypes = {
18297
- /**
18298
- Additional styles.
18305
+ /**
18306
+ Additional styles.
18299
18307
  */
18300
18308
  css: PropTypes.object,
18301
- /**
18302
- Disabled state.
18309
+ /**
18310
+ Disabled state.
18303
18311
  */
18304
18312
  disabled: PropTypes.bool,
18305
- /**
18306
- Disabled hour state.
18313
+ /**
18314
+ Disabled hour state.
18307
18315
  */
18308
18316
  disabledHour: PropTypes.bool,
18309
- /**
18310
- Disabled increase hour state.
18317
+ /**
18318
+ Disabled increase hour state.
18311
18319
  */
18312
18320
  disabledHourIncrease: PropTypes.bool,
18313
- /**
18314
- Disabled decrease hour state.
18321
+ /**
18322
+ Disabled decrease hour state.
18315
18323
  */
18316
18324
  disabledHourDecrease: PropTypes.bool,
18317
- /**
18318
- Disabled minute state.
18325
+ /**
18326
+ Disabled minute state.
18319
18327
  */
18320
18328
  disabledMinute: PropTypes.bool,
18321
- /**
18322
- Disabled increase minute state.
18329
+ /**
18330
+ Disabled increase minute state.
18323
18331
  */
18324
18332
  disabledMinuteIncrease: PropTypes.bool,
18325
- /**
18326
- Disabled decrease minute state.
18333
+ /**
18334
+ Disabled decrease minute state.
18327
18335
  */
18328
18336
  disabledMinuteDecrease: PropTypes.bool,
18329
- /**
18330
- ReadOnly state.
18337
+ /**
18338
+ ReadOnly state.
18331
18339
  */
18332
18340
  readOnly: PropTypes.bool,
18333
- /**
18334
- Resize time picker.
18341
+ /**
18342
+ Resize time picker.
18335
18343
  */
18336
18344
  size: PropTypes.oneOf(['sm', 'lg']),
18337
- /**
18338
- Custom placeholder input time picker.
18345
+ /**
18346
+ Custom placeholder input time picker.
18339
18347
  */
18340
18348
  placeholder: PropTypes.string,
18341
- /**
18342
- Time picker default value, support moment format.
18349
+ /**
18350
+ Time picker default value, support moment format.
18343
18351
  */
18344
18352
  defaultValue: PropTypes.instanceOf(Date),
18345
- /**
18346
- Time picker value, support moment format.
18353
+ /**
18354
+ Time picker value, support moment format.
18347
18355
  */
18348
18356
  value: PropTypes.instanceOf(Date),
18349
- /**
18350
- Change handler.
18357
+ /**
18358
+ Change handler.
18351
18359
  */
18352
18360
  onChange: PropTypes.func,
18353
- /**
18354
- Placement popover input time picker.
18361
+ /**
18362
+ Placement popover input time picker.
18355
18363
  */
18356
18364
  placement: PropTypes.string,
18357
- /**
18358
- Specify the minimum date.
18365
+ /**
18366
+ Specify the minimum date.
18359
18367
  */
18360
18368
  minDate: PropTypes.instanceOf(Date),
18361
- /**
18362
- Specify the maximum date.
18369
+ /**
18370
+ Specify the maximum date.
18363
18371
  */
18364
18372
  maxDate: PropTypes.instanceOf(Date),
18365
- /**
18366
- * Invalid state input.
18373
+ /**
18374
+ * Invalid state input.
18367
18375
  */
18368
18376
  isInvalid: PropTypes.bool,
18369
- /**
18370
- If true, the component will rendered on portal element
18377
+ /**
18378
+ If true, the component will rendered on portal element
18371
18379
  */
18372
18380
  portalled: PropTypes.bool,
18373
- /**
18374
- Additional TimePicker styles.
18381
+ /**
18382
+ Additional TimePicker styles.
18375
18383
  */
18376
18384
  contentCss: PropTypes.object,
18377
- /**
18378
- Input open change callback.
18385
+ /**
18386
+ Input open change callback.
18379
18387
  */
18380
18388
  onInputOpenChange: PropTypes.func
18381
18389
  };
@@ -18523,7 +18531,7 @@ const CalendarTimePicker = ({
18523
18531
  }), void 0);
18524
18532
  };
18525
18533
 
18526
- const getVariant$1 = ({
18534
+ const getVariant$2 = ({
18527
18535
  selectable,
18528
18536
  selected,
18529
18537
  date
@@ -18549,7 +18557,7 @@ const getVariant$1 = ({
18549
18557
  }
18550
18558
  return variant;
18551
18559
  };
18552
- const ArrowButton$1 = styled('button', {
18560
+ const ArrowButton$2 = styled('button', {
18553
18561
  all: 'unset',
18554
18562
  size: '32px',
18555
18563
  borderRadius: '$md',
@@ -18574,13 +18582,13 @@ const ArrowButton$1 = styled('button', {
18574
18582
  cursor: 'default'
18575
18583
  }
18576
18584
  });
18577
- const WeekdayBox$1 = styled(Box, {
18585
+ const WeekdayBox$2 = styled(Box, {
18578
18586
  display: 'inline-block',
18579
18587
  width: '32px',
18580
18588
  textAlign: 'center',
18581
18589
  marginBottom: '$spacing-03'
18582
18590
  });
18583
- const CalendarsContainer$1 = styled(Box, {
18591
+ const CalendarsContainer$2 = styled(Box, {
18584
18592
  width: '100%',
18585
18593
  display: 'inline-flex',
18586
18594
  borderRadius: '$lg',
@@ -18598,8 +18606,8 @@ const CalenderBoxContainer = styled(Box, {
18598
18606
  backgroundColor: '$bgWhite',
18599
18607
  padding: '$spacing-03'
18600
18608
  });
18601
- const CalendarItemContainer$1 = styled(Flex$1, {});
18602
- const DateContainer$1 = styled(Box, {
18609
+ const CalendarItemContainer$2 = styled(Flex$1, {});
18610
+ const DateContainer$2 = styled(Box, {
18603
18611
  width: '100%',
18604
18612
  position: 'relative',
18605
18613
  display: 'inline-block',
@@ -18608,7 +18616,7 @@ const DateContainer$1 = styled(Box, {
18608
18616
  width: 'unset'
18609
18617
  }
18610
18618
  });
18611
- const TitleButton$1 = styled('p', {
18619
+ const TitleButton$2 = styled('p', {
18612
18620
  padding: '4px $spacing-05',
18613
18621
  marginTop: 6,
18614
18622
  fontWeight: 600,
@@ -18637,7 +18645,7 @@ const TitleButton$1 = styled('p', {
18637
18645
  }
18638
18646
  }
18639
18647
  });
18640
- const MonthButton$1 = styled(Text$1, {
18648
+ const MonthButton$2 = styled(Text$1, {
18641
18649
  minWidth: '70px',
18642
18650
  textAlign: 'center !important',
18643
18651
  borderRadius: '$md',
@@ -18699,12 +18707,12 @@ styled('button', {
18699
18707
  }
18700
18708
  }
18701
18709
  });
18702
- const DATE_PICKER = 0;
18703
- const MONTH_PICKER = 1;
18704
- const YEAR_PICKER = 2;
18705
- const YEAR_RANGE_PICKER = 3;
18710
+ const DATE_PICKER$1 = 0;
18711
+ const MONTH_PICKER$1 = 1;
18712
+ const YEAR_PICKER$1 = 2;
18713
+ const YEAR_RANGE_PICKER$1 = 3;
18706
18714
  const TIME_PICKER = 4;
18707
- const CalendarBox = ({
18715
+ const CalendarBox$1 = ({
18708
18716
  calendars,
18709
18717
  getDateProps,
18710
18718
  advanceView,
@@ -18731,7 +18739,7 @@ const CalendarBox = ({
18731
18739
  i18n
18732
18740
  } = useTranslation(['MajooUI/datePicker', 'translation']);
18733
18741
  const [pickerState, setPickerState] = useState({
18734
- type: DATE_PICKER,
18742
+ type: DATE_PICKER$1,
18735
18743
  selectedMonth: Number(calendars[0].month),
18736
18744
  selectedYear: Number(calendars[0].year),
18737
18745
  selectedYearRange: getCalendarStartYear(calendars[0].year),
@@ -18760,33 +18768,33 @@ const CalendarBox = ({
18760
18768
  }, [selected, minDate, showTimePicker]);
18761
18769
  const multiDatePicker = calendars.length > 1;
18762
18770
  const renderTitleButton = (index = 0) => {
18763
- return multiDatePicker ? jsxs(TitleButton$1, Object.assign({
18771
+ return multiDatePicker ? jsxs(TitleButton$2, Object.assign({
18764
18772
  onClick: () => {
18765
18773
  if (onIsMultiDateChange) onIsMultiDateChange(false);
18766
18774
  setPickerState(current => Object.assign(Object.assign({}, current), {
18767
- type: MONTH_PICKER
18775
+ type: MONTH_PICKER$1
18768
18776
  }));
18769
18777
  }
18770
18778
  }, {
18771
18779
  children: [monthNamesFull[calendars[index].month], " ", calendars[index].year]
18772
- }), void 0) : jsxs(TitleButton$1, Object.assign({
18780
+ }), void 0) : jsxs(TitleButton$2, Object.assign({
18773
18781
  onClick: () => {
18774
- if (pickerState.type < YEAR_RANGE_PICKER) setPickerState(current => Object.assign(Object.assign({}, current), {
18782
+ if (pickerState.type < YEAR_RANGE_PICKER$1) setPickerState(current => Object.assign(Object.assign({}, current), {
18775
18783
  type: current.type + 1
18776
18784
  }));
18777
18785
  if (pickerState.type === TIME_PICKER) {
18778
18786
  setPickerState(current => Object.assign(Object.assign({}, current), {
18779
- type: DATE_PICKER
18787
+ type: DATE_PICKER$1
18780
18788
  }));
18781
18789
  }
18782
18790
  },
18783
- disabled: disabled || pickerState.type === YEAR_RANGE_PICKER
18791
+ disabled: disabled || pickerState.type === YEAR_RANGE_PICKER$1
18784
18792
  }, {
18785
- children: [pickerState.type === DATE_PICKER && jsxs(Fragment, {
18793
+ children: [pickerState.type === DATE_PICKER$1 && jsxs(Fragment, {
18786
18794
  children: [monthNamesFull[calendars[0].month], " ", calendars[0].year]
18787
- }, void 0), pickerState.type === MONTH_PICKER && pickerState.selectedYear, pickerState.type === YEAR_PICKER && jsxs(Fragment, {
18795
+ }, void 0), pickerState.type === MONTH_PICKER$1 && pickerState.selectedYear, pickerState.type === YEAR_PICKER$1 && jsxs(Fragment, {
18788
18796
  children: [pickerState.selectedYearRange, " - ", pickerState.selectedYearRange + 9]
18789
- }, void 0), pickerState.type === YEAR_RANGE_PICKER && jsxs(Fragment, {
18797
+ }, void 0), pickerState.type === YEAR_RANGE_PICKER$1 && jsxs(Fragment, {
18790
18798
  children: [pickerState.selectedYearRangeStart, " - ", pickerState.selectedYearRangeStart + 99]
18791
18799
  }, void 0), pickerState.type === TIME_PICKER && jsxs(Fragment, {
18792
18800
  children: [selected && moment(selected === null || selected === void 0 ? void 0 : selected[0]).format('DD'), " ", monthNamesFull[calendars[0].month], " ", calendars[0].year]
@@ -18794,15 +18802,15 @@ const CalendarBox = ({
18794
18802
  }), void 0);
18795
18803
  };
18796
18804
  const renderBackButton = () => {
18797
- return jsx(ArrowButton$1, Object.assign({
18805
+ return jsx(ArrowButton$2, Object.assign({
18798
18806
  disabled: disabled,
18799
18807
  onClick: () => {
18800
- if (!minDate || pickerState.type === DATE_PICKER && moment(minDate).isBefore(moment().date(1).month(pickerState.selectedMonth).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(minDate).getFullYear() < pickerState.selectedYear) {
18808
+ if (!minDate || pickerState.type === DATE_PICKER$1 && moment(minDate).isBefore(moment().date(1).month(pickerState.selectedMonth).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER$1 && new Date(minDate).getFullYear() < pickerState.selectedYear) {
18801
18809
  setPickerState(current => Object.assign(Object.assign({}, current), {
18802
- selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth - 1 : current.selectedMonth,
18803
- selectedYear: pickerState.type === MONTH_PICKER ? current.selectedYear - 1 : current.selectedYear,
18804
- selectedYearRange: pickerState.type === YEAR_PICKER ? current.selectedYearRange - 10 : current.selectedYearRange,
18805
- selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER ? current.selectedYearRangeStart - 100 : current.selectedYearRangeStart
18810
+ selectedMonth: pickerState.type === DATE_PICKER$1 ? current.selectedMonth - 1 : current.selectedMonth,
18811
+ selectedYear: pickerState.type === MONTH_PICKER$1 ? current.selectedYear - 1 : current.selectedYear,
18812
+ selectedYearRange: pickerState.type === YEAR_PICKER$1 ? current.selectedYearRange - 10 : current.selectedYearRange,
18813
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER$1 ? current.selectedYearRangeStart - 100 : current.selectedYearRangeStart
18806
18814
  }));
18807
18815
  }
18808
18816
  },
@@ -18814,15 +18822,15 @@ const CalendarBox = ({
18814
18822
  }), void 0);
18815
18823
  };
18816
18824
  const renderForwardButton = () => {
18817
- return jsx(ArrowButton$1, Object.assign({
18825
+ return jsx(ArrowButton$2, Object.assign({
18818
18826
  disabled: disabled,
18819
18827
  onClick: () => {
18820
- if (!maxDate || pickerState.type === DATE_PICKER && moment(maxDate).isAfter(moment().date(1).month(pickerState.selectedMonth + 1).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(maxDate).getFullYear() > pickerState.selectedYear) {
18828
+ if (!maxDate || pickerState.type === DATE_PICKER$1 && moment(maxDate).isAfter(moment().date(1).month(pickerState.selectedMonth + 1).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER$1 && new Date(maxDate).getFullYear() > pickerState.selectedYear) {
18821
18829
  setPickerState(current => Object.assign(Object.assign({}, current), {
18822
- selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth === 11 ? 0 : current.selectedMonth + 1 : current.selectedMonth,
18823
- selectedYear: pickerState.type === MONTH_PICKER && current.selectedYear < 2100 || current.selectedMonth === 11 ? current.selectedYear + 1 : current.selectedYear,
18824
- selectedYearRange: pickerState.type === YEAR_PICKER && current.selectedYearRange < 2091 ? current.selectedYearRange + 10 : current.selectedYearRange,
18825
- selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER && current.selectedYearRangeStart < 2001 ? current.selectedYearRangeStart + 100 : current.selectedYearRangeStart
18830
+ selectedMonth: pickerState.type === DATE_PICKER$1 ? current.selectedMonth === 11 ? 0 : current.selectedMonth + 1 : current.selectedMonth,
18831
+ selectedYear: pickerState.type === MONTH_PICKER$1 && current.selectedYear < 2100 || current.selectedMonth === 11 ? current.selectedYear + 1 : current.selectedYear,
18832
+ selectedYearRange: pickerState.type === YEAR_PICKER$1 && current.selectedYearRange < 2091 ? current.selectedYearRange + 10 : current.selectedYearRange,
18833
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER$1 && current.selectedYearRangeStart < 2001 ? current.selectedYearRangeStart + 100 : current.selectedYearRangeStart
18826
18834
  }));
18827
18835
  }
18828
18836
  },
@@ -18909,7 +18917,7 @@ const CalendarBox = ({
18909
18917
  });
18910
18918
  dateProps = dateProps['disabled'] ? {} : dateProps;
18911
18919
  return jsx(DateNumber, Object.assign({}, dateProps, {
18912
- variant: disabled ? 'disabled' : getVariant$1(dateObj, calendar.month, selected),
18920
+ variant: disabled ? 'disabled' : getVariant$2(dateObj, calendar.month, selected),
18913
18921
  isSunday: date.getDay() === 0
18914
18922
  }, {
18915
18923
  children: date.getDate()
@@ -18927,13 +18935,13 @@ const CalendarBox = ({
18927
18935
  padding: '6px 4px 8px 4px'
18928
18936
  }
18929
18937
  }, {
18930
- children: yearsRangeList.map(range => jsxs(MonthButton$1, Object.assign({
18938
+ children: yearsRangeList.map(range => jsxs(MonthButton$2, Object.assign({
18931
18939
  isSelected: pickerState.selectedYearRange === range.start,
18932
18940
  onClick: () => {
18933
18941
  if ((!maxDate || new Date(maxDate).getFullYear() <= range.end) && (!minDate || new Date(minDate).getFullYear() >= range.start)) {
18934
18942
  setPickerState(current => Object.assign(Object.assign({}, current), {
18935
18943
  selectedYearRange: range.start,
18936
- type: YEAR_PICKER
18944
+ type: YEAR_PICKER$1
18937
18945
  }));
18938
18946
  }
18939
18947
  }
@@ -18953,13 +18961,13 @@ const CalendarBox = ({
18953
18961
  padding: '6px 4px 8px 4px'
18954
18962
  }
18955
18963
  }, {
18956
- children: yearsArray.map((year, index) => jsx(MonthButton$1, Object.assign({
18964
+ children: yearsArray.map((year, index) => jsx(MonthButton$2, Object.assign({
18957
18965
  isSelected: pickerState.selectedYear === year,
18958
18966
  onClick: () => {
18959
18967
  if ((!maxDate || new Date(maxDate).getFullYear() > year - 1) && (!minDate || new Date(minDate).getFullYear() < year + 1)) {
18960
18968
  setPickerState(current => Object.assign(Object.assign({}, current), {
18961
18969
  selectedYear: year,
18962
- type: MONTH_PICKER
18970
+ type: MONTH_PICKER$1
18963
18971
  }));
18964
18972
  }
18965
18973
  }
@@ -18977,14 +18985,14 @@ const CalendarBox = ({
18977
18985
  padding: '6px 4px 8px 4px'
18978
18986
  }
18979
18987
  }, {
18980
- children: monthNamesFull.map((monthName, index) => jsx(MonthButton$1, Object.assign({
18988
+ children: monthNamesFull.map((monthName, index) => jsx(MonthButton$2, Object.assign({
18981
18989
  isSelected: pickerState.selectedMonth === index,
18982
18990
  onClick: () => {
18983
18991
  if ((!minDate || moment(minDate).isBefore(moment().month(index).year(pickerState.selectedYear))) && (!maxDate || moment(maxDate).isAfter(moment().month(index).year(pickerState.selectedYear)))) {
18984
18992
  if (onIsMultiDateChange) onIsMultiDateChange(true);
18985
18993
  setPickerState(current => Object.assign(Object.assign({}, current), {
18986
18994
  selectedMonth: index,
18987
- type: DATE_PICKER
18995
+ type: DATE_PICKER$1
18988
18996
  }));
18989
18997
  }
18990
18998
  }
@@ -18994,7 +19002,7 @@ const CalendarBox = ({
18994
19002
  }), void 0);
18995
19003
  };
18996
19004
  const renderWeekLabel = calendar => {
18997
- return weekdayNamesShort.map(weekday => jsx(WeekdayBox$1, {
19005
+ return weekdayNamesShort.map(weekday => jsx(WeekdayBox$2, {
18998
19006
  children: jsx(Paragraph, Object.assign({
18999
19007
  paragraph: "shortContentBold",
19000
19008
  css: {
@@ -19142,13 +19150,13 @@ const CalendarBox = ({
19142
19150
  };
19143
19151
  if (calendars.length) {
19144
19152
  return jsxs(CalenderBoxContainer, {
19145
- children: [jsxs(CalendarsContainer$1, Object.assign({
19153
+ children: [jsxs(CalendarsContainer$2, Object.assign({
19146
19154
  css: containerStyle
19147
19155
  }, {
19148
19156
  children: [advanceView, advanceView && jsx(Separator$2, {
19149
19157
  orientation: "vertical"
19150
19158
  }, void 0), jsxs(Box, {
19151
- children: [renderHeader(), jsx(CalendarItemContainer$1, Object.assign({
19159
+ children: [renderHeader(), jsx(CalendarItemContainer$2, Object.assign({
19152
19160
  gap: 5
19153
19161
  }, {
19154
19162
  children: calendars.map((calendar, index) => jsxs(React__default.Fragment, {
@@ -19157,19 +19165,19 @@ const CalendarBox = ({
19157
19165
  css: {
19158
19166
  height: 'auto'
19159
19167
  }
19160
- }, void 0), jsxs(DateContainer$1, {
19168
+ }, void 0), jsxs(DateContainer$2, {
19161
19169
  children: [jsx(Separator$2, {
19162
19170
  css: {
19163
19171
  mb: '$spacing-04',
19164
19172
  mt: '$spacing-02'
19165
19173
  }
19166
- }, void 0), pickerState.type === DATE_PICKER && jsxs(Fragment, {
19174
+ }, void 0), pickerState.type === DATE_PICKER$1 && jsxs(Fragment, {
19167
19175
  children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
19168
- }, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
19176
+ }, void 0), pickerState.type === MONTH_PICKER$1 && renderMonthsList(), pickerState.type === YEAR_PICKER$1 && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER$1 && renderYearRangesList()]
19169
19177
  }, void 0)]
19170
19178
  }, `${calendar.month}${calendar.year}`))
19171
19179
  }), void 0)]
19172
- }, void 0), !advanceView && showTimePicker && renderTime(), showTimePicker && pickerState.type === DATE_PICKER && !!advanceView && jsxs(Fragment$1, {
19180
+ }, void 0), !advanceView && showTimePicker && renderTime(), showTimePicker && pickerState.type === DATE_PICKER$1 && !!advanceView && jsxs(Fragment$1, {
19173
19181
  children: [jsx(Separator$2, {
19174
19182
  orientation: "vertical"
19175
19183
  }, void 0), jsx(CalendarTimePicker, Object.assign({}, {
@@ -19186,7 +19194,7 @@ const CalendarBox = ({
19186
19194
  return null;
19187
19195
  };
19188
19196
 
19189
- const getVariant = ({
19197
+ const getVariant$1 = ({
19190
19198
  selectable,
19191
19199
  selected,
19192
19200
  date
@@ -19212,7 +19220,7 @@ const getVariant = ({
19212
19220
  }
19213
19221
  return variant;
19214
19222
  };
19215
- const ArrowButton = styled('button', {
19223
+ const ArrowButton$1 = styled('button', {
19216
19224
  all: 'unset',
19217
19225
  size: '32px',
19218
19226
  borderRadius: '$md',
@@ -19237,7 +19245,7 @@ const ArrowButton = styled('button', {
19237
19245
  cursor: 'default'
19238
19246
  }
19239
19247
  });
19240
- const WeekdayBox = styled(Box, {
19248
+ const WeekdayBox$1 = styled(Box, {
19241
19249
  display: 'inline-block',
19242
19250
  width: '45.5px',
19243
19251
  textAlign: 'center',
@@ -19255,7 +19263,7 @@ const DatePickerContainer = styled(Box, {
19255
19263
  width: 'unset'
19256
19264
  }
19257
19265
  });
19258
- const CalendarsContainer = styled(Box, {
19266
+ const CalendarsContainer$1 = styled(Box, {
19259
19267
  width: '100%',
19260
19268
  overflow: 'auto',
19261
19269
  padding: '$spacing-02 20px $spacing-05',
@@ -19276,11 +19284,11 @@ const CalendarsContainer = styled(Box, {
19276
19284
  display: 'none'
19277
19285
  }
19278
19286
  });
19279
- const CalendarItemContainer = styled(Flex$1, {
19287
+ const CalendarItemContainer$1 = styled(Flex$1, {
19280
19288
  height: '100%',
19281
19289
  paddingBottom: '160px'
19282
19290
  });
19283
- const DateContainer = styled(Box, {
19291
+ const DateContainer$1 = styled(Box, {
19284
19292
  width: '100%',
19285
19293
  position: 'relative',
19286
19294
  display: 'inline-block',
@@ -19295,7 +19303,7 @@ const FooterContainer = styled(Flex$1, {
19295
19303
  boxShadow: '0px -1px 8px rgba(0, 0, 0, 0.12)',
19296
19304
  padding: '$spacing-05 $spacing-04'
19297
19305
  });
19298
- const TitleButton = styled(Heading, {
19306
+ const TitleButton$1 = styled(Heading, {
19299
19307
  padding: '2px $spacing-04',
19300
19308
  color: '$textPrimary',
19301
19309
  '&:hover': {
@@ -19320,7 +19328,7 @@ const TitleButton = styled(Heading, {
19320
19328
  }
19321
19329
  }
19322
19330
  });
19323
- const MonthButton = styled(Text$1, {
19331
+ const MonthButton$1 = styled(Text$1, {
19324
19332
  minWidth: '90px',
19325
19333
  textAlign: 'center !important',
19326
19334
  borderRadius: '$md',
@@ -19380,7 +19388,7 @@ const MobileCalendarBox = ({
19380
19388
  i18n
19381
19389
  } = useTranslation(['MajooUI/datePicker', 'translation']);
19382
19390
  const [pickerState, setPickerState] = useState({
19383
- type: DATE_PICKER,
19391
+ type: DATE_PICKER$1,
19384
19392
  selectedMonth: Number(calendars[0].month),
19385
19393
  selectedYear: Number(calendars[0].year),
19386
19394
  selectedYearRange: getCalendarStartYear(calendars[0].year),
@@ -19405,44 +19413,44 @@ const MobileCalendarBox = ({
19405
19413
  }, [`${pickerState.selectedMonth}/${pickerState.selectedYear}`]);
19406
19414
  const multiDatePicker = calendars.length > 1;
19407
19415
  const renderTitleButton = index => {
19408
- return multiDatePicker ? jsxs(TitleButton, Object.assign({
19416
+ return multiDatePicker ? jsxs(TitleButton$1, Object.assign({
19409
19417
  heading: "sectionTitle",
19410
19418
  onClick: () => {
19411
19419
  if (onIsMultiDateChange) onIsMultiDateChange(false);
19412
19420
  setPickerState(current => Object.assign(Object.assign({}, current), {
19413
- type: MONTH_PICKER
19421
+ type: MONTH_PICKER$1
19414
19422
  }));
19415
19423
  }
19416
19424
  }, {
19417
19425
  children: [monthNamesFull[calendars[index].month], " ", calendars[index].year]
19418
- }), void 0) : jsxs(TitleButton, Object.assign({
19426
+ }), void 0) : jsxs(TitleButton$1, Object.assign({
19419
19427
  heading: "sectionTitle",
19420
19428
  onClick: () => {
19421
- if (pickerState.type < YEAR_RANGE_PICKER) setPickerState(current => Object.assign(Object.assign({}, current), {
19429
+ if (pickerState.type < YEAR_RANGE_PICKER$1) setPickerState(current => Object.assign(Object.assign({}, current), {
19422
19430
  type: current.type + 1
19423
19431
  }));
19424
19432
  },
19425
- disabled: disabled || pickerState.type === YEAR_RANGE_PICKER
19433
+ disabled: disabled || pickerState.type === YEAR_RANGE_PICKER$1
19426
19434
  }, {
19427
- children: [pickerState.type === DATE_PICKER && jsxs(Fragment, {
19435
+ children: [pickerState.type === DATE_PICKER$1 && jsxs(Fragment, {
19428
19436
  children: [monthNamesFull[calendars[0].month], " ", calendars[0].year]
19429
- }, void 0), pickerState.type === MONTH_PICKER && pickerState.selectedYear, pickerState.type === YEAR_PICKER && jsxs(Fragment, {
19437
+ }, void 0), pickerState.type === MONTH_PICKER$1 && pickerState.selectedYear, pickerState.type === YEAR_PICKER$1 && jsxs(Fragment, {
19430
19438
  children: [pickerState.selectedYearRange, " - ", pickerState.selectedYearRange + 9]
19431
- }, void 0), pickerState.type === YEAR_RANGE_PICKER && jsxs(Fragment, {
19439
+ }, void 0), pickerState.type === YEAR_RANGE_PICKER$1 && jsxs(Fragment, {
19432
19440
  children: [pickerState.selectedYearRangeStart, " - ", pickerState.selectedYearRangeStart + 99]
19433
19441
  }, void 0)]
19434
19442
  }), void 0);
19435
19443
  };
19436
19444
  const renderBackButton = () => {
19437
- return jsx(ArrowButton, Object.assign({
19445
+ return jsx(ArrowButton$1, Object.assign({
19438
19446
  disabled: disabled,
19439
19447
  onClick: () => {
19440
- if (!minDate || pickerState.type === DATE_PICKER && moment(minDate).isBefore(moment().date(1).month(pickerState.selectedMonth).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(minDate).getFullYear() < pickerState.selectedYear) {
19448
+ if (!minDate || pickerState.type === DATE_PICKER$1 && moment(minDate).isBefore(moment().date(1).month(pickerState.selectedMonth).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER$1 && new Date(minDate).getFullYear() < pickerState.selectedYear) {
19441
19449
  setPickerState(current => Object.assign(Object.assign({}, current), {
19442
- selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth - 1 : current.selectedMonth,
19443
- selectedYear: pickerState.type === MONTH_PICKER ? current.selectedYear - 1 : current.selectedYear,
19444
- selectedYearRange: pickerState.type === YEAR_PICKER ? current.selectedYearRange - 10 : current.selectedYearRange,
19445
- selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER ? current.selectedYearRangeStart - 100 : current.selectedYearRangeStart
19450
+ selectedMonth: pickerState.type === DATE_PICKER$1 ? current.selectedMonth - 1 : current.selectedMonth,
19451
+ selectedYear: pickerState.type === MONTH_PICKER$1 ? current.selectedYear - 1 : current.selectedYear,
19452
+ selectedYearRange: pickerState.type === YEAR_PICKER$1 ? current.selectedYearRange - 10 : current.selectedYearRange,
19453
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER$1 ? current.selectedYearRangeStart - 100 : current.selectedYearRangeStart
19446
19454
  }));
19447
19455
  }
19448
19456
  },
@@ -19454,15 +19462,15 @@ const MobileCalendarBox = ({
19454
19462
  }), void 0);
19455
19463
  };
19456
19464
  const renderForwardButton = () => {
19457
- return jsx(ArrowButton, Object.assign({
19465
+ return jsx(ArrowButton$1, Object.assign({
19458
19466
  disabled: disabled,
19459
19467
  onClick: () => {
19460
- if (!maxDate || pickerState.type === DATE_PICKER && moment(maxDate).isAfter(moment().date(1).month(pickerState.selectedMonth + 1).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(maxDate).getFullYear() > pickerState.selectedYear) {
19468
+ if (!maxDate || pickerState.type === DATE_PICKER$1 && moment(maxDate).isAfter(moment().date(1).month(pickerState.selectedMonth + 1).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER$1 && new Date(maxDate).getFullYear() > pickerState.selectedYear) {
19461
19469
  setPickerState(current => Object.assign(Object.assign({}, current), {
19462
- selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth + 1 : current.selectedMonth,
19463
- selectedYear: pickerState.type === MONTH_PICKER && current.selectedYear < 2100 ? current.selectedYear + 1 : current.selectedYear,
19464
- selectedYearRange: pickerState.type === YEAR_PICKER && current.selectedYearRange < 2091 ? current.selectedYearRange + 10 : current.selectedYearRange,
19465
- selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER && current.selectedYearRangeStart < 2001 ? current.selectedYearRangeStart + 100 : current.selectedYearRangeStart
19470
+ selectedMonth: pickerState.type === DATE_PICKER$1 ? current.selectedMonth + 1 : current.selectedMonth,
19471
+ selectedYear: pickerState.type === MONTH_PICKER$1 && current.selectedYear < 2100 ? current.selectedYear + 1 : current.selectedYear,
19472
+ selectedYearRange: pickerState.type === YEAR_PICKER$1 && current.selectedYearRange < 2091 ? current.selectedYearRange + 10 : current.selectedYearRange,
19473
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER$1 && current.selectedYearRangeStart < 2001 ? current.selectedYearRangeStart + 100 : current.selectedYearRangeStart
19466
19474
  }));
19467
19475
  }
19468
19476
  },
@@ -19518,7 +19526,7 @@ const MobileCalendarBox = ({
19518
19526
  return jsx(DateNumber, Object.assign({
19519
19527
  size: "small"
19520
19528
  }, dateProps, {
19521
- variant: disabled ? 'disabled' : getVariant(dateObj, calendar.month, selected),
19529
+ variant: disabled ? 'disabled' : getVariant$1(dateObj, calendar.month, selected),
19522
19530
  isSunday: date.getDay() === 0
19523
19531
  }, {
19524
19532
  children: date.getDate()
@@ -19534,13 +19542,13 @@ const MobileCalendarBox = ({
19534
19542
  gridColumnGap: '20px'
19535
19543
  }
19536
19544
  }, {
19537
- children: yearRangesList(pickerState.selectedYearRangeStart).map(range => jsxs(MonthButton, Object.assign({
19545
+ children: yearRangesList(pickerState.selectedYearRangeStart).map(range => jsxs(MonthButton$1, Object.assign({
19538
19546
  isSelected: pickerState.selectedYearRange === range.start,
19539
19547
  onClick: () => {
19540
19548
  if ((!maxDate || new Date(maxDate).getFullYear() <= range.end) && (!minDate || new Date(minDate).getFullYear() >= range.start)) {
19541
19549
  setPickerState(current => Object.assign(Object.assign({}, current), {
19542
19550
  selectedYearRange: range.start,
19543
- type: YEAR_PICKER
19551
+ type: YEAR_PICKER$1
19544
19552
  }));
19545
19553
  }
19546
19554
  }
@@ -19558,6 +19566,476 @@ const MobileCalendarBox = ({
19558
19566
  gridRowGap: '$spacing-06',
19559
19567
  gridColumnGap: '20px'
19560
19568
  }
19569
+ }, {
19570
+ children: yearsArray.map((year, index) => jsx(MonthButton$1, Object.assign({
19571
+ isSelected: pickerState.selectedYear === year,
19572
+ onClick: () => {
19573
+ if ((!maxDate || new Date(maxDate).getFullYear() > year - 1) && (!minDate || new Date(minDate).getFullYear() < year + 1)) {
19574
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19575
+ selectedYear: year,
19576
+ type: MONTH_PICKER$1
19577
+ }));
19578
+ }
19579
+ }
19580
+ }, {
19581
+ children: year
19582
+ }), year))
19583
+ }), void 0);
19584
+ };
19585
+ const renderMonthsList = () => {
19586
+ return jsx(Grid, Object.assign({
19587
+ columns: 3,
19588
+ css: {
19589
+ gridRowGap: '$spacing-06',
19590
+ gridColumnGap: '20px'
19591
+ }
19592
+ }, {
19593
+ children: monthNamesFull.map((monthName, index) => jsx(MonthButton$1, Object.assign({
19594
+ isSelected: pickerState.selectedMonth === index,
19595
+ onClick: () => {
19596
+ if ((!minDate || moment(minDate).isBefore(moment().month(index).year(pickerState.selectedYear))) && (!maxDate || moment(maxDate).isAfter(moment().month(index).year(pickerState.selectedYear)))) {
19597
+ if (onIsMultiDateChange) onIsMultiDateChange(true);
19598
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19599
+ selectedMonth: index,
19600
+ type: DATE_PICKER$1
19601
+ }));
19602
+ }
19603
+ }
19604
+ }, {
19605
+ children: monthName
19606
+ }), monthName))
19607
+ }), void 0);
19608
+ };
19609
+ const renderWeekLabel = calendar => {
19610
+ return jsx(Flex$1, {
19611
+ children: weekdayNamesShort.map(weekday => jsx(WeekdayBox$1, {
19612
+ children: jsx(Paragraph, Object.assign({
19613
+ paragraph: "shortContentBold",
19614
+ css: {
19615
+ color: '$textSecondary',
19616
+ textAlign: 'center !important'
19617
+ }
19618
+ }, {
19619
+ children: weekday
19620
+ }), void 0)
19621
+ }, `${calendar.month}${calendar.year}${weekday}`))
19622
+ }, void 0);
19623
+ };
19624
+ const renderFooter = () => {
19625
+ return jsxs(FooterContainer, Object.assign({
19626
+ direction: "column",
19627
+ justify: "center",
19628
+ gap: 4
19629
+ }, {
19630
+ children: [advanceView && jsxs(Fragment, {
19631
+ children: [jsxs(AdvanceViewToggleButton, Object.assign({
19632
+ gap: 3,
19633
+ align: "center",
19634
+ justify: "between",
19635
+ onClick: () => setExpandAdvanceView(!expandAdvanceView)
19636
+ }, {
19637
+ children: [jsx(Text$1, Object.assign({
19638
+ variant: "contentButton",
19639
+ css: {
19640
+ color: '$textPrimary'
19641
+ }
19642
+ }, {
19643
+ children: t('selectTimeRangeText', 'Pilih Rentang Waktu')
19644
+ }), void 0), expandAdvanceView ? jsx(ChevronDownOutline, {}, void 0) : jsx(ChevronUpOutline, {}, void 0)]
19645
+ }), void 0), expandAdvanceView && advanceView, jsx(Separator$2, {
19646
+ css: {
19647
+ marginBottom: '$spacing-05'
19648
+ }
19649
+ }, void 0)]
19650
+ }, void 0), jsx(Text$1, Object.assign({
19651
+ css: {
19652
+ textAlign: 'center !important'
19653
+ },
19654
+ variant: "status",
19655
+ color: _overMaxRange ? 'red' : selected && selected.length > 1 ? 'primary' : 'disable'
19656
+ }, {
19657
+ children: _overMaxRange ? t('label.maxRangeDate', `Maksimal range adalah ${_maxRange} hari`, {
19658
+ maxRange: _maxRange
19659
+ }) : selected && selected.length > 1 && !disabled ? `${toDateFormat(selected[0], language)} - ${toDateFormat(selected[1], language)}` : t('notSelectedDateText', 'Tanggal belum dipilih')
19660
+ }), void 0), jsxs(Flex$1, Object.assign({
19661
+ gap: 3
19662
+ }, {
19663
+ children: [allowReset ? jsx(Button$4, Object.assign({
19664
+ buttonType: "ghost",
19665
+ size: "md",
19666
+ onClick: onReset,
19667
+ disabled: disabled || !selected || selected.length <= 1,
19668
+ type: "button",
19669
+ block: true
19670
+ }, {
19671
+ children: "Reset"
19672
+ }), void 0) : jsx(Button$4, Object.assign({
19673
+ buttonType: "ghost",
19674
+ size: "md",
19675
+ onClick: onCancel,
19676
+ disabled: disabled,
19677
+ type: "button",
19678
+ block: true
19679
+ }, {
19680
+ children: t('label.cancel', 'Batal', {
19681
+ ns: 'translation'
19682
+ })
19683
+ }), void 0), jsx(Button$4, Object.assign({
19684
+ size: "md",
19685
+ onClick: onUpdate,
19686
+ disabled: disabled || !selected || selected.length <= 1 || _overMaxRange,
19687
+ type: "button",
19688
+ block: true
19689
+ }, {
19690
+ children: t('label.process', 'Proses', {
19691
+ ns: 'translation'
19692
+ })
19693
+ }), void 0)]
19694
+ }), void 0)]
19695
+ }), void 0);
19696
+ };
19697
+ if (calendars.length) {
19698
+ return jsxs(DatePickerContainer, {
19699
+ children: [jsx(CalendarsContainer$1, Object.assign({
19700
+ css: containerStyle
19701
+ }, {
19702
+ children: jsx(CalendarItemContainer$1, Object.assign({
19703
+ direction: "column",
19704
+ gap: 5
19705
+ }, {
19706
+ children: calendars.map((calendar, index) => jsxs(DateContainer$1, {
19707
+ children: [renderHeader(index), jsx(Separator$2, {
19708
+ css: {
19709
+ marginBottom: '$spacing-05'
19710
+ }
19711
+ }, void 0), pickerState.type === DATE_PICKER$1 && jsxs(Fragment, {
19712
+ children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
19713
+ }, void 0), pickerState.type === MONTH_PICKER$1 && renderMonthsList(), pickerState.type === YEAR_PICKER$1 && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER$1 && renderYearRangesList()]
19714
+ }, `${calendar.month}${calendar.year}`))
19715
+ }), void 0)
19716
+ }), void 0), multiDatePicker && renderFooter()]
19717
+ }, void 0);
19718
+ }
19719
+ return null;
19720
+ };
19721
+
19722
+ const getVariant = ({
19723
+ selectable,
19724
+ selected,
19725
+ date
19726
+ }, month, selectedDate) => {
19727
+ let variant = 'defaultv2';
19728
+ if (selected) {
19729
+ variant = 'selectedv2';
19730
+ }
19731
+ if (!selectable) {
19732
+ variant = 'disabled';
19733
+ }
19734
+ if (date.getMonth() !== month) {
19735
+ variant = 'neutral';
19736
+ }
19737
+ return variant;
19738
+ };
19739
+ const ArrowButton = styled('button', {
19740
+ all: 'unset',
19741
+ size: '32px',
19742
+ borderRadius: '$md',
19743
+ backgroundColor: 'transparent',
19744
+ border: 'none',
19745
+ display: 'inline-flex',
19746
+ alignItems: 'center',
19747
+ justifyContent: 'center',
19748
+ color: '$iconPrimary',
19749
+ '&:hover': {
19750
+ backgroundColor: '$bgSuccess',
19751
+ color: '$textGreen'
19752
+ },
19753
+ '&:active': {
19754
+ backgroundColor: '$bgGreen',
19755
+ color: '$bgWhite'
19756
+ },
19757
+ cursor: 'pointer',
19758
+ '&:disabled': {
19759
+ backgroundColor: '$btnDisable',
19760
+ color: '$iconDisable',
19761
+ cursor: 'default'
19762
+ }
19763
+ });
19764
+ const WeekdayBox = styled(Box, {
19765
+ width: '$full',
19766
+ display: 'inline-block',
19767
+ textAlign: 'center',
19768
+ marginBottom: '$spacing-03'
19769
+ });
19770
+ const CalendarsContainer = styled(Box, {
19771
+ width: '100%'
19772
+ });
19773
+ const CalendarItemContainer = styled(Flex$1, {});
19774
+ const DateContainer = styled(Box, {
19775
+ width: '100%',
19776
+ position: 'relative',
19777
+ display: 'inline-block'
19778
+ });
19779
+ const TitleButton = styled('p', {
19780
+ marginTop: 6,
19781
+ fontWeight: 600,
19782
+ fontStyle: 'normal',
19783
+ fontSize: 16,
19784
+ color: '$textPrimary',
19785
+ '&:hover': {
19786
+ backgroundColor: '$bgSuccess',
19787
+ color: '$textGreen'
19788
+ },
19789
+ '&:active': {
19790
+ backgroundColor: '$bgGreen',
19791
+ color: '$bgWhite'
19792
+ },
19793
+ cursor: 'pointer',
19794
+ '&:disabled': {
19795
+ backgroundColor: '$btnDisable',
19796
+ color: '$iconDisable',
19797
+ cursor: 'default'
19798
+ },
19799
+ variants: {
19800
+ disabled: {
19801
+ true: {
19802
+ pointerEvents: 'none'
19803
+ }
19804
+ }
19805
+ }
19806
+ });
19807
+ const MonthButton = styled(Text$1, {
19808
+ minWidth: '70px',
19809
+ textAlign: 'center !important',
19810
+ borderRadius: '$md',
19811
+ padding: '$spacing-03 0',
19812
+ cursor: 'pointer',
19813
+ fontSize: '$label',
19814
+ lineHeight: '$label',
19815
+ letterSpacing: '$label',
19816
+ fontWeight: '400',
19817
+ color: '$textPrimary',
19818
+ '&:hover': {
19819
+ backgroundColor: '$bgSuccess',
19820
+ color: '$textGreen'
19821
+ },
19822
+ '&:active': {
19823
+ backgroundColor: '$bgGreen',
19824
+ color: '$bgWhite'
19825
+ },
19826
+ '&:disabled': {
19827
+ backgroundColor: '$btnDisable',
19828
+ color: '$iconDisable',
19829
+ cursor: 'default'
19830
+ },
19831
+ variants: {
19832
+ isSelected: {
19833
+ true: {
19834
+ backgroundColor: '$bgGreen',
19835
+ color: '$bgWhite'
19836
+ }
19837
+ }
19838
+ }
19839
+ });
19840
+ const DATE_PICKER = 0;
19841
+ const MONTH_PICKER = 1;
19842
+ const YEAR_PICKER = 2;
19843
+ const YEAR_RANGE_PICKER = 3;
19844
+ const CalendarBox = ({
19845
+ calendars,
19846
+ getDateProps,
19847
+ onCalendarDateChange,
19848
+ selected,
19849
+ containerStyle,
19850
+ disabled,
19851
+ minDate,
19852
+ maxDate,
19853
+ disabledDate
19854
+ }) => {
19855
+ const {
19856
+ t,
19857
+ i18n
19858
+ } = useTranslation(['MajooUI/datePicker', 'translation']);
19859
+ const [pickerState, setPickerState] = useState({
19860
+ type: DATE_PICKER,
19861
+ selectedMonth: Number(calendars[0].month),
19862
+ selectedYear: Number(calendars[0].year),
19863
+ selectedYearRange: getCalendarStartYear(calendars[0].year),
19864
+ selectedYearRangeStart: getCalendarStartYearRange(calendars[0].year)
19865
+ });
19866
+ const language = i18n.language;
19867
+ const monthNamesFull = language === 'en' ? monthNamesFullEng : monthNamesFullId;
19868
+ const weekdayNamesShort = language === 'en' ? weekdayNamesShortEng : weekdayNamesShortId;
19869
+ useEffect(() => {
19870
+ const selectedDate = new Date(pickerState.selectedYear, pickerState.selectedMonth, 1, 0);
19871
+ if (pickerState.selectedMonth < 0) {
19872
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19873
+ selectedMonth: selectedDate.getMonth(),
19874
+ selectedYear: selectedDate.getFullYear(),
19875
+ selectedYearRange: getCalendarStartYear(selectedDate.getFullYear()),
19876
+ selectedYearRangeStart: getCalendarStartYearRange(selectedDate.getFullYear())
19877
+ }));
19878
+ } else {
19879
+ onCalendarDateChange(selectedDate);
19880
+ }
19881
+ }, [`${pickerState.selectedMonth}/${pickerState.selectedYear}`]);
19882
+ const multiDatePicker = calendars.length > 1;
19883
+ const renderTitleButton = (index = 0) => {
19884
+ return multiDatePicker ? jsxs(TitleButton, Object.assign({
19885
+ onClick: () => {
19886
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19887
+ type: MONTH_PICKER
19888
+ }));
19889
+ }
19890
+ }, {
19891
+ children: [monthNamesFull[calendars[index].month], " ", calendars[index].year]
19892
+ }), void 0) : jsxs(TitleButton, Object.assign({
19893
+ onClick: () => {
19894
+ if (pickerState.type < YEAR_RANGE_PICKER) setPickerState(current => Object.assign(Object.assign({}, current), {
19895
+ type: current.type + 1
19896
+ }));
19897
+ },
19898
+ disabled: disabled || pickerState.type === YEAR_RANGE_PICKER
19899
+ }, {
19900
+ children: [pickerState.type === DATE_PICKER && jsxs(Fragment, {
19901
+ children: [monthNamesFull[calendars[0].month], " ", calendars[0].year]
19902
+ }, void 0), pickerState.type === MONTH_PICKER && pickerState.selectedYear, pickerState.type === YEAR_PICKER && jsxs(Fragment, {
19903
+ children: [pickerState.selectedYearRange, " - ", pickerState.selectedYearRange + 9]
19904
+ }, void 0), pickerState.type === YEAR_RANGE_PICKER && jsxs(Fragment, {
19905
+ children: [pickerState.selectedYearRangeStart, " - ", pickerState.selectedYearRangeStart + 99]
19906
+ }, void 0)]
19907
+ }), void 0);
19908
+ };
19909
+ const renderBackButton = () => {
19910
+ return jsx(ArrowButton, Object.assign({
19911
+ disabled: disabled,
19912
+ onClick: () => {
19913
+ if (!minDate || pickerState.type === DATE_PICKER && moment(minDate).isBefore(moment().date(1).month(pickerState.selectedMonth).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(minDate).getFullYear() < pickerState.selectedYear) {
19914
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19915
+ selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth - 1 : current.selectedMonth,
19916
+ selectedYear: pickerState.type === MONTH_PICKER ? current.selectedYear - 1 : current.selectedYear,
19917
+ selectedYearRange: pickerState.type === YEAR_PICKER ? current.selectedYearRange - 10 : current.selectedYearRange,
19918
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER ? current.selectedYearRangeStart - 100 : current.selectedYearRangeStart
19919
+ }));
19920
+ }
19921
+ },
19922
+ type: "button"
19923
+ }, {
19924
+ children: jsx(ChevronLeftOutline, {
19925
+ color: "currentColor"
19926
+ }, void 0)
19927
+ }), void 0);
19928
+ };
19929
+ const renderForwardButton = () => {
19930
+ return jsx(ArrowButton, Object.assign({
19931
+ disabled: disabled,
19932
+ onClick: () => {
19933
+ if (!maxDate || pickerState.type === DATE_PICKER && moment(maxDate).isAfter(moment().date(1).month(pickerState.selectedMonth + 1).year(pickerState.selectedYear)) || pickerState.type === MONTH_PICKER && new Date(maxDate).getFullYear() > pickerState.selectedYear) {
19934
+ setPickerState(current => Object.assign(Object.assign({}, current), {
19935
+ selectedMonth: pickerState.type === DATE_PICKER ? current.selectedMonth === 11 ? 0 : current.selectedMonth + 1 : current.selectedMonth,
19936
+ selectedYear: pickerState.type === MONTH_PICKER && current.selectedYear < 2100 || current.selectedMonth === 11 ? current.selectedYear + 1 : current.selectedYear,
19937
+ selectedYearRange: pickerState.type === YEAR_PICKER && current.selectedYearRange < 2091 ? current.selectedYearRange + 10 : current.selectedYearRange,
19938
+ selectedYearRangeStart: pickerState.type === YEAR_RANGE_PICKER && current.selectedYearRangeStart < 2001 ? current.selectedYearRangeStart + 100 : current.selectedYearRangeStart
19939
+ }));
19940
+ }
19941
+ },
19942
+ type: "button"
19943
+ }, {
19944
+ children: jsx(ChevronRightOutline, {
19945
+ color: "currentColor"
19946
+ }, void 0)
19947
+ }), void 0);
19948
+ };
19949
+ const renderHeader = () => {
19950
+ return jsxs(Flex$1, Object.assign({
19951
+ justify: "between",
19952
+ align: "baseline",
19953
+ css: {
19954
+ height: '32px'
19955
+ }
19956
+ }, {
19957
+ children: [renderTitleButton(), jsxs(Flex$1, Object.assign({
19958
+ align: "center",
19959
+ gap: 3
19960
+ }, {
19961
+ children: [renderBackButton(), renderForwardButton()]
19962
+ }), void 0)]
19963
+ }), void 0);
19964
+ };
19965
+ const renderDateNumber = calendar => {
19966
+ return jsxs(Grid, Object.assign({
19967
+ columns: 7,
19968
+ css: {
19969
+ gridRowGap: '$spacing-02'
19970
+ }
19971
+ }, {
19972
+ children: [renderWeekLabel(calendar), calendar.weeks.map((week, weekIndex) => week.map((dateObj, index) => {
19973
+ const key = `${calendar.month}${calendar.year}${weekIndex}${index}`;
19974
+ if (!dateObj) {
19975
+ return jsx("div", {
19976
+ style: {
19977
+ display: 'inline-block',
19978
+ width: '32px',
19979
+ border: 'none',
19980
+ background: 'transparent'
19981
+ }
19982
+ }, key);
19983
+ }
19984
+ const {
19985
+ date
19986
+ } = dateObj;
19987
+ let findDisabledDate = (disabledDate || []).find(x => x.getTime() === date.getTime());
19988
+ let dateProps = disabled ? {} : getDateProps({
19989
+ dateObj
19990
+ });
19991
+ dateProps = dateProps['disabled'] ? {} : dateProps;
19992
+ return jsx(DateNumber, Object.assign({}, dateProps, {
19993
+ variant: disabled || findDisabledDate ? 'disabled' : getVariant(dateObj, calendar.month),
19994
+ isSunday: date.getDay() === 0,
19995
+ css: {
19996
+ width: '$full'
19997
+ }
19998
+ }, {
19999
+ children: date.getDate()
20000
+ }), key);
20001
+ }))]
20002
+ }), void 0);
20003
+ };
20004
+ const renderYearRangesList = () => {
20005
+ const yearsRangeList = yearRangesList(pickerState.selectedYearRangeStart);
20006
+ return jsx(Grid, Object.assign({
20007
+ columns: 3,
20008
+ css: {
20009
+ gridRowGap: '$spacing-05',
20010
+ gridColumnGap: '$spacing-04',
20011
+ padding: '6px 4px 8px 4px'
20012
+ }
20013
+ }, {
20014
+ children: yearsRangeList.map(range => jsxs(MonthButton, Object.assign({
20015
+ isSelected: pickerState.selectedYearRange === range.start,
20016
+ onClick: () => {
20017
+ if ((!maxDate || new Date(maxDate).getFullYear() <= range.end) && (!minDate || new Date(minDate).getFullYear() >= range.start)) {
20018
+ setPickerState(current => Object.assign(Object.assign({}, current), {
20019
+ selectedYearRange: range.start,
20020
+ type: YEAR_PICKER
20021
+ }));
20022
+ }
20023
+ }
20024
+ }, {
20025
+ children: [range.start, "-", range.end]
20026
+ }), range.start))
20027
+ }), void 0);
20028
+ };
20029
+ const renderYearsList = () => {
20030
+ const startYear = pickerState.selectedYearRange;
20031
+ const yearsArray = Array.from(new Array(10), (val, index) => index + startYear);
20032
+ return jsx(Grid, Object.assign({
20033
+ columns: 3,
20034
+ css: {
20035
+ gridRowGap: '$spacing-05',
20036
+ gridColumnGap: '$spacing-04',
20037
+ padding: '6px 4px 8px 4px'
20038
+ }
19561
20039
  }, {
19562
20040
  children: yearsArray.map((year, index) => jsx(MonthButton, Object.assign({
19563
20041
  isSelected: pickerState.selectedYear === year,
@@ -19578,15 +20056,15 @@ const MobileCalendarBox = ({
19578
20056
  return jsx(Grid, Object.assign({
19579
20057
  columns: 3,
19580
20058
  css: {
19581
- gridRowGap: '$spacing-06',
19582
- gridColumnGap: '20px'
20059
+ gridRowGap: '$spacing-05',
20060
+ gridColumnGap: '$spacing-04',
20061
+ padding: '6px 4px 8px 4px'
19583
20062
  }
19584
20063
  }, {
19585
20064
  children: monthNamesFull.map((monthName, index) => jsx(MonthButton, Object.assign({
19586
20065
  isSelected: pickerState.selectedMonth === index,
19587
20066
  onClick: () => {
19588
20067
  if ((!minDate || moment(minDate).isBefore(moment().month(index).year(pickerState.selectedYear))) && (!maxDate || moment(maxDate).isAfter(moment().month(index).year(pickerState.selectedYear)))) {
19589
- if (onIsMultiDateChange) onIsMultiDateChange(true);
19590
20068
  setPickerState(current => Object.assign(Object.assign({}, current), {
19591
20069
  selectedMonth: index,
19592
20070
  type: DATE_PICKER
@@ -19599,114 +20077,45 @@ const MobileCalendarBox = ({
19599
20077
  }), void 0);
19600
20078
  };
19601
20079
  const renderWeekLabel = calendar => {
19602
- return jsx(Flex$1, {
19603
- children: weekdayNamesShort.map(weekday => jsx(WeekdayBox, {
19604
- children: jsx(Paragraph, Object.assign({
19605
- paragraph: "shortContentBold",
19606
- css: {
19607
- color: '$textSecondary',
19608
- textAlign: 'center !important'
19609
- }
19610
- }, {
19611
- children: weekday
19612
- }), void 0)
19613
- }, `${calendar.month}${calendar.year}${weekday}`))
19614
- }, void 0);
19615
- };
19616
- const renderFooter = () => {
19617
- return jsxs(FooterContainer, Object.assign({
19618
- direction: "column",
19619
- justify: "center",
19620
- gap: 4
19621
- }, {
19622
- children: [advanceView && jsxs(Fragment, {
19623
- children: [jsxs(AdvanceViewToggleButton, Object.assign({
19624
- gap: 3,
19625
- align: "center",
19626
- justify: "between",
19627
- onClick: () => setExpandAdvanceView(!expandAdvanceView)
19628
- }, {
19629
- children: [jsx(Text$1, Object.assign({
19630
- variant: "contentButton",
19631
- css: {
19632
- color: '$textPrimary'
19633
- }
19634
- }, {
19635
- children: t('selectTimeRangeText', 'Pilih Rentang Waktu')
19636
- }), void 0), expandAdvanceView ? jsx(ChevronDownOutline, {}, void 0) : jsx(ChevronUpOutline, {}, void 0)]
19637
- }), void 0), expandAdvanceView && advanceView, jsx(Separator$2, {
19638
- css: {
19639
- marginBottom: '$spacing-05'
19640
- }
19641
- }, void 0)]
19642
- }, void 0), jsx(Text$1, Object.assign({
20080
+ return weekdayNamesShort.map(weekday => jsx(WeekdayBox, {
20081
+ children: jsx(Paragraph, Object.assign({
20082
+ paragraph: "shortContentBold",
19643
20083
  css: {
20084
+ color: '$textSecondary',
20085
+ fontSize: '$label',
19644
20086
  textAlign: 'center !important'
19645
- },
19646
- variant: "status",
19647
- color: _overMaxRange ? 'red' : selected && selected.length > 1 ? 'primary' : 'disable'
19648
- }, {
19649
- children: _overMaxRange ? t('label.maxRangeDate', `Maksimal range adalah ${_maxRange} hari`, {
19650
- maxRange: _maxRange
19651
- }) : selected && selected.length > 1 && !disabled ? `${toDateFormat(selected[0], language)} - ${toDateFormat(selected[1], language)}` : t('notSelectedDateText', 'Tanggal belum dipilih')
19652
- }), void 0), jsxs(Flex$1, Object.assign({
19653
- gap: 3
20087
+ }
19654
20088
  }, {
19655
- children: [allowReset ? jsx(Button$4, Object.assign({
19656
- buttonType: "ghost",
19657
- size: "md",
19658
- onClick: onReset,
19659
- disabled: disabled || !selected || selected.length <= 1,
19660
- type: "button",
19661
- block: true
19662
- }, {
19663
- children: "Reset"
19664
- }), void 0) : jsx(Button$4, Object.assign({
19665
- buttonType: "ghost",
19666
- size: "md",
19667
- onClick: onCancel,
19668
- disabled: disabled,
19669
- type: "button",
19670
- block: true
19671
- }, {
19672
- children: t('label.cancel', 'Batal', {
19673
- ns: 'translation'
19674
- })
19675
- }), void 0), jsx(Button$4, Object.assign({
19676
- size: "md",
19677
- onClick: onUpdate,
19678
- disabled: disabled || !selected || selected.length <= 1 || _overMaxRange,
19679
- type: "button",
19680
- block: true
19681
- }, {
19682
- children: t('label.process', 'Proses', {
19683
- ns: 'translation'
19684
- })
19685
- }), void 0)]
19686
- }), void 0)]
19687
- }), void 0);
20089
+ children: weekday
20090
+ }), void 0)
20091
+ }, `${calendar.month}${calendar.year}${weekday}`));
19688
20092
  };
19689
20093
  if (calendars.length) {
19690
- return jsxs(DatePickerContainer, {
19691
- children: [jsx(CalendarsContainer, Object.assign({
19692
- css: containerStyle
19693
- }, {
19694
- children: jsx(CalendarItemContainer, Object.assign({
19695
- direction: "column",
20094
+ return jsx(CalendarsContainer, Object.assign({
20095
+ css: containerStyle
20096
+ }, {
20097
+ children: jsxs(Box, {
20098
+ children: [renderHeader(), jsx(CalendarItemContainer, Object.assign({
19696
20099
  gap: 5
19697
20100
  }, {
19698
- children: calendars.map((calendar, index) => jsxs(DateContainer, {
19699
- children: [renderHeader(index), jsx(Separator$2, {
20101
+ children: calendars.map((calendar, index) => jsxs(React__default.Fragment, {
20102
+ children: [index > 0 && jsx(Separator$2, {
20103
+ orientation: "vertical",
19700
20104
  css: {
19701
- marginBottom: '$spacing-05'
20105
+ height: 'auto'
19702
20106
  }
19703
- }, void 0), pickerState.type === DATE_PICKER && jsxs(Fragment, {
19704
- children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
19705
- }, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
20107
+ }, void 0), jsxs(DateContainer, {
20108
+ children: [jsx(Separator$2, {
20109
+ css: {
20110
+ mb: '$spacing-04',
20111
+ mt: '$spacing-02'
20112
+ }
20113
+ }, void 0), pickerState.type === DATE_PICKER && renderDateNumber(calendar), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
20114
+ }, void 0)]
19706
20115
  }, `${calendar.month}${calendar.year}`))
19707
- }), void 0)
19708
- }), void 0), multiDatePicker && renderFooter()]
19709
- }, void 0);
20116
+ }), void 0)]
20117
+ }, void 0)
20118
+ }), void 0);
19710
20119
  }
19711
20120
  return null;
19712
20121
  };
@@ -19774,7 +20183,7 @@ const CalendarPicker = _a => {
19774
20183
  onChange(dateValue);
19775
20184
  }
19776
20185
  }, [dateValue]);
19777
- return jsx(CalendarBox, Object.assign({
20186
+ return jsx(CalendarBox$1, Object.assign({
19778
20187
  onUpdate: isMultiDatePicker || showTimePicker ? updateHandler : undefined,
19779
20188
  onCancel: onClose,
19780
20189
  selected: dateValue ? [dateValue] : undefined,
@@ -19909,7 +20318,7 @@ const CalendarRangePicker = _a => {
19909
20318
  onReset: isMultiDatePicker ? resetHandler : undefined,
19910
20319
  maxRange: maxRange,
19911
20320
  overMaxRange: overMaxRange
19912
- }, dayzedData), void 0) : jsx(CalendarBox, Object.assign({
20321
+ }, dayzedData), void 0) : jsx(CalendarBox$1, Object.assign({
19913
20322
  onUpdate: isMultiDatePicker ? updateHandler : undefined,
19914
20323
  onCancel: onClose,
19915
20324
  selected: dateValue,
@@ -20781,6 +21190,60 @@ function CustomDatePicker({
20781
21190
  }, void 0);
20782
21191
  }
20783
21192
 
21193
+ const DatePickerMulti = _a => {
21194
+ var {
21195
+ onChange,
21196
+ onClose,
21197
+ selected,
21198
+ disabled,
21199
+ minDate,
21200
+ maxDate
21201
+ } = _a,
21202
+ props = __rest(_a, ["onChange", "onClose", "selected", "disabled", "minDate", "maxDate"]);
21203
+ const today = new Date();
21204
+ const nowMonth = new Date(today.getFullYear(), today.getMonth(), 1, 0);
21205
+ let initMonth = nowMonth;
21206
+ if (selected && selected.length > 1) {
21207
+ const selectedMonthStart = new Date(selected[0].getFullYear(), selected[0].getMonth(), 1, 0);
21208
+ if (selectedMonthStart > nowMonth) initMonth = selectedMonthStart;
21209
+ }
21210
+ const [dateValue, setDateValue] = useState(selected) || [];
21211
+ const [calendarDate, setCalendarDate] = useState(initMonth);
21212
+ const onDateSelected = ({
21213
+ date
21214
+ }) => {
21215
+ let newDate = [];
21216
+ if ((dateValue || []).find(x => x.getTime() === date.getTime())) {
21217
+ newDate = (dateValue || []).filter(x => x.getTime() !== date.getTime());
21218
+ } else {
21219
+ newDate = [...(dateValue || []), date];
21220
+ }
21221
+ setDateValue(newDate);
21222
+ if (onChange) onChange(newDate);
21223
+ };
21224
+ const dayzedData = useDayzed(Object.assign(Object.assign({}, props), {
21225
+ date: calendarDate,
21226
+ selected: dateValue,
21227
+ monthsToDisplay: 1,
21228
+ showOutsideDays: false,
21229
+ onDateSelected,
21230
+ minDate,
21231
+ maxDate
21232
+ }));
21233
+ useMountedLayoutEffect(() => {
21234
+ if (selected) {
21235
+ setDateValue(selected);
21236
+ }
21237
+ }, [selected]);
21238
+ return jsx(CalendarBox, Object.assign({
21239
+ selected: dateValue,
21240
+ disabled: disabled,
21241
+ onCalendarDateChange: setCalendarDate,
21242
+ minDate: minDate,
21243
+ maxDate: maxDate
21244
+ }, dayzedData), void 0);
21245
+ };
21246
+
20784
21247
  const InputDateRange = /*#__PURE__*/React.forwardRef((_a, ref) => {
20785
21248
  var {
20786
21249
  onChange,
@@ -20993,7 +21456,7 @@ function InputSignature({
20993
21456
  }
20994
21457
 
20995
21458
  const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
20996
- var _jsxFileName$q = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/slider/Slider.js";
21459
+ var _jsxFileName$q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
20997
21460
  const StyledSlider = styled$1(SliderPrimitive.Root, {
20998
21461
  position: 'relative',
20999
21462
  display: 'flex',
@@ -21337,7 +21800,7 @@ Slider.defaultProps = {
21337
21800
  };
21338
21801
 
21339
21802
  const _excluded$9 = ["className", "children", "onClick", "type", "size"];
21340
- var _jsxFileName$p = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
21803
+ var _jsxFileName$p = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
21341
21804
  const TagWrapper$1 = styled('div', {
21342
21805
  boxSizing: 'border-box',
21343
21806
  fontSize: '12px',
@@ -21500,7 +21963,7 @@ const _excluded$8 = ["children"],
21500
21963
  _excluded2$1 = ["children", "activeTabs"],
21501
21964
  _excluded3$1 = ["children", "icon", "activeTabs", "value"],
21502
21965
  _excluded4$1 = ["activeTabs"];
21503
- var _jsxFileName$o = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21966
+ var _jsxFileName$o = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
21504
21967
  const StyledTabs = styled(TabsPrimitive.Root, {
21505
21968
  display: 'flex',
21506
21969
  flexDirection: 'column',
@@ -21839,7 +22302,7 @@ TabsContent$1.propTypes = {
21839
22302
  };
21840
22303
 
21841
22304
  const _excluded$7 = ["children", "variantIcon"];
21842
- var _jsxFileName$n = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
22305
+ var _jsxFileName$n = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
21843
22306
  const NotificationBadgeRootStyle = styled('span', {
21844
22307
  position: 'relative',
21845
22308
  display: 'inline-flex',
@@ -21994,7 +22457,7 @@ NotificationBadge.propTypes = {
21994
22457
  };
21995
22458
 
21996
22459
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
21997
- var _jsxFileName$m = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/paper/Paper.js";
22460
+ var _jsxFileName$m = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
21998
22461
  const PaperComponent = styled('div', {
21999
22462
  padding: '20px',
22000
22463
  height: 'auto',
@@ -22247,7 +22710,7 @@ const removeUndefinedFields = obj => {
22247
22710
  };
22248
22711
 
22249
22712
  const _excluded$5 = ["isActive", "onClick"];
22250
- var _jsxFileName$l = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
22713
+ var _jsxFileName$l = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
22251
22714
  const PrevNextButton = styled(Text$1, {
22252
22715
  padding: '$spacing-01',
22253
22716
  cursor: 'pointer',
@@ -22741,7 +23204,7 @@ const PaginationButton = ({
22741
23204
  };
22742
23205
 
22743
23206
  const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
22744
- var _jsxFileName$k = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
23207
+ var _jsxFileName$k = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
22745
23208
  const LimitContainer = styled(Flex$1, {
22746
23209
  cursor: 'pointer'
22747
23210
  });
@@ -22976,7 +23439,7 @@ function PaginationInfo(_ref) {
22976
23439
  }
22977
23440
 
22978
23441
  const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
22979
- var _jsxFileName$j = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/pagination/Pagination.js";
23442
+ var _jsxFileName$j = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
22980
23443
  function Pagination(_ref) {
22981
23444
  let {
22982
23445
  limit,
@@ -23850,7 +24313,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
23850
24313
  });
23851
24314
  ScrollSyncNode.displayName = 'ScrollSyncNode';
23852
24315
 
23853
- var _jsxFileName$i = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
24316
+ var _jsxFileName$i = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowDraggableColumn.js";
23854
24317
  const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
23855
24318
  icon: true,
23856
24319
  size: "xs",
@@ -25346,7 +25809,7 @@ const TableColumn = _a => {
25346
25809
  return jsx("div", {}, void 0);
25347
25810
  };
25348
25811
 
25349
- var _jsxFileName$h = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
25812
+ var _jsxFileName$h = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
25350
25813
  const DateColumn = ({
25351
25814
  value,
25352
25815
  customFormat
@@ -25458,7 +25921,7 @@ const PriceColumn = props => {
25458
25921
  return addThousandSeparator(param);
25459
25922
  };
25460
25923
 
25461
- var _jsxFileName$g = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
25924
+ var _jsxFileName$g = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
25462
25925
  const rowExpanderColumn = {
25463
25926
  id: 'expander',
25464
25927
  Header: () => null,
@@ -25501,7 +25964,7 @@ const rowExpanderColumn = {
25501
25964
  unsortable: true
25502
25965
  };
25503
25966
 
25504
- var _jsxFileName$f = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25967
+ var _jsxFileName$f = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderMultipleColumn.js";
25505
25968
  const rowExpanderMultipleColumn = {
25506
25969
  id: 'multiple-expander',
25507
25970
  Header: () => null,
@@ -25537,7 +26000,7 @@ const rowExpanderMultipleColumn = {
25537
26000
  unsortable: true
25538
26001
  };
25539
26002
 
25540
- var _jsxFileName$e = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
26003
+ var _jsxFileName$e = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
25541
26004
  const rowMenuColumn = (options, icon, config) => ({
25542
26005
  id: 'menu',
25543
26006
  options,
@@ -25674,7 +26137,7 @@ const rowMenuColumn = (options, icon, config) => ({
25674
26137
  unsortable: true
25675
26138
  });
25676
26139
 
25677
- var _jsxFileName$d = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
26140
+ var _jsxFileName$d = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
25678
26141
  const rowSelectionColumn = {
25679
26142
  id: 'selection',
25680
26143
  Header: ({
@@ -25723,7 +26186,7 @@ const rowSelectionColumn = {
25723
26186
  unsortable: true
25724
26187
  };
25725
26188
 
25726
- var _jsxFileName$c = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
26189
+ var _jsxFileName$c = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionCallbackColumn.js";
25727
26190
  const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
25728
26191
  id: 'selection',
25729
26192
  Header: ({
@@ -26061,7 +26524,7 @@ PageDialog.defaultProps = {
26061
26524
  };
26062
26525
 
26063
26526
  const _excluded$2 = ["children"];
26064
- var _jsxFileName$b = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
26527
+ var _jsxFileName$b = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
26065
26528
  const overlayShow = keyframes({
26066
26529
  '0%': {
26067
26530
  opacity: 0
@@ -26697,7 +27160,7 @@ const _excluded$1 = ["side", "align", "children"],
26697
27160
  _excluded2 = ["theme"],
26698
27161
  _excluded3 = ["children"],
26699
27162
  _excluded4 = ["asChild"];
26700
- var _jsxFileName$a = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
27163
+ var _jsxFileName$a = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
26701
27164
  const Context = /*#__PURE__*/React__default.createContext();
26702
27165
  const slideUpAndFade = keyframes({
26703
27166
  '0%': {
@@ -28974,7 +29437,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
28974
29437
  }
28975
29438
 
28976
29439
  const _excluded = ["customPreviewIcon"];
28977
- var _jsxFileName$9 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/upload/Upload.js";
29440
+ var _jsxFileName$9 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
28978
29441
  const Input$2 = styled('input', {
28979
29442
  display: 'none !important'
28980
29443
  });
@@ -30182,159 +30645,159 @@ Upload.defaultProps = {
30182
30645
  maxWidthOrHeight: 1024
30183
30646
  };
30184
30647
  Upload.propTypes = {
30185
- /**
30186
- Placeholder label of upload.
30648
+ /**
30649
+ Placeholder label of upload.
30187
30650
  */
30188
30651
  placeholder: PropTypes.string,
30189
- /**
30190
- Disabled state of upload.
30652
+ /**
30653
+ Disabled state of upload.
30191
30654
  */
30192
30655
  disabled: PropTypes.bool,
30193
- /**
30194
- Built-in stylesheets, support for two types.
30656
+ /**
30657
+ Built-in stylesheets, support for two types.
30195
30658
  */
30196
30659
  listType: PropTypes.oneOf(['file', 'picture']),
30197
- /**
30198
- Whether to support selected multiple file.
30660
+ /**
30661
+ Whether to support selected multiple file.
30199
30662
  */
30200
30663
  multiple: PropTypes.bool,
30201
- /**
30202
- List of files to be uploaded.
30664
+ /**
30665
+ List of files to be uploaded.
30203
30666
  */
30204
30667
  fileList: PropTypes.array,
30205
- /**
30206
- A callback function, can be executed when uploading state is changing.
30668
+ /**
30669
+ A callback function, can be executed when uploading state is changing.
30207
30670
  */
30208
30671
  onChange: PropTypes.func,
30209
- /**
30210
- A callback function, can be executed when uploading in progress.
30211
- `(progress) => void`
30672
+ /**
30673
+ A callback function, can be executed when uploading in progress.
30674
+ `(progress) => void`
30212
30675
  */
30213
30676
  onProgress: PropTypes.func,
30214
- /**
30215
- A callback function, can be executed when uploading is success.
30216
- `(response) => void`
30677
+ /**
30678
+ A callback function, can be executed when uploading is success.
30679
+ `(response) => void`
30217
30680
  */
30218
30681
  onSuccess: PropTypes.func,
30219
- /**
30220
- A callback function, can be executed when uploading is error.
30221
- `(error, response) => void`
30682
+ /**
30683
+ A callback function, can be executed when uploading is error.
30684
+ `(error, response) => void`
30222
30685
  */
30223
30686
  onError: PropTypes.func,
30224
- /**
30225
- A callback function, can be executed when preview icon in picture type is clicked.
30687
+ /**
30688
+ A callback function, can be executed when preview icon in picture type is clicked.
30226
30689
  */
30227
30690
  onPreview: PropTypes.func,
30228
- /**
30229
- A callback function, can be executed when remove icon is clicked.
30691
+ /**
30692
+ A callback function, can be executed when remove icon is clicked.
30230
30693
  */
30231
30694
  onRemove: PropTypes.func,
30232
- /**
30233
- A custom element inside upload container.
30695
+ /**
30696
+ A custom element inside upload container.
30234
30697
  */
30235
30698
  children: PropTypes.element,
30236
- /**
30237
- Limit the number of uploaded files.
30699
+ /**
30700
+ Limit the number of uploaded files.
30238
30701
  */
30239
30702
  max: PropTypes.number,
30240
- /**
30241
- Limit the maximum image size in MB.
30703
+ /**
30704
+ Limit the maximum image size in MB.
30242
30705
  */
30243
30706
  maxSizeMB: PropTypes.number,
30244
- /**
30245
- Limit file type of upload.
30707
+ /**
30708
+ Limit file type of upload.
30246
30709
  */
30247
30710
  accept: PropTypes.string,
30248
- /**
30249
- Custom label for replace button.
30711
+ /**
30712
+ Custom label for replace button.
30250
30713
  */
30251
30714
  replaceLabel: PropTypes.string,
30252
- /**
30253
- Custom width of upload container.
30715
+ /**
30716
+ Custom width of upload container.
30254
30717
  */
30255
30718
  width: PropTypes.number,
30256
- /**
30257
- Custom height of upload container.
30719
+ /**
30720
+ Custom height of upload container.
30258
30721
  */
30259
30722
  height: PropTypes.number,
30260
- /**
30261
- Additional css.
30723
+ /**
30724
+ Additional css.
30262
30725
  */
30263
30726
  css: PropTypes.object,
30264
- /**
30265
- Custom title header of cropper modal.
30727
+ /**
30728
+ Custom title header of cropper modal.
30266
30729
  */
30267
30730
  cropperTitle: PropTypes.string,
30268
- /**
30269
- Add image cropper on upload.
30731
+ /**
30732
+ Add image cropper on upload.
30270
30733
  */
30271
30734
  showCropper: PropTypes.bool,
30272
- /**
30273
- Hidden toggle aspect ratio image cropper.
30735
+ /**
30736
+ Hidden toggle aspect ratio image cropper.
30274
30737
  */
30275
30738
  hiddenToggleAspect: PropTypes.bool,
30276
- /**
30277
- 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.
30739
+ /**
30740
+ 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.
30278
30741
  */
30279
30742
  ratio: PropTypes.number,
30280
- /**
30281
- Can set error message to the upload.
30743
+ /**
30744
+ Can set error message to the upload.
30282
30745
  */
30283
30746
  errorMessage: PropTypes.string,
30284
- /**
30285
- Progress of upload process.
30747
+ /**
30748
+ Progress of upload process.
30286
30749
  */
30287
30750
  progress: PropTypes.number,
30288
- /**
30289
- Auto increment progress of upload process.
30751
+ /**
30752
+ Auto increment progress of upload process.
30290
30753
  */
30291
30754
  loading: PropTypes.bool,
30292
- /**
30293
- API upload url, allows components to automatically upload directly to API service.
30755
+ /**
30756
+ API upload url, allows components to automatically upload directly to API service.
30294
30757
  */
30295
30758
  action: PropTypes.string,
30296
- /**
30297
- Custom body request to upload action.
30759
+ /**
30760
+ Custom body request to upload action.
30298
30761
  */
30299
30762
  customBodyRequest: PropTypes.func,
30300
- /**
30301
- Contains an authentication token for upload API.
30763
+ /**
30764
+ Contains an authentication token for upload API.
30302
30765
  */
30303
30766
  token: PropTypes.string,
30304
- /**
30305
- Referencing the headers key to attach the token.
30767
+ /**
30768
+ Referencing the headers key to attach the token.
30306
30769
  */
30307
30770
  tokenKey: PropTypes.string,
30308
- /**
30309
- Referencing the key to attach the file to be sent.
30771
+ /**
30772
+ Referencing the key to attach the file to be sent.
30310
30773
  */
30311
30774
  reqKey: PropTypes.string,
30312
- /**
30313
- Referencing the key to get the file from the API response.
30775
+ /**
30776
+ Referencing the key to get the file from the API response.
30314
30777
  */
30315
30778
  resKey: PropTypes.string,
30316
- /**
30317
- To compression image if file size > 1MB.
30779
+ /**
30780
+ To compression image if file size > 1MB.
30318
30781
  */
30319
30782
  imageCompression: PropTypes.bool,
30320
- /**
30321
- Callback to handle before crop image.
30783
+ /**
30784
+ Callback to handle before crop image.
30322
30785
  */
30323
30786
  onBeforeCrop: PropTypes.func,
30324
- /**
30325
- Hidden preview icon in upload.
30787
+ /**
30788
+ Hidden preview icon in upload.
30326
30789
  */
30327
30790
  hiddenPreview: PropTypes.bool,
30328
- /**
30329
- Auto full aspect ratio cropper.
30791
+ /**
30792
+ Auto full aspect ratio cropper.
30330
30793
  */
30331
30794
  fullAspectCrop: PropTypes.bool,
30332
- /**
30333
- Set custom ratio as Default view
30795
+ /**
30796
+ Set custom ratio as Default view
30334
30797
  */
30335
30798
  isDefaultCustomRatio: PropTypes.bool,
30336
- /**
30337
- Set max width or height of image
30799
+ /**
30800
+ Set max width or height of image
30338
30801
  */
30339
30802
  maxWidthOrHeight: PropTypes.number
30340
30803
  };
@@ -31010,7 +31473,7 @@ const Device = props => {
31010
31473
  };
31011
31474
  Device.displayName = 'DevicePreview';
31012
31475
 
31013
- var _jsxFileName$8 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
31476
+ var _jsxFileName$8 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
31014
31477
  const Separator$1 = styled('div', {
31015
31478
  height: 20,
31016
31479
  width: 1,
@@ -31120,44 +31583,44 @@ function InputColorPicker(props) {
31120
31583
  }
31121
31584
  InputColorPicker.displayName = 'InputColorPicker';
31122
31585
  InputColorPicker.propTypes = {
31123
- /**
31124
- Specify change InputColorPicker size.
31586
+ /**
31587
+ Specify change InputColorPicker size.
31125
31588
  */
31126
31589
  size: PropTypes.oneOf(['sm', 'lg']),
31127
- /**
31128
- Color code to be displayed.
31590
+ /**
31591
+ Color code to be displayed.
31129
31592
  */
31130
31593
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
31131
- /**
31132
- Additional color list.
31594
+ /**
31595
+ Additional color list.
31133
31596
  */
31134
31597
  presetColors: PropTypes.array,
31135
- /**
31136
- Change event handler.
31598
+ /**
31599
+ Change event handler.
31137
31600
  */
31138
31601
  onChange: PropTypes.func,
31139
- /**
31140
- Add preset color event handler.
31602
+ /**
31603
+ Add preset color event handler.
31141
31604
  */
31142
31605
  onAddColor: PropTypes.func,
31143
- /**
31144
- Disable opacity selector.
31606
+ /**
31607
+ Disable opacity selector.
31145
31608
  */
31146
31609
  disableAlpha: PropTypes.bool,
31147
- /**
31148
- Input placement.
31610
+ /**
31611
+ Input placement.
31149
31612
  */
31150
31613
  placement: PropTypes.string,
31151
- /**
31152
- Define is mobile layout or not.
31614
+ /**
31615
+ Define is mobile layout or not.
31153
31616
  */
31154
31617
  isMobile: PropTypes.bool,
31155
- /**
31156
- Define popover custom styling.
31618
+ /**
31619
+ Define popover custom styling.
31157
31620
  */
31158
31621
  popoverCss: PropTypes.shape({}),
31159
- /**
31160
- Disabled state.
31622
+ /**
31623
+ Disabled state.
31161
31624
  */
31162
31625
  disabled: PropTypes.bool
31163
31626
  };
@@ -31171,7 +31634,7 @@ InputColorPicker.defaultProps = {
31171
31634
 
31172
31635
  var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYAzGZmMzMzmQBmZv9mAJkAmTNmmZn/Zv/M/2YAZv/MzADMmZkz/5kA//8zmcwzmcwAmf8zAMwzAMwAAJkzM5kAM5n/MwBmmZlmADMzzAAzzAAA/wAAzDNm/wBm/wBmzP+Zmcxm/5lm/2aZmf+Z/wCZ//+ZAMyZAP///8xmmf//ZgDMZv8zzGb/zP/MZjOZM//MmQCZmZkzZjPM/8z//2b/mZmZ/wBmAP//zGYA/2b/ZswAZplmMwAAmQD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3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
31173
31636
 
31174
- var _jsxFileName$7 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
31637
+ var _jsxFileName$7 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
31175
31638
  const Container$7 = styled('div', {
31176
31639
  userSelect: 'none',
31177
31640
  margin: 'auto',
@@ -33132,7 +33595,7 @@ function ColorMap({
33132
33595
  })));
33133
33596
  }
33134
33597
 
33135
- var _jsxFileName$6 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
33598
+ var _jsxFileName$6 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
33136
33599
  const CheckBoard = styled(Flex$1, {
33137
33600
  background: '$bgwhite',
33138
33601
  border: '1px solid #E5E7EB',
@@ -33333,7 +33796,7 @@ function ColorFields({
33333
33796
  }, "%")));
33334
33797
  }
33335
33798
 
33336
- var _jsxFileName$5 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
33799
+ var _jsxFileName$5 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
33337
33800
  const Container$6 = styled(Flex$1, {
33338
33801
  background: '$white',
33339
33802
  padding: 16,
@@ -33824,24 +34287,24 @@ function ColorPicker({
33824
34287
  })))))));
33825
34288
  }
33826
34289
  ColorPicker.propTypes = {
33827
- /**
33828
- Color code to be displayed.
34290
+ /**
34291
+ Color code to be displayed.
33829
34292
  */
33830
34293
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
33831
- /**
33832
- Additional color list
34294
+ /**
34295
+ Additional color list
33833
34296
  */
33834
34297
  presetColors: PropTypes.array,
33835
- /**
33836
- Change event handler
34298
+ /**
34299
+ Change event handler
33837
34300
  */
33838
34301
  onChange: PropTypes.func,
33839
- /**
33840
- Add preset color event handler
34302
+ /**
34303
+ Add preset color event handler
33841
34304
  */
33842
34305
  onAddColor: PropTypes.func,
33843
- /**
33844
- Disable opacity selector
34306
+ /**
34307
+ Disable opacity selector
33845
34308
  */
33846
34309
  disableAlpha: PropTypes.bool
33847
34310
  };
@@ -33850,7 +34313,7 @@ ColorPicker.defaultProps = {
33850
34313
  };
33851
34314
  var ColorPicker$1 = ColorWrap(ColorPicker);
33852
34315
 
33853
- var _jsxFileName$4 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
34316
+ var _jsxFileName$4 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
33854
34317
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
33855
34318
  const Stepper = StepWizard$1;
33856
34319
  Stepper.displayName = 'Stepper';
@@ -34573,7 +35036,7 @@ StepWizard.defaultProps = {
34573
35036
  isLazyMount: true
34574
35037
  };
34575
35038
 
34576
- var _jsxFileName$3 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
35039
+ var _jsxFileName$3 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
34577
35040
  function Collapse({
34578
35041
  children,
34579
35042
  isOpen
@@ -34616,7 +35079,7 @@ Collapse.defaultProps = {
34616
35079
  isOpen: false
34617
35080
  };
34618
35081
 
34619
- var _jsxFileName$2 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
35082
+ var _jsxFileName$2 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
34620
35083
  const DesktopContainer = styled(Flex$1, {
34621
35084
  display: 'none',
34622
35085
  '& .active-scroll-spy': {
@@ -34977,7 +35440,7 @@ TableOfContentPage.defaultProps = {
34977
35440
  useBoxMethod: true
34978
35441
  };
34979
35442
 
34980
- var _jsxFileName$1 = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/components/editableTable/transition.js";
35443
+ var _jsxFileName$1 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
34981
35444
  function Collapalse({
34982
35445
  children,
34983
35446
  isOpen
@@ -56491,7 +56954,7 @@ PieChartComponent.defaultProps = {
56491
56954
  innerRadius: 70
56492
56955
  };
56493
56956
 
56494
- var _jsxFileName = "/Users/hanabyan/Sourcecode/majoo-ui/packages/react/src/colors/Colors.js";
56957
+ var _jsxFileName = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
56495
56958
  const StyledPaper = styled(Paper, {
56496
56959
  borderRadius: '10px 10px 0 0',
56497
56960
  padding: 15,
@@ -57793,4 +58256,4 @@ const useToggle = initialValue => {
57793
58256
  return useReducer(toggleReducer, initialValue);
57794
58257
  };
57795
58258
 
57796
- export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, Cell, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSignature, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_30_DAYS, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
58259
+ export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, Cell, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DatePickerMulti, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSignature, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_30_DAYS, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };